/*
Theme Name: IHTIMAM Premium 3D
Theme URI: https://ihtimam.org/
Author: IHTIMAM Welfare Society
Author URI: https://ihtimam.org/
Description: A modern, high-end, responsive 3D WordPress Theme designed for IHTIMAM Registered Welfare Society (Piro, Bhojpur, Bihar). Features interactive cursor parallax, 3D card tilt, glassmorphism, animated counters, lightbox gallery, and donation hub.
Version: 1.5.1
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ihtimamas
Tags: non-profit, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready
*/

.magnetic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease;
}

/* ==========================================================================
   IHTIMAM REGISTERED WELFARE SOCIETY — MULTI-PAGE 3D DESIGN SYSTEM (V8)
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --primary-subtle: #d1fae5;
  --primary-glow: rgba(16, 185, 129, 0.35);

  --secondary: #0284c7;
  --secondary-dark: #0369a1;
  --secondary-light: #38bdf8;
  --secondary-glow: rgba(2, 132, 199, 0.3);

  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.35);

  /* Neutrals & Dark Theme */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #07131f;
  --bg-dark-secondary: #0c1e30;
  --bg-dark-card: #11283e;

  /* Glassmorphism & Borders */
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-bg-hover: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-dark-bg: rgba(17, 40, 62, 0.75);
  --glass-dark-border: rgba(255, 255, 255, 0.12);

  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 25px 60px rgba(15, 23, 42, 0.16);
  --shadow-3d: 0 30px 60px -12px rgba(6, 95, 70, 0.22);
  --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.4);

  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: inherit;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   CUSTOM MICRO-CURSOR
   ========================================================================== */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  will-change: left, top;
}

.custom-cursor-ring.active {
  width: 52px;
  height: 52px;
  background-color: rgba(16, 185, 129, 0.12);
  border-color: var(--primary-light);
}

@media (pointer: coarse), (hover: none) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary-light), var(--primary-light));
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */
.topbar {
  background: #04101b;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 0;
}

.topbar-inner {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reg-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #34d399; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.topbar-link {
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.topbar-link:hover {
  color: #38bdf8;
}

.sep {
  opacity: 0.4;
}

#main-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

#main-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

.nav-container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

#desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-link {
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.hamburger-btn .bar {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 5px auto;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-normal);
}

/* Mobile Drawer */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 31, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: #ffffff;
  z-index: 999;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-logo {
  height: 40px;
  width: auto;
}

.drawer-close-btn {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.drawer-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  display: block;
  padding: 12px 14px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  border-radius: var(--radius-md);
}

.drawer-link:hover, .drawer-link.active {
  background: var(--primary-subtle);
  color: var(--primary-dark);
}

.drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-contact-info {
  background: var(--bg-page);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-dark), var(--primary));
  color: #ffffff;
  box-shadow: 0 10px 24px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(5, 150, 105, 0.4);
}

