/* ============================================= */
/* 🎨 BLUE, ORANGE, AMBER & MAGENTA THEME      */
/* Slideshow color transitions everywhere       */
/* ROOT VARIABLES - Blue, Orange, Amber, Magenta*/
/* ============================================= */
:root {
  
  --blue: #2196F3;
  --blue-light: #BBDEFB;
  --blue-dark: #1565C0;
  
  --orange: #FF9800;
  --orange-light: #FFE0B2;
  --orange-dark: #EF6C00;
  
  --amber: #FFC107;
  --amber-light: #FFECB3;
  --amber-dark: #FF8F00;
  
  --magenta: #E91E63;
  --magenta-light: #F8BBD0;
  --magenta-dark: #C2185B;
  
  /* Gradient Combinations */
  --gradient-main: linear-gradient(135deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  --gradient-reverse: linear-gradient(135deg, var(--orange), var(--amber), var(--magenta), var(--blue));
  --gradient-animated: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  
  /* Background Colors */
  --white: #ffffff;
  --bg: #FAFBFC;
  --muted: #F5F7FA;
  --card: #ffffff;
  
  /* Text Colors */
  --text: #1A237E;
  --text-light: #5C6BC0;
  
  /* Shadow & Border Radius */
  --shadow: 0 4px 20px rgba(33, 150, 243, 0.15);
  --shadow-amber: 0 4px 20px rgba(255, 193, 7, 0.25);
  --shadow-orange: 0 4px 20px rgba(255, 152, 0, 0.2);
  --shadow-magenta: 0 4px 20px rgba(233, 30, 99, 0.25);
  --radius: 16px;
}


/* ============================================= */
/* ANIMATED GRADIENT KEYFRAMES                  */
/* Main slideshow animation                     */
/* ============================================= */
@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes colorPulse {
  0% { filter: hue-rotate(0deg); }
  25% { filter: hue-rotate(30deg); }
  50% { filter: hue-rotate(-30deg); }
  75% { filter: hue-rotate(20deg); }
  100% { filter: hue-rotate(0deg); }
}

@keyframes borderColorSlide {
  0% { border-color: var(--blue); }
  25% { border-color: var(--magenta); }
  50% { border-color: var(--amber); }
  75% { border-color: var(--orange); }
  100% { border-color: var(--blue); }
}

@keyframes shadowColorSlide {
  0% { box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4); }
  25% { box-shadow: 0 4px 20px rgba(233, 30, 99, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4); }
  75% { box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4); }
  100% { box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4); }
}

@keyframes textColorSlide {
  0% { color: var(--blue); }
  25% { color: var(--magenta); }
  50% { color: var(--amber-dark); }
  75% { color: var(--orange); }
  100% { color: var(--blue); }
}

@keyframes bgColorSlide {
  0% { background-color: var(--blue); }
  25% { background-color: var(--magenta); }
  50% { background-color: var(--amber); }
  75% { background-color: var(--orange); }
  100% { background-color: var(--blue); }
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes glowPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
  }
  50% { 
    box-shadow: 0 0 35px rgba(233, 30, 99, 0.5);
  }
}


/* ============================================= */
/* RESET & BASE STYLES                          */
/* ============================================= */
* { 
  box-sizing: border-box; 
  -webkit-tap-highlight-color: transparent;
}

html { 
  scroll-behavior: smooth; 
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.6;
  padding-bottom: 70px;
}

img { 
  max-width: 100%; 
  display: block; 
}

a { 
  color: inherit; 
  text-decoration: none; 
}


/* ============================================= */
/* CONTAINER                                    */
/* ============================================= */
.container {
  width: 100%;
  padding: 0 16px;
}


/* ============================================= */
/* SPLASH SCREEN - 4 Color Animated Gradient    */
/* ============================================= */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  padding: 20px;
}

.splash-logo {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  margin: 0 auto 20px;
  border: 4px solid white;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  animation: shadowColorSlide 3s ease infinite, splashPulse 1.5s ease-in-out infinite;
  background: white;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.splash-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.splash-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  margin: 0 0 30px;
}

.splash-loader {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.loader-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  animation: splashBounce 1.4s ease-in-out infinite;
}

.loader-dot:nth-child(1) { 
  background: var(--blue-light);
  animation-delay: 0s; 
}
.loader-dot:nth-child(2) { 
  background: var(--magenta-light);
  animation-delay: 0.2s; 
}
.loader-dot:nth-child(3) { 
  background: var(--amber-light);
  animation-delay: 0.4s; 
}

