:root {
  --color-primary: #e83c66;
  --color-secondary: #fcc031;
  --color-bg-dark: #0b1e28;
  --color-bg-soft: #f6f6f6;
  --color-text: #000000;
  --color-white: #ffffff;
  --color-muted: #737373;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-64: 64px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  width: calc(100% - 32px);
}

body.homepage-effects {
  overflow-x: hidden;
}

body.homepage-effects .site-wrapper,
body.homepage-effects .about-sections-flow {
  max-width: 100%;
  overflow-x: hidden;
}

body.homepage-effects .top-news,
body.homepage-effects .contact-strip,
body.homepage-effects .site-header,
body.homepage-effects .site-header .main-nav {
  max-width: 100%;
  overflow-x: hidden;
}

.homepage-effects .site-wrapper {
  isolation: isolate;
  position: relative;
}

.homepage-effects .top-news-right a,
.homepage-effects .social-links a,
.homepage-effects .main-nav a,
.homepage-effects .btn-icon,
.homepage-effects .btn-login,
.homepage-effects .section-badge,
.homepage-effects .teacher-detail-link,
.homepage-effects .glance-contact-btn,
.homepage-effects .contact-cta,
.homepage-effects .contact-submit,
.homepage-effects .footer-newsletter-btn,
.homepage-effects .footer-social a,
.homepage-effects .footer-links-col a,
.homepage-effects .footer-legal a,
.homepage-effects .faq-chevron,
.homepage-effects .contact-form input,
.homepage-effects .contact-form select,
.homepage-effects .contact-form textarea {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    background-color 280ms ease,
    color 280ms ease,
    filter 320ms ease,
    opacity 280ms ease;
}

.homepage-effects .about-diff-card,
.homepage-effects .teacher-card,
.homepage-effects .teachers-side-panel,
.homepage-effects .glance-card,
.homepage-effects .story-item,
.homepage-effects .review-card,
.homepage-effects .contact-card,
.homepage-effects .contact-form,
.homepage-effects .footer-newsletter,
.homepage-effects .footer-links-col {
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease,
    background-color 320ms ease;
}

.homepage-effects .about-diff-card-image-wrap,
.homepage-effects .teacher-card,
.homepage-effects .glance-main-image-wrap,
.homepage-effects .contact-card-visual {
  overflow: hidden;
}

.homepage-effects .about-diff-card-image,
.homepage-effects .teacher-main-image,
.homepage-effects .glance-main-image-wrap img,
.homepage-effects .contact-card-visual img {
  transform: scale(var(--media-rest-scale, 1));
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
  will-change: transform;
}

.homepage-effects .btn-login,
.homepage-effects .teacher-detail-link,
.homepage-effects .glance-contact-btn,
.homepage-effects .contact-cta,
.homepage-effects .contact-submit,
.homepage-effects .footer-newsletter-btn {
  overflow: hidden;
  position: relative;
}

.homepage-effects .btn-login::before,
.homepage-effects .teacher-detail-link::before,
.homepage-effects .glance-contact-btn::before,
.homepage-effects .contact-cta::before,
.homepage-effects .contact-submit::before,
.homepage-effects .footer-newsletter-btn::before {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.24) 50%, rgba(255, 255, 255, 0) 82%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  transition: opacity 280ms ease;
}

.homepage-effects.homepage-scrolled .site-header {
  box-shadow: 0 18px 38px rgba(11, 30, 40, 0.12);
}

.top-news {
  background: var(--color-primary);
  color: var(--color-white);
}

.top-news-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 44px;
}

.top-news-left {
  align-items: center;
  display: flex;
  font-size: 12px;
  gap: 8px;
  line-height: 18px;
}

.top-news-right {
  align-items: center;
  display: flex;
  gap: 16px;
}

.top-news-right a {
  align-items: center;
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  gap: 6px;
  line-height: 20px;
}

.top-news-close {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0;
}

.contact-strip {
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-bg-dark);
  color: #f6f6f6;
}

.contact-strip-inner {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 48px;
}

.contact-links {
  align-items: center;
  display: flex;
  gap: 24px;
}

.contact-links a {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  gap: 8px;
  line-height: 18px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-left: 24px;
}

.social-links a {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.site-header {
  background: #fafafa;
}

@media (min-width: 1200px) {
  body.about-page .site-header {
    overflow: visible !important;
    position: relative;
    z-index: 2000;
  }

  body.about-page .site-header .header-inner {
    overflow: visible !important;
    position: relative;
    z-index: 2001;
  }

  body.about-page .site-wrapper,
  body.about-page .about-sections-flow {
    position: relative;
    z-index: 1;
  }

  body.about-page .site-header .header-inner {
    justify-content: flex-start;
  }

  body.about-page .site-header .main-nav {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 32px !important;
    left: auto !important;
    margin-right: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    padding: 0 !important;
    pointer-events: auto !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    visibility: visible !important;
    width: auto !important;
    z-index: 2002 !important;
  }

  body.about-page .site-header .main-nav > a,
  body.about-page .site-header .main-nav > .mega-nav-item > .mega-trigger {
    justify-content: flex-start !important;
    padding: 10px 0 !important;
    width: auto !important;
  }

  body.about-page .site-header .mega-nav-item {
    align-items: center !important;
    display: inline-flex !important;
    grid-template-columns: none !important;
    overflow: visible !important;
    position: relative !important;
    width: auto !important;
  }

  body.about-page .site-header .mega-nav-item > .mega-trigger {
    grid-column: auto !important;
    margin: 0 !important;
  }

  body.about-page .site-header .mega-trigger-caret-link {
    display: inline-flex !important;
  }

  body.about-page .site-header .mega-submenu-toggle,
  body.about-page .site-header .mobile-submenu,
  body.about-page .site-header .btn-menu-icon {
    display: none !important;
  }

  body.about-page .site-header .mega-menu-panel {
    display: none;
    z-index: 2600 !important;
  }

  body.about-page .site-header .mega-nav-item:hover .mega-menu-panel,
  body.about-page .site-header .mega-nav-item.mega-open .mega-menu-panel,
  body.about-page .site-header .mega-nav-item:focus-within .mega-menu-panel {
    display: block !important;
  }
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 80px;
  padding: 16px 0;
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 40px;
  width: 128px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 32px;
}

.main-nav a {
  align-items: center;
  color: #000000;
  display: inline-flex;
  font-size: 14px;
  gap: 4px;
  line-height: 20px;
  padding: 10px 0;
}

.main-nav a.active {
  border-bottom: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 24px;
}

.btn-icon {
  align-items: center;
  background: #fcf0f3;
  border-radius: var(--radius-12);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  padding: 12px 24px;
}

.btn-login {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-12);
  color: var(--color-white);
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  gap: 6px;
  line-height: 20px;
  padding: 12px 24px;
}

