/* ═══════════════════════════════════════════
   SWAMI EDUCATIONAL INSTITUTIONS — style.css
   v3 — all screenshot fixes applied
═══════════════════════════════════════════ */

:root {
  --orange: #F37021;
  --orange-dark: #d4601a;
  --orange-eb: #EB7123;
  --teal: #00A7B2;
  --teal-0c: #0C9AA6;
  --teal-dark: #008c96;
  --black: #1A1A1A;
  --grey: #4A4A4A;
  --grey-light: #7A7A7A;
  --red: #D7263D;
  --beige: #FBF4E8;
  --white: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-in {
  opacity: 0;
  transition: opacity .65s ease;
}

.visible {
  opacity: 1 !important;
  transform: none !important;
}

.d1 {
  transition-delay: .10s
}

.d2 {
  transition-delay: .20s
}

.d3 {
  transition-delay: .30s
}

.d4 {
  transition-delay: .40s
}

.d5 {
  transition-delay: .50s
}

.d6 {
  transition-delay: .60s
}

/* ── UTILITIES ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.18;
}

.sec-title--white {
  color: var(--white);
}

.sec-title--black {
  color: var(--black);
}

.sec-title--orange {
  color: var(--orange);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 11px 26px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 11px 26px;
  font-weight: 700;
  font-size: 14px;
  background: transparent;
  transition: background .2s, color .2s;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--orange);
}

.btn-white-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--orange);
  padding: 11px 26px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s;
}

.btn-white-solid:hover {
  background: var(--beige);
  transform: translateY(-2px);
}

/* Orange solid + outline — for results / future on teal bg */
.btn-orange-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 11px 26px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s;
}

.btn-orange-solid:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.btn-orange-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 11px 26px;
  font-weight: 700;
  font-size: 14px;
  background: transparent;
  transition: background .2s, color .2s;
}

.btn-orange-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-teal-solid {
  display: inline-block;
  background: var(--teal-0c);
  color: var(--white);
  padding: 13px 32px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s;
}

.btn-teal-solid:hover {
  background: var(--teal-dark);
}


/* ══════════════════════════════════════════
   1. HEADER
══════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--beige);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  transition: box-shadow .3s;
}

#header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-logos img {
  height: 46px;
  object-fit: contain;
}

.header-divider {
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, .15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  padding: 7px 13px;
  transition: background .18s, color .18s;
}

.nav-links a:hover {
  background: var(--orange);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--beige);
  z-index: 999;
  transform: translateX(100%);
  transition: transform .3s ease;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.mobile-menu a:hover {
  color: var(--orange);
}

.mobile-menu .btn-primary {
  margin-top: 24px;
  text-align: center;
}


/* ══════════════════════════════════════════
   2. HERO
══════════════════════════════════════════ */
.hero-section {
  background-color: var(--orange);
  background-image: url("../assets/hero/swami-banner-bg.webp");
  background-size: cover;
  background-position: center center;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 0;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-bottom: 150px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  background: #E0F5F7;
  border: 1px solid E0F5F7;
  color: #0C9AA6;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.04;
  margin-bottom: 14px;
}

.hero-location {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, .85);
  margin-bottom: 8px;
}

.hero-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-tagline strong {
  font-weight: 700;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-img-col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-img-col img {
  width: 100%;
  max-height: 90vh;
  object-fit: cover;
  object-position: top center;
  display: block;
}


/* ══════════════════════════════════════════
   3. COUNTERS
══════════════════════════════════════════ */
.counters-section {
  background: var(--teal);
}

.counters-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1280px;
  margin: 0 auto;
}

.counter-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.counter-item:last-child {
  border-right: none;
}

.counter-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
}

.counter-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-top: 4px;
}


/* ══════════════════════════════════════════
   4. ABOUT
   FIX 2: guide card bg F37021 10%, text/icon #EB7123
   FIX 3: school photo height 560px
══════════════════════════════════════════ */
.about-section {
  background: var(--beige);
  padding: 80px 0 0;
}