@keyframes splashBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1.2); opacity: 1; }
}

.splash-text {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  margin: 0;
  animation: splashFade 1s ease-in-out infinite alternate;
}

@keyframes splashFade {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}


/* ============================================= */
/* TOP HEADER / TOPBAR - Animated Border        */
/* ============================================= */
.topbar {
  background: linear-gradient(135deg, #ffffff 0%, #FFFEF5 100%);
  padding: 14px 16px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange)) 1;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(233, 30, 99, 0.15);
}


/* ============================================= */
/* BRAND CONTAINER                              */
/* ============================================= */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-container {
  position: relative;
  flex-shrink: 0;
}

.brand img.logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 14px;
  border: 3px solid;
  animation: borderColorSlide 4s ease infinite;
  background: white;
  padding: 4px;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: conic-gradient(var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  border-radius: 50%;
  z-index: 1;
  animation: logoSpin 4s linear infinite;
  opacity: 0.5;
  filter: blur(10px);
}

@keyframes logoSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}


/* ============================================= */
/* SCHOOL NAME CONTAINER                        */
/* ============================================= */
.brand .name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand .name h1 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.brand .name .location {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand .name .location i {
  color: var(--magenta);
  font-size: 10px;
  animation: iconBounce 2s ease infinite;
}

.brand .name .tagline {
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  animation: textColorSlide 4s ease infinite;
}

.brand .name .tagline i {
  font-size: 8px;
  color: var(--amber);
  animation: iconBounce 1.5s ease infinite;
}


/* ============================================= */
/* NAVIGATION BAR - Warm Animated Gradient      */
/* ============================================= */
.navbar {
  background: linear-gradient(270deg, var(--blue), var(--amber), var(--orange), var(--amber), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 6s ease infinite;
  padding: 0;
  position: sticky;
  top: 74px;
  z-index: 999;
}

.nav-inner {
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.nav-toggle {
  width: auto;
  background: transparent;
  color: #ffffff;
  border: none;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.nav-toggle i { 
  font-size: 18px;
}

/* ============================================= */
/* SIDE MENU - Opens from Right Side            */
/* ============================================= */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  /* height hata do */
  /* height: 100vh; */

  /* jitni height chahiye utni hi le, aur max screen se kam rakho */
  max-height: calc(100vh - 60px);  /* 60px ya jitna gap neeche chahiye utna rakh lo */

  background: linear-gradient(180deg, var(--blue), var(--magenta), var(--orange));
  background-size: 100% 200%;
  animation: gradientSlide 6s ease infinite;
  z-index: 1001;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.side-menu.open {
  right: 0;
}

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.side-menu-header span {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.close-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:active {
  background: rgba(255,255,255,0.3);
  transform: scale(0.95);
}

.side-menu-content {
  flex: 1;
  padding: 15px 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.side-menu-content a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s ease;
  text-decoration: none;
}

.side-menu-content a:active {
  background: rgba(255,255,255,0.15);
  padding-left: 30px;
}

.side-menu-content a i {
  width: 24px;
  font-size: 16px;
  text-align: center;
}

/* Login Button Style */
.side-menu-content .login-btn {
  margin: 20px;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 25px;
  padding: 14px 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.side-menu-content .login-btn:active {
  background: rgba(255,255,255,0.35);
  padding-left: 24px;
}

/* ============================================= */
/* OVERLAY                                       */
/* ============================================= */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================= */
/* ANIMATION FOR MENU ITEMS                     */
/* ============================================= */
.side-menu-content a {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.3s ease;
}

.side-menu.open .side-menu-content a {
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open .side-menu-content a:nth-child(1) { transition-delay: 0.05s; }
.side-menu.open .side-menu-content a:nth-child(2) { transition-delay: 0.1s; }
.side-menu.open .side-menu-content a:nth-child(3) { transition-delay: 0.15s; }
.side-menu.open .side-menu-content a:nth-child(4) { transition-delay: 0.2s; }
.side-menu.open .side-menu-content a:nth-child(5) { transition-delay: 0.25s; }
.side-menu.open .side-menu-content a:nth-child(6) { transition-delay: 0.3s; }
/* ============================================= */
/* HERO SLIDER SECTION - FULL WIDTH FIX         */
/* With Blue, Magenta, Amber, Orange Theme      */
/* ============================================= */

/* Reset any body/html margins first */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.hero {
  position: relative;
  width: 100vw;           /* Full viewport width */
  height: 280px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);  /* Center trick for full width */
  background: linear-gradient(135deg, #FFECB3, #F8BBD0); /* Fallback gradient */
}

.slides {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: block;          /* IMPORTANT - removes bottom gap */
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85);
  border: none;            /* No border */
  outline: none;           /* No outline */
}

/* Enhanced overlay with subtle gradient animation */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(33, 150, 243, 0.1) 30%,    /* Blue tint */
    rgba(233, 30, 99, 0.2) 50%,     /* Magenta tint */
    rgba(255, 193, 7, 0.3) 70%,     /* Amber tint */
    rgba(26, 35, 126, 0.9) 100%);   /* Dark bottom */
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
  color: #fff;
  z-index: 2;
}

.hero h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  /* Animated text gradient */
  background: linear-gradient(90deg, #ffffff, #FFECB3, #ffffff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s ease infinite;
}

@keyframes textShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero p {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* CTA Buttons with theme colors */
.cta {
  display: flex;
  gap: 10px;
}

.cta .btn {
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease;
}

.cta .btn-primary {
  background: linear-gradient(270deg, #2196F3, #E91E63, #FFC107, #FF9800, #2196F3);
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.35);
}

.cta .btn-outline {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(5px);
}

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Slider Controls with theme */
.slider-controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.dot:hover {
  background: rgba(255,255,255,0.7);
  transform: scale(1.2);
}

.dot.active {
  width: 28px;
  border-radius: 4px;
  background: linear-gradient(90deg, #2196F3, #E91E63, #FFC107, #FF9800);
  background-size: 300% 100%;
  animation: dotSlide 3s ease infinite;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
}

@keyframes dotSlide {
  0% { 
    background-position: 0% 50%;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
  }
  25% { 
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
  }
  50% { 
    background-position: 100% 50%;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
  }
  75% { 
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
  }
  100% { 
    background-position: 0% 50%;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
  }
}

/* Optional: Add left/right navigation arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2196F3, #E91E63);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev {
  left: 16px;
  background: linear-gradient(135deg, #2196F3, #E91E63);
}

.hero-nav.next {
  right: 16px;
  background: linear-gradient(135deg, #FFC107, #FF9800);
}

/* Slide transition effects */
.slide {
  animation: slideIn 0.6s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  .hero {
    height: 240px;
  }
  
  .hero h2 {
    font-size: 20px;
  }
  
  .hero p {
    font-size: 12px;
  }
  
  .cta .btn {
    padding: 8px 16px;
    font-size: 11px;
  }
  
  .hero-nav {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

/* Loading animation for images */
.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent);
  animation: imageShimmer 2s infinite;
}

@keyframes imageShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Pause animation when slide is active */
.slide.active::before {
  animation: none;
  display: none;
}

/* ============================================= */
/* REVEAL ANIMATION                             */
/* ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================= */
/* SECTION STYLING                              */
/* ============================================= */
section {
  padding: 32px 16px;
}

h3.section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

p.section-sub {
  color: var(--text-light);
  margin: 0 0 20px;
  font-size: 13px;
}

.section-title-center {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
  text-align: center;
}

.section-sub-center {
  color: var(--text-light);
  margin: 0 0 24px;
  font-size: 13px;
  text-align: center;
}


/* ============================================= */
/* ANIMATED SECTION TITLES                      */
/* ============================================= */
.section-title-animated {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  text-align: center;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientSlide 4s ease infinite;
}


/* ============================================= */
/* MESSAGES SECTION - Gradient Background       */
/* ============================================= */
.messages-section, .messages {
  background: linear-gradient(180deg, var(--magenta-light) 0%, var(--amber-light) 50%, #ffffff 100%);
}

.msg-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border-left: 4px solid;
  animation: borderColorSlide 6s ease infinite;
  transition: transform 0.2s ease;
}

.msg-block:active {
  transform: scale(0.98);
}

.msg-dp {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid;
  animation: borderColorSlide 4s ease infinite, shadowColorSlide 4s ease infinite;
}

.msg-dp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.msg-info {
  flex: 1;
}

.msg-info h4 {
  margin: 8px 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.msg-designation {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 8px;
  animation: textColorSlide 4s ease infinite;
}

.msg-text {
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: textColorSlide 4s ease infinite;
}

.read-more-btn:active {
  opacity: 0.7;
}

.read-more-btn i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.read-more-btn:active i {
  transform: translateX(4px);
}


/* ============================================= */
/* MESSAGE POPUP                                */
/* ============================================= */
.msg-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 35, 126, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.msg-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.msg-popup {
  background: var(--white);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}

.msg-popup-overlay.show .msg-popup {
  transform: translateY(0);
}

.popup-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 6s ease infinite;
  position: relative;
  flex-shrink: 0;
  border-radius: 24px 24px 0 0;
}

.popup-header h4 {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.popup-dp {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.popup-designation {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  margin-top: 2px;
}

.popup-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--magenta);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.popup-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}

.popup-body::-webkit-scrollbar {
  width: 5px;
}

.popup-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.popup-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  border-radius: 5px;
}


/* ============================================= */
/* LETTER CONTAINER                             */
/* ============================================= */
.letter-container {
  background: linear-gradient(135deg, #FFFEF8 0%, #FFF9E8 100%);
  margin: 16px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #F5E6C0;
  box-shadow: inset 0 0 30px rgba(255, 248, 220, 0.6);
  position: relative;
}

.letter-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  border-radius: 0 0 4px 4px;
}

.letter-header {
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px dashed #E8D5A8;
}

.letter-header img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin: 0 auto 10px;
  border-radius: 10px;
  border: 2px solid;
  animation: borderColorSlide 4s ease infinite;
}

.letter-header h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.letter-header span {
  font-size: 11px;
  color: var(--text-light);
}

.letter-greeting {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.letter-content {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  text-align: justify;
}

.letter-content p {
  margin: 0 0 14px;
  text-indent: 25px;
}

.letter-content p:last-child {
  margin-bottom: 0;
}

.letter-closing {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 2px dashed #E8D5A8;
}

.letter-regards {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 14px;
}

.letter-signature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.letter-signature img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid;
  animation: borderColorSlide 4s ease infinite;
}

.letter-signature-info h6 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.letter-signature-info span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  animation: textColorSlide 4s ease infinite;
}

.letter-signature-info small {
  font-size: 10px;
  color: var(--text-light);
}


/* ============================================= */
/* BADGES - 4 Color Theme                       */
/* ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.b-yellow, .badge-blue {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.b-teal, .badge-amber {
  background: var(--amber-light);
  color: var(--amber-dark);
}

.b-coral, .badge-orange {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.badge-magenta {
  background: var(--magenta-light);
  color: var(--magenta-dark);
}

.badge-animated {
  background: linear-gradient(270deg, var(--blue-light), var(--magenta-light), var(--amber-light), var(--orange-light), var(--blue-light));
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
  color: var(--text);
}


/* ============================================= */
/* BUTTONS - 4 Color Animated Gradient          */
/* ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 25px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.2s ease;
}

.btn:active {
  transform: scale(0.95);
}

/* Primary Button - 4 Color Animated Gradient */
.btn-yellow {
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.35);
}

/* Outline Button */
.btn-outline {
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(5px);
}

.btn-outline:active {
  background: rgba(255,255,255,0.35);
}

/* Blue Button */
.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.35);
}

