/* =====================================================
   MATA CHAKERI DEVI FOUNDATION — PREMIUM EDITORIAL CANVAS STYLESHEET
   ===================================================== */

/* ── CSS Variables ── */
:root {
  /* Editorial Light Canvas Hues */
  --saffron: #E05E00;
  --saffron-light: #FF8C00;
  --saffron-dark: #B34B00;
  --green: #2E7D32;
  --green-light: #4CAF50;
  --green-dark: #1B5E20;
  --white: #FFFFFF;

  /* Canvas Backgrounds */
  --navy: #FCFBF9;
  /* Main Background: Warm Off-White */
  --navy-mid: #FAF8F5;
  /* Secondary Background: Warm Sand */
  --navy-soft: #F5F2EC;
  /* Tertiary Background: Deeper Sand */
  --navy-light: #EBE7DF;
  /* Quaternary Background: Dark Sand */
  --off-white: #FFFFFF;
  /* Card Background: Pure White */
  --light-bg: #FAF8F5;
  /* Alternate Section Background */

  /* Text and Borders (Legible Charcoal instead of white/slate) */
  --text-dark: #1A2130;
  /* Heading Text: Charcoal */
  --text-mid: #5E6675;
  /* Body Text: Charcoal Slate */
  --text-light: #8E98A8;
  /* Subtitles & Meta Info */
  --border: rgba(26, 33, 48, 0.08);
  /* Crisp Hairline Border */
  --border-light: rgba(26, 33, 48, 0.05);
  --border-active: rgba(224, 94, 0, 0.35);
  /* Saffron Accent Border */

  /* Shadows & Radius */
  --shadow-sm: 0 4px 16px rgba(26, 33, 48, 0.02);
  --shadow-md: 0 12px 32px rgba(26, 33, 48, 0.03);
  --shadow-lg: 0 24px 48px rgba(26, 33, 48, 0.05);
  --shadow-glow: 0 10px 30px rgba(224, 94, 0, 0.08);
  /* Saffron Accent Glow */
  --shadow-glow-green: 0 10px 30px rgba(46, 125, 50, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --transition: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --header-h: 80px;

  /* Typography - Helvetica Neue */
  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-accent: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-mid);
  background: var(--navy);
  line-height: 1.75;
  overflow-x: hidden;
}

/* Thin Neon Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--saffron-dark);
  border-radius: 4px;
  border: 1px solid var(--navy);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--saffron);
  box-shadow: var(--shadow-glow);
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

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

.section {
  padding: 100px 0;
}

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

.mt-1 {
  margin-top: 24px;
}

.logo_image {
  width: 60px;
}

/* ── Page Loader ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-lotus {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
}

.loader-lotus span {
  width: 8px;
  height: 40px;
  background: linear-gradient(180deg, var(--saffron-light), var(--saffron));
  border-radius: 50px;
  display: block;
  animation: lotusWave 1.2s ease-in-out infinite;
}

.loader-lotus span:nth-child(2) {
  animation-delay: 0.1s;
}

.loader-lotus span:nth-child(3) {
  animation-delay: 0.2s;
}

.loader-lotus span:nth-child(4) {
  animation-delay: 0.3s;
}

.loader-lotus span:nth-child(5) {
  animation-delay: 0.4s;
}

.loader-lotus span:nth-child(6) {
  animation-delay: 0.5s;
}

@keyframes lotusWave {

  0%,
  60%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }

  30% {
    transform: scaleY(1);
    opacity: 1;
    filter: drop-shadow(0 0 10px var(--saffron));
  }
}

.loader-text {
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--green));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* =====================================================
   HEADER & NAVBAR (Obsidian Frosted Glass)
   ===================================================== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
  background: transparent;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

#main-header.scrolled,
#main-header.scrolled-important {
  background: rgba(252, 251, 249, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(26, 33, 48, 0.03);
  height: 72px;
  border-bottom: 1px solid var(--border);
}

#main-header.scrolled .logo-name,
#main-header.scrolled-important .logo-name {
  color: var(--text-dark);
}

#main-header.scrolled .logo-sub,
#main-header.scrolled-important .logo-sub {
  color: var(--saffron);
}

#main-header.scrolled .nav-link,
#main-header.scrolled-important .nav-link {
  color: rgba(26, 33, 48, 0.8);
}

#main-header.scrolled .nav-link:hover,
#main-header.scrolled .nav-link.active,
#main-header.scrolled-important .nav-link:hover,
#main-header.scrolled-important .nav-link.active {
  color: var(--saffron);
  background: rgba(26, 33, 48, 0.04);
}

#main-header.scrolled .hamburger,
#main-header.scrolled-important .hamburger {
  background: rgba(26, 33, 48, 0.05);
  border: 1px solid var(--border);
}

#main-header.scrolled .hamburger span,
#main-header.scrolled-important .hamburger span {
  background: var(--text-dark);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-name {
  white-space: nowrap;
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--saffron-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Desktop Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--saffron-light);
  background: rgba(255, 255, 255, 0.05);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown:hover .nav-link .arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--navy-mid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition);
  padding: 10px;
  border: 1px solid var(--border);
  z-index: 200;
  backdrop-filter: blur(20px);
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--navy-mid);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dropdown li a:hover {
  background: rgba(26, 33, 48, 0.04);
  color: var(--saffron);
  padding-left: 22px;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-donate {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: var(--white);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.35);
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.5);
}

/* Hamburger */
.hamburger {
  width: 36px;
  height: 36px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--white);
  display: block;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: 10px 0 40px rgba(26, 33, 48, 0.05);
  border-right: 1px solid var(--border);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 12, 21, 0.45);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-nav-backdrop.open {
  opacity: 1;
}

