/* ===================================================================
   Shri Swami Samarth CBSE School — Design System
   =================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --navy: #0a1f44;
  --navy-light: #132d5e;
  --royal: #1a3a6e;
  --blue-accent: #2563eb;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-soft: #fdf3d0;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-100: #eef0f5;
  --gray-200: #d5d9e2;
  --gray-400: #8b95a8;
  --gray-600: #555f73;
  --gray-800: #2d3444;
  --dark: #111827;

  /* Semantic */
  --success: #10b981;
  --danger: #ef4444;

  /* Typography */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-pad: 100px 0;
  --container: 1200px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 31, 68, .08);
  --shadow-md: 0 4px 16px rgba(10, 31, 68, .10);
  --shadow-lg: 0 12px 40px rgba(10, 31, 68, .14);
  --shadow-gold: 0 4px 20px rgba(212, 160, 23, .25);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: var(--section-pad);
}

.text-center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  background: rgba(10, 31, 68, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}

.navbar.scrolled {
  background: rgba(10, 31, 68, .98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .18);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform .3s var(--ease);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .2));
}

.nav-logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  position: relative;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  letter-spacing: .5px;
  transition: color .25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width .3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ---------- Dropdown Menu ---------- */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-light);
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  min-width: 260px;
  padding: 12px 0;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 12px;
}

/* Add a triangle indicator */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--navy-light);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}

.dropdown-menu a::after {
  display: none !important; /* Hide underline slide */
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light) !important;
  padding-left: 24px;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Compliance Subpages Layout ---------- */
.compliance-hero {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
  border-bottom: 2px solid var(--gold);
}

.compliance-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--white);
}

.compliance-hero p {
  color: var(--gray-200);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.compliance-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 80px;
  align-items: start;
}

.compliance-sidebar {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.compliance-sidebar h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 8px;
}

.compliance-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compliance-nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.25s;
  border-left: 3px solid transparent;
}

.compliance-nav-link:hover {
  background: var(--off-white);
  color: var(--navy);
}

.compliance-nav-link.active {
  background: var(--gold-soft);
  color: var(--navy);
  border-left-color: var(--gold);
  font-weight: 600;
}

.compliance-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.compliance-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}

.compliance-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Comprehensive Information specific styling */
.comp-list-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-top: 50px;
  margin-bottom: 80px;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
}

.comp-table th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.comp-table tr:nth-child(even) td {
  background: var(--off-white);
}

.comp-table tr:hover td {
  background: var(--gold-soft);
}

.comp-table td strong {
  color: var(--navy);
}

@media (max-width: 992px) {
  .compliance-layout {
    grid-template-columns: 1fr;
  }
  
  .compliance-sidebar {
    position: static;
    margin-bottom: 20px;
  }
}


.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: .85rem !important;
  letter-spacing: .5px;
  transition: transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 160, 23, .35);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--white);
  border-radius: 4px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 50%, #1e4d8c 100%);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('images/hero-banner.jpg') center/cover no-repeat;
  opacity: .35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 31, 68, .88) 0%, rgba(26, 58, 110, .75) 100%);
}

/* Decorative shapes */
.hero-shape-1 {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 160, 23, .12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, .1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 140px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(212, 160, 23, .12);
  border: 1px solid rgba(212, 160, 23, .2);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge span {
  font-size: 1rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  padding: 15px 32px;
  border-radius: 10px;
  letter-spacing: .3px;
  transition: transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(212, 160, 23, .4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .2);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: 15px 32px;
  border-radius: 10px;
  transition: background .25s, border-color .25s, transform .25s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .35);
  transform: translateY(-2px);
}

/* ===================================================================
   STATS BAR
   =================================================================== */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: -50px;
  margin-bottom: 40px;
}

.stats-inner {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-item {
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: background .3s;
}

.stat-item:hover {
  background: var(--off-white);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--gray-200);
}

.stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(212, 160, 23, .1), rgba(212, 160, 23, .05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat-label {
  font-size: .85rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ===================================================================
   PRINCIPAL MESSAGE
   =================================================================== */
.principal {
  background: var(--off-white);
}

.principal-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.principal-image-wrap {
  position: relative;
}

.principal-image-wrap img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.principal-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 20px;
  z-index: -1;
}

.principal-content blockquote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.6;
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 24px;
  font-style: italic;
}

.principal-content .name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.principal-content .title {
  color: var(--gray-400);
  font-size: .9rem;
  margin-top: 2px;
}

.principal-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.principal-text p {
  margin-bottom: 14px;
}

.principal-text .salutation {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
}

.principal-content blockquote span {
  font-size: 0.95rem;
  font-style: normal;
  color: var(--gray-400);
  display: block;
  margin-top: 8px;
}