.btn-donate {
  background: linear-gradient(135deg, #0284c7, #059669);
  color: #ffffff;
  box-shadow: 0 10px 22px var(--primary-glow);
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(2, 132, 199, 0.35);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--secondary-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   HERO & PAGE HERO BANNERS
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, #dcfce7 0%, rgba(220, 252, 231, 0.4) 25%, transparent 60%),
              linear-gradient(135deg, #f0fdf4 0%, #f8fafc 50%, #eff6ff 100%);
}

.page-hero-banner {
  position: relative;
  padding: 85px 0 70px;
  background: radial-gradient(circle at 80% 30%, #dcfce7 0%, transparent 60%),
              linear-gradient(135deg, #f0fdf4 0%, #f8fafc 60%, #eff6ff 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.page-hero-content {
  max-width: 800px;
}

.page-hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  margin-bottom: 16px;
}

.page-hero-title span {
  color: var(--primary);
}

.page-hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: 1;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: #86efac;
  top: 10%;
  right: 15%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: #bae6fd;
  bottom: -10%;
  right: -5%;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: #fde68a;
  top: 30%;
  left: -5%;
  opacity: 0.4;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #059669, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(16px, 1.25vw, 18.5px);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust-indicators {
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.trust-avatar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge-pill {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* 3D Hero Visual Content */
.hero-visual-content {
  perspective: 1200px;
}

.hero-3d-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.card-glow-bg {
  position: absolute;
  inset: -15px;
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  border-radius: var(--radius-xl);
  filter: blur(25px);
  z-index: 0;
  opacity: 0.7;
}

.hero-main-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  border: 4px solid #ffffff;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.photo-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 19, 31, 0.6) 100%);
}

.floating-badge {
  position: absolute;
  z-index: 3;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateZ(40px);
  transition: transform var(--transition-normal);
}

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.floating-badge strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
}

.floating-badge small {
  font-size: 11.5px;
  color: var(--text-muted);
}

.badge-top-left {
  top: -20px;
  left: -25px;
}

.badge-bottom-right {
  bottom: -20px;
  right: -20px;
}

.badge-center-stat {
  top: 50%;
  right: -30px;
  transform: translateY(-50%) translateZ(45px);
}

.stat-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}

/* ==========================================================================
   STAT CARDS & PILLARS
   ========================================================================== */
.impact-stats-section {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  padding-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  transform-style: preserve-3d;
}

.stat-card:hover {
  transform: translateY(-6px) translateZ(10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0fdf4, #e0f2fe);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.stat-counter-wrap {
  font-size: 36px;
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 4px;
}

.counter-suffix {
  color: var(--primary);
}

.stat-title {
  font-size: 15px;
  font-weight: 700;
}

.stat-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.trust-pillars-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-pillar-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.pillar-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  flex-shrink: 0;
}

.trust-pillar-item strong {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  color: var(--primary-dark);
}

.trust-pillar-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTIONS GENERAL & TYPOGRAPHY
   ========================================================================== */
section {
  padding: 90px 0;
}

.soft-bg {
  background: #f8fafc;
}

.dark-theme {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-tag.green-tag {
  color: #34d399;
}

.section-title {
  font-size: clamp(30px, 3.6vw, 46px);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--primary);
}

.lead-text {
  font-size: 17.5px;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 16px;
}

.body-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.interactive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tag-pill {
  background: #f0fdf4;
  color: var(--primary-dark);
  border: 1px solid #bbf7d0;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.tag-pill:hover {
  transform: translateY(-2px);
  background: #dcfce7;
}

.section-header {
  margin-bottom: 50px;
}

.section-header.center-align {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
  color: var(--text-muted);
}

.text-white {
  color: #ffffff !important;
}

.text-muted {
  color: #94a3b8 !important;
}

.text-center {
  text-align: center;
}

.mt-30 {
  margin-top: 30px;
}

.max-w-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   GLASS CARDS & 3D WRAPPERS
   ========================================================================== */
.glass-card {
  background: linear-gradient(145deg, #ffffff, #f0fdf4);
  border: 1px solid #ffffff;
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.09);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.vision-mission-card {
  border-left: 6px solid var(--primary);
}

.glass-icon-badge {
  font-size: 36px;
  margin-bottom: 12px;
}

.vision-block h3, .mission-block h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.vision-block p, .mission-block p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
  margin: 24px 0;
}

.core-values-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.value-item {
  font-size: 12px;
  font-weight: 800;
  color: var(--secondary-dark);
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   PROGRAMS & WORK GRIDS
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: linear-gradient(145deg, #0d2238, #071524);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  transform-style: preserve-3d;
}

.work-card:hover {
  transform: translateY(-8px) translateZ(10px);
  border-color: rgba(52, 211, 153, 0.4);
}

.work-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.work-step {
  font-size: 16px;
  font-weight: 900;
  color: #34d399;
}

.work-icon {
  font-size: 28px;
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #059669, #0284c7);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.work-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: #ffffff;
}

.work-card p {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.6;
}

.card-accent-line {
  margin-top: auto;
  padding-top: 20px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #34d399, transparent);
}

.center-cta-wrap {
  text-align: center;
  margin-top: 45px;
}

/* ==========================================================================
   PRACTICAL TRAINING
   ========================================================================== */
.training-section {
  padding: 95px 0;
  background: #f1f5f9;
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.training-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform var(--transition-normal);
}

.training-card:hover {
  transform: translateY(-6px);
}

.training-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.training-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.training-card:hover .training-img {
  transform: scale(1.04);
}

.training-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 31, 0.1) 0%, rgba(7, 19, 31, 0.85) 60%, rgba(7, 19, 31, 0.96) 100%);
}

.training-content {
  position: relative;
  z-index: 2;
  padding: 36px 32px;
  color: #ffffff;
}

