/* ============================================================
   SANJIVANI UNIVERSITY — OFFICIAL WEBSITE STYLESHEET
   Designed for AP | Telangana | Karnataka Admissions 2026–27
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600;700&family=Bebas+Neue&display=swap');

/* ══════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES
══════════════════════════════════════════════ */
:root {
  /* — Brand Colors — */
  --navy:           #1a2c5b;
  --navy-dark:      #0f1d3d;
  --navy-mid:       #1e3a7a;
  --gold:           #c9973a;
  --gold-light:     #e8b85a;
  --gold-pale:      rgba(201, 151, 58, 0.12);
  --crimson:        #8b1a2e;
  --white:          #ffffff;
  --cream:          #faf8f4;
  --light:          #f2f5fb;

  /* — Text — */
  --text-dark:      #1a1a2e;
  --text-mid:       #4a5568;
  --text-light:     #718096;

  /* — Borders & Shadows — */
  --border:         rgba(26, 44, 91, 0.12);
  --shadow-sm:      0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md:      0 8px 30px rgba(26, 44, 91, 0.12);
  --shadow-lg:      0 20px 60px rgba(26, 44, 91, 0.18);

  /* — Layout — */
  --radius:         10px;
  --radius-lg:      16px;
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* — Footer — */
  --ft-bg1:         #0a1628;
  --ft-bg2:         #0d1e38;
  --ft-bg3:         #0f2240;
  --ft-gold:        #c9973a;
  --ft-gold-light:  #e8b85a;
  --ft-gold-pale:   rgba(201, 151, 58, 0.12);
  --ft-navy:        #1a2c5b;
  --ft-white:       #ffffff;
  --ft-muted:       rgba(255, 255, 255, 0.55);
  --ft-border:      rgba(255, 255, 255, 0.07);
  --ft-border-gold: rgba(201, 151, 58, 0.25);
}

/* ══════════════════════════════════════════════
   2. RESET & BASE
══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html   { scroll-behavior: smooth; font-size: 16px; }
body   { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text-dark); overflow-x: hidden; line-height: 1.6; }
a      { text-decoration: none; color: inherit; }
img    { max-width: 100%; display: block; }
ul     { list-style: none; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; border: none; }

/* ══════════════════════════════════════════════
   3. UTILITY CLASSES
══════════════════════════════════════════════ */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--navy-dark); line-height: 1.15; }
.section-sub   { font-size: 16px; color: var(--text-mid); line-height: 1.7; max-width: 620px; margin-top: 14px; }
.gold-line     { width: 55px; height: 3px; background: linear-gradient(to right, var(--gold), var(--gold-light), transparent); border-radius: 2px; margin: 18px 0 36px; }
.text-gold     { color: var(--gold); }
.text-white    { color: white; }

/* ══════════════════════════════════════════════
   4. HEADER
══════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-main {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0;
  position: relative;
}

.header-main .container {
  max-width: 100%;
  padding: 0 40px;
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-logo img { height: 54px; object-fit: contain; }

.logo-text-wrap    { display: flex; flex-direction: column; }
.logo-name         { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: var(--navy-dark); line-height: 1.1; letter-spacing: -0.5px; }
.logo-sub          { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-top: 2px; }

/* — Desktop Navigation — */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-item    { position: relative; }
.nav-link    { display: flex; align-items: center; gap: 5px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--text-dark); border-radius: 6px; transition: var(--transition); white-space: nowrap; }
.nav-link:hover,
.nav-link.active { color: var(--navy); background: var(--light); }
.nav-link .arrow  { font-size: 9px; transition: transform 0.25s; }
.nav-item:hover .arrow { transform: rotate(180deg); }

/* — Dropdown — */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  min-width: 240px; opacity: 0; visibility: hidden;
  transform: translateY(-10px); transition: all 0.25s ease; z-index: 200;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; font-size: 13.5px; color: var(--text-mid);
  transition: var(--transition); border-bottom: 1px solid var(--border);
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover      { color: var(--navy); background: var(--light); padding-left: 22px; }
.dropdown-icon            { font-size: 15px; }

/* — Header CTA — */
.header-cta-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark); font-size: 13px; font-weight: 700;
  padding: 10px 22px; border-radius: 5px; letter-spacing: 0.5px;
  transition: var(--transition); box-shadow: 0 4px 16px rgba(201, 151, 58, 0.35);
  white-space: nowrap;
}
.header-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201, 151, 58, 0.45); }

/* — Scrolled — */
#header.scrolled .header-top { display: none; }

/* — Hamburger — */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
}
.hamburger span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: var(--transition); display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* — Mobile Nav — */
.mobile-nav {
  display: none; position: fixed; top: 0; right: 0; bottom: 0;
  width: 300px; background: var(--navy-dark); z-index: 999;
  padding: 80px 24px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.35s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
}
.mobile-nav.open   { transform: translateX(0); }
.mobile-nav-link   { display: block; padding: 14px 0; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.85); border-bottom: 1px solid rgba(255, 255, 255, 0.07); transition: color 0.2s; }
.mobile-nav-link:hover { color: var(--gold-light); }
.mobile-nav-close  { position: absolute; top: 20px; right: 20px; font-size: 24px; color: white; background: none; border: none; cursor: pointer; }
.mobile-overlay    { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 998; }
.mobile-overlay.open { display: block; }

/* ══════════════════════════════════════════════
   5. HERO SECTION — CINEMATIC ANIMATED ENTRY
   Sequence: badge → logo → h1 → tagline →
             states → stats → cta → scroll-hint
   Each element fades + rises from bottom with
   staggered delays for a polished reveal.
══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  max-height: 900px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;    /* stack content toward bottom of image */
  text-align: center;
  padding: 0 24px 52px;         /* breathing room from the very bottom */
  overflow: hidden;
  isolation: isolate;
}

/* ── Slider ── */
.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.slider-images { width: 100%; height: 100%; position: relative; }

.slide {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1.2s ease-in-out;
  filter: brightness(0.42) saturate(1.2);
}
.slide.active { opacity: 1; z-index: 1; }