/* ===================================================================
   PRESIDENT MESSAGE
   =================================================================== */
.president {
  background: var(--navy);
  color: var(--white);
}

.president .section-title {
  color: var(--white);
}

.president .section-badge {
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold-light);
}

.president-content {
  text-align: left;
}

.president-content blockquote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-light);
  line-height: 1.6;
  border-left: 4px solid var(--gold-light);
  padding-left: 24px;
  margin-bottom: 24px;
  font-style: italic;
}

.president-content blockquote span {
  font-size: 0.95rem;
  font-style: normal;
  color: var(--gray-200);
  display: block;
  margin-top: 8px;
}

.president-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 24px;
}

.president-text p {
  margin-bottom: 14px;
}

.president-text .salutation {
  font-weight: 600;
  color: var(--gold-light);
  font-size: 1.05rem;
}

.president-content .name {
  font-weight: 700;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.president-content .title {
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ===================================================================
   ABOUT / ACADEMICS
   =================================================================== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.about-card {
  background: var(--off-white);
  border-radius: 18px;
  padding: 40px;
  border: 1px solid var(--gray-100);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-card p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.7;
}

/* Affiliation strip */
.affiliation-strip {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  border-radius: 18px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.affiliation-strip h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.4rem;
}

.affiliation-strip p {
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
  margin-top: 4px;
}

.affiliation-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.aff-badge {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 14px 24px;
  text-align: center;
}

.aff-badge .label {
  font-size: .7rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.aff-badge .value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
}

/* Staff highlight */
.staff-section {
  margin-top: 60px;
}

.staff-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.staff-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--gray-100);
  transition: transform .3s, box-shadow .3s;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.staff-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 700;
}

.staff-info h4 {
  font-size: .95rem;
  color: var(--navy);
  font-weight: 600;
}

.staff-info p {
  font-size: .82rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ===================================================================
   INFRASTRUCTURE
   =================================================================== */
.infrastructure {
  background: var(--off-white);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.facility-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
  overflow: hidden;
}

.facility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.facility-card:hover::before {
  transform: scaleX(1);
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.facility-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(212, 160, 23, .12), rgba(212, 160, 23, .04));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.facility-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px;
}

.facility-card p {
  font-size: .88rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* Special highlight card */
.facility-card.highlight-card {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  border: none;
}

.facility-card.highlight-card::before {
  display: none;
}

.facility-card.highlight-card h3 {
  color: var(--white);
}

.facility-card.highlight-card p {
  color: rgba(255, 255, 255, .65);
}

.facility-card.highlight-card .facility-icon {
  background: rgba(212, 160, 23, .15);
}

/* ===================================================================
   MANDATORY DISCLOSURE
   =================================================================== */
.disclosure {
  background: var(--white);
}

.accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .3s;
}

.accordion-item:hover {
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--off-white);
  border: none;
  cursor: pointer;
  transition: background .25s;
}

.accordion-header:hover {
  background: var(--gray-100);
}

.accordion-header .icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--navy);
  font-weight: 700;
  transition: transform .3s;
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}

.accordion-body-inner {
  padding: 24px 28px 28px;
}

.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.disclosure-table th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .4px;
}

.disclosure-table th:first-child {
  border-radius: 8px 0 0 0;
}

.disclosure-table th:last-child {
  border-radius: 0 8px 0 0;
}

.disclosure-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}

.disclosure-table tr:nth-child(even) td {
  background: var(--off-white);
}

.disclosure-table tr:hover td {
  background: var(--gold-soft);
}

.doc-link {
  display: inline-block;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color .25s, border-color .25s;
}

.doc-link:hover {
  color: var(--gold);
  border-color: transparent;
}

/* ===================================================================
   CONTACT
   =================================================================== */
.contact {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid var(--gray-100);
  transition: transform .3s, box-shadow .3s;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.contact-info-card h4 {
  font-size: .9rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: .85rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  height: 260px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
  letter-spacing: .3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: .92rem;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--off-white);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, .1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--danger);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  letter-spacing: .3px;
  transition: transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-gold);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 160, 23, .35);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: block;
}

.form-success .check {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--success), #34d399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 auto 16px;
}

.form-success h4 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.form-success p {
  color: var(--gray-400);
  font-size: .9rem;
}

/* ===================================================================
   ANNOUNCEMENTS
   =================================================================== */
.announcements {
  background: var(--off-white);
}

.notice-board-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}