.section-badge {
  align-items: center;
  background: var(--color-secondary);
  border-radius: var(--radius-24);
  color: #000000;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  line-height: 20px;
  padding: 6px 12px;
  width: fit-content;
}

.section-heading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.section-heading h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 48px;
  margin: 0;
}

.about-hero-section {
  --hero-bg-x: 0px;
  --hero-bg-y: 0px;
  --hero-content-x: 0px;
  --hero-content-y: 0px;
  --hero-glow-x: 0px;
  --hero-glow-y: 0px;
  height: 462px;
  isolation: isolate;
  margin-top: 0;
  overflow: hidden;
  position: relative;
}

.homepage-effects .about-hero-section::before {
  background: radial-gradient(circle, rgba(252, 192, 49, 0.42) 0%, rgba(252, 192, 49, 0.08) 38%, rgba(252, 192, 49, 0) 74%);
  border-radius: 999px;
  content: "";
  filter: blur(10px);
  height: 320px;
  pointer-events: none;
  position: absolute;
  right: -70px;
  top: 78px;
  transform: translate3d(var(--hero-glow-x), var(--hero-glow-y), 0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
  width: 320px;
  z-index: 1;
}

.about-hero-section::after {
  background: linear-gradient(180deg, rgba(11, 30, 40, 0) 0%, rgba(11, 30, 40, 0.87) 100%);
  content: "";
  height: 316px;
  left: 0;
  position: absolute;
  top: 146px;
  width: 100%;
  z-index: 1;
}

.homepage-effects .about-hero-section::after {
  transform: translate3d(calc(var(--hero-content-x) * -0.08), calc(var(--hero-content-y) * -0.08), 0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-hero-bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 36%;
  position: absolute;
  width: 100%;
}

.homepage-effects .about-hero-bg {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.06) translate3d(var(--hero-bg-x), var(--hero-bg-y), 0);
  transform-origin: center center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
  will-change: transform;
}

.about-hero-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 93px;
  transform: translateX(-50%);
  width: 792px;
  z-index: 2;
}