/* ── Slider Controls ── */
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 215, 0, 0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 24px; font-weight: bold; cursor: pointer;
  z-index: 20; transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.slider-btn:hover    { background: #c9973a; color: #0f1d3d; border-color: #c9973a; transform: translateY(-50%) scale(1.1); }
.slider-btn.prev     { left: 15px; }
.slider-btn.next     { right: 15px; }

/* ── Slider Dots ── */
.slider-dots {
  position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 20;
}
.dot {
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, 0.45); border-radius: 50%; cursor: pointer;
  transition: all 0.2s ease; border: 1px solid rgba(255, 215, 0, 0.2);
}
.dot.active { background: #ffd966; transform: scale(1.3); box-shadow: 0 0 10px #f1c40f; }

/* ── Decorative Overlay Effects ── */
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 2; pointer-events: none;
}

/* Gradient vignette — darkens bottom where content lives */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.0)  0%,
    rgba(0, 0, 0, 0.0)  35%,
    rgba(10, 20, 50, 0.55) 65%,
    rgba(10, 20, 50, 0.80) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: glowPulse 5s ease-in-out infinite;
  z-index: 3; pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

/* All hero content sits above overlays */
.hero > *:not(.hero-slider) { position: relative; z-index: 10; }

/* ═══════════════════════════════════════
   HERO ENTRANCE ANIMATION SYSTEM
   Base state: invisible + shifted down 22px
   Active state (.hero-loaded): fade in + rise
   Each child gets a unique animation-delay
   for a smooth cascading reveal.
═══════════════════════════════════════ */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* All direct hero children start hidden */
.hero-badge,
.hero-logo-wrap,
.hero h1,
.hero-tagline,
.states-banner,
.hero-stats,
.hero-cta,
.scroll-hint {
  opacity: 0;
  animation-fill-mode: both;
}

/* Once page is ready, trigger the cascade */
.hero.hero-loaded .hero-badge     { animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
.hero.hero-loaded .hero-logo-wrap { animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both; }
.hero.hero-loaded h1              { animation: heroRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both; }
.hero.hero-loaded .hero-tagline   { animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.60s both; }
.hero.hero-loaded .states-banner  { animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.74s both; }
.hero.hero-loaded .hero-stats     { animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.88s both; }
.hero.hero-loaded .hero-cta       { animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.02s both; }
.hero.hero-loaded .scroll-hint    { animation: heroRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.20s both; }

/* ── Hero Badge ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201, 151, 58, 0.15);
  border: 1px solid rgba(201, 151, 58, 0.45);
  border-radius: 50px; padding: 6px 20px;
  font-size: 11px; font-weight: 700;
  color: #ffd966; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 10px; backdrop-filter: blur(2px);
}
.blink { animation: blink 1.2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── Hero Logo ── */
.hero-logo-wrap { margin-bottom: 10px; }
.hero-logo {
  width: 150px; height: 150px;
  background: white; border-radius: 50%;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(201, 151, 58, 0.3), 0 10px 30px black;
  padding: 4px; overflow: hidden;
}
.hero-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

/* ── Hero Title ── */
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900; color: white;
  line-height: 1.1; letter-spacing: -1px;
  margin-bottom: 6px;
}
.hero h1 em {
  display: block; font-style: italic;
  font-size: clamp(16px, 2.5vw, 28px);
  font-weight: 400; color: #ffd966;
  letter-spacing: 3px; margin-top: 4px;
}