.notice-board-header {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: var(--white);
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-icon {
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.notice-board-body {
  max-height: 400px;
  overflow-y: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--off-white);
}

.notice-board-body::-webkit-scrollbar {
  width: 6px;
}

.notice-board-body::-webkit-scrollbar-track {
  background: var(--off-white);
}

.notice-board-body::-webkit-scrollbar-thumb {
  background-color: var(--gold);
  border-radius: 10px;
}

.loading-notices {
  padding: 40px;
  text-align: center;
  color: var(--gray-400);
  font-style: italic;
}

.notice-item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  transition: background .3s var(--ease);
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item:hover {
  background: var(--gold-soft);
}

.notice-date {
  display: inline-block;
  background: rgba(212, 160, 23, 0.15);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notice-title {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 6px;
}

.notice-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .6);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: .5px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  font-size: .85rem;
  transition: color .25s, padding-left .25s;
}

.footer ul li a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-contact-item {
  margin-bottom: 12px;
}

.footer-contact-item a {
  display: flex;
  gap: 10px;
  font-size: .85rem;
  align-items: flex-start;
  color: var(--gray-300);
  transition: all .3s var(--ease);
}

.footer-contact-item a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-contact-item a:hover .icon {
  transform: scale(1.2);
}

.footer-contact-item .icon {
  color: var(--gold-light);
  font-size: .95rem;
  margin-top: 2px;
  transition: transform .3s var(--ease);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .principal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right .35s var(--ease), visibility .35s var(--ease);
    box-shadow: -8px 0 40px rgba(0, 0, 0, .3);
    align-items: flex-start;
    visibility: hidden;
    z-index: 1002;
  }

  .nav-links.open {
    right: 0;
    visibility: visible;
  }

  /* Mobile Dropdown styles */
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown .dropdown-trigger {
    justify-content: space-between;
    width: 100%;
  }
  .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    border: none;
    border-radius: 8px;
    margin-top: 8px;
    min-width: 100%;
    padding: 8px 0;
  }
  .dropdown-menu::before {
    display: none;
  }
  .dropdown-menu a {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .dropdown-menu a:hover {
    padding-left: 20px;
    background: transparent;
  }
  
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item::after {
    display: none;
  }

  .affiliation-strip {
    flex-direction: column;
    text-align: center;
  }

  .affiliation-badges {
    justify-content: center;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .accordion-body-inner {
    padding: 16px 16px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .disclosure-table {
    min-width: 650px;
  }
}

/* Footer Utilities */
.footer-logo {
  margin-bottom: 8px;
}

.footer-logo-text {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.disclosure-note {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--gray-400);
  font-style: italic;
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.7rem;
  }
}

/* ===================================================================
   SCHOOL GALLERY & LIGHTBOX
   =================================================================== */

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px auto 50px;
  max-width: 800px;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-600);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  background: var(--gray-100);
  color: var(--navy);
  border-color: var(--gray-400);
}

.filter-btn.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(10, 31, 68, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

/* For filtering transition animations */
.gallery-card.hidden {
  display: none !important;
}

.gallery-card.fade-out {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
}

.gallery-card.fade-in {
  animation: cardFadeIn 0.5s var(--ease) forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}

.gallery-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
}

.gallery-media-wrapper img,
.gallery-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-card:hover .gallery-media-wrapper img,
.gallery-card:hover .gallery-media-wrapper video {
  transform: scale(1.06);
}

/* Video Overlay Play Button */
.video-overlay-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(212, 160, 23, 0.9); /* Gold background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), var(--shadow-gold);
  transition: all 0.3s var(--ease);
  z-index: 2;
}

.video-overlay-play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 4px; /* offset slightly to visually center the play triangle */
}

.gallery-card:hover .video-overlay-play {
  background: var(--gold-light);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(212, 160, 23, 0.3);
}

.gallery-card-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.gallery-card-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Empty Gallery State */
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 40px;
  background: var(--off-white);
  border: 2px dashed var(--gray-200);
  border-radius: 16px;
  max-width: 600px;
  margin: 40px auto;
}

.gallery-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.gallery-empty h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.gallery-empty p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ---------- Lightbox Modal ---------- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 31, 68, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-media-wrapper {
  position: relative;
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #000;
}

.lightbox-media-wrapper img,
.lightbox-media-wrapper video {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  width: 100%;
  color: var(--white);
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-body);
}

.lightbox-caption h3 {
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 4px;
  font-weight: 600;
}

.lightbox-caption p {
  font-size: 0.9rem;
  color: var(--gray-200);
}

/* Close & Nav buttons */
.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  z-index: 2010;
}

.lightbox-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.lightbox-close {
  top: -60px;
  right: 0;
  font-size: 1.8rem;
}

.lightbox-prev {
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
}

