/* =========================
   RESET & BASE
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 112.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 130px; /* Offset this based on your header height so the header doesn't cover the title */
}
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6; /* Adds breathing room between lines */
  -webkit-font-smoothing: antialiased;
  color: #222;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All Section Headings */
h1,
h2,
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  margin-bottom: 1.5rem;
}

/* Paragraph text in sections */
p {
  font-size: 1.1rem !important;
}

/* Root vars */
:root {
  --elite-gold: #b38728;
  --light-gold: #fdf5e6;
  --dark-text: #1a1a1a;
  --glass-white: rgba(255, 255, 255, 0.8);
}

/* ================= WELCOME VIDEO / SPLASH SCREEN ================= */
.welcome-video {
  position: fixed;
  inset: 0;
  /* DEEP PREMIUM NAVY: High contrast, no blur */
  background: radial-gradient(circle at center, #1a1236 0%, #05030c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
  animation: videoExit 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: 3s; 
}

.light-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, transparent 65%);
  animation: glowPulse 2s ease-in-out infinite;
}

.welcome-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%; /* Keeps content within bounds */
  max-width: 1200px;
  gap: 0;
}

.welcome-logo {
  width: 380px; 
  height: auto;
  opacity: 0;
  /* KEEPING YOUR ORIGINAL COLOR GLOW */
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
  
  /* NEW CINEMATIC EFFECT: 3D Tilt + Snap + Subtle Float */
  animation: 
    logo3DSnap 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s,
    logoFloat 4s ease-in-out infinite 1.5s;
  
  z-index: 2;
  perspective: 1000px; /* Enables 3D depth */
  transform-style: preserve-3d;
}
/* 📱 MOBILE OPTIMIZATION FOR WELCOME VIDEO */
@media (max-width: 480px) {

  .welcome-video {
    padding: 20px;
    animation-delay: 2.5s;
  }

  .light-glow {
    width: 300px;
    height: 300px;
    opacity: 0.7;
    animation: glowPulse 3s ease-in-out infinite;
  }

  .welcome-content {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
  }

  .welcome-logo {
    width: 220px;
    max-width: 80%;
    animation: 
      logo3DSnap 1s ease forwards 0.2s,
      logoFloat 3s ease-in-out infinite 1.2s;
  }

  /* 🎥 Video responsiveness */
  .welcome-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

}
/* THE 3D SNAP REVEAL: Logo tilts and snaps into sharp focus */
@keyframes logo3DSnap {
  0% { 
    opacity: 0; 
    /* Starts tilted away like a high-end cinematic seal */
    transform: rotateX(-30deg) rotateY(15deg) scale(0.8) translateY(40px);
    filter: brightness(0.5) drop-shadow(0 0 5px rgba(212, 175, 55, 0.2));
  }
  70% {
    opacity: 1;
    transform: rotateX(10deg) rotateY(-5deg) scale(1.05);
    filter: brightness(1.3) drop-shadow(0 0 25px rgba(212, 175, 55, 0.7));
  }
  100% { 
    opacity: 1; 
    transform: rotateX(0deg) rotateY(0deg) scale(1) translateY(0);
    filter: brightness(1) drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
  }
}

/* THE PREMIUM FLOAT: Keeps the logo from being static */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* MOBILE HD OPTIMIZATION */
@media (max-width: 768px) {
  .welcome-logo { 
    width: 140px; 
    /* Simplified 3D for mobile performance */
    animation: logo3DSnap 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
  }
}

