:root {
  --brand-blue: #29abe2;
  --brand-blue-dark: #0876ad;
  --brand-yellow: #fcee21;
  --ink: #102033;
  --muted: #5e6b7c;
  --line: #dbe6ee;
  --paper: #ffffff;
  --soft: #f4f9fc;
  --warm: #fffbe6;
  --cream: #fffdf2;
  --sky-soft: #eaf8fe;
  --teal: #39c5bb;
  --green: #5bbf7a;
  --coral: #f37c6b;
  --shadow: 0 22px 55px rgba(16, 32, 51, 0.14);
  --shadow-soft: 0 16px 42px rgba(16, 32, 51, 0.1);
  --glow: 0 24px 70px rgba(41, 171, 226, 0.18);
  --radius: 8px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(41, 171, 226, 0.09), transparent 520px),
    linear-gradient(135deg, rgba(252, 238, 33, 0.08), transparent 38%),
    var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(120deg, rgba(41, 171, 226, 0.06) 0 1px, transparent 1px 72px),
    linear-gradient(30deg, rgba(252, 238, 33, 0.05) 0 1px, transparent 1px 84px);
  background-size: 72px 72px, 84px 84px;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(41, 171, 226, 0.52);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section-pad {
  padding: 86px 0;
}

.tight-top {
  padding-top: 20px;
}

.tight-bottom {
  padding-bottom: 30px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 28px rgba(16, 32, 51, 0.08);
}

.top-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 4vw, 54px);
  padding: 9px 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue) 58%, #17b7c7);
  font-size: 0.88rem;
  font-weight: 700;
  animation: top-contact-fade 500ms ease-out both;
}

.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  min-width: 0;
}

.top-contact a:before {
  flex: 0 0 auto;
  font-size: 0.86em;
  line-height: 1;
}

.top-contact a:nth-child(1):before {
  content: "\260E";
}

.top-contact a:nth-child(2):before {
  content: "\2709";
}

.top-contact a:nth-child(3):before {
  content: "\25CE";
}

.top-contact a:hover {
  text-decoration: underline;
}

.nav-shell {
  position: relative;
  width: min(100% - 40px, var(--max));
  margin: 14px auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
  animation: nav-fade-down 520ms ease-out both;
  transition: min-height 240ms ease, margin 240ms ease, padding 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.site-header.is-scrolled .nav-shell {
  min-height: 68px;
  margin-top: 8px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 190px;
  transition: width 240ms ease;
}

.brand img {
  width: 190px;
  height: auto;
  transition: width 240ms ease;
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .brand img {
  width: 156px;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
  color: #18304c;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.primary-menu a:after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 9px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled .primary-menu a {
  min-height: 40px;
  padding-inline: 16px;
}

.primary-menu a:hover {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(41, 171, 226, 0.26);
}

.primary-menu a:hover:after,
.primary-menu a:focus-visible:after {
  opacity: 0.7;
  transform: scaleX(1);
}

.primary-menu a.active {
  background: linear-gradient(135deg, var(--brand-yellow), #fff176);
  color: #06192b;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(252, 238, 33, 0.24);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 10px;
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.menu-toggle:hover {
  background: var(--brand-blue);
  box-shadow: 0 12px 24px rgba(41, 171, 226, 0.2);
  transform: translateY(-1px);
}

.menu-toggle:hover span {
  background: #fff;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 126px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 76% 42%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.62) 30%, transparent 58%),
    linear-gradient(135deg, rgba(255, 253, 242, 0.96), rgba(234, 248, 254, 0.92)),
    linear-gradient(180deg, rgba(41, 171, 226, 0.16), rgba(255, 255, 255, 0));
}

.home-hero.section-pad {
  padding: 58px 0 78px;
}

.home-hero:before,
.home-hero:after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero:before {
  inset: 8% auto auto -8%;
  width: 46vw;
  height: 58vh;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(252, 238, 33, 0.22), rgba(41, 171, 226, 0.1));
  transform: rotate(-8deg);
  animation: float-panel 10s ease-in-out infinite;
}

.home-hero:after {
  right: -14%;
  bottom: -24%;
  width: 58vw;
  height: 54vh;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(57, 197, 187, 0.16), rgba(41, 171, 226, 0.12));
  transform: rotate(11deg);
  animation: float-panel 12s ease-in-out infinite reverse;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero .container:before {
  content: "";
  position: absolute;
  inset: -38px -52px -42px auto;
  width: min(48%, 560px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(41, 171, 226, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64);
  pointer-events: none;
}

.hero-media,
.support-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--glow);
  background: var(--soft);
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
}

.hero-media {
  position: relative;
  transform: translateY(8px);
}

.hero-media:before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  pointer-events: none;
}

.hero-media img {
  aspect-ratio: 4 / 3.15;
  width: 100%;
  object-fit: cover;
  object-position: 30% center;
  filter: saturate(1.04) contrast(1.02);
  animation: ken-burns 26s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero-media:hover,
.support-image:hover {
  transform: translateY(2px) scale(1.01);
  box-shadow: 0 30px 78px rgba(41, 171, 226, 0.22);
}

.hero-media:hover img,
.support-image:hover img {
  filter: saturate(1.08) contrast(1.04);
}

.welcome-card,
.teacher-card,
.feature-card,
.large-card,
.contact-panel {
  border: 1px solid rgba(219, 230, 238, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.welcome-card {
  padding: 38px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 242, 0.94)),
    #fff;
  box-shadow: 0 28px 72px rgba(16, 32, 51, 0.16);
}

.welcome-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-blue), var(--teal));
}

.welcome-card:after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 220px;
  height: 170px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(252, 238, 33, 0.26), rgba(41, 171, 226, 0.16));
  transform: rotate(-16deg);
  pointer-events: none;
}

.welcome-card > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-blue-dark);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: "Poppins", "Inter", Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: 0;
  color: #10233d;
}

h1 {
  margin: 0 0 20px;
  font-size: 3.45rem;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 2.35rem;
}

h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
}

p {
  margin: 0 0 16px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
.download-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 20px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.btn:before,
.download-button:before {
  content: "";
  position: absolute;
  inset: -40% auto auto -70%;
  z-index: 0;
  width: 62%;
  height: 190%;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(22deg) translateX(-120%);
  transition: transform 480ms ease;
  pointer-events: none;
}

.btn:hover,
.download-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(16, 32, 51, 0.18);
}