.homepage-effects .about-hero-content {
  transform: translateX(-50%) translate3d(var(--hero-content-x), var(--hero-content-y), 0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.about-hero-content h1 {
  color: #ffffff;
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -1.04px;
  line-height: 56px;
  margin: 0;
}

.about-hero-content p {
  color: #ffffff;
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.about-center-badge {
  color: #000000;
}

.about-diff-section {
  padding-top: 120px;
}

.about-diff-cards {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.about-diff-card {
  display: flex;
  flex-direction: column;
}

.about-diff-card-image-wrap {
  border-radius: var(--radius-12);
  height: 378px;
  overflow: hidden;
  position: relative;
}

.about-diff-card-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.about-diff-card-double-image .about-diff-card-bg {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.about-diff-card-double-image .about-diff-card-image {
  inset: 0;
  position: absolute;
}

.about-diff-card-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.about-diff-card-content h3 {
  align-items: center;
  display: flex;
  font-size: 24px;
  font-weight: 600;
  gap: 12px;
  letter-spacing: -0.48px;
  line-height: 32px;
  margin: 0;
}

.about-feature-square {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-12);
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.about-feature-square img {
  display: block;
  height: 24px;
  width: 24px;
}

.about-diff-card-content p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.about-diff-stats {
  display: flex;
  gap: 127px;
  justify-content: center;
  margin-top: 52px;
}

.about-stat-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.about-stat-card:nth-child(1) {
  width: 200px;
}

.about-stat-card:nth-child(2) {
  width: 238px;
}

.about-stat-card:nth-child(3) {
  width: 211px;
}

.about-stat-icon-wrap {
  align-items: center;
  background: #fcf0f3;
  border-radius: var(--radius-12);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.about-stat-card h3 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.72px;
  line-height: 44px;
  margin: 0;
}

.about-stat-card p {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin: 0;
}

.about-stat-card .stat-pink {
  color: var(--color-primary);
}

.about-stat-card .stat-yellow {
  color: var(--color-secondary);
}

.about-diff-footnote {
  color: #737373;
  font-size: 14px;
  font-style: italic;
  line-height: 20px;
  margin: 32px 0 0;
  text-align: center;
}

.about-teachers-section {
  padding-top: 120px;
}

.about-teachers-grid {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 380px;
  margin-top: 48px;
}

.teachers-cards-viewport {
  min-width: 0;
}

.teachers-cards-rail {
  display: block;
  min-width: 0;
}

.teachers-cards-page {
  display: none;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teachers-cards-page.is-active {
  animation: teachers-side-slide-in 260ms ease;
  display: grid;
}

.teacher-card {
  border-radius: var(--radius-12);
  height: 592px;
  overflow: hidden;
  position: relative;
}

.teacher-main-image {
  left: 0;
  max-width: none;
  position: absolute;
}

.teacher-card-left .teacher-main-image {
  height: 643px;
  left: -30px;
  top: -51px;
  width: 444px;
}

.teacher-card-right .teacher-main-image {
  height: 592px;
  left: -21px;
  top: 0;
  width: 408px;
}

.teachers-cards-page .teacher-card-left .teacher-main-image,
.teachers-cards-page .teacher-card-right .teacher-main-image,
.teachers-cards-page .teacher-main-image {
  height: 100%;
  left: 0;
  object-fit: cover;
  top: 0;
  width: 100%;
}

.teacher-chip-icon {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-24);
  display: inline-flex;
  justify-content: center;
  left: 16px;
  padding: 6px 12px;
  position: absolute;
  top: 16px;
  width: 42px;
}

.teacher-info-box {
  background: #ffe49e;
  border-radius: var(--radius-12);
  bottom: -2px;
  box-sizing: border-box;
  color: #000000;
  display: flex;
  flex-direction: column;
  height: 220px;
  left: 0;
  overflow: hidden;
  padding: 16px;
  position: absolute;
  right: 0;
}

.teacher-info-box h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 28px;
  margin: 0;
}

.teacher-role {
  color: #481320;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  margin: 10px 0 0;
}

.teacher-program {
  font-size: 16px;
  line-height: 24px;
  margin: 8px 0 0;
}

.teacher-info-box p {
  font-size: 16px;
  line-height: 24px;
  margin: 12px 0 0;
}

.teacher-info-excerpt {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  display: -webkit-box;
  overflow: hidden;
}

.teacher-detail-link {
  align-self: flex-start;
  background: #481320;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04px;
  line-height: 18px;
  margin-top: 10px;
  padding: 8px 12px;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.teachers-side-wrap {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.teachers-side-panel {
  background: #ffe49e;
  border-radius: var(--radius-12);
  display: flex;
  flex-direction: column;
  min-height: 592px;
  overflow: hidden;
  padding: 28px;
}

.teachers-side-slides {
  flex: 1 1 auto;
  min-height: 100%;
  position: relative;
}

.teachers-side-slide {
  display: none;
}

.teachers-side-slide.is-active {
  animation: teachers-side-slide-in 260ms ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.teachers-side-static {
  gap: 28px;
}

@keyframes teachers-side-slide-in {
  from {
    opacity: 0;
    transform: translate3d(10px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.teachers-side-panel h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 28px;
  margin: 0;
}

.teachers-side-person {
  border-bottom: 1px solid rgba(72, 19, 32, 0.16);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
}

.teachers-side-person:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.teachers-side-role {
  color: #481320;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
}

.teachers-side-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.teachers-side-meta li {
  display: flex;
  font-size: 16px;
  gap: 12px;
  line-height: 24px;
}

.teachers-side-meta li img {
  flex: 0 0 20px;
  margin-top: 2px;
}

.teachers-side-meta strong {
  font-weight: 700;
}

.teachers-side-quote {
  color: #1b1b1b;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.teachers-side-static-list {
  gap: 24px;
}

.teachers-side-static-list li {
  align-items: flex-start;
  font-size: 18px;
  gap: 14px;
  line-height: 30px;
}

.teachers-nav-arrows {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  padding-top: 0;
}

.teachers-arrow {
  align-items: center;
  background: transparent;
  border-radius: var(--radius-64);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  padding: 8px;
  transition: border-color 220ms ease, opacity 220ms ease, transform 220ms ease;
  width: 40px;
}

.teachers-arrow-left {
  border: 1px solid #454545;
}

.teachers-arrow-right {
  border: 1px solid #454545;
}

.teachers-arrow-left img {
  transform: rotate(180deg);
}

.teachers-arrow:disabled {
  border-color: #d1d1d1;
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.teachers-arrow:not(:disabled):active {
  transform: scale(0.96);
}

.about-glance-section {
  padding-top: 120px;
}

.about-glance-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 236px 408px 236px 224px;
  margin-top: 48px;
}

.glance-card {
  border-radius: var(--radius-12);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}

.glance-card h3 {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -1.04px;
  line-height: 56px;
  margin: 0;
}

.glance-card p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.glance-card-large {
  align-self: end;
  background: var(--color-primary);
  min-height: 248px;
}

.glance-main-image-wrap {
  border-radius: var(--radius-12);
  height: 472px;
  overflow: hidden;
}

.glance-main-image-wrap img {
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  width: 100%;
}

.glance-side-stack {
  display: grid;
  gap: 32px;
  grid-template-rows: 220px 220px;
}

.glance-card-pink {
  background: var(--color-primary);
}

.glance-card-yellow {
  background: var(--color-secondary);
}

.glance-card-dark {
  background: var(--color-bg-dark);
  justify-content: end;
  min-height: 472px;
}

.glance-contact-btn {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-24);
  color: #ffffff;
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
  line-height: 20px;
  margin-top: auto;
  min-height: 44px;
  padding: 12px 24px;
  width: fit-content;
}

.about-story-section {
  padding-top: 120px;
}

.about-story-section .section-heading h2 {
  max-width: 670px;
  width: 100%;
}

.story-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.story-item {
  background: #f6f6f6;
  border: 0;
  border-radius: var(--radius-12);
  overflow: hidden;
  transition: background-color 260ms ease;
}

.story-item-top {
  align-items: center;
  background: transparent;
  border: 0;
  color: #000000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 32px;
  text-align: left;
  width: 100%;
}

.story-item-title-wrap {
  align-items: center;
  display: flex;
  gap: 12px;
}

.story-year {
  background: var(--color-primary);
  border-radius: var(--radius-12);
  color: #ffffff;
  display: inline-flex;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  line-height: 32px;
  padding: 4px 12px;
}

.story-item h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  line-height: 32px;
  margin: 0;
}

.story-chevron {
  flex: 0 0 auto;
  height: 10px;
  transition: transform 460ms cubic-bezier(0.33, 0, 0.2, 1), opacity 260ms ease;
  width: 18px;
}

.story-item .story-answer {
  max-height: 0;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, -6px, 0);
  transition:
    max-height 760ms cubic-bezier(0.33, 0, 0.2, 1),
    opacity 520ms ease,
    transform 760ms cubic-bezier(0.33, 0, 0.2, 1);
  will-change: max-height, opacity, transform;
}

.story-answer-inner {
  opacity: 0;
  padding: 0 32px 32px;
  transform: translate3d(0, -10px, 0);
  transition: transform 620ms cubic-bezier(0.33, 0, 0.2, 1), opacity 420ms ease;
}

.story-answer-inner p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.story-item.is-active .story-chevron {
  transform: rotate(180deg);
}

.story-item.is-active .story-answer {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.story-item.is-active .story-answer-inner {
  opacity: 1;
  transition-delay: 90ms;
  transform: translate3d(0, 0, 0);
}

.reviews-section {
  background: var(--color-bg-soft);
  padding: 132px 0 72px;
}

.reviews-heading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews-heading h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 48px;
  margin: 0;
  max-width: 667px;
  text-align: center;
}

.reviews-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.reviews-grid > :nth-child(n + 4) {
  --review-rest-x: -73px;
}

.review-card {
  background: #f6f6f6;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1);
  min-height: 196px;
  padding: 24px;
}

.review-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.review-user {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.review-user-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-avatar {
  border-radius: 999px;
  height: 52px;
  width: 52px;
}

.review-user-text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.review-user-text span {
  display: block;
  font-size: 16px;
  line-height: 24px;
}

.review-meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-rating {
  align-items: center;
  background: var(--color-primary);
  border-radius: 30px;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  gap: 3px;
  line-height: 18px;
  padding: 2px 12px;
}

.review-date {
  font-size: 12px;
  line-height: 18px;
}

.review-card p {
  font-size: 16px;
  line-height: 24px;
  margin: 24px 0 0;
}

.homepage-effects .reviews-section {
  position: relative;
}

.homepage-effects .reviews-section::before {
  background: radial-gradient(circle, rgba(252, 192, 49, 0.12) 0%, rgba(252, 192, 49, 0) 76%);
  border-radius: 999px;
  content: "";
  height: 360px;
  pointer-events: none;
  position: absolute;
  right: -120px;
  top: 0;
  width: 360px;
}

.homepage-effects .review-card {
  --review-rest-x: 0px;
  animation: homeReviewFloat 8.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 30, 40, 0.04);
  box-shadow: 0 18px 32px rgba(11, 30, 40, 0.08);
  backdrop-filter: blur(8px);
  overflow: hidden;
  position: relative;
  transform-origin: center bottom;
  will-change: transform;
}

.homepage-effects .review-card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 46%);
  content: "";
  inset: 1px;
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
}

.homepage-effects .review-card:nth-child(2n) {
  animation-delay: -2.4s;
}

.homepage-effects .review-card:nth-child(3n) {
  animation-delay: -4.8s;
}

.homepage-effects .review-card:nth-child(4n) {
  animation-duration: 10.2s;
}

.homepage-effects .review-card:nth-child(5n) {
  animation-delay: -6.1s;
}

@keyframes homeReviewFloat {
  0%,
  100% {
    transform: translate3d(var(--review-rest-x, 0px), 0, 0) scale(1) rotate(0deg);
  }

  25% {
    transform: translate3d(calc(var(--review-rest-x, 0px) - 4px), -10px, 0) scale(1.008) rotate(-0.55deg);
  }

  50% {
    transform: translate3d(calc(var(--review-rest-x, 0px) + 4px), -16px, 0) scale(1.015) rotate(0.5deg);
  }

  75% {
    transform: translate3d(calc(var(--review-rest-x, 0px) - 3px), -8px, 0) scale(1.006) rotate(-0.3deg);
  }
}

.homepage-effects .contact-form input:focus,
.homepage-effects .contact-form select:focus,
.homepage-effects .contact-form textarea:focus {
  border-color: rgba(232, 60, 102, 0.42);
  box-shadow: 0 0 0 4px rgba(232, 60, 102, 0.14);
  outline: none;
}

.homepage-effects .fx-reveal {
  --reveal-translate-x: 0px;
  --reveal-translate-y: 38px;
  filter: blur(14px);
  opacity: 0;
  transform: translate3d(var(--reveal-translate-x), var(--reveal-translate-y), 0) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}

.homepage-effects .fx-reveal.fx-from-left {
  --reveal-translate-x: -48px;
  --reveal-translate-y: 0px;
}

.homepage-effects .fx-reveal.fx-from-right {
  --reveal-translate-x: 48px;
  --reveal-translate-y: 0px;
}

.homepage-effects .fx-reveal.fx-from-small {
  --reveal-translate-y: 22px;
}

.homepage-effects .fx-reveal.is-visible {
  filter: blur(0);
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .homepage-effects .top-news-right a:hover,
  .homepage-effects .social-links a:hover,
  .homepage-effects .footer-social a:hover,
  .homepage-effects .footer-links-col a:hover,
  .homepage-effects .footer-legal a:hover {
    transform: translateY(-2px);
  }

  .homepage-effects .main-nav a:hover {
    color: var(--color-primary);
  }

  .homepage-effects .btn-login:hover,
  .homepage-effects .glance-contact-btn:hover,
  .homepage-effects .contact-cta:hover,
  .homepage-effects .contact-submit:hover,
  .homepage-effects .footer-newsletter-btn:hover {
    box-shadow: 0 30px 46px rgba(232, 60, 102, 0.24);
    transform: translateY(-4px);
  }

  .homepage-effects .btn-icon:hover {
    box-shadow: 0 18px 30px rgba(11, 30, 40, 0.12);
    transform: translateY(-3px);
  }

  .homepage-effects .btn-login:hover::before,
  .homepage-effects .teacher-detail-link:hover::before,
  .homepage-effects .glance-contact-btn:hover::before,
  .homepage-effects .contact-cta:hover::before,
  .homepage-effects .contact-submit:hover::before,
  .homepage-effects .footer-newsletter-btn:hover::before {
    opacity: 1;
    transform: translateX(120%);
    transition: transform 720ms ease, opacity 240ms ease;
  }

  .homepage-effects .about-diff-card:hover,
  .homepage-effects .teacher-card:hover,
  .homepage-effects .glance-card:hover,
  .homepage-effects .story-item:hover,
  .homepage-effects .contact-card:hover,
  .homepage-effects .contact-form:hover {
    transform: translateY(-8px);
  }

  .homepage-effects .about-diff-card:hover .about-diff-card-image,
  .homepage-effects .teacher-card:hover .teacher-main-image,
  .homepage-effects .glance-main-image-wrap:hover img,
  .homepage-effects .contact-card:hover .contact-card-visual img {
    filter: saturate(1.05);
    transform: scale(1.05);
  }

  .homepage-effects .faq-item:hover {
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 22px 34px rgba(11, 30, 40, 0.08);
    transform: translateY(-4px);
  }

  .homepage-effects .faq-item:hover .faq-chevron,
  .homepage-effects .faq-item.is-active .faq-chevron {
    transform: rotate(180deg) scale(1.05);
  }

  .homepage-effects .teacher-detail-link:hover {
    background: #5e1a2c;
    box-shadow: 0 10px 16px rgba(72, 19, 32, 0.24);
    transform: translateY(-2px);
  }

  .homepage-effects .review-card:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 44px rgba(11, 30, 40, 0.12);
  }

  .homepage-effects .review-card:hover::before {
    opacity: 1;
  }
}

.homepage-effects .main-nav a:focus-visible,
.homepage-effects .btn-icon:focus-visible,
.homepage-effects .btn-login:focus-visible,
.homepage-effects .teacher-detail-link:focus-visible,
.homepage-effects .glance-contact-btn:focus-visible,
.homepage-effects .contact-cta:focus-visible,
.homepage-effects .contact-submit:focus-visible,
.homepage-effects .footer-newsletter-btn:focus-visible {
  outline: 3px solid rgba(252, 192, 49, 0.9);
  outline-offset: 4px;
}

.faq-contact-section {
  padding-top: 120px;
}

.faq-contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.faq-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 580px 580px;
  justify-content: space-between;
}

.faq-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-intro .section-badge {
  align-self: flex-start;
}

.faq-intro h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 48px;
  margin: 0;
}

.faq-intro p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  min-height: var(--faq-list-stable-height, auto);
  overflow-anchor: none;
}

