/* ==========================================================================
   MV WORLD SCHOOL - Modern 3D Interactive Design System
   Designed by: ANURAG VAID
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-maroon: #8b1d24;
  --primary-maroon-dark: #4d0b10;
  --primary-maroon-light: #b92b35;
  --maroon-glow: rgba(139, 29, 36, 0.4);

  --accent-gold: #d4af37;
  --accent-gold-bright: #ffd700;
  --accent-gold-glow: rgba(212, 175, 55, 0.35);

  --mv-navy: #1e3a8a;
  --mv-navy-light: #2563eb;
  
  --emerald-accent: #0f5132;

  --bg-dark: #080a10;
  --bg-card: rgba(15, 20, 32, 0.75);
  --bg-card-solid: #0d121d;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --font-heading: 'Outfit', sans-serif;
  --font-accent: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-maroon), var(--accent-gold));
  border-radius: 5px;
}

/* Background Ambient Lighting */
.ambient-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: floatOrb 18s ease-in-out infinite alternate;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-maroon);
  top: -100px;
  left: -100px;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: var(--mv-navy);
  bottom: 10%;
  right: -150px;
  animation-delay: -6s;
}
.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--accent-gold);
  top: 40%;
  left: 30%;
  opacity: 0.15;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.1); }
  100% { transform: translate(-40px, -60px) scale(0.95); }
}

