/* =====================
   CSS RESET & NORMALIZE
   ===================== */
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,
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;
  font-size: 16px;
}
body {
  line-height: 1.5;
  background: #F5F6FA;
  color: #1A2340;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #14397C;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F7B900;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 20px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border-radius: 6px;
}

/* ===============
   BRAND COLORS
   =============== */
:root {
  --color-primary: #14397C;
  --color-secondary: #F5F6FA;
  --color-accent: #F7B900;
  --color-dark: #1A2340;
  --color-light: #ffffff;
  --color-grey: #D4D9ED;
  --color-success: #36D674;
  --color-danger: #EB2F67;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin: 0 0 16px 0;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin: 0 0 16px 0;
}
h3 {
  font-size: 1.3rem;
  margin: 0 0 10px 0;
}
h4 {
  font-size: 1.1rem;
}
p, li, address, article, .text-section {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--color-dark);
  line-height: 1.7;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* Fun font for "dynamic_playful" style */
.hero h1, 
h2, 
.btn, 
.cta h2, 
.feature-item h3,
.course-item h3, 
footer .footer-brand p {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =====================
   LAYOUT CONTAINERS
   ===================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: 32px;
  box-shadow: 0 2px 18px 0 rgba(20,57,124,0.06);
}

.text-section {
  margin-bottom: 24px;
  max-width: 720px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* For grids of cards/items */
.card-container,
.feature-grid,
.team-bios,
.course-listing,
.testimonial-grid,
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.course-listing, .testimonial-slider {
  gap: 20px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.team-bios {
  gap: 24px;
}

/* FLEX for specific requirements */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FDF9EF;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 4px 24px 0 rgba(247,185,0,0.07);
  min-width: 235px;
  flex: 1 1 235px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #FEFFFE;
  box-shadow: 0 2px 16px 0 rgba(20,57,124,0.11);
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 370px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2.5px solid #F7B900;
  color: var(--color-dark);
  z-index: 1;
}
.testimonial-card:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 36px 0 rgba(20,57,124,0.15);
  background: #fff7e6;
  border-color: #14397C;
}

.review-summaries, .success-summary {
  margin-top: 18px;
  font-size: 1.1rem;
  color: #14397C;
}
.star-rating-summary {
  margin-top: 12px;
  color: #F7B900;
  font-weight: bold;
}

/* Animate card entrance */
@keyframes popIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.98); }
  80% { opacity: 1; transform: translateY(-4px) scale(1.035); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.testimonial-card, .feature-item, .course-item, .article-list article {
  animation: popIn 0.8s cubic-bezier(.65,.05,.36,1) both;
}

/* ========== HEADER ========== */
header {
  width: 100%;
  background: var(--color-light);
  box-shadow: 0 4px 16px 0 rgba(20,57,124,.035);
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
  transition: transform 0.14s;
}
.logo img:hover {
  transform: rotate(-8deg) scale(1.08);
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #14397C;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 8px;
  border-radius: 7px;
  transition: background 0.16s, color 0.17s;
}
.main-nav a:hover {
  background: #F7B90022;
  color: #F7B900;
}
.btn.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 16px 0 rgba(247,185,0,.08);
  cursor: pointer;
  transition: background 0.19s, color 0.17s, box-shadow 0.18s;
  margin-left: 18px;
  margin-right: 0;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #14397C;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(20,57,124,.14);
}
.btn.btn-secondary {
  background: #14397C;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 11px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.17s;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
  background: #F7B900;
  color: #14397C;
}

.mobile-menu-toggle {
  display: none;
  background: #F7B900;
  color: #14397C;
  font-size: 2.2rem;
  border: none;
  border-radius: 10px;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 21;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFF5DC;
  color: #14397C;
}
  
/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 313px;
  max-width: 98vw;
  background: #fff;
  box-shadow: -8px 0 28px 0 rgba(20,57,124,.18);
  z-index: 99;
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(.86,0,.53,1);
  display: flex;
  flex-direction: column;
  padding: 36px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.36s cubic-bezier(.86,0,.53,1);
}
.mobile-menu-close {
  background: #F7B900;
  color: #14397C;
  border: none;
  font-size: 2.1rem;
  border-radius: 8px;
  align-self: flex-end;
  margin-bottom: 20px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.16s, color 0.15s;
  z-index: 102;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff3c7;
  color: #14397C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #14397C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.24rem;
  padding: 13px 6px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF5DC;
  color: #F7B900;
}

