/* =========================================
   VARIABLES & SETUP
   ========================================= */
:root {
  --maroon: #800000;
  --maroon-dark: #4a0000;
  --navy: #050A1F;
  --navy-light: #0A1332;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --green: #1E5631;
  --white: #FFFFFF;
  --text-main: rgba(255, 255, 255, 0.85);
  
  --glass-bg: rgba(10, 19, 50, 0.5);
  --glass-border: rgba(212, 175, 55, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* =========================================
   TYPOGRAPHY & UTILITIES
   ========================================= */
.serif { font-family: var(--font-serif); }
.gold-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.italic { font-style: italic; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.w-full { width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.bg-secondary {
  background-color: var(--navy-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gold-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1rem auto 3rem;
  border-radius: 2px;
}

.gold-divider-left {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1rem 0 2rem;
  border-radius: 2px;
}

/* Glassmorphism Classes */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.5);
}

.glow-hover:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), inset 0 0 15px rgba(212, 175, 55, 0.1);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--maroon), #a50000);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.4);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(128, 0, 0, 0.6);
  background: linear-gradient(135deg, #a50000, var(--maroon));
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

.mobile-login-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  text-decoration: none;
}

.mobile-login-btn:hover {
  color: var(--gold-light) !important;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.pulse-gold {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Form Controls */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-control::placeholder {
  color: rgba(255,255,255,0.5);
}

select.form-control option {
  background: var(--navy-light);
  color: var(--white);
}

/* =========================================
   LOADER
   ========================================= */
.loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-circle {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================
   NAVIGATION
   ========================================= */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}

.fixed-nav.scrolled {
  background: rgba(5, 10, 31, 0.97);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-box {
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  overflow: hidden;
  flex-shrink: 0;
}

.school-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.logo-box-footer {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  overflow: hidden;
}

.school-logo-footer {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.brand-title {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  background: var(--navy-light);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform-origin: top;
  transition: all 0.3s ease;
}

.mobile-menu.hidden {
  opacity: 0;
  transform: scaleY(0);
  pointer-events: none;
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--gold);
}

.mobile-menu a i {
  color: var(--gold);
  width: 20px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 20px 60px;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 10, 31, 0.45) 0%, rgba(10, 19, 50, 0.35) 100%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-up 10s linear infinite;
}

@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.5; transform: translateY(80vh) scale(1); }
  90% { opacity: 0.5; transform: translateY(20vh) scale(1); }
  100% { transform: translateY(0) scale(0); opacity: 0; }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}

.hero-quote {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}

.full-width {
  grid-column: 1 / -1;
}

.foundation-icons {
  display: flex;
  justify-content: space-around;
  margin-top: 0.5rem;
}

.foundation-icons div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.foundation-icons i {
  font-size: 1.5rem;
}

.foundation-icons span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
  padding: 100px 0;
  background: var(--navy);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-main);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 2;
}

.badge-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 600;
}

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

.feature-list ul {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.journey-list p {
  color: var(--text-main);
  font-size: 0.95rem;
}

/* =========================================
   PROGRAMS & FACILITIES
   ========================================= */
.programs-section, .facilities-section {
  padding: 100px 0;
}

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

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.icon-large {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.program-card {
  text-align: left;
}

.program-card a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 1rem;
}

.program-card a:hover {
  text-decoration: underline;
}

.facility-card {
  background: linear-gradient(145deg, var(--navy-light), var(--navy));
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.facility-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* =========================================
   PRINCIPAL MESSAGE
   ========================================= */
.principal-section {
  padding: 100px 0;
}

/* =========================================
   GALLERY
   ========================================= */
.gallery-section {
  padding: 100px 0;
  background: var(--navy);
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,31,0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
  padding: 100px 0;
}

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

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

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

.contact-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #020510;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.social-icons .facebook:hover { background: #1877F2; }
.social-icons .instagram:hover { background: #E4405F; }
.social-icons .youtube:hover { background: #FF0000; }
.social-icons .whatsapp:hover { background: #25D366; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */
@media (max-width: 1024px) {
  .hero-content {
    gap: 2rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-links { display: none; }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .badge {
    margin: 0 auto 1.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .gold-divider-left {
    margin: 1rem auto 2rem;
  }
  
  .section-title.text-left {
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .badge-float {
    left: 20px;
    bottom: 20px;
    padding: 1rem;
  }
  .badge-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
}

/* =========================================
   PROGRAM CARDS (NEW STYLE)
   ========================================= */
.prog-icon-box {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold), #f5c842);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
  transition: transform 0.3s ease;
}

.program-card:hover .prog-icon-box {
  transform: scale(1.1) rotate(-5deg);
}

.prog-title {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

.prog-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.prog-learn {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: gap 0.3s ease;
}

.program-card:hover .prog-learn {
  gap: 12px;
}

/* =========================================
   PROGRAM MODAL
   ========================================= */
.prog-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,10,31,0.85);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.prog-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.prog-modal-box {
  background: linear-gradient(145deg, #0A1332, #050A1F);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 40px rgba(212,175,55,0.1);
  transform: translateY(30px);
  transition: transform 0.35s ease;
  text-align: center;
}

.prog-modal-overlay.active .prog-modal-box {
  transform: translateY(0);
}

.prog-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.prog-modal-close:hover {
  background: var(--maroon);
}

.prog-modal-icon-box {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--gold), #f5c842);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--navy);
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.prog-modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.prog-modal-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* =========================================
   FACILITY IMAGE CARDS
   ========================================= */
.fac-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.fac-img-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  cursor: pointer;
}

.fac-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.fac-img-card:hover .fac-img {
  transform: scale(1.07);
}

.fac-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(5,10,31,0.97) 0%, rgba(5,10,31,0.7) 60%, transparent 100%);
  padding: 2rem;
  transform: translateY(40%);
  transition: transform 0.4s ease;
}

.fac-img-card:hover .fac-img-overlay {
  transform: translateY(0);
}

.fac-img-icon {
  margin-bottom: 1rem;
  width: 55px;
  height: 55px;
  font-size: 1.5rem;
}

.fac-img-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.6rem;
}

.fac-img-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.fac-img-card:hover .fac-img-desc {
  opacity: 1;
}

@media (max-width: 768px) {
  .fac-img-grid {
    grid-template-columns: 1fr;
  }
  .fac-img {
    height: 240px;
  }
  .fac-img-overlay {
    transform: translateY(0);
  }
  .fac-img-desc {
    opacity: 1;
  }
}