/* Staggered Navigation Items Animation */
.mobile-nav-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-nav.open .mobile-nav-list li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.open .mobile-nav-list li:nth-child(1) {
  transition-delay: 0.05s;
}

.mobile-nav.open .mobile-nav-list li:nth-child(2) {
  transition-delay: 0.1s;
}

.mobile-nav.open .mobile-nav-list li:nth-child(3) {
  transition-delay: 0.15s;
}

.mobile-nav.open .mobile-nav-list li:nth-child(4) {
  transition-delay: 0.2s;
}

.mobile-nav.open .mobile-nav-list li:nth-child(5) {
  transition-delay: 0.25s;
}

.mobile-nav.open .mobile-nav-list li:nth-child(6) {
  transition-delay: 0.3s;
}

.mobile-nav.open .mobile-nav-list li:nth-child(7) {
  transition-delay: 0.35s;
}

.mobile-nav.open .mobile-nav-list li:nth-child(8) {
  transition-delay: 0.4s;
}

.mobile-nav.open .mobile-nav-list li:nth-child(9) {
  transition-delay: 0.45s;
}

.mobile-nav.open .mobile-nav-list li:nth-child(10) {
  transition-delay: 0.5s;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--navy);
}

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

.mobile-nav-brand span {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(26, 33, 48, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-dark);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.mobile-nav-close:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
}

.mobile-nav-list {
  padding: 12px 0 24px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 28px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  transition: all var(--transition);
  border-left: 4px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--saffron);
  background: rgba(26, 33, 48, 0.03);
  border-left-color: var(--saffron);
  padding-left: 32px;
}

.donate-mobile {
  margin: 16px 24px 0;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: var(--white) !important;
  border-radius: 50px;
  text-align: center;
  padding: 14px !important;
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 28px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  transition: color var(--transition);
  border-left: 4px solid transparent;
}

.mobile-dropdown-toggle:hover {
  color: var(--saffron);
}

.mobile-arrow {
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.open .mobile-arrow {
  transform: rotate(180deg);
}

.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: rgba(26, 33, 48, 0.03);
}

.mobile-dropdown.open {
  max-height: 400px;
}

.mobile-dropdown li a {
  display: block;
  padding: 11px 48px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-mid);
  transition: color var(--transition);
}

.mobile-dropdown li a:hover {
  color: var(--saffron);
}