/* ── Tagline ── */
.hero-tagline {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; margin: 6px 0 10px;
  flex-wrap: wrap;
}
.tag-word { font-family: 'Bebas Neue', sans-serif; font-size: clamp(16px, 2.5vw, 24px); color: white; letter-spacing: 3px; }
.tag-dot  { width: 5px; height: 5px; background: #c9973a; border-radius: 50%; }

/* ── States Banner ── */
.states-banner {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px; padding: 6px 18px;
  margin-bottom: 12px; backdrop-filter: blur(2px);
  flex-wrap: wrap; justify-content: center;
}
.states-banner span { font-size: 11px; color: rgba(255, 255, 255, 0.8); letter-spacing: 1px; }
.state-chip {
  background: #1a2c5b; border: 1px solid #c9973a; border-radius: 4px;
  padding: 3px 10px; font-size: 10px; font-weight: 700; color: #ffd966;
}

/* ── Hero Stats ── */
.hero-stats {
  display: flex; gap: 20px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 14px;
}
.h-stat     { text-align: center; }
.h-stat .num { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: #ffd966; line-height: 1; }
.h-stat .lbl { font-size: 9px; color: rgba(255, 255, 255, 0.6); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.h-divider  { width: 1px; height: 30px; background: rgba(255, 255, 255, 0.18); align-self: center; }

/* ── Hero CTA Buttons ── */
.hero-cta {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 0;
}

.btn-gold {
  background: linear-gradient(135deg, #c9973a 0%, #e8b85a 100%);
  color: #0f1d3d; font-weight: 700; font-size: 12px;
  padding: 8px 20px; border-radius: 5px;
  letter-spacing: 1px; text-transform: uppercase;
  transition: all 0.2s; box-shadow: 0 8px 22px rgba(201, 151, 58, 0.4);
  display: inline-block;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(201, 151, 58, 0.55); }

.btn-white {
  background: transparent; color: white; font-weight: 600; font-size: 12px;
  padding: 8px 20px; border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 1px; text-transform: uppercase;
  transition: all 0.2s; display: inline-block;
}
.btn-white:hover { border-color: white; background: rgba(255, 255, 255, 0.08); }

.btn-outline-gold {
  background: transparent; color: #ffd966; font-weight: 600; font-size: 12px;
  padding: 8px 20px; border-radius: 5px;
  border: 1.5px solid rgba(201, 151, 58, 0.45);
  letter-spacing: 1px; text-transform: uppercase;
  transition: all 0.2s; display: inline-block;
}
.btn-outline-gold:hover { border-color: #c9973a; background: rgba(201, 151, 58, 0.1); }

/* — CTA hover states for inline-style links — */
.hero-cta a:hover { transform: translateY(-2px); }

/* ── Scroll Hint ── */
.scroll-hint {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(255, 255, 255, 0.35); font-size: 8px; letter-spacing: 2px;
  text-transform: uppercase; z-index: 20;
  /* overrides the heroRise transform so it stays fixed */
  position: absolute;
}
.scroll-line {
  width: 1px; height: 18px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent);
  animation: scrollMove 2.2s infinite;
}
@keyframes scrollMove {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ══════════════════════════════════════════════
   6. TICKER / ANNOUNCEMENT BAR
══════════════════════════════════════════════ */
.ticker-wrap  { overflow: hidden; width: 100%; }
.ticker-move  { display: inline-block; white-space: nowrap; animation: ticker-scroll 35s linear infinite; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-item  { font-size: 14px; font-weight: 600; letter-spacing: 0.4px; padding: 0 10px; }
.ticker-sep   { color: #c9a84c; padding: 0 6px; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════
   7. SHARED SECTION STYLES
══════════════════════════════════════════════ */
.section      { padding: 88px 0; }
.section-alt  { background: var(--white); }
.section-dark {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: white;
}
.section-dark .section-title { color: white; }
.section-dark .section-label { color: var(--gold-light); }
.section-dark .gold-line      { background: linear-gradient(to right, var(--gold-light), transparent); }
.section-dark .section-sub    { color: rgba(255, 255, 255, 0.65); }
.section-divider              { height: 4px; background: linear-gradient(to right, var(--navy-dark), var(--gold), var(--navy-dark)); }

/* ══════════════════════════════════════════════
   8. COURSES SECTION
══════════════════════════════════════════════ */
#courses             { padding-left: 0; padding-right: 0; }
#courses .container  { max-width: 100%; padding: 0 48px; }

.courses-special-header            { text-align: center; margin-bottom: 50px; }
.courses-special-header .section-title { max-width: 600px; margin: 0 auto; }

.courses-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }

/* — Course Card — */
.course-card {
  position: relative; background: white; border-radius: 16px;
  overflow: hidden; border: 1px solid rgba(26, 44, 91, 0.1);
  box-shadow: 0 4px 20px rgba(26, 44, 91, 0.07); cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.3s;
  display: flex; flex-direction: column; min-width: 0;
  animation: cardIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* Staggered entrance */
.course-card:nth-child(1)  { animation-delay: 0.05s; }
.course-card:nth-child(2)  { animation-delay: 0.12s; }
.course-card:nth-child(3)  { animation-delay: 0.19s; }
.course-card:nth-child(4)  { animation-delay: 0.26s; }
.course-card:nth-child(5)  { animation-delay: 0.33s; }
.course-card:nth-child(6)  { animation-delay: 0.40s; }
.course-card:nth-child(7)  { animation-delay: 0.47s; }
.course-card:nth-child(8)  { animation-delay: 0.54s; }
.course-card:nth-child(9)  { animation-delay: 0.61s; }
.course-card:nth-child(10) { animation-delay: 0.68s; }

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

.course-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 28px 60px rgba(26, 44, 91, 0.18);
  border-color: rgba(201, 151, 58, 0.4);
}

/* Gold shimmer sweep on top edge */
.course-card::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, #c9973a, #e8b85a, transparent);
  transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1); z-index: 10;
}
.course-card:hover::before { left: 100%; }

.course-card-img {
  width: 100%; height: 120px; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s;
  filter: brightness(0.85) saturate(1.1);
}
.course-card:hover .course-card-img { transform: scale(1.08); filter: brightness(0.7) saturate(1.3); }

.course-card-top {
  background: linear-gradient(135deg, #1a2c5b 0%, #1e3a7a 100%);
  padding: 14px 16px 12px; position: relative; overflow: hidden;
}
.course-card-top::after {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 80px; height: 80px; background: rgba(201, 151, 58, 0.1);
  border-radius: 50%; transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.course-card:hover .course-card-top::after { transform: scale(2.8); }

.course-badge {
  display: inline-block; background: rgba(201, 151, 58, 0.2);
  border: 1px solid rgba(201, 151, 58, 0.4); color: var(--gold-light);
  font-size: 9px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 100px; margin-bottom: 7px;
}

.course-title {
  font-family: 'Playfair Display', serif; font-size: 13px;
  font-weight: 700; color: white; line-height: 1.35;
}

.collab-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, 0.95); color: var(--navy);
  font-size: 10px; font-weight: 700; padding: 4px 10px;
  border-radius: 50px; margin-top: 8px; position: relative; z-index: 1;
  letter-spacing: 0.3px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; max-width: 100%;
  transition: background 0.3s, transform 0.3s;
}
.course-card:hover .collab-badge { background: #fff; transform: translateY(-2px); }

.course-card-body     { flex: 1; padding: 12px 14px; }
.course-highlights    { display: grid; gap: 5px; }

.ch-row {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 11px; color: var(--text-mid); line-height: 1.45;
  padding: 4px 0; border-bottom: 1px solid rgba(26, 44, 91, 0.05);
  transition: color 0.2s, padding-left 0.25s;
}
.ch-row:last-child { border-bottom: none; }
.ch-row:hover      { padding-left: 4px; color: var(--navy) !important; }
.ch-row::before {
  content: ''; width: 5px; height: 5px; background: var(--gold);
  border-radius: 50%; flex-shrink: 0; margin-top: 5px; transition: transform 0.2s;
}
.ch-row:hover::before { transform: scale(1.6); }

.course-card-footer {
  padding: 10px 14px; border-top: 1px solid rgba(26, 44, 91, 0.07);
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(242, 245, 251, 0.6); margin-top: auto; gap: 6px;
}
.course-seats { font-size: 10px; font-weight: 700; color: var(--crimson); }
.course-seats::before { content: '⚡'; }
.course-link {
  font-size: 11px; font-weight: 700; color: var(--navy);
  white-space: nowrap; display: flex; align-items: center; gap: 4px;
  transition: gap 0.25s, color 0.25s;
}
.course-card:hover .course-link { gap: 8px; color: var(--gold); }

/* ══════════════════════════════════════════════
   9. INTERNATIONAL INTERNSHIPS SECTION
══════════════════════════════════════════════ */
.intl-section {
  background: var(--light);
  overflow: hidden;
  position: relative;
}

/* Floating background orbs */
.intl-section::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatOrb 8s ease-in-out infinite;
  pointer-events: none;
}
.intl-section::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26, 44, 91, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatOrb 10s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -30px) scale(1.1); }
}

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

/* Big stat card */
.intl-stat-big {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark); border-radius: var(--radius-lg);
  padding: 44px; text-align: center; margin-bottom: 22px;
  position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}