/* Amber Button */
.btn-amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #5D4037;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.35);
}

/* Orange Button */
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.35);
}

/* Magenta Button */
.btn-magenta {
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.35);
}

/* Teal Button (keeping for compatibility) */
.btn-teal {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.35);
}

.btn-full {
  justify-content: center;
  width: 100%;
}


/* ============================================= */
/* FEATURES SECTION - Gradient Background       */
/* ============================================= */
.features-section {
  background: linear-gradient(180deg, var(--orange-light) 0%, var(--magenta-light) 50%, #ffffff 100%);
}

.features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border-left: 4px solid;
  animation: borderColorSlide 6s ease infinite;
  transition: transform 0.2s ease;
}

.feature-card:active {
  transform: scale(0.98);
}

.thumb {
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  margin: 12px 0;
  box-shadow: var(--shadow);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}

.feature-card p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}


/* ============================================= */
/* PHOTO STRIP / GALLERY                        */
/* ============================================= */
.photo-strip {
  margin-top: 16px;
}

.strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.strip::-webkit-scrollbar {
  height: 4px;
}

.strip::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  border-radius: 4px;
}

.ph-item {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 220px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 150px;
  box-shadow: var(--shadow);
}

.ph-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(26, 35, 126, 0.85));
  color: #fff;
  padding: 25px 10px 10px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.swipe-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.swipe-hint i {
  animation: swipeAnim 1.5s infinite, textColorSlide 4s ease infinite;
}