.about-top {
  text-align: center;
  padding: 0 24px 40px;
}

.about-guides {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 48px;
}

.about-guide-card {
  background: rgba(243, 112, 33, 0.10);
  /* FIX 2 */
  padding: 24px 32px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}

.about-guide-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
  transform: translateY(-3px);
}

.about-guide-card svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}

.about-guide-card span {
  font-weight: 600;
  font-size: 14px;
  color: var(--orange-eb);
}

/* FIX 2 */
.about-school-photo {
  position: relative;
  height: 560px;
  overflow: hidden;
}

/* FIX 3 */
.about-school-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-photo-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--beige), transparent);
}

.about-photo-fade-bot {
  display: none;
}


/* ══════════════════════════════════════════
   5. MARQUEE
══════════════════════════════════════════ */
.marquee-bar {
  background: var(--orange);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-text {
  color: var(--white);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}


/* ══════════════════════════════════════════
   6. ACHIEVEMENTS
══════════════════════════════════════════ */
.achievements-section {
  display: flex;
  background: var(--teal-0c);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 720px;
}

.achievements-content-col {
  flex: 1;
  padding: 80px 48px 80px calc((100% - 1280px) / 2 + 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 10;
  /* Keep on top of decorative elements */
}

.achievements-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.achievements-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}

.achievements-photo-col {
  flex: 1.1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  /* DECISIVE CLIP: prevents elements bleeding into card column */
}

/* All CSS decorative elements removed to avoid duplication with image asset */

.achievements-photo-col img {
  position: relative;
  z-index: 100;
  /* Decisively above all decorative elements */
  width: 100%;
  max-width: 680px;
  object-fit: contain;
  object-position: bottom right;
  margin-right: -40px;
  /* pull slightly more to edge */
}

.achieve-card {
  background: #FFFFFF;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .25s;
}

.achieve-card:hover {
  font-weight: 700;
  transform: translateY(-4px);
}

.achieve-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
}

.achieve-desc {
  font-size: 11px;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  line-height: 1.45;
}


/* ══════════════════════════════════════════
   7. CURRICULUM  — FIX 5: no subtitle tagline
══════════════════════════════════════════ */
.curriculum-section {
  background: var(--beige);
  padding: 100px 0 72px;
}

.curriculum-title-wrap {
  text-align: center;
  margin-bottom: 36px;
}

.curriculum-photo img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  margin-bottom: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.curriculum-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.curr-card {
  background: var(--white);
  padding: 28px 24px;
  border-top: 4px solid transparent;
  transition: box-shadow .25s, transform .25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.curr-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  transform: translateY(-5px);
}

.curr-card--cbse {
  border-top-color: var(--teal);
}

.curr-card--matric {
  border-top-color: var(--orange);
}

.curr-card--higher {
  border-top-color: var(--red);
}

.curr-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 12px;
}

.curr-card--cbse .curr-badge {
  background: rgba(0, 167, 178, .1);
  color: var(--teal);
}

.curr-card--matric .curr-badge {
  background: rgba(243, 112, 33, .1);
  color: var(--orange);
}

.curr-card--higher .curr-badge {
  background: rgba(215, 38, 61, .08);
  color: var(--red);
}

.curr-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.curr-card .sub {
  font-size: 12.5px;
  color: var(--grey-light);
  margin-bottom: 14px;
}

.curr-card ul {
  list-style: none;
}

