/* =============================================
   ADAMEESUKSAVITTAYA SCHOOL â€” Design System
   Premium Modern Thai School Website
   ============================================= */

/* â”€â”€ Google Fonts â”€â”€ */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800;900&family=Sarabun:wght@300;400;500;600;700&display=swap');

/* =============================================
   1. CSS VARIABLES / DESIGN TOKENS
   ============================================= */
:root {
  /* Primary Palette â€” from logo */
  --green-900: #063D16;
  --green-800: #0A5C24;
  --green-700: #0E7A30;
  --green-600: #12973C;
  --green-500: #1AAF4D;
  --green-400: #4ACA70;
  --green-300: #7CDD97;
  --green-200: #B2ECC4;
  --green-100: #E0F7E8;
  --green-50:  #F0FBF4;

  /* Secondary â€” Royal Blue */
  --blue-900: #0A3068;
  --blue-800: #0D47A1;
  --blue-700: #1565C0;
  --blue-600: #1976D2;
  --blue-500: #1E88E5;
  --blue-400: #42A5F5;
  --blue-300: #90CAF9;
  --blue-200: #BBDEFB;
  --blue-100: #E3F2FD;

  /* Accent */
  --red-600: #C62828;
  --red-500: #E53935;
  --red-400: #EF5350;
  --gold-600: #F9A825;
  --gold-500: #FFB300;
  --gold-400: #FFCA28;
  --gold-300: #FFD54F;

  /* Neutrals */
  --gray-900: #1A1A2E;
  --gray-800: #2D2D44;
  --gray-700: #404060;
  --gray-600: #5A5A7A;
  --gray-500: #7A7A9A;
  --gray-400: #9E9EBA;
  --gray-300: #C4C4D8;
  --gray-200: #E0E0EE;
  --gray-100: #F0F0F8;
  --gray-50:  #F8F9FC;
  --white:    #FFFFFF;
  --dark-900: #020f06;

  /* Semantic */
  --primary:    var(--green-800);
  --primary-dark: var(--green-900);
  --primary-light: var(--green-100);
  --secondary:  var(--blue-800);
  --secondary-light: var(--blue-100);
  --accent:     var(--gold-500);
  --accent-dark: var(--gold-600);
  --danger:     var(--red-500);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 50%, var(--green-600) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(6,61,22,0.92) 0%, rgba(10,92,36,0.85) 40%, rgba(13,71,161,0.75) 100%);
  --gradient-accent: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(240,251,244,0.7) 100%);
  --gradient-dark: linear-gradient(180deg, var(--gray-900) 0%, #0F1B2D 100%);
  --gradient-blue: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);

  /* Typography */
  --font-heading: 'Kanit', sans-serif;
  --font-body:    'Sarabun', sans-serif;

  --fs-display: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1:      clamp(2rem, 4vw, 3.5rem);
  --fs-h2:      clamp(1.75rem, 3vw, 2.5rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.75rem);
  --fs-h4:      clamp(1.1rem, 1.5vw, 1.35rem);
  --fs-body:    1.05rem;
  --fs-small:   0.9rem;
  --fs-sm:      0.9rem;
  --fs-xs:      0.8rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Borders & Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 50%;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(10,92,36,0.06);
  --shadow-md:  0 4px 16px rgba(10,92,36,0.10);
  --shadow-lg:  0 8px 32px rgba(10,92,36,0.14);
  --shadow-xl:  0 16px 48px rgba(10,92,36,0.18);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 12px 40px rgba(10,92,36,0.16);
  --shadow-glow: 0 0 30px rgba(10,92,36,0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-base: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
  --transition-bounce: 0.5s cubic-bezier(0.34,1.56,0.64,1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-fixed:    300;
  --z-overlay:  400;
  --z-modal:    500;
}

/* =============================================
   2. RESET & BASE
   ============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* =============================================
   3. TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  margin-bottom: var(--space-md);
  color: var(--gray-700);
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.highlight {
  background: linear-gradient(120deg, var(--green-200) 0%, var(--green-100) 100%);
  padding: 0 6px;
  border-radius: 4px;
}

/* =============================================
   4. LAYOUT UTILITIES
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.flex {
  display: flex;
  align-items: center;
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* =============================================
   5. TOP BAR
   ============================================= */
.top-bar {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--space-xs) 0;
  font-size: var(--fs-small);
  position: relative;
  z-index: var(--z-sticky);
  border-bottom: 1px solid rgba(255, 179, 0, 0.15); /* Subtle gold border to separate top bar from navbar */
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.top-bar-info {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.top-bar-social {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.top-bar-social a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-social a:hover {
  opacity: 1;
}

/* =============================================
   6. HEADER & NAVIGATION
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 92, 36, 0.08);
  transition: all var(--transition-base);
  padding: var(--space-sm) 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  padding: 6px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

.nav-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--green-200);
  transition: transform var(--transition-bounce);
}

.navbar.scrolled .nav-logo {
  width: 42px;
  height: 42px;
}

.nav-brand:hover .nav-logo {
  transform: scale(1.08) rotate(-5deg);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-800);
  line-height: 1.2;
}

.nav-brand-sub {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-700);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-pill);
  transition: transform var(--transition-base);
}

.nav-link:hover {
  color: var(--green-800);
  background: var(--green-50);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--green-800);
  font-weight: 600;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: var(--z-modal);
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--green-800);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-overlay);
  padding: 100px var(--space-xl) var(--space-xl);
  transition: right var(--transition-slow);
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .nav-link {
  font-size: 1.1rem;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  display: block;
}

.mobile-menu .nav-link:hover {
  background: var(--green-50);
  transform: translateX(6px);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* =============================================
   7. HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--dark-900);
}

.hero-bg-ambient,
.page-header-bg-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 10% 20%, rgba(6, 61, 22, 0.45) 0%, rgba(3, 20, 8, 0.95) 85%);
  pointer-events: none;
}

.hero-split-grid,
.page-header-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: 100px;
  padding-bottom: var(--space-2xl);
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: var(--space-2xl);
  background: rgba(3, 20, 8, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  margin-top: 60px;
  animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-left .hero-logo {
  margin-left: 0;
  margin-right: 0;
}

.hero-left .hero-subtitle {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.hero-left .hero-buttons {
  justify-content: flex-start;
}

.hero-right,
.page-header-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 4;
}

.hero-image-wrapper,
.page-header-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-2xl);
  overflow: visible; /* Allowed to show floating orb and brackets outside */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
              0 0 45px rgba(6, 61, 22, 0.35);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  background-color: var(--dark-900);
  padding: 6px; /* Thick premium border frame */
  background: linear-gradient(135deg, var(--green-600), var(--gold-400), var(--green-800), var(--gold-300), var(--green-600)) border-box;
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-wrapper:hover,
.page-header-image-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6), 
              0 0 50px rgba(34, 197, 94, 0.5),
              0 0 25px rgba(212, 175, 55, 0.3);
}

/* Orbiting Energy Orb */
.hero-image-wrapper::before,
.page-header-image-wrapper::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold-300);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--gold-400), 0 0 6px var(--gold-300), 0 0 2px var(--white);
  z-index: 6;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: borderOrbit 5s linear infinite;
  transition: width 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-wrapper:hover::before,