.faq-item {
  border-bottom: 1px solid #d1d1d1;
  overflow: hidden;
  transition: background-color 260ms ease;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  color: #000000;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 400;
  justify-content: space-between;
  line-height: 28px;
  padding: 24px;
  text-align: left;
  width: 100%;
}

.faq-trigger span {
  flex: 1;
  min-width: 0;
  padding-right: 24px;
}

.faq-chevron {
  flex: 0 0 32px;
  height: 32px;
  width: 32px;
  transition: transform 460ms cubic-bezier(0.33, 0, 0.2, 1), opacity 260ms ease;
}

.faq-item.is-active .faq-chevron {
  transform: rotate(180deg);
}

.faq-list .faq-answer {
  max-height: 0;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, -6px, 0);
  transition:
    max-height 760ms cubic-bezier(0.33, 0, 0.2, 1),
    opacity 520ms ease,
    transform 760ms cubic-bezier(0.33, 0, 0.2, 1);
  will-change: max-height, opacity, transform;
}

.faq-answer-inner {
  color: #000000;
  font-size: 16px;
  line-height: 26px;
  opacity: 0;
  padding: 16px 20px 24px;
  transform: translate3d(0, -10px, 0);
  transition: transform 620ms cubic-bezier(0.33, 0, 0.2, 1), opacity 420ms ease;
}

