/* ==========================================================================
   Developed India Dreamers Foundation (DID Foundation) - Main Stylesheet
   Domain: www.didfoundation.in
   Design: Modern, Accessible, Responsive NGO Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette (Developed India Dreamers Foundation Logo Colors) */
  --primary: #1c3d94;
  /* Chakra & Ring Navy Blue */
  --primary-dark: #122867;
  /* Deep Royal Navy */
  --primary-light: #2b54c2;
  /* Lighter Navy Accent */
  --primary-subtle: #edf2fc;
  /* Pale Navy Background Tint */

  --secondary: #f3821a;
  /* Logo Saffron Orange */
  --secondary-hover: #dc6f0e;
  /* Warm Saffron Hover */
  --secondary-subtle: #fef5ed;
  /* Soft Saffron Tint */

  --accent-green: #0a9947;
  /* Logo Vibrant Indian Green */
  --accent-green-dark: #077937;
  --accent-green-subtle: #eafaf1;

  /* Neutrals & Surfaces */
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  /* Clean subtle slate/white background */
  --bg-card: #ffffff;
  --bg-footer: #0c1a40;
  /* Deep midnight navy footer */
  --text-primary: #101a2c;
  /* Midnight charcoal */
  --text-muted: #53637e;
  /* Elegant muted slate */
  --text-light: #ffffff;
  --text-footer: #d2dcfa;

  /* Borders & Dividers */
  --border-color: #e2e8f0;
  --border-subtle: #eef2f7;
  --border-focus: #1c3d94;

  /* Typography */
  --font-base: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(18, 38, 92, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 38, 92, 0.08);
  --shadow-lg: 0 16px 36px rgba(18, 38, 92, 0.12);
  --shadow-hover: 0 20px 40px rgba(18, 38, 92, 0.16);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1320px;
}

/* --------------------------------------------------------------------------
   2. Base & Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover {
  color: var(--secondary);
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   3. Layout & Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 72px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface);
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--secondary-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--secondary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(243, 130, 26, 0.35);
}

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 130, 26, 0.45);
}

.btn-secondary {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(31, 111, 92, 0.25);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 111, 92, 0.35);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge-sample {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.badge-tag {
  background: var(--primary-subtle);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   5. Prototype Disclaimer Notice Bar
   -------------------------------------------------------------------------- */
.disclaimer-bar {
  background: #2a2010;
  color: #f7d59b;
  font-size: 0.84rem;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(247, 213, 155, 0.2);
}

.disclaimer-bar strong {
  color: #fff;
}

/* --------------------------------------------------------------------------
   6. Top utility bar & Header
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--primary-dark);
  color: #e3ede9;
  font-size: 0.85rem;
  padding: 7px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-info a,
.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d1e5df;
}

.top-bar-info a:hover {
  color: #ffffff;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.top-social-link:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(243, 130, 26, 0.35);
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 20px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(28, 61, 148, 0.16);
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid rgba(28, 61, 148, 0.15);
  transition: var(--transition);
  padding: 2px;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-logo:hover .brand-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(243, 130, 26, 0.3);
  border-color: var(--secondary);
}

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

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.25;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2c3e50;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-subtle);
  font-weight: 700;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  z-index: 1010;
  animation: fadeIn 0.2s ease-in-out;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-item a {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown-item a span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.dropdown-item a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   7. Hero Section: 4 Focus Areas Responsive Banner Slider
   -------------------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  min-height: 640px;
  background-color: #08122c;
  overflow: hidden;
  color: #ffffff;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  min-height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  display: flex;
  align-items: center;
  padding: 80px 0;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.06);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(8, 18, 44, 0.95) 0%,
      rgba(12, 28, 70, 0.85) 45%,
      rgba(12, 28, 70, 0.5) 75%,
      rgba(8, 18, 44, 0.7) 100%);
  z-index: 1;
}

.slide-content-wrap {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.badge-education .dot {
  background: #f3821a;
  box-shadow: 0 0 10px #f3821a;
}

.badge-health .dot {
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
}

.badge-women .dot {
  background: #ff5e97;
  box-shadow: 0 0 10px #ff5e97;
}

.badge-earth .dot {
  background: #0a9947;
  box-shadow: 0 0 10px #0a9947;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-title .highlight {
  color: #f7a06d;
  background: linear-gradient(120deg, #ff9f43 0%, #ffc078 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #e5edf8;
  margin-bottom: 34px;
  max-width: 620px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Slider Controls: Arrows */
.slider-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(243, 130, 26, 0.4);
}

.slider-prev {
  left: 24px;
}

.slider-next {
  right: 24px;
}