.intl-stat-big:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 60px rgba(201, 151, 58, 0.3); }
.intl-stat-big::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg); transition: none;
}
.intl-stat-big:hover::after { animation: shimmerSweep 0.7s ease forwards; }
@keyframes shimmerSweep { to { left: 150%; } }

.intl-stat-big .big  { font-family: 'Bebas Neue', sans-serif; font-size: 80px; line-height: 1; display: inline-block; }
.intl-stat-big .desc { font-size: 18px; font-weight: 700; margin-top: 8px; line-height: 1.4; }
.intl-stat-big .sub  { font-size: 13px; margin-top: 6px; opacity: 0.75; }

/* Country chips */
.country-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.country-chip {
  background: white; border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(16px) scale(0.9);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, opacity 0.4s;
}
.country-chip.chip-visible { opacity: 1; transform: translateY(0) scale(1); }
.country-chip:hover { border-color: var(--gold); transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 24px rgba(201, 151, 58, 0.2); }

/* Points list */
.intl-points { display: grid; gap: 14px; }
.intl-point {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; background: white;
  border-radius: var(--radius); border-left: 3px solid var(--gold);
  font-size: 14.5px; color: var(--text-mid);
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.3s, box-shadow 0.3s;
}
.intl-point.point-visible { opacity: 1; transform: translateX(0); }
.intl-point:hover         { border-color: var(--navy); color: var(--text-dark); transform: translateX(6px); box-shadow: 0 8px 28px rgba(26, 44, 91, 0.12); }
.intl-point-icon          { font-size: 20px; flex-shrink: 0; display: inline-block; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.intl-point:hover .intl-point-icon { transform: scale(1.3) rotate(-5deg); }

/* Left side parallax wrapper */
.intl-left-wrap { position: relative; will-change: transform; }

/* Section heading reveal triggered by .intl-in-view */
.intl-section .section-label {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
}
.intl-section.intl-in-view .section-label { opacity: 1; transform: translateY(0); }

.intl-section .section-title {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s 0.1s, transform 0.6s 0.1s;
}
.intl-section.intl-in-view .section-title { opacity: 1; transform: translateY(0); }

.intl-section .gold-line {
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.intl-section.intl-in-view .gold-line { transform: scaleX(1); }

/* ══════════════════════════════════════════════
   10. PLACEMENTS SECTION
══════════════════════════════════════════════ */
.placement-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.pkg-hero {
  text-align: center; padding: 50px 40px;
  background: rgba(255, 255, 255, 0.06); border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 151, 58, 0.3);
}
.pkg-hero .eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.55; margin-bottom: 20px; }
.pkg-num  { font-family: 'Bebas Neue', sans-serif; font-size: 96px; color: var(--gold-light); line-height: 1; }
.pkg-lbl  { font-size: 13px; opacity: 0.65; letter-spacing: 2px; text-transform: uppercase; }
.pkg-name { font-family: 'Playfair Display', serif; font-size: 20px; color: white; margin-top: 16px; }

.pkg-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.pkg-sub-item { background: rgba(255, 255, 255, 0.07); border-radius: 8px; padding: 14px; text-align: center; }
.pkg-sub-item .pkg-sub-num  { color: var(--gold-light); font-weight: 700; font-size: 16px; }
.pkg-sub-item .pkg-sub-name { font-size: 11px; opacity: 0.65; margin-top: 3px; }

.p-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p-stat {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.p-stat .num { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--gold-light); }
.p-stat .lbl { font-size: 12px; opacity: 0.65; letter-spacing: 1px; margin-top: 4px; }

/* Recruiters */
.recruiters-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.recruiters-label   { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; opacity: 0.55; margin-bottom: 18px; }
.recruiter-tags     { display: flex; flex-wrap: wrap; gap: 10px; }
.recruiter-tag {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px; border-radius: 5px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px; color: white; transition: var(--transition);
}
.recruiter-tag:hover { background: rgba(201, 151, 58, 0.2); border-color: var(--gold); }

/* Recruiter Logo Carousel */
.recr-logo-item {
  width: 150px; height: 80px; background: white;
  border: 1px solid rgba(26, 44, 91, 0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 18px; box-shadow: 0 2px 12px rgba(26, 44, 91, 0.06);
  flex-shrink: 0; transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.recr-logo-item:hover { box-shadow: 0 8px 28px rgba(201, 151, 58, 0.18); transform: translateY(-3px); border-color: var(--gold); }
.recr-logo-item img   { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(30%); transition: filter 0.3s ease; }
.recr-logo-item:hover img { filter: grayscale(0%); }

@keyframes scrollLeft  { 0% { transform: translateX(0); }    100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.recr-left  { animation: scrollLeft  32s linear infinite; }
.recr-right { animation: scrollRight 28s linear infinite; }
.recr-left:hover,
.recr-right:hover { animation-play-state: paused; }

/* ══════════════════════════════════════════════
   11. WHY SANJIVANI SECTION
══════════════════════════════════════════════ */
.wcu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wcu-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 8px 30px rgba(26, 44, 91, 0.10);
  text-decoration: none; display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.wcu-card:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(26, 44, 91, 0.20); }

.wcu-img-wrap { height: 220px; overflow: hidden; position: relative; }
.wcu-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.wcu-card:hover .wcu-img-wrap img { transform: scale(1.08); }
.wcu-img-wrap .wcu-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(15, 29, 61, 0.80) 100%); }

.wcu-img-label {
  position: absolute; bottom: 14px; left: 16px;
  background: rgba(201, 151, 58, 0.92); color: #0f1d3d;
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
}
.wcu-card-body  { padding: 20px 22px 22px; }
.wcu-card-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; }
.wcu-card-desc  { font-size: 13px; color: var(--text-mid); line-height: 1.65; }