/* =====================================================
   GLOBAL BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 106, 0, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid rgba(26, 33, 48, 0.25);
}

.btn-outline:hover {
  background: rgba(26, 33, 48, 0.04);
  border-color: var(--text-dark);
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--saffron);
  border: 2px solid var(--saffron);
}

.btn-ghost:hover {
  background: var(--saffron);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-white {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--navy-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-saffron {
  background: var(--saffron);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(224, 94, 0, 0.4);
}

.btn-saffron:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}

.btn-outline-white:hover {
  background: rgba(26, 33, 48, 0.04);
  border-color: var(--text-dark);
  transform: translateY(-3px);
}

/* =====================================================
   SECTION ELEMENTS
   ===================================================== */
.section-tag {
  display: inline-block;
  background: rgba(255, 106, 0, 0.08);
  color: var(--saffron-light);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 106, 0, 0.15);
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.section-title em {
  font-style: italic;
  color: var(--saffron-light);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* =====================================================
   HERO GRID SECTION (Split Layout)
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/banner.jpeg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(9, 12, 21, 0.97) 0%,
      rgba(15, 20, 36, 0.95) 50%,
      rgba(9, 12, 21, 0.97) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
}

/* Floating Space Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.04;
  animation: floatShape 10s ease-in-out infinite;
  filter: blur(40px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--saffron);
  top: -120px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--green);
  bottom: 80px;
  left: -80px;
  animation-delay: 2.5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--saffron-light);
  top: 25%;
  right: 15%;
  animation-delay: 4.5s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  background: var(--text-light);
  bottom: 20%;
  right: 25%;
  animation-delay: 1.5s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0);
  }

  50% {
    transform: translateY(-25px) scale(1.06) rotate(10deg);
  }
}

/* Hero Grid Layout */
.hero-grid {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 0.15fr 1.15fr 0.7fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.hero-vertical-col {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-vertical-badge {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 4px;
  white-space: nowrap;
  border-left: 2px solid var(--saffron);
  padding-left: 10px;
}

.hero-center-col {
  max-width: 680px;
}

.hero-badge-pill {
  display: inline-block;
  background: rgba(224, 94, 0, 0.15);
  border: 1px solid rgba(224, 94, 0, 0.3);
  color: var(--saffron-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--saffron-light);
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  color: var(--saffron-light);
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--saffron);
  border-radius: 2px;
  transform-origin: left;
  animation: underlineGrow 1.2s ease 1.2s forwards;
  transform: scaleX(0);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #94A3B8;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.85;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right-col {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-stats-stacked {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}

/* Stats Cards */
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
  border-color: rgba(224, 94, 0, 0.4);
  box-shadow: 0 8px 30px rgba(224, 94, 0, 0.15);
}

.stat-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.stat-card-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* =====================================================
   ABOUT SPLIT SECTION (Sticky Tab Card Layout)
   ===================================================== */
.about-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

.about-left-col {
  position: sticky;
  top: 100px;
}

.about-right-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Image Collage */
.img-collage {
  position: relative;
  height: 480px;
  width: 100%;
}

.img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 78%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

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

.img-main:hover img {
  transform: scale(1.04);
}

.img-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 44%;
}

.img-sm {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

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

.img-badge {
  position: absolute;
  top: 50%;
  left: 64%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.img-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.img-badge-txt {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
}

/* About Tabs Selector */
.about-tabs {
  margin-top: 24px;
}

.tab-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--navy-mid);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  width: fit-content;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-mid);
  transition: all var(--transition);
}

.tab-btn.active {
  background: var(--saffron) !important;
  color: var(--white) !important;
  box-shadow: var(--shadow-sm);
}