.faq-answer-inner::before {
  background: #1f1f1f;
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 16px;
  opacity: 0.28;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 620ms cubic-bezier(0.33, 0, 0.2, 1), opacity 420ms ease;
}

.faq-answer-inner p {
  margin: 0;
}

.faq-item.is-active .faq-answer {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.faq-item.is-active .faq-answer-inner::before {
  opacity: 0.52;
  transform: scaleX(1);
}

.faq-item.is-active .faq-answer-inner {
  opacity: 1;
  transition-delay: 90ms;
  transform: translate3d(0, 0, 0);
}

.contact-form-section {
  background: var(--color-primary);
  border-radius: var(--radius-12);
  overflow: hidden;
  padding: 64px;
}

.contact-form-wrap {
  display: grid;
  gap: 48px;
  grid-template-columns: 446px 578px;
  justify-content: space-between;
}

.contact-card {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.contact-card-visual {
  border-radius: var(--radius-12);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  height: 191px;
  overflow: hidden;
  position: relative;
}

.contact-card-visual-link {
  display: block;
  height: 100%;
}

.contact-card-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.contact-card h3 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 48px;
  margin: 24px 0 0;
}

.contact-card h4 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  line-height: 32px;
  margin: 6px 0 0;
}

.contact-card p {
  font-size: 18px;
  line-height: 28px;
  margin: 6px 0 0;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 23px;
}

.contact-cta {
  align-items: center;
  border-radius: var(--radius-64);
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  letter-spacing: -0.4px;
  line-height: 28px;
  min-height: 52px;
  padding: 12px 24px;
  width: 100%;
}

.contact-cta-primary {
  background: #ffffff;
  color: var(--color-bg-dark);
}

.contact-cta-outline {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-16);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

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

.contact-form label {
  color: #000000;
  display: flex;
  flex-direction: column;
  font-family: "SF Pro Text", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  line-height: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  color: #000000;
  font-family: "SF Pro Text", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  min-height: 40px;
  padding: 10px 12px;
}

.contact-form input::placeholder,
.contact-form select,
.contact-form textarea::placeholder {
  color: #b0b0b0;
}

.contact-form select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23B0B0B0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 10px 6px;
  padding-right: 36px;
}

.contact-form select::-ms-expand {
  display: none;
}

.phone-input-wrap {
  display: grid;
  gap: 6px;
  grid-template-columns: 79px 1fr;
}

.phone-prefix {
  min-width: 79px;
}

.contact-form textarea {
  min-height: 113px;
  resize: none;
}

.contact-submit {
  align-items: center;
  background: var(--color-primary);
  border: 0;
  border-radius: var(--radius-64);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  letter-spacing: -0.4px;
  line-height: 28px;
  min-height: 52px;
  padding: 12px 24px;
  width: 100%;
}

.form-note {
  align-items: center;
  color: #000000;
  display: inline-flex;
  font-family: "SF Pro Text", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  gap: 4px;
  justify-content: center;
  letter-spacing: -0.1504px;
  line-height: 20px;
  margin: 0;
}

.site-footer {
  background: #0b1e28;
  color: #f6f6f6;
  margin-top: 120px;
  padding: 48px 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 33px;
}