.curr-card ul li {
  font-size: 13.5px;
  color: var(--grey);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.curr-card ul li:last-child {
  border-bottom: none;
}

.curr-card ul li::before {
  content: '›';
  color: #0C9AA6;
  font-weight: 700;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════
   8. ACTIVITIES
══════════════════════════════════════════ */
.activities-section {
  background: var(--orange);
  padding: 100px 0 0;
  overflow: hidden;
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.activities-photo {
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  align-self: flex-end;
  /* Force container to bottom */
  width: calc(100% + 24px);
  margin-left: -24px;
}

.activities-photo img {
  width: 100%;
  object-fit: cover;
  object-position: bottom center;
  /* FIX 6 */
  max-height: 600px;
  display: block;
  align-self: flex-end;
}

.activities-content {
  padding-bottom: 0;
}

.activities-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.act-card {
  background: var(--beige);
  /* FIX 6: #FBF4E8 */
  padding: 18px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow .25s, transform .25s;
}

.act-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  transform: translateY(-3px);
}

.act-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(243, 112, 33, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.act-icon img {
  width: 26px;
  height: 26px;
  object-fit: cover;
}

.act-card h4 {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 3px;
}

.act-card p {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.5;
}


/* ══════════════════════════════════════════
   9. SCHOLARSHIPS
══════════════════════════════════════════ */
.scholarships-section {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.scholarships-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.scholarships-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* No separate overlay — bg image has teal overlay baked in */
.scholarships-inner {
  position: relative;
  z-index: 2;
}

.scholarships-title-wrap {
  background: rgba(12, 154, 166, 0.15);
  /* FIX 7 */
  padding: 48px 24px;
  text-align: center;
}

.scholarships-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  font-style: italic;
  line-height: 1.2;
}

.scholar-grid-wrap {
  padding: 40px 24px 0;
  max-width: 1280px;
  margin: 0 auto;
}

.scholar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.scholar-card {
  text-align: center;
  padding: 24px 16px;
  transition: transform .25s;
}

.scholar-card:hover {
  transform: translateY(-4px);
}

.scholar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.scholar-card h4 {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 6px;
}

/* FIX 7 */
.scholar-card p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.5;
}

.scholar-note {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 16px 24px;
  text-align: center;
  margin: 32px 0 0;
}

.scholar-note p {
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
}

.scholar-note strong {
  color: var(--white);
}

.scholar-note-wrap {
  padding: 0 24px 48px;
  max-width: 1280px;
  margin: 0 auto;
}


/* ══════════════════════════════════════════
   10. CSK ACADEMY
══════════════════════════════════════════ */
.csk-section {
  background: var(--beige);
  padding: 72px 0;
}

.csk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.csk-official-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 154, 166, 0.30);
  /* FIX 8 */
  border-radius: 100px;
  /* FIX 8 */
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-0c);
  margin-bottom: 20px;
}

.csk-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.15;
}

.csk-title--italic {
  color: var(--orange);
  font-style: italic;
}

.csk-tagline {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  margin: 20px 0 30px;
}

.csk-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  /* FIX 8: no border-bottom */
}

.csk-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(243, 112, 33, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.csk-feature-icon img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.csk-feature h4 {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 3px;
}

.csk-feature p {
  font-size: 13px;
  color: var(--grey);
}

.csk-photo-box {
  overflow: hidden;
}

.csk-photo-box img {
  width: 100%;
  height: 420px;
  /* FIX 8: taller */
  object-fit: cover;
  object-position: center top;
  display: block;
}

.csk-date-box {
  background: var(--teal-0c);
  color: var(--white);
  padding: 22px 24px;
  text-align: center;
}

.csk-date-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 8px;
}

.csk-date-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.csk-date-desc {
  font-size: 13px;
  opacity: .85;
  margin-bottom: 20px;
}

.btn-csk {
  display: inline-block;
  background: var(--white);
  color: var(--teal-0c);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 32px;
  transition: background .2s;
}

.btn-csk:hover {
  background: var(--beige);
}


/* ══════════════════════════════════════════
   11. TRANSPORT
══════════════════════════════════════════ */
.transport-section {
  background: var(--orange);
  padding: 72px 0 0;
  overflow: hidden;
}

.transport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
}

.transport-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 28px;
}

.transport-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.transport-stat {
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  padding: 22px 18px;
  text-align: center;
  transition: background .25s, transform .25s;
}



.transport-stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EB7123;
}

.transport-stat-icon svg {
  width: 36px;
  height: 36px;
  color: #EB7123;
}

.transport-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0C9AA6;
}