.page-header-image-wrapper:hover::before {
  animation-duration: 2s; /* Spins much faster on hover */
  width: 14px;
  height: 14px;
  box-shadow: 0 0 25px var(--gold-400), 0 0 12px var(--gold-300), 0 0 4px var(--white);
}

/* Floating Corner Brackets Overlay */
.hero-image-wrapper::after,
.page-header-image-wrapper::after {
  content: '';
  position: absolute;
  inset: -10px; /* Floating outside */
  border-radius: calc(var(--radius-2xl) + 10px);
  pointer-events: none;
  z-index: 5;
  background-image: 
    /* Top Left bracket */
    linear-gradient(to right, var(--gold-400) 3px, transparent 3px),
    linear-gradient(to bottom, var(--gold-400) 3px, transparent 3px),
    /* Top Right bracket */
    linear-gradient(to left, var(--gold-400) 3px, transparent 3px),
    linear-gradient(to bottom, var(--gold-400) 3px, transparent 3px),
    /* Bottom Left bracket */
    linear-gradient(to right, var(--gold-400) 3px, transparent 3px),
    linear-gradient(to top, var(--gold-400) 3px, transparent 3px),
    /* Bottom Right bracket */
    linear-gradient(to left, var(--gold-400) 3px, transparent 3px),
    linear-gradient(to top, var(--gold-400) 3px, transparent 3px);
  background-position: 
    top left, top left,
    top right, top right,
    bottom left, bottom left,
    bottom right, bottom right;
  background-size: 
    24px 3px, 3px 24px,
    24px 3px, 3px 24px,
    24px 3px, 3px 24px,
    24px 3px, 3px 24px;
  background-repeat: no-repeat;
  opacity: 0.9;
  transition: inset 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, filter 0.4s ease;
}

.hero-image-wrapper:hover::after,
.page-header-image-wrapper:hover::after {
  inset: -2px; /* Snaps closer on hover */
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--gold-400)) drop-shadow(0 0 2px var(--gold-300));
}

.hero-showcase-img,
.page-header-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: calc(var(--radius-2xl) - 6px);
}

.hero-image-glass-shimmer,
.page-header-image-glass-shimmer {
  position: absolute;
  inset: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  border-radius: calc(var(--radius-2xl) - 6px);
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes borderOrbit {
  0% { top: 0%; left: 0%; }
  25% { top: 0%; left: 100%; }
  50% { top: 100%; left: 100%; }
  75% { top: 100%; left: 0%; }
  100% { top: 0%; left: 0%; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  animation: float-particle 20s infinite ease-in-out;
}

.hero-particle:nth-child(1) { width: 300px; height: 300px; top: -150px; right: -100px; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 200px; height: 200px; bottom: -100px; left: -50px; animation-delay: -5s; }
.hero-particle:nth-child(3) { width: 150px; height: 150px; top: 30%; left: 10%; animation-delay: -10s; }
.hero-particle:nth-child(4) { width: 100px; height: 100px; bottom: 20%; right: 15%; animation-delay: -15s; }

/* Base hero-content styles bypassed, now using grid-centered hero-left */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-pill);
  color: var(--gold-400);
  font-size: var(--fs-small);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-xl);
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 40px rgba(255, 179, 0, 0.25);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  background: var(--white);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out 0.3s both;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  line-height: 1.15;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-300) 50%, var(--white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.5s both;
  font-weight: 400;
  line-height: 1.8;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.scroll-indicator-inner {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator-dot {
  width: 4px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scroll-dot 2s infinite;
}

/* =============================================
   8. BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--gray-900);
  box-shadow: 0 4px 20px rgba(249,168,37,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249,168,37,0.45);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

.btn-green {
  background: #16a34a;
  color: var(--white);
  border: 2px solid #16a34a;
  border-radius: 9999px;
  padding: 0.55rem 1.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: none;
}

.btn-green:hover {
  background: #15803d;
  border-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.3);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
}

.btn-outline-green:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.55rem 1.4rem;
  font-size: var(--fs-sm);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-icon {
  font-size: 1.1em;
}

/* =============================================
   9. SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.section-label-line {
  width: 30px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: var(--space-md);
  
  /* Beautiful Gradient for Headings on Light Backgrounds */
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title .text-green {
  color: var(--green-800);
  
  /* Vibrant Green to Gold Accent Gradient */
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 50%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--gray-600);
  line-height: 1.8;
}

/* =============================================
   10. FEATURE / ABOUT CARDS
   ============================================= */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid rgba(10,92,36,0.06);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.8rem;
  transition: transform var(--transition-bounce);
}

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

.feature-icon.green {
  background: var(--green-100);
  color: var(--green-700);
}

.feature-icon.blue {
  background: var(--blue-100);
  color: var(--blue-700);
}

.feature-icon.gold {
  background: rgba(255,179,0,0.12);
  color: var(--gold-600);
}

.feature-icon.red {
  background: rgba(229,57,53,0.1);
  color: var(--red-500);
}

.feature-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

.feature-card p {
  font-size: var(--fs-small);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

/* =============================================
   11. STATISTICS SECTION
   ============================================= */
.stats-section {
  background: var(--gradient-primary);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.stats-section .section-label {
  color: var(--green-300);
}

.stats-section .section-title {
  color: var(--white);
  
  /* Beautiful Light Gradient for Dark Background Sections */
  background: linear-gradient(135deg, var(--white) 0%, var(--green-100) 60%, var(--green-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-section .section-title .text-green {
  color: var(--green-200);
  
  /* Light Green to Gold Gradient */
  background: linear-gradient(135deg, var(--green-300) 0%, var(--gold-300) 50%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-30 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition-base);
}

.stat-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-number .suffix {
  font-size: 0.6em;
  font-weight: 400;
  opacity: 0.8;
}

.stat-label {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* =============================================
   12. NEWS / ACTIVITY CARDS
   ============================================= */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.news-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}

.news-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  font-family: var(--font-heading);
}

.news-card-body {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--gray-500);
  margin-bottom: var(--space-sm);
}

.news-card-title {
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.news-card:hover .news-card-title {
  color: var(--green-800);
}

.news-card-excerpt {
  font-size: var(--fs-small);
  color: var(--gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-md);
  flex: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-700);
  font-weight: 600;
  font-size: var(--fs-small);
  transition: all var(--transition-fast);
}

.news-card-link:hover {
  gap: 10px;
  color: var(--green-900);
}

/* ── Premium Read More Button ── */
.news-card-footer {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(10,92,36,0.07);
}

.news-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(10,92,36,0.25);
  letter-spacing: 0.02em;
}

.news-read-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.news-read-btn:hover::before {
  left: 100%;
}

.news-read-btn:hover {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 100%);
  box-shadow: 0 8px 25px rgba(10,92,36,0.4);
  transform: translateY(-2px);
  gap: 12px;
  color: var(--white);
}

.news-read-btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.news-read-btn:hover .btn-arrow {
  transform: translateX(3px);
  background: rgba(255,255,255,0.35);
}

/* =============================================
   13. PAGE HEADER (Inner pages)
   ============================================= */
.page-header {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--dark-900);
}