.footer-top {
  align-items: flex-start;
  display: grid;
  gap: 40px;
  grid-template-columns: 492px 1fr;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-newsletter p {
  color: #f6f6f6;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  width: 279px;
}

.footer-newsletter-form label {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  font-family: "SF Pro Text", "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  line-height: 20px;
}

.footer-newsletter-form input {
  background: transparent;
  border: 1px solid #b0b0b0;
  border-radius: 6px;
  color: #ffffff;
  font-family: "SF Pro Text", "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
  min-height: 48px;
  padding: 14px 16px;
}

.footer-newsletter-form input::placeholder {
  color: #888888;
}

.footer-newsletter-btn {
  align-items: center;
  background: var(--color-primary);
  border: 0;
  border-radius: var(--radius-64);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-family: "Poppins", "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  gap: 6px;
  justify-content: center;
  line-height: 20px;
  padding: 12px 24px;
  width: fit-content;
}

.footer-newsletter-note {
  color: #f6f6f6;
  font-size: 12px;
  line-height: 18px;
}

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

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h4 {
  color: #f6f6f6;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}

.footer-links-col a {
  color: #f6f6f6;
  font-size: 16px;
  line-height: 24px;
}

.footer-contact-link {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  width: 264px;
}

.footer-contact-icon {
  align-items: center;
  background: #344b63;
  border-radius: 10px;
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.footer-contact-address {
  align-items: flex-start;
}

.footer-contact-address span:last-child {
  line-height: 24px;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid #344b63;
  display: grid;
  grid-template-columns: auto auto auto;
  padding-top: 33px;
}

.footer-copy {
  color: #f6f6f6;
  font-size: 14px;
  line-height: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-self: center;
}

.footer-social a {
  align-items: center;
  background: #344b63;
  border-radius: 10px;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.footer-legal {
  display: flex;
  gap: 24px;
  justify-self: end;
}

.footer-legal a {
  color: #f6f6f6;
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 1240px) {
  .container {
    width: calc(100% - 48px);
  }

  .about-diff-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-diff-card:nth-child(3) {
    grid-column: span 2;
  }

  .about-diff-stats {
    gap: 48px;
  }

  .about-teachers-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .teachers-cards-viewport {
    width: 100%;
  }

  .teachers-cards-rail {
    display: block;
    gap: 16px;
    margin: 0;
    overflow: visible;
    padding: 0;
  }

  .teachers-cards-page,
  .teachers-cards-page.is-active {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teachers-side-wrap {
    grid-column: auto;
    width: 100%;
  }

  .teachers-side-panel {
    min-height: 0;
  }

  .about-glance-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glance-card-large,
  .glance-main-image-wrap,
  .glance-side-stack,
  .glance-card-dark {
    min-height: 0;
  }

  .glance-side-stack {
    grid-template-rows: repeat(2, minmax(220px, auto));
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card {
    min-height: 0;
  }

  .faq-grid,
  .contact-form-wrap {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    gap: 24px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-legal {
    justify-self: center;
  }
}

@media (max-width: 1199px),
  ((max-width: 1366px) and (pointer: coarse)),
  ((max-width: 1366px) and (hover: none)) {
  body.about-page .site-header.mobile-menu-open,
  body.about-page .site-header.mobile-menu-open .header-inner {
    overflow: visible !important;
    z-index: 3000 !important;
  }

  body.about-page .site-header.mobile-menu-open .main-nav {
    z-index: 3001 !important;
  }
}

@media (max-width: 992px) {
  .about-hero-section {
    min-height: 462px;
  }

  .about-hero-content {
    left: 50%;
    top: 64px;
    width: min(792px, calc(100% - 32px));
  }

  .about-hero-content h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .section-heading h2,
  .reviews-heading h2,
  .faq-intro h2,
  .contact-card h3 {
    font-size: 36px;
    line-height: 44px;
  }

  .about-diff-card-content h3 {
    font-size: 30px;
    line-height: 38px;
  }

  .about-diff-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .about-stat-card,
  .about-stat-card:nth-child(1),
  .about-stat-card:nth-child(2),
  .about-stat-card:nth-child(3) {
    width: min(100%, 320px);
  }

  .contact-form-section {
    padding: 32px;
  }

  .contact-cta {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.4px;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 24px);
  }

  .section-badge {
    font-size: 12px;
    line-height: 18px;
  }

  .about-hero-content {
    gap: 16px;
  }

  .about-diff-section {
    padding-top: 64px;
  }

  .about-hero-content h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .about-hero-content p,
  .about-diff-card-content p,
  .teachers-side-panel li,
  .glance-card p,
  .story-answer-inner p,
  .faq-intro p,
  .faq-trigger,
  .contact-card p {
    font-size: 16px;
    line-height: 24px;
  }

  .section-heading h2,
  .reviews-heading h2,
  .faq-intro h2,
  .contact-card h3,
  .contact-card h4 {
    font-size: 30px;
    line-height: 38px;
    letter-spacing: -0.6px;
  }

  .faq-trigger {
    font-family: "Poppins", "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    padding: 22px 16px;
  }

  .faq-trigger span {
    padding-right: 12px;
  }

  .faq-answer-inner::before {
    margin-bottom: 12px;
  }

  .faq-answer-inner {
    color: #454545;
    line-height: 24px;
    padding: 0 16px 18px;
  }

  .about-diff-cards,
  .about-teachers-grid,
  .about-glance-layout,
  .reviews-grid,
  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .about-diff-card:nth-child(3),
  .teachers-side-wrap {
    grid-column: auto;
  }

  .teachers-cards-page,
  .teachers-cards-page.is-active {
    grid-template-columns: 1fr;
  }

  .about-diff-card-image-wrap,
  .teacher-card,
  .glance-main-image-wrap {
    height: auto;
    min-height: 320px;
  }

  .about-diff-section .about-diff-card-image-wrap {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: visible;
  }

  .about-diff-section .about-diff-card-image,
  .about-diff-section .about-diff-card-double-image .about-diff-card-bg {
    border-radius: var(--radius-12);
    display: block;
    height: auto;
    max-width: 70%;
    object-fit: contain;
    object-position: center;
    width: 70%;
  }

  .about-diff-section .about-diff-card-double-image .about-diff-card-bg {
    display: none;
  }

  .about-diff-section .about-diff-card-double-image .about-diff-card-image {
    inset: auto;
    position: static;
  }

  .contact-card-visual img {
    height: 100%;
    left: 0;
    max-width: 100%;
    top: 0;
    width: 100%;
  }

  .teacher-card-left .teacher-main-image,
  .teacher-card-right .teacher-main-image,
  .teachers-cards-page .teacher-main-image {
    height: 100%;
    left: 0;
    object-fit: cover;
    top: 0;
    width: 100%;
  }

  .teachers-side-panel {
    min-height: 0;
    padding: 20px;
  }

  .teacher-detail-link {
    font-size: 12px;
    line-height: 16px;
    margin-top: 8px;
  }

  .about-glance-layout {
    gap: 20px;
  }

  .about-glance-section .glance-main-image-wrap {
    display: none;
  }

  .glance-side-stack {
    gap: 20px;
    grid-template-rows: auto;
  }

  .story-item-top {
    padding: 20px;
  }

  .story-answer-inner {
    padding: 0 20px 20px;
  }

  .story-item-title-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .story-item h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .review-card-head {
    flex-direction: column;
    gap: 12px;
  }

  .review-meta {
    align-items: flex-start;
  }

  .teachers-side-panel {
    min-height: 0;
    padding: 24px;
  }

  .teachers-side-panel h3 {
    font-size: 18px;
    line-height: 28px;
  }

  .teachers-side-panel ul {
    gap: 14px;
    margin-top: 14px;
  }

  .about-teachers-grid {
    grid-template-columns: 1fr;
    padding-bottom: 0;
    position: relative;
  }

  .teachers-cards-rail {
    display: block;
    margin: 0;
    overflow: visible;
    padding: 0;
  }

  .teachers-cards-page,
  .teachers-cards-page.is-active {
    -ms-overflow-style: none;
    display: none;
    gap: 16px;
    grid-template-columns: none;
    margin: 0 -12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 12px 8px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .teachers-cards-page::-webkit-scrollbar {
    display: none;
  }

  .teachers-cards-page.is-active {
    animation: none;
    display: flex;
    opacity: 1;
    transform: none;
  }

  .teacher-card {
    background: #efe1d2;
    display: block;
    flex: 0 0 100%;
    height: clamp(660px, 172vw, 740px);
    min-height: 0;
    overflow: visible;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%;
  }

  .teacher-card-left .teacher-main-image,
  .teacher-card-right .teacher-main-image,
  .teachers-cards-page .teacher-main-image {
    height: 100%;
    inset: 0;
    left: 0;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    top: 0;
    width: 100%;
  }

  .teacher-info-box {
    bottom: -2px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 300px;
    left: 0;
    margin: 0;
    min-height: 0;
    overflow: hidden;
    padding: 22px;
    position: absolute;
    right: 0;
    top: auto;
    z-index: 2;
  }

  .teacher-info-box h3,
  .teacher-info-box p,
  .teacher-role,
  .teacher-program,
  .teacher-info-excerpt {
    margin: 0;
    overflow: visible;
  }

  .teacher-info-box h3 {
    font-size: 28px;
    line-height: 34px;
  }

  .teacher-role {
    font-size: 20px;
    line-height: 30px;
  }

  .teacher-program,
  .teacher-info-excerpt,
  .teacher-info-box p {
    font-size: 19px;
    line-height: 30px;
  }

  .teacher-role,
  .teacher-program,
  .teacher-info-excerpt {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  .teacher-role,
  .teacher-program {
    -webkit-line-clamp: 2;
  }

  .teacher-info-excerpt {
    -webkit-line-clamp: 3;
  }

  .teachers-side-wrap {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
    pointer-events: auto;
    position: static;
    width: 100%;
  }

  .teachers-side-panel {
    display: flex;
    min-height: 0;
    order: 2;
    padding: 20px;
    width: 100%;
  }

  .teachers-nav-arrows {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 0;
    order: 1;
    padding-left: 0;
    pointer-events: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 72px;
    padding: 36px 0;
  }

  .footer-newsletter-form,
  .footer-contact-link {
    width: 100%;
  }

  .footer-legal {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 960px) {
  .homepage-effects .fx-reveal {
    --reveal-translate-y: 28px;
    filter: blur(10px);
  }

  .reviews-section {
    padding: 72px 0 56px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .reviews-grid > :nth-child(n + 4) {
    --review-rest-x: 0px;
  }

  .reviews-grid.reviews-slider-mode {
    display: block;
    height: var(--reviews-slider-height, 252px);
    margin-top: 36px;
    position: relative;
  }

  .reviews-grid.reviews-slider-mode .review-card {
    --review-rest-x: 0px;
    animation: none;
    left: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translate3d(18%, 0, 0) scale(0.92);
    transition:
      transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 540ms ease,
      filter 540ms ease,
      box-shadow 540ms ease;
    width: 100%;
  }

  .reviews-grid.reviews-slider-mode .review-card.is-active {
    box-shadow: 0 28px 46px rgba(11, 30, 40, 0.16);
    filter: blur(0);
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 3;
  }

  .reviews-grid.reviews-slider-mode .review-card.is-prev {
    filter: blur(1px);
    opacity: 0.18;
    transform: translate3d(-16%, 10px, 0) scale(0.93);
    z-index: 1;
  }

  .reviews-grid.reviews-slider-mode .review-card.is-next {
    filter: blur(1px);
    opacity: 0.28;
    transform: translate3d(16%, 10px, 0) scale(0.93);
    z-index: 2;
  }

  .reviews-slider-dots {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 22px;
  }

  .reviews-slider-dots[hidden] {
    display: none;
  }

  .reviews-slider-dot {
    background: rgba(11, 30, 40, 0.16);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 10px;
    padding: 0;
    transition:
      width 320ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 320ms ease,
      transform 320ms ease;
    width: 10px;
  }

  .reviews-slider-dot.is-active {
    background: var(--color-primary);
    width: 34px;
  }
}

@media (max-width: 640px) {
  .reviews-grid.reviews-slider-rail.reviews-compact-mode {
    display: block;
    height: auto;
    margin: 40px -6px 0;
  }

  .reviews-grid.reviews-slider-rail.reviews-compact-mode > .review-card {
    display: none;
  }

  .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row {
    -ms-overflow-style: none;
    display: flex;
    gap: 16px;
    overscroll-behavior-x: contain;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 20px 8px;
    scroll-behavior: smooth;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row::-webkit-scrollbar {
    display: none;
  }

  .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card {
    animation: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 246, 246, 0.96) 100%);
    border: 1px solid rgba(209, 209, 209, 0.9);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.09);
    display: flex;
    flex: 0 0 min(82vw, 312px);
    flex-direction: column;
    height: 228px;
    min-height: 228px;
    opacity: 1;
    padding: 12px;
    pointer-events: auto;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition: box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease, transform 220ms ease;
    transform: none !important;
    width: min(82vw, 312px);
  }

  .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card p {
    display: -webkit-box;
    margin-top: 16px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .reviews-grid.reviews-slider-rail .review-card.is-active {
    border-color: rgba(232, 60, 102, 0.18);
    box-shadow: 0 18px 38px rgba(11, 30, 40, 0.15);
    transform: translateY(-4px) scale(1.01) !important;
  }

  .reviews-grid.reviews-slider-rail .review-user-text strong {
    font-size: 14px;
    line-height: 20px;
  }

  .reviews-grid.reviews-slider-rail .review-user-text span,
  .reviews-grid.reviews-slider-rail .review-date,
  .reviews-grid.reviews-slider-rail .review-card p {
    font-size: 12px;
    line-height: 18px;
  }

  .reviews-grid.reviews-slider-rail + .reviews-slider-dots {
    display: none !important;
  }

  body.homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }

  body.homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card {
    backdrop-filter: blur(10px);
    filter: saturate(0.94);
    will-change: transform;
  }

  body.homepage-effects .reviews-grid.reviews-slider-rail .review-card::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.2) 42%, rgba(255, 255, 255, 0) 100%);
    inset: 1px;
  }

  body.homepage-effects .reviews-grid.reviews-slider-rail .review-card::after {
    background:
      radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 34%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 58%, rgba(232, 60, 102, 0.08) 100%);
    border-radius: inherit;
    content: "";
    inset: 0;
    opacity: 0.82;
    pointer-events: none;
    position: absolute;
  }

  body.homepage-effects .reviews-grid.reviews-slider-rail .review-card.is-active {
    filter: saturate(1.02);
  }

  body.homepage-effects .reviews-grid.reviews-slider-rail .review-card.is-prev,
  body.homepage-effects .reviews-grid.reviews-slider-rail .review-card.is-next {
    filter: saturate(0.96);
    opacity: 0.96;
  }
}

@media (max-width: 560px) {
  .about-diff-section {
    padding-top: 48px;
  }

  .contact-form-section {
    padding: 20px;
  }

  .contact-buttons {
    gap: 12px;
  }

  .contact-cta,
  .contact-submit {
    font-size: 18px;
    line-height: 24px;
    min-height: 48px;
  }

  .phone-input-wrap {
    grid-template-columns: 70px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-effects .about-hero-bg,
  .homepage-effects .about-hero-content,
  .homepage-effects .about-hero-section::before,
  .homepage-effects .about-hero-section::after,
  .homepage-effects .about-diff-card-image,
  .homepage-effects .teacher-main-image,
  .homepage-effects .glance-main-image-wrap img,
  .homepage-effects .contact-card-visual img,
  .homepage-effects .fx-reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .homepage-effects .about-hero-content {
    transform: translateX(-50%) !important;
  }

  .homepage-effects .review-card {
    animation: none !important;
  }

  .homepage-effects .fx-reveal {
    filter: none;
    opacity: 1;
  }
}

body.homepage-effects .reviews-section .review-card {
  backdrop-filter: none;
  background: #ffffff;
  border-color: rgba(11, 30, 40, 0.14);
  box-shadow: 0 16px 34px rgba(11, 30, 40, 0.12);
  color: #151515;
}

body.homepage-effects .reviews-section .review-card::before,
body.homepage-effects .reviews-section .review-card::after {
  opacity: 0;
}

body.homepage-effects .reviews-section .review-card p,
body.homepage-effects .reviews-section .review-user-text strong {
  color: #151515;
  opacity: 1;
}

body.homepage-effects .reviews-section .review-user-text span,
body.homepage-effects .reviews-section .review-date {
  color: #454545;
  opacity: 1;
}

body.homepage-effects .reviews-section .reviews-grid.reviews-slider-mode .review-card.is-prev,
body.homepage-effects .reviews-section .reviews-grid.reviews-slider-mode .review-card.is-next {
  filter: none;
  opacity: 0.78;
}

body.homepage-effects .reviews-section .reviews-grid.reviews-slider-rail .review-card.is-prev,
body.homepage-effects .reviews-section .reviews-grid.reviews-slider-rail .review-card.is-next,
body.homepage-effects .reviews-section .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card {
  backdrop-filter: none;
  background: #ffffff;
  filter: none;
  opacity: 1;
}

.reviews-slider-arrows {
  display: none;
}

.reviews-slider-arrow {
  align-items: center;
  background: var(--color-white);
  border: 1px solid #454545;
  border-radius: var(--radius-64);
  color: #0b1e28;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: border-color 220ms ease, box-shadow 220ms ease, opacity 220ms ease, transform 220ms ease;
  width: 44px;
}

.reviews-slider-arrow:disabled {
  border-color: #d1d1d1;
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.reviews-slider-arrow:not(:disabled):active {
  transform: scale(0.96);
}

@media (max-width: 768px) {
  body.homepage-effects .reviews-section .reviews-slider-arrows {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
  }

  body.homepage-effects .reviews-section .reviews-slider-arrows[hidden] {
    display: none;
  }

  body.homepage-effects .reviews-section .reviews-grid.reviews-slider-mode .review-card.is-prev,
  body.homepage-effects .reviews-section .reviews-grid.reviews-slider-mode .review-card.is-next {
    filter: none;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.96);
  }
}