/* Typography Utilities */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}
.font-accent {
  font-family: var(--font-accent);
}
.gold-text {
  background: linear-gradient(135deg, #ffe57f 0%, #d4af37 50%, #997a15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.maroon-gradient-text {
  background: linear-gradient(135deg, #ff6b6b 0%, var(--primary-maroon-light) 50%, #8b1d24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-maroon-light), var(--primary-maroon));
  color: #fff;
  box-shadow: 0 10px 25px var(--maroon-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(139, 29, 36, 0.6);
  border-color: var(--accent-gold);
}
.btn-gold {
  background: linear-gradient(135deg, #ffd700, #d4af37);
  color: var(--bg-dark);
  font-weight: 700;
  box-shadow: 0 10px 25px var(--accent-gold-glow);
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, var(--primary-maroon-dark), var(--bg-dark), var(--mv-navy));
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 100;
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.top-announcement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold-bright);
  font-weight: 600;
}
.badge-live {
  background: #ef4444;
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Floating Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding: 0.85rem 0;
  transition: var(--transition-smooth);
}
.main-header.scrolled {
  background: rgba(8, 10, 16, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  padding: 0.65rem 0;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand-logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
  transition: var(--transition-smooth);
}
.brand-logo:hover img {
  transform: scale(1.04);
}
.brand-text-block {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.brand-subtitle {
  font-size: 0.7rem;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin-left: auto;
  margin-right: 1.5rem;
}
.nav-links li {
  white-space: nowrap;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-maroon-light), var(--accent-gold));
  transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* SECTION 1: WELCOME / HERO SECTION */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem 0;
  overflow: hidden;
}

/* Background Building Image setup - High Visibility & Clear Architecture */
.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65; /* Increased opacity so building architecture is clearly visible */
  filter: contrast(1.15) brightness(1.05);
  transform: scale(1.03);
  animation: subtleZoom 25s ease-in-out infinite alternate;
}
@keyframes subtleZoom {
  0% { transform: scale(1.03); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.6) 0%, rgba(8, 10, 16, 0.78) 60%, #080a10 100%),
              radial-gradient(circle at 70% 40%, rgba(9, 12, 21, 0.2) 0%, rgba(8, 10, 16, 0.85) 100%);
  backdrop-filter: blur(1px);
}

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

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(139, 29, 36, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent-gold-bright);
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-subtext {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Hero Right 3D Floating Glass Showcase */
.hero-visual-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  transition: var(--transition-smooth);
  position: relative;
}
.hero-visual-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 35px 70px rgba(139, 29, 36, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.school-emblem-container {
  text-align: center;
  margin-bottom: 1.5rem;
}
.school-emblem-container img {
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.hero-stat-item {
  background: rgba(13, 18, 29, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition-smooth);
}
.hero-stat-item:hover {
  border-color: var(--accent-gold);
  background: rgba(139, 29, 36, 0.2);
  transform: translateY(-4px);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SECTION 2: VOICES THAT GUIDE US (LEADERSHIP) */
.leadership-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0c101a 100%);
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* 3D Perspective Card Mechanics */
.leader-card-3d {
  position: relative;
  perspective: 1200px;
}
.leader-card-inner {
  background: linear-gradient(145deg, rgba(20, 26, 41, 0.85), rgba(12, 16, 26, 0.95));
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  overflow: hidden;
  position: relative;
}

.leader-card-3d:hover .leader-card-inner {
  border-color: var(--accent-gold);
  box-shadow: 0 30px 60px rgba(139, 29, 36, 0.35), 0 0 30px rgba(212, 175, 55, 0.15);
}

.leader-header-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.leader-photo-frame {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-maroon));
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.leader-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.leader-meta {
  display: flex;
  flex-direction: column;
}
.leader-role {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
}
.leader-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.leader-title-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.leader-quote-box {
  position: relative;
  background: rgba(8, 10, 16, 0.6);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 16px 16px 0;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}
.quote-icon {
  position: absolute;
  top: -12px;
  right: 15px;
  font-size: 3.5rem;
  color: rgba(212, 175, 55, 0.15);
  font-family: serif;
  line-height: 1;
}
.leader-quote-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.leader-interactive-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.audio-waveform-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: var(--accent-gold-bright);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.audio-waveform-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-dark);
}
.wave-bar-anim {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 14px;
}
.wave-bar {
  width: 3px;
  height: 100%;
  background: currentColor;
  border-radius: 3px;
  animation: wave 1.2s ease-in-out infinite alternate;
}
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes wave {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* SECTION 3: WHY US (THE MV EDGE) */
.whyus-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(139, 29, 36, 0.12) 0%, var(--bg-dark) 70%);
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.25rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-maroon), var(--accent-gold));
  opacity: 0;
  transition: var(--transition-smooth);
}
.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(139, 29, 36, 0.25);
  background: rgba(18, 24, 38, 0.95);
}
.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 29, 36, 0.3), rgba(212, 175, 55, 0.15));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-gold-bright);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}
.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary-maroon);
  color: #fff;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #fff;
}
.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* SECTION 4: OUR FACILITIES (3D CUBOIDS - 2 PER ROW) */
.facilities-section {
  position: relative;
  background: linear-gradient(180deg, #0c101a 0%, var(--bg-dark) 100%);
}

/* 2 Cuboids in a Row Layout */
.cuboids-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

/* 3D Cuboid Box CSS Mechanics */
.cuboid-perspective-wrapper {
  perspective: 1200px;
  height: 320px;
}

.cuboid-3d-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.cuboid-perspective-wrapper:hover .cuboid-3d-card,
.cuboid-3d-card.flipped {
  transform: rotateY(180deg);
}

.cuboid-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-glass);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* FRONT FACE (Title & Logo/Icon in Background initially) */
.cuboid-front {
  background: linear-gradient(135deg, rgba(20, 26, 42, 0.9), rgba(12, 15, 25, 0.95));
  border-color: rgba(212, 175, 55, 0.25);
}

.cuboid-bg-icon {
  position: absolute;
  right: -15px;
  bottom: -25px;
  font-size: 10.5rem;
  color: var(--accent-gold);
  opacity: 0.08;
  pointer-events: none;
  transition: var(--transition-smooth);
}
.cuboid-perspective-wrapper:hover .cuboid-bg-icon {
  opacity: 0.18;
  transform: scale(1.1) rotate(-8deg);
  color: var(--accent-gold-bright);
}

.cuboid-front-content {
  position: relative;
  z-index: 2;
}

.facility-number-tag {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1rem;
}