/* Slider Progress Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 18, 44, 0.45);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.15);
}

.slider-dot.active {
  width: 38px;
  background: var(--secondary);
  box-shadow: 0 0 14px rgba(243, 130, 26, 0.6);
}

/* --------------------------------------------------------------------------
   8. Introduction / Who We Are Section
   -------------------------------------------------------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-content .section-title {
  margin-bottom: 20px;
}

.intro-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
}

.feature-box .feat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-box h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.feature-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.intro-visual {
  position: relative;
}

.visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.placeholder-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #dfe6e3;
  background-image: linear-gradient(135deg, transparent 48%, rgba(0, 0, 0, 0.05) 49%, rgba(0, 0, 0, 0.05) 51%, transparent 52%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #4b5b57;
}

.placeholder-img svg {
  margin-bottom: 12px;
  opacity: 0.6;
}

.placeholder-img b {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.placeholder-img small {
  font-size: 0.85rem;
  opacity: 0.8;
}

.visual-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}

.visual-badge .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary-subtle);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.visual-badge b {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.visual-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. Program Cards
   -------------------------------------------------------------------------- */
.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.program-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.program-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-tag {
  align-self: flex-start;
  margin-bottom: 10px;
}

.program-card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.program-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.program-beneficiaries {
  background: var(--bg-surface);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.program-beneficiaries strong {
  color: var(--text-primary);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
}

.card-link:hover {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   10. Impact Counters (Sample Data)
   -------------------------------------------------------------------------- */
.impact-section {
  background: linear-gradient(135deg, #122867 0%, #1c3d94 100%);
  color: #ffffff;
  padding: 80px 0;
}

.impact-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.impact-header .section-title {
  color: #ffffff;
}

.impact-header p {
  color: #d1e5df;
}

.counter-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.counter-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.counter-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

.counter-number {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.counter-number .suffix {
  color: #f7a06d;
}

.counter-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e5f0ec;
  margin-bottom: 4px;
}

.counter-note {
  font-size: 0.78rem;
  color: #a4ccc1;
  margin: 0;
}

.sample-data-notice {
  margin-top: 36px;
  text-align: center;
  font-size: 0.85rem;
  color: #c0ded6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   11. Featured Success Story
   -------------------------------------------------------------------------- */
.story-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.story-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-icon {
  color: var(--secondary);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 14px;
}

.story-quote {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.story-summary {
  background: var(--bg-surface);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}

.story-summary p {
  font-size: 0.92rem;
  margin: 0 0 6px;
}

.story-summary p:last-child {
  margin-bottom: 0;
}

.story-author b {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.story-author span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. 3 Pillars Call to Action Grid (Volunteer, Partner, Donate)
   -------------------------------------------------------------------------- */
.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.cta-card.featured-card {
  border-color: var(--secondary);
  background: linear-gradient(180deg, #fffcf9 0%, #ffffff 100%);
  box-shadow: var(--shadow-md);
}

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

.cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.cta-card.featured-card .cta-icon {
  background: var(--secondary-subtle);
  color: var(--secondary);
}

.cta-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.cta-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   13. News & Updates Section
   -------------------------------------------------------------------------- */
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.news-img {
  aspect-ratio: 16 / 9;
}

.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

.news-title {
  font-size: 1.18rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   14. Facebook Community Section
   -------------------------------------------------------------------------- */
.facebook-box {
  background: linear-gradient(135deg, #f0f4f9 0%, #e8f0fe 100%);
  border: 1px solid #c9dafc;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.facebook-info {
  max-width: 650px;
}

.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1877f2;
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.facebook-info h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.facebook-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.facebook-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-footer);
  padding: 70px 0 24px;
  margin-top: auto;
  border-top: 4px solid var(--secondary);
}

.footer-top {
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.3fr;
  gap: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary);
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #b3c9c2;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: #d1e5df;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: #d1e5df;
}

.footer-contact-info svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--secondary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #8faea4;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #8faea4;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.floating-wa:hover {
  background: #20bd5a;
  transform: translateY(-3px) scale(1.02);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

/* --------------------------------------------------------------------------
   17. Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   18. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .visual-badge {
    right: 20px;
    bottom: -10px;
  }

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

  .story-content {
    padding: 32px 24px;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--border-subtle);
    margin-left: 14px;
    margin-bottom: 8px;
    display: block;
  }

  .mobile-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .slider-arrow {
    display: none;
  }

  .hero-slide {
    padding: 60px 0 70px;
  }
}

@media (max-width: 768px) {

  .hero-slider-section,
  .hero-slider-track {
    min-height: 560px;
  }

  .slide-overlay {
    background: linear-gradient(180deg,
        rgba(8, 18, 44, 0.94) 0%,
        rgba(12, 28, 70, 0.88) 60%,
        rgba(8, 18, 44, 0.95) 100%);
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-desc {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .slider-tab {
    padding: 8px 10px;
  }

  .tab-badge {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }

  .tab-info b {
    font-size: 0.88rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 50px 0;
  }

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

  .facebook-box {
    padding: 30px 20px;
  }

  .intro-features {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .floating-wa span {
    display: none;
  }

  .floating-wa {
    padding: 14px;
    border-radius: 50%;
  }
}

/* ==========================================================================
   Page Banners & Inner Page Components
   ========================================================================== */

.page-banner {
  position: relative;
  background: linear-gradient(135deg, #091533 0%, #153282 50%, #0d2059 100%);
  color: #ffffff;
  padding: 64px 0 60px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(243, 130, 26, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(28, 61, 148, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(10, 153, 71, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-banner-title {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-align: center;
}

.page-banner-desc {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #dbe4f5;
  margin: 0;
  max-width: 760px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Timeline & Steps */
.timeline {
  border-left: 3px solid var(--primary);
  padding-left: 24px;
  margin: 30px 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid #ffffff;
}

.timeline-year {
  font-weight: 800;
  color: var(--secondary);
  font-size: 1.1rem;
}

.step-card {
  border-left: 4px solid var(--primary);
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  border-left-width: 4px;
}

.step-card b {
  color: var(--primary);
  font-size: 1.05rem;
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 22px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.tab-pane.active {
  display: block;
}

/* Interactive Forms */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28, 61, 148, 0.15);
}

/* Thank You Message Box */
.thank-you-box {
  background: #ffffff;
  border: 1.5px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.4s ease-out;
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eafaf1;
  color: #0a9947;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(10, 153, 71, 0.2);
}

.thank-you-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #101a2c;
  margin-bottom: 12px;
}

.thank-you-desc {
  font-size: 1.05rem;
  color: #53637e;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 24px;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  text-align: left;
  font-size: 0.95rem;
}

.data-table th {
  background: var(--bg-surface);
  font-weight: 700;
  color: var(--text-primary);
}

/* Progress bar */
.progress-bar-wrap {
  margin-bottom: 18px;
}

.progress-bar-head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.progress-track {
  width: 100%;
  height: 12px;
  background: #e2ede9;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* Legal text formatting */
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ==========================================================================
   21. Photo Gallery & Lightbox Popup Slider
   ========================================================================== */

/* Impact Page Gallery Cards Grid */
.gallery-card-grid {
  gap: 28px;
}

.gallery-thumb-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.gallery-thumb-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.gallery-thumb-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d1e4c;
}

.gallery-thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-thumb-card:hover .gallery-thumb-media img {
  transform: scale(1.08);
}

.gallery-count-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 20, 50, 0.78);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(10, 25, 70, 0.82) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 1;
}

.gallery-thumb-card:hover .gallery-thumb-overlay {
  opacity: 1;
}

.gallery-thumb-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-thumb-cat {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.gallery-thumb-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 8px;
  line-height: 1.35;
}

.gallery-thumb-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Single Gallery View Page */
.gallery-instruction-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-subtle);
  border: 1px solid #dbeafe;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 500;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-instruction-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-counter-pill {
  background: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid #bfdbfe;
}

.single-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.single-gallery-item {
  cursor: pointer;
}

.single-gallery-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.single-gallery-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f172a;
}

.single-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.single-gallery-item:hover .single-gallery-img-wrap img {
  transform: scale(1.05);
}

.single-gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 64, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #ffffff;
}

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

.zoom-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transform: scale(0.85);
  transition: transform var(--transition-fast);
}

.single-gallery-item:hover .zoom-icon-circle {
  transform: scale(1);
}

.zoom-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.single-gallery-caption {
  padding: 14px 16px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  flex-grow: 1;
}

.single-gallery-caption p {
  font-size: 0.88rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.45;
}

/* Lightbox Modal & Slider */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 35, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.25s ease-out;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: #ef4444;
  transform: scale(1.08);
}

.lightbox-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-container {
  width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: #000000;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 5;
}

.lightbox-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -24px;
}

.lightbox-next {
  right: -24px;
}

.lightbox-bottom-bar {
  margin-top: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ffffff;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.lightbox-caption {
  font-size: 0.95rem;
  color: #f1f5f9;
  font-weight: 500;
  flex-grow: 1;
}

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

@media (max-width: 991px) {
  .single-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 600px) {
  .single-gallery-grid {
    grid-template-columns: 1fr;
  }
  .lightbox-stage {
    min-height: 250px;
  }
  .lightbox-image-container {
    max-height: 55vh;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }
}