/* ============ HERO SECTION ============ */
.hero {
  background: linear-gradient(93deg, #F5F6FA 67%, #FFF5DC 99%);
  border-radius: 0 0 51px 51px;
  margin-bottom: 60px;
  padding: 60px 0 30px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .container {
  justify-content: center;
  align-items: center;
  display: flex;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
  padding: 0 10px;
}
.hero h1 {
  color: #14397C;
  font-size: 2.5rem;
  text-shadow: 2px 2px 0 #F7B90033, 0 8px 32px #F5F6FA44;
  animation: bounceIn 1.1s cubic-bezier(.61,0,.53,1.2) both;
}
.hero p {
  font-size: 1.125rem;
  color: #243261;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 12px;
}
@keyframes bounceIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.87); }
  60% { opacity: 1; transform: translateY(-9px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========== FEATURES & CARDS ========== */
.features { background: none; margin-bottom: 45px; }
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  width: 100%;
}
.feature-item img {
  height: 54px;
  width: 54px;
  margin-bottom: 0;
  filter: drop-shadow(2px 3px 0 #F7B90033) brightness(1.1);
}
.feature-item h3 {
  color: #F7B900;
  font-size: 1.11rem;
  font-weight: bold;
  margin-bottom: 3px;
}
.feature-item p {
  color: #1A2340;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0;
}

.feature-icons {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.feature-icons img {
  height: 45px;
  width: 45px;
  filter: drop-shadow(1px 2px 0 #F7B90033) brightness(1.1);
  border-radius: 12px;
  background: #fff8e2;
  padding: 7px;
}

.course-item {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 5px 28px 0 rgba(20,57,124,.13);
  padding: 22px 20px 20px 22px;
  min-width: 240px;
  flex: 1 1 255px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  transition: transform 0.16s, box-shadow 0.16s;
  border-left: 6px solid #F7B900;
}
.course-item:hover {
  transform: translateY(-7px) scale(1.022) rotate(1deg);
  box-shadow: 0 10px 36px 0 rgba(20,57,124,0.13);
  border-left-color: #14397C;
}
.course-item h3 {
  color: #14397C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: #F9F5FF;
  margin-bottom: 48px;
  border-radius: 38px;
  box-shadow: 0 4px 24px 0 rgba(20,57,124,0.045);
  padding: 40px 0 32px 0;
}
.testimonials .testimonial-slider, 
.testimonials .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  justify-content: flex-start;
}

/* ========== CTA SECTIONS ========== */
.cta {
  background: #FFFCF2;
  border-radius: 28px;
  margin: 36px auto 48px auto;
  box-shadow: 0 4px 28px 0 rgba(247,185,0,0.11);
  padding: 46px 0 34px 0;
  text-align: center;
  position: relative;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: #14397C;
  margin-bottom: 8px;
}
.cta p {
  color: #454976;
  font-size: 1.12rem;
  margin-bottom: 17px;
}

/* ========== BLOG ARTICLES ========== */
.article-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.article-list article {
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(20,57,124,0.10);
  padding: 22px 17px 18px 17px;
  border-radius: 17px;
  min-width: 230px;
  flex: 1 1 310px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.17s;
  border: 2px solid #F7B900;
}
.article-list article:hover {
  box-shadow: 0 10px 28px 0 #14397C22;
  border-color: #14397C;
  transform: translateY(-5px) scale(1.01) rotate(-.7deg);
}
.article-link {
  color: #F7B900;
  font-weight: bold;
  text-decoration: underline;
  font-family: 'Montserrat';
  margin-top: 6px;
}
.article-link:hover {
  color: #14397C;
}

.featured-posts {
  background: #F7B90022;
  border-radius: 15px;
  margin-top: 16px;
  padding: 11px 16px;
}
.featured-posts h3 {
  color: #14397C;
  font-size: 1rem;
  margin-bottom: 5px;
}

/* ========== FOOTER ========== */
footer {
  background: #14397C;
  color: #fff;
  border-radius: 36px 36px 0 0;
  padding: 42px 0 20px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #F7B900;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  text-align: right;
  padding-right: 10px;
}
.footer-brand img {
  height: 42px;
  width: auto;
}
.footer-brand p {
  font-size: 1rem;
}
footer address {
  font-size: 0.99rem;
  font-style: normal;
  color: #c6c5ff;
}
footer a {
  color: #F7B900;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ========== SPECIAL SECTIONS ========== */
.about-philosophy, .team, .gdpr, .privacy-policy, .terms-of-use, .cookies-policy .thank-you, .contact-section {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 rgba(20,57,124,0.035);
  margin-bottom: 45px;
  padding: 38px 0 28px 0;
}
.team-bios {
  flex-wrap: wrap;
}
.team-member {
  background: #FDF9EF;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(247,185,0,0.07);
  padding: 18px 15px 13px 17px;
  min-width: 200px;
  flex: 1 1 265px;
  margin-right: 10px;
  margin-bottom: 14px;
}
.team-member h3 {
  color: #14397C;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ========== CONTACT ICONS ========== */
.contact-section img {
  height: 20px;
  width: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  background: #fffbea;
  color: #1A2340;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 -4px 18px 0 rgba(247,185,0,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  animation: cookieSlideUp 0.65s cubic-bezier(.61,0,.53,1.2) both;
}
@keyframes cookieSlideUp {
  0% { opacity: 0; transform: translateY(60px); }
  80% { opacity: 1; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1.07rem;
  max-width: 540px;
}
.cookie-banner .btn {
  min-width: 124px;
  padding: 10px 16px;
  border-radius: 18px;
  margin-right: 8px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  transition: background 0.18s, color 0.13s;
}
.cookie-banner .btn-accept {
  background: #36D674;
  color: #14397C;
  border: none;
}
.cookie-banner .btn-accept:hover {
  background: #14397C;
  color: #fff;
}
.cookie-banner .btn-reject {
  background: #EB2F67;
  color: #fff;
  border: none;
}
.cookie-banner .btn-reject:hover {
  background: #fff;
  color: #EB2F67;
  border: 2px solid #EB2F67;
}
.cookie-banner .btn-settings {
  background: #F7B900;
  color: #14397C;
  border: none;
}
.cookie-banner .btn-settings:hover {
  background: #fff3c7;
  color: #14397C;
  border: 2px solid #F7B900;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  min-width: 320px;
  max-width: 96vw;
  width: 420px;
  background: #FFFDF6;
  box-shadow: 0 5px 24px 0 #F7B90044;
  border-radius: 21px 21px 0 0;
  z-index: 1102;
  padding: 32px 20px 24px 24px;
  animation: slideModalUp 0.58s cubic-bezier(.61,0,.53,1.1) both;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 1;
}
.cookie-modal.open {
  transform: translateX(-50%) translateY(0);
  animation: slideModalUp 0.58s cubic-bezier(.61,0,.53,1.1) both;
}
@keyframes slideModalUp {
  0% { opacity: 0; transform: translateX(-50%) translateY(97px); }
  80% { opacity: 1; transform: translateX(-50%) translateY(-18px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-modal h3 {
  color: #14397C;
  font-family: 'Montserrat';
  margin-bottom: 5px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}
.cookie-modal label {
  flex: 1 1 auto;
  font-weight: 600;
  color: #14397C;
}
.cookie-modal .toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #D4D9ED;
  border-radius: 14px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background .16s;
}
.cookie-modal .toggle:checked {
  background: #36D674;
}
.cookie-modal .toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .23s cubic-bezier(.66,0,.58,1);
  box-shadow: 0 1.5px 2px 0 #d9d9d9ab;
}
.cookie-modal .toggle:checked:before {
  transform: translateX(15px);
}
.cookie-modal .essential-toggle {
  cursor: not-allowed;
  background: #D4D9ED !important;
}
.cookie-modal .essential-toggle:before {
  background: #14397C !important;
}
.cookie-modal .btn {
  margin-top: 12px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .container { max-width: 92vw; }
  .feature-grid, .testimonial-slider, .testimonial-grid, .course-listing, .card-container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .testimonial-slider, .testimonial-grid, .course-listing, .card-container, .team-bios, .article-list {
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-brand {
    align-items: flex-start;
    text-align: left;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 8px;
  }
  .main-nav {
    display: none; /* Hide desktop nav on mobile */
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 23;
  }
  header .btn.btn-primary {
    display: none;
  }
  .hero {
    padding: 34px 0 24px 0;
    border-radius: 0 0 34px 34px;
    min-height: 195px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .footer-brand {
    align-items: flex-start;
    text-align: left;
  }
  .section, .about-philosophy, .team, .gdpr, .privacy-policy, .contact-section,
  .terms-of-use, .cookies-policy, .thank-you, .cta, .testimonials {
    padding: 25px 6px 18px 6px;
    border-radius: 18px;
  }
  .content-wrapper { gap: 12px; }
  .text-section {
    margin-bottom: 14px;
    max-width: 98vw;
  }
  .feature-grid, .testimonial-slider, .testimonial-grid, .course-listing, .team-bios, .article-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 90vw;
    max-width: 97vw;
    padding: 12px;
  }
  .feature-item, .course-item, .team-member, .article-list article {
    min-width: 90vw;
    max-width: 97vw;
    padding: 15px 9px 13px 11px;
  }
  .cta, .testimonials, footer {
    border-radius: 17px;
    padding: 16px 0 10px 0;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-brand {
    margin-top: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .mobile-menu {
    width: 97vw;
    padding: 21px 8px 16px 12px;
    font-size: 16px;
  }
  .cookie-modal {
    max-width: 98vw;
    min-width: 90vw;
    padding: 19px 9px 14px 11px;
  }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .section, .about-philosophy, .team, .gdpr, .privacy-policy, .terms-of-use, .cookies-policy, .thank-you, .cta, .testimonials {
    padding: 13px 2px 9px 2px;
    border-radius: 11px;
  }
  .hero {
    padding: 17px 0 9px 0;
    border-radius: 0 0 14px 14px;
    min-height: 90px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    right: 10px;
    width: 41px;
    height: 41px;
    font-size: 1.62rem;
    border-radius: 7px;
    top: 10px;
  }
}

/* ========== GENERAL SPACING ========== */
section, .section {
  margin-bottom: 60px;
}
.card, .feature-item, .course-item, .team-member, .testimonial-card, .article-list article {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .testimonial-grid, .testimonial-slider, .course-listing, .content-grid, .team-bios, .article-list {
  gap: 20px;
}

/* =========== ANIMATIONS =========== */
.btn, .article-link, .main-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.19s, transform 0.15s, box-shadow 0.18s;
}
.btn:active, .article-link:active, .main-nav a:active, .mobile-nav a:active {
  transform: scale(0.97);
}

/* ========== FOCUS STATES ========== */
a:focus, .btn:focus, button:focus {
  outline: 2.5px solid #F7B900;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #F7B90022;
}
.mobile-nav a:focus, .main-nav a:focus {
  background: #fff3c7;
  color: #14397C;
}

/* ========== VISUAL HIERARCHY & HIGHLIGHTS ========== */
h1, h2, .footer-brand p, .btn-primary, .mobile-nav a {
  letter-spacing: 0.01em;
}

hr {
  border: none;
  border-top: 2px solid #D4D9ED;
  margin: 38px 0;
}

/* ============== MICRO-INTERACTIONS ============== */
.feature-item {
  position: relative;
  overflow: visible;
}
.feature-item::after {
  content: '';
  display: block;
  position: absolute;
  right: 16px;
  bottom: 8px;
  width: 17px;
  height: 17px;
  background: #FFF5DC;
  border-radius: 50%;
  box-shadow: 0 2px 12px 0 #F7B90022;
  z-index: 0;
  pointer-events: none;
  animation: playfulPop 2.4s infinite cubic-bezier(.61,0,.53,1.2);
}
@keyframes playfulPop {
  0% { transform: scale(.8); opacity: 0.8; }
  40% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(.8); opacity: 0.8; }
}

/* ========== ACCESSIBILITY ========== */
.testimonial-card,
.testimonials {
  color-scheme: light dark;
}

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