/* ==========================================================================
   Jaydurga Highschool and Jr. College - Official 3D Experience Stylesheet
   Location: Gaurnagar, Dist. Gondia, Maharashtra
   ========================================================================== */

:root {
  --primary: #f2542d;
  --primary-dark: #dc2f02;
  --primary-light: #ff7b54;
  --primary-glow: rgba(242, 84, 45, 0.35);
  
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --secondary-card: rgba(30, 41, 59, 0.7);
  
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-blue: #38bdf8;
  --accent-green: #10b981;
  --whatsapp: #25d366;
  
  --bg-dark: #0a0f1d;
  --bg-darker: #060913;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Outfit', 'Noto Sans Devanagari', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px var(--primary-glow);
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"],
body.light-theme {
  color-scheme: light;
  --bg-dark: #f8fafc;
  --bg-darker: #f1f5f9;
  --secondary: #e2e8f0;
  --secondary-light: #ffffff;
  --secondary-card: rgba(255, 255, 255, 0.95);
  
  --bg-card: #ffffff;
  --bg-card-border: rgba(15, 23, 42, 0.1);
  --bg-glass: rgba(15, 23, 42, 0.04);
  
  --text-main: #0f172a;
  --text-light: #334155;
  --text-muted: #475569;
  --text-dim: #64748b;

  /* Deeper accents so orange/gold text stays readable on white */
  --primary-light: #e0451e;
  --accent-gold-light: #b45309;
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 30px rgba(242, 84, 45, 0.2);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(242, 84, 45, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  letter-spacing: normal;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(242, 84, 45, 0.12);
  border: 1px solid rgba(242, 84, 45, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.35;
  padding-top: 0.2rem;
  padding-bottom: 0.15rem;
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.section-desc {
  font-size: 1.1rem;
}

/* Sticky Site Header (Both Top Action Bar & Main Navigation Stay Pinned on Scroll) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* Top Notification / Action Bar */
.top-bar {
  background: rgba(10, 15, 29, 0.98);
  border-bottom: 1px solid var(--bg-card-border);
  font-size: 0.82rem;
  padding: 0.35rem 0;
  position: relative;
  z-index: 1001;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.top-bar-badge svg {
  color: var(--accent-gold-light);
  flex-shrink: 0;
}

.top-bar-badge strong {
  color: var(--accent-gold-light);
  font-weight: 700;
}

.badge-separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.15rem;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.top-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.top-bar-btn.enquiry {
  background: rgba(242, 84, 45, 0.18);
  border: 1px solid rgba(242, 84, 45, 0.4);
  color: var(--primary-light);
}

.top-bar-btn.enquiry:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.top-bar-btn.login {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.top-bar-btn.login:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* Top Bar Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: var(--transition);
  font-family: inherit;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* Top Bar Language Toggle Button */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold-light);
  transition: var(--transition);
  font-family: inherit;
}

.lang-toggle-btn:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--accent-gold-light);
  transform: translateY(-1px);
}

/* Nav Actions Compact Switcher Buttons */
.theme-toggle-nav-btn,
.lang-toggle-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--bg-card-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  transition: var(--transition);
  font-family: inherit;
}

.theme-toggle-nav-btn:hover,
.lang-toggle-nav-btn:hover {
  background: rgba(242, 84, 45, 0.12);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

/* Main Navigation Bar */
.main-nav {
  position: relative;
  top: 0;
  z-index: 1002;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-card-border);
  transition: var(--transition);
}

.main-nav.scrolled {
  background: rgba(6, 9, 19, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1360px;
  margin: 0 auto;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 0 18px rgba(242, 84, 45, 0.4);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.08) rotate(5deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.52rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

.nav-icon svg {
  display: block;
  flex-shrink: 0;
}

.nav-icon-link:hover,
.nav-item.active .nav-icon-link,
.nav-item:hover .nav-icon-link {
  background: rgba(242, 84, 45, 0.16);
  border-color: rgba(242, 84, 45, 0.45);
  color: var(--primary-light);
  box-shadow: 0 4px 18px rgba(242, 84, 45, 0.22);
}

.nav-icon-link:hover .nav-icon,
.nav-item:hover .nav-icon-link .nav-icon {
  transform: scale(1.12);
}

.nav-label-mobile {
  display: none; /* Hidden on desktop so only icons show */
}

/* Floating Tooltip Badge on Hover - Always Positioned Below Menu Item */
.nav-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  bottom: auto;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: linear-gradient(135deg, #0a0f1d 0%, #1e293b 100%);
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85), 0 0 16px rgba(245, 158, 11, 0.35);
  color: #ffffff !important;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
  z-index: 99999;
}

.nav-tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent var(--accent-gold) transparent;
}

.nav-item:hover .nav-tooltip,
.nav-icon-link:focus-visible .nav-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* For items with dropdown: dropdown menu appears cleanly beneath the tooltip badge */
.nav-item.has-dropdown .dropdown-menu {
  top: calc(100% + 40px);
}

/* Continuous hover bridge from icon button to dropdown menu */
.nav-item.has-dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -42px;
  left: 0;
  right: 0;
  height: 42px;
  background: transparent;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--text-muted);
}