.welcome-title {
 font-family: Georgia, 'Times New Roman', Times, serif;
  /* REDUCED SIZE: To fit the long name perfectly */
  font-size: 62px; 
  font-weight: 800;
  margin-top: -45px; 
  text-transform: uppercase;
  font-family: Georgia, 'Times New Roman', Times, serif;
  /* SHARP CRYSTAL SHINE */
  background: linear-gradient(110deg, #d4af37 35%, #ffffff 50%, #d4af37 65%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  opacity: 0;
  letter-spacing: 4px; /* Tighter for long titles */
  animation: titleFade 1.3s cubic-bezier(0.23, 1, 0.32, 1) forwards, fastShine 2s linear infinite;
  animation-delay: 1.5s;
  line-height: 1.1;
}

.welcome-tagline {
  margin-top: 18px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 30px; /* Slightly larger for HD impact */
  font-weight: 700;
  letter-spacing: 1.5px; /* Clean, elite spacing */
  font-style: bold;
  text-transform: capitalize;
  
  /* 1. METALLIC GOLD BASE GRADIENT */
  background: linear-gradient(
    90deg, 
    #d4af37 0%, 
    #fff5d7 25%, 
    #d4af37 50%, 
    #fff5d7 75%, 
    #d4af37 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* 2. SHINING GLOW EFFECT */
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
  
  opacity: 0;
  position: relative;
  /* 3. DOUBLE ANIMATION: Entry + Continuous Shine */
  animation: 
    taglineReveal 3s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.5s,
    goldSweep 4s linear infinite;
  z-index: 5;
}

/* THE MOVING LIGHT SWEEP (The "Shine") */
@keyframes goldSweep {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* THE PREMIUM ENTRY ANIMATION */
@keyframes taglineReveal {
  0% { 
    opacity: 0; 
    transform: translateY(15px) scale(0.9);
    filter: brightness(3) blur(5px); /* Starts with a sharp light flash */
  }
  50% {
    opacity: 0.5;
    filter: brightness(2) blur(0px);
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1);
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
  }
}

/* MOBILE HD OPTIMIZATION */
@media (max-width: 768px) {
  .welcome-tagline { 
    font-size: 15px; 
    letter-spacing: 1px; 
    margin-top: 12px;
    padding: 0 10px;
    background-size: 300% auto; /* Faster shine on mobile */
  }
}
/* --- REFINED FAST ANIMATIONS --- */

@keyframes fastShine {
  to { background-position: 200% center; }
}

@keyframes logoReveal {
  from { opacity: 0; transform: scale(1.1); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes titleFade {
  from { opacity: 0; letter-spacing: 12px; transform: translateY(10px); }
  to { opacity: 1; letter-spacing: 4px; transform: translateY(0); }
}

@keyframes taglineFade {
  from { opacity: 0; letter-spacing: 15px; }
  to { opacity: 1; letter-spacing: 8px; }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes videoExit {
  to { opacity: 0; transform: scale(1.02); visibility: hidden; }
}

/* MOBILE OPTIMIZATION: Critical for long text */
@media (max-width: 768px) {
  .welcome-title { 
    font-size: 26px; 
    letter-spacing: 2px; 
    margin-top: -20px;
    padding: 0 10px; 
  }
  .welcome-logo { width: 140px; }
  .welcome-tagline { font-size: 11px; letter-spacing: 4px; }
  .light-glow { width: 300px; height: 300px; }
}
/* ================= HEADER ================= */
/* Logo & school name */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 100px;
  padding: 10px 20px; /* adds space inside */
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  max-width: calc(100% - 80px);
  box-sizing: border-box;
}
.school-sub { display: none !important; }

.school-name {
  font-family: "Playfair Display", serif;
  color: #ff9f1c;
  font-weight: 800;
  line-height: 1.03;
  font-size: clamp(18px, 2.4vw, 28px);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

/* logo image */
.site-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  image-rendering: auto;
  margin: 0;
  padding: 0;
}

/* header base */
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  min-height: 80px;
  display: flex;
  transition: all 0.4s ease;
  color: #ffffff;
}
.header-inner {
  width: 100%;
  padding: 15px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* nav + icons */
.nav {
  order: 2;
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-basis: auto;
  justify-content: center;
}
.nav a {
  text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
  font-size: 45px !important;
  letter-spacing: 2.2px !important;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  padding: 5px 8px;
  transition: all 0.3s ease;
}
.nav a:hover { color: #ff9f1c !important; }

.icons {
  order: 2;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  gap: 18px;
}
.icons i { font-size: 20px; line-height: 1; cursor: pointer; }

.site-header.scrolled {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.site-header.scrolled a,
.site-header.scrolled .icons i { color: #6f4867; }
.site-header.scrolled .school-name { color: rgb(207,84,39); }
.site-header.scrolled .school-sub { color: #444 !important; opacity: 1; }

/* mobile triggers */
@media (max-width: 1250px) {
  .header-inner { justify-content: space-between !important; }
  .nav { display: none !important; }
  .icons { margin-top: 0; }
  .icons .fa-bars { display: block !important; color: #fff; font-size: 22px; }
}

/* mobile header single-row */
@media (max-width: 991px) {
  .header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 16px !important;
  }
  .logo { display: flex !important; align-items: center !important; gap: 10px !important; flex: 0 1 auto !important; min-width: 0 !important; margin: 0 !important; }
  .logo-text { display: inline-flex !important; flex: 1 1 auto !important; min-width: 0 !important; text-align: left !important; overflow: hidden !important; }
  .school-name {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    font-size: clamp(14px, 4.4vw, 18px) !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-logo, .logo img { max-height: 42px !important; height: auto !important; width: auto !important; flex: 0 0 auto !important; }
  .icons { order: 3 !important; display: flex !important; align-items: center !important; justify-content: flex-end !important; margin-left: 12px !important; flex: 0 0 auto !important; }
  .icons .fa-bars, .icons i, .icons button { font-size: 22px !important; line-height: 1 !important; color: inherit; display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 8px !important; }
  .nav { display: none !important; }
}

/* NAV active/underline styles */
.site-header:not(.scrolled) .nav a,
.site-header:not(.scrolled) .nav-item > a {
  color: #f8f9fa !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
.site-header.scrolled .nav a,
.site-header.scrolled .nav-item > a { color: #1d2a4d !important; font-size: 14px !important; }
.nav a:hover, .nav a.active, .nav-item.mega-parent.active > a { color: #ff9f1c !important; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100% !important; }
.nav a.active {
  color: #ff9f1c !important;
  border-bottom: 2px solid #ff9f1c;
  font-weight: 700;
}
.site-header.scrolled .nav a.active { color: #ff9f1c !important; }

/* GLOBAL HEADER DISTANCE FIX */
.hero { margin-top: 0; padding-top: 100px; }
body > section:first-of-type, body > main:first-of-type { padding-top: 180px; }
.site-header.scrolled { position: fixed; top: 0; background: #ffffff !important; box-shadow: 0 4px 15px rgba(0,0,0,0.1); padding: 5px 0; }
.mmet-about-vm-section, .principal-section, .gallery-stage { padding-top: 60px !important; }

/* ================= HERO ================= */
.hero { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 1; }

.hero-content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 2;
  width: 90%;
  max-width: 1100px;
}
.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 68px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 2.1;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
  
}
.hero-content p {
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 40px;
  font-weight: 300;
  text-transform: uppercase;
}
.btn {
  display: inline-block;
  padding: 16px 45px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.btn:hover { background: #fff; color: #000; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

@media (max-width: 768px) {
  .hero-content h1 { font-size: 38px; margin-bottom: 15px; }
  .hero-content p { font-size: 16px; letter-spacing: 1px; margin-bottom: 25px; }
  .btn { padding: 12px 28px; font-size: 12px; border-width: 1px; }
}
/* mv pv and tv */
/* 📱 MOBILE (up to 480px) */
@media (max-width: 480px) {

  .hero {
    height: 90vh; /* slightly smaller for mobile */
  }

  .hero-content {
    top: 52%;
    width: 95%;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 1px;
  }
}


/* 📱📲 TABLET (481px – 991px) */
@media (max-width: 991px) and (min-width: 481px) {

  .hero {
    height: 95vh;
  }

  .hero-content h1 {
    font-size: 42px;
    line-height: 1.6;
  }

  .hero-content p {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .btn {
    padding: 14px 30px;
    font-size: 13px;
  }
}


/* 💻 PC (992px – 1440px) */
@media (min-width: 992px) and (max-width: 1440px) {

  .hero-content h1 {
    font-size: 60px;
    line-height: 1.9;
  }

  .hero-content p {
    font-size: 20px;
  }
}


/* 📺 LARGE SCREENS / TV (1441px and above) */
@media (min-width: 1441px) {

  .hero {
    height: 100vh;
  }

  .hero-content {
    max-width: 1400px;
  }

  .hero-content h1 {
    font-size: 90px;
    line-height: 2.2;
  }

  .hero-content p {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .btn {
    padding: 20px 60px;
    font-size: 18px;
  }
}
/* mute control */
.mute-control {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  width: 45px; height: 45px; border-radius: 50%; cursor: pointer;
  backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.mute-control:hover { background: #ff9f1c; border-color: #ff9f1c; transform: scale(1.1); }
@media (max-width: 768px) {
  .mute-control { bottom: 15px; right: 15px; width: 35px; height: 35px; }
  .hero-content h1 { font-size: 32px; padding: 0 15px; }
  .hero-content p { font-size: 14px; margin-bottom: 20px; }
  .btn { padding: 10px 24px; font-size: 12px; }
}
/* =============mobile view */
/* ================= HERO SECTION ================= */

.hero{
  position:relative;
  height:100vh;
  width:100%;
  overflow:hidden;
}

/* background video */

.bg-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

/* dark overlay */

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
  z-index:1;
}

/* hero content */

.hero-content{
  position:absolute;
  top:55%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  color:#fff;
  z-index:2;
  width:90%;
  max-width:1100px;
}

/* heading */

.hero-content h1{
  font-family:"Playfair Display",serif;
  font-size:68px;
  font-weight:700;
  margin-bottom:20px;
  line-height:1.3;
  text-shadow:0 4px 15px rgba(0,0,0,0.3);
}

/* subtitle */

.hero-content p{
  font-size:22px;
  letter-spacing:3px;
  margin-bottom:40px;
  font-weight:300;
  text-transform:uppercase;
}

/* button */

.btn{
  display:inline-block;
  padding:16px 45px;
  border:2px solid #fff;
  background:transparent;
  color:#fff;
  font-size:14px;
  font-weight:600;
  letter-spacing:3px;
  text-transform:uppercase;
  text-decoration:none;
  transition:all .4s ease;
}

.btn:hover{
  background:#fff;
  color:#000;
  transform:translateY(-4px);
}

/* mute button */

.mute-control{
  position:absolute;
  bottom:30px;
  right:30px;
  z-index:10;
  background:rgba(255,255,255,0.2);
  border:1px solid rgba(255,255,255,0.4);
  color:white;
  width:45px;
  height:45px;
  border-radius:50%;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter:blur(5px);
  transition:all .3s ease;
}

.mute-control:hover{
  background:#ff9f1c;
  border-color:#ff9f1c;
}

/* ================= MOBILE ================= */

@media (max-width:768px){

.hero{
  height:90vh;
}

/* heading */

.hero-content h1{
  font-size:34px;
  margin-bottom:15px;
  line-height:1.3;
}

/* subtitle */

.hero-content p{
  font-size:14px;
  letter-spacing:1px;
  margin-bottom:22px;
}

/* button */

.btn{
  padding:12px 26px;
  font-size:12px;
  letter-spacing:2px;
}

/* mute button */

.mute-control{
  bottom:15px;
  right:15px;
  width:35px;
  height:35px;
}

}
/* ================= ABOUT MMET SECTION ================= */
.about-mmet-video {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.about-bg-image {
  position: absolute; inset:0;
  background: url("img/mmetschool.jpg") no-repeat center center;
  background-size: cover; z-index:0;
  filter: blur(10px) brightness(0.6);
  transform: scale(1.1);
}
.about-overlay {
  position: absolute; inset:0;
  background: linear-gradient(115deg, rgba(26,24,53,0.92) 30%, rgba(255,159,28,0.1) 50%, rgba(26,24,53,0.92) 70%);
  background-size: 250% 100%; z-index:1; animation: slideGlow 12s infinite ease-in-out;
}
@keyframes slideGlow { 0% { background-position: 150% 0%; } 100% { background-position: -150% 0%; } }

.about-content {
  position: relative; z-index:2;
  max-width: 800px; width:95%;
  padding: 60px 50px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.about-content h2 { font-family: "Playfair Display", serif; font-size:52px; margin:0 0 15px 0; line-height:1.2; }
.about-content h2 span { color:#ff9f1c; }
.about-content h3 { font-family: "Inter", sans-serif; font-size:18px; letter-spacing:2px; text-transform:uppercase; margin:0 0 45px 0; opacity:0.8; }
.about-points { list-style:none; padding:0; margin:0 auto; max-width:600px; }
.about-points li { display:flex; align-items:flex-start; gap:18px; font-size:18px; margin-bottom:25px; line-height:1.6; text-align:left; }
.about-points li:last-child { margin-bottom:0; }
.about-points i { color:#ff9f1c; font-size:22px; margin-top:4px; }

@media (max-width: 768px) {
  .about-content { padding: 40px 25px; }
  .about-content h2 { font-size:34px; margin-bottom:10px; }
  .about-content h3 { font-size:14px; margin-bottom:30px; }
  .about-points li { font-size:16px; margin-bottom:20px; gap:12px; }
}

/* ================= VISION STRIP ================= */
/* --- Royal Palette & Fonts --- */
/* ===== SECTION ===== */

/* ===== SECTION BACKGROUND (ROYAL PURPLE, NAVY & GOLD MIX) ===== */
.heritage-section {
    padding: 80px 8%;
    /* HD MIX: 
       1. Deep Purple glow (Top Left)
       2. Subtle Gold warmth (Bottom Right)
       3. Midnight Navy base
    */
    background: 
        radial-gradient(circle at top left, rgba(107, 1, 182, 0.25), transparent 45%),
        radial-gradient(circle at bottom right, rgba(197, 155, 16, 0.15), transparent 45%),
        linear-gradient(135deg, #17174d 0%, #0d0923 50%, #9696d6 100%) !important;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Subtly added a very faint silk texture overlay */
    position: relative;
}

/* ===== LAYOUT ===== */
.heritage-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px; /* tighter spacing */
    width: 100%;
    max-width: 1400px;
    margin: auto;
    position: relative;
    z-index: 2;
}

/* ===== IMAGE BLOCK ===== */
.heritage-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

/* IMAGE */
.heritage-image img {
    width: 460px;
    height: 460px;
    object-fit: cover;
    border-radius: 16px;

    /* SHINING GOLD BORDER */
    border: 3px solid #ffd700;

    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6), 
        0 0 30px rgba(255, 215, 0, 0.3),
        0 0 15px rgba(138, 43, 226, 0.2); /* Subtle purple outer glow */

    margin-bottom: 5px; /* FIXED GAP */
    display: block;

    transition: 0.4s ease;
}

.heritage-image img:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #fff;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.7), 
        0 0 50px rgba(255, 215, 0, 0.5);
}

/* ===== NAME ===== */
.heritage-name {
    text-align: center;
    margin-top: 5px; /* tight below image */
}

.heritage-name h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    /* METALLIC GOLD SHINE */
    background: linear-gradient(90deg, #d8b98c, #ffd700, #ffffff, #d8b98c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldSweep 3s linear infinite;
}

@keyframes goldSweep {
    to { background-position: 200% center; }
}

.heritage-name span {
    font-size: 22px;
    font-weight: 600;
    color: #ffd700;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* ===== CONTENT ===== */
.heritage-content {
    flex: 1;
    max-width: 860px;
    padding: 40px 45px;
    margin-left: 0;
    margin-top: -30px;

    /* PURPLE-NAVY GLASSMORPHISM */
    background: rgba(15, 10, 30, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 2px solid #ffd700;
    border-radius: 14px;

    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5), 
        inset 0 0 20px rgba(138, 43, 226, 0.1), /* Purple inner depth */
        inset 0 0 10px rgba(255, 215, 0, 0.05);

    position: relative;
}

/* CORNER EFFECT */
.heritage-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700, transparent);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    border-top-right-radius: 14px;
    opacity: 0.9;
}

/* BADGE */
.heritage-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #d8b98c);
    color: #000;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* TEXT */
.heritage-content p {
    font-size: 19px;
    line-height: 1.8;
    text-align: justify;
    color: #f8f8ff; /* Ghost White for better readability on purple-navy */
    font-family: Georgia, serif;
}

/* DROP CAP */
.heritage-content p::first-letter {
    font-size: 48px;
    color: #ffd700;
    float: left;
    margin-right: 8px;
    line-height: 1;
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* ===== MOBILE ===== */
@media(max-width:900px) {
    .heritage-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .heritage-image img {
        width: 300px;
        height: 300px;
        margin-bottom: 5px;
    }

    .heritage-name h3 {
        font-size: 20px;
    }

    .heritage-content {
        max-width: 100%;
        padding: 25px 18px;
        border-radius: 0;
    }

    .heritage-content p {
        font-size: 16px;
        text-align: center;
    }
}
/* mobile view */


/* ================= MEGA DROPDOWN (hover) ================= */
.mega-parent { list-style:none; position:relative; }
.mega-dropdown {
  position:absolute; top:100%; left:50%; transform: translateX(-50%) translateY(15px);
  width:600px; height:auto; min-height:300px;
  background: linear-gradient(135deg,#d8d4d4,#417873);
  border-radius:20px; display:grid; grid-template-columns:1.2fr 1fr; opacity:0; visibility:hidden; transition: all 0.35s ease; box-shadow: 0 30px 80px rgba(0,0,0,0.45); z-index:999;
}
.mega-parent:hover .mega-dropdown { opacity:1; visibility:visible; transform: translateX(-50%) translateY(0); }

.mega-left img { width:100%; height:100%; object-fit:cover; filter:brightness(0.9); }
.mega-right { padding:10px 2px; color:#7a6767; }
.mega-right h3 { font-size:20px; margin-bottom:26px; color:#ff9f1c; letter-spacing:0.5px; }
.mega-right ul { list-style:none; padding:0; margin:0; }
.mega-right li { margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid rgba(204,12,12,0.18); }
.mega-right li:last-child { border-bottom:none; }
.mega-right a { color:#ffffff; font-size:15px; font-weight:500; text-decoration:none; display:inline-flex; align-items:center; gap:10px; transition:all 0.3s ease; }
.mega-right a::before { content:"➜"; color:#d3907d; transform: translateX(-6px); opacity:0; transition:all 0.3s ease; }
.mega-right a:hover { color:#ff9f1c; padding-left:6px; }
.mega-right a:hover::before { opacity:1; transform: translateX(0); }

/* ================= MEGA MENU (slide-out full) ================= */
.mega-overlay {
  position: fixed; inset:0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); opacity:0; pointer-events:none; transition:0.4s ease; z-index:99999;
}
.mega-overlay.show { opacity:1; pointer-events:auto; }

.mega-menu {
  position: fixed; inset:0; z-index:100000; background: linear-gradient(135deg,#141414,#232046);
  transform: translateX(101%); transition: transform 0.8s cubic-bezier(0.77,0,0.18,1);
  visibility: hidden; opacity:0; display:flex; flex-direction:column; overflow:hidden;
}
.mega-menu.open { transform: translateX(0); visibility:visible; opacity:1; }
body.menu-open { overflow: hidden; }

.mega-curtain { position:absolute; inset:0; background:#ff9f1c; transform: scaleX(0); transform-origin:right; z-index:-1; }
.mega-menu.open .mega-curtain { animation: curtainOpen 0.8s ease forwards; }
@keyframes curtainOpen { 0% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

.mega-top { position:relative; flex-shrink:0; display:flex; justify-content:flex-end; align-items:center; padding:50px 6% 10px 6%; max-width:1450px; width:100%; margin:0 auto; }
.mmet-logo { display:none; font-family: Georgia, 'Times New Roman', Times, serif; font-size:42px; font-weight:900; color:#ff9f1c; letter-spacing:4px; margin:0; line-height:1; }

/* mobile show mmet logo */
@media (max-width:768px) {
  .mmet-logo { display:block; font-size:32px; margin-bottom:10px; }
  .mega-top { padding:30px 24px 10px 24px; align-items:center; }
}
@media (max-width:480px) { .mmet-logo { font-size:28px; } }

.mega-close {
  font-size:44px; color:#fff; cursor:pointer; line-height:0.7;
  position:absolute; top:25px; right:6%; font-size:42px; color:#fff; cursor:pointer; z-index:100005;
}

/* mega content layout */
.mega-content { flex-grow:1; overflow-y:auto; padding:0 6% 60px 6%; }
.mega-content-inner { display:flex; gap:40px; max-width:1300px; margin:0 auto; align-items:flex-start; box-sizing:border-box; }

.mega-links-grid { flex:1; display:grid; grid-template-columns: repeat(4,1fr); gap:40px 20px; }
.mega-col h4 { color:#ff9f1c; margin-bottom:15px; font-size:1.1rem; border-bottom:1px solid rgba(255,255,255,0.1); padding-bottom:5px; text-transform:uppercase; line-height:1.2; }
.mega-col a { display:block; text-decoration:none; color:#fff; font-size:16px; margin-bottom:10px; transition:0.3s; opacity:0; transform:translateY(20px); }
.mega-menu.open .mega-col a { animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }
.home-link { display:flex !important; align-items:center; gap:10px; color:#fff !important; font-weight:500; }
.home-link i { color:#fff; }
.mega-col a:hover { color:#ff9f1c !important; padding-left:8px; }

.mega-side-image { flex:0 0 280px; max-width:280px; }
.mega-image-panel { display:block; position:relative; border-radius:20px; overflow:hidden; height:320px; width:100%; text-decoration:none; box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.mega-image-panel img { width:100%; height:100%; object-fit:cover; transition:0.6s ease; }
.mega-image-panel:hover img { transform:scale(1.08); }
.image-label { position:absolute; inset:0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); display:flex; align-items:flex-end; padding:20px; }
.image-label span { color:#fff; font-size:16px; font-weight:600; }

/* responsiveness for mega */
@media (max-width:1200px) { .mega-links-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:992px) {
  .mega-content-inner { flex-direction:column; align-items:flex-start; }
  .mega-links-grid { grid-template-columns: repeat(2,1fr); width:100%; }
  .mega-side-image { flex:1 1 100%; max-width:100%; width:100%; margin-top:40px; }
  .mega-image-panel { height:250px; }
  .mega-close { position:static; right:auto; top:auto; background:transparent; padding:0; }
}
@media (max-width:768px) { .mega-top { justify-content:space-between; padding:20px 24px; } }
@media (max-width:600px) {
  .mega-links-grid { grid-template-columns: 1fr; gap:25px; }
  .mega-content { padding:10px 25px 40px 25px; }
}

/* Desktop vs tablet tweaks */
@media (min-width:992px) {
  .mega-links-grid { grid-template-columns: repeat(4,1fr); }
  .mega-side-image { flex:0 0 300px; max-width:300px; }
  .mega-image-panel { height:340px; }
}
@media (max-width:991px) {
  .mega-content-inner { flex-direction:column; }
  .mega-links-grid { grid-template-columns: repeat(2,1fr); }
  .mega-side-image { width:100%; max-width:100%; margin-top:40px; }
  .mega-image-panel { height:250px; }
}
@media (max-width:600px) { .mega-links-grid { grid-template-columns:1fr; } }

/* small tablet tweak for side image */
@media (min-width:768px) and (max-width:992px) {
  .mega-side-image { flex:0 0 250px; max-width:250px; margin-top:60px; }
}
/* colour before hover */
/* Header links default color */
.mega-col h4 a {
  color: #ff9f1c;          /* same gold color */
  text-decoration: none;
  transition: 0.3s ease;
}

/* Optional hover (slight glow effect, not required) */
.mega-col h4 a:hover {
  color: #ffd27f;          /* lighter gold */
}
/* ================= PROGRAMMES / CARDS ================= */
.programmes { padding:100px 40px; text-align:center; font-family: Georgia, 'Times New Roman', Times, serif; background: linear-gradient(135deg,#0f2027,#203a43,#2c5364); }
.programmes h2 { font-size:52px; color:white; margin-bottom:80px; }

.card-container { display:flex; gap:50px; flex-wrap:nowrap; overflow-x:auto; padding-bottom:20px; }
.card { width:340px; height:420px; border-radius:25px; overflow:hidden; position:relative; flex-shrink:0; background:white; box-shadow:0 25px 60px rgba(0,0,0,0.35); transition:0.6s ease; }
.card img { width:100%; height:260px; object-fit:cover; transition:0.6s ease; }
.card::after { content:""; position:absolute; inset:0; background: linear-gradient(135deg, rgba(32,58,67,0.9), rgba(44,83,100,0.9)); clip-path: polygon(0 65%, 100% 45%, 100% 100%, 0% 100%); transition:0.6s ease; }
.card-content { position:absolute; bottom:25px; left:25px; right:25px; color:white; z-index:2; transform:translateY(20px); transition:0.6s ease; }
.card-content h3 { font-size:24px; margin-bottom:8px; }
.card-content p { font-size:15px; margin-bottom:18px; }
.card-content button { padding:10px 22px; border:none; border-radius:25px; background:white; color:#203a43; font-weight:600; cursor:pointer; transition:0.4s ease; }
.card:hover { transform: translateY(-20px) rotateY(5deg) scale(1.07); box-shadow: 0 40px 90px rgba(0,0,0,0.6); }
.card:hover img { transform: scale(1.15); }
.card:hover::after { clip-path: polygon(0 55%, 100% 35%, 100% 100%, 0% 100%); }
.card:hover .card-content { transform: translateY(0); }
.card:hover button { background:#203a43; color:white; box-shadow:0 0 20px rgba(255,255,255,0.4); }

/* section title */
.section-title { text-align:center; font-size: clamp(2.6rem,5vw,4rem); margin:6px 0 36px; color:#ffffff; text-shadow:0 6px 18px rgba(0,0,0,0.45); }

/* program-card styles */
.program-card h3 { font-size:1.6rem; margin-bottom:12px; color:#1a262e; font-weight:800; letter-spacing:-0.5px; }
.program-card .age { background:#ed9342; color:#fff; padding:5px 15px; border-radius:50px; font-size:0.85rem; font-weight:700; margin-bottom:20px; box-shadow:0 4px 10px rgba(255,122,0,0.2); }
.program-card p { font-size:1rem; line-height:1.7; color:#445460; margin-bottom:30px; font-weight:500; }
.program-btn { background:#1a262e; color:#fff !important; padding:14px 30px; border-radius:50px; text-transform:uppercase; font-size:0.85rem; letter-spacing:1px; transition:all 0.3s ease; }
.program-btn:hover { background:#ff7a00; transform:scale(1.05); box-shadow:0 10px 20px rgba(255,122,0,0.3); }
.program-card:hover { transform: translateY(-10px) scale(1.02); background: rgba(255,255,255,0.6); box-shadow:0 30px 60px rgba(255,122,0,0.15); border-color: rgba(255,255,255,0.5); }

/* programs responsive */
@media (max-width:1300px) {
  .programs-grid { grid-template-columns: repeat(3, minmax(220px,1fr)) !important; }
  .program-card { min-height:400px; }
  .program-card img { height:170px; }
}
@media (max-width:1100px) {
  .programs-grid { grid-template-columns: repeat(2,1fr); }
  .section-title { font-size:2.8rem; }
}
@media (max-width:1000px) {
  .programs-grid { grid-template-columns: repeat(2,1fr) !important; gap:20px; }
  .program-card { min-height:360px; padding:16px; }
  .section-title { font-size: clamp(2.2rem,6vw,3.2rem); margin-bottom:28px; }
}
@media (max-width:768px) {
  .programs-video-section { padding:80px 5% 40px !important; }
  .programs-grid { grid-template-columns: 1fr; gap:25px; }
  .program-card { padding:25px 20px; }
  .program-card img { height:180px; }
}
@media (max-width:600px) {
  .programs-grid { grid-template-columns:1fr !important; gap:18px; }
  .program-card { min-height:auto; padding:18px; }
  .program-card img { height:160px; margin-bottom:12px; }
  .program-btn { align-self:stretch; text-align:center; }
}

/*/

/* --- 🏛️ MAIN FOOTER WRAPPER --- */
.school-footer {
  /* ✨ MODIFIED: Darker background to make golden lines pop */
  background: linear-gradient(145deg, #02005d 0%, #020021 100%);
  color: #f1f5f9;
  position: relative;
  padding-top: 60px; 
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
}

/* --- 🌊 TOP DIVIDER --- */
.footer-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}
.footer-divider svg {
    width: 100%;
    height: 40px; 
}
.footer-divider .shape-fill {
    fill: #FFFFFF; 
}

/* --- 📦 CONTAINER & GRID --- */
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  /* Balanced columns */
  grid-template-columns: 1.8fr 0.9fr 0.9fr 1.1fr; 
  gap: 30px;
  padding: 10px 5% 30px;
  align-items: start;
}

/* --- 🏷️ BRANDING --- */
.brand-header {
  display: flex;
  align-items: center; 
  gap: 20px; 
  margin-bottom: 12px;
}

.footer-logo {
  width: 85px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.gold-text {
  font-size: 1.8rem; 
  font-weight: 900; 
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.footer-col.brand p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  max-width: 450px;
}

/* --- 🔗 LINKS & ACADEMICS (MODIFIED WITH GOLDEN LINE) --- */
.footer-col h4 {
  font-size: 1.35rem; 
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 25px; /* Added space for the line */
  text-transform: uppercase;
  position: relative;
  display: inline-block; /* Keeps the line size relative to text */
}

/* ✨ THE GOLDEN LINE ADDITION */
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px; /* Position below the text */
  width: 100%;  /* Makes the line span the full width of the title */
  height: 2px;
  /* Shimmering Golden Gradient */
  background: linear-gradient(to right, #bf953f, #fcf6ba, transparent);
  border-radius: 2px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.15rem; 
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #f59e0b;
  padding-left: 8px;
}

/* --- 📞 CONTACT --- */
.footer-col.contact p {
  font-size: 1.1rem; 
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fff;
  transition: 0.3s;
  border: 1px solid rgba(191, 149, 63, 0.3); /* Subtle gold border */
}

/* --- 📜 BOTTOM BAR --- */
.footer-bottom {
  text-align: center;
  padding: 15px 0;
  background: rgba(55, 53, 53, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
}

.footer-bottom p {
  font-size: 0.95rem;
  color: rgb(241, 237, 237);
}

/* --- 📱 MOBILE --- */
@media (max-width: 1024px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .brand-header { justify-content: center; }
  .footer-col h4::after { 
    left: 50%; 
    transform: translateX(-50%); 
    width: 60px; /* Centered small line for mobile */
  }
  .footer-col.contact p { justify-content: center; }
}
/* mv pv and tv */
/* ===============================
   📱 MOBILE (up to 650px)
================================ */
@media (max-width: 650px) {

  .school-footer {
    padding-top: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .brand-header {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo {
    width: 70px;
  }

  .gold-text {
    font-size: 1.4rem;
  }

  .footer-col.brand p {
    font-size: 1rem;
    max-width: 100%;
  }

  .footer-col h4 {
    font-size: 1.2rem;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }

  .footer-col ul li a {
    font-size: 1rem;
  }

  .footer-col.contact p {
    justify-content: center;
    font-size: 1rem;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}


/* ===============================
   📲 TABLET (651px - 1024px)
================================ */
@media (min-width: 651px) and (max-width: 1024px) {

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
  }

  .footer-logo {
    width: 75px;
  }

  .gold-text {
    font-size: 1.6rem;
  }

  .footer-col.brand p {
    font-size: 1.05rem;
  }

  .footer-col h4 {
    font-size: 1.25rem;
  }

  .footer-col ul li a {
    font-size: 1.05rem;
  }

  .footer-col.contact p {
    font-size: 1.05rem;
  }

  .footer-socials {
    gap: 12px;
  }
}


/* ===============================
   💻 LARGE PC / TV (1200px+)
================================ */
@media (min-width: 1200px) {

  .footer-container {
    max-width: 1500px;
    gap: 50px;
  }

  .footer-logo {
    width: 95px;
  }

  .gold-text {
    font-size: 2rem;
  }

  .footer-col.brand p {
    font-size: 1.2rem;
  }

  .footer-col h4 {
    font-size: 1.4rem;
  }

  .footer-col ul li a {
    font-size: 1.15rem;
  }

  .footer-col.contact p {
    font-size: 1.15rem;
  }

  .footer-socials a {
    width: 42px;
    height: 42px;
  }

  .footer-bottom p {
    font-size: 1rem;
  }
}


/* ================= ABOUT US ================= */
/* .aboutus-section { padding:100px 20px; background: linear-gradient(135deg,#d9b2de,#d3aaaa); padding-bottom:50px; }
.aboutus-container { max-width:1200px; margin:auto; display:grid; grid-template-columns: 1fr 1.2fr; gap:70px; align-items:center; }
.aboutus-image { position:relative; width:100%; height:450px; border-radius:22px; overflow:hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.25); background:#000; }
.about-video-element { width:100%; height:100%; display:block; object-fit:cover; border-radius:22px; }
video::-webkit-media-controls-panel { background-image: linear-gradient(transparent, rgba(0,0,0,0.5)); }
.aboutus-content h2 { font-family:"Playfair Display",serif; font-size:44px; margin-bottom:18px; color:#1d2a4d; }
.aboutus-content h2 span { color:#ff7a00; }
.aboutus-intro { font-size:17px; line-height:1.8; color:#555; margin-bottom:28px; }
.aboutus-points { list-style:none; padding:0; }
.aboutus-points li { font-size:16px; line-height:1.7; margin-bottom:14px; color:#333; padding-left:6px; }
@media (max-width:900px) {
  .aboutus-container { grid-template-columns:1fr; text-align:center; gap:40px; }
  .aboutus-image { height:350px; max-width:600px; margin:0 auto; }
  .aboutus-points li { text-align:left; }
}
@media (max-width:480px) { .aboutus-image { height:250px; } } */

/* ================= CURRICULUM / ACCREDITATIONS ================= */
.curriculum-section { padding:100px 20px; background: linear-gradient(135deg,#cab6c2,#a9a0a9,#afaa9d); display:flex; justify-content:center; align-items:center; }
.curriculum-card { max-width:1100px; background: rgba(212,204,196,0.9); backdrop-filter: blur(8px); border-radius:22px; padding:70px 60px; box-shadow:0 30px 80px rgba(0,0,0,0.18); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.curriculum-card:hover { transform: translateY(-6px); box-shadow:0 40px 100px rgba(0,0,0,0.25); }
.curriculum-card h2 { font-family:"Playfair Display",serif; font-size:48px; font-weight:600; text-align:center; color:#1f1f3b; margin-bottom:40px; line-height:1.25; }
.curriculum-card p { font-family:"Inter",sans-serif; font-size:18px; line-height:1.9; color:#333; text-align:center; margin-bottom:22px; }
@media (max-width:768px) {
  .curriculum-card { padding:50px 30px; }
  .curriculum-card h2 { font-size:34px; }
  .curriculum-card p { font-size:16px; }
}

/* ================= CBSE SECTION ================= */
.cbse-section { background:#e3ede2; padding:100px 20px; }
.cbse-container { max-width:1300px; margin:auto; display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:80px; }
.cbse-image { display:flex; justify-content:center; }
.cbse-image svg { width:100%; max-width:460px; }
.cbse-content h2 { font-family:"Playfair Display",serif; font-size:44px; color:#1f1f3b; margin-bottom:30px; line-height:1.25; }
.cbse-content p { font-family:"Inter",sans-serif; font-size:18px; line-height:1.9; color:#333; margin-bottom:20px; }
@media (max-width:900px) {
  .cbse-container { grid-template-columns:1fr; text-align:center; }
  .cbse-content h2 { font-size:34px; }
}

/* ================= QUICK FACTS ================= */
.quick-facts { padding:80px 5%; text-align:center; background:#f8f8f8; overflow:hidden; }
.facts-title { font-family: Georgia, 'Times New Roman', Times, serif; font-size: clamp(30px, 8vw, 44px); color:#0c3b2e; margin-bottom:12px; }
.facts-line { width:60px; height:4px; background:#d08a1c; margin:0 auto 50px; }
.facts-grid { display:grid; grid-template-columns: repeat(5,1fr); gap:30px; max-width:1400px; margin:0 auto; align-items:start; }
.fact-item { display:flex; flex-direction:column; align-items:center; text-align:center; }
.fact-item i { font-size: clamp(32px,5vw,46px); color:#d7a24b; margin-bottom:15px; }
.fact-item h3 { font-size: clamp(28px,6vw,40px); font-weight:700; color:#0c3b2e; margin-bottom:5px; white-space:nowrap; }
.fact-item p { font-size:12px; letter-spacing:1px; text-transform:capitalize; color:#060606; line-height:1.4; }
@media (max-width:1200px) { .facts-grid { grid-template-columns: repeat(3,1fr); gap:40px; } }
@media (max-width:768px) { .facts-grid { grid-template-columns: repeat(2,1fr); gap:30px; } }
@media (max-width:480px) { .facts-grid { grid-template-columns:1fr; } }

/* ================= PRINCIPAL / READ MORE ================= */
.principal-details-page { min-height:100vh; padding:90px 12%; background: linear-gradient(135deg,#fdf6ec 0%, #aa7e40 50%, #e7c9a5 100%); font-family:"Inter",sans-serif; }
.principal-details-card { background:#ffffff; padding:60px; border-radius:24px; box-shadow:0 25px 50px rgba(0,0,0,0.12); max-width:1000px; margin:auto; }
.principal-details-card h1 { font-family:"Playfair Display",serif; font-size:42px; color:#7a3e00; margin-bottom:10px; }
.principal-details-card h2 { font-size:26px; color:#333; margin-bottom:5px; }
.designation { font-size:16px; color:#777; margin-bottom:30px; }
.principal-details-card p { font-size:17px; line-height:1.9; color:#444; margin-bottom:18px; text-align:justify; }
@media (max-width:900px) {
  .principal-details-page { padding:60px 6%; }
  .principal-details-card { padding:40px 25px; }
  .principal-details-card h1 { font-size:34px; }
}
.principal-info { text-transform:uppercase; }

/* ================= REQUIREMENTS / ADMISSION CARDS ================= */
.requirements-grid {
  display:grid;
  grid-template-columns: repeat(2, minmax(350px, 580px));
  justify-content:center; align-items:stretch; gap:40px; padding:80px 20px; background:#f4f7f6; width:100%; box-sizing:border-box;
}
.req-card { background:#fff; border-radius:30px; padding:60px; box-shadow:0 20px 45px rgba(0,0,0,0.1); border:1px solid #eee; display:flex; flex-direction:column; height:100%; font-family:"Times New Roman",serif; box-sizing:border-box; }
.req-header h2 { font-size:2.4rem; color:#1a2a6c; font-weight:800; margin:10px 0; }
.req-header p { font-size:16px; margin-bottom:40px; }
.req-group { margin-bottom:35px; }
.req-group h3 { font-size:18px; margin-bottom:20px; }
.req-list li { padding:18px 0; font-size:15px; border-bottom:1px solid #f2f2f2; color:#333; letter-spacing:0.5px; }
.req-card.foundation { border-top:10px solid #1a2a6c; }
.req-card.advanced { border-top:10px solid #f39c12; }
.mandatory-note { margin-top:auto; padding-top:40px; font-size:13px; line-height:1.6; }
@media (max-width:992px) { .requirements-grid { grid-template-columns:1fr; padding:40px 20px; } .req-card { padding:40px; } }

/* ================= ANIMATION HELPERS & REVEAL ================= */
.program-card, .faculty-card, .bento-item, .req-card { opacity:0; transform:translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.revealed { opacity:1 !important; transform:translateY(0) !important; }

/* ================= EVENTS PAGE: force transparent header at top ================= */
body.events-page .site-header, body.events-page #siteHeader, body.events-page header {
  position:absolute !important; top:0 !important; left:0 !important; width:100% !important; z-index:99999 !important; background:transparent !important; box-shadow:none !important; border:none !important;
}
body.events-page .site-header.scrolled, body.events-page #siteHeader.scrolled, body.events-page header.scrolled {
  position: fixed !important; background:#ffffff !important; box-shadow:0 8px 25px rgba(0,0,0,0.08) !important; border-bottom:0 !important;
}
body.events-page .site-header a, body.events-page .site-header i, body.events-page #siteHeader a, body.events-page #siteHeader i { color:#fff !important; }
body.events-page .site-header.scrolled a, body.events-page .site-header.scrolled i, body.events-page #siteHeader.scrolled a, body.events-page #siteHeader.scrolled i { color:#1d2a4d !important; }
body.events-page .site-header.scrolled .school-name, body.events-page #siteHeader.scrolled .school-name { color:#ff9f1c !important; }
/* mv pv and tv */
/* 📱 MOBILE HEADER IMPROVEMENT */
@media (max-width: 480px) {

  /* 🔥 Increase logo size */
  .logo img.site-logo {
    height: 65px !important;
    width: auto !important;
  }

  /* 🔥 Increase school name */
  .school-name {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.2;
  }

  /* Subtitle smaller but clean */
  .school-sub {
    font-size: 12px;
    line-height: 1.2;
  }

  /* Better spacing */
  .logo {
    gap: 8px;
    align-items: center;
  }

  /* Prevent text squeezing */
  .logo-text {
    text-align: left;
    overflow: hidden;
  }

}
/* 📱 MOBILE VIEW (up to 480px) */
@media (max-width: 480px) {

  body.events-page .site-header .school-name,
  body.events-page #siteHeader .school-name {
    font-size: 20px !important;   /* 🔥 increase size */
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
  }

  body.events-page .site-header.scrolled .school-name,
  body.events-page #siteHeader.scrolled .school-name {
    font-size: 20px !important;
  }

}


/* 📲 TABLET VIEW (481px – 991px) */
@media (max-width: 991px) and (min-width: 481px) {

  body.events-page .site-header .school-name,
  body.events-page #siteHeader .school-name {
    font-size: 24px !important;
  }

}


/* 💻 PC (992px – 1440px) */
@media (min-width: 992px) and (max-width: 1440px) {

  body.events-page .site-header .school-name,
  body.events-page #siteHeader .school-name {
    font-size: 26px !important;
  }

}


/* 📺 LARGE SCREENS / TV */
@media (min-width: 1441px) {

  body.events-page .site-header .school-name,
  body.events-page #siteHeader .school-name {
    font-size: 34px !important;
    letter-spacing: 1px;
  }

}
/* ================= MOBILE HEADER: consolidated & polished ================= */
@media (max-width:480px) {
  .site-logo, .logo img { max-height:36px !important; height:auto !important; width:auto !important; display:block !important; flex:0 0 auto !important; }
  .logo { display:flex !important; align-items:center !important; gap:8px !important; min-width:0 !important; }
  .logo-text { display:block !important; min-width:0 !important; overflow:hidden !important; }
  .full-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: clamp(12.3px, 3.2vw, 14px) !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    color: #ff9f1c !important;
  }
  .short-name { display:none !important; }
  .header-inner { padding:8px 12px !important; align-items:center !important; gap:8px !important; }
  .icons { order:3 !important; margin-left:auto !important; flex:0 0 auto !important; display:flex !important; align-items:center !important; justify-content:center !important; }
  .icons i, .icons .fa-bars, .icons button { font-size:22px !important; padding:6px !important; line-height:1 !important; }
  .site-header { min-height:56px !important; height:auto !important; }
  .gallery-hero, .hero { padding-top: calc(10px + var(--site-header-height, 56px)) !important; }
}

/* ===== Mobile fixes: Uniform Padding & Contact Responsive (end) ===== */
@media (max-width:992px) {
  :root {
    --header-height-mobile: 80px;
    --safe-top-gap: 30px;
    --total-top-padding: calc(var(--header-height-mobile) + var(--safe-top-gap));
  }
  /* body > section:first-of-type, body > main:first-of-type, .aboutus-section, .educational-network-section, .mmet-about-vm-section, .history-section:first-of-type {
    padding-top: var(--total-top-padding) !important;
  } */
  .back-btn-corner {
    position: fixed !important;
    top: calc(var(--header-height-mobile) + 10px) !important;
    left: 12px !important;
    z-index: 9999 !important;
    padding: 8px 12px !important;
    background: rgba(0,0,0,0.7) !important;
    backdrop-filter: blur(4px);
    border-radius: 6px !important;
  }
  h1, h2, .section-title { font-size: 1.8rem !important; line-height: 1.3 !important; margin-bottom: 1rem !important; }
  .full-principal-section { padding-top: calc(var(--total-top-padding) + 40px) !important; }
}
/* header style */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');

.school-name.full-name {
    /* Kept 'Cinzel' for that high-end, authoritative academic feel */
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(20px, 4vw, 36px); 
    font-weight: 700;
    
    /* Changed to White for high contrast against the dark background */
    color: #ffffff; 
    
    /* Formatting remained identical as requested */
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    
    /* Added a slightly stronger shadow to ensure white text pops on all images */
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
    
    /* Smooth transitions for hover */
    transition: all 0.4s ease;
    cursor: default;
}

/* Underline (::after element) has been removed */

/* Hover State: Now shifts to a soft gold to match your site's accent colors */
.school-name.full-name:hover {
    color: #d4af37; /* Sophisticated Gold */
    letter-spacing: 5px;
    transform: translateY(-2px);
}

/* Optimization for Mobile */
@media (max-width: 768px) {
    .school-name.full-name {
        letter-spacing: 1px;
        line-height: 1.4;
        text-align: center;
    }
}
/* ---------------------------------------------------------- */
/* menu button style */
.achievers-section.premium-achievers {
  padding: 80px 5%;
  /* DEEP OCEAN TO SKY GRADIENT */
  background: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0c4a6e 100%) !important;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.achievers-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
  width: 100%;
  max-width: 1300px;
}

.stat-card.elite {
  flex: 1 1 200px;
  max-width: 240px;
  /* FROSTED SKY BLUE GLASS */
  background: rgba(186, 230, 253, 0.1); 
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  padding: 40px 20px;
  border-radius: 24px; /* Softer, high-end corners */
  text-align: center;
  
  /* LAYERED BORDER FOR PRECISION */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.3), /* Top edge light */
    0 15px 35px rgba(0, 0, 0, 0.2);          /* Soft shadow */
  
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card.elite:hover {
  transform: translateY(-12px);
  background: rgba(186, 230, 253, 0.2);
  border: 1px solid rgba(186, 230, 253, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(186, 230, 253, 0.2);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: "Playfair Display", serif;
  /* ICE-WHITE TO SKY-BLUE GRADIENT */
  background: linear-gradient(to bottom, #ffffff 30%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #bae6fd; /* Light Sky Blue */
  font-weight: 500;
}

/* THE POSH BLACK ICON (SKY BLUE THEME) */
.icons i.fa-bars {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
  /* DEEP EBONY/BLACK ICON */
  color: #0f172a; 
  background: #bae6fd; /* Sky blue button */
  
  border-radius: 50%; /* Circle for variety */
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: 0.4s;
}

.icons i.fa-bars:hover {
  background: #ffffff;
  transform: rotate(90deg); /* Posh interaction */
  box-shadow: 0 12px 25px rgba(125, 211, 252, 0.4);
}
/* ------------------------------- */
/* mv pv and tv for the header */
/* =========================================
   💻 DEFAULT (PC - already your base styles)
========================================= */
/* Your existing footer CSS stays as it is */


/* =========================================
   📲 TABLET VIEW (651px – 1024px)
========================================= */
@media (max-width: 1024px) {

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px 5%;
  }

  .footer-logo {
    width: 80px;
  }

  .gold-text {
    font-size: 1.6rem;
  }

  .footer-col.brand p {
    font-size: 1.05rem;
  }

  .footer-col h4 {
    font-size: 1.25rem;
  }

  .footer-col ul li a {
    font-size: 1.05rem;
  }

  .footer-col.contact p {
    font-size: 1.05rem;
  }

  .footer-socials a {
    width: 40px;
    height: 40px;
  }
}


/* =========================================
   📱 MOBILE VIEW (up to 650px)
========================================= */
@media (max-width: 650px) {

  .school-footer {
    padding-top: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
    padding: 20px;
  }

  /* 🔥 Bigger Logo */
  .footer-logo {
    width: 110px;
    margin-bottom: 10px;
  }

  /* 🔥 Premium Brand Text */
  .gold-text {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  /* Center branding */
  .brand-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Description */
  .footer-col.brand p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 100%;
  }

  /* Section titles */
  .footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  /* Center golden line */
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
  }

  /* Links */
  .footer-col ul li a {
    font-size: 1.1rem;
  }

  /* Contact */
  .footer-col.contact p {
    font-size: 1.1rem;
    justify-content: center;
  }

  /* 🔥 Bigger social icons */
  .footer-socials {
    justify-content: center;
  }

  .footer-socials a {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* Bottom text */
  .footer-bottom p {
    font-size: 0.95rem;
  }
}


/* =========================================
   🖥️ LARGE PC / TV (1200px+)
========================================= */
@media (min-width: 1200px) {

  .footer-container {
    max-width: 1500px;
    gap: 60px;
  }

  .footer-logo {
    width: 100px;
  }

  .gold-text {
    font-size: 2.1rem;
  }

  .footer-col.brand p {
    font-size: 1.2rem;
  }

  .footer-col h4 {
    font-size: 1.4rem;
  }

  .footer-col ul li a {
    font-size: 1.15rem;
  }

  .footer-col.contact p {
    font-size: 1.15rem;
  }

  .footer-socials a {
    width: 45px;
    height: 45px;
  }

  .footer-bottom p {
    font-size: 1rem;
  }
}