.btn:hover:before,
.download-button:hover:before {
  transform: rotate(22deg) translateX(290%);
}

.btn:active,
.download-button:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: #fff;
  box-shadow: 0 16px 30px rgba(41, 171, 226, 0.3);
}

.btn-secondary {
  background: var(--warm);
  color: #13243a;
  border: 1px solid rgba(252, 238, 33, 0.8);
}

.info-band {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff, #f7fbfd),
    linear-gradient(135deg, rgba(252, 238, 33, 0.1), transparent);
  overflow: hidden;
}

.info-band:before,
.why-section:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 54px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.86);
}

.info-band:before {
  top: -28px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.three-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.large-card {
  padding: 30px;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.feature-card:hover,
.large-card:hover {
  transform: translateY(-6px);
  border-color: rgba(41, 171, 226, 0.45);
  background:
    linear-gradient(135deg, rgba(41, 171, 226, 0.08), rgba(252, 238, 33, 0.08)),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 58px rgba(16, 32, 51, 0.13);
}

.feature-card:hover .icon-badge,
.why-card:hover .why-icon {
  color: #06192b;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58)),
    linear-gradient(135deg, var(--brand-yellow), var(--brand-blue));
  transform: translateY(-2px) scale(1.04);
}

.icon-badge {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.54)),
    linear-gradient(135deg, var(--brand-yellow), var(--brand-blue));
  color: #09223b;
  box-shadow: 0 16px 32px rgba(41, 171, 226, 0.18);
  transition: transform 240ms ease, background 240ms ease, color 240ms ease;
}

.icon-badge svg,
.why-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-intro {
  text-align: center;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 253, 242, 0.96), rgba(234, 248, 254, 0.85)),
    #fff;
}

.page-intro h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.academic-top {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.58fr 0.78fr;
  gap: 22px;
  align-items: stretch;
}

.support-image {
  grid-row: span 2;
  min-height: 310px;
  border: 6px solid rgba(255, 255, 255, 0.75);
}

.support-image img {
  height: 100%;
  min-height: 310px;
  width: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.academic-statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-left: 6px solid var(--brand-yellow);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.academic-statement p {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
}

.teacher-photo {
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, #407acb, #2a5fa8);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.teacher-photo:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 24px 54px rgba(16, 32, 51, 0.16);
}

.teacher-photo.second {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, #2a9dbc, #3165b0);
}

.teacher-card {
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
  border-color: rgba(41, 171, 226, 0.45);
  background:
    linear-gradient(135deg, rgba(41, 171, 226, 0.06), rgba(252, 238, 33, 0.07)),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(16, 32, 51, 0.13);
}

.teacher-card h2 {
  font-size: 1.35rem;
}

.large-card {
  min-height: 318px;
  background:
    linear-gradient(135deg, rgba(41, 171, 226, 0.14), rgba(252, 238, 33, 0.12)),
    #fff;
}

.large-card h2 {
  text-align: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
}

.check-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.15);
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.download-button {
  margin-top: auto;
  min-width: 142px;
  height: 142px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #4b78cf, #225ca8);
}

.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 360px;
  background: #edf7fb;
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 230, 238, 0.8);
  outline: 6px solid rgba(255, 255, 255, 0.74);
}

.slide-track {
  position: relative;
  height: 420px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-position, 50% 50%);
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 520ms ease, transform 900ms ease;
}

.slideshow.client-gallery {
  min-height: 0;
  touch-action: pan-y;
}

.client-gallery .slide-track {
  height: auto;
  aspect-ratio: 16 / 9;
}

.client-gallery:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 7px;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.18);
  transition: transform 220ms ease, background 220ms ease;
}

.slide-control:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.slide-control.prev {
  left: 16px;
}

.slide-control.next {
  right: 16px;
}

.slide-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slide-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.slide-dots button.active {
  background: var(--brand-yellow);
}

.photo-carousel {
  --carousel-gap: 20px;
  position: relative;
  min-width: 0;
  padding: 8px 0 4px;
  touch-action: pan-y;
}

.carousel-viewport {
  overflow: hidden;
  padding: 8px 4px 24px;
}

.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  will-change: transform;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-card {
  position: relative;
  flex: 0 0 calc((100% - 40px) / 3);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  background: #eaf8fe;
  box-shadow: 0 16px 38px rgba(8, 118, 173, 0.15);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.carousel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(8, 118, 173, 0.06), transparent 48%, rgba(252, 238, 33, 0.08));
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-position, 50% 50%);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-card:hover {
  z-index: 2;
  border-color: rgba(252, 238, 33, 0.76);
  box-shadow: 0 22px 48px rgba(8, 118, 173, 0.22);
  transform: translateY(-5px);
}

.carousel-card:hover img {
  transform: scale(1.025);
}