.nav-item.has-dropdown:hover .dropdown-chevron,
.nav-icon-link:hover .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--primary-light);
}

/* Dropdown Menu Box */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.45rem 0;
  list-style: none;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(242, 84, 45, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease-out;
  z-index: 120;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: rgba(242, 84, 45, 0.15);
  color: var(--primary-light);
  padding-left: 1.5rem;
}

.dropdown-menu li a::after {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Compact Navbar Apply Now Button */
.nav-actions .btn {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  gap: 0.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px var(--primary-glow);
  white-space: nowrap;
}

.nav-actions .btn svg {
  width: 13px;
  height: 13px;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(242, 84, 45, 0.5);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.btn-whatsapp {
  background: #25d366;
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #22bf5b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--bg-card-border);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Notice Ticker Bar */
.ticker-bar {
  background: linear-gradient(90deg, #1e1b4b 0%, #311042 50%, #1e1b4b 100%);
  border-bottom: 1px solid rgba(242, 84, 45, 0.2);
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ticker-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 1.25rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 0 10px var(--primary-glow);
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 3rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.ticker-item strong {
  color: var(--accent-gold-light);
  margin-right: 0.4rem;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Hero Section with 3D Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 10;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.35;
  padding-top: 0.35rem;
  padding-bottom: 0.15rem;
  margin-bottom: 1.25rem;
  overflow: visible;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--primary-light) 60%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  line-height: 1.35;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-card-border);
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.stat-item h3 span {
  color: var(--primary);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Homepage Important Quick Links Section
   ========================================================================== */
.quick-links-section {
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
  background: rgba(10, 15, 29, 0.7);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.quick-links-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.quick-link-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-link-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 84, 45, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(242, 84, 45, 0.12);
}

.quick-link-card:hover::before {
  opacity: 1;
}

.ql-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ql-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(242, 84, 45, 0.12);
  border: 1px solid rgba(242, 84, 45, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: var(--transition);
}

.quick-link-card:hover .ql-icon-box {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.ql-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.ql-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.ql-arrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: transform 0.2s ease;
}

.quick-link-card:hover .ql-arrow-badge {
  transform: translateX(4px);
}

/* Informational Notice & Modal Cards */
.modal-notice-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.modal-notice-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(242, 84, 45, 0.3);
}

.modal-notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.modal-notice-date {
  font-size: 0.78rem;
  color: var(--accent-gold-light);
  font-weight: 600;
}

.modal-notice-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(242, 84, 45, 0.18);
  color: var(--primary-light);
}

.modal-notice-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.modal-notice-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* Calendar Schedule Table in Modal */
.modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 1rem;
}

.modal-table th, .modal-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.modal-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modal-table td {
  color: #cbd5e1;
}

/* 3D Visualizer Container */
.hero-3d-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, rgba(10, 15, 29, 0.8) 100%);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.02);
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

/* 3D Floating Control Overlay */
.hero-3d-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  z-index: 20;
  pointer-events: none;
}

.hero-3d-controls > * {
  pointer-events: auto;
}

.control-pill-group {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  gap: 0.25rem;
}

.control-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.control-pill-btn.active,
.control-pill-btn:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.scene-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Campus Showcase (Real Photo Feature with 3D Tilt)
   ========================================================================== */
.campus-showcase-section {
  padding: 6rem 0;
  position: relative;
}

.campus-card-3d {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--secondary-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
}

.campus-card-3d:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(242, 84, 45, 0.2);
}