@keyframes swipeAnim {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}


/* ============================================= */
/* INFO CARD                                    */
/* ============================================= */
.info-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border-left: 4px solid;
  animation: borderColorSlide 6s ease infinite;
}

.info-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 12px;
  animation: textColorSlide 4s ease infinite;
}

.info-card p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 13px;
  color: var(--text-light);
}

.info-card p i {
  width: 16px;
  animation: textColorSlide 4s ease infinite;
}

.info-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
}

.info-card-yellow {
  background: linear-gradient(135deg, var(--amber-light), var(--magenta-light));
  color: var(--text);
  border-left: 4px solid var(--magenta);
}

.info-card-yellow p {
  color: #5D4037;
}

.info-card-yellow p i {
  color: var(--magenta-dark);
}

.lead {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 12px;
}

.hr {
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  border-radius: 2px;
  margin: 16px 0;
}


/* ============================================= */
/* ADMISSION BUTTONS                            */
/* ============================================= */
.admission-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* ============================================= */
/* NOTICE CARD - 4 Color Animated Gradient      */
/* ============================================= */
.notice-card {
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 6s ease infinite;
  color: white;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
}

.notice-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-card h4 i {
  animation: iconBounce 1s ease infinite;
}

.notice-card p {
  font-size: 13px;
  opacity: 0.95;
  margin: 0;
}