.page-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: var(--space-xl) var(--space-2xl);
  background: rgba(3, 20, 8, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  margin-top: 60px;
  animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-header-left .page-header-subtitle {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.page-header-title {
  font-size: var(--fs-h1);
  color: var(--white);
  font-weight: 800;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  
  /* Premium Light/Gold Gradient for Subpage Banners */
  background: linear-gradient(135deg, var(--white) 0%, var(--green-100) 50%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.breadcrumb .separator {
  font-size: 0.75rem;
}

.breadcrumb .current {
  color: var(--gold-400);
  font-weight: 600;
}

@media (max-width: 767px) {
  .page-header {
    height: auto;
    min-height: 280px;
    padding-top: 100px;
    padding-bottom: var(--space-xl);
  }
  .page-header-left {
    width: 95%;
    padding: var(--space-lg) var(--space-md);
  }
}

/* =============================================
   14. FILTER TABS
   ============================================= */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filter-tab {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-tab:hover {
  border-color: var(--green-300);
  color: var(--green-700);
}

.filter-tab.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(10,92,36,0.25);
}

/* =============================================
   15. TIMELINE
   ============================================= */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green-300), var(--green-700), var(--green-300));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: var(--space-2xl);
}

.timeline-dot {
  position: absolute;
  left: 18px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 4px solid var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-dot {
  background: var(--green-700);
  transform: scale(1.2);
  box-shadow: var(--shadow-glow);
}

.timeline-step {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xs);
  color: var(--green-700);
}

.timeline-item:hover .timeline-step {
  color: var(--white);
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  border: 1px solid rgba(10,92,36,0.06);
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--green-200);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
}

.timeline-title {
  font-size: var(--fs-h4);
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.timeline-text {
  font-size: var(--fs-small);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

/* =============================================
   16. FORMS
   ============================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--gray-800);
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(10,92,36,0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--red-500);
  margin-top: 4px;
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: var(--red-500);
}

.form-group.error .form-error {
  display: block;
}

/* =============================================
   17. ABOUT / TWO-COLUMN
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  line-height: 1.9;
}

.about-list {
  margin: var(--space-lg) 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--fs-body);
  color: var(--gray-700);
}

.about-list li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 3px;
}

/* =============================================
   18. CONTACT SECTION
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
}

.contact-info-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
}

.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-full);
}

.contact-info-card h3 {
  color: var(--white);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-md);
}

.contact-info-card > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2xl);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}

.contact-info-value {
  font-weight: 500;
  font-size: 1rem;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}

.contact-form-card > p {
  color: var(--gray-500);
  margin-bottom: var(--space-2xl);
}

/* Map */
.map-section {
  background: var(--white);
  padding: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   19. CTA SECTION
   ============================================= */
.cta-section {
  background: var(--gradient-primary);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
  
  /* Premium Light/Gold Gradient for CTA Headings */
  background: linear-gradient(135deg, var(--white) 0%, var(--green-100) 60%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

/* =============================================
   20. GALLERY
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,61,22,0.85) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
}

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

.gallery-overlay h4 {
  color: var(--white);
  font-size: var(--fs-h4);
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-small);
  margin-bottom: 0;
}

/* =============================================
   21. ADMISSION INFO CARDS
   ============================================= */
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid rgba(10,92,36,0.06);
  transition: all var(--transition-base);
}

.info-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.info-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.info-card h3 {
  font-size: var(--fs-h4);
  color: var(--gray-900);
}

.info-card ul {
  list-style: none;
}

.info-card ul li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: var(--fs-small);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.info-card ul li:last-child {
  border-bottom: none;
}

/* =============================================
   22. WAVE DIVIDER
   ============================================= */
.wave-divider {
  position: relative;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* =============================================
   23. FOOTER
   ============================================= */
.footer {
  background: linear-gradient(180deg, var(--green-900) 0%, #031a0a 100%);
  color: rgba(255,255,255,0.75);
  padding: var(--space-4xl) 0 0;
  border-top: 1px solid rgba(26, 175, 77, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.2);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.3;
}

.footer-brand-sub {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
}

.footer-desc {
  font-size: var(--fs-small);
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--fs-small);
}

.footer-contact-icon {
  color: var(--green-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}

/* =============================================
   24. BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
  border: none;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* =============================================
   25. ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(90deg); }
  50% { transform: translate(-20px, 20px) rotate(180deg); }
  75% { transform: translate(20px, 10px) rotate(270deg); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

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

/* Animate on scroll classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.slide-left {
  transform: translateX(-40px);
}

.animate-on-scroll.slide-left.animated {
  transform: translateX(0);
}

.animate-on-scroll.slide-right {
  transform: translateX(40px);
}

.animate-on-scroll.slide-right.animated {
  transform: translateX(0);
}

.animate-on-scroll.scale-up {
  transform: scale(0.9);
}

.animate-on-scroll.scale-up.animated {
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* =============================================
   26. LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  transition: transform var(--transition-fast);
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

/* =============================================
   27. ADMISSION PRICING TABLE
   ============================================= */
.pricing-table {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.pricing-table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  border-spacing: 0;
}

.pricing-table thead th {
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  font-size: var(--fs-small);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-table thead th:last-child {
  border-right: none;
}

.pricing-table tbody td {
  padding: var(--space-md) var(--space-xl);
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--fs-small);
  color: var(--gray-700);
}

.pricing-table th:nth-child(1),
.pricing-table td:nth-child(1) {
  width: 30%;
}

.pricing-table th:nth-child(2),
.pricing-table td:nth-child(2) {
  width: 25%;
}

.pricing-table th:nth-child(3),
.pricing-table td:nth-child(3) {
  width: 45%;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: var(--green-50);
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--gray-50);
}

.pricing-table tbody tr:nth-child(even):hover {
  background: var(--green-50);
}

/* =============================================
   28. NEWS FEATURED SLIDER
   ============================================= */
.featured-news {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-3xl);
}

.featured-news-image {
  height: 100%;
  min-height: 350px;
  overflow: hidden;
}

.featured-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.featured-news-content {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-news-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-100);
  color: var(--green-700);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  width: fit-content;
}

.featured-news-title {
  font-size: var(--fs-h3);
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}

.featured-news-excerpt {
  color: var(--gray-600);
  font-size: var(--fs-body);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.featured-news-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

/* =============================================
   29. RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-news { grid-template-columns: 1fr; }
  .featured-news-image { min-height: 250px; }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }

  .navbar {
    padding: var(--space-sm) 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 520px;
  }

  .hero-logo {
    width: 90px;
    height: 90px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-item {
    padding: var(--space-lg);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  /* about column spans full width */
  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-desc {
    font-size: var(--fs-xs);
    line-height: 1.6;
    margin-bottom: var(--space-md);
  }

  .footer-column h4 {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
  }

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

  .footer-links a {
    font-size: var(--fs-xs);
  }

  .footer-logo {
    width: 44px;
    height: 44px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-split-grid,
  .page-header-split-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-top: 90px;
    padding-bottom: var(--space-xl);
  }

  .hero-left,
  .page-header-left {
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    margin-top: 0;
    background: rgba(4, 28, 12, 0.65);
  }

  .hero-left .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-left .hero-subtitle,
  .page-header-left .page-header-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-left .hero-buttons {
    justify-content: center;
  }

  .hero-right,
  .page-header-right {
    order: -1;
    margin-bottom: var(--space-md);
  }

  .hero-image-wrapper,
  .page-header-image-wrapper {
    max-width: 380px;
  }

  .page-header {
    height: auto;
    min-height: 300px;
    padding-top: 130px;
    padding-bottom: 50px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-dot {
    left: 8px;
    width: 24px;
    height: 24px;
  }

  .contact-info-card {
    padding: var(--space-2xl);
  }

  .contact-form-card {
    padding: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .nav-brand-name {
    font-size: 0.95rem;
  }

  .nav-brand-sub {
    font-size: 0.75rem;
  }

  .nav-logo {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
  }
  .hero-bg-ambient {
    background: radial-gradient(circle at 50% 30%, rgba(6, 61, 22, 0.65) 0%, rgba(3, 20, 8, 0.98) 80%);
  }
  .hero-split-grid {
    padding-top: 75px;
    padding-bottom: var(--space-xl);
    gap: var(--space-md);
  }
  .hero-right {
    margin-bottom: var(--space-xs);
  }
  .hero-image-wrapper {
    max-width: 100%;
  }
  .hero-left {
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    margin-bottom: var(--space-md);
  }
  .hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-md);
    border-width: 2px;
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.2);
  }
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: var(--space-xs);
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.85);
  }
  .hero-buttons {
    width: 100%;
    gap: var(--space-sm);
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 100%;
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .pricing-table {
    font-size: var(--fs-xs);
  }

  .pricing-table thead th,
  .pricing-table tbody td {
    padding: var(--space-sm) var(--space-md);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 375px) {
  .nav-brand-sub {
    display: none;
  }
}

/* =============================================
   30. PRINT STYLES
   ============================================= */
@media print {
  .navbar, .top-bar, .back-to-top, .hamburger, .mobile-menu, .mobile-overlay {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: var(--space-2xl) 0;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* =============================================
   31. PREMIUM UPGRADES & INTERACTIVE DASHBOARD
   ============================================= */

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--gray-50);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 100%);
  border-radius: var(--radius-pill);
  border: 2px solid var(--gray-50);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--green-600) 0%, var(--green-800) 100%);
}

