@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --text-eyebrow: 1rem;
  --text-section-title: 3rem;
  --text-section-desc: 1.1rem;
  --text-card-title: 1.25rem;
  --text-card-body: 0.95rem;
  --text-panel-title: 1.5rem;
}

@media (max-width: 768px) {
  :root {
    --text-section-title: 2.5rem;
    --text-section-desc: 1rem;
    --text-card-title: 1.15rem;
    --text-card-body: 0.9rem;
    --text-panel-title: 1.35rem;
  }
}

@media (max-width: 480px) {
  :root {
    --text-section-title: 2.2rem;
    --text-section-desc: 0.95rem;
    --text-panel-title: 1.25rem;
  }
}

body {
  margin: 0;
  padding: 0;
  background: #f2eaff;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: #2d1457;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* After a mid-page refresh, already-passed sections snap to their final state. */
html.skip-reveal *,
html.skip-reveal *::before,
html.skip-reveal *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

/* Scale down on laptops and tablets in landscape (iPad landscape is often 1024px).
   Phones in landscape stay below 1024px, so they are left at 100%. */
@media (max-width: 1600px) and (min-width: 1024px) and (orientation: landscape) {
  html {
    zoom: 0.9;
  }
}


/*body {
  /* offset the fixed navbar at the top */
 /* padding-top: var(--navbar-height-desktop);
}

/* on mobile, use a slightly smaller offset */
/*@media (max-width: 768px) {
  body {
    padding-top: var(--navbar-height-mobile);
  }
}

/* ——— Navbar Base (Opaque) ——— */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #ffffff;
  backdrop-filter: none; /* or your scrolled state */
  padding: 16px 32px;
  display: flex;
  align-items: center;
  /* REMOVE this line if you have it: */
  /* justify-content: center; */
  z-index: 1000;
}

/* ——— Navbar When Scrolled (Transparent + Blur) ——— */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.75);    /* ~60% white, see-through */
  backdrop-filter: saturate(180%) blur(10px);
  padding: 16px 32px;                     /* maintain same padding as base navbar */
}

.navbar__container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;               /* center the container */
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo ↔ menu */
  gap: 32px;
  box-sizing: border-box;       /* ensure padding is included in width */
}

/* Logo */
.navbar__logo-img {
  height: 48px;
  object-fit: contain;
  display: block;
}

/* Menu */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;                      /* allow menu to take available space */
  justify-content: flex-end;    /* align menu items to the right */
}

.navbar__menu a {
  color: #6a6a6a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-family: inherit;
  transition: color 0.2s ease;
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: #ea2e84;
}

/* ЗАПИС button styling - no longer needs margin-left: auto since parent uses justify-content: flex-end */
.navbar__menu li:last-child {
  /* margin-left: auto; - removed to prevent overflow issues */
  margin-left: 0;
}

/* CTA Button */
.btn--pink {
  background: #ea2e84;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: inherit;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn--pink:hover {
  background: #c20065;
  transform: translateY(-2px);
}

/* Hamburger */
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
 
}
.navbar__toggle .bar {
  width: 24px;
  height: 3px;
  background: #6d1f60;
  border-radius: 2px;
  transition: background 0.2s;
}

@media (min-width: 769px) {
  .navbar__menu {
    position: static !important;
    display: flex !important;
    flex-direction: row;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    justify-content: flex-end;
    align-items: center;
  }

  .navbar__toggle {
    display: none !important;
  }

  .navbar__menu li {
    border-bottom: none;
    margin: 0;
    width: auto;
  }

  .navbar__menu .btn--pink {
    width: auto;
    margin: 0;
    padding: 12px 28px;
    border-radius: 8px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Fix horizontal scroll on mobile only */
  html {
    overflow-x: hidden;
    width: 100%;
  }

  .hero__container,
  .hero__image,
  .navbar__menu,
  .stats-section,
  .method-section,
  .teachers-section,
  .reviews-section {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  

  /* Fix navbar overlap on mobile */
  .hero {
    padding-top: 76px;
  }

  .hero__container {
  display: flex;              /* make it a flex row */
  align-items: flex-end;      /* bottom-align text + image */
  gap: 60px;                  /* your desired spacing */
  width: 100%;
  padding: 0 24px;            /* matches .method-container so section text lines up */
  box-sizing: border-box;
  }

  .hero__image {
    width: 100%;
    box-sizing: border-box;
  }

  .hero__img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Ensure no elements cause horizontal scroll */
  .stats-section,
  .method-section,
  .teachers-section,
  .reviews-section {
    width: 100%;
    box-sizing: border-box;
  }

  .stats-container,
  .method-container {
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Keep existing mobile menu styles */
  .navbar {
    padding: 12px 20px;
  }
  
  /* Maintain same padding in scrolled state on mobile */
  .navbar.scrolled {
    padding: 12px 20px;
  }

  .navbar__container {
    padding: 0;
  }

  .navbar__logo-img {
    height: 40px;
  }

  .navbar__toggle {
    display: flex;
    z-index: 1001;
    position: relative;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
  }

  .navbar__toggle .bar {
    position: absolute;
    width: 24px;
    height: 2px;
    background: #6d1f60;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .navbar__toggle .bar:nth-child(1) {
    transform: translateY(-6px);
  }

  .navbar__toggle .bar:nth-child(3) {
    transform: translateY(6px);
  }

  .navbar__toggle.active .bar:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }

  .navbar__toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.active .bar:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
  }

  /* ——— Mobile menu: panel that slides down out of the navbar ——— */

  /* Keep the bar solid while the panel is out so the two whites don't seam */
  .navbar.menu-open,
  .navbar.menu-open.scrolled {
    background: #ffffff;
    backdrop-filter: none;
  }

  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 16px 36px rgba(45, 20, 87, 0.13);
    /* Collapsed to nothing so the panel unrolls from under the bar.
       visibility is delayed so the links stay untabbable until it opens. */
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.42s;
    z-index: 999;
  }

  .navbar__menu.open {
    max-height: 420px;
    visibility: visible;
    transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s;
  }

  .navbar__menu li {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(45, 20, 87, 0.07);
    /* Links fade in behind the unrolling panel, staggered top to bottom */
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .navbar__menu.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar__menu.open li:nth-child(1) { transition-delay: 0.08s; }
  .navbar__menu.open li:nth-child(2) { transition-delay: 0.13s; }
  .navbar__menu.open li:nth-child(3) { transition-delay: 0.18s; }
  .navbar__menu.open li:nth-child(4) { transition-delay: 0.23s; }
  .navbar__menu.open li:nth-child(5) { transition-delay: 0.28s; }

  .navbar__menu li:first-child {
    margin-top: 8px;
  }

  .navbar__menu li:last-child {
    border-bottom: none;
    margin: 0 0 8px;
    padding: 0;
  }

  .navbar__menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 56px;
    padding: 0;
    font-size: 1rem;
    color: #6d1f60;
    transition: color 0.2s ease;
    line-height: 1;
  }

  .navbar__menu a:hover,
  .navbar__menu a.active {
    color: #ea2e84;
    background: none;
  }

  /* ЗАПИС drops its button styling here and reads as a plain link like the rest */
  .navbar__menu .btn--pink {
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    min-width: unset;
    height: 56px;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    border-radius: 0;
    text-align: left;
    background: none;
    box-shadow: none;
    transform: none;
    color: #6d1f60 !important;
    transition: color 0.2s ease;
  }

  .navbar__menu .btn--pink:hover,
  .navbar__menu .btn--pink:active,
  .navbar__menu .btn--pink.active {
    background: none;
    transform: none;
    color: #ea2e84 !important;
  }
}
  /* Hide content behind menu when open */
  /*body.menu-open {
    overflow: hidden;
  }*/

  /*body.menu-open .hero,
  body.menu-open .stats-section,
  body.menu-open .method-section,
  body.menu-open .reviews-section {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }*/