/* ============================================= */
/* ACHIEVEMENTS SECTION - New Layout (Mobile)   */
/* ============================================= */

.achievements {
  background: linear-gradient(
    180deg,
    var(--blue-light) 0%,
    var(--magenta-light) 50%,
    var(--white) 100%
  );
}

.achievements-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 16px 32px;
}

/* Highlight / Intro Card */

.achieve-highlight {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 14px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  border-left: 4px solid var(--blue);
}

.achieve-school-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.achieve-intro {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-light);
}

.achieve-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--magenta-dark);
  font-weight: 600;
}

/* Detail Blocks (Academics & Sports) */

.achieve-blocks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.achieve-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--magenta);
}

.achieve-block-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  font-size: 18px;
}

.icon-circle.academic {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.35);
}

.icon-circle.sports {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.35);
}

.achieve-block-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.achieve-block-header p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-light);
}

.achieve-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.achieve-list li {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.achieve-list li i {
  color: var(--magenta);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.achieve-list .small-list {
  display: block;
  margin-top: 2px;
  font-size: 12px;
}

/* Gallery Heading */

.gallery-header {
  margin-bottom: 10px;
}

.gallery-header h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.gallery-header p {
  margin: 0;
  font-size: 12px;
  color: var(--text-light);
}

/* Photo Gallery (Horizontal Scroll - Mobile Friendly) */

.achieve-gallery {
  background: transparent;
}

.gallery-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

/* Mobile scrollbar style (optional) */
.gallery-track::-webkit-scrollbar {
  height: 4px;
}
.gallery-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.gallery-track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.gallery-item {
  min-width: 82%;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  display: block;
  height: 180px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}

/* Dots Navigation */

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.gallery-dot.active {
  width: 16px;
  background: var(--magenta);
}

/* Optional: better layout on tablet / desktop,
   but primary design is mobile-first */

@media (min-width: 768px) {
  .achievements-inner {
    padding: 60px 24px 40px;
  }

  .achieve-blocks {
    flex-direction: row;
  }

  .achieve-block {
    flex: 1;
  }

  .gallery-item {
    min-width: 45%;
  }
}
.trophy-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.trophy-strip::-webkit-scrollbar {
  height: 4px;
}

.trophy-strip::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  border-radius: 4px;
}

.trophy-item {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  transition: all 0.2s ease;
}

.trophy-item:active {
  transform: scale(0.95);
  border-color: var(--magenta);
}

.trophy-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trophy-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(26, 35, 126, 0.9));
  color: #fff;
  padding: 25px 8px 8px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.trophy-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 35, 126, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.trophy-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.trophy-popup {
  position: relative;
  max-width: 100%;
  max-height: 80vh;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.trophy-popup-overlay.show .trophy-popup {
  transform: scale(1);
}

.trophy-popup img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 4px solid;
  animation: borderColorSlide 3s ease infinite;
}

.trophy-popup p {
  color: #fff;
  text-align: center;
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 500;
}

.trophy-close-btn {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}


/* ============================================= */
/* FACILITY GALLERY                             */
/* ============================================= */
.facility-gallery {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-top: 20px;
  border-left: 4px solid;
  animation: borderColorSlide 6s ease infinite;
}

.facility-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.facility-strip::-webkit-scrollbar {
  height: 4px;
}

.facility-strip::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  border-radius: 4px;
}

