/* =========================================================
   VARAMMA SCHOOL — Design System
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy: #173B70;
  --navy-soft: #22487F;
  --blue: #4D8FE8;
  --sky-light: #DCEEFF;
  --sky-soft: #EAF4FF;
  --lavender: #F0E9FF;
  --lavender-soft: #F7F3FF;
  --coral: #F06455;
  --coral-soft: #FDEBE8;
  --yellow: #FFD66B;
  --yellow-soft: #FFF6DE;
  --green-sea: #2E9E8F;
  --text: #173B70;
  --text-gray: #667085;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 10px rgba(23, 59, 112, 0.06);
  --shadow-md: 0 12px 34px rgba(23, 59, 112, 0.10);
  --shadow-lg: 0 24px 60px rgba(23, 59, 112, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 60px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.05rem; }
.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.92rem; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(77, 143, 232, 0.35);
}
.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(23, 59, 112, 0.35);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid rgba(77, 143, 232, 0.35);
}
.btn-outline:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-soft-blue {
  background: var(--sky-soft);
  color: var(--navy);
  border: 2px solid rgba(77, 143, 232, 0.3);
}
.btn-soft-blue:hover {
  background: var(--sky-light);
  transform: translateY(-3px);
}

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(23, 59, 112, 0.16);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.eyebrow-center { display: block; text-align: center; }

.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.9rem; }
.section-head p { color: var(--text-gray); font-size: 1.05rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 59, 112, 0.06);
  box-shadow: 0 2px 18px rgba(23, 59, 112, 0.05);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 28px rgba(23, 59, 112, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-logo { flex-shrink: 0; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand-text small {
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--blue);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline: auto;
}
.nav-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--navy-soft);
  padding: 0.5rem 0.85rem;
  border-radius: 30px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--blue); background: var(--sky-soft); }
.nav-link.active { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--sky-soft);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.icon-btn:hover { background: var(--sky-light); transform: translateY(-2px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--sky-soft);
}
.hamburger span {
  width: 20px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Search bar */
.search-bar {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--white);
  border-bottom: 1px solid rgba(23, 59, 112, 0.06);
  transition: grid-template-rows 0.3s ease;
}
.search-bar.open { grid-template-rows: 1fr; }
.search-bar .container {
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 0;
}
.search-bar.open .container { min-height: 74px; }
.search-bar input[type="search"] {
  flex: 1;
  border: 2px solid var(--sky-light);
  border-radius: 50px;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: var(--sky-soft);
  outline: none;
  transition: border-color 0.2s ease;
}
.search-bar input[type="search"]:focus { border-color: var(--blue); }
.search-close { background: var(--coral-soft); color: var(--coral); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(900px 480px at 85% -10%, #EAF4FF 0%, transparent 60%),
    radial-gradient(700px 420px at -10% 30%, #F7F3FF 0%, transparent 60%);
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  background: linear-gradient(120deg, #E8F3FF 0%, #F1EBFF 60%, #FDEBE8 130%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  min-height: 620px;
}

.dotted-line {
  position: absolute;
  pointer-events: none;
}
.dotted-right {
  top: 32px;
  right: 38%;
  width: 220px;
  height: 40px;
  background: radial-gradient(4px 4px at 6px 20px, rgba(23, 59, 112, 0.22) 49%, transparent 55%) 0 0 / 34px 40px repeat-x;
  background-color: transparent;
  transform: rotate(8deg);
  opacity: 0.7;
}
.dotted-left {
  bottom: 44px;
  left: -30px;
  width: 260px;
  height: 40px;
  background: radial-gradient(4px 4px at 6px 20px, rgba(77, 143, 232, 0.3) 49%, transparent 55%) 0 0 / 34px 40px repeat-x;
  background-color: transparent;
  transform: rotate(-6deg);
  opacity: 0.6;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.blob-blue {
  width: 200px;
  height: 200px;
  background: rgba(220, 238, 255, 0.9);
  top: -70px;
  left: -60px;
}
.blob-pink {
  width: 160px;
  height: 160px;
  background: rgba(253, 235, 232, 0.95);
  bottom: -50px;
  right: -40px;
}

.hero-content { position: relative; z-index: 2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--coral);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
  border: 1px solid rgba(240, 100, 85, 0.2);
}
.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 100, 85, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(240, 100, 85, 0); }
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 1.2rem;
}
.text-coral { color: var(--coral); }

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-gray);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid rgba(255, 255, 255, 0.65);
}
.hero-img-wrap img {
  width: 100%;
  height: clamp(340px, 40vw, 500px);
  object-fit: cover;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 0.6rem 1rem;
  box-shadow: var(--shadow-md);
  animation: floaty 4.5s ease-in-out infinite;
}
.float-chip .chip-ico {
  font-size: 1.3rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sky-soft);
}
.float-chip p { line-height: 1.1; }
.float-chip strong { font-family: var(--font-head); font-size: 0.92rem; color: var(--navy); display: block; }
.float-chip p { font-size: 0.78rem; color: var(--text-gray); }