.carousel-control {
  position: absolute;
  top: calc(50% - 18px);
  z-index: 5;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(8, 118, 173, 0.18);
  border-radius: 8px;
  color: var(--brand-blue-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(16, 32, 51, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.carousel-control svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-control:hover {
  color: #102033;
  background: var(--brand-yellow);
  box-shadow: 0 18px 38px rgba(8, 118, 173, 0.25);
  transform: translateY(-50%) scale(1.06);
}

.carousel-control:focus-visible,
.photo-carousel:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 4px;
}

.carousel-prev {
  left: 14px;
}

.carousel-next {
  right: 14px;
}

.carousel-dots {
  display: flex;
  min-height: 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 118, 173, 0.25);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.carousel-dots button.active {
  width: 28px;
  border-radius: 8px;
  background: var(--brand-yellow);
  box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.1);
}

@media (max-width: 900px) {
  .photo-carousel {
    --carousel-gap: 18px;
  }

  .carousel-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 560px) {
  .photo-carousel {
    --carousel-gap: 14px;
  }

  .carousel-viewport {
    padding-inline: 2px;
  }

  .carousel-card {
    flex-basis: 100%;
    border-width: 4px;
  }

  .carousel-control {
    top: calc(50% - 17px);
    width: 44px;
    height: 44px;
  }

  .carousel-control svg {
    width: 23px;
    height: 23px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }
}

.fees-section .large-card {
  background:
    linear-gradient(135deg, rgba(64, 122, 203, 0.16), rgba(57, 197, 187, 0.1)),
    #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 36px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(41, 171, 226, 0.14), rgba(252, 238, 33, 0.12)),
    #fff;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
}

.contact-panel:hover {
  border-color: rgba(41, 171, 226, 0.42);
  box-shadow: 0 30px 68px rgba(16, 32, 51, 0.14);
}

.contact-details a {
  color: var(--brand-blue-dark);
  font-weight: 800;
  display: inline-block;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-details a:hover {
  color: #045f8f;
  transform: translateX(3px);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #bfd0dc;
  border-radius: var(--radius);
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

input:hover,
textarea:hover {
  border-color: rgba(41, 171, 226, 0.5);
  background: rgba(255, 255, 255, 0.98);
}

input:focus,
textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.12);
  background: #fff;
  transform: translateY(-1px);
}

textarea {
  resize: vertical;
}

.error-message {
  min-height: 18px;
  color: #a41d1d;
  font-weight: 700;
}

.form-field.invalid input,
.form-field.invalid textarea {
  border-color: #a41d1d;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
  color: var(--brand-blue-dark);
}

.form-status.is-success {
  color: #167247;
}

.form-status.is-error {
  color: #a41d1d;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.turnstile-wrap {
  width: 100%;
  min-height: 65px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.turnstile-wrap .cf-turnstile {
  width: 100%;
  max-width: 100%;
}

.form-submit .button-label {
  position: relative;
  z-index: 1;
}

.form-submit.is-loading {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.form-submit.is-loading:after {
  content: "";
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: form-spinner 700ms linear infinite;
}

@keyframes form-spinner {
  to {
    transform: rotate(360deg);
  }
}

.map-section iframe {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--soft);
}

.why-section {
  position: relative;
  background:
    linear-gradient(180deg, #fff, var(--cream)),
    linear-gradient(135deg, rgba(41, 171, 226, 0.08), transparent);
  overflow: hidden;
}

.why-section:before {
  content: "";
  position: absolute;
  left: -10%;
  top: 18%;
  width: 34vw;
  height: 34vw;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(41, 171, 226, 0.08), rgba(252, 238, 33, 0.14));
  transform: rotate(18deg);
}

.why-section .container {
  position: relative;
  z-index: 1;
}

.why-section:after {
  bottom: -28px;
  background: var(--brand-blue);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 0.18;
}

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

.why-card {
  min-height: 236px;
  padding: 28px;
  border: 1px solid rgba(219, 230, 238, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(41, 171, 226, 0.45);
  background:
    linear-gradient(135deg, rgba(41, 171, 226, 0.07), rgba(252, 238, 33, 0.08)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 58px rgba(16, 32, 51, 0.13);
}

.why-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #0d4970;
  background: linear-gradient(135deg, rgba(252, 238, 33, 0.52), rgba(41, 171, 226, 0.18));
  box-shadow: 0 14px 28px rgba(41, 171, 226, 0.16);
  transition: transform 240ms ease, background 240ms ease, color 240ms ease;
}

.policy-section {
  background:
    linear-gradient(180deg, #fff, var(--cream)),
    linear-gradient(135deg, rgba(41, 171, 226, 0.08), transparent);
}

.policy-card {
  max-width: 920px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(219, 230, 238, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.policy-card article + article {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(219, 230, 238, 0.84);
}

.policy-card h2 {
  font-size: 1.65rem;
}

.policy-card a {
  color: var(--brand-blue-dark);
  font-weight: 800;
  transition: color 180ms ease;
}

.policy-card a:hover {
  color: #045f8f;
}

.site-footer {
  margin-top: 0;
  padding: 68px 0 26px;
  color: #eaf8fe;
  background:
    linear-gradient(135deg, rgba(8, 118, 173, 0.95), rgba(41, 171, 226, 1)),
    var(--brand-blue);
  position: relative;
  overflow: hidden;
}

.site-footer:before {
  content: "";
  position: absolute;
  right: -12%;
  top: -38%;
  width: 42vw;
  height: 42vw;
  border-radius: var(--radius);
  background: rgba(252, 238, 33, 0.16);
  transform: rotate(18deg);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.9fr 0.9fr;
  gap: 30px;
}

.footer-logo {
  width: 158px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 34px rgba(16, 32, 51, 0.12);
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: var(--brand-yellow);
  transform: translateX(3px);
  background-size: 100% 1px;
}

.site-footer a {
  width: fit-content;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 180ms ease, transform 180ms ease, background-size 220ms ease;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.copyright {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.76);
}

.copyright-line {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  flex: 0 1 auto;
  min-width: max-content;
  white-space: nowrap;
}

.copyright .copyright-line,
.copyright a {
  display: inline-flex;
  margin: 0;
}

.copyright a {
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
  white-space: nowrap;
}

.whatsapp-float,
.scroll-top {
  position: fixed;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
}

.scroll-top {
  width: 50px;
  height: 50px;
}

.whatsapp-float {
  left: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 14px 30px rgba(18, 140, 126, 0.36);
  animation: float-button-in 560ms ease-out 260ms both;
}

.whatsapp-float:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(37, 211, 102, 0.45);
  pointer-events: none;
  animation: whatsapp-ring 3s ease-in-out 1.1s infinite;
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-top {
  right: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  box-shadow: 0 14px 30px rgba(41, 171, 226, 0.36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.scroll-top svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top.is-visible svg {
  animation: arrow-float 2.4s ease-in-out infinite;
}

.whatsapp-float:hover,
.scroll-top:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 36px rgba(16, 32, 51, 0.22);
}

.mobile-sticky-cta {
  display: none;
}

.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 760ms ease;
  transition-delay: var(--stagger-delay, 0ms);
  will-change: opacity, transform;
}

.reveal,
.reveal-up {
  transform: translateY(30px) scale(0.985);
}

.reveal-left {
  transform: translateX(-34px) scale(0.99);
}

.reveal-right {
  transform: translateX(34px) scale(0.99);
}

.reveal-scale {
  transform: translateY(18px) scale(0.96);
  filter: saturate(0.92);
}

.stagger-item {
  transition-delay: var(--stagger-delay, 0ms);
}

.reveal.is-visible,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: saturate(1);
}

.feature-card.reveal.is-visible:hover,
.large-card.reveal.is-visible:hover,
.why-card.reveal.is-visible:hover,
.teacher-card.reveal.is-visible:hover,
.contact-panel.reveal.is-visible:hover,
.policy-card.reveal.is-visible:hover {
  transform: translateY(-7px) scale(1.008);
}

.teacher-photo.reveal.is-visible:hover {
  transform: translateY(-5px) scale(1.01);
}

.hero-media.reveal.is-visible:hover,
.support-image.reveal.is-visible:hover,
.slideshow.reveal.is-visible:hover {
  transform: translateY(2px) scale(1.01);
}

@keyframes float-panel {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 16px;
  }
}

@keyframes nav-fade-down {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes top-contact-fade {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-button-in {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes whatsapp-ring {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.18);
  }
}

@keyframes arrow-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes ken-burns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.08) translate3d(1.4%, -1.2%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 1020px) {
  .top-contact {
    justify-content: center;
    gap: 8px;
    padding-inline: 14px;
  }

  .hero-grid,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-media {
    transform: none;
  }

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

  .support-image {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .teacher-card {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .section-pad {
    padding: 54px 0;
  }

  .nav-shell {
    min-height: 72px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 14px;
    border-radius: 16px;
  }

  .site-header.is-scrolled .nav-shell {
    min-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(16, 32, 51, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-menu a {
    width: 100%;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      background 220ms ease,
      color 220ms ease,
      box-shadow 220ms ease;
  }

  .primary-menu.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .primary-menu.open a:hover {
    transform: translateY(-1px);
  }

  .primary-menu.open a:nth-child(1) {
    transition-delay: 40ms;
  }

  .primary-menu.open a:nth-child(2) {
    transition-delay: 80ms;
  }

  .primary-menu.open a:nth-child(3) {
    transition-delay: 120ms;
  }

  .primary-menu.open a:nth-child(4) {
    transition-delay: 160ms;
  }

  .feature-grid,
  .three-cards,
  .academic-top,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .teacher-photo {
    min-height: 150px;
  }

  .slide-track {
    height: 320px;
  }

  .why-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 78px;
  }

  .container,
  .nav-shell,
  .copyright {
    width: min(100% - 28px, var(--max));
  }

  .top-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .top-contact a {
    width: 100%;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    white-space: normal;
    line-height: 1.28;
    text-align: center;
  }

  .top-contact a:nth-child(3) {
    align-items: flex-start;
  }

  .brand,
  .brand img {
    width: 148px;
  }

  .site-header.is-scrolled .brand,
  .site-header.is-scrolled .brand img {
    width: 132px;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .academic-statement p {
    font-size: 1.12rem;
  }

  .home-hero:before,
  .home-hero:after,
  .home-hero .container:before,
  .why-section:before,
  .why-section:after,
  .site-footer:before {
    display: none;
  }

  .welcome-card,
  .feature-card,
  .large-card,
  .contact-panel,
  .why-card {
    padding: 22px;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .slide-track {
    height: 270px;
  }

  .slide-control {
    width: 40px;
    height: 40px;
  }

  .whatsapp-float,
  .scroll-top {
    width: 52px;
    height: 52px;
    bottom: calc(90px + env(safe-area-inset-bottom));
    z-index: 10000;
    max-width: calc(100% - 28px);
  }

  .whatsapp-float {
    left: max(14px, env(safe-area-inset-left));
  }

  .scroll-top {
    width: 50px;
    height: 50px;
    right: max(14px, env(safe-area-inset-right));
  }

  .mobile-sticky-cta {
    position: fixed;
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 9999;
    width: auto;
    max-width: calc(100% - 28px);
    min-height: 50px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    box-shadow: 0 14px 30px rgba(41, 171, 226, 0.34);
    font-weight: 900;
    transition: transform 220ms ease, box-shadow 220ms ease;
  }

  .mobile-sticky-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(16, 32, 51, 0.22);
  }

  .copyright {
    display: grid;
    text-align: center;
    justify-content: center;
    justify-items: center;
  }

  .copyright-line {
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
    font-size: 0.82rem;
  }
}

/* ================================================================
   Premium portfolio refinement
   Visual treatment only: content, order and functionality unchanged.
   ================================================================ */

:root {
  --ink: #11283d;
  --muted: #5c7080;
  --line: #d7e6ee;
  --soft: #f3f9fc;
  --warm: #fffceb;
  --cream: #fffef7;
  --shadow: 0 24px 64px rgba(13, 62, 91, 0.13);
  --shadow-soft: 0 14px 38px rgba(13, 62, 91, 0.09);
  --glow: 0 30px 80px rgba(8, 118, 173, 0.2);
}

::selection {
  color: var(--ink);
  background: rgba(252, 238, 33, 0.72);
}

body {
  background:
    linear-gradient(180deg, rgba(234, 248, 254, 0.7), transparent 640px),
    #fff;
  font-size: 1rem;
  line-height: 1.72;
}

body:before {
  opacity: 0.24;
  background-image:
    radial-gradient(circle at center, rgba(41, 171, 226, 0.15) 0 1px, transparent 1.5px),
    linear-gradient(135deg, rgba(252, 238, 33, 0.035), transparent 44%);
  background-size: 34px 34px, 100% 100%;
}

.container {
  width: min(100% - 48px, var(--max));
}

.section-pad {
  padding: clamp(78px, 8vw, 112px) 0;
}

.tight-top {
  padding-top: clamp(28px, 4vw, 52px);
}

.tight-bottom {
  padding-bottom: clamp(42px, 5vw, 66px);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.75rem, 5.4vw, 4.7rem);
  line-height: 1.03;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.12rem;
}

p {
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #076f9f;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.eyebrow:before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-blue));
}

.site-header {
  padding-bottom: 2px;
}

.top-contact {
  min-height: 38px;
  gap: clamp(20px, 4vw, 58px);
  padding-block: 7px;
  background:
    linear-gradient(90deg, #086f9f, var(--brand-blue) 52%, #168fae);
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.16);
  letter-spacing: 0.01em;
}

.top-contact a {
  position: relative;
  transition: opacity 180ms ease, transform 180ms ease;
}

.top-contact a:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.nav-shell {
  min-height: 86px;
  padding-inline: 26px;
  border-color: rgba(41, 171, 226, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 22px 60px rgba(13, 62, 91, 0.12),
    0 2px 0 rgba(252, 238, 33, 0.5);
}

.primary-menu {
  gap: 8px;
  padding: 5px;
  border-radius: 8px;
  background: rgba(234, 248, 254, 0.54);
}

.primary-menu a {
  min-height: 46px;
  padding-inline: 21px;
  border-radius: 6px;
  font-size: 0.94rem;
}

.primary-menu a.active {
  box-shadow: 0 8px 18px rgba(186, 171, 0, 0.18);
}

.home-hero {
  min-height: min(860px, calc(100vh - 116px));
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 20%, rgba(252, 238, 33, 0.2), transparent 26%),
    radial-gradient(circle at 12% 72%, rgba(41, 171, 226, 0.14), transparent 30%),
    linear-gradient(120deg, #fffef7 0%, #f7fcfe 52%, #eaf8fe 100%);
}

.home-hero.section-pad {
  padding: clamp(70px, 8vw, 112px) 0 clamp(92px, 10vw, 132px);
}

.home-hero:before {
  inset: 12% auto auto -16%;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(41, 171, 226, 0.12);
  background:
    radial-gradient(circle, rgba(41, 171, 226, 0.16) 0 2px, transparent 2.5px);
  background-size: 28px 28px;
  transform: rotate(-7deg);
}

.home-hero:after {
  right: -9%;
  bottom: -28%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(252, 238, 33, 0.18), rgba(41, 171, 226, 0.1));
}

.home-hero .container:before {
  inset: -72px -72px -72px auto;
  width: 54%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 30px 80px rgba(41, 171, 226, 0.08);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(46px, 6vw, 86px);
}

.hero-media,
.support-image,
.slideshow {
  border: 7px solid rgba(255, 255, 255, 0.9);
  outline: 1px solid rgba(41, 171, 226, 0.13);
  box-shadow:
    0 32px 80px rgba(8, 118, 173, 0.18),
    12px 12px 0 rgba(252, 238, 33, 0.22);
}

.hero-media:after,
.support-image:after,
.slideshow:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(8, 118, 173, 0.08), transparent 42%, rgba(252, 238, 33, 0.08));
}

.support-image {
  position: relative;
}

.welcome-card {
  padding: clamp(34px, 4vw, 50px);
  border-color: rgba(41, 171, 226, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 254, 244, 0.96));
  box-shadow:
    0 34px 80px rgba(13, 62, 91, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.welcome-card:before {
  height: 6px;
  background: linear-gradient(90deg, var(--brand-yellow) 0 28%, var(--brand-blue) 28% 76%, #39c5bb 76%);
}

.welcome-card > p:not(.eyebrow) {
  color: #40586b;
  font-size: 1.02rem;
}

.btn,
.download-button {
  min-height: 52px;
  padding-inline: 24px;
  border-radius: 7px;
  letter-spacing: 0.01em;
}

.btn-primary {
  border: 1px solid rgba(8, 118, 173, 0.25);
  background: linear-gradient(135deg, var(--brand-blue), #0876ad 88%);
  box-shadow: 0 14px 30px rgba(8, 118, 173, 0.26);
}

.btn-secondary {
  border-color: rgba(206, 190, 0, 0.36);
  background: linear-gradient(135deg, #fffbd2, var(--brand-yellow));
  box-shadow: 0 12px 26px rgba(186, 171, 0, 0.14);
}

.info-band,
.academic-layout,
.slideshow-section,
.policy-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 252, 0.98));
}

.cards-row,
.fees-section,
.contact-panel-section,
.map-section {
  position: relative;
  background:
    radial-gradient(circle at 92% 20%, rgba(252, 238, 33, 0.08), transparent 24%),
    linear-gradient(180deg, #fffef8, #fff);
}

.page-intro {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(252, 238, 33, 0.2), transparent 24%),
    linear-gradient(120deg, #fffef5, #eff9fd 62%, #e1f5fc);
}

.page-intro:before,
.page-intro:after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-intro:before {
  left: -8%;
  bottom: -52%;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  border: 1px solid rgba(41, 171, 226, 0.17);
  box-shadow: 0 0 0 44px rgba(41, 171, 226, 0.04), 0 0 0 88px rgba(41, 171, 226, 0.025);
}

.page-intro:after {
  right: 7%;
  top: 18%;
  width: 170px;
  height: 120px;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(8, 118, 173, 0.24) 0 2px, transparent 2.5px);
  background-size: 22px 22px;
}

.page-intro .container {
  position: relative;
  z-index: 1;
}

.page-intro h1 {
  max-width: 18ch;
  margin-bottom: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(34px, 5vw, 52px);
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading p:last-child {
  max-width: 65ch;
  color: #526a7c;
}

.feature-grid,
.three-cards,
.why-grid {
  gap: clamp(18px, 2.4vw, 28px);
}

.feature-card,
.large-card,
.why-card,
.teacher-card,
.contact-panel,
.policy-card {
  border-color: rgba(8, 118, 173, 0.13);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.why-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 36px);
}

.feature-card:before,
.why-card:before,
.large-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand-blue);
  opacity: 0.82;
  transition: height 260ms ease, opacity 260ms ease;
}

.feature-card:nth-child(2):before,
.why-card:nth-child(2n):before,
.large-card:nth-child(2):before {
  background: var(--brand-yellow);
}

.feature-card:nth-child(3):before,
.why-card:nth-child(3n):before,
.large-card:nth-child(3):before {
  background: #39c5bb;
}

.feature-card:hover:before,
.why-card:hover:before,
.large-card:hover:before {
  height: 7px;
  opacity: 1;
}

.feature-card h3,
.why-card h3 {
  margin-top: 22px;
  font-size: 1.18rem;
}

.feature-card p,
.why-card p {
  color: #526a7c;
}

.icon-badge,
.why-icon {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(41, 171, 226, 0.16);
  background: linear-gradient(145deg, #fff, #eaf8fe);
  color: #0876ad;
  box-shadow: 0 12px 26px rgba(8, 118, 173, 0.13);
}

.feature-card:nth-child(2) .icon-badge,
.why-card:nth-child(2n) .why-icon {
  color: #756d00;
  background: linear-gradient(145deg, #fff, #fffbd2);
}

.academic-top {
  gap: 26px;
}

.academic-statement {
  border: 1px solid rgba(8, 118, 173, 0.13);
  border-left: 6px solid var(--brand-yellow);
  background: linear-gradient(145deg, #fff, #fffef3);
}

.academic-statement p {
  color: #163b55;
}

.teacher-photo {
  position: relative;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.82);
  outline: 1px solid rgba(41, 171, 226, 0.14);
  background: linear-gradient(145deg, var(--brand-blue), #0876ad);
}

.teacher-photo:after {
  content: "";
  position: absolute;
  inset: auto -20% -48% 20%;
  height: 80%;
  border-radius: 50%;
  background: rgba(252, 238, 33, 0.18);
}

.teacher-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.teacher-card h2 {
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(41, 171, 226, 0.16);
}

.large-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(30px, 3.4vw, 40px);
  background: linear-gradient(145deg, #fff, #f7fcfe);
}

.large-card h2 {
  position: relative;
  text-align: left;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.fees-section .large-card:nth-child(2),
.cards-row .large-card:nth-child(2) {
  background: linear-gradient(145deg, #fff, #fffef2);
}

.fees-section .large-card:nth-child(3),
.cards-row .large-card:nth-child(3) {
  background: linear-gradient(145deg, #fff, #f0fbfa);
}

.check-list li {
  margin-block: 14px;
  padding-left: 32px;
}

.check-list li:before {
  width: 8px;
  height: 8px;
  background: var(--brand-yellow);
  box-shadow: 0 0 0 5px rgba(41, 171, 226, 0.12);
}

.download-button {
  min-width: 156px;
  height: 58px;
  margin-top: auto;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
}

.slideshow {
  min-height: 430px;
  background: #eaf8fe;
}

.slide-track {
  height: 500px;
}

.slide-control {
  border: 1px solid rgba(8, 118, 173, 0.16);
  color: #0876ad;
  background: rgba(255, 255, 255, 0.94);
}

.slide-dots {
  bottom: 22px;
}

.slide-dots button {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 8px rgba(16, 32, 51, 0.18);
}

.slide-dots button.active {
  width: 30px;
  border-radius: 8px;
}

.contact-panel {
  gap: clamp(32px, 5vw, 68px);
  border-top: 5px solid var(--brand-blue);
  background:
    linear-gradient(120deg, rgba(234, 248, 254, 0.94) 0 42%, rgba(255, 255, 255, 0.98) 42%);
}

.contact-details {
  align-self: center;
}

.contact-details p {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(8, 118, 173, 0.12);
}

.contact-form {
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(8, 118, 173, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(13, 62, 91, 0.08);
}

label {
  color: #26465e;
  font-size: 0.88rem;
}

input,
textarea {
  border-color: #c9dce6;
  background: #f9fcfd;
}

input:focus,
textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.12), 0 10px 24px rgba(13, 62, 91, 0.07);
}

.map-section iframe {
  border: 7px solid #fff;
  outline: 1px solid rgba(8, 118, 173, 0.13);
  box-shadow: 0 26px 62px rgba(13, 62, 91, 0.14);
}

.why-section {
  background:
    radial-gradient(circle at 8% 24%, rgba(41, 171, 226, 0.1), transparent 24%),
    radial-gradient(circle at 92% 78%, rgba(252, 238, 33, 0.11), transparent 23%),
    linear-gradient(180deg, #f7fcfe, #fffef5);
}

.why-section:before {
  left: auto;
  right: 4%;
  top: 10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.65;
  background: radial-gradient(circle, rgba(8, 118, 173, 0.18) 0 2px, transparent 2.5px);
  background-size: 24px 24px;
}

.why-section:after {
  height: 34px;
  bottom: -18px;
  opacity: 0.12;
}

.why-card {
  min-height: 250px;
  background: rgba(255, 255, 255, 0.94);
}

.policy-card {
  max-width: 960px;
  border-top: 6px solid var(--brand-yellow);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 254, 0.96));
}

.policy-card article {
  position: relative;
  padding-left: 24px;
}

.policy-card article:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(var(--brand-blue), var(--brand-yellow));
}

.site-footer {
  padding-top: clamp(70px, 8vw, 98px);
  background:
    linear-gradient(128deg, #056d9e 0%, #0887bf 48%, var(--brand-blue) 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.15);
}

.site-footer:before {
  right: -8%;
  top: -58%;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(252, 238, 33, 0.1);
  box-shadow: 0 0 0 52px rgba(255, 255, 255, 0.025), 0 0 0 104px rgba(255, 255, 255, 0.018);
}

.footer-grid {
  gap: clamp(30px, 4vw, 54px);
}

.footer-logo {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.site-footer h2 {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(252, 238, 33, 0.72);
  font-size: 1.02rem;
}

.social-links a {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  color: #0876ad;
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  transform: translateY(-3px);
}

.social-links a:focus-visible {
  color: #0876ad;
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.copyright {
  margin-top: 46px;
  padding-top: 24px;
}

.whatsapp-float,
.scroll-top,
.mobile-sticky-cta {
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 34px rgba(13, 62, 91, 0.25);
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 820px;
  }

  .home-hero .container:before {
    inset: -42px -32px -42px 24%;
    width: auto;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

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

@media (max-width: 820px) {
  .container,
  .nav-shell,
  .copyright {
    width: min(100% - 32px, var(--max));
  }

  .section-pad {
    padding: 66px 0;
  }

  .tight-top {
    padding-top: 28px;
  }

  .nav-shell,
  .primary-menu {
    border-radius: 8px;
  }

  .primary-menu {
    background: rgba(255, 255, 255, 0.97);
  }

  .page-intro {
    min-height: 300px;
  }

  .page-intro:after {
    right: -20px;
  }

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

  .three-cards {
    grid-template-columns: 1fr;
  }

  .large-card {
    min-height: auto;
  }

  .slide-track {
    height: 380px;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-shell,
  .copyright {
    width: min(100% - 24px, var(--max));
  }

  .section-pad {
    padding: 56px 0;
  }

  .tight-top {
    padding-top: 22px;
  }

  .top-contact {
    gap: 6px;
    padding: 8px 10px;
  }

  .top-contact a {
    justify-content: flex-start;
    padding: 8px 11px;
    text-align: left;
  }

  .nav-shell {
    min-height: 70px;
    padding-inline: 12px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  h2 {
    font-size: 1.85rem;
  }

  .home-hero.section-pad {
    padding: 54px 0 76px;
  }

  .hero-grid {
    gap: 30px;
  }

  .home-hero .container:before,
  .page-intro:before,
  .page-intro:after {
    display: none;
  }

  .hero-media,
  .support-image,
  .slideshow {
    border-width: 4px;
    box-shadow: 0 20px 48px rgba(8, 118, 173, 0.16), 7px 7px 0 rgba(252, 238, 33, 0.2);
  }

  .welcome-card,
  .feature-card,
  .large-card,
  .contact-panel,
  .why-card,
  .teacher-card,
  .policy-card {
    padding: 24px;
  }

  .feature-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .why-card {
    min-height: auto;
  }

  .slideshow {
    min-height: 0;
  }

  .slide-track {
    height: 280px;
  }

  .contact-panel {
    background: linear-gradient(180deg, rgba(234, 248, 254, 0.92), #fff 48%);
  }

  .contact-form {
    padding: 18px;
  }

  .policy-card article {
    padding-left: 18px;
  }

  .site-footer {
    padding-top: 62px;
  }

  .copyright {
    gap: 14px;
    margin-top: 34px;
  }

  .copyright-line {
    font-size: clamp(0.69rem, 3vw, 0.82rem);
  }
}

/* Meet Our Educators */
.academic-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
}

.academic-overview .support-image {
  grid-row: auto;
  min-height: 430px;
}

.academic-overview .support-image img {
  min-height: 430px;
}

.academic-overview .academic-statement {
  padding: clamp(34px, 5vw, 56px);
}

.educators-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(41, 171, 226, 0.12), transparent 24%),
    radial-gradient(circle at 92% 76%, rgba(252, 238, 33, 0.13), transparent 22%),
    linear-gradient(145deg, #f3fafd 0%, #fff 48%, #fffef2 100%);
  border-top: 1px solid rgba(41, 171, 226, 0.09);
  border-bottom: 1px solid rgba(41, 171, 226, 0.09);
}

.educators-section:before,
.educators-section:after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.educators-section:before {
  top: 8%;
  right: 4%;
  width: 190px;
  height: 190px;
  opacity: 0.52;
  background: radial-gradient(circle, rgba(8, 118, 173, 0.2) 0 2px, transparent 2.5px);
  background-size: 24px 24px;
}

.educators-section:after {
  left: -150px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(41, 171, 226, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(41, 171, 226, 0.035),
    0 0 0 92px rgba(252, 238, 33, 0.025);
}

.educators-section .container {
  position: relative;
  z-index: 1;
}

.educators-header {
  max-width: 800px;
  margin: 0 auto clamp(42px, 6vw, 66px);
  text-align: center;
}

.educators-header .eyebrow {
  justify-content: center;
}

.educators-header h2 {
  margin-bottom: 20px;
}

.educators-header > p:last-child {
  margin: 0;
  color: #526a7c;
  font-size: 1.08rem;
  line-height: 1.8;
}

.educators-grid {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 46px);
  align-items: stretch;
}

.educator-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(8, 118, 173, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 24px 58px rgba(13, 62, 91, 0.12),
    0 2px 0 rgba(41, 171, 226, 0.1);
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 280ms ease,
    box-shadow 280ms ease,
    background 280ms ease;
}

.educator-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-blue), #0876ad);
  transition: height 280ms ease;
}

.educator-card:nth-child(2):before {
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-blue));
}

.educator-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #dfeff6;
}

.educator-portrait:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 68%, rgba(8, 72, 105, 0.1)),
    linear-gradient(135deg, rgba(41, 171, 226, 0.045), transparent 46%, rgba(252, 238, 33, 0.045));
}

.educator-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.educator-photo-adri {
  object-position: 50% 42%;
  filter: saturate(0.92) contrast(1.02) brightness(1.02);
}

.educator-photo-sharon {
  object-position: 50% 48%;
  filter: saturate(0.88) contrast(0.94) brightness(0.94);
}

.educator-content {
  flex: 1;
  padding: clamp(30px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 254, 0.94));
}

.educator-card:nth-child(2) .educator-content {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 254, 239, 0.94));
}

.educator-content h3 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 17px;
  color: #10233d;
  font-size: clamp(1.42rem, 2.2vw, 1.78rem);
}

.educator-content h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-blue));
}