.facility-photo {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 180px;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.facility-photo:active {
  transform: scale(0.95);
}

.facility-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(26, 35, 126, 0.9));
  color: #fff;
  padding: 25px 10px 8px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.gallery-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 35, 126, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-popup.show {
  opacity: 1;
  visibility: visible;
}

.gallery-popup-content {
  text-align: center;
  max-width: 100%;
}

.gallery-popup-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  border: 4px solid;
  animation: borderColorSlide 3s ease infinite;
}

.gallery-popup.show .gallery-popup-content img {
  transform: scale(1);
}

.gallery-popup-content p {
  color: white;
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.gallery-counter {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.gallery-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  background-size: 300% 300%;
  animation: gradientSlide 3s ease infinite;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-prev {
  left: 15px;
}

.gallery-next {
  right: 15px;
}


/* ============================================= */
/* FACILITIES SECTION                           */
/* ============================================= */
.facilities-section {
  background: linear-gradient(180deg, var(--amber-light) 0%, var(--blue-light) 50%, var(--white) 100%);
}

.facility-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.facility-tabs::-webkit-scrollbar {
  display: none;
}

.facility-tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 25px;
  background: var(--white);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.facility-tab.active {
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.35);
}

.facility-tab:active {
  transform: scale(0.95);
}

.facilities-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.facility-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.facility-card:active {
  transform: scale(0.98);
}

.facility-card.hidden {
  display: none;
}

.facility-icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
}

.facility-icon-box.blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.facility-icon-box.green, .facility-icon-box.teal {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.facility-icon-box.purple {
  background: linear-gradient(135deg, #9C27B0, #6A1B9A);
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.4);
}

.facility-icon-box.orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.facility-icon-box.red {
  background: linear-gradient(135deg, #F44336, #C62828);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.facility-icon-box.yellow {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #5D4037;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.facility-icon-box.pink {
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.facility-info {
  flex: 1;
}

.facility-info h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.facility-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

.facility-more-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  background-size: 300% 300%;
  animation: gradientSlide 4s ease infinite;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.facility-more-btn:active {
  transform: scale(0.9);
}


/* ============================================= */
/* FACILITY POPUP                               */
/* ============================================= */
.facility-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 35, 126, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.facility-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.facility-popup {
  background: var(--white);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.facility-popup-overlay.show .facility-popup {
  transform: translateY(0);
}

.facility-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--magenta);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.facility-popup-header {
  padding: 24px 20px 16px;
  text-align: center;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 6s ease infinite;
  position: relative;
}

.facility-popup-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.facility-popup-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 12px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: textColorSlide 4s ease infinite;
}

.facility-popup-body {
  padding: 20px;
  max-height: 55vh;
  overflow-y: auto;
}

.facility-popup-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.facility-popup-content {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.facility-popup-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 10px;
}

.facility-popup-content ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.facility-popup-content li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.facility-popup-content li i {
  margin-top: 3px;
  animation: textColorSlide 4s ease infinite;
}

/* ============================================= */
/* FOOTER */
/* ============================================= */

footer {
  background: linear-gradient(135deg, #1A237E, #0D1442);
  color: #fff;
  padding: 24px 16px;
}

.map {
  margin-bottom: 20px;
}

.map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.foot-card {
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 6s ease infinite;
  color: #ffffff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.foot-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

.foot-card p {
  font-size: 13px;
  margin: 6px 0;
  opacity: 0.95;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.socials a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.socials a:nth-child(1) {
  background: linear-gradient(135deg, #3b5998, #4267B2);
}

.socials a:nth-child(2) {
  background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.socials a:nth-child(3) {
  background: linear-gradient(135deg, #FF0000, #CC0000);
}

.socials a:nth-child(4) {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.socials a:active {
  transform: scale(0.9);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  margin-top: 20px;
}

/* NEW: links in copyright */
.footer-links {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  margin: 0 4px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .divider {
  color: rgba(255,255,255,0.5);
}

.footer-text {
  line-height: 1.6;
}

.copyright a {
  color: #ffffff;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}
footer {
  padding-bottom: 80px; /* adjust to height of bottom bar */
}


/* ============================================= */
/* QUICK ACTIONS BAR                            */
/* ============================================= */
.quick-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -4px 25px rgba(0,0,0,0.1);
  z-index: 1000;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange)) 1;
}

.quick-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-light);
  padding: 6px 12px;
  position: relative;
}

.quick-actions a i {
  font-size: 22px;
}

.quick-actions a:nth-child(1) i {
  color: var(--blue);
}

.quick-actions a:nth-child(2) i {
  color: var(--magenta);
  animation: iconBounce 2s ease infinite;
}

.quick-actions a:nth-child(3) i {
  color: var(--amber-dark);
}

.quick-actions a:nth-child(4) i {
  color: var(--orange);
}

.quick-actions a:active {
  background: var(--muted);
  border-radius: 8px;
}

/* Notice Dot */
.notice-dot {
  position: absolute;
  top: 2px;
  right: 8px;
  width: 10px;
  height: 10px;
  background: var(--magenta);
  border-radius: 50%;
  animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* ============================================= */
/* BACK TO TOP BUTTON                           */
/* ============================================= */
#backToTop {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 1000;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 20px;
}

#backToTop.show {
  opacity: 1;
  pointer-events: all;
}


/* ============================================= */
/* NOTICE POPUP                                 */
/* ============================================= */
.notice-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 35, 126, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notice-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.notice-popup {
  background: var(--white);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.notice-popup-overlay.show .notice-popup {
  transform: translateY(0);
}

.notice-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 6s ease infinite;
  border-radius: 24px 24px 0 0;
}

.notice-popup-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-popup-header h3 i {
  font-size: 20px;
  animation: iconBounce 1s ease infinite;
}

.notice-popup-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--magenta);
  cursor: pointer;
}

.notice-popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.notice-popup-body::-webkit-scrollbar {
  width: 4px;
}

.notice-popup-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), var(--magenta), var(--amber), var(--orange));
  border-radius: 4px;
}