/* Page loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
}
.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--green-100);
  border-top-color: var(--green-800);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s infinite linear;
}
.loader-text {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--green-800);
  font-size: 1.1rem;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600) 0%, var(--gold-500) 50%, var(--blue-600) 100%);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Floating background shapes */
.parallax-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.parallax-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  animation: floatShape 25s infinite ease-in-out alternate;
}
.parallax-shape-1 {
  background: var(--green-400);
  width: 350px;
  height: 350px;
  top: 10%;
  left: -5%;
}
.parallax-shape-2 {
  background: var(--blue-400);
  width: 400px;
  height: 400px;
  bottom: 15%;
  right: -10%;
  animation-delay: -5s;
}
.parallax-shape-3 {
  background: var(--gold-400);
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  animation-duration: 35s;
}

@keyframes floatShape {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.15); }
}

/* Premium Card Enhancements */
.feature-card, .news-card, .timeline-content, .contact-form-card, .info-card {
  box-shadow: 0 4px 20px rgba(10,92,36,0.04);
  border: 1px solid rgba(10, 92, 36, 0.05);
  transition: all var(--transition-bounce);
}
.feature-card:hover, .news-card:hover, .timeline-content:hover, .contact-form-card:hover, .info-card:hover {
  border-color: rgba(10, 92, 36, 0.15);
  box-shadow: 0 16px 40px rgba(10,92,36,0.12), 0 0 15px rgba(26,175,77,0.05);
}

/* =============================================
   FAQ SECTION (ACCORDION)
   ============================================= */
.faq-section {
  background: var(--gray-50);
  padding: var(--space-4xl) 0;
}

.faq-grid {
  max-width: 860px;
  margin: var(--space-2xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 92, 36, 0.07);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
  border-color: rgba(10, 92, 36, 0.18);
  box-shadow: 0 8px 28px rgba(10,92,36,0.06);
}

.faq-item.active {
  border-color: rgba(10, 92, 36, 0.28);
  box-shadow: 0 10px 32px rgba(10,92,36,0.08);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--green-700);
}

.faq-item.active .faq-question {
  color: var(--green-700);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), background 0.2s, color 0.2s;
}

.faq-item.active .faq-icon {
  background: var(--green-700);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(.4,0,.2,1);
}

.faq-answer p {
  padding: 0 var(--space-xl) var(--space-lg);
  margin: 0;
  font-size: var(--fs-body);
  color: var(--gray-600);
  line-height: 1.85;
  border-top: 1px solid rgba(10,92,36,0.06);
}

.faq-answer a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
  color: var(--green-500);
}


@media (max-width: 600px) {
  .faq-question {
    font-size: 0.95rem;
    padding: var(--space-md) var(--space-lg);
  }
  .faq-answer p {
    padding: 0 var(--space-lg) var(--space-md);
  }
}

/* =============================================
   STATISTICS DASHBOARD SECTION
   ============================================= */
