/* ═══════════════════════════════════════════════
   CSS VARIABLES & RESET
═══════════════════════════════════════════════ */
:root {
  --navy:       #0a1628;
  --navy-mid:   #0f2044;
  --navy-light: #162c5a;
  --gold:       #f0a500;
  --gold-light: #f7c948;
  --gold-dark:  #c88400;
  --white:      #ffffff;
  --off-white:  #f4f7ff;
  --muted:      #94a3b8;
  --card-bg:    #0d1e3d;
  --border:     rgba(240,165,0,0.25);

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --h1: clamp(1.8rem, 4.5vw, 3.2rem);
  --h2: clamp(1.4rem, 3vw, 2rem);
  --h3: clamp(1rem, 2vw, 1.15rem);
  --body: clamp(0.875rem, 1.5vw, 1rem);
  --small: clamp(0.75rem, 1.2vw, 0.875rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.35);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --navbar-h: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  font-size: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}

.section-divider {
  height: 3px;
  width: 64px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0.75rem auto 0;
  border-radius: 99px;
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-delay { transition-delay: 0.18s; }
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--small);
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,165,0,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-icon {     width: 69px;
    height: 69px; }

.logo-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold);
  line-height: 1.2;
}

.logo-tagline {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.5rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding var(--transition);
}

.mobile-menu:not([hidden]) {
  max-height: 400px;
}

.mobile-menu[hidden] { display: block !important; max-height: 0; padding: 0; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-inline: 1.5rem;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}

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

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--navbar-h));
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(15,32,68,0.6) 0%, var(--navy) 70%),
              linear-gradient(135deg, var(--navy) 40%, var(--navy-light) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f0a500' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  transform: scale(1.1); 
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-text .highlight { color: var(--gold); }

.hero-sub {
  color: var(--muted);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  margin-bottom: 1.75rem;
  max-width: 42ch;
}

/* Admissions box */
.admissions-box {
  background: rgba(15,32,68,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(6px);
}

.box-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1.5rem;
}

.courses-grid li {
  font-size: var(--small);
  font-weight: 500;
  color: var(--off-white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.courses-grid li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.more-courses {
  margin-top: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  font-size: var(--small);
  font-style: italic;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 0 2px var(--border);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ═══════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════ */
.why-us {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--navy-mid);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(240,165,0,0.15);
  border-color: var(--gold);
  outline: none;
}

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--h3);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.feature-card p {
  color: var(--muted);
  font-size: var(--small);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   COLLEGES
═══════════════════════════════════════════════ */
.colleges {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--navy);
  overflow: hidden;
}

.colleges-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.colleges-track-wrap {
  flex: 1;
  overflow: hidden;
}

.colleges-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}

.college-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  flex: 0 0 calc((100% - 1.25rem * 3) / 4);
  min-width: 0;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.college-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(240,165,0,0.18);
}

.college-img-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.college-placeholder { font-size: 2.2rem; }

.college-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.college-card p {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Carousel controls */
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: scale(1.08);
  outline: none;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.carousel-btn:disabled:hover { background: var(--card-bg); color: var(--gold); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}

.carousel-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 99px;
}

.carousel-dot:hover { background: var(--gold-light); }
.carousel-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ═══════════════════════════════════════════════
   SERVICES + CONTACT SECTION
═══════════════════════════════════════════════ */
.services-contact {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--navy-mid);
}

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}

/* Box shared styles */
.services-box,
.guidance-box,
.callback-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  height: 100%;
}

.box-heading {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

/* Services */
.services-list { display: flex; flex-direction: column; gap: 0.85rem; }

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--small);
  font-weight: 500;
  color: var(--off-white);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.services-list li:last-child { border-bottom: none; }
.svc-icon { font-size: 1.15rem; flex-shrink: 0; }

/* Guidance */
.guidance-box { text-align: center; }

.guidance-logo {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.guidance-tagline {
  font-size: var(--small);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.guidance-body {
  font-size: var(--small);
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.contact-info { border-top: 1px solid var(--border); padding-top: 1.25rem; }

.cta-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.contact-link {
  display: block;
  font-size: var(--small);
  color: var(--off-white);
  margin: 0.35rem 0;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--gold); }

/* Callback form */
.callback-form { display: flex; flex-direction: column; gap: 0.85rem; }

.form-group { display: flex; flex-direction: column; gap: 0.3rem; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: none; /* Placeholders serve as labels visually */
}

.form-group input,
.form-group select {
  width: 100%;
  background: var(--navy-light);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--small);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f0a500' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,165,0,0.18);
}

.form-group input::placeholder { color: var(--muted); }
.form-group select option { background: var(--navy-mid); }

/* ═══════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════ */
.stats {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.stat-icon { font-size: 2rem; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--gold-light);
}

.stat-item { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; }
.stat-number, .stat-plus { display: inline; }

.stat-label {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: var(--small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

.stat-icon { width: 100%; margin-bottom: 0.5rem; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand .logo-icon {     width:50px;
    height: 50px; }

.footer-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gold);
}

.footer-tagline {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  font-style: italic;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-contact a {
  font-size: var(--small);
  color: var(--muted);
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 0;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.footer-bottom p,
.footer-bottom nav {
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-bottom nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-bottom a {
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

/* Tablets */
@media (max-width: 960px) {
  .tri-grid {
    grid-template-columns: 1fr 1fr;
  }
  .guidance-box { grid-column: 1 / -1; }
}

/* Hamburger visible */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image { order: -1; }
  .hero-image img { max-width: 100%; aspect-ratio: 16/9; }

  .hero-sub { max-width: 100%; margin-inline: auto; }

  .admissions-box { text-align: left; }

  .hero-cta {
    justify-content: center;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* Carousel responsive slides-per-view */
@media (max-width: 960px) {
  .college-card { flex: 0 0 calc((100% - 1.25rem * 2) / 3); }
}

@media (max-width: 768px) {
  .college-card { flex: 0 0 calc((100% - 1.25rem) / 2); }
  .carousel-btn { width: 38px; height: 38px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .college-card { flex: 0 0 100%; }
  .colleges-carousel { gap: 0.5rem; }
}