.notice-item {
  background: var(--muted);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border-left: 4px solid var(--text-light);
  position: relative;
}

.notice-item.new {
  border-left-color: var(--magenta);
  background: var(--magenta-light);
}

.notice-item.important {
  border-left-color: var(--orange);
  background: var(--orange-light);
}

.notice-item:last-child {
  margin-bottom: 0;
}

.notice-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.new-badge {
  background: var(--magenta);
  color: white;
}

.important-badge {
  background: var(--orange);
  color: white;
}

.notice-date {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.notice-item h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.notice-item p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.notice-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  animation: textColorSlide 4s ease infinite;
}

.notice-link i {
  font-size: 11px;
}

.notice-popup-footer {
  padding: 14px 20px;
  border-top: 1px solid #eee;
  text-align: center;
  background: var(--muted);
}

.notice-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
  color: #ffffff;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.35);
}


/* ============================================= */
/* ANIMATED DIVIDERS                            */
/* ============================================= */
.divider-animated {
  height: 4px;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
  border-radius: 2px;
  margin: 24px 0;
}


/* ============================================= */
/* ANIMATED BORDER CARDS                        */
/* ============================================= */
.card-animated-border {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  overflow: hidden;
}

.card-animated-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
}

/* ============================================= */
/* 🖥️ DESKTOP / LAPTOP LAYOUT (MIN-WIDTH:1024px) */
/* ============================================= */
@media (min-width: 1024px) {

  /* GLOBAL */
  body {
    font-size: 17px;
    line-height: 1.8;
    padding-bottom: 0; /* desktop pe bottom quick-actions ka gap hata diya */
  }

  section {
    padding: 80px 0;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .section-title-center,
  h3.section-title {
    font-size: 32px;
    margin-bottom: 14px;
  }

  .section-sub-center,
  p.section-sub {
    font-size: 16px;
    margin-bottom: 32px;
  }

  /* TOP HEADER */
  .topbar {
    padding: 18px 8%;
  }

  .brand img.logo {
    width: 80px;
    height: 80px;
  }

  .brand .name h1 {
    font-size: 28px;
  }

  .brand .name .location {
    font-size: 14px;
  }

  .brand .name .tagline {
    font-size: 12px;
  }

  /* NAVBAR */
  .navbar {
    padding: 0 8%;
    top: 100px;
  }

  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Menu button desktop pe bhi visible rahe */
  .nav-toggle {
    font-size: 16px;
    padding: 16px 20px;
  }

  /* HERO SLIDER */
  .hero {
    height: 520px;
  }

  .hero-content {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 40px;
    max-width: 900px;
    text-align: left;
  }

  .hero h2 {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 16px;
    max-width: 600px;
  }

  .cta .btn {
    padding: 12px 22px;
    font-size: 13px;
  }

  /* MESSAGES SECTION */
  .messages-section .container,
  .messages .container {
    max-width: 1000px;
  }

  .msg-block {
    padding: 20px;
  }

  .msg-text {
    font-size: 14px;
  }

  /* FEATURES SECTION */
  .features-section .container {
    max-width: 1100px;
  }

  .features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
  }

  .thumb {
    height: 180px;
  }

  /* PHOTO STRIP / GALLERY */
  .ph-item {
    width: 260px;
    height: 170px;
  }

  /* ACHIEVEMENTS */
  .achievements-inner {
    max-width: 1100px;
    padding: 60px 40px 40px;
  }

  .achieve-highlight {
    padding: 20px;
  }

  .achieve-blocks {
    flex-direction: row;
    gap: 20px;
  }

  .achieve-block {
    flex: 1;
  }

  .achieve-list {
    gap: 8px;
  }

  .achieve-gallery .gallery-item {
    min-width: 30%;
  }

  /* TROPHY STRIP */
  .trophy-item {
    width: 180px;
    height: 180px;
  }

  .trophy-popup img {
    max-width: 70vw;
    max-height: 70vh;
  }

  /* FACILITIES SECTION */
  .facilities-section .container {
    max-width: 1100px;
  }

  .facility-tabs {
    justify-content: center;
  }

  .facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .facility-card {
    padding: 18px;
  }

  /* FACILITY GALLERY */
  .facility-gallery {
    max-width: 1100px;
    margin: 30px auto 0;
  }

  .facility-photo {
    width: 220px;
    height: 150px;
  }

  .gallery-popup-content img {
    max-width: 70vw;
    max-height: 70vh;
  }

  /* NOTICE POPUP WIDTH */
  .notice-popup {
    max-width: 600px;
    border-radius: 24px;
  }

  .notice-popup-overlay {
    align-items: center;
  }

  /* FOOTER: map + card side-by-side, neeche copyright */
  footer {
    padding: 50px 8% 30px;
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    gap: 30px;
    align-items: stretch;
  }

  .map {
    margin-bottom: 0;
  }

  .map iframe {
    height: 260px;
  }

  .foot-card {
    align-self: stretch;
  }

  .copyright {
    grid-column: 1 / -1;
    margin-top: 30px;
    font-size: 13px;
  }

  /* Desktop pe bottom quick-actions bar hide */
  .quick-actions {
    display: none;
  }

  /* Back to top button desktop position */
  #backToTop {
    right: 30px;
    bottom: 30px;
  }
}