.stats-dashboard-section {
  background: linear-gradient(135deg, var(--green-900) 0%, #0a1f10 40%, #07152b 100%);
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.stats-dashboard-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z' fill='%23ffffff' fill-opacity='0.01'/%3E%3C/svg%3E");
  opacity: 0.8;
}

/* Parallax shapes */
.parallax-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.parallax-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  filter: blur(60px);
}
.parallax-shape-1 { width: 500px; height: 500px; background: var(--green-500); top: -150px; left: -100px; }
.parallax-shape-2 { width: 400px; height: 400px; background: var(--blue-500); bottom: -100px; right: -100px; }
.parallax-shape-3 { width: 300px; height: 300px; background: #9b51e0; top: 40%; left: 50%; transform: translate(-50%,-50%); }

.stats-dashboard-section .section-label { color: var(--green-300); }
.stats-dashboard-section .section-title { color: var(--white); }
.stats-dashboard-section .section-title .text-green { color: var(--green-400); }
.stats-dashboard-section .section-subtitle { color: rgba(255,255,255,0.7); }
.stats-dashboard-section .section-label-line { background: var(--green-400); }

/* Scroll Wrapper */
.dashboard-scroll-wrapper {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Dashboard 3-column grid */
.dashboard-container {
  display: grid;
  grid-template-columns: 1.25fr 1.55fr 2.2fr;
  gap: var(--space-xl);
  align-items: stretch;
  margin-top: var(--space-xl);
}

.dashboard-col {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  position: relative;
}

.dashboard-col h3.col-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: var(--space-sm);
}

.dashboard-col h3.col-title span.badge {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  color: var(--gold-400);
}

/* Donut Chart */
.chart-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
}
.donut-svg {
  transform: rotate(-90deg);
  width: 85%;
  height: 85%;
}
.donut-segment {
  fill: none;
  stroke-width: 14px;
  transition: stroke-width var(--transition-fast), stroke-dasharray var(--transition-slow);
  cursor: pointer;
}
.donut-segment.seg-subdistrict { stroke: var(--green-500); }
.donut-segment.seg-district { stroke: var(--blue-500); }
.donut-segment.seg-other { stroke: #9b51e0; }
.donut-segment:hover, .donut-segment.active { stroke-width: 18px; }

.donut-center-text {
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.donut-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.donut-lbl {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* Legend */
.donut-legend {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: all var(--transition-base);
}
.legend-item:hover, .legend-item.active {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}
.legend-left { display: flex; align-items: center; gap: var(--space-sm); }
.legend-dot {
  width: 10px; height: 10px;
  border-radius: var(--radius-full);
}
.legend-dot.subdistrict { background: var(--green-500); }
.legend-dot.district { background: var(--blue-500); }
.legend-dot.other { background: #9b51e0; }
.legend-name { font-size: 0.9rem; font-weight: 500; white-space: nowrap; color: rgba(255,255,255,0.85); }
.legend-val { font-family: var(--font-heading); font-weight: 700; color: var(--white); }

/* SVG Map */
.map-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}
.krabi-map-svg {
  position: relative;
  z-index: 2;
  width: 90%;
  height: 90%;
  object-fit: contain;
}
.map-bg-path {
  fill: rgba(10,92,36,0.06);
  stroke: rgba(255,255,255,0.12);
  stroke-width: 1.5;
}

/* Map Pins */
.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  transform: translate(-50%,-50%);
  cursor: pointer;
  z-index: 10;
}
.pin-dot {
  width: 8px; height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  position: absolute;
  top: 4px; left: 4px;
  box-shadow: 0 0 10px var(--green-400);
  transition: all var(--transition-fast);
}
.map-pin::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green-400);
  animation: mapPulse 2s infinite ease-out;
  opacity: 0;
  pointer-events: none;
}
.map-pin:hover .pin-dot, .map-pin.active .pin-dot {
  background: var(--gold-400) !important;
  box-shadow: 0 0 15px var(--gold-400) !important;
  transform: scale(1.4);
}
.map-pin:hover::after, .map-pin.active::after { border-color: var(--gold-400) !important; opacity: 1; }
.map-pin.pin-district .pin-dot { background: var(--blue-400); box-shadow: 0 0 10px var(--blue-400); }
.map-pin.pin-district::after { border-color: var(--blue-400); }
.map-pin.pin-other .pin-dot { background: #c084fc; box-shadow: 0 0 10px #c084fc; }
.map-pin.pin-other::after { border-color: #c084fc; }

@keyframes mapPulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Map Tooltip */
.map-tooltip {
  position: absolute;
  background: rgba(10,25,15,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  color: var(--white);
  font-size: var(--fs-small);
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%,-130%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.map-tooltip.visible { opacity: 1; transform: translate(-50%,-130%) scale(1); }
.map-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: rgba(10,25,15,0.9) transparent transparent;
}

/* Dashboard Tabs */
.dashboard-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-lg);
  background: rgba(255,255,255,0.04);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
}
.dash-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  padding: 10px 4px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}
.dash-tab-btn:hover { color: var(--white); background: rgba(255,255,255,0.02); }
.dash-tab-btn.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.dash-tab-btn.active.tab-subdistrict { border-bottom: 2px solid var(--green-400); }
.dash-tab-btn.active.tab-district { border-bottom: 2px solid var(--blue-400); }
.dash-tab-btn.active.tab-other { border-bottom: 2px solid #c084fc; }

/* Tab Panels */
.dash-tab-panels { flex: 1; display: flex; flex-direction: column; }
.dash-tab-panel { display: none; flex-direction: column; animation: fadeIn 0.4s ease; }
.dash-tab-panel.active { display: flex; }

/* Area List */
.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.area-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.01);
  border: 1px solid rgba(255,255,255,0.03);
  transition: all var(--transition-base);
  cursor: pointer;
}
.area-item:hover, .area-item.active {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}
.area-info { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.area-name { font-weight: 500; color: rgba(255,255,255,0.9); }
.area-pct { font-family: var(--font-heading); font-weight: 700; color: var(--white); }

/* Progress bars */
.progress-bar-premium {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.1,0.8,0.25,1);
}
.tab-panel-subdistrict .progress-bar-fill {
  background: linear-gradient(90deg, var(--green-600) 0%, var(--green-400) 100%);
  box-shadow: 0 0 8px rgba(74,202,112,0.5);
}
.tab-panel-district .progress-bar-fill {
  background: linear-gradient(90deg, var(--blue-700) 0%, var(--blue-400) 100%);
  box-shadow: 0 0 8px rgba(66,165,245,0.5);
}
.tab-panel-other .progress-bar-fill {
  background: linear-gradient(90deg, #8b5cf6 0%, #c084fc 100%);
  box-shadow: 0 0 8px rgba(192,132,252,0.5);
}

/* Responsive — Desktop: 3 columns | Mobile: vertical stack */
@media (max-width: 1100px) {
  .dashboard-scroll-wrapper {
    overflow: visible; /* no horizontal scroll on tablet */
  }
  .dashboard-container {
    grid-template-columns: 1fr 1fr;
    min-width: unset;
    gap: var(--space-lg);
  }
  /* Map column spans full width on tablet */
  .dashboard-container .dashboard-col:nth-child(2) {
    grid-column: 1 / -1;
  }
  .map-wrapper { min-height: 340px; }
  .chart-wrapper { max-width: 220px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .dashboard-container {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .dashboard-container .dashboard-col:nth-child(2) {
    grid-column: auto;
    display: flex; /* show map */
  }
  .map-wrapper {
    min-height: 300px;
    max-height: 320px;
  }
  .chart-wrapper {
    max-width: 200px;
    margin: 0 auto;
    aspect-ratio: 1;
  }
  .area-list { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .dashboard-col { padding: var(--space-md); }
}

@media (max-width: 480px) {
  .area-list { grid-template-columns: 1fr; }
  .map-wrapper {
    min-height: 260px;
    max-height: 280px;
  }
}



/* =====================================================
   PREMIUM FX EFFECTS  (v12.0)
   ===================================================== */

/* ── Custom Glow Cursor ── */
.fx-cursor,
.fx-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
}
.fx-cursor {
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  background: radial-gradient(circle, rgba(34,197,94,0.18) 0%, transparent 70%);
  border: 1.5px solid rgba(34,197,94,0.45);
  transition: width 0.2s, height 0.2s, background 0.2s;
  backdrop-filter: blur(1px);
}
.fx-cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: #22c55e;
  box-shadow: 0 0 8px 3px rgba(34,197,94,0.7);
}
body:hover .fx-cursor { width: 42px; height: 42px; }
@media (pointer: coarse) { .fx-cursor, .fx-cursor-dot { display: none; } }

/* ── Ripple Effect ── */
.fx-ripple {
  position: absolute;
  width: 8px; height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: scale(0);
  animation: fx-ripple-anim 0.65s ease-out forwards;
  pointer-events: none;
}
@keyframes fx-ripple-anim {
  to { transform: scale(30); opacity: 0; }
}

/* ── Section-label glow trigger ── */
.section-label { transition: text-shadow 0.5s, letter-spacing 0.5s; }
.section-label.fx-label-glow {
  text-shadow: 0 0 20px rgba(34,197,94,0.6);
  letter-spacing: 0.12em;
}

/* ── Hero – animated gradient mesh ── */
.hero {
  background: linear-gradient(135deg, #063D16 0%, #0a5c24 40%, #114d1e 70%, #063D16 100%);
  background-size: 300% 300%;
  animation: hero-gradient-shift 10s ease infinite;
  position: relative;
  overflow: hidden;
}
@keyframes hero-gradient-shift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ── Hero floating orbs (enhanced hero-particles) ── */
.hero-particles {
  transition: transform 0.1s linear;
}
.hero-particle {
  border-radius: 50%;
  position: absolute;
  animation: orb-float 7s ease-in-out infinite;
}
.hero-particle:nth-child(1) { width:200px; height:200px; top:5%; left:10%; background:radial-gradient(circle, rgba(34,197,94,0.12), transparent 70%); animation-duration:9s; }
.hero-particle:nth-child(2) { width:120px; height:120px; top:60%; left:5%; background:radial-gradient(circle, rgba(34,197,94,0.08), transparent 70%); animation-duration:7s; animation-delay:-2s; }
.hero-particle:nth-child(3) { width:160px; height:160px; top:20%; right:8%; background:radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%); animation-duration:11s; animation-delay:-4s; }
.hero-particle:nth-child(4) { width:80px; height:80px; bottom:10%; right:20%; background:radial-gradient(circle, rgba(34,197,94,0.15), transparent 70%); animation-duration:6s; animation-delay:-1s; }
.hero-particle:nth-child(5) { width:250px; height:250px; bottom:0%; left:40%; background:radial-gradient(circle, rgba(10,92,36,0.2), transparent 70%); animation-duration:14s; animation-delay:-6s; }
.hero-particle:nth-child(6) { width:60px; height:60px; top:45%; right:30%; background:radial-gradient(circle, rgba(34,197,94,0.1), transparent 70%); animation-duration:8s; animation-delay:-3s; }
.hero-particle:nth-child(7) { width:100px; height:100px; top:80%; left:25%; background:radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%); animation-duration:10s; animation-delay:-5s; }
.hero-particle:nth-child(8) { width:50px; height:50px; top:30%; left:50%; background:radial-gradient(circle, rgba(34,197,94,0.2), transparent 70%); animation-duration:5s; animation-delay:-1.5s; }
@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  33%       { transform: translateY(-18px) scale(1.05); }
  66%       { transform: translateY(10px) scale(0.97); }
}