.facility-front-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.facility-front-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cuboid-hover-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* BACK FACE (Full Information Appears on Hover) */
.cuboid-back {
  background: linear-gradient(135deg, var(--primary-maroon-dark), #141b2b);
  border-color: var(--accent-gold);
  transform: rotateY(180deg);
  color: #fff;
  box-shadow: 0 25px 50px rgba(139, 29, 36, 0.4);
}

.facility-back-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  margin-bottom: 1rem;
}

.facility-feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.facility-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}
.facility-feature-list li i {
  color: var(--accent-gold);
  font-size: 1rem;
}

.cuboid-back-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* SECTION 5: MORE ABOUT US (CAMPUS LIFE & ACHIEVEMENTS) */
.aboutus-section {
  position: relative;
  background: var(--bg-dark);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.85rem 2rem;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.tab-btn:hover, .tab-btn.active {
  background: linear-gradient(135deg, var(--primary-maroon-light), var(--primary-maroon));
  color: #fff;
  border-color: var(--accent-gold);
  box-shadow: 0 10px 20px var(--maroon-glow);
}

.tab-content-panel {
  display: none;
  animation: fadeInTab 0.5s ease forwards;
}
.tab-content-panel.active {
  display: block;
}

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

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.achievement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}
.achievement-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}
.achieve-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 1.4rem;
}
.achieve-val {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}
.achieve-title {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* LOCATION & CONTACT SECTION */
.contact-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0b0f19 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(15px);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(139, 29, 36, 0.25);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-text h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.contact-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.map-container {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  height: 380px;
  position: relative;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) contrast(1.2);
}

/* FOOTER & DESIGNER SIGNATURE */
.site-footer {
  background: #05070c;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4rem 0 2rem 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}
.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Prominent Designer Signature for ANURAG VAID */
.designer-signature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, rgba(139, 29, 36, 0.3), rgba(212, 175, 55, 0.2));
  border: 1px solid var(--accent-gold);
  border-radius: 50px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  transition: var(--transition-smooth);
}
.designer-signature-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, var(--primary-maroon), var(--accent-gold));
  color: var(--bg-dark);
}
.designer-name-highlight {
  color: var(--accent-gold-bright);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}
.designer-signature-badge:hover .designer-name-highlight {
  color: var(--bg-dark);
}

/* ADMISSION MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(15px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: linear-gradient(145deg, #111624, #0a0d17);
  border: 1px solid var(--accent-gold);
  border-radius: 24px;
  width: 90%;
  max-width: 580px;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition-bounce);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.modal-close-btn:hover {
  background: var(--primary-maroon);
  transform: rotate(90deg);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Mobile Hamburger Button */
.mobile-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-bright);
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.mobile-toggle-btn:hover {
  background: var(--primary-maroon);
  color: #fff;
}