/* ══════════════════════════════════════════════
   12. FACILITIES SECTION
══════════════════════════════════════════════ */
.fac-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 40px; }
.fac-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--cream); transition: var(--transition);
}
.fac-item:hover { border-color: var(--gold); background: white; box-shadow: 0 8px 28px rgba(201, 151, 58, 0.1); transform: translateY(-3px); }
.fac-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.fac-text { font-size: 13.5px; font-weight: 600; color: var(--text-dark); line-height: 1.4; }

/* ══════════════════════════════════════════════
   13. DOWNLOADS SECTION
══════════════════════════════════════════════ */
.downloads-section { background: white; }
.downloads-grid    { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }

.dl-card {
  background: white; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}
.dl-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }

.dl-preview { position: relative; overflow: hidden; height: 180px; }
.dl-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s ease; }
.dl-card:hover .dl-preview img { transform: scale(1.1); }

.dl-overlay {
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-25deg);
}
.dl-card:hover .dl-overlay { animation: shine 0.8s forwards; }
@keyframes shine { 100% { left: 150%; } }

.dl-body  { padding: 22px 24px; }
.dl-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; }
.dl-desc  { font-size: 13.5px; color: var(--text-mid); margin-bottom: 18px; line-height: 1.6; }

.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #b3912b; color: white; font-size: 13px; font-weight: 700;
  padding: 10px 18px; border-radius: 8px; letter-spacing: 0.5px;
  transition: var(--transition); border: none; cursor: pointer;
}
.dl-btn:hover { background: #000; transform: translateY(-2px); }

/* — Fee structure lock overlay — */
#feeStructureCard { position: relative; }

#feeStructureCard.fee-locked #feeStructureImg {
  filter: blur(3px) brightness(0.4) saturate(0.5);
  transition: filter 0.4s ease;
}

.fee-lock-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 29, 61, 0.55); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none; z-index: 5;
}
#feeStructureCard.fee-locked .fee-lock-overlay {
  opacity: 1; pointer-events: auto; cursor: pointer;
}

.fee-lock-content {
  text-align: center; color: white;
  transform: translateY(6px); transition: transform 0.35s ease;
}
#feeStructureCard.fee-locked:hover .fee-lock-content { transform: translateY(0); }

.fee-lock-icon {
  font-size: 40px; line-height: 1; margin-bottom: 10px;
  animation: lockPulse 2.2s ease-in-out infinite;
}
@keyframes lockPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 6px rgba(201, 151, 58, 0.5)); }
  50%       { transform: scale(1.12); filter: drop-shadow(0 0 16px rgba(201, 151, 58, 0.9)); }
}

.fee-lock-text {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: #ffd966; background: rgba(201, 151, 58, 0.2);
  border: 1px solid rgba(201, 151, 58, 0.5); padding: 6px 16px; border-radius: 100px;
}

#feeStructureCard.fee-unlocked #feeStructureImg {
  filter: brightness(1) saturate(1); transition: filter 0.4s ease;
}
#feeStructureCard.fee-unlocked .fee-lock-overlay {
  opacity: 0 !important; pointer-events: none !important;
}

/* ══════════════════════════════════════════════
   14. CONTACT / ADMISSION PROCESS
══════════════════════════════════════════════ */
.reg-process-wrap { display: flex; flex-direction: column; gap: 0; }

.reg-step {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 0; position: relative; transition: all 0.3s ease;
}
.reg-step:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 56px;
  width: 2px; height: calc(100% - 20px);
  background: linear-gradient(to bottom, var(--gold), rgba(201, 151, 58, 0.15));
}

.reg-step-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(201, 151, 58, 0.25);
  position: relative; z-index: 1; transition: all 0.3s;
}
.reg-step:hover .reg-step-icon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: scale(1.1); box-shadow: 0 6px 20px rgba(201, 151, 58, 0.4);
}

.reg-step-num {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; background: var(--gold); color: var(--navy-dark);
  font-size: 9px; font-weight: 800; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.reg-step-content { flex: 1; padding-top: 6px; }
.reg-step-title   { font-size: 15px; font-weight: 700; color: var(--navy-dark); margin-bottom: 3px; line-height: 1.3; }
.reg-step-desc    { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

.reg-step-badge {
  display: inline-block; background: rgba(201, 151, 58, 0.1);
  border: 1px solid rgba(201, 151, 58, 0.3); color: var(--gold);
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 2px 9px; border-radius: 100px; margin-top: 5px; text-transform: uppercase;
}
.reg-step:hover .reg-step-title  { color: var(--navy); }
.reg-step:hover .reg-step-badge  { background: rgba(201, 151, 58, 0.18); border-color: var(--gold); }

/* Registration Form */
.form-card { background: white; border-radius: var(--radius-lg); padding: 42px 40px; box-shadow: 0 5px 5px 5px rgba(0, 0, 0, 0.3); }
.form-card h3 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--navy-dark); margin-bottom: 6px; }
.form-card > p { font-size: 14px; color: var(--text-mid); margin-bottom: 28px; }

.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 6px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--text-dark); background: var(--cream);
  transition: var(--transition); outline: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy); background: white;
  box-shadow: 0 0 0 3px rgba(26, 44, 91, 0.08);
}
.form-group textarea { resize: none; height: 88px; }

.form-limited {
  display: flex; align-items: center; gap: 10px;
  background: rgba(201, 151, 58, 0.1); border: 1px solid rgba(201, 151, 58, 0.35);
  border-radius: 6px; padding: 12px 16px; margin-bottom: 16px;
  font-size: 13px; font-weight: 600; color: var(--gold);
}

.btn-submit {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white; border-radius: 6px; font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; transition: var(--transition); margin-top: 6px;
}
.btn-submit:hover {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark));
  transform: translateY(-2px); box-shadow: 0 12px 36px rgba(26, 44, 91, 0.35);
}

.perk-row { display: flex; align-items: flex-start; gap: 12px; }

#agree {
  width: 18px !important; height: 18px !important;
  accent-color: #c9973a !important; cursor: pointer; flex-shrink: 0;
  margin-top: 2px; appearance: auto; -webkit-appearance: auto;
}