.transport-stat-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0C9AA6;
  margin-top: 4px;
}

/* MAP — FIX 9 */
.map-container {
  background: var(--teal-0c);
  padding: 20px;
  position: relative;
  margin: 0 50px 0 50px;
  border-radius: 20px;
}

.map-header {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  text-align: center;
  margin-bottom: 12px;
}

.map-badge {
  position: absolute;
  top: 42px;
  left: 20px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  padding: 8px 12px;
}

.map-badge-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 2px;
}

.map-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.map-badge-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
}

.village-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}

.vtag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100px;
  /* FIX 9: rounded tags */
  padding: 4px 12px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .85);
}

.map-footer {
  font-size: 10.5px;
  color: rgba(255, 255, 255, .38);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* FIX 10: taller transport photo */
.transport-photo {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.transport-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.transport-photo-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--orange), transparent);
}


/* ══════════════════════════════════════════
   12. PROGRAMS
══════════════════════════════════════════ */
.programs-section {
  background: var(--teal-0c);
  padding: 72px 0;
}

.programs-header {
  text-align: center;
  margin-bottom: 48px;
}

.programs-desc {
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  max-width: 540px;
  margin: 14px auto 0;
  line-height: 1.7;
}

/* Programs Carousel (Desktop grid) */
.programs-carousel-outer {
  position: relative;
}

.programs-carousel-wrap {
  overflow: hidden;
}

.programs-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.program-card {
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}

.program-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, .25);
  transform: translateY(-6px);
}

.program-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.program-card:hover img {
  transform: scale(1.05);
}

.program-card-body {
  padding: 18px;
}

.program-card h3 {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--black);
}

.program-card p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
}

#progDots {
  display: none;
}



/* ══════════════════════════════════════════
   13. GALLERY
══════════════════════════════════════════ */
.gallery-section {
  background: var(--beige);
  padding: 72px 0;
}

.gallery-header {
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto 32px;
}

/* FIX 11: no view-all button shown */

.gallery-carousel-outer {
  overflow: hidden;
  position: relative;
}

.gallery-carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-carousel-track img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

.gallery-carousel-track img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.gallery-dots {
  display: none;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, .15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s;
}

.gallery-dot.active {
  background: var(--orange);
  width: 24px;
}


/* ══════════════════════════════════════════
   14. RESULTS
══════════════════════════════════════════ */
.results-section {
  background: var(--orange);
  padding: 0;
  overflow: hidden;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.results-content {
  padding: 60px 0;
}

.results-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}

.results-sub {
  color: rgba(255, 255, 255, .85);
  font-size: 16px;
  margin-bottom: 32px;
}

.results-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.results-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: flex-end;
  /* Force container to bottom */
  width: calc(100% + 24px);
  margin-right: -24px;
}

.results-photo img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: bottom center;
  align-self: flex-end;
  /* Force bottom */
}


/* ══════════════════════════════════════════
   15. ADMISSIONS
══════════════════════════════════════════ */
.admissions-section {
  background: var(--beige);
  padding: 0;
}

.admissions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin: 70px 0 0 0;
}

.admissions-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
}

.admissions-title em {
  color: var(--orange);
  font-style: italic;
}

.admissions-intro {
  font-size: 15px;
  color: var(--grey);
  margin: 16px 0 32px;
  line-height: 1.7;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.step-item:last-child {
  border-bottom: none;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  min-width: 50px;
}

.step-content h4 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 13.5px;
  color: var(--grey);
}

/* FIX 13 */
.seats-card-wrapper {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  align-self: flex-end;
  width: calc(100% + 24px);
  margin-right: -24px;
}

.seats-card {
  background: rgba(243, 112, 33, 0.15);
  /* FIX 13 */
}

.seats-inner {
  padding: 28px 26px;
}

.seats-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  margin-bottom: 18px;
}

.seats-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 10px;
}

.seats-desc {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 24px;
}

.seats-apply {
  display: block;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  margin-bottom: 12px;
  transition: background .2s;
}