/* ── Feature Cards – tilt + glow border (homepage only via .fx-tilt-card) ── */
.fx-tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.08s linear, box-shadow 0.08s linear;
  will-change: transform;
}
.fx-tilt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34,197,94,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.fx-tilt-card:hover::before { opacity: 1; }
.fx-tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--green-600), var(--gold-400), var(--green-800), var(--gold-500), var(--green-600)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.55; /* Always visible for premium feel */
  transition: opacity 0.35s ease, filter 0.35s ease;
  pointer-events: none;
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
}
.fx-tilt-card:hover::after { 
  opacity: 1; 
  filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.4)) drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
}

/* ── Stats Section – neon glow on numbers ── */
.stat-item {
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.stat-item:hover::before { opacity: 1; }
.stat-number {
  text-shadow: 0 0 30px rgba(34,197,94,0.2);
  transition: text-shadow 0.4s;
}
.stat-item:hover .stat-number {
  text-shadow: 0 0 20px rgba(34,197,94,0.5), 0 0 60px rgba(34,197,94,0.2);
}

/* ── FAQ – glassmorphism enhanced ── */
.faq-item {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.faq-item.active {
  background: rgba(255,255,255,0.95);
}

/* ── Section dividers – animated gradient line ── */
.section-label-line {
  display: inline-block;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
  background-size: 200% 100%;
  animation: shimmer-line 2.5s ease-in-out infinite;
  vertical-align: middle;
  margin: 0 10px;
  border-radius: 2px;
}
@keyframes shimmer-line {
  0%   { background-position: 200% center; opacity: 0.5; }
  50%  { background-position: -200% center; opacity: 1; }
  100% { background-position: 200% center; opacity: 0.5; }
}

/* ── CTA Section – animated border shimmer ── */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(90deg, #22c55e, #16a34a, #4ade80, #22c55e);
  background-size: 300% 100%;
  animation: cta-border-shimmer 4s linear infinite;
  border-radius: inherit;
  z-index: 0;
  opacity: 0.07;
}
@keyframes cta-border-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* ── Back-to-top – pulsing glow ── */
.back-to-top {
  animation: btt-pulse 2.5s ease-in-out infinite;
}
@keyframes btt-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(34,197,94,0.3); }
  50%       { box-shadow: 0 4px 40px rgba(34,197,94,0.6), 0 0 0 8px rgba(34,197,94,0.07); }
}