/* Form validation */
.error-field   { border-color: #dc3545 !important; background-color: #fff8f8 !important; }
.error-message { color: #dc3545; font-size: 12px; margin-top: 4px; padding-left: 4px; font-weight: 500; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.shake { animation: shake 0.5s ease-in-out; }

.success-msg {
  display: none;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 1.5px solid #28a745; border-radius: 8px; padding: 18px 20px;
  text-align: center; color: #155724; font-weight: 600; margin-top: 16px;
  animation: slideDown 0.5s ease-out;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════════════════
   15. WELCOME MODAL
══════════════════════════════════════════════ */
#welcomeModal {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65);
  z-index: 99999; display: flex; align-items: center; justify-content: center;
  padding: 16px; backdrop-filter: blur(3px); animation: modalFadeIn 0.4s ease;
}
#welcomeModal.hidden { display: none; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.wm-box {
  background: #fff; border-radius: 16px; width: 100%; max-width: 500px;
  max-height: 90vh; overflow-y: auto;
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative;
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wm-header {
  background: linear-gradient(135deg, #1a2c5b 0%, #2b3f66 100%);
  padding: 24px 28px 20px; border-radius: 16px 16px 0 0;
  position: sticky; top: 0; z-index: 1;
}
.wm-close {
  position: absolute; top: 14px; right: 16px; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.15); border: none;
  color: rgba(255, 255, 255, 0.8); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.wm-close:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

.wm-badge {
  display: inline-block; background: rgba(201, 151, 58, 0.2);
  border: 1px solid rgba(201, 151, 58, 0.45); color: #e8b85a;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 10px;
}
.wm-title    { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.wm-subtitle { font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.wm-body { padding: 24px 28px 28px; }
.wm-body .form-group { margin-bottom: 12px; }

.wm-body input,
.wm-body select {
  width: 100%; padding: 10px 14px; border: 1.5px solid #e2e6ed;
  border-radius: 8px; font-size: 14px; color: #1a2c5b; background: #fff;
  box-sizing: border-box; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.wm-body input:focus,
.wm-body select:focus { border-color: #1a2c5b; box-shadow: 0 0 0 3px rgba(26, 44, 91, 0.1); }

#welcomeModal input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; width: 16px; height: 16px; accent-color: #1a2c5b; }
.form-group input[type="checkbox"]   { display: inline-block; visibility: visible; }

.wm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.wm-submit {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #1a2c5b 0%, #2b3f66 100%);
  color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700;
  cursor: pointer; margin-top: 6px; letter-spacing: 0.5px; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(26, 44, 91, 0.3);
}
.wm-submit:hover {
  background: linear-gradient(135deg, #c9973a 0%, #e8b85a 100%);
  color: #0f1d3d; box-shadow: 0 8px 24px rgba(201, 151, 58, 0.4); transform: translateY(-2px);
}

.wm-note   { font-size: 11px; color: #9ca3af; text-align: center; margin-top: 10px; line-height: 1.5; }
.wm-skip   { text-align: center; margin-top: 12px; font-size: 12px; color: #9ca3af; }
.wm-skip a { color: #9ca3af; text-decoration: underline; cursor: pointer; }

.wm-success {
  display: none; background: #f0fdf4; border: 1px solid #86efac;
  border-radius: 8px; padding: 14px 18px; color: #166534;
  font-size: 14px; font-weight: 600; text-align: center; margin-top: 12px;
}
.wm-error     { border-color: #f87171 !important; }
.wm-error-msg { font-size: 11px; color: #ef4444; margin-top: 3px; margin-left: 2px; }

/* ══════════════════════════════════════════════
   16. FOOTER
══════════════════════════════════════════════ */
.su-footer {
  width: 100%;
  background: linear-gradient(180deg, var(--ft-bg1) 0%, var(--ft-bg2) 60%, var(--ft-bg3) 100%);
  position: relative; overflow: hidden;
}
.su-footer::before {
  content: ''; position: absolute; top: -120px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.07) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.su-footer::after {
  content: ''; position: absolute; bottom: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(26, 44, 91, 0.35) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

.su-footer-topbar {
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--ft-gold) 25%, var(--ft-gold-light) 50%, var(--ft-gold) 75%, transparent 100%);
}

.su-footer-body {
  max-width: 1400px; width: 100%; margin: 0 auto;
  padding: 64px 40px 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 0.85fr 1.4fr;
  gap: 52px; position: relative; z-index: 1;
}

/* Col 1 — Brand */
.su-ft-logo-box {
  display: inline-flex; align-items: center; gap: 14px;
  background: #ffffff; border-radius: 12px; padding: 12px 20px 12px 14px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 151, 58, 0.3);
  transition: box-shadow 0.3s ease;
}
.su-ft-logo-box:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(201, 151, 58, 0.5); }
.su-ft-logo-img  { height: 64px; width: auto; object-fit: contain; display: block; }
.su-ft-logo-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 900; color: #0f1d3d; line-height: 1.1; letter-spacing: -0.3px; }
.su-ft-logo-sub  { font-size: 9.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #c9973a; margin-top: 3px; }

.su-ft-tagline { font-size: 13px; color: var(--ft-muted); line-height: 1.75; margin-bottom: 24px; max-width: 290px; }
.su-ft-tagline strong { color: var(--ft-gold-light); font-style: italic; }

.su-ft-contacts    { display: grid; gap: 11px; margin-bottom: 26px; }
.su-ft-contact-row {
  display: flex; align-items: flex-start; gap: 11px; font-size: 13px;
  color: var(--ft-muted); text-decoration: none; line-height: 1.55; transition: color 0.2s;
}
.su-ft-contact-row:hover { color: var(--ft-gold-light); }
.su-ft-contact-icon {
  width: 30px; height: 30px; background: var(--ft-gold-pale);
  border: 1px solid var(--ft-border-gold); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}

.su-ft-socials { display: flex; gap: 9px; flex-wrap: wrap; }
.su-ft-social {
  width: 36px; height: 36px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.su-ft-social:hover { background: rgba(201, 151, 58, 0.22); border-color: var(--ft-gold); transform: translateY(-3px); }
.su-ft-social svg   { width: 15px; height: 15px; fill: white; }

/* Col titles */
.su-ft-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9); margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--ft-gold); display: flex; align-items: center; gap: 8px;
}
.su-ft-col-title::before { content: ''; width: 18px; height: 2px; background: var(--ft-gold); display: inline-block; }

/* Quick links */
.su-ft-links      { display: grid; gap: 9px; }
.su-ft-link {
  display: flex; align-items: center; gap: 9px; font-size: 13.5px;
  color: var(--ft-muted); text-decoration: none; transition: all 0.22s; padding: 2px 0;
}
.su-ft-link-arrow   { font-size: 12px; color: var(--ft-gold); transition: transform 0.22s; flex-shrink: 0; }
.su-ft-link:hover   { color: var(--ft-gold-light); }
.su-ft-link:hover .su-ft-link-arrow { transform: translateX(5px); }

/* Office hours */
.su-ft-hours-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ft-border-gold);
  border-radius: 10px; padding: 18px 20px; margin-bottom: 18px;
}
.su-ft-hours-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ft-gold); margin-bottom: 8px; font-weight: 700; }
.su-ft-hours-time  { font-size: 16px; color: white; font-weight: 700; font-family: 'Playfair Display', serif; }
.su-ft-hours-days  { font-size: 11px; color: rgba(255, 255, 255, 0.4); margin-top: 4px; }

.su-ft-admission-card {
  background: linear-gradient(135deg, rgba(201, 151, 58, 0.14) 0%, rgba(201, 151, 58, 0.06) 100%);
  border: 1px solid rgba(201, 151, 58, 0.3); border-radius: 10px;
  padding: 18px 20px; text-align: center;
}
.su-ft-admission-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ft-gold); font-weight: 700; margin-bottom: 12px; }

.su-ft-register-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ft-gold) 0%, var(--ft-gold-light) 100%);
  color: #0f1d3d; font-size: 12px; font-weight: 800; padding: 10px 22px;
  border-radius: 6px; text-decoration: none; letter-spacing: 1px;
  transition: all 0.3s; box-shadow: 0 4px 16px rgba(201, 151, 58, 0.3);
}
.su-ft-register-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201, 151, 58, 0.45); }