.seats-apply:hover {
  background: var(--orange-dark);
}

.seats-year {
  background: var(--teal-0c);
  color: var(--white);
  padding: 14px;
  text-align: center;
}

.seats-year strong {
  font-weight: 700;
  font-size: 14px;
  display: block;
}

.seats-year span {
  font-size: 12px;
  opacity: .85;
}

/* FIX 13: image below box, not inside */
.seats-photo-below {
  height: auto;
  overflow: hidden;
  margin-top: 0;
  display: flex;
  align-items: flex-end;
}

.seats-photo-below img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  align-self: flex-end;
}



/* ══════════════════════════════════════════
   16. TESTIMONIALS  — FIX 14: mobile carousel
══════════════════════════════════════════ */
.testimonials-section {
  background: var(--orange);
  padding: 72px 0;
}

.test-h {
  color: var(--white);
}

.test-h em {
  font-style: italic;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.test-card {
  background: var(--white);
  padding: 28px;
  transition: box-shadow .25s, transform .25s;
}

.test-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, .15);
  transform: translateY(-3px);
}

.test-quote {
  color: var(--grey);
  font-size: 14.5px;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.test-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
}

.test-loc {
  font-size: 12px;
  color: var(--grey-light);
  margin-top: 2px;
}

/* Mobile carousel */
.test-carousel-wrap-outer {
  display: none;
  margin-top: 32px;
}

.test-carousel-wrap {
  overflow: hidden;
}

.test-carousel {
  display: flex;
  transition: transform .5s ease;
}

.test-carousel .test-card {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.dot-btn {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, .35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s;
}

.dot-btn.active {
  background: var(--white);
  width: 24px;
}


/* ══════════════════════════════════════════
   17. CHILD FUTURE
   FIX 15: orange buttons, image bottom align
══════════════════════════════════════════ */
.future-section {
  background: var(--teal-0c);
  padding: 80px 0 0;
  overflow: hidden;
}

.future-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.future-content {
  padding: 60px 0;
}

.future-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.future-sub {
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  margin-bottom: 32px;
}

.future-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.future-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: flex-end;
  /* Force container to bottom */
  width: calc(100% + 24px);
  margin-right: -24px;
}

.future-photo img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  object-position: bottom center;
  align-self: flex-end;
}


/* ══════════════════════════════════════════
   18. FOOTER  — FIX 16: single logo only
══════════════════════════════════════════ */
.footer {
  background: var(--beige);
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo-wrap {
  margin-bottom: 18px;
}

.footer-logo-wrap img {
  height: 52px;
  object-fit: contain;
}

.footer-address {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(0, 0, 0, .35);
  margin-top: 16px;
}

.footer-contact h4 {
  font-weight: 700;
  font-size: 16px;
  color: var(--orange);
  margin-bottom: 20px;
}

.footer-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  display: block;
  margin-bottom: 6px;
  transition: color .2s;
}

.footer-link:hover {
  color: var(--orange);
}

.footer-legal {
  display: flex;
  gap: 20px;
  margin-top: 22px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--grey);
}

.footer-legal a:hover {
  color: var(--orange);
}