/* ── News Cards – glow on hover ── */
.news-card {
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(10,92,36,0.13), 0 0 0 1.5px rgba(34,197,94,0.15);
}

/* ── Section scroll-reveal refined ── */
.animate-on-scroll {
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

/* ════════════════════════════════════════════════
   PREMIUM FX PACK v2.0 — Unique Visual Effects
   ════════════════════════════════════════════════ */

/* ── FX-D: Aurora Spotlight on Dashboard ── */
.stats-dashboard-section {
  --aurora-x: 50%;
  --aurora-y: 50%;
}
.stats-dashboard-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 500px at var(--aurora-x) var(--aurora-y),
    rgba(74,202,112,0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  transition: background 0.1s;
}

/* ── FX-E: Holographic Shimmer on News Cards ── */
.news-card {
  --holo-x: 50%;
  --holo-y: 50%;
}
.news-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--holo-x) var(--holo-y),
    rgba(34,197,94,0.12) 0%,
    rgba(255,215,0,0.05) 40%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.news-card.holo-active::after { opacity: 1; }

/* ── FX-F: Neon Border Trail on Stat Items ── */
.stat-item {
  --nx: 50%;
  --ny: 50%;
}
.stat-item::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(34,197,94,0.25) 0%, transparent 70%);
  border-radius: 50%;
  top: calc(var(--ny) - 60px);
  left: calc(var(--nx) - 60px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}
.stat-item:hover::before { opacity: 1; }

/* ── FX-H: Fade+Rise Reveal on Feature Cards ── */
.feature-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow var(--transition-base);
}
.feature-card.ink-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback: show cards if JS fails or no observer support */
@media (prefers-reduced-motion: reduce) {
  .feature-card { opacity: 1; transform: none; }
}


/* ── Scrollbar Beauty ── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f0faf4; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-500), var(--green-800));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--green-700); }

/* ── Section Title Scramble Style ── */
.section-title {
  letter-spacing: 0.01em;
}

/* ── Aurora background pulse on hero ── */
@keyframes aurora-drift {
  0%,100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
  33%      { opacity: 0.8; transform: scale(1.1) rotate(5deg); }
  66%      { opacity: 0.6; transform: scale(0.95) rotate(-3deg); }
}
.hero-particle:nth-child(1) { animation: aurora-drift 9s ease-in-out infinite; }
.hero-particle:nth-child(3) { animation: aurora-drift 11s ease-in-out infinite reverse; }

/* ── Feature Card pop-in delay stagger ── */
.feature-card.delay-1 { transition-delay: 0.1s; }
.feature-card.delay-2 { transition-delay: 0.2s; }
.feature-card.delay-3 { transition-delay: 0.3s; }
.feature-card.delay-4 { transition-delay: 0.4s; }


/* =============================================
   CONTACT DETAIL CARDS  (contact.html)
   ============================================= */

.contact-detail-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid rgba(10,92,36,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.contact-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10,92,36,0.12);
}

/* Badge label at top */
.contact-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

/* Icon wrapper — large circular area */
.contact-card-icon-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}

.contact-detail-card:hover .contact-card-icon-wrapper {
  transform: scale(1.07);
}

.contact-card-icon-wrapper.green {
  background: #e8f5e9;
  color: #1b5e20;
}

.contact-card-icon-wrapper.blue {
  background: #e3f2fd;
  color: #1565c0;
}

.contact-card-icon-wrapper.gold {
  background: #fff8e1;
  color: #f57f17;
}

/* SVG icon */
.contact-card-svg {
  width: 72px;
  height: 72px;
}

/* Card heading */
.contact-detail-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  text-align: left;
}

/* Description paragraph */
.contact-card-desc {
  font-size: var(--fs-body);
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Horizontal divider */
.contact-card-divider {
  width: 100%;
  height: 1px;
  background: rgba(10,92,36,0.08);
  margin-bottom: var(--space-lg);
}

/* List of info items */
.contact-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.list-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.list-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.list-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.list-value {
  font-size: var(--fs-sm);
  color: var(--gray-700);
  font-weight: 500;
}

.list-value a {
  color: var(--green-700);
  text-decoration: none;
  font-weight: 600;
}

.list-value a:hover {
  text-decoration: underline;
}

/* CTA button at bottom — pushes to bottom */
.contact-card-action {
  margin-top: auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  border-radius: var(--radius-pill) !important;
  padding: 0.55rem 1.4rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none;
  transition: all var(--transition-base);
}

/* btn-blue and btn-gold variants */
.btn-blue {
  background: #1565c0;
  color: var(--white);
  border: 2px solid #1565c0;
  cursor: pointer;
}
.btn-blue:hover {
  background: #0d47a1;
  border-color: #0d47a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.3);
}

.btn-gold {
  background: #f57f17;
  color: var(--white);
  border: 2px solid #f57f17;
  cursor: pointer;
}
.btn-gold:hover {
  background: #e65100;
  border-color: #e65100;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,127,23,0.3);
}

/* ── btn-green pill override (must come after .btn-sm) ── */
.btn.btn-green {
  background: #16a34a;
  color: #ffffff;
  border: 2px solid #16a34a;
}
.btn.btn-green:hover {
  background: #15803d;
  border-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.3);
}

/* ── HUD VIEWFINDER OVERLAY ── */
.hud-overlay {
  position: absolute;
  inset: 6px; /* Align with borders */
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  border-radius: calc(var(--radius-2xl) - 6px);
  font-family: 'Courier New', Courier, monospace;
  color: #22c55e;
  text-shadow: 0 0 4px rgba(34, 197, 94, 0.6);
}

/* Second Orbiting Emerald Energy Orb */
.hud-overlay::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 15px #22c55e, 0 0 6px #4ade80, 0 0 2px var(--white);
  z-index: 6;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: borderOrbitReverse 6s linear infinite;
  transition: width 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-wrapper:hover .hud-overlay::before,
.page-header-image-wrapper:hover .hud-overlay::before {
  animation-duration: 2.5s;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 25px #22c55e, 0 0 12px #4ade80, 0 0 4px var(--white);
}

/* System Active Badge */
.hud-status {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  color: #22c55e;
  background: rgba(0, 0, 0, 0.7);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.hud-status .blink-dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
  animation: hudBlink 1s infinite alternate;
  box-shadow: 0 0 6px #22c55e;
}