/* Map col */
.su-ft-map-frame { border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 16px; }
.su-ft-map-frame iframe { display: block; width: 100%; height: 160px; border: 0; }

.su-ft-reach-list { display: grid; gap: 7px; }
.su-ft-reach-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; background: rgba(255, 255, 255, 0.04);
  border-radius: 6px; font-size: 12.5px; transition: background 0.2s;
}
.su-ft-reach-row:hover   { background: rgba(201, 151, 58, 0.08); }
.su-ft-reach-name        { color: rgba(255, 255, 255, 0.7); }
.su-ft-reach-time        { color: var(--ft-gold-light); font-weight: 700; font-size: 12px; }

/* Footer bottom bar */
.su-footer-bottom { width: 100%; border-top: 1px solid var(--ft-border); background: rgba(0, 0, 0, 0.2); position: relative; z-index: 1; }
.su-footer-bottom-inner {
  max-width: 1400px; margin: 0 auto; padding: 18px 40px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.su-footer-copy   { font-size: 12.5px; color: rgba(255, 255, 255, 0.38); }
.su-footer-copy a { color: var(--ft-gold-light); text-decoration: none; font-weight: 600; }
.su-footer-copy a:hover { color: var(--ft-gold); }

.su-footer-states       { display: flex; gap: 8px; align-items: center; }
.su-footer-state-chip   {
  background: rgba(201, 151, 58, 0.12); border: 1px solid rgba(201, 151, 58, 0.25);
  color: var(--ft-gold-light); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; padding: 4px 12px; border-radius: 100px;
}

/* ══════════════════════════════════════════════
   17. SCROLL REVEAL UTILITY
══════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Animated section background */
.animated-section { position: relative; overflow: hidden; background: linear-gradient(120deg, #f8f9fa, #eef1f5); }
.animated-section::before {
  content: ''; position: absolute; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.15), transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.05), transparent 40%);
  animation: bgMove 10s linear infinite;
}
@keyframes bgMove { 0% { transform: translate(0, 0); } 50% { transform: translate(-10%, -10%); } 100% { transform: translate(0, 0); } }

/* ══════════════════════════════════════════════
   18. RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════ */

/* — 1200px — */
@media (max-width: 1200px) {
  .container          { padding: 0 36px; }
  #courses .container { padding: 0 36px; }
  .courses-grid       { grid-template-columns: repeat(4, 1fr); }

  .su-footer-body { grid-template-columns: 1.4fr 1fr 0.85fr; padding: 56px 32px 36px; }
  .su-footer-body > *:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .su-ft-map-frame iframe { height: 130px; }
}

/* — 1024px — */
@media (max-width: 1024px) {
  .wcu-grid { grid-template-columns: repeat(2, 1fr); }
}