.campus-photo-holder {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.campus-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.campus-card-3d:hover .campus-photo-img {
  transform: scale(1.04);
}

.campus-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 29, 0.95) 0%, rgba(10, 15, 29, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.campus-badges {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.campus-badge {
  background: rgba(242, 84, 45, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.campus-badge.secondary {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.campus-overlay-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.campus-overlay-desc {
  color: #cbd5e1;
  max-width: 700px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.campus-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-point-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(242, 84, 45, 0.15);
  border: 1px solid rgba(242, 84, 45, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ==========================================================================
   Academics & Streams Section (3D Tilt Cards)
   ========================================================================== */
.academics-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
}

.stream-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.stream-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.stream-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stream-card:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 84, 45, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px var(--primary-glow);
}

.stream-card:hover::before {
  opacity: 1;
}

.stream-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(242, 84, 45, 0.1);
  border: 1px solid rgba(242, 84, 45, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.stream-card:hover .stream-icon {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(6deg) scale(1.08);
}

.stream-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.stream-title {
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.stream-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.stream-highlights {
  list-style: none;
  border-top: 1px solid var(--bg-card-border);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stream-highlights li {
  font-size: 0.88rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stream-highlights li svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ==========================================================================
   Facilities Section with Gallery
   ========================================================================== */
.facilities-section {
  padding: 6rem 0;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.facility-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  group: hover;
}

.facility-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.facility-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.facility-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.facility-card:hover .facility-img {
  transform: scale(1.08);
}

.facility-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.facility-body {
  padding: 1.75rem;
}

.facility-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.facility-desc {
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.facility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.facility-pill {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
}

/* ==========================================================================
   Admission Inquiry & Fast Form Section
   ========================================================================== */
.admission-section {
  padding: 6rem 0;
  position: relative;
}

.admission-card-wrap {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(242, 84, 45, 0.3);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px var(--primary-glow);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.admission-info-col h2 {
  font-size: 2.3rem;
  margin-bottom: 1.25rem;
}

.admission-info-col p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.admission-perks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.admission-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.admission-perk-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.admission-perk-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.admission-perk-text p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.admission-call-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.admission-call-box .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.admission-call-box .phones {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

/* Inquiry Form */
.inquiry-form-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   Contact & Location Details Section
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  background: rgba(6, 9, 19, 0.6);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: rgba(242, 84, 45, 0.4);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(242, 84, 45, 0.12);
  border: 1px solid rgba(242, 84, 45, 0.25);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card-body h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-card-body p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.phone-badge-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
}

.phone-badge:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Map / Directions Display */
.map-display-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
}

.map-frame-holder {
  width: 100%;
  flex: 1;
  position: relative;
  background: #1e293b;
}

.map-frame-holder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-card-footer {
  padding: 1.5rem 1.75rem;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--bg-card-border);
}

/* ==========================================================================
   Homepage Call To Action Section
   ========================================================================== */
.home-cta-section {
  padding: 5rem 0 6rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(242, 84, 45, 0.08) 0%, transparent 70%);
}

.home-cta-card {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(242, 84, 45, 0.18) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
              linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(242, 84, 45, 0.12);
  text-align: center;
  overflow: hidden;
}

.home-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold), var(--primary-light));
}

.home-cta-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.home-cta-title span {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-cta-desc {
  font-size: 1.18rem;
  color: #cbd5e1;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 0.75rem auto;
}

.home-cta-subdesc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.7;
}

.home-cta-subdesc strong {
  color: #ffffff;
  font-weight: 600;
}

.home-cta-values {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.home-cta-val-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: var(--transition);
}

.home-cta-val-chip:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(30, 41, 59, 0.85);
  transform: translateY(-2px);
}

.home-cta-val-chip svg {
  color: var(--accent-gold-light);
}

.home-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .home-cta-card {
    padding: 2.75rem 1.75rem;
  }
  .home-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .home-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--bg-card-border);
  padding: 4.5rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.footer-brand-text h3 {
  font-size: 1.15rem;
}

.footer-brand-text p {
  font-size: 0.75rem;
  color: var(--primary-light);
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--bg-card-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Floating Quick Actions */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 99;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1.4rem;
}

.floating-btn.wa {
  background: #25d366;
  color: #000;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.floating-btn.call {
  background: var(--primary);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

/* Modal Dialog for Online Admission */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--primary-glow);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--primary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 2rem auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-quick-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .admission-card-wrap {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1150px) {
  .nav-links {
    display: none;
  }
  
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(10, 15, 29, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.25rem 1.5rem 2rem 1.5rem;
    border-bottom: 1px solid var(--bg-card-border);
    gap: 0.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }

  .nav-item {
    width: 100%;
  }

  .nav-item > a,
  .nav-icon-link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary-light);
    flex-shrink: 0;
  }

  .nav-label-mobile {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    flex-grow: 1;
  }

  .nav-icon-link .dropdown-chevron {
    margin-left: auto;
  }

  .nav-tooltip {
    display: none !important;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(15, 23, 42, 0.65);
    border: none;
    border-left: 3px solid var(--primary);
    border-radius: 0;
    padding: 0.25rem 0 0.5rem 0.75rem;
    box-shadow: none;
    display: none;
  }

  .nav-item.mobile-dropdown-active .dropdown-menu {
    display: block;
  }

  .nav-item.mobile-dropdown-active > a .dropdown-chevron {
    transform: rotate(90deg);
  }

  .mobile-menu-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0.32rem 0;
  }

  .top-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
  
  .top-bar-info {
    display: inline-flex;
  }

  .top-bar-badge span:not([data-lang-en*="UDISE"]) {
    display: none;
  }

  .top-bar-actions {
    justify-content: flex-end;
    gap: 0.45rem;
  }

  .top-bar-btn {
    padding: 0.24rem 0.65rem;
    font-size: 0.76rem;
  }

  .hero-3d-wrapper {
    height: 400px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-actions {
    bottom: 1rem;
    right: 1rem;
  }
}

/* ==========================================================================
   School Profile & Official Accreditation Cards
   ========================================================================== */
.school-profile-section {
  padding: 5rem 0;
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(10, 15, 30, 0.9) 100%);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.profile-credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.profile-credential-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.profile-credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  opacity: 0.7;
}