.training-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.training-content h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #ffffff;
}

.training-content p {
  font-size: 14.5px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ==========================================================================
   PROGRAM DETAILS & WINGS (WORK.HTML)
   ========================================================================== */
.program-detail-section {
  padding: 95px 0;
}

.program-split {
  align-items: center;
}

.program-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
}

.program-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.program-badge-floating {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(7, 19, 31, 0.85);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
}

.curriculum-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 28px;
}

.curr-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.curr-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 3px;
}

.curr-item strong {
  display: block;
  font-size: 14.5px;
}

.curr-item span {
  font-size: 13.5px;
  color: var(--text-muted);
}

.wings-detailed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.wing-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform var(--transition-normal);
}

.wing-card:hover {
  transform: translateY(-6px);
}

.wing-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.wing-icon {
  font-size: 32px;
}

.wing-bullets {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: var(--primary-dark);
  font-weight: 700;
}

.wing-bullets li::before {
  content: '✓ ';
}

/* ==========================================================================
   ABOUT PAGE EXTRAS (TIMELINE & VALUES)
   ========================================================================== */
.society-key-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.fact-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  border-radius: var(--radius-md);
}

.fact-box strong {
  display: block;
  font-size: 13.5px;
  color: var(--primary-dark);
}

.fact-box span {
  font-size: 13px;
  color: var(--text-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-6px);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-step {
  display: flex;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.step-badge {
  background: var(--primary);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  align-self: flex-start;
  white-space: nowrap;
}

.step-content h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   PROJECTS DIRECTORY
   ========================================================================== */
.projects-directory-section {
  padding: 95px 0;
}

.project-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px) translateZ(8px);
  box-shadow: var(--shadow-xl);
}

.project-card-header {
  height: 150px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #ffffff;
}

