/* ==========================================================
   THE AARYAN GLOBAL SCHOOL — Main Stylesheet
   Aesthetic: Refined Prestige | Navy & Gold | Serif Headers
   ========================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --navy:       #0d1b3e;
  --navy-light: #162952;
  --navy-dark:  #090f22;
  --gold:       #c9a227;
  --gold-light: #e8c45e;
  --gold-dark:  #a07b10;
  --cream:      #fdf8ef;
  --white:      #ffffff;
  --text:       #2d2d2d;
  --text-muted: #6b7280;
  --border:     #e8e4d9;

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(13,27,62,0.08);
  --shadow-md:  0 6px 30px rgba(13,27,62,0.14);
  --shadow-lg:  0 16px 60px rgba(13,27,62,0.20);

  --transition: 0.3s ease;
  --max-width:  1280px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
}
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold);
  transition: background var(--transition), color var(--transition), transform 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-primary.large { padding: 16px 38px; font-size: 0.95rem; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-ghost-dark {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  transition: all var(--transition);
}
.btn-ghost-dark:hover { background: var(--navy); color: var(--white); }
.btn-ghost-dark.large { padding: 16px 38px; font-size: 0.95rem; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--navy-dark);
  padding: 9px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-left a {
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.top-bar-left a:hover { color: var(--gold); }
.top-bar-left i { color: var(--gold); font-size: 0.75rem; }

.btn-topbar {
  background: var(--gold);
  color: var(--navy-dark) !important;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  transition: background var(--transition);
}
.btn-topbar:hover { background: var(--gold-light); }
.btn-topbar.outline {
  background: transparent;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
}
.btn-topbar.outline:hover { background: var(--gold); color: var(--navy-dark) !important; }

.social-links { display: flex; gap: 10px; margin-left: 8px; }
.social-links a {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  transition: all var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--navy-dark); }

/* =============================================
   HEADER & NAV
   ============================================= */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-emblem {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-initials {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.logo-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.logo-text h1 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text p {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  font-weight: 500;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 25px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list > li {
  position: relative;
}
.nav-list > li > a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
  background: var(--cream);
  color: var(--gold-dark);
}
.nav-list > li > a .fa-chevron-down {
  font-size: 0.65rem;
  transition: transform var(--transition);
}
.nav-list > li:hover > a .fa-chevron-down { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
  background: var(--cream);
  color: var(--navy);
  padding-left: 26px;
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(9,15,34,0.82) 0%,
    rgba(9,15,34,0.5) 60%,
    rgba(9,15,34,0.1) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  max-width: 680px;
}

.slide-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.4);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  width: fit-content;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.slide-content h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease 0.35s both;
}

.slide-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.slide-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.65s both;
}

.slider-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.prev-btn, .next-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.prev-btn:hover, .next-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.slide-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gold);
}

@keyframes fadeInUp {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}

/* =============================================
   NOTICE BAR (MARQUEE)
   ============================================= */
.notice-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.notice-label {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeAnim 35s linear infinite;
}
.marquee-track span {
  display: inline-block;
  padding: 0 50px;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
}
.marquee-track span::before {
  content: '•';
  margin-right: 50px;
  color: var(--gold);
}
@keyframes marqueeAnim {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }

/* =============================================
   FACILITIES STRIP
   ============================================= */
.facilities-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.fac-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.fac-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.fac-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.fac-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  transition: background var(--transition);
}
.fac-item:hover .fac-icon { background: var(--gold); color: var(--navy); }
.fac-item span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section { background: var(--white); }

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

.about-visual {
  position: relative;
  padding-bottom: 60px;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 0;
  right: -20px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.badge-txt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-img-sm {
  position: absolute;
  bottom: 20px;
  left: -30px;
  width: 150px;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about-img-sm img { width: 100%; height: 100%; object-fit: cover; }

.about-content { padding-right: 20px; }
.about-lead {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin: 30px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   CURRICULUM SECTION
   ============================================= */
.curriculum-section { background: var(--navy-dark); }
.curriculum-section .section-title { color: var(--white); }
.curriculum-section .section-desc { color: rgba(255,255,255,0.6); }
.curriculum-section .section-eyebrow { color: var(--gold-light); }
.curriculum-section .section-header { margin-bottom: 50px; }

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

.cur-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.cur-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.cur-card:hover::before { transform: scaleX(1); }
.cur-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cur-card.featured {
  background: rgba(201,162,39,0.1);
  border-color: rgba(201,162,39,0.4);
}
.cur-card.featured::before { transform: scaleX(1); }

.cur-ribbon {
  position: absolute;
  top: 14px; right: -8px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 4px 0 0 4px;
}

.cur-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: rgba(201,162,39,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.cur-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.cur-card h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}
.cur-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 20px;
}
.cur-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.cur-link:hover { gap: 10px; }

/* =============================================
   INFRASTRUCTURE SECTION
   ============================================= */
.infra-section { background: var(--cream); }
.infra-section .section-header { margin-bottom: 50px; }

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

.infra-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.infra-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9,15,34,0.9) 0%,
    rgba(9,15,34,0.4) 50%,
    rgba(9,15,34,0.1) 100%
  );
  transition: background var(--transition);
}
.infra-card:hover .infra-overlay {
  background: linear-gradient(
    to top,
    rgba(9,15,34,0.95) 0%,
    rgba(9,15,34,0.7) 60%,
    rgba(9,15,34,0.3) 100%
  );
}

