/* ==== CSS RESET & NORMALIZATION ==== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F5F6F9;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #232651;
  line-height: 1.6;
  background-color: #F5F6F9;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
:focus {
  outline: 2px solid #59A0D1;
  outline-offset: 1px;
}

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #232651;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
}

p, li, address {
  font-size: 1rem;
  color: #232651;
}
strong {
  font-weight: 700;
}

/* ==== CONTAINERS & GLOBAL GAPS ==== */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 28px 10px;
  }
  .container {
    padding: 0 10px;
  }
}

/* ==== HEADER & BRAND ==== */
header {
  background: #232651;
  box-shadow: 0 4px 16px rgba(35,38,81,0.11);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo img {
  height: 42px;
  filter: drop-shadow(0 2px 12px rgba(89,160,209,0.10));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #F5F6F9;
  padding: 6px 10px;
  border-radius: 7px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.cta-btn {
  background: #59A0D1;
  color: #232651!important;
  padding: 10px 22px;
  font-weight: 700;
  border-radius: 99px;
  box-shadow: 0 2px 12px rgba(89,160,209,0.10);
  margin-left: 12px;
  transition: background 0.19s, color 0.20s, box-shadow 0.20s;
}
.main-nav a:hover:not(.cta-btn), .main-nav a:focus:not(.cta-btn) {
  background: #59A0D1;
  color: #232651;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #fff;
  color: #59A0D1!important;
  box-shadow: 0 4px 16px rgba(35,38,81,0.07);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F5F6F9;
  cursor: pointer;
}

@media (max-width: 1020px) {
  .main-nav a {
    font-size: 0.98rem;
    padding: 6px 7px;
  }
  .main-nav a.cta-btn {
    padding: 9px 18px;
    font-size: 1rem;
    margin-left: 6px;
  }
}
@media (max-width: 950px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 4px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 16px;
    z-index: 30;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #232651;
  box-shadow: 0 12px 48px 0 rgba(35,38,81,0.27);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.43s cubic-bezier(.8,.3,.24,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 1.75rem;
  background: none;
  color: #fff;
  padding: 22px 20px 8px 0;
  cursor: pointer;
  border: none;
  z-index: 10001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  padding-left: 0;
}
.mobile-nav a {
  display: block;
  padding: 22px 32px;
  border-bottom: 1px solid rgba(245,246,249,0.08);
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing:0.01em;
  transition: background 0.15s, color .17s;
  text-align: left;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #59A0D1;
  color: #232651;
}

@media (min-width: 801px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ==== HERO SECTIONS ==== */
.hero {
  background: linear-gradient(98deg, #59A0D1 78%, #fff 100%);
  background-size: cover;
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 0 0 60px 0;
  overflow: visible;
}
.hero .container {
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  margin: 50px 0 30px;
}
.hero h1 {
  color: #232651;
  font-size: 2.4rem;
  line-height: 1.12;
  background: none;
  letter-spacing: 0.01em;
}
.hero p {
  color: #232651;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 180px;
    padding-bottom: 32px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 80px;
    padding-bottom: 16px;
    margin-bottom: 26px;
  }
  .hero h1 {
    font-size: 1.1rem;
  }
}

/* ==== BUTTONS & CTA ==== */
.cta-btn {
  display: inline-block;
  background: #59A0D1;
  color: #232651;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border: none;
  border-radius: 100px;
  padding: 14px 36px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(89,160,209,0.12);
  margin: 8px 0 0 0;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.20s, box-shadow 0.21s, transform 0.17s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #59A0D1;
  box-shadow: 0 6px 24px rgba(35,38,81,0.14);
  transform: translateY(-2px) scale(1.035);
}

.button, .resource-list a, .faq-item a {
  display: inline-block;
  background: #232651;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  border: none;
  border-radius: 99px;
  padding: 8px 22px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  transition: background .17s, color .19s, box-shadow .21s, transform .16s;
}
.button:hover, .resource-list a:hover, .faq-item a:hover, 
.button:focus, .resource-list a:focus, .faq-item a:focus {
  background: #59A0D1;
  color: #232651;
  transform: translateY(-1px) scale(1.03);
}

/* ==== FLEXBOX GLOBALS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 385px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(89,160,209, 0.11);
  border-radius: 16px;
  padding: 28px 22px 20px 22px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover, .card:focus {
  box-shadow: 0 12px 32px rgba(35,38,81,0.11);
  transform: translateY(-6px) scale(1.015) rotate(-1deg);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F6F9;
  border: 2px solid #59A0D1;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(35,38,81,0.06);
  min-width: 210px;
  max-width: 410px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.testimonial-card p {
  color: #232651;
  font-size: 1.07rem;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-card strong {
  color: #232651;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 28px rgba(89,160,209,0.14);
  border-color: #232651;
  transform: translateY(-2px) scale(1.02);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* ==== SECTION: FEATURES LIST ==== */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-list li {
  background: #fff;
  border: 2px solid #59A0D1;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(89,160,209,0.08);
  padding: 28px 18px 18px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: box-shadow .21s, transform .18s, border-color .14s;
}
.features-list li img {
  height: 38px;
  margin-bottom: 8px;
}
.features-list li:hover, .features-list li:focus {
  box-shadow: 0 10px 28px rgba(35,38,81,0.13);
  border-color: #232651;
  transform: translateY(-6px) rotate(-1.3deg) scale(1.03);
}
.features-list h3 {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.13rem;
  font-weight: 900;
  color: #232651;
  margin-bottom: 7px;
}
.features-list p {
  color: #454878;
  font-size: 0.97rem;
}

@media (max-width: 900px) {
  .features-list {
    flex-direction: column;
    gap: 16px;
  }
  .features-list li {
    max-width: 100%;
    min-width: 0;
  }
}

/* ==== COURSES GRID ==== */
.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.course-card {
  background: #fff;
  border: 3px solid #f3ca32;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(243,202,50,0.12), 0 1px 4px rgba(35,38,81,0.08);
  padding: 26px 20px 18px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.20s, transform 0.16s, border-color .13s;
}
.course-card h3 {
  color: #A178C6;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.17rem;
  font-weight: bold;
  margin-bottom: 7px;
  letter-spacing: 0.014em;
}
.course-card p {
  color: #232651;
  font-size: 0.99rem;
}
.course-card a {
  color: #59A0D1;
  font-weight: 700;
  text-decoration: underline;
  margin-top: 0.6em;
  margin-bottom: 0.3em;
  transition: color 0.15s;
}
.course-card a:hover, .course-card a:focus {
  color: #232651;
}
.course-card:hover, .course-card:focus {
  border-color: #59A0D1;
  box-shadow: 0 10px 32px rgba(35,38,81,0.15);
  transform: scale(1.026) rotate(2deg);
}

@media (max-width: 900px) {
  .course-grid {
    flex-direction: column;
    gap: 12px;
  }
  .course-card {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* ==== TEAM PROFILES & ABOUT ==== */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.team-member {
  background: #fff;
  border: 2px solid #A178C6;
  box-shadow: 0 2px 16px rgba(161,120,198,0.08);
  border-radius: 16px;
  padding: 22px 16px 16px 16px;
  min-width: 190px;
  max-width: 340px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .21s, border-color .18s, transform .15s;
}
.team-member h3{
  color: #A178C6;
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.team-member p {
  font-size: 0.97rem;
  color: #232651;
}
.team-member:hover, .team-member:focus {
  box-shadow: 0 8px 28px rgba(89,160,209,0.11);
  border-color: #232651;
  transform: translateY(-2px) scale(1.02) rotate(-1deg);
}

@media (max-width: 900px) {
  .team-profiles {
    flex-direction: column;
    gap: 16px;
  }
  .team-member {
    max-width: 100%;
    min-width: 0;
  }
}

.expertise-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.expertise-highlights li {
  background: #F5F6F9;
  border: 2px solid #59A0D1;
  border-radius: 10px;
  padding: 14px 20px 10px 20px;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  color: #232651;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(35,38,81,0.05), 0 1px 4px rgba(161,120,198,0.04);
}
@media (max-width: 600px) {
  .expertise-highlights ul {
    flex-direction: column;
    gap: 4px;
  }
}

/* ==== TESTIMONIALS LIST & CAROUSEL ==== */
.testimonial-list, .testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .testimonial-list, .testimonial-carousel {
    flex-direction: column;
    gap: 10px;
  }
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 18px 0 0 0;
}
.client-logos img {
  height: 42px;
  opacity: 0.65;
  filter: grayscale(0.1) contrast(1.1);
  transition: filter .13s, opacity .17s;
}
.client-logos img:hover, .client-logos img:focus {
  opacity: 1;
  filter: grayscale(0) contrast(1.3) drop-shadow(0 1px 8px #59A0D1);
}

/* ==== RESOURCE LIST ==== */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}
.resource-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid #A178C6;
  border-radius: 13px;
  padding: 12px 18px;
  font-size: 1rem;
  position: relative;
  transition: box-shadow .18s, border-color .13s;
}
.resource-list a {
  background: #59A0D1;
  color: #232651;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  margin-left: auto;
  transition: background .13s, color .17s, transform .16s;
}
.resource-list a:hover, .resource-list a:focus {
  background: #A178C6;
  color: #fff;
  transform: scale(1.06);
}
.resource-list li:hover, .resource-list li:focus {
  border-color: #59A0D1;
  box-shadow: 0 6px 18px rgba(89,160,209,0.13);
}

/* ==== FAQ STYLING ==== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-left: 5px solid #A178C6;
  border-radius: 8px;
  padding: 14px 20px 10px 22px;
  box-shadow: 0 2px 12px rgba(161,120,198,0.09);
  transition: box-shadow .17s, border-color .16s;
}
.faq-item h3 {
  font-size: 1.02rem;
  color: #232651;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.faq-item p {
  color: #454878;
  font-size: 0.96rem;
}
.faq-item:hover, .faq-item:focus {
  box-shadow: 0 5px 14px rgba(89,160,209,0.12);
  border-color: #59A0D1;
  transform: scale(1.012);
}

/* ==== BLOG LIST & SEARCH ==== */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .blog-list {
    flex-direction: column;
    gap: 10px;
  }
}
.blog-teaser {
  background: #fff;
  border: 2px solid #59A0D1;
  border-radius: 15px;
  padding: 23px 20px 16px 20px;
  box-shadow: 0 2px 12px rgba(89,160,209,0.09);
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  transition: box-shadow .16s, border-color .14s, transform .14s;
}
.blog-teaser h3 {
  font-size: 1.10rem;
  color: #232651;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 2px;
}
.blog-teaser p {
  color: #454878;
  font-size: 0.97rem;
}
.blog-teaser a {
  color: #A178C6;
  font-weight: 700;
  text-decoration: underline;
  font-size: 0.97rem;
  margin-top: 4px;
  transition: color .13s;
}
.blog-teaser a:hover, .blog-teaser a:focus {
  color: #232651;
}
.blog-teaser:hover, .blog-teaser:focus {
  box-shadow: 0 8px 22px rgba(35,38,81,0.12);
  border-color: #A178C6;
  transform: scale(1.017) rotate(-0.8deg);
}

.blog-categories {
  margin: 18px 0 10px 0;
  font-size: 0.97rem;
  color: #232651;
  font-family: 'Montserrat', Arial, sans-serif;
}
.blog-categories a {
  color: #A178C6;
  margin: 0 2px;
  font-weight: 700;
  transition: color .14s;
}
.blog-categories a:hover, .blog-categories a:focus {
  color: #59A0D1;
}

.blog-search-bar {
  width: 100%;
  margin: 18px 0 0 0;
  display: flex;
  gap: 20px;
}
.blog-search-bar input[type='text'] {
  flex: 1 1 100%;
  background: #F5F6F9;
  border: 2px solid #59A0D1;
  border-radius: 22px;
  padding: 12px 18px;
  font-size: 1.06rem;
  color: #232651;
  transition: border-color .17s, box-shadow .14s;
}
.blog-search-bar input[type='text']:focus {
  border-color: #A178C6;
  box-shadow: 0 1px 6px #A178C633;
}

/* ==== ADDRESS & FOOTER ==== */
footer {
  background: #232651;
  padding: 40px 0 0 0;
  color: #fff;
  position: relative;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  transition: color .15s, background .14s;
  padding: 7px 11px;
  border-radius: 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #232651;
  background: #59A0D1;
  outline: none;
}
address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
address div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.97rem;
  color: #fff;
}
address img {
  width: 18px;
  opacity: 0.91;
}
address a {
  color: #59A0D1;
  text-decoration: underline;
  font-weight: 700;
  transition: color .12s;
}
address a:hover, address a:focus {
  color: #f3ca32;
}
footer small {
  display: block;
  color: #A178C6;
  font-size: 0.95rem;
  margin-top: 14px;
  padding-bottom: 30px;
}

@media (max-width: 900px) {
  .footer-nav {
    gap: 9px;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 24px 0 0 0;
  }
}

/* ==== CONTACT INFO & MAP ==== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 210px;
  background: #F5F6F9;
  border: 2px solid #59A0D1;
  border-radius: 10px;
  padding: 10px 15px 6px 12px;
  color: #232651;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(35,38,81,0.06);
}
.contact-info img {
  width: 22px;
}
.google-map {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 2px solid #A178C6;
  border-radius: 12px;
  padding: 20px 18px;
  margin-bottom: 16px;
}
.google-map img {
  width: 54px;
  filter: drop-shadow(0 2px 8px rgba(161,120,198,0.07));
}
.google-map p {
  color: #232651;
  font-size: 0.97rem;
  margin: 0;
}

@media (max-width: 800px) {
  .contact-info {
    flex-direction: column;
    gap: 12px;
  }
  .google-map {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ==== THANK YOU PAGE ==== */
.thanks {
  background: linear-gradient(89deg, #A178C6 74%, #fff 100%);
  border-radius: 30px;
  box-shadow: 0 8px 54px rgba(161,120,198,0.08);
  margin-top: 36px;
}
.thanks .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.thanks h1 {
  color: #A178C6;
}
.thanks a.cta-btn {
  margin-top: 18px;
}

/* ==== POLICY/TEXT SECTION ==== */
.text-section {
  background: #fff;
  border-radius: 18px;
  padding: 36px 30px 28px 30px;
  box-shadow: 0 3px 18px rgba(89,160,209,0.05);
  font-size: 1.07rem;
  margin-bottom: 22px;
}
.text-section ul {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 22px;
}
.text-section ul li {
  list-style-type: disc;
  margin-bottom: 7px;
  color: #232651;
}
@media (max-width: 600px) {
  .text-section {
    padding: 22px 10px 18px 10px;
  }
}

/* ==== GENERAL ANIMATIONS & ARTISTIC TOUCHES ==== */
.card, .course-card, .features-list li, .team-member, .testimonial-card, .faq-item, .resource-list li, .blog-teaser {
  /* Artistic floating paint stroke direction */
  position: relative;
  overflow: hidden;
}
.card::before, .course-card::before, .features-list li::before, .team-member::before, .testimonial-card::before, .faq-item::before, .blog-teaser::before {
  content: '';
  position: absolute;
  top: -18px; left: -50px;
  width: 220px;
  height: 45px;
  background: #f3ca32;
  opacity: 0.16;
  border-radius: 24px 80px 50px 60px;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 0;
}
.features-list li::before {
  background: #A178C6;
  opacity: 0.09;
  width: 160px;
  height: 37px;
}
.testimonial-card::before, .testimonial-card::after {
  background: #A178C6;
  opacity: 0.075;
  width: 170px;
  height: 30px;
  border-radius: 50px 60px 60px 10px;
  left: -32px; top: 20px;
}

.card:hover::before, .course-card:hover::before, .features-list li:hover::before, .team-member:hover::before,
.testimonial-card:hover::before, .faq-item:hover::before, .blog-teaser:hover::before {
  opacity: 0.23;
  transition: opacity .20s;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #232651;
  color: #fff;
  padding: 20px 24px 22px 24px;
  z-index: 20000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -4px 24px rgba(35,38,81,0.10);
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.34s cubic-bezier(.84,.2,.18,.92);
}
.cookie-banner.hide {
  transform: translateY(180px);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}
.cookie-banner button {
  background: #59A0D1;
  color: #232651;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .16s, color .18s, box-shadow .19s;
  box-shadow: 0 2px 10px rgba(89,160,209,0.06);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #232651;
}
.cookie-banner button.cookie-settings {
  background: #A178C6;
  color: #fff;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #fff;
  color: #A178C6;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    margin-left: 0;
    gap: 8px;
  }
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 24000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,38,81,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal {
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 64px rgba(35,38,81,0.23);
  color: #232651;
  font-size: 1rem;
  max-width: 400px;
  min-width: 280px;
  padding: 38px 34px 32px 34px;
  z-index: 24001;
  margin: 0 8px;
}
.cookie-modal h2 {
  color: #232651;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}
.cookie-modal label {
  font-size: 0.99rem;
  color: #232651;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-modal .toggle {
  width: 44px;
  height: 24px;
  background: #F5F6F9;
  border: 2px solid #A178C6;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background .17s, border-color .17s;
}
.cookie-modal .toggle.checked {
  background: #A178C6;
  border-color: #59A0D1;
}
.cookie-modal .toggle-inner {
  position: absolute;
  left: 2px; top: 1px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left .18s;
}
.cookie-modal .toggle.checked .toggle-inner {
  left: 22px;
}
.cookie-modal .category .desc {
  font-size: 0.91rem;
  color: #454878;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.cookie-modal button {
  background: #59A0D1;
  color: #232651;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .13s, color .12s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #232651;
  color: #fff;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 22px;
  background: none;
  color: #232651;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 5px;
  transition: background .12s, color .13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #F5F6F9;
  color: #59A0D1;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 4vw 16px 4vw;
    min-width: 0;
    max-width: 99vw;
  }
}

/* ==== SCROLLBAR === */
::-webkit-scrollbar {
  width: 9px;
  background: #F5F6F9;
}
::-webkit-scrollbar-thumb {
  background: #A178C6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #59A0D1;
}

/* ==== SELECTION === */
::selection {
  background: #f3ca32;
  color: #232651;
}

/* ==== TYPOGRAPHY HIERARCHY ==== */
@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 0.97rem; }
}

/* ==== ARTISTIC FONTS (HEADERS & HERO) ==== */
h1, h2, h3 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 6px rgba(161,120,198,0.04);
}

/* ==== EXTRA WHITESPACE FOR BREATHING ==== */
.section, .hero, .text-section, .content-wrapper, .main-nav, .footer-nav, .testimonial-card, .features-list, .faq-list, .faq-item, .resource-list, .client-logos, .blog-list {
  margin-bottom: 0;
}

/* ==== REMOVE CARET FROM BUTTONS ==== */
button::-moz-focus-inner {
  border: none;
}

/* ==== TRANSITION MICRO-INTERACTIONS ==== */
a, button, .card, .features-list li, .team-member, .testimonial-card, .faq-item, .resource-list li, .blog-teaser, .cta-btn, .mobile-nav a, .cookie-banner button, .cookie-modal button {
  transition: background 0.12s, color 0.13s, box-shadow 0.12s, border-color 0.14s, transform 0.16s;
}

/* ==== UNIQUE ARTISTIC ELEMENTS ==== */
.hero::after {
  content: '';
  display: block;
  position: absolute;
  right: -64px; top: 35px;
  width: 420px; height: 220px;
  background: radial-gradient(circle at 40% 43%, rgba(161,120,198,.20), transparent 75%);
  z-index: 0;
  pointer-events: none;
  border-radius: 100% 81% 75% 91%;
}
@media (max-width: 900px) {
  .hero::after {
    width: 180px; height: 80px; right: -32px; top: 8px;
  }
}

/* ==== END CSS ==== */