.bg-gradient-blue { background: linear-gradient(135deg, #0284c7, #0369a1); }
.bg-gradient-green { background: linear-gradient(135deg, #059669, #047857); }
.bg-gradient-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }

.project-category-badge {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.project-icon { font-size: 32px; }

.project-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.project-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
}

.status-badge {
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.status-active {
  background: #ecfdf5;
  color: #047857;
}

.location-text {
  color: var(--text-light);
  font-weight: 600;
}

.official-docs-callout {
  margin-top: 45px;
}

.doc-callout-inner {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.doc-icon { font-size: 36px; }

.doc-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.doc-text p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-full-section {
  padding: 95px 0;
}

.gallery-instruction-note {
  text-align: center;
  margin-bottom: 30px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transform-style: preserve-3d;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 19, 31, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
  opacity: 0.9;
}

.gallery-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
  align-self: flex-start;
}

.gallery-overlay h4 {
  font-size: 16px;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 31, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2001;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 36px;
  cursor: pointer;
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-section {
  padding: 95px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transform-style: preserve-3d;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.team-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0fdf4, #e0f2fe);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 32px;
}

.team-info h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.team-badge {
  display: inline-block;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
}

.governance-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.gov-icon { font-size: 40px; }

/* ==========================================================================
   VOLUNTEER & GET INVOLVED (INVOLVED.HTML)
   ========================================================================== */
.pathways-section {
  padding: 95px 0;
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.involved-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal);
  transform-style: preserve-3d;
}

.involved-card:hover {
  transform: translateY(-8px) translateZ(10px);
  box-shadow: var(--shadow-xl);
}

.card-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--secondary-dark);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.green-circle { background: #dcfce7; color: var(--primary-dark); }
.blue-circle { background: #e0f2fe; color: var(--secondary-dark); }

.involved-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.involved-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-action-link {
  margin-top: auto;
  font-weight: 800;
  color: var(--secondary-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-action-link:hover {
  color: var(--primary);
  gap: 10px;
}

.volunteer-form-section {
  padding: 95px 0;
}

.vol-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.vol-b-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.vol-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.vol-b-item strong { display: block; font-size: 14.5px; }
.vol-b-item span { font-size: 13.5px; color: var(--text-muted); }

/* ==========================================================================
   DONATION & PAYMENTS (DONATE.HTML)
   ========================================================================== */
.donate-section {
  position: relative;
  padding: 95px 0;
  background: linear-gradient(135deg, #dcfce7 0%, #e0f2fe 50%, #f0fdf4 100%);
  overflow: hidden;
}

.donate-glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.donation-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item strong { display: block; font-size: 14.5px; }
.benefit-item span { font-size: 13.5px; color: var(--text-muted); }

.direct-transfer-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 13.5px;
  line-height: 1.6;
}

.direct-transfer-box a { color: var(--secondary-dark); }

.pay-card-3d {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid #ffffff;
}

.paycard-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.heart-coin-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.paycard-header h3 { font-size: 22px; }
.paycard-header p { font-size: 13px; color: var(--text-muted); }

.preset-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.preset-btn {
  background: #f8fafc;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-btn:hover {
  border-color: var(--primary-light);
  background: #ffffff;
}

.preset-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.custom-amount-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.currency-symbol {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-muted);
}

.custom-donate-input {
  width: 100%;
  padding: 14px 16px 14px 38px;
  font-size: 18px;
  font-weight: 800;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast);
}

.custom-donate-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.amount-impact-calc {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 22px;
}

.payment-trust-footer {
  margin-top: 20px;
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.secure-badge {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.supported-modes {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.razor-note {
  font-size: 11px;
  color: #94a3b8;
  display: block;
}

/* Donation CTA Card (Home) */
.donate-cta-section {
  padding: 60px 0 95px;
}

.donate-cta-card {
  background: linear-gradient(135deg, #064e3b, #0c4a6e);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform-style: preserve-3d;
}

.donate-cta-content h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin: 12px 0 16px;
}

.donate-cta-content p {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 30px;
}

.donate-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CONTACT SECTION (CONTACT.HTML)
   ========================================================================== */
.contact-section {
  padding: 95px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-details-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.contact-item-card {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition-fast);
  transform-style: preserve-3d;
}

.contact-item-card:hover {
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item-card strong {
  display: block;
  font-size: 14.5px;
  color: #ffffff;
  margin-bottom: 2px;
}

.contact-item-card p, .contact-item-card a {
  font-size: 13.5px;
  color: #cbd5e1;
}

.contact-item-card a:hover {
  color: #34d399;
}

.contact-glass-form-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}

.contact-glass-form-card h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.form-sub-note {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.styled-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
}

.req { color: #ef4444; }

.form-group input, .form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 14.5px;
  color: var(--text-main);
  background: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.form-group textarea { resize: vertical; }

.form-privacy-note {
  font-size: 11.5px;
  color: #94a3b8;
  text-align: center;
  display: block;
}

.map-container {
  margin-top: 45px;
}

.map-card {
  background: var(--bg-dark-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transform-style: preserve-3d;
}

.map-card-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.map-pin-icon { font-size: 32px; }

.map-card-info strong {
  display: block;
  font-size: 16px;
  color: #ffffff;
}

.map-card-info p {
  font-size: 13.5px;
  color: #94a3b8;
}

.btn-map {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.btn-map:hover {
  background: #10b981;
  color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#main-footer {
  background: #040c14;
  color: #94a3b8;
  padding: 70px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-reg-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: #34d399;
  font-weight: 700;
}

.footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links, .footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a, .footer-contact-list a {
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.footer-links a:hover, .footer-contact-list a:hover {
  color: #34d399;
}

.social-channels {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.social-soon {
  font-size: 12px;
  color: #64748b;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.copyright-text strong { color: #ffffff; }

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a { color: #cbd5e1; }
.footer-bottom-links a:hover { color: #34d399; }

/* Floating Widgets */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  background: #15803d;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(21, 128, 61, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(21, 128, 61, 0.55);
}

.wa-online-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-glow 2s infinite;
}

.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-3px);
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   ANIMATIONS & REVEALS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ambient-orb, .floating-badge, .pulse-dot, .wa-online-dot { animation: none !important; }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual-content { max-width: 560px; margin: 0 auto; }
  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .involved-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .wings-detailed-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 900px) {
  #desktop-nav { display: none; }
  .hamburger-btn { display: block; }
  .training-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 65px 0; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .hero-section { min-height: auto; padding: 50px 0 70px; }
  .hero-title { font-size: 34px; }
  .hero-cta-group .btn { width: 100%; }
  .floating-badge { padding: 8px 12px; }
  .stats-grid { grid-template-columns: 1fr; }
  .trust-pillars-strip { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .involved-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .preset-amount-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-whatsapp { padding: 10px 16px; font-size: 13px; }
  .floating-whatsapp .wa-text { display: none; }
}