/* ══════════════════════════════════════════
   WA FLOAT
══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  animation: waBounce 2.2s ease-in-out infinite;
}

.wa-float:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .55);
}

@keyframes waBounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-7px)
  }
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width:1024px) {

  .about-section,
  .curriculum-section,
  .achievements-section,
  .activities-section,
  .programs-section,
  .gallery-section,
  .results-section,
  .admissions-section,
  .testimonials-section,
  .future-section {
    padding-top: 50px !important;
  }

  .sec-title {
    margin-bottom: 24px !important;
  }

  .achievements-grid,
  .activities-grid,
  .csk-grid,
  .transport-grid,
  .results-grid,
  .admissions-grid,
  .future-grid {
    display: flex;
    flex-direction: column;
  }

  .activities-content,
  .achievements-content,
  .results-content,
  .future-content,
  .admissions-content {
    order: 1;
  }

  .hero-img-col img {
    object-position: top center !important;
    max-height: 520px !important;
    height: auto !important;
  }

  .wa-float {
    border-radius: 50% !important;
  }

  .achievements-section {
    flex-direction: column;
    min-height: auto;
  }

  .achievements-content-col {
    padding: 60px 24px 40px;
    order: 1;
    /* Content top */
  }

  .achievements-photo-col {
    height: 400px;
    margin-bottom: 0;
    order: 2;
    /* Image bottom */
    align-items: flex-end;
    justify-content: flex-end;
  }

  .achievements-photo-col::before {
    width: 320px;
    height: 320px;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .achievements-photo-col::after {
    bottom: 100px;
  }

  .achievements-photo-col img {
    margin-right: 0;
    max-height: 320px;
    object-position: bottom right !important;
    /* Force right align on mobile also */
  }

  .results-grid,
  .future-grid,
  .activities-grid {
    display: flex;
    flex-direction: column;
  }

  .results-content,
  .future-content,
  .activities-content {
    order: 1 !important;
    padding: 60px 24px 40px !important;
  }

  .results-photo,
  .future-photo,
  .activities-photo {
    order: 2 !important;
    width: calc(100% + 48px) !important;
    margin-left: -24px !important;
    margin-right: -24px !important;
  }

  .map-container {
    margin: 0 15px !important;
  }

  .gallery-section {
    padding: 60px 0 !important;
  }

  .gallery-header {
    padding: 0 24px !important;
    margin-bottom: 24px !important;
  }

  .results-photo img,
  .future-photo img,
  .activities-photo img {
    object-position: center center !important;
  }

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

  /* Programs Carousel Mobile */
  .programs-carousel {
    display: flex;
    transition: transform 0.5s ease;
  }

  .programs-carousel .program-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  #progDots {
    display: flex;
  }

  .scholar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

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

  .nav-links,
  .header-kn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding-bottom: 0;
  }

  .hero-img-col {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    align-items: flex-end;
  }

  .hero-img-col img {
    width: 100%;
    max-height: 380px;
    object-position: bottom center;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  .testimonials-grid {
    display: none !important;
  }

  .test-carousel-wrap-outer {
    display: block;
  }

  .gallery-carousel-track {
    display: flex !important;
    transition: transform 0.5s ease;
    padding: 0;
    gap: 0;
    width: 100%;
  }

  .gallery-carousel-track img {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 320px !important;
    /* Slightly taller for better mobile visual */
    padding: 0 24px;
    /* Align with header text padding */
    box-sizing: border-box;
  }

  .gallery-dots {
    display: flex;
    margin-top: 24px;
    margin-bottom: 40px;
  }

  .transport-grid {
    padding-bottom: 0;
  }

  /* Image height reductions on mobile */
  .curriculum-photo img {
    height: 350px;
  }

  .activities-photo img {
    max-height: 380px;
  }

  .achievements-photo img {
    max-height: 400px;
  }

  .future-photo img,
  .results-photo img {
    max-height: 320px;
  }

  .csk-photo-box img {
    height: 420px !important;
    object-position: left top !important;
  }
}

@media (min-width:1025px) {
  .mobile-toggle {
    display: none;
  }

  .test-carousel-wrap-outer {
    display: none;
  }
}

@media (max-width:640px) {
  .hero-h1 {
    font-size: 2.4rem;
  }

  .hero-img-col img {
    max-height: 320px;
  }

  .about-school-photo {
    height: 380px;
  }

  .transport-photo {
    height: 300px;
  }

  .counters-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievements-stats-grid {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
  }

  .scholar-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .programs-carousel .program-card img {
    height: 180px;
  }

  .activities-features {
    grid-template-columns: 1fr;
  }

  .transport-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-carousel-track img {
    flex: 0 0 220px;
  }
}

@media (max-width:400px) {
  .scholar-grid {
    grid-template-columns: 1fr !important;
  }
}