.educator-content p {
  margin: 0;
  color: #526a7c;
  line-height: 1.78;
}

.educator-card:hover,
.educator-card:focus-within,
.educator-card.reveal.is-visible:hover {
  transform: translateY(-8px);
  border-color: rgba(41, 171, 226, 0.38);
  background: #fff;
  box-shadow:
    0 34px 76px rgba(13, 62, 91, 0.17),
    0 3px 0 rgba(252, 238, 33, 0.4);
}

.educator-card:hover:before,
.educator-card:focus-within:before {
  height: 8px;
}

.educator-card:hover .educator-portrait img,
.educator-card:focus-within .educator-portrait img {
  transform: scale(1.025);
}

@media (max-width: 920px) {
  .academic-overview {
    grid-template-columns: 1fr;
  }

  .academic-overview .support-image,
  .academic-overview .support-image img {
    min-height: 360px;
  }

  .educators-grid {
    gap: 24px;
  }

  .educator-content {
    padding: 28px;
  }
}

@media (max-width: 700px) {
  .educators-grid {
    width: min(100%, 540px);
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .educators-header {
    margin-bottom: 38px;
  }
}

@media (max-width: 560px) {
  .academic-overview .support-image,
  .academic-overview .support-image img {
    min-height: 280px;
  }

  .academic-overview .academic-statement {
    padding: 26px;
  }

  .educators-section {
    padding-block: 64px;
  }

  .educators-section:before,
  .educators-section:after {
    display: none;
  }

  .educators-header > p:last-child {
    font-size: 1rem;
    line-height: 1.7;
  }

  .educator-content {
    padding: 26px 24px 30px;
  }
}

/* Official registration form download */
.registration-download {
  width: min(100%, 340px);
  min-width: 0;
  min-height: 58px;
  height: auto;
  gap: 11px;
  margin-top: auto;
  padding: 14px 20px;
  border: 1px solid rgba(8, 118, 173, 0.2);
  border-radius: 7px;
  line-height: 1.35;
  text-align: center;
}

.registration-download svg,
.registration-download span {
  position: relative;
  z-index: 1;
}

.registration-download svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.registration-download:hover svg {
  transform: translateY(2px);
}

@media (max-width: 560px) {
  .registration-download {
    width: 100%;
    padding-inline: 16px;
  }
}

/* Subtle page-wide brand atmosphere */
body {
  position: relative;
  isolation: isolate;
}

main {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

body.page-information::after,
body.page-academic::after,
body.page-contact::after,
body.page-privacy::after,
body.page-gallery::after,
body.page-information main::before,
body.page-information main::after,
body.page-academic main::before,
body.page-academic main::after,
body.page-contact main::before,
body.page-contact main::after,
body.page-privacy main::before,
body.page-privacy main::after,
body.page-gallery main::before,
body.page-gallery main::after {
  content: "";
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

body.page-information::after,
body.page-academic::after,
body.page-contact::after,
body.page-privacy::after,
body.page-gallery::after {
  z-index: -2;
  width: 390px;
  height: 285px;
  border-radius: 86px 42px 108px 54px;
  background: rgba(41, 171, 226, 0.055);
  filter: blur(28px);
  animation: ambient-drift-one 29s ease-in-out infinite alternate;
}

body.page-information main::before,
body.page-academic main::before,
body.page-contact main::before,
body.page-privacy main::before,
body.page-gallery main::before {
  z-index: -1;
  width: 330px;
  height: 215px;
  border-radius: 46px 96px 40px 78px;
  background: rgba(252, 238, 33, 0.06);
  filter: blur(32px);
  animation: ambient-drift-two 34s ease-in-out infinite alternate;
}

body.page-information main::after,
body.page-academic main::after,
body.page-contact main::after,
body.page-privacy main::after,
body.page-gallery main::after {
  z-index: -1;
  width: 440px;
  height: 240px;
  border-radius: 112px 48px 88px 38px;
  background: rgba(207, 237, 250, 0.065);
  filter: blur(38px);
  animation: ambient-drift-three 31s ease-in-out infinite alternate;
}

body.page-information::after {
  top: 26%;
  left: -105px;
}

body.page-information main::before {
  top: 9%;
  right: -65px;
}

body.page-information main::after {
  top: 67%;
  left: 18%;
}

body.page-academic::after {
  top: 42%;
  right: -125px;
  left: auto;
  border-radius: 52px 106px 44px 82px;
}

body.page-academic main::before {
  top: 18%;
  left: -80px;
}

body.page-academic main::after {
  top: 76%;
  right: 10%;
  left: auto;
}

body.page-contact::after {
  top: 34%;
  left: -145px;
}

body.page-contact main::before {
  top: 7%;
  right: -95px;
}

body.page-contact main::after {
  top: 86%;
  right: -70px;
  left: auto;
}

body.page-privacy::after {
  top: 56%;
  right: -135px;
  left: auto;
}

body.page-privacy main::before {
  top: 13%;
  left: -85px;
}

body.page-privacy main::after {
  top: 74%;
  left: 16%;
}

body.page-gallery::after {
  top: 40%;
  right: 24px;
}

body.page-gallery main::before {
  top: 12%;
  left: 24px;
}

body.page-gallery main::after {
  top: 72%;
  right: 12%;
  left: auto;
}

@keyframes ambient-drift-one {
  0% {
    transform: translate3d(0, 0, 0) rotate(-1deg) scale(1);
  }

  100% {
    transform: translate3d(22px, -28px, 0) rotate(2deg) scale(1.025);
  }
}

@keyframes ambient-drift-two {
  0% {
    transform: translate3d(0, 0, 0) rotate(1deg) scale(0.99);
  }

  100% {
    transform: translate3d(-20px, 24px, 0) rotate(-2deg) scale(1.02);
  }
}

@keyframes ambient-drift-three {
  0% {
    transform: translate3d(-8px, 0, 0) rotate(-1deg) scale(1);
  }

  100% {
    transform: translate3d(18px, -22px, 0) rotate(1.5deg) scale(1.018);
  }
}

@media (max-width: 700px) {
  body.page-information::after,
  body.page-academic::after,
  body.page-contact::after,
  body.page-privacy::after,
  body.page-gallery::after {
    width: 190px;
    height: 140px;
    opacity: 0.62;
    filter: blur(24px);
  }

  body.page-information main::before,
  body.page-academic main::before,
  body.page-contact main::before,
  body.page-privacy main::before,
  body.page-gallery main::before {
    width: 175px;
    height: 115px;
    opacity: 0.58;
    filter: blur(26px);
  }

  body.page-information main::after,
  body.page-academic main::after,
  body.page-contact main::after,
  body.page-privacy main::after,
  body.page-gallery main::after {
    display: none;
  }

  body.page-information::after,
  body.page-contact::after {
    left: 32px;
    right: auto;
  }

  body.page-academic::after,
  body.page-privacy::after,
  body.page-gallery::after {
    right: 32px;
    left: auto;
  }

  body.page-information main::before,
  body.page-contact main::before {
    right: 28px;
    left: auto;
  }

  body.page-academic main::before,
  body.page-privacy main::before,
  body.page-gallery main::before {
    left: 28px;
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-information::after,
  body.page-academic::after,
  body.page-contact::after,
  body.page-privacy::after,
  body.page-gallery::after,
  body.page-information main::before,
  body.page-information main::after,
  body.page-academic main::before,
  body.page-academic main::after,
  body.page-contact main::before,
  body.page-contact main::after,
  body.page-privacy main::before,
  body.page-privacy main::after,
  body.page-gallery main::before,
  body.page-gallery main::after {
    animation: none !important;
    transform: none !important;
  }
}

/* Our Kids gallery page */
.page-gallery .page-intro h1 {
  margin-bottom: 20px;
}

.page-intro-copy {
  max-width: 760px;
  margin: 0 auto;
  color: #526a7c;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.8;
}

.gallery-page-section {
  overflow: clip;
}

.gallery-page-section--portrait {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 15% 18%, rgba(252, 238, 33, 0.12), transparent 24%),
    linear-gradient(135deg, #f7fcfe, #eef9fd);
}

.portrait-carousel {
  max-width: 900px;
  margin-inline: auto;
}

.portrait-carousel .carousel-card {
  flex-basis: calc((100% - var(--carousel-gap)) / 2);
  aspect-ratio: 3 / 4;
}

@media (max-width: 700px) {
  .page-gallery .page-intro {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .portrait-carousel .carousel-card {
    flex-basis: 100%;
  }
}