/* Lightbox responsiveness */
@media (max-width: 1200px) {
  .lightbox-prev {
    left: 10px;
    background: rgba(10, 31, 68, 0.6);
  }
  .lightbox-next {
    right: 10px;
    background: rgba(10, 31, 68, 0.6);
  }
  .lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(10, 31, 68, 0.6);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  .gallery-filter {
    margin: 30px auto 35px;
    gap: 8px;
  }
  .filter-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  .lightbox-media-wrapper {
    max-height: 60vh;
  }
  .lightbox-media-wrapper img,
  .lightbox-media-wrapper video {
    max-height: 60vh;
  }
  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ===================================================================
   PANAAH STYLED HERO - SCHOOL THEME COLORS
   =================================================================== */
.panaah-green-section {
  background: var(--navy); /* Changed from green to Navy */
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.panaah-gold-section {
  background: var(--gold); /* Changed from bright yellow to school Gold */
  color: var(--navy);      /* Changed text color to Navy for contrast */
  padding: 100px 0;
  overflow: hidden;
}

.panaah-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.3fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .panaah-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

.panaah-parallelogram-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 16/11;
}

.panaah-parallelogram-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}

.panaah-svg-poly {
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  pointer-events: none;
  color: var(--gold); /* Changed from light green to Gold */
}

.panaah-circle-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 1/1;
}

.panaah-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.panaah-svg-circle {
  position: absolute;
  top: -15px;
  left: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  pointer-events: none;
  color: rgba(255, 255, 255, 0.85); /* Changed from yellow to semi-transparent white */
}

.panaah-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.panaah-gold-section .panaah-title {
  color: var(--navy); /* Navy title on gold background */
}

.panaah-heading {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  letter-spacing: -1px;
}

.panaah-green-section .panaah-heading {
  color: var(--white);
}

.panaah-gold-section .panaah-heading {
  color: var(--navy); /* Deep navy heading on gold background */
}

.panaah-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  max-width: 580px;
}

.panaah-gold-section .panaah-text {
  color: rgba(10, 31, 68, 0.9); /* Dark navy-light body text on gold background */
}

@media (max-width: 991px) {
  .panaah-text {
    margin: 0 auto;
  }
}

/* ===================================================================
   HORIZONTAL SCROLL SNAP SLIDER (INFRASTRUCTURE)
   =================================================================== */
.slider-container-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.snap-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 24px 8px 48px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.snap-slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.snap-slider-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.snap-slider-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.slider-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--gold-light);
}

.slider-img-placeholder span {
  font-size: 3rem;
  z-index: 1;
}

.slider-img-placeholder::after {
  content: 'Photo Coming Soon';
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.slider-card-body {
  padding: 28px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.slider-card-body h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 600;
}

.slider-card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Slider buttons */
.slider-arrow-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.slider-arrow-btn:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

.slider-arrow-btn.prev-btn {
  left: -15px;
}

.slider-arrow-btn.next-btn {
  right: -15px;
}

.slider-arrow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
  .slider-container-wrap {
    padding: 0 12px;
  }
  .snap-slider-card {
    flex: 0 0 300px;
  }
  .slider-arrow-btn {
    display: none; /* Hide on mobile for touch swipe */
  }
}

/* ===================================================================
   IMMERSIVE HORIZONTAL SLIDER
   =================================================================== */
.immersive-viewport {
  width: 100vw;
  height: 100vh;
  /* Accommodate the fixed navbar padding */
  padding-top: 80px; 
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  background: var(--navy);
  position: relative;
  /* Hide scrollbar */
  scrollbar-width: none; /* Firefox */
}
.immersive-viewport::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.immersive-slide {
  flex: 0 0 100vw;
  width: 100vw;
  height: calc(100vh - 80px);
  scroll-snap-align: start;
  display: flex;
  overflow: hidden;
}

.immersive-content {
  width: 40%;
  height: 100%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 0 5rem;
  position: relative;
}

.immersive-content.full-width {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.immersive-content.full-width .content-inner {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-inner {
  max-width: 550px;
}

.slide-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  margin-bottom: -1.2rem;
  line-height: 1;
  transform: translateX(-10px);
}

.immersive-content h2 {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 700;
}

.immersive-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
}

.immersive-image-pane {
  width: 60%;
  height: 100%;
  position: relative;
  background: var(--gray-800);
  overflow: hidden;
}

.immersive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.immersive-slide:hover .immersive-img {
  transform: scale(1.04);
}

/* Image Placeholder for before upload */
.image-placeholder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(10,31,68,0.9), rgba(10,31,68,0.5));
}

.image-placeholder span {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

@media (max-width: 1200px) {
  .immersive-content {
    padding: 0 3rem;
  }
  .immersive-content h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .immersive-slide {
    flex-direction: column;
  }
  .immersive-content {
    width: 100%;
    height: 60%;
    padding: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto; /* Allow scrolling if text is too long */
  }
  .immersive-image-pane {
    width: 100%;
    height: 40%;
  }
  .slide-number {
    font-size: 3.5rem;
    margin-bottom: -0.5rem;
    transform: none;
  }
  .immersive-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  .immersive-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}