/* */

.hero {
 
  background-color: #f2eaff;
  padding: 80px 0 0;
  overflow: hidden;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;

}

.hero__content {
  flex: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__content.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__title {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 4.2rem;
  font-weight: 700;
  color: #6d1f60;
  margin-bottom: 28px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(91, 26, 110, 0.25);
}

.hero__desc {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.6;
  color: #2d1457;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #ea2e84;
  color: #fff;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 16px 28px 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s ease,
              background-color 0.3s ease;
}

.hero__btn-arrow {
  flex-shrink: 0;
}

.hero__btn:hover {
  transform: translateY(-2px);
  background-color: #d42a7a;
}

.hero__btn:active {
  transform: translateY(0);
}

.hero__image {
  flex: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.hero__image.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* Medium tablet adjustments for 800px-1000px range */
@media (max-width: 1000px) and (min-width: 801px) {
  .hero__title {
    font-size: 3.2rem;
    margin-bottom: 24px;
  }
  
  .hero__desc {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 500px;
  }
  
  .hero__btn {
    font-size: 0.95rem;
    padding: 14px 24px 14px 28px;
  }
}

/* Mobile */
@media (max-width: 800px) {
  .hero {
    /* Navbar is ~64px. 76px leaves a tight 12px gap above the title. */
    padding: 76px 0 0;
    overflow-x: hidden;
  }
  
  .hero__container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }

  .hero__title {
    font-size: 3.4rem;
    margin-bottom: 16px;
    text-shadow: none;
  }
  
  .hero__desc {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  
  .hero__btn {
    display: inline-flex;
    margin-bottom: 16px;
    font-size: 0.95rem;
    padding: 14px 22px 14px 26px;
  }
  
  .hero__img {
    max-width: none;
    width: 100%;
    height: auto;
    margin-left: 0;
    display: block;
  }

  /* Break out of the container padding so the photo can use the full screen width */
  .hero__image {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
    overflow: hidden;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero {
    padding: 76px 0 0;
  }
  
  .hero__container {
    padding: 0 20px;    /* matches .method-container at this width */
    gap: 8px;
  }
  
  .hero__title {
    font-size: 2.8rem;
    margin-bottom: 14px;
  }
  
  .hero__desc {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 18px;
  }
}

.stats-section {
  background: #f9f9fc;
  padding: 80px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stats-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.stats-subtitle {
  color: #ea2e84;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stats-title {
  color: #6d1f60;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.stats-description {
  color: #6a6a6a;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-block:nth-child(1) { transition-delay: 0.1s; }
.stat-block:nth-child(2) { transition-delay: 0.2s; }
.stat-block:nth-child(3) { transition-delay: 0.3s; }
.stat-block:nth-child(4) { transition-delay: 0.4s; }

.stat-icon {
  width: 120px;
  height: 120px;
  background: #ea2e84;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(234, 46, 132, 0.2);
}

.stat-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(234, 46, 132, 0.3);
}

.stat-icon-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Makes images white */
}

.stat-number {
  font-size: 4rem;
  font-weight: 700;
  color: #6d1f60;
  margin-bottom: 12px;
  line-height: 1;
  transition: color 0.3s ease;
}

.stat-desc {
  font-size: 0.9rem;
  color: #2d1457;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.3;
}

/* Tablet Layout */
@media (max-width: 1024px) {
  .stats-section {
    padding: 60px 20px;
  }
  
  .stats-title {
    font-size: 3rem;
  }
  
  .stats-grid {
    gap: 32px;
    max-width: 1000px;
  }
  
  .stat-icon {
    width: 100px;
    height: 100px;
  }
  
  .stat-icon-image {
    width: 40px;
    height: 40px;
  }
  
  .stat-number {
    font-size: 3.2rem;
  }
}

/* Mobile Layout - 2x2 Grid */
@media (max-width: 768px) {
  .stats-section {
    padding: 50px 16px;
  }
  
  .stats-header {
    margin-bottom: 40px;
  }
  
  .stats-title {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 500px;
  }
  
  .stat-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
  }
  
  .stat-icon-image {
    width: 36px;
    height: 36px;
  }
  
  .stat-number {
    font-size: 2.8rem;
    margin-bottom: 10px;
  }
  
  .stat-desc {
    font-size: 0.8rem;
  }
}

/* Small Mobile - Single Column */
@media (max-width: 480px) {
  .stats-section {
    padding: 40px 16px;
  }
  
  .stats-title {
    font-size: 2rem;
  }
  
  .stats-description {
    font-size: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 300px;
  }
  
  .stat-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }
  
  .stat-icon-image {
    width: 40px;
    height: 40px;
  }
  
  .stat-number {
    font-size: 3rem;
  }
  
  .stat-desc {
    font-size: 0.85rem;
  }
}

/* Method Section Styles */
.method-section {
  position: relative;
  width: 100%;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
  padding: 80px 0;
}

.method-bg {
  position: absolute;
  inset: 0;
  background: url('./Images/comm_section_background.jpg') center/cover no-repeat;
  z-index: 1;
}
/* Initial state for scroll animation */
.method-graphic {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 3.0s cubic-bezier(0.4, 0, 0.2, 1),
    transform 3.0s cubic-bezier(0.4, 0, 0.2, 1); /* ⬅️ slightly longer duration was 0.7 before */
}

.method-graphic.animated {
  opacity: 1;
  transform: translateY(0);
}

/*.method-graphic.animated:hover {
  transform: translateY(0) scale(1.05); 
}*/

.method-section::before,
.method-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(51, 0, 80, 0.697);
  z-index: 2;
}