.infra-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 28px 24px;
  z-index: 2;
  transform: translateY(0);
  transition: transform var(--transition);
}
.infra-card:hover .infra-content { transform: translateY(-6px); }

.infra-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,162,39,0.2);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 10px;
}

.infra-content h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 6px;
}

.infra-content p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.infra-card:hover .infra-content p { max-height: 80px; opacity: 1; }

/* =============================================
   NEWS, ANNOUNCEMENTS & EVENTS
   ============================================= */
.news-section { background: var(--white); }
.news-section .section-header { margin-bottom: 50px; }

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

.nae-col {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.nae-header {
  background: var(--navy);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nae-header h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.nae-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.news-icon { background: rgba(201,162,39,0.25); color: var(--gold); }
.ann-icon  { background: rgba(99,179,237,0.25); color: #63b3ed; }
.ev-icon   { background: rgba(104,211,145,0.25); color: #68d391; }

.nae-list {
  padding: 16px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.nae-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.855rem;
  color: var(--text);
  transition: background var(--transition);
}
.nae-list li:last-child { border-bottom: none; }
.nae-list li:hover { background: rgba(201,162,39,0.07); border-radius: 6px; }

.list-dot {
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
}

/* Events list */
.events-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
}
.ev-date {
  flex-shrink: 0;
  width: 48px;
  text-align: center;
  background: var(--navy);
  border-radius: 8px;
  padding: 6px 4px;
}
.ev-date span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.ev-date {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ev-info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.ev-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  padding: 90px 0;
}
.testi-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(201,162,39,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(201,162,39,0.06) 0%, transparent 60%);
}
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-desc { color: rgba(255,255,255,0.55); }
.light-eyebrow { color: var(--gold-light) !important; }
.testimonials-section .section-header { margin-bottom: 50px; }

.testi-slider { position: relative; }

.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}
.testi-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.testi-quote {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 16px;
  opacity: 0.7;
}
.testi-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 600;
}
.testi-author small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.testi-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.testi-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }

/* =============================================
   ADMISSION CTA
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.cta-text p { color: rgba(9,15,34,0.65); font-size: 1rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--navy-dark); }

.footer-top { padding: 70px 0 50px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 50px;
}

.footer-logo {
  margin-bottom: 16px;
}
.f-logo-text {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.footer-col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '›';
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.contact-list li i {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-list li span,
.contact-list li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.contact-list li a:hover { color: var(--white); }
.contact-list li::before { display: none !important; }

.footer-map {
  margin-top: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 130px;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-map iframe { width: 100%; height: 100%; border: none; filter: grayscale(40%) invert(90%) contrast(0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(201,162,39,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--gold-dark); transform: translateY(-3px); }

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 1100px) {
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .fac-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; padding-bottom: 50px; }
  .about-img-sm { left: 0; }
  .about-content { padding-right: 0; }
  .nae-grid { grid-template-columns: 1fr; }
  .testi-track { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {
  .top-bar-inner { flex-direction: column; gap: 6px; }
  .top-bar-left, .top-bar-right { flex-wrap: wrap; justify-content: center; gap: 10px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .main-nav.open { max-height: 600px; overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px; }
  .nav-list > li > a { padding: 12px 14px; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-left: 20px;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown.open .dropdown { display: block; }

  .section-pad { padding: 60px 0; }
  .hero { height: 80vh; min-height: 460px; }
  .fac-grid { grid-template-columns: repeat(4, 1fr); }
  .curriculum-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .about-stats { gap: 16px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-content h2 { font-size: 1.8rem; }
  .about-img-sm { display: none; }
  .about-badge { right: 0; }
  .testi-card { padding: 24px 18px; }
}