.profile-credential-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.cred-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cred-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  flex-shrink: 0;
}

.cred-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.cred-card-header span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.cred-highlight-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.cred-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  width: fit-content;
  margin-top: auto;
}

.society-spotlight-box {
  background: linear-gradient(135deg, rgba(242, 84, 45, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  margin-top: 2.5rem;
  position: relative;
  overflow: hidden;
}

.society-spotlight-box::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.society-grid-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .society-grid-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.society-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.society-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.society-contact-pill:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--accent-gold-light);
  transform: translateX(4px);
}

/* ==========================================================================
   Comprehensive Light Theme Styles & Element Overrides
   ========================================================================== */
body.light-theme {
  background-color: #f8fafc;
  color: #0f172a;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(242, 84, 45, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(241, 245, 249, 0.75) 0%, transparent 100%);
}

/* Headings & Text */
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6,
body.light-theme .hero-title,
body.light-theme .section-title,
body.light-theme .card-title,
body.light-theme .stat-number,
body.light-theme .about-hero-title,
body.light-theme .narrative-lead,
body.light-theme .vm-hero-title,
body.light-theme .sanstha-hero-title,
body.light-theme .board-item strong {
  color: #0f172a !important;
}

body.light-theme p,
body.light-theme .hero-desc,
body.light-theme .section-subtitle,
body.light-theme .card-desc,
body.light-theme .feature-desc,
body.light-theme .stat-label,
body.light-theme .about-hero-subtitle,
body.light-theme .narrative-body p,
body.light-theme .vm-hero-desc,
body.light-theme .sanstha-hero-desc {
  color: #475569 !important;
}