/* RESPONSIVE DESIGN - MOBILE FIRST OPTIMIZATION */
@media (max-width: 992px) {
  .mobile-toggle-btn {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 56px);
    background: rgba(8, 10, 16, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    align-items: flex-start;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.9);
    margin: 0;
    z-index: 98;
    overflow-y: auto;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #fff;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-visual-card {
    transform: none;
  }
  .leadership-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Top Bar Mobile Ticker */
  .top-bar {
    padding: 0.35rem 0;
  }
  .top-bar-content {
    justify-content: center;
  }
  .top-info {
    display: none; /* Hide cluttered top info on phones */
  }
  .top-announcement {
    font-size: 0.75rem;
    justify-content: center;
  }

  /* Header Compact Mobile */
  .main-header {
    padding: 0.5rem 0;
  }
  .brand-logo img {
    height: 36px;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-subtitle {
    font-size: 0.6rem;
  }
  .btn-gold {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
    border-radius: 20px;
  }

  .container {
    padding: 0 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .badge-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.9rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .section-desc {
    font-size: 0.88rem;
  }

  /* SECTION 1: HERO PHONE OPTIMIZATION */
  .hero-section {
    padding: 2rem 0 1.5rem 0;
    min-height: auto;
  }
  .hero-bg-image {
    opacity: 0.75; /* High visibility on smartphone screens */
  }
  .hero-badge-tag {
    font-size: 0.72rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: clamp(1.7rem, 5.5vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  .hero-subtext {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    line-height: 1.55;
  }
  .hero-cta-group {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group .btn {
    flex: 1;
    padding: 0.75rem 0.85rem;
    font-size: 0.82rem;
    text-align: center;
  }

  .hero-visual-card {
    padding: 1.15rem;
    border-radius: 18px;
    margin-top: 0.5rem;
  }
  .school-emblem-container img {
    max-width: 130px;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .hero-stat-item {
    padding: 0.75rem 0.4rem;
    border-radius: 12px;
  }
  .stat-number {
    font-size: 1.35rem;
  }
  .stat-label {
    font-size: 0.68rem;
  }

  /* SECTION 2: LEADERSHIP PHONE OPTIMIZATION */
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .leader-card-inner {
    padding: 1.15rem;
    border-radius: 18px;
  }
  .leader-header-block {
    gap: 0.85rem;
    margin-bottom: 0.85rem;
  }
  .leader-photo-frame {
    width: 70px;
    height: 70px;
    border-radius: 12px;
  }
  .leader-role {
    font-size: 0.7rem;
  }
  .leader-name {
    font-size: 1.15rem;
  }
  .leader-title-sub {
    font-size: 0.75rem;
  }
  .leader-quote-box {
    padding: 0.75rem 0.85rem;
    margin-bottom: 1rem;
    border-radius: 0 12px 12px 0;
  }
  .quote-icon {
    font-size: 2.2rem;
    top: -8px;
    right: 8px;
  }
  .leader-quote-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .leader-interactive-footer {
    padding-top: 0.85rem;
  }
  .audio-waveform-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
  }

  /* SECTION 3: WHY US (PILLARS) PHONE OPTIMIZATION */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pillar-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 16px;
  }
  .pillar-icon-box {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    border-radius: 12px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .pillar-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }
  .pillar-desc {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  /* SECTION 4: OUR FACILITIES (3D CUBOIDS PHONE OPTIMIZATION) */
  .cuboids-container {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .cuboid-perspective-wrapper {
    height: 265px;
  }
  .cuboid-face {
    padding: 1.25rem;
    border-radius: 18px;
  }
  .facility-number-tag {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
  }
  .facility-front-title {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }
  .facility-front-sub {
    font-size: 0.82rem;
  }
  .facility-back-title {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
  }
  .facility-feature-list {
    margin-bottom: 0.75rem;
  }
  .facility-feature-list li {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    line-height: 1.35;
  }
  .cuboid-bg-icon {
    font-size: 7rem;
    right: -10px;
    bottom: -15px;
    opacity: 0.08;
  }
  .cuboid-hover-hint {
    font-size: 0.75rem;
  }

  /* SECTION 5: MORE ABOUT US (TABS & ACHIEVEMENTS PHONE OPTIMIZATION) */
  .tabs-nav {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex-shrink: 0;
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
    border-radius: 30px;
    white-space: nowrap;
  }
  .achievements-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .achievement-card {
    padding: 1.15rem 0.6rem;
    border-radius: 16px;
  }
  .achieve-badge {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  .achieve-val {
    font-size: 1.4rem;
  }
  .achieve-title {
    font-size: 0.72rem;
  }

  /* LOCATION & CONTACT PHONE OPTIMIZATION */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-info-card {
    padding: 1.25rem;
    border-radius: 18px;
  }
  .contact-item {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .contact-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .contact-text h4 {
    font-size: 0.98rem;
  }
  .contact-text p {
    font-size: 0.85rem;
  }
  .map-container {
    height: 220px;
    border-radius: 18px;
  }

  /* FOOTER PHONE OPTIMIZATION */
  .site-footer {
    padding: 2.5rem 0 1.5rem 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }
  .footer-brand p {
    font-size: 0.85rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.82rem;
  }
  .designer-signature-badge {
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
  }

  /* ADMISSION MODAL PHONE OPTIMIZATION */
  .modal-box {
    padding: 1.35rem;
    border-radius: 20px;
    width: 92%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .achievements-grid {
    grid-template-columns: 1fr 1fr;
  }
}