@keyframes hudBlink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* Bounding Target Reticle (Locks onto the school building) */
.hud-target-lock {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.hud-target-box {
  width: 70px;
  height: 70px;
  border: 1px dashed var(--gold-400);
  border-radius: 6px;
  position: relative;
  animation: pulseLock 2.5s infinite ease-in-out;
}

.hud-target-box::before,
.hud-target-box::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--gold-300);
  border-style: solid;
  border-width: 0;
  transition: all 0.3s ease;
}

.hud-target-box::before {
  top: -2px;
  left: -2px;
  border-top-width: 2.5px;
  border-left-width: 2.5px;
}

.hud-target-box::after {
  bottom: -2px;
  right: -2px;
  border-bottom-width: 2.5px;
  border-right-width: 2.5px;
}

.hud-target-label {
  font-size: 8px;
  color: var(--gold-300);
  font-weight: 800;
  margin-top: 6px;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(249, 168, 37, 0.3);
}

.hud-target-range {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

@keyframes pulseLock {
  0%, 100% {
    transform: scale(1);
    border-color: rgba(249, 168, 37, 0.35);
  }
  50% {
    transform: scale(1.08);
    border-color: rgba(249, 168, 37, 1);
    filter: drop-shadow(0 0 5px var(--gold-400));
  }
}

/* Flight Instrument: Pitch Ladder / Horizon */
.hud-pitch-ladder {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  opacity: 0.65;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image-wrapper:hover .hud-pitch-ladder,
.page-header-image-wrapper:hover .hud-pitch-ladder {
  transform: translateY(-55%) scale(1.05);
  opacity: 0.95;
}

.hud-pitch-line {
  width: 24px;
  border-top: 1px solid rgba(34, 197, 94, 0.5);
  text-align: center;
  line-height: 12px;
  position: relative;
}

.hud-pitch-line:nth-child(even) {
  width: 14px;
  border-top-style: dashed;
}

/* Telemetry Dashboard Box */
.hud-telemetry-panel {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 8px;
  line-height: 1.5;
  color: #22c55e;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: flex;
  flex-direction: column;
  gap: 2px;
  letter-spacing: 0.05em;
}

/* Gyro Compass Ring HUD at Bottom Corner */
.hud-gyro-ring {
  position: absolute;
  bottom: -45px;
  right: -45px;
  width: 130px;
  height: 130px;
  border: 1.5px dashed rgba(34, 197, 94, 0.25);
  border-radius: 50%;
  animation: spinRight 25s linear infinite;
}

.hud-gyro-ring-inner {
  position: absolute;
  bottom: -38px;
  right: -38px;
  width: 116px;
  height: 116px;
  border: 1px double rgba(249, 168, 37, 0.2);
  border-radius: 50%;
  animation: spinLeft 15s linear infinite;
}

@keyframes spinRight {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinLeft {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

/* Green laser scanline sweeping down */
.hud-scanner {
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0) 0%, rgba(34, 197, 94, 0.65) 50%, rgba(34, 197, 94, 0) 100%);
  top: -10px;
  animation: hudScan 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.3);
}

@keyframes hudScan {
  0% { top: -5%; }
  50% { top: 105%; }
  100% { top: -5%; }
}

/* Reverse Orbit Animation */
@keyframes borderOrbitReverse {
  0% { top: 0%; left: 100%; }
  25% { top: 100%; left: 100%; }
  50% { top: 100%; left: 0%; }
  75% { top: 0%; left: 0%; }
  100% { top: 0%; left: 100%; }
}

/* ── FX-C: Bouncy Section Title Letters ── */
.section-title.bounce-active .bounce-letter {
  animation: letterJump 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: calc(var(--letter-index) * 0.035s);
}

@keyframes letterJump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ── 9. PREMIUM ICON STYLING ── */
.lucide,
.premium-icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: middle;
  position: relative;
  top: -1px; /* Optical alignment */
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), stroke-width 0.25s ease;
}

/* Sizing Helpers */
.icon-xs { width: 0.9rem; height: 0.9rem; stroke-width: 2px; }
.icon-sm { width: 1.1rem; height: 1.1rem; stroke-width: 2px; }
.icon-md { width: 1.25rem; height: 1.25rem; stroke-width: 2px; }
.icon-lg { width: 1.5rem; height: 1.5rem; stroke-width: 2.2px; }
.icon-xl { width: 2.2rem; height: 2.2rem; stroke-width: 2.2px; }

/* Custom Mosque and Soccer Ball Icons */
.mosque-icon,
.soccer-icon {
  stroke-width: 2px;
  stroke: currentColor;
  fill: none;
}

/* Hover Micro-Animations */
.btn:hover .lucide,
.btn:hover .premium-icon,
.nav-link:hover .lucide,
.legend-item:hover .lucide,
.area-item:hover .lucide,
.faq-question:hover .lucide,
.contact-card-action:hover .lucide {
  transform: scale(1.15) rotate(8deg);
}

/* Button-specific shifts */
.btn:hover .lucide-arrow-right,
.btn:hover .lucide-send {
  transform: translateX(4px) scale(1.1);
}

.btn:hover .lucide-phone {
  transform: rotate(15deg) scale(1.15);
}

/* Checkmark Highlights */
.check-icon {
  color: var(--green-500);
  stroke-width: 2.5px;
  filter: drop-shadow(0 2px 6px rgba(34, 197, 94, 0.25));
  margin-right: 0.5rem;
}

/* Pin Bullet Icons */
.pin-icon {
  color: var(--gold-500);
  margin-right: 0.5rem;
}

.paperclip-icon {
  color: var(--blue-500);
  margin-right: 0.5rem;
}

/* ── 10. FACEBOOK CONTACT CARD & CHAT SIMULATOR ── */
.fb-contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fb-contact-card > p {
  color: var(--gray-500);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.fb-chat-simulator {
  background: var(--gray-50);
  border: 1px solid rgba(10, 92, 36, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.01);
  margin-bottom: var(--space-2xl);
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: var(--white);
  border-bottom: 1px solid rgba(10, 92, 36, 0.06);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  padding: 2px;
  border: 1.5px solid var(--green-500);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.3;
}

.chat-status {
  font-size: 0.78rem;
  color: var(--green-600);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.chat-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-400);
  animation: blinkStatus 1.5s infinite ease-in-out;
}

@keyframes blinkStatus {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.chat-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-height: 320px;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 85%;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}

.chat-bubble.incoming {
  background: var(--white);
  color: var(--gray-700);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  border: 1px solid rgba(10, 92, 36, 0.03);
}

.chat-bubble.outgoing {
  background: #1877F2;
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 3px 10px rgba(24, 119, 242, 0.15);
}

.btn-fb-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1877F2;
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-xl);
  transition: all var(--transition-bounce);
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.25);
  text-align: center;
}

.btn-fb-chat:hover {
  background: #166FE5;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35);
}

.btn-fb-chat:active {
  transform: translateY(-1px);
}