.chip-1 { top: 8%; left: -14%; animation-delay: 0s; }
.chip-2 { top: 42%; right: -6%; animation-delay: 1.2s; }
.chip-3 { bottom: 18%; left: -10%; animation-delay: 2.1s; }
.chip-4 { bottom: -4%; right: 8%; animation-delay: 0.6s; }

.chip-2 .chip-ico { background: var(--lavender-soft); }
.chip-3 .chip-ico { background: var(--sky-soft); }
.chip-4 .chip-ico { background: var(--yellow-soft); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* =========================================================
   INTRO / FEATURE CARDS
   ========================================================= */
.intro-section { background: #fff; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(23, 59, 112, 0.07);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 1.3rem;
}
.icon-blue { background: var(--sky-soft); color: var(--blue); }
.icon-coral { background: var(--coral-soft); color: var(--coral); }
.icon-lavender { background: var(--lavender-soft); color: #7A5AF8; }
.icon-yellow { background: var(--yellow-soft); color: #E88A00; }
.icon-green { background: #E4F6F1; color: var(--green-sea); }

.feature-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-gray); font-size: 0.95rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-section {
  background: linear-gradient(180deg, #F5F9FF 0%, #F7F3FF 100%);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 460px;
}
.dotted-about {
  top: -20px;
  right: -20px;
  width: 240px;
  height: 40px;
  background: radial-gradient(4px 4px at 6px 20px, rgba(240, 100, 85, 0.4) 49%, transparent 55%) 0 0 / 34px 40px repeat-x;
  background-color: transparent;
  transform: rotate(-10deg);
}

.about-img-main {
  width: 78%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 6px solid #fff;
}
.about-img-tile {
  position: absolute;
  right: 0;
  bottom: 24px;
  width: 46%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.about-badge {
  position: absolute;
  left: -6px;
  top: 30px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 18px;
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.about-badge-num { font-family: var(--font-head); font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge-lbl { font-family: var(--font-head); font-weight: 800; font-size: 0.82rem; line-height: 1.3; }

.about-content h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 1.1rem;
}
.about-content > p { color: var(--text-gray); margin-bottom: 1.6rem; font-size: 1.03rem; }

.about-points { margin-bottom: 2rem; display: grid; gap: 0.9rem; }
.about-points li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}
.tick {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 0.78rem;
}

/* =========================================================
   PROGRAMS
   ========================================================= */
.programs-section { background: #fff; }

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.program-card {
  background: var(--white);
  border: 1px solid rgba(23, 59, 112, 0.07);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.program-art {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}
.art-blue { background: var(--sky-soft); color: var(--blue); }
.art-coral { background: var(--coral-soft); color: var(--coral); }
.art-lavender { background: var(--lavender-soft); color: #7A5AF8; }
.art-yellow { background: var(--yellow-soft); color: #E88A00; }

.program-card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.program-card > p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 1.4rem; flex: 1; }

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--blue);
  transition: gap 0.25s ease, color 0.25s ease;
}
.learn-more:hover { color: var(--coral); gap: 0.7rem; }

/* =========================================================
   WHY CHOOSE
   ========================================================= */
.why-section {
  background: linear-gradient(120deg, #EDF5FF 0%, #F4EFFF 100%);
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.why-media { position: relative; }
.why-img-ring {
  position: absolute;
  width: 86%;
  height: 86%;
  left: -8%;
  top: 6%;
  border: 3px dashed rgba(255, 255, 255, 0.9);
  border-radius: 40px;
  transform: rotate(-4deg);
}
.why-media img {
  position: relative;
  width: 100%;
  height: clamp(380px, 44vw, 540px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.why-float {
  position: absolute;
  right: -12px;
  bottom: 26px;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-lg);
}
.why-float-ico { font-size: 1.6rem; }
.why-float strong {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.why-float small { color: var(--text-gray); font-size: 0.82rem; }

.why-content h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 0.9rem;
}
.why-content > p { color: var(--text-gray); margin-bottom: 2rem; }

.benefit-list { display: grid; gap: 1rem; }

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(23, 59, 112, 0.05);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.benefit-card:hover {
  transform: translateX(6px);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.benefit-ico {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
}
.benefit-card h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.benefit-card p { color: var(--text-gray); font-size: 0.92rem; margin: 0; }

/* =========================================================
   CAMPUS LIFE
   ========================================================= */
.campus-section { background: #fff; }

.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.campus-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.campus-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.campus-card:hover img { transform: scale(1.07); }

.campus-card figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(0deg, rgba(23, 59, 112, 0.75), transparent);
  transition: padding-bottom 0.3s ease;
}
.campus-card:hover figcaption { padding-bottom: 1.5rem; }
.campus-ico { font-size: 1.1rem; }

/* =========================================================
   ADMISSIONS
   ========================================================= */
.admissions-section {
  background: linear-gradient(180deg, #F7F3FF 0%, #EDF5FF 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 59, 112, 0.06);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--sky-light);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.step-card:hover .step-num { color: var(--coral); }

.step-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--text-gray); font-size: 0.95rem; margin: 0; }

.admissions-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  position: relative;
}

.admissions-info ul { display: grid; gap: 0.8rem; margin-bottom: 2rem; }
.admissions-info li {
  display: flex;
  gap: 0.6rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
}
.info-lbl { color: var(--text-gray); font-weight: 500; min-width: 130px; }

.admissions-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.admissions-art { position: relative; }
.admissions-art img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.dotted-adm {
  top: -26px;
  left: -22px;
  width: 200px;
  height: 40px;
  background: radial-gradient(4px 4px at 6px 20px, rgba(77, 143, 232, 0.4) 49%, transparent 55%) 0 0 / 34px 40px repeat-x;
  background-color: transparent;
  transform: rotate(8deg);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section {
  background: radial-gradient(800px 400px at 15% 10%, #F5F9FF 0%, transparent 60%),
              radial-gradient(800px 400px at 90% 90%, #F8F4FF 0%, transparent 60%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(23, 59, 112, 0.07);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.stars {
  color: var(--yellow);
  font-size: 1.05rem;
  letter-spacing: 0.15em;
}

.testimonial-card > p {
  color: var(--text-gray);
  font-size: 1rem;
  font-style: italic;
  flex: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}
.av-1 { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.av-2 { background: linear-gradient(135deg, var(--coral), #D94A3C); }
.av-3 { background: linear-gradient(135deg, #7A5AF8, #4D8FE8); }

.testimonial-person strong { font-family: var(--font-head); font-size: 0.98rem; color: var(--navy); display: block; }
.testimonial-person small { color: var(--text-gray); font-size: 0.82rem; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-section { background: #fff; padding-top: 0; }

.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(120deg, #DEEEFF 0%, #ECE5FF 55%, #FDE3E0 120%);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dotted-cta {
  top: 30px;
  right: 42%;
  width: 220px;
  height: 40px;
  background: radial-gradient(4px 4px at 6px 20px, rgba(23, 59, 112, 0.2) 49%, transparent 55%) 0 0 / 34px 40px repeat-x;
  background-color: transparent;
  transform: rotate(-8deg);
}

.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin-bottom: 1rem;
}
.cta-content p {
  color: var(--text-gray);
  font-size: 1.08rem;
  max-width: 460px;
  margin-bottom: 2rem;
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.cta-art { position: relative; z-index: 2; }
.cta-art img {
  width: 100%;
  height: clamp(280px, 32vw, 380px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid rgba(255, 255, 255, 0.5);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: var(--sky-light); }

.footer-tagline {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--yellow);
  margin-top: 1rem;
  font-size: 1rem;
}
.footer-desc { margin-top: 0.6rem; max-width: 280px; color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }

.social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease;
}
.social-links a:hover { background: var(--blue); transform: translateY(-3px); }

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.3rem 0;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col a:hover { color: var(--yellow); transform: translateX(4px); }

.footer-contact address { font-style: normal; display: grid; gap: 0.6rem; }
.footer-contact p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
.footer-contact a { display: inline; padding: 0; color: rgba(255, 255, 255, 0.72); }
.footer-contact a:hover { color: var(--yellow); transform: none; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--yellow); }
.footer-bottom .dot { margin-inline: 0.4rem; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-content h1 { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .chip-1 { left: 2%; }
  .chip-3 { left: 0; }
  .chip-2 { right: 0; }
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 6.5rem 2rem 2.5rem;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-md);
    margin: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link {
    font-size: 1.15rem;
    padding: 0.8rem 0.5rem;
    width: 100%;
  }
  .hamburger { display: inline-flex; }
  .header-cta { display: none; }
  .about-grid, .why-grid { grid-template-columns: 1fr; }
  .about-media { min-height: 0; }
  .why-media { max-width: 520px; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .admissions-panel { grid-template-columns: 1fr; }
  .admissions-art { display: none; }
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-content p { margin-inline: auto; }
  .cta-actions { justify-content: center; }
  .cta-art { display: none; }
}

@media (max-width: 600px) {
  .feature-grid, .program-grid, .campus-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-card { padding: 2rem 1.4rem; border-radius: var(--radius-lg); }
  .about-img-main { width: 100%; height: 300px; }
  .about-img-tile { width: 52%; height: 160px; bottom: 12px; }
  .about-badge { left: 0; top: 12px; padding: 0.8rem 1rem; }
  .about-badge-num { font-size: 1.5rem; }
  .float-chip { padding: 0.5rem 0.8rem; }
  .float-chip .chip-ico { width: 32px; height: 32px; font-size: 1.05rem; }
  .icon-btn.phone { display: none; }
  .header-inner { gap: 0.8rem; }
  .search-bar.open .container { min-height: 64px; }
  .search-bar .container { flex-wrap: wrap; }
  .search-bar .btn { order: 5; }
  .hero-actions, .cta-actions, .admissions-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn, .cta-actions .btn, .admissions-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}