/* ============================================= */
/* 🖥️ FACILITY POPUP DESKTOP FIX (MIN-WIDTH:1024px) */
/* ============================================= */
@media (min-width: 1024px) {

  /* Overlay: bottom se nahi, proper center modal jaisa */
  .facility-popup-overlay {
    align-items: center;       /* flex-end se center */
    justify-content: center;
  }

  /* Popup: full-width bottom sheet nahi, card jaisa center me */
  .facility-popup {
    width: 70vw;               /* screen ka 70% width */
    max-width: 800px;          /* max pixels */
    max-height: 80vh;          /* height limit */
    border-radius: 24px;       /* charo corner round */
    position: relative;        /* close button ke liye */
    transform: scale(0.9);     /* halka zoom-in effect */
  }

  .facility-popup-overlay.show .facility-popup {
    transform: scale(1);       /* open hone par normal size */
  }

  /* Header ka border-radius ab upper corners pe rahe */
  .facility-popup-header {
    border-radius: 24px 24px 0 0;
  }

  /* Close button popup ke andar corner pe */
  .facility-popup-close {
    top: 18px;
    right: 18px;
  }

  /* Body ke scroll area ko adjust karo */
  .facility-popup-body {
    max-height: calc(80vh - 140px);  /* approx: total height - header - padding */
    padding: 20px 24px;
  }

  /* IMAGE: stretch na ho, ratio theek rahe */
  .facility-popup-image {
    width: 100%;
    max-width: 420px;          /* optional: image itni wide tak hi */
    margin: 0 auto 18px;       /* center me */
    height: auto;
    max-height: 350px;
    object-fit: contain;       /* pura image dikhe, crop nahi */
    border-radius: 16px;
    display: block;
  }

  /* Text readable, thoda bada */
  .facility-popup-content {
    font-size: 15px;
    line-height: 1.8;
  }

  .facility-popup-content h4 {
    font-size: 18px;
  }
}
.developer-credit {
  display: flex;
  justify-content: center;   /* center me rakhega */
  align-items: center;       /* vertical alignment perfect */
  gap: 6px;
  font-size: 14px;
  color: #fff;
}

.developer-credit a {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.developer-credit img {
  height: 20px;
  width: auto;
}
/* ============================================= */
/* END OF THEME                                 */
/* ============================================= */