.tab-panels {
  background: var(--off-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.tab-panel h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.tab-panel p {
  color: var(--text-mid);
  line-height: 1.75;
  font-size: 1rem;
}

/* =====================================================
   PROJECTS SECTION (Asymmetric Masonry Dark Grid)
   ===================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
}

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

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

.project-card:hover .project-img img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 12, 21, 0.7), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-cat {
  display: inline-block;
  background: rgba(224, 94, 0, 0.08);
  color: var(--saffron);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
  border: 1px solid rgba(224, 94, 0, 0.15);
}

.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.project-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.project-link {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
  margin-top: auto;
}

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

/* =====================================================
   IMPACT SECTION (Obsidian Glass Counters)
   ===================================================== */
.impact-section {
  position: relative;
  padding: 100px 0;
  background: #090C15;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.impact-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(224, 94, 0, 0.08), transparent 60%);
}

.impact-section .section-title {
  color: var(--white);
}

.impact-section .section-subtitle {
  color: #94A3B8;
}

.impact-section .container {
  position: relative;
  z-index: 2;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.impact-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  transition: all var(--transition);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(224, 94, 0, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(224, 94, 0, 0.15);
}

.impact-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =====================================================
   FEATURED EVENT
   ===================================================== */
.event-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  background: var(--off-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.event-img-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.event-showcase:hover .event-img-wrap img {
  transform: scale(1.03);
}

.event-date-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--saffron);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  font-weight: 800;
}

.event-month {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.event-details {
  padding: 48px;
}

.event-tag {
  display: inline-block;
  background: rgba(46, 125, 50, 0.08);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(46, 125, 50, 0.15);
}

.event-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.event-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

.event-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.gallery-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-mid);
  background: var(--navy-mid);
  border: 2px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--saffron);
  color: var(--white);
  border-color: var(--saffron);
  box-shadow: var(--shadow-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--navy-soft);
  border: 1px solid var(--border);
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2;
}

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

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

.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 21, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-hover::before {
  content: '🔍';
  font-size: 1.6rem;
}

.gallery-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(9, 12, 21, 0.98);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(12px);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: opacity 0.2s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  border: 1px solid var(--border);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--saffron);
  border-color: var(--saffron);
}

.lightbox-close {
  top: 28px;
  right: 28px;
}

.lightbox-prev {
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}

/* =====================================================
   TEAM SECTION
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.team-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--saffron);
  opacity: 0;
  transition: opacity var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-active);
}

.team-card:hover::before {
  opacity: 1;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--navy-mid);
  background: var(--navy-soft);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--saffron);
}

/* =====================================================
   SPONSORS
   ===================================================== */
.sponsors-wrap {
  position: relative;
  overflow: hidden;
}

.sponsor-slide {
  outline: none;
}