.method-container {
  position: relative;
  z-index: 3;
  display: flex;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  gap: 48px;
  align-items: center;
}

.method-content {
  flex: 1;
  color: #fff;
}

.method-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ff4fa3;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.method-title.animated {
  opacity: 1;
  transform: translateY(0);
}

.method-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #f3f3f3;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  /*transition-delay: 0.3s;*/
}

.method-description.animated {
  opacity: 1;
  transform: translateY(0);
}

.method-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-image {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-image:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .method-section {
    padding: 80px 0;
    min-height: 600px;
  }
  .method-container {
    flex-direction: column;
    gap: 48px;
    padding: 0 24px;
    text-align: left;
  }
  .method-content {
    order: 1;
  }
  .method-image {
    order: 2;
    text-align: center;
  }
  .circle-image {
    width: 380px;
    height: 380px;
  }
  .method-title {
    font-size: 2.4rem;
    margin-bottom: 24px;
  }
  .method-description {
    font-size: 1.1rem;
    line-height: 1.7;
  }
}

@media (max-width: 500px) {
  .method-section {
    padding: 70px 0;
    min-height: 500px;
  }
  .method-container {
    gap: 40px;
    padding: 0 20px;
  }
  .circle-image {
    width: 280px;
    height: 280px;
  }
  .method-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .method-description {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Features Section Styles */
.features-section {
  background: #f9f9fc;
  padding: 100px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.features-pink-subtitle {
  color: #ea2e84;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.features-title {
  color: #6d1f60;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.features-subtitle {
  color: #6a6a6a;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0 auto;
  font-weight: 400;
  max-width: 700px;
}

/* Main Features Grid */
.features-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.feature-main-card {
  background: rgb(243, 236, 255);
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-main-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-main-card:nth-child(1) { transition-delay: 0.2s; }
.feature-main-card:nth-child(2) { transition-delay: 0.4s; }

.feature-main-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-main-title {
  color: #6d1f60;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.feature-main-desc {
  color: #6a6a6a;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Bottom Features Grid */
.features-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-bottom-card {
  background: rgb(243, 236, 255);
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-bottom-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-bottom-card:nth-child(1) { transition-delay: 0.6s; }
.feature-bottom-card:nth-child(2) { transition-delay: 0.8s; }
.feature-bottom-card:nth-child(3) { transition-delay: 1.0s; }

.feature-bottom-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Feature Icon Images */
.feature-icon-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 2px 8px rgba(45, 20, 87, 0.15));
}

.feature-main-icon .feature-icon-img {
  width: 130px;
  height: 130px;
}

.feature-bottom-icon .feature-icon-img {
  width: 90px;
  height: 90px;
}

.feature-icon-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(45, 20, 87, 0.25));
}

/* Fallback styling when images fail to load */
.feature-icon-img::before {
  content: "📚";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  opacity: 0.6;
}

.feature-bottom-title {
  color: #6d1f60;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.feature-bottom-desc {
  color: #6a6a6a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Tablet Layout */
@media (max-width: 1024px) {
  .features-section {
    padding: 80px 20px;
  }
  
  .features-title {
    font-size: 3rem;
  }
  
  .features-main-grid {
    gap: 40px;
    margin-bottom: 60px;
  }
  
  .feature-main-card {
    padding: 40px 32px;
  }
  
  .features-bottom-grid {
    gap: 32px;
  }
  
  .feature-bottom-card {
    padding: 32px 24px;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .features-section {
    padding: 60px 16px;
  }
  
  .features-header {
    margin-bottom: 50px;
  }
  
  .features-title {
    font-size: 2.5rem;
  }
  
  .features-subtitle {
    font-size: 1.1rem;
  }
  
  .features-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
  
  .feature-main-card {
    padding: 28px 20px;
  }
  
  .feature-main-title {
    font-size: 1.3rem;
  }
  
  .features-bottom-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .feature-bottom-card {
    padding: 28px 20px;
  }
  
  .feature-bottom-title {
    font-size: 1.3rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .features-section {
    padding: 50px 16px;
  }
  
  .features-title {
    font-size: 2rem;
  }
  
  .features-subtitle {
    font-size: 1rem;
  }
  
  .feature-main-card {
    padding: 24px 20px;
  }
  
  .feature-main-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }
  
  .feature-main-icon .feature-icon-img {
    width: 80px;
    height: 80px;
  }
  
  .feature-main-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  
  .feature-main-desc {
    font-size: 0.95rem;
  }
  
  .feature-bottom-card {
    padding: 24px 16px;
  }
  
  .feature-bottom-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }
  
  .feature-bottom-icon .feature-icon-img {
    width: 80px;
    height: 80px;
  }
  
  .feature-bottom-title {
    font-size: 1.3rem;
  }
  
  .feature-bottom-desc {
    font-size: 0.95rem;
  }
}

/* Teachers Section Styles */
.teachers-section {
  background: #f2eaff;
  padding: 80px 20px 140px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

.teachers-container {
  max-width: 1200px;
  margin: 0 auto;
}

.teachers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.teachers-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.teachers-header-content {
  flex: 1;
  max-width: 600px;
}

/* Eyebrow above the teachers title, matching .features-pink-subtitle. */
.teachers-pink-subtitle {
  display: block;
  color: #ea2e84;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.teachers-title {
  color: #6d1f60;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.teachers-description {
  color: #6a6a6a;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.teacher-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(45, 20, 87, 0.08);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.teacher-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.teacher-card:nth-child(1) { transition-delay: 0.1s; }
.teacher-card:nth-child(2) { transition-delay: 0.2s; }
.teacher-card:nth-child(3) { transition-delay: 0.3s; }

.teacher-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ea2e84, #ff6b9d);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.teacher-card:hover {
  box-shadow: 0 12px 40px rgba(45, 20, 87, 0.12);
}

.teacher-card:hover::before {
  opacity: 1;
}

.teacher-avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

.teacher-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ccc;
  font-weight: 300;
}

/* Fallback styling when image fails to load */
.teacher-image::before {
  content: "👤";
  display: block;
  font-size: 2.5rem;
  opacity: 0.6;
}

.teacher-card:hover .teacher-image {
  transform: scale(1.15);
}

.teacher-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.teacher-name {
  color: #6d1f60;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.teacher-role {
  color: #ea2e84;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.teacher-bio {
  color: #6a6a6a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px 0;
  font-weight: 400;
  flex-grow: 1;
}

.teacher-profile-btn {
  display: inline-block;
  background: transparent;
  color: #6d1f60;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-top: auto;
  align-self: center;
}

.teacher-profile-btn:hover {
  border-color: #ea2e84;
  color: #ea2e84;
  background: rgba(234, 46, 132, 0.02);
}

.teacher-profile-btn:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

/* Tablet Layout */
@media (max-width: 1024px) {
  .teachers-section {
    padding: 60px 20px 120px 20px;
  }
  
  .teachers-title {
    font-size: 3rem;
  }
  
  .teachers-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  
  .teachers-grid {
    gap: 32px;
  }
  
  .teacher-card {
    padding: 28px;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .teachers-section {
    padding: 50px 16px 100px 16px;
  }
  
  .teachers-header {
    margin-bottom: 40px;
    align-items: flex-start;
    text-align: left;
  }

  .teachers-title {
    font-size: 2.5rem;
  }
  
  .teachers-description {
    font-size: 1rem;
  }
  
  .teachers-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    max-width: 400px;
  }
  
  .teacher-card {
    padding: 24px;
  }
  
  .teacher-avatar {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }
  
  .teacher-name {
    font-size: 1.3rem;
  }
  
  .teacher-bio {
    font-size: 0.9rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .teachers-section {
    padding: 40px 16px 90px 16px;
  }
  
  .teachers-title {
    font-size: 2rem;
  }
  
  .teachers-description {
    font-size: 0.95rem;
  }
  
  .teacher-card {
    padding: 20px;
  }
  
  .teacher-avatar {
    width: 140px;
    height: 140px;
  }
  
  .teacher-name {
    font-size: 1.2rem;
  }
  
  .teacher-role {
    font-size: 0.75rem;
  }
  
  .teacher-bio {
    font-size: 0.85rem;
  }
  
  .teacher-profile-btn {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}

/* Pricing Section Styles */
.pricing-section {
  background: #f2eaff;
  padding: 100px 20px 140px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-header-content {
  flex: 1;
  max-width: 600px;
}

/* Eyebrow above the pricing title, matching .features-pink-subtitle. */
.pricing-pink-subtitle {
  display: block;
  color: #ea2e84;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-title {
  color: #6d1f60;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.pricing-description {
  color: #6a6a6a;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.pricing-view-all-btn {
  box-shadow: none;
  flex-shrink: 0;
  margin-bottom: 0;
}

.pricing-view-all-btn:hover {
  box-shadow: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-section .pricing-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px 24px 24px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(45, 20, 87, 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: auto;
  border: 1px solid #ede8f5;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.pricing-section .pricing-card:focus-visible {
  outline: 3px solid #ea2e84;
  outline-offset: 4px;
}

.pricing-section .pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-section .pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-section .pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-section .pricing-card:nth-child(3) { transition-delay: 0.3s; }

.pricing-section .pricing-card:hover {
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(91, 26, 110, 0.2);
  border-color: transparent;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-section .pricing-card:hover .pricing-plan-name,
.pricing-section .pricing-card:hover .pricing-feature span,
.pricing-section .pricing-card:hover .price-currency,
.pricing-section .pricing-card:hover .price-amount,
.pricing-section .pricing-card:hover .price-period {
  color: #ffffff;
  transition: color 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-section .pricing-card:hover .feature-icon {
  color: #ffffff;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-section .pricing-card:hover .pricing-btn {
  background: #ffffff;
  color: #6d1f60;
  border-color: #ffffff;
  box-shadow: none;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-section .pricing-badge {
  display: none; /* Temporarily hidden */
  position: absolute;
  top: 14px;
  right: 14px;
  background: #6d1f60;
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  z-index: 1;
}

.pricing-section .pricing-card:hover .pricing-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #6d1f60;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-section .pricing-card-header {
  margin-bottom: 20px;
}

.pricing-section .pricing-plan-name {
  color: #6d1f60;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.pricing-section .pricing-price {
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px;
  flex-wrap: wrap;
}

.pricing-section .price-amount {
  color: #6d1f60;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-section .price-currency {
  color: #6a6a6a;
  font-size: 1rem;
  font-weight: 600;
}

.pricing-section .pricing-card > .price-period {
  color: #6a6a6a;
  font-size: 0.78rem;
  font-weight: 400;
  text-align: left;
  margin-bottom: 20px;
  margin-top: 2px;
}

.pricing-section .pricing-features {
  margin-bottom: 12px;
  flex-grow: 1;
}

.pricing-section .pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #6a6a6a;
  line-height: 1.5;
}

.pricing-section .pricing-feature:last-child {
  margin-bottom: 0;
}

.pricing-section .feature-icon {
  color: #ea2e84;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: none;
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.pricing-section .pricing-btn {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  border-radius: 16px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: inherit;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pricing-section .pricing-card:hover .pricing-btn:hover,
.pricing-section .pricing-btn:hover {
  background: #ffffff;
  color: #6d1f60;
}



/* Tablet Layout */
@media (max-width: 1024px) {
  .pricing-section {
    padding: 80px 20px 120px 20px;
  }
  
  .pricing-title {
    font-size: 3rem;
  }
  
  .pricing-header-content {
    margin-bottom: 24px;
  }
  
  .pricing-grid {
    gap: 24px;
  }
  
  .pricing-section .pricing-card {
    padding: 22px 20px;
  }
  
  .pricing-section .price-amount {
    font-size: 2rem;
  }
  
  .pricing-section .pricing-plan-name {
    font-size: 1rem;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .pricing-section {
    padding: 50px 16px 50px 16px;
  }

  .pricing-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
    margin-bottom: 40px;
  }

  /* Cancels the <=1024px rule, which stacked on the header's own 24px gap */
  .pricing-header-content {
    margin-bottom: 0;
  }
  
  .pricing-title {
    font-size: 2.5rem;
  }
  
  .pricing-description {
    font-size: 1rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 400px;
  }
  
  .pricing-section .pricing-card {
    padding: 24px;
    min-height: auto;
    height: auto;
  }
  
  .pricing-section .pricing-plan-name {
    font-size: 1.05rem;
  }
  
  .pricing-section .pricing-feature {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
  
  .pricing-section .feature-icon {
    width: 15px;
    height: 15px;
  }
  
  .pricing-section .price-amount {
    font-size: 2.2rem;
  }
  
  .pricing-section .price-currency {
    font-size: 1rem;
  }
  
  .pricing-section .pricing-btn {
    padding: 12px 16px;
    font-size: 0.8rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .pricing-section {
    padding: 40px 16px 40px 16px;
  }
  
  .pricing-title {
    font-size: 2rem;
  }
  
  .pricing-description {
    font-size: 0.95rem;
  }
  
  .pricing-section .pricing-card {
    padding: 20px;
  }
  
  .pricing-section .pricing-plan-name {
    font-size: 1rem;
  }
  
  .pricing-section .pricing-feature {
    font-size: 0.82rem;
    margin-bottom: 7px;
  }
  
  .pricing-section .price-amount {
    font-size: 2rem;
  }
  
  .pricing-section .feature-icon {
    width: 14px;
    height: 14px;
  }
  
  .pricing-section .pricing-btn {
    font-size: 0.78rem;
    padding: 11px 14px;
  }
}

.reviews-section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 10px 20px;
  background: #f9f9fc; /* Match widget background */
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: 
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Purple side accents */
.reviews-section::before, .reviews-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  background: #f9f9fc; /* Site's purple */
  z-index: 1;
}
.reviews-section::before {
  left: -100vw;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.reviews-section::after {
  right: -100vw;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.reviews-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.reviews-header {
  text-align: center;
  margin: 0 auto 40px auto;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.reviews-subtitle {
  color: #ea2e84;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reviews-title {
  color: #6d1f60;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

.reviews-tagline {
  color: #6a6a6a;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .reviews-section {
    padding: 60px 16px 8px 16px;
  }
  
  .reviews-header {
    margin-bottom: 30px;
  }
  
  .reviews-subtitle {
    font-size: 1rem;
  }
  
  .reviews-title {
    font-size: 3rem;
  }
  
  .reviews-tagline {
    font-size: 1rem;
  }
  
  /* Scale down widget on tablets */
  .reviews-section .elfsight-app-572b0546-6132-46d8-b9e4-58787090288d {
    transform: scale(1.0);
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .reviews-section {
    padding: 50px 16px 5px 16px;
  }
  
  .reviews-title {
    font-size: 2.5rem;
  }
  
  .reviews-tagline {
    font-size: 1rem;
  }
  
  /* Ensure no scaling on mobile and fix potential overflow */
  .reviews-section .elfsight-app-572b0546-6132-46d8-b9e4-58787090288d {
    transform: none;
    padding: 10px 0;
    overflow-x: hidden;
  }
}

/* Tablet-specific fixes (iPad Pro and Surface Pro 7) */
@media screen and (min-width: 769px) and (max-width: 1368px) {
  /* Fix horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  /* The bar itself stays edge-to-edge. Max-width belongs on the inner
     container so zoom on laptops/iPads cannot leave gaps beside the nav. */
  .navbar {
    max-width: none;
    width: 100%;
    margin: 0;
    left: 0;
    right: 0;
    padding: 12px 24px;
  }

  /* Same padding as the resting bar — .navbar.scrolled is more specific
     and would otherwise keep the larger 16px 32px desktop padding. */
  .navbar.scrolled {
    padding: 12px 24px;
  }

  .navbar__container {
    max-width: 1368px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .navbar__menu {
    gap: 24px;
  }

  .navbar__menu a {
    font-size: 0.9rem;
  }

  .btn--pink {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Adjust hero section */
  .hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }
  
  .hero__content {
    flex: 1;
    max-width: none;
    margin: 0;
  }

  .hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero__img {
    max-width: 100%;
    width: auto;
    height: auto;
  }

  /* Adjust other sections */
  .stats-container,
  .method-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
  }

  /* Ensure images don't cause overflow */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Desktop screens larger than 1368px */
@media screen and (min-width: 1369px) {
  /* Fix horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  /* Ensure navbar doesn't expand beyond reasonable limits */
  .navbar {
    padding: 16px 32px;
  }

  .navbar__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
  }

  .navbar__menu {
    gap: 40px;
  }

  /* Adjust other sections */
  /* Keep broader width for general content if desired */
  .stats-container,
  .contacts-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* Match teachers section spacing for hero and method */
  .hero__container,
  .method-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* Ensure images don't cause overflow */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Map Section Styles */
.map-section {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  background: #f2eaff; /* Match body background */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.map-container {
  width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}

/* Add modern spacing and widget container */

/* Modern widget container */
.reviews-section .elfsight-app-572b0546-6132-46d8-b9e4-58787090288d {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  transform: scale(1.1);
  transform-origin: center;
}

/* Remove scaling on mobile to fix scrolling issues */
@media (max-width: 768px) {
  .reviews-section .elfsight-app-572b0546-6132-46d8-b9e4-58787090288d {
    transform: scale(1.0);
    max-width: 100%;
  }
}

/* Ensure widget content scales properly */
.reviews-section .elfsight-app-572b0546-6132-46d8-b9e4-58787090288d > div {
  width: 100% !important;
  min-height: 400px;
}

/* Additional spacing for the widget area */
.reviews-section .elfsight-app-572b0546-6132-46d8-b9e4-58787090288d {
  padding: 20px 0;
}

/* Responsive adjustments for map section */
@media (max-width: 768px) {
  .map-container {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .map-container {
    height: 300px;
  }
}

/* Tablet-specific adjustments for map */
@media screen and (min-width: 769px) and (max-width: 1368px) {
  .map-container {
    height: 400px;
  }
}

/* Contacts Section Styles */
.contacts-section {
  background: #f9f9fc;
  padding: 100px 20px;
  position: relative;
  scroll-margin-top: 96px;
}

.contacts-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Two Column Layout */
.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: stretch;
}

/* Left Column - Header + Contact Info */
.contacts-info {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contacts-subtitle {
  color: #ea2e84;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contacts-title {
  color: #6d1f60;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 0 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

.contacts-title-bar {
  width: 48px;
  height: 4px;
  background: #ea2e84;
  border-radius: 2px;
  margin: 20px 0 40px 0;
}

.contacts-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contacts-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contacts-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ea2e84;
  flex-shrink: 0;
  margin-top: 2px;
}

.contacts-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts-item-label {
  margin: 0;
  color: #8a8a8a;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contacts-item-value {
  margin: 0;
  color: #6d1f60;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}

.contacts-item-sub {
  margin: 0;
  color: #8a8a8a;
  font-size: 1rem;
  font-weight: 400;
}

.contacts-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.contacts-socials-label {
  color: #8a8a8a;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.contacts-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #d0d0d0;
  border-radius: 50%;
  color: #6a6a6a;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contacts-social-icon:hover {
  border-color: #ea2e84;
  color: #ea2e84;
  transform: translateY(-2px);
}

/* Right Column - Contact Form */
.contact-form-wrapper {
  display: flex;
  flex-direction: column;
}

.contact-form-container {
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  border: 1.5px solid #e8e0f0;
  box-shadow: 0 4px 24px rgba(94, 39, 120, 0.06);
  display: flex;
  flex-direction: column;
}

.contact-form-title {
  color: #6d1f60;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  font-family: 'Poppins', sans-serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-label {
  color: #6d1f60;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background: #fff;
  color: #6d1f60;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ea2e84;
  box-shadow: 0 0 0 3px rgba(234, 46, 132, 0.1);
  transform: translateY(-1px);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: #d0d0d0;
}

.form-group.is-invalid .form-input,
.form-group.is-invalid .form-select,
.form-group.is-invalid .form-textarea,
.test-form-group.is-invalid .test-input,
.test-form-group.is-invalid .test-select,
.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid,
.test-input.is-invalid,
.test-select.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.field-error {
  display: none;
  color: #dc3545;
  font-size: 0.78rem;
  margin-top: 6px;
  line-height: 1.35;
}

.form-group.is-invalid .field-error,
.test-form-group.is-invalid .field-error {
  display: block;
}

.form-textarea {
  resize: vertical;
  min-height: 48px;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6a6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 50px;
  appearance: none;
}

.form-select:invalid {
  color: #9a8aa0;
}

.form-select option {
  color: #6d1f60;
}

.form-checkbox-group {
  margin-top: 8px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-checkbox {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox:checked + .checkbox-custom {
  background: #ea2e84;
  border-color: #ea2e84;
}

.form-checkbox:checked + .checkbox-custom::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-text {
  color: #6a6a6a;
}

.privacy-link {
  color: #ea2e84;
  text-decoration: none;
  transition: color 0.2s ease;
}

.privacy-link:hover {
  color: #d42a7a;
  text-decoration: underline;
}

.form-submit-btn {
  background: linear-gradient(135deg, #ea2e84, #ff6b9d);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(234, 46, 132, 0.3);
  margin-top: auto;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(234, 46, 132, 0.4);
  background: linear-gradient(135deg, #d42a7a, #ff5a8b);
}

.form-submit-btn:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.form-submit-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ——— Enroll popup (same Formspree form, opened from ЗАПИС) ——— */
.enroll-modal[hidden] {
  display: none !important;
}

.enroll-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.enroll-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.enroll-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 20, 87, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.enroll-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: min(90vh, 100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 16px;
  padding: 36px 36px 28px;
  border: 1.5px solid #e8e0f0;
  box-shadow: 0 24px 64px rgba(45, 20, 87, 0.22);
  box-sizing: border-box;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.enroll-modal.is-open .enroll-modal__panel {
  transform: translateY(0) scale(1);
}

.enroll-modal__panel .contact-form-title {
  margin: 0 40px 20px 0;
}

.enroll-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
}

.enroll-modal__close span {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  background: #6d1f60;
  border-radius: 2px;
}

.enroll-modal__close span:first-child {
  transform: rotate(45deg);
}

.enroll-modal__close span:last-child {
  transform: rotate(-45deg);
}

.enroll-modal__close:hover {
  background: rgba(109, 31, 96, 0.08);
}

body.enroll-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .enroll-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .enroll-modal__panel {
    max-width: none;
    max-height: min(92dvh, 100dvh - 16px);
    padding: 28px 20px 20px;
    border-radius: 16px 16px 12px 12px;
    transform: translateY(24px);
  }

  .enroll-modal.is-open .enroll-modal__panel {
    transform: translateY(0);
  }

  .enroll-modal__panel .form-input,
  .enroll-modal__panel .form-select,
  .enroll-modal__panel .form-textarea {
    font-size: 16px;
  }

  .enroll-modal__panel .form-submit-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .enroll-modal,
  .enroll-modal__panel {
    transition: none;
  }
}

/* Form input focus states */
.form-group.focused .form-label {
  color: #ea2e84;
  transform: translateY(-2px);
}

.form-group.filled .form-label {
  color: #6d1f60;
  font-weight: 600;
}

/* Loading state for submit button */
.form-submit-btn.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.form-submit-btn.loading .btn-text::after {
  content: '...';
  animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
  0%, 20% { content: '...'; }
  40% { content: '....'; }
  60% { content: '.....'; }
  80%, 100% { content: '...'; }
}

/* Animation delays for staggered effect */
.contact-card:nth-child(1) { transition-delay: 0.1s; }
.contact-card:nth-child(2) { transition-delay: 0.2s; }
.contact-card:nth-child(3) { transition-delay: 0.3s; }

/* Tablet Layout */
@media (max-width: 1024px) {
  .contacts-section {
    padding: 72px 20px;
  }

  .contacts-content {
    gap: 40px;
  }

  .contacts-title {
    font-size: 2.4rem;
  }

  .contact-form-container {
    padding: 36px;
  }

  .contact-form-title {
    font-size: 1.4rem;
  }

  .form-row {
    gap: 16px;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .contacts-section {
    padding: 56px 16px;
  }

  .contacts-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts-title {
    font-size: 2.2rem;
  }

  .contact-form-container {
    padding: 28px 20px;
  }

  .contact-form-title {
    font-size: 1.3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 14px;
    font-size: 0.95rem;
  }
  
  .form-submit-btn {
    padding: 16px 28px;
    font-size: 0.9rem;
  }

  .contacts-socials {
    flex-wrap: wrap;
    margin-top: 32px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .contacts-section {
    padding: 40px 16px;
  }

  .contacts-title {
    font-size: 1.8rem;
  }

  .contacts-content {
    gap: 28px;
  }

  .contact-form-container {
    padding: 24px 18px;
  }

  .contact-form-title {
    font-size: 1.2rem;
  }

  .contacts-items {
    gap: 24px;
  }

  .contacts-item-value {
    font-size: 1rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px;
    font-size: 0.9rem;
  }
  
  .form-submit-btn {
    padding: 14px 24px;
    font-size: 0.85rem;
  }
  
  .contact-card {
    padding: 32px 24px;
  }
  
  .contact-icon svg {
    width: 48px;
    height: 48px;
  }
  
  .contact-phone,
  .contact-address,
  .contact-city,
  .contact-email {
    font-size: 1.1rem;
  }
  
  .contact-city {
    font-size: 1rem;
  }
}

/* FAQ Section Styles */
.faq-section {
  background: #f9f9fc;
  padding: 100px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-title {
  color: #6d1f60;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  color: #6d1f60;
}

.faq-question-text {
  color: #2d1457;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.3s ease;
  flex: 1;
  padding-right: 20px;
}

.faq-question:hover .faq-question-text {
  color: #6d1f60;
}

.faq-arrow {
  color: #6a6a6a;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(45, 20, 87, 0.05);
  flex-shrink: 0;
}

.faq-question:hover .faq-arrow {
  color: #6d1f60;
  background: rgba(91, 26, 110, 0.1);
  transform: scale(1.1);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: #ea2e84;
  background: rgba(234, 46, 132, 0.1);
}

.faq-item.active .faq-question:hover .faq-arrow {
  transform: rotate(180deg) scale(1.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 0 32px 0;
  transform: translateY(-10px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-content {
  transform: translateY(0);
}

.faq-answer-content p {
  color: #6a6a6a;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

/* Staggered animation delays */
.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }
.faq-item:nth-child(5) { transition-delay: 0.5s; }

/* Tablet Layout */
@media (max-width: 1024px) {
  .faq-section {
    padding: 80px 20px;
  }
  
  .faq-title {
    font-size: 2.8rem;
  }
  
  .faq-question {
    padding: 28px 0;
  }
  
  .faq-question-text {
    font-size: 1.15rem;
  }
  
  .faq-answer-content {
    padding: 0 0 28px 0;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 16px;
  }
  
  .faq-container {
    max-width: 100%;
  }
  
  .faq-header {
    margin-bottom: 40px;
  }
  
  .faq-title {
    font-size: 2.4rem;
  }
  
  .faq-question {
    padding: 24px 0;
  }
  
  .faq-question-text {
    font-size: 1.1rem;
    padding-right: 16px;
  }
  
  .faq-arrow {
    width: 28px;
    height: 28px;
  }
  
  .faq-arrow svg {
    width: 20px;
    height: 20px;
  }
  
  .faq-answer-content {
    padding: 0 0 24px 0;
  }
  
  .faq-answer-content p {
    font-size: 0.95rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .faq-section {
    padding: 50px 16px;
  }
  
  .faq-title {
    font-size: 2rem;
  }
  
  .faq-question {
    padding: 20px 0;
  }
  
  .faq-question-text {
    font-size: 1rem;
    padding-right: 12px;
  }
  
  .faq-arrow {
    width: 24px;
    height: 24px;
  }
  
  .faq-arrow svg {
    width: 18px;
    height: 18px;
  }
  
  .faq-answer-content {
    padding: 0 0 20px 0;
  }
  
  .faq-answer-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* Roadmap Section Styles */
.roadmap-section {
  background: #4a1559;
  padding: 120px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.roadmap-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.roadmap-content {
  color: #ffffff;
}

.roadmap-header {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-header.visible {
  opacity: 1;
  transform: translateX(0);
}

.roadmap-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-title {
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.roadmap-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0 0 40px 0;
  font-weight: 400;
  max-width: 500px;
}

.roadmap-cta-btn {
  display: inline-block;
  background: #ffffff;
  color: #6d1f60;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  text-transform: capitalize;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 32px rgba(91, 26, 110, 0.25);
  border: 2px solid transparent;
}

.roadmap-cta-btn:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(91, 26, 110, 0.4);
}

.roadmap-steps {
  position: relative;
  padding: 20px 0;
}

.roadmap-timeline {
  position: absolute;
  left: 32px;
  top: 80px;
  bottom: 80px;
  width: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.6));
  border-radius: 1px;
  transition: height 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-section.visible .roadmap-timeline::before {
  height: 100%;
  transition-delay: 1s;
}

.roadmap-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: default;
}

.roadmap-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.roadmap-step:last-child {
  margin-bottom: 0;
}

.roadmap-step-icon {
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6d1f60;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(91, 26, 110, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 2;
  transform: scale(0.8);
  cursor: default;
}

.roadmap-step.visible .roadmap-step-icon {
  transform: scale(1);
  transition-delay: 0.2s;
}

.roadmap-step-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(91, 26, 110, 0.3);
}

.roadmap-step-icon svg {
  width: 28px;
  height: 28px;
}

.roadmap-step-content {
  flex: 1;
  padding-top: 8px;
}

.roadmap-step-title {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.roadmap-step-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Staggered animation delays for steps */
.roadmap-step:nth-child(2) { transition-delay: 0.1s; }
.roadmap-step:nth-child(3) { transition-delay: 0.2s; }
.roadmap-step:nth-child(4) { transition-delay: 0.3s; }
.roadmap-step:nth-child(5) { transition-delay: 0.4s; }
.roadmap-step:nth-child(6) { transition-delay: 0.5s; }

/* Tablet Layout */
@media (max-width: 1024px) {
  .roadmap-section {
    padding: 100px 20px;
  }
  
  .roadmap-container {
    gap: 60px;
  }
  
  .roadmap-title {
    font-size: 2.8rem;
  }
  
  .roadmap-description {
    font-size: 1.1rem;
  }
  
  .roadmap-step {
    margin-bottom: 40px;
  }
  
  .roadmap-step-icon {
    width: 56px;
    height: 56px;
  }
  
  .roadmap-step-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .roadmap-timeline {
    left: 28px;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .roadmap-section {
    padding: 80px 16px;
  }
  
  .roadmap-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: left;
  }
  
  .roadmap-title {
    font-size: 2.4rem;
  }
  
  .roadmap-description {
    font-size: 1rem;
    max-width: none;
  }
  
  .roadmap-cta-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  
  .roadmap-steps {
    text-align: left;
  }
  
  .roadmap-timeline {
    left: 24px;
    top: 60px;
    bottom: 60px;
  }
  
  .roadmap-step {
    gap: 20px;
    margin-bottom: 36px;
  }
  
  .roadmap-step-icon {
    width: 48px;
    height: 48px;
  }
  
  .roadmap-step-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .roadmap-step-title {
    font-size: 1.25rem;
  }
  
  .roadmap-step-description {
    font-size: 0.95rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .roadmap-section {
    padding: 60px 16px;
  }
  
  .roadmap-container {
    gap: 40px;
  }
  
  .roadmap-title {
    font-size: 2rem;
  }
  
  .roadmap-description {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
  
  .roadmap-cta-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .roadmap-step {
    gap: 16px;
    margin-bottom: 32px;
  }
  
  .roadmap-timeline {
    left: 20px;
  }
  
  .roadmap-step-icon {
    width: 40px;
    height: 40px;
  }
  
  .roadmap-step-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .roadmap-step-title {
    font-size: 1.1rem;
  }
  
  .roadmap-step-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* ===== Site Footer ===== */
.site-footer {
  background: #ffffff;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: #2d1457;
  padding: 0;
}

.site-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 20px;
}

.site-footer__logo-img {
  height: 36px;
  width: auto;
}

.site-footer__description {
  color: #6a6a6a;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 28px 0;
  font-weight: 400;
  max-width: 280px;
}

.site-footer__socials {
  display: flex;
  gap: 12px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #6d1f60;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-footer__social-link:hover {
  background: #ea2e84;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(234, 46, 132, 0.3);
}

.site-footer__heading {
  color: #6d1f60;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 24px 0;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__links li {
  font-size: 0.95rem;
  color: #6a6a6a;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer__links a {
  color: #6a6a6a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: #6d1f60;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid #e8e8e8;
}

.site-footer__copyright {
  color: #6a6a6a;
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0;
}

.site-footer__legal {
  display: flex;
  gap: 32px;
}

.site-footer__legal a {
  color: #6a6a6a;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal a:hover {
  color: #6d1f60;
}

@media (max-width: 1024px) {
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 0 48px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__description {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .site-footer__container {
    padding: 0 20px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 40px;
  }

  .site-footer__description {
    max-width: 100%;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 0;
  }

  .site-footer__legal {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .site-footer__main {
    padding: 40px 0 32px;
    gap: 28px;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 12px;
  }
}

/* Display headings: Manrope ExtraBold (body stays Poppins) */
.hero__title,
.stats-title,
.method-title,
.features-title,
.teachers-title,
.roadmap-title,
.pricing-title,
.reviews-title,
.faq-title,
.contacts-title {
  font-family: 'Manrope', 'Poppins', system-ui, sans-serif;
  font-weight: 800;
}

/* Type scale (hero excluded) */
.stats-subtitle,
.features-pink-subtitle,
.teachers-pink-subtitle,
.pricing-pink-subtitle,
.reviews-subtitle,
.contacts-subtitle {
  font-size: var(--text-eyebrow);
}

.stats-title,
.method-title,
.features-title,
.teachers-title,
.roadmap-title,
.pricing-title,
.reviews-title,
.faq-title,
.contacts-title {
  font-size: var(--text-section-title);
}

.stats-description,
.method-description,
.features-subtitle,
.teachers-description,
.pricing-description,
.roadmap-description,
.reviews-tagline {
  font-size: var(--text-section-desc);
}

.feature-main-title,
.feature-bottom-title,
.pricing-section .pricing-plan-name,
.roadmap-step-title,
.faq-question-text,
.contact-form-title {
  font-size: var(--text-card-title);
}

.feature-main-desc,
.feature-bottom-desc,
.teacher-bio,
.pricing-section .pricing-feature,
.roadmap-step-description,
.faq-answer-content p,
.stat-desc {
  font-size: var(--text-card-body);
}

@media (max-width: 768px) {
  .pricing-section .pricing-plan-name {
    line-height: 1.4;
  }

  .pricing-section .pricing-feature {
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .pricing-section .pricing-features {
    margin-bottom: 24px;
  }
}

/* Temporarily hide unused footer legal copy (year stays visible) */
.site-footer__rights,
.site-footer__legal {
  display: none;
}