/* Header & Navigation in Light Mode */
body.light-theme .site-header {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

body.light-theme .top-bar {
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-theme .top-bar-badge {
  color: #475569;
}

body.light-theme .top-bar-badge strong {
  color: #d97706;
}

body.light-theme .top-bar-badge svg {
  color: #d97706;
}

body.light-theme .badge-separator {
  color: rgba(15, 23, 42, 0.25);
}

body.light-theme .top-bar-btn.enquiry {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
}

body.light-theme .top-bar-btn.login {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

body.light-theme .top-bar-btn.login:hover {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.25);
}

body.light-theme .main-nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-theme .main-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

body.light-theme .brand-title {
  color: #0f172a;
}

body.light-theme .brand-sub {
  color: #64748b;
}

body.light-theme .nav-icon-link {
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

body.light-theme .nav-icon-link:hover,
body.light-theme .nav-item.active .nav-icon-link,
body.light-theme .nav-item:hover .nav-icon-link {
  background: rgba(242, 84, 45, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(242, 84, 45, 0.15);
}

body.light-theme .dropdown-chevron {
  color: #64748b;
}

body.light-theme .nav-item.has-dropdown:hover .dropdown-chevron,
body.light-theme .nav-icon-link:hover .dropdown-chevron {
  color: var(--primary);
}

body.light-theme .nav-tooltip {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1.5px solid var(--primary) !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25), 0 0 15px rgba(242, 84, 45, 0.25) !important;
}

body.light-theme .nav-tooltip::after {
  border-color: transparent transparent var(--primary) transparent !important;
}

body.light-theme .dropdown-menu {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

body.light-theme .dropdown-menu a {
  color: #334155;
}

body.light-theme .dropdown-menu a:hover {
  background: rgba(242, 84, 45, 0.08);
  color: var(--primary);
}

body.light-theme .theme-toggle-nav-btn,
body.light-theme .lang-toggle-nav-btn {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

body.light-theme .theme-toggle-nav-btn:hover,
body.light-theme .lang-toggle-nav-btn:hover {
  background: #f1f5f9;
  border-color: var(--primary);
  color: var(--primary);
}

/* Ticker Bar in Light Mode */
body.light-theme .ticker-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-theme .ticker-content {
  color: #1e293b;
}

body.light-theme .ticker-item {
  color: #334155;
}

/* Quick Links Section in Light Mode */
body.light-theme .quick-links-section {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .quick-link-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.light-theme .ql-title {
  color: #0f172a !important;
}

body.light-theme .ql-desc {
  color: #475569 !important;
}

body.light-theme .stat-item h3 {
  color: #0f172a !important;
}

body.light-theme .stat-item p {
  color: #64748b !important;
}

/* Academics & Streams in Light Mode */
body.light-theme .academics-section {
  background: linear-gradient(180deg, transparent 0%, #f1f5f9 50%, transparent 100%);
}

body.light-theme .stream-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.light-theme .stream-title {
  color: #0f172a !important;
}

body.light-theme .stream-desc {
  color: #475569 !important;
}

body.light-theme .stream-highlights {
  border-top-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .stream-highlights li {
  color: #334155 !important;
}

/* Facilities Section in Light Mode */
body.light-theme .facility-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.light-theme .facility-title {
  color: #0f172a !important;
}

body.light-theme .facility-desc {
  color: #475569 !important;
}

body.light-theme .facility-pill {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Campus Showcase Photo Overlay - Always High Contrast White Text in Light & Dark Mode */
.campus-photo-overlay {
  background: linear-gradient(to top, rgba(6, 10, 20, 0.97) 0%, rgba(10, 15, 29, 0.78) 50%, rgba(10, 15, 29, 0.25) 100%) !important;
}

body.light-theme .campus-overlay-title,
body.light-theme .campus-photo-overlay h3,
body.light-theme .campus-card-3d h3,
.campus-overlay-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.8) !important;
}

body.light-theme .campus-overlay-desc,
body.light-theme .campus-photo-overlay p,
body.light-theme .campus-card-3d p,
.campus-overlay-desc {
  color: #f1f5f9 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
}

body.light-theme .campus-photo-overlay .feature-point,
body.light-theme .campus-features-grid .feature-point,
body.light-theme .feature-point,
.feature-point {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95) !important;
}

body.light-theme .campus-photo-overlay .feature-point span,
body.light-theme .campus-features-grid .feature-point span,
.feature-point span {
  color: #ffffff !important;
  font-weight: 600 !important;
}

body.light-theme .campus-photo-overlay .feature-point-icon,
body.light-theme .feature-point-icon,
.feature-point-icon {
  background: rgba(242, 84, 45, 0.4) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(242, 84, 45, 0.5) !important;
}

body.light-theme .campus-photo-overlay .campus-badge.secondary,
.campus-badge.secondary {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

/* 3D Visualizer & Controls - Retain Dark Cosmic Background in Light Mode */
body.light-theme .hero-3d-wrapper {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.7) 0%, rgba(10, 15, 29, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), inset 0 0 30px rgba(255, 255, 255, 0.03) !important;
}

body.light-theme .control-pill-group {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
}

body.light-theme .control-pill-btn {
  color: #94a3b8 !important;
  background: transparent !important;
}

body.light-theme .control-pill-btn.active,
body.light-theme .control-pill-btn:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px var(--primary-glow) !important;
}

body.light-theme .scene-hint {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
}

/* Admission Section & Direct Inquiry Form in Light Mode (CRITICAL) */
body.light-theme .admission-section {
  background: transparent;
}

body.light-theme .admission-card-wrap {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 0 30px rgba(242, 84, 45, 0.06) !important;
}

body.light-theme .admission-info-col h2 {
  color: #0f172a !important;
}

body.light-theme .admission-info-col h2 span {
  color: var(--primary) !important;
}

body.light-theme .admission-info-col p {
  color: #475569 !important;
}

body.light-theme .admission-perk-text h4 {
  color: #0f172a !important;
}

body.light-theme .admission-perk-text p {
  color: #64748b !important;
}

body.light-theme .admission-call-box {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

body.light-theme .admission-call-box .label {
  color: #64748b !important;
}

body.light-theme .admission-call-box .phones {
  color: #0f172a !important;
}

body.light-theme .inquiry-form-card {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .inquiry-form-card .form-header h3 {
  color: #0f172a !important;
}

body.light-theme .inquiry-form-card .form-header p {
  color: #64748b !important;
}

body.light-theme .inquiry-form-card label,
body.light-theme .form-group label {
  color: #334155 !important;
}

body.light-theme .form-control {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
}

body.light-theme .form-control::placeholder {
  color: #94a3b8 !important;
}

body.light-theme .form-control:focus {
  background: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(242, 84, 45, 0.15) !important;
}

/* School Profile Section in Light Mode */
body.light-theme .school-profile-section {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .profile-credential-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.light-theme .cred-card-header h3 {
  color: #0f172a !important;
}

body.light-theme .cred-card-header span {
  color: #64748b !important;
}

body.light-theme .cred-highlight-val {
  color: #b45309 !important;
}

body.light-theme .cred-desc {
  color: #475569 !important;
}

body.light-theme .cred-pill {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
}

/* General Cards & Badges in Light Mode */
body.light-theme .stat-card,
body.light-theme .feature-card,
body.light-theme .feature-card-v2,
body.light-theme .academic-stream-card,
body.light-theme .campus-card-3d,
body.light-theme .testimonial-card,
body.light-theme .notice-item,
body.light-theme .contact-card,
body.light-theme .profile-card,
body.light-theme .info-card,
body.light-theme .school-id-badge-banner,
body.light-theme .society-spotlight-inner,
body.light-theme .tilt-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.light-theme .society-spotlight-title,
body.light-theme .society-title {
  color: #0f172a !important;
}

body.light-theme .society-contact-pill {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

body.light-theme .society-contact-pill:hover {
  background: #fef3c7;
  color: #b45309;
  border-color: #f59e0b;
}

/* Contact Section in Light Mode */
body.light-theme .contact-section {
  background: #f1f5f9;
}

body.light-theme .contact-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

body.light-theme .contact-card-body h4 {
  color: #0f172a !important;
}

body.light-theme .contact-card-body p {
  color: #475569 !important;
}

body.light-theme .phone-badge {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .phone-badge:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

body.light-theme .map-display-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .map-card-footer {
  background: #ffffff;
  border-top-color: rgba(15, 23, 42, 0.08);
}

/* Home CTA Card in Light Mode */
body.light-theme .home-cta-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .home-cta-title {
  color: #0f172a !important;
}

body.light-theme .home-cta-desc {
  color: #334155 !important;
}

body.light-theme .home-cta-subdesc {
  color: #475569 !important;
}

body.light-theme .home-cta-subdesc strong {
  color: #0f172a !important;
}

body.light-theme .home-cta-val-chip {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

/* General Secondary Buttons in Light Mode */
body.light-theme .btn-secondary {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.15);
}

body.light-theme .btn-secondary:hover {
  background: #e2e8f0;
  border-color: rgba(15, 23, 42, 0.25);
  color: #0f172a;
}

/* Tables in Light Mode */
body.light-theme table {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme th {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme td {
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155;
}

body.light-theme tr:hover td {
  background: rgba(242, 84, 45, 0.04);
}

/* Modals in Light Mode */
body.light-theme .modal-overlay {
  background: rgba(15, 23, 42, 0.65);
}

body.light-theme .modal-container {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  color: #0f172a;
}

body.light-theme .modal-container .form-header h3,
body.light-theme .modal-container h4 {
  color: #0f172a !important;
}

body.light-theme .modal-container .form-header p,
body.light-theme .modal-container p,
body.light-theme .modal-container .principal-message-body p {
  color: #334155 !important;
}

body.light-theme .modal-container strong {
  color: #0f172a !important;
}

body.light-theme .modal-close-btn {
  color: #475569;
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .modal-close-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

body.light-theme .modal-close-btn-inline {
  background: #e2e8f0;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

body.light-theme .modal-close-btn-inline:hover {
  background: #cbd5e1;
}

body.light-theme .modal-container input,
body.light-theme .modal-container select,
body.light-theme .modal-container textarea {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

body.light-theme .modal-container input:focus,
body.light-theme .modal-container select:focus,
body.light-theme .modal-container textarea:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 84, 45, 0.15);
}

/* Footer in Light Mode */
body.light-theme .site-footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-theme .footer-heading {
  color: #0f172a;
}

body.light-theme .footer-desc,
body.light-theme .footer-links a,
body.light-theme .footer-contact-item {
  color: #475569;
}

body.light-theme .footer-links a:hover {
  color: var(--primary);
}

body.light-theme .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

/* Subpages in Light Mode (About Us, Governing Body, Vision & Mission) */
body.light-theme .about-hero,
body.light-theme .sanstha-hero,
body.light-theme .vm-hero {
  background: radial-gradient(circle at 50% 15%, rgba(242, 84, 45, 0.08) 0%, transparent 65%), #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-theme .fact-chip,
body.light-theme .badge-pill,
body.light-theme .sanstha-badge {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

body.light-theme .community-banner {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

body.light-theme .vm-pillar-card,
body.light-theme .trustee-card,
body.light-theme .body-member-card,
body.light-theme .history-timeline-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

/* ==========================================================================
   Light Mode – Text Contrast Fixes (headings, page sections, inline styles)
   ========================================================================== */

/* Gradient headline words started with #ffffff -> invisible on white.
   Use a solid orange-to-amber gradient instead. */
body.light-theme .section-title span,
body.light-theme .hero-title .gradient-text,
body.light-theme .home-cta-title span,
body.light-theme .sanstha-name-marathi span,
body.light-theme .about-hero-title span,
body.light-theme .vm-hero-title span,
body.light-theme .community-title span,
body.light-theme h2 span,
body.light-theme h3 span {
  background: linear-gradient(135deg, #dc2f02 0%, #f2542d 45%, #d97706 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  line-height: inherit;
}

/* Generic hardcoded light text in shared components */
body.light-theme .hero-subtitle,
body.light-theme .modal-notice-desc,
body.light-theme .modal-table td,
body.light-theme .cred-badge,
body.light-theme .top-bar-badge {
  color: #334155 !important;
}

body.light-theme .modal-notice-title,
body.light-theme .mobile-menu-btn {
  color: #0f172a !important;
}

/* Inline style="color:#fff / var(--text-light)" used in footers, modals, cards */
body.light-theme [style*="color:#ffffff"],
body.light-theme [style*="color: #ffffff"],
body.light-theme [style*="color:#fff;"],
body.light-theme [style*="color:#fff\""] {
  color: #0f172a !important;
}

body.light-theme [style*="color:var(--text-light)"] {
  color: #334155 !important;
}

/* Keep white text where it sits on dark/image/brand surfaces */
body.light-theme #lightbox-title-target,
body.light-theme .btn-primary,
body.light-theme .floating-btn.call,
body.light-theme .facility-badge,
body.light-theme .ticker-badge,
body.light-theme .nav-tooltip {
  color: #ffffff !important;
}

/* ---------- Governing Body page ---------- */
body.light-theme .sanstha-name-marathi {
  color: #0f172a !important;
}

body.light-theme .sanstha-loc-sub {
  color: #475569 !important;
}

body.light-theme .sanstha-school-tag {
  color: #475569 !important;
}

body.light-theme .sanstha-reg-badge {
  background: #fffbeb;
  border-color: rgba(180, 83, 9, 0.35);
  color: #92400e;
}

body.light-theme .exec-card,
body.light-theme .exec-card.president-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .exec-card.president-card {
  border-color: rgba(217, 119, 6, 0.45);
}

body.light-theme .exec-card:hover {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1), 0 0 20px rgba(242, 84, 45, 0.12) !important;
}

body.light-theme .exec-name-marathi,
body.light-theme .member-info h4,
body.light-theme .board-info h3 {
  color: #0f172a !important;
}

body.light-theme .exec-name-english {
  color: #64748b !important;
}

body.light-theme .exec-meta-point {
  color: #475569 !important;
}

body.light-theme .exec-number-badge {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

body.light-theme .exec-role-pill {
  background: #fff1ec;
  border-color: rgba(220, 47, 2, 0.3);
  color: #c2410c;
}

body.light-theme .exec-card.president-card .exec-role-pill {
  background: #fffbeb;
  border-color: rgba(180, 83, 9, 0.35);
  color: #92400e;
}

body.light-theme .member-mini-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

body.light-theme .member-mini-card:hover {
  background: #fff7f4;
  border-color: rgba(242, 84, 45, 0.35);
}

body.light-theme .member-info span {
  color: #b45309 !important;
}

body.light-theme .authentic-board-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.07);
}

body.light-theme .board-info p {
  color: #475569 !important;
}

body.light-theme .table-container {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .official-table th {
  background: #fff1ec;
  color: #c2410c;
  border-bottom-color: rgba(220, 47, 2, 0.25);
}

body.light-theme .official-table td {
  color: #1e293b !important;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .role-tag {
  color: #b45309;
}

/* ---------- About Us page ---------- */
body.light-theme .about-hero-title,
body.light-theme .narrative-lead,
body.light-theme .approach-intro-quote,
body.light-theme .pillar-title,
body.light-theme .approach-footer-text h4,
body.light-theme .community-title,
body.light-theme .about-cta-content h3,
body.light-theme .about-photo-title {
  color: #0f172a !important;
}

body.light-theme .about-hero-subtitle,
body.light-theme .narrative-body p,
body.light-theme .approach-intro-desc,
body.light-theme .pillar-desc,
body.light-theme .approach-footer-text p,
body.light-theme .community-text p,
body.light-theme .about-cta-content p,
body.light-theme .about-photo-desc,
body.light-theme .about-breadcrumb,
body.light-theme .about-breadcrumb a {
  color: #475569 !important;
}

body.light-theme .narrative-stat-lbl {
  color: #334155 !important;
}

body.light-theme .fact-chip {
  color: #1e293b;
}

body.light-theme .about-photo-caption {
  background: #ffffff;
  border-top-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .approach-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
}

body.light-theme .approach-footer-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

body.light-theme .community-commitment-card {
  background: #fff7f4;
  border-color: rgba(242, 84, 45, 0.3);
}

body.light-theme .commitment-text {
  color: #1e293b !important;
}

body.light-theme .narrative-stat-card,
body.light-theme .pillar-card,
body.light-theme .about-photo-card,
body.light-theme .about-cta-card,
body.light-theme .vm-cta-card {
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

/* ---------- Vision & Mission page ---------- */
body.light-theme .vm-hero-title,
body.light-theme .vision-statement-primary,
body.light-theme .value-title,
body.light-theme .vm-cta-content h3 {
  color: #0f172a !important;
}

body.light-theme .vm-hero-subtitle,
body.light-theme .vision-statement-secondary,
body.light-theme .mission-intro p,
body.light-theme .value-desc,
body.light-theme .vm-cta-content p,
body.light-theme .vm-breadcrumb,
body.light-theme .vm-breadcrumb a {
  color: #475569 !important;
}

body.light-theme .mission-item-text {
  color: #1e293b !important;
}

body.light-theme .vision-card-master {
  background: radial-gradient(circle at 10% 20%, rgba(242, 84, 45, 0.07) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.07) 0%, transparent 50%),
              #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

body.light-theme .vision-statement-secondary {
  border-top-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .mission-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
}

body.light-theme .mission-item-card,
body.light-theme .value-card {
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

/* ---------- Mobile navigation drawer ---------- */
@media (max-width: 1150px) {
  body.light-theme .nav-links.mobile-open {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  }

  body.light-theme .nav-item > a,
  body.light-theme .nav-icon-link {
    border-bottom-color: rgba(15, 23, 42, 0.08) !important;
  }

  body.light-theme .nav-label-mobile {
    color: #0f172a;
  }

  body.light-theme .nav-icon {
    background: #f1f5f9;
  }

  body.light-theme .dropdown-menu {
    background: #f8fafc;
    box-shadow: none;
  }
}

/* ==========================================================================
   Principal's Message – Photo
   ========================================================================== */
.principal-photo-wrap {
  position: relative;
  margin: 0 0 1.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.principal-photo {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.principal-photo-wrap:hover .principal-photo {
  transform: scale(1.03);
}

.principal-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.25rem 0.9rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 19, 0.88) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.principal-photo-caption strong {
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
}

.principal-photo-caption span {
  color: #fbbf24 !important;
  font-size: 0.85rem;
  font-weight: 600;
}

body.light-theme .principal-photo-wrap {
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

body.light-theme .modal-container .principal-photo-caption strong {
  color: #ffffff !important;
}

body.light-theme .modal-container .principal-photo-caption span {
  color: #fbbf24 !important;
}

@media (max-width: 600px) {
  .principal-photo {
    height: 220px;
  }
}

/* ==========================================================================
   Universal Headings Clipping Prevention (Devanagari & Multilingual Safety)
   Ensures top rephs (र्), matras (ौ, ै, ें, ॉ, ो), and ascenders are NEVER cut
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.about-hero-title,
.vm-hero-title,
.sanstha-name-marathi,
.sanstha-hero-title,
.home-cta-title,
.community-title,
.pillar-title,
.approach-intro-quote,
.ql-title,
.stream-title,
.facility-title,
.modal-notice-title,
.stat-item h3 {
  line-height: 1.35 !important;
  padding-top: 0.35rem !important;
  padding-bottom: 0.15rem !important;
  overflow: visible !important;
  letter-spacing: normal !important;
}

.hero-title span,
.section-title span,
.about-hero-title span,
.vm-hero-title span,
.sanstha-name-marathi span,
.home-cta-title span,
.community-title span,
h1 span, h2 span, h3 span {
  display: inline-block;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  line-height: inherit;
}