.sponsor-slide img {
  max-height: 70px;
  width: auto;
  margin: 0 auto;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.sponsor-slide:hover img {
  opacity: 0.85;
  filter: grayscale(0%);
}

.slick-dots li button:before {
  color: rgba(26, 33, 48, 0.2) !important;
}

.slick-dots li.slick-active button:before {
  color: var(--saffron) !important;
}

/* =====================================================
   CTA / JOIN SECTION (Neon Border Frame)
   ===================================================== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: #0F1424;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left, rgba(46, 125, 50, 0.1) 0%, transparent 60%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 24px;
}

.cta-title em {
  color: var(--saffron-light);
}

.cta-sub {
  font-size: 1.05rem;
  color: #94A3B8;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   FOOTER (Next-Gen Space Obsidian)
   ===================================================== */
.footer {
  background: #090C15;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding: 80px 0 48px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

.footer-about {
  font-size: 0.92rem;
  line-height: 1.75;
  color: #94A3B8;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--saffron);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 0.92rem;
  color: #94A3B8;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a::before {
  content: '›';
  color: var(--saffron);
  font-size: 1rem;
}

.footer-links li a:hover {
  color: var(--saffron-light);
  padding-left: 6px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-contact li {
  font-size: 0.92rem;
  color: #94A3B8;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}

.newsletter-form {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--white);
  font-family: var(--font-body);
  outline: none;
}

.newsletter-input::placeholder {
  color: #94A3B8;
}

.newsletter-btn {
  background: var(--saffron);
  color: var(--white);
  width: 52px;
  font-size: 1.15rem;
  font-weight: 800;
  transition: background var(--transition);
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background: var(--saffron-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--saffron-light);
}

/* =====================================================
   FLOATING ELEMENTS & WHATSAPP
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 500;
  transition: all var(--transition);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--saffron);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.45);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition);
}

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

.scroll-top:hover {
  background: var(--saffron-dark);
  transform: translateY(-3px);
}

/* =====================================================
   SCROLL REVEALS
   ===================================================== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
  transform: translateY(50px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

/* Staggered Delay */
.projects-grid .project-card:nth-child(2),
.impact-grid .impact-card:nth-child(2),
.hero-stats .stat-card:nth-child(2),
.team-grid .team-card:nth-child(2) {
  transition-delay: 0.1s;
}

.projects-grid .project-card:nth-child(3),
.impact-grid .impact-card:nth-child(3),
.hero-stats .stat-card:nth-child(3),
.team-grid .team-card:nth-child(3) {
  transition-delay: 0.15s;
}

.projects-grid .project-card:nth-child(4),
.impact-grid .impact-card:nth-child(4),
.hero-stats .stat-card:nth-child(4) {
  transition-delay: 0.2s;
}

.projects-grid .project-card:nth-child(5),
.impact-grid .impact-card:nth-child(5) {
  transition-delay: 0.25s;
}

/* =====================================================
   RESPONSIVE OVERRIDES
   ===================================================== */

/* Tablet — ≤ 1024px */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav-backdrop {
    display: block;
    z-index: 1;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-vertical-col {
    display: none;
  }

  .hero-center-col {
    max-width: 100%;
  }

  .hero-right-col {
    justify-content: center;
  }

  .hero-stats-stacked {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .about-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-left-col {
    position: relative;
    top: auto;
  }

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

  .img-collage {
    height: 380px;
  }

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

  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .event-showcase {
    grid-template-columns: 1fr;
  }

  .event-details {
    padding: 36px;
  }

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

  .gallery-item.tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

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

  /* Donation Modal Override for Tablet */
  .donation-modal {
    padding: 20px 10px !important;
  }

  .donation-modal>div {
    margin: 30px auto !important;
    padding: 28px !important;
    border-radius: 20px !important;
  }
}

.section {
  overflow: hidden;
}

/* Mobile — ≤ 768px */
@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding: 64px 0;
  }

  .header-inner {
    padding: 0 20px;
  }

  .header-cta .btn-donate {
    display: none;
  }

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

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-card {
    padding: 28px 22px 24px;
  }

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

  .event-showcase {
    border-radius: var(--radius-lg);
  }

  .event-img-wrap {
    min-height: 240px;
  }

  .event-name {
    font-size: 1.5rem;
  }

  .event-btns {
    flex-direction: column;
  }

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

  .gallery-item.wide {
    grid-column: span 2;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Sponsors and Modals for Mobile */
  .sponsor-slide img {
    max-height: 50px;
  }

  .donation-modal>div {
    margin: 15px auto !important;
    padding: 20px !important;
    border-radius: 16px !important;
  }
}

/* Small mobile — ≤ 480px */
@media (max-width: 480px) {
  .logo-name {
    font-size: 0.92rem;
  }

  .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
  }

  .logo_image {
    width: 44px;
  }

  .team-photo {
    width: 104px;
    height: 104px;
  }

  .hero-stats-stacked {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
  }

  .stat-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .stat-num {
    font-size: 1.15rem;
  }

  .stat-icon {
    font-size: 1.4rem;
  }

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

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

  .gallery-item.wide {
    grid-column: span 1;
  }

  /* Layout collage fixes */
  .img-collage {
    height: auto;
  }

  .img-main {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }

  .img-secondary {
    display: none;
  }

  .img-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: auto;
    top: auto;
    transform: none;
    padding: 10px 14px;
  }

  /* Tabs wrapping */
  .tab-buttons {
    width: 100%;
    justify-content: space-between;
  }

  .tab-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    flex: 1;
    text-align: center;
  }

  /* Floating components scaling */
  .whatsapp-float {
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .scroll-top {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

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

  .cta-title {
    font-size: 1.8rem;
  }
}

.pt-4 {
  padding-top: 1rem;
}