/* — 900px — */
@media (max-width: 900px) {
  .container          { padding: 0 24px; }
  #courses .container { padding: 0 24px; }
  .courses-grid       { grid-template-columns: repeat(3, 1fr); }

  .main-nav, .header-cta-btn { display: none; }
  .hamburger  { display: flex; }
  .mobile-nav { display: block; }

  .intl-grid, .placement-top { grid-template-columns: 1fr; gap: 40px; }
  .p-stats-grid, .pkg-sub-grid { grid-template-columns: 1fr 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .h-divider  { display: none; }
  .hero-stats { gap: 12px; }

  .contact-grid   { grid-template-columns: 1fr !important; gap: 40px !important; }
  .wcu-grid       { grid-template-columns: repeat(2, 1fr); }

  .su-footer-body { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 24px 32px; }
  .su-footer-body > *:last-child { grid-column: span 2; display: block; }
  .su-ft-reach-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .su-footer-bottom-inner { padding: 16px 24px; }

  .wm-row { grid-template-columns: 1fr; gap: 12px; }
}

/* — 700px — */
@media (max-width: 700px) {
  .hero         { min-height: 450px; padding: 0 16px 44px; }
  .h-divider    { display: none; }
  .states-banner { flex-wrap: wrap; justify-content: center; }
  .slider-btn   { width: 30px; height: 30px; font-size: 18px; }
}

/* — 640px — */
@media (max-width: 640px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

/* — 600px — */
@media (max-width: 600px) {
  .container          { padding: 0 16px; }
  #courses .container { padding: 0 16px; }
  .section            { padding: 60px 0; }
  .form-card          { padding: 28px 22px; }
  .pkg-num            { font-size: 72px; }
  .header-top         { display: none; }
  .states-banner      { flex-wrap: wrap; justify-content: center; }
  .contact-grid       { gap: 30px !important; }
  .wcu-grid           { grid-template-columns: 1fr; }

  .su-footer-body     { grid-template-columns: 1fr; gap: 28px; padding: 36px 18px 28px; }
  .su-footer-body > *:last-child { grid-column: auto; }
  .su-ft-reach-list   { grid-template-columns: 1fr; }
  .su-footer-bottom-inner { flex-direction: column; text-align: center; padding: 14px 18px; gap: 10px; }
  .su-footer-states   { justify-content: center; flex-wrap: wrap; }
  .su-ft-logo-box     { flex-direction: column; text-align: center; gap: 10px; }

  .wm-box    { border-radius: 12px; max-height: 95vh; }
  .wm-header { padding: 20px 20px 16px; border-radius: 12px 12px 0 0; }
  .wm-body   { padding: 18px 20px 22px; }
  .wm-title  { font-size: 19px; }
}

/* — 400px — */
@media (max-width: 400px) {
  .courses-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════
   19. FACILITIES SECTION — MOBILE GRID FIX
   Overrides the inline grid-template-columns
   since the grid is set inline on the element.
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  #facilities .container div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 520px) {
  #facilities .container div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}


/* ============================================================
   SANJIVANI UNIVERSITY — COURSES SECTION MOBILE RESPONSIVE FIX
   Add these rules to your existing stylesheet (or paste at bottom)
   ============================================================ */

/* ══════════════════════════════════════════════
   COURSES SECTION — FULL RESPONSIVE OVERHAUL
══════════════════════════════════════════════ */

/* Base: already 5-col on desktop — keep untouched */

/* — 1200px: 4 columns — */
@media (max-width: 1200px) {
  .courses-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

/* — 1024px: 3 columns — */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .course-card-img {
    height: 110px;
  }

  .course-title {
    font-size: 12.5px;
  }
}

/* — 900px: 2 columns — */
@media (max-width: 900px) {
  #courses .container {
    padding: 0 20px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .courses-special-header {
    margin-bottom: 32px;
    padding: 0 8px;
  }

  .courses-special-header .section-title {
    font-size: clamp(22px, 5vw, 32px);
  }

  .course-card-img {
    height: 130px;
  }

  .course-title {
    font-size: 13px;
  }

  .ch-row {
    font-size: 11.5px;
  }
}

/* — 640px: 2 columns, tighter — */
@media (max-width: 640px) {
  #courses {
    padding: 52px 0;
  }

  #courses .container {
    padding: 0 14px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .courses-special-header {
    margin-bottom: 24px;
  }

  .course-card {
    border-radius: 12px;
  }

  .course-card-img {
    height: 110px;
  }

  .course-card-top {
    padding: 10px 12px 10px;
  }

  .course-badge {
    font-size: 8px;
    padding: 2px 7px;
    margin-bottom: 5px;
  }

  .course-title {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .collab-badge {
    font-size: 9px;
    padding: 3px 8px;
    margin-top: 6px;
  }

  .course-card-body {
    padding: 10px 10px;
  }

  .ch-row {
    font-size: 10.5px;
    padding: 3px 0;
    line-height: 1.4;
  }

  .ch-row::before {
    width: 4px;
    height: 4px;
    margin-top: 4px;
  }

  .course-card-footer {
    padding: 8px 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .course-seats {
    font-size: 9px;
  }

  .course-link {
    font-size: 10.5px;
  }
}

/* — 480px: still 2 cols but very compact — */
@media (max-width: 480px) {
  #courses .container {
    padding: 0 10px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .course-card-img {
    height: 90px;
  }

  .course-card-top {
    padding: 8px 10px 8px;
  }

  .course-badge {
    font-size: 7.5px;
    padding: 2px 6px;
    margin-bottom: 4px;
    display: none; /* hide badge on very small to save space */
  }

  .course-title {
    font-size: 11px;
  }

  .collab-badge {
    font-size: 8.5px;
    padding: 2px 7px;
    margin-top: 5px;
  }

  .course-card-body {
    padding: 8px 8px;
  }

  .ch-row {
    font-size: 10px;
    padding: 2px 0;
  }

  /* Show only first 3 highlights on very small screens */
  .ch-row:nth-child(n+4) {
    display: none;
  }

  .course-card-footer {
    padding: 6px 8px;
  }

  .course-seats {
    display: none; /* remove seats text on tiny screens */
  }

  .course-link {
    font-size: 10px;
    font-weight: 700;
  }
}

/* — 360px: single column for the tiniest phones — */
@media (max-width: 360px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .course-card-img {
    height: 140px;
  }

  .course-badge {
    display: inline-block;
  }

  .ch-row:nth-child(n+4) {
    display: flex; /* restore hidden rows */
  }

  .course-seats {
    display: block;
    font-size: 10px;
  }

  .course-card-footer {
    flex-direction: row;
    align-items: center;
  }
}

/* ══════════════════════════════════════════════
   ALL SCHOOLS SUMMARY GRID — MOBILE FIX
══════════════════════════════════════════════ */
@media (max-width: 640px) {
  #courses div[style*="grid-template-columns:repeat(auto-fit"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  #courses div[style*="margin-top:48px"] {
    margin-top: 28px !important;
    padding: 22px 16px !important;
  }
}

@media (max-width: 400px) {
  #courses div[style*="grid-template-columns:repeat(auto-fit"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ══════════════════════════════════════════════
   HOVER EFFECTS — DISABLE ON TOUCH DEVICES
   (Prevents sticky hover states on mobile)
══════════════════════════════════════════════ */
@media (hover: none) {
  .course-card:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(26, 44, 91, 0.07);
    border-color: rgba(26, 44, 91, 0.1);
  }

  .course-card:hover .course-card-img {
    transform: none;
    filter: brightness(0.85) saturate(1.1);
  }

  .course-card:hover .collab-badge {
    transform: none;
  }

  .course-card:hover .course-link {
    gap: 4px;
    color: var(--navy);
  }
}