/* ========================================
   ANKIT ANKITA EDUCATION CHARITABLE TRUST
   Main Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* === CSS VARIABLES === */
:root {
  --blue: #1E3A8A;
  --blue-dark: #152a6e;
  --blue-light: #2d4fa8;
  --gold: #D4A017;
  --gold-light: #e8b820;
  --gold-dark: #b8880f;
  --white: #FFFFFF;
  --dark: #1F2937;
  --gray: #6B7280;
  --light-bg: #F8FAFC;
  --light-gray: #E5E7EB;
  --purple: #5B21B6;
  --shadow-sm: 0 2px 8px rgba(30,58,138,0.08);
  --shadow-md: 0 8px 24px rgba(30,58,138,0.12);
  --shadow-lg: 0 16px 48px rgba(30,58,138,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p { font-size: 1rem; color: var(--gray); line-height: 1.75; }

/* === UTILITY === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 48px;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px;
  margin: 16px auto 32px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30,58,138,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,138,0.45); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(212,160,23,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,160,23,0.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

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

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-text { line-height: 1.2; }
.nav-logo-text .name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
}
.nav-logo-text .tag {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  padding: 24px;
  border-bottom: 1px solid var(--light-gray);
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-menu a:hover { background: var(--light-bg); color: var(--blue); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* === PAGE TOP PADDING === */
.page-content { padding-top: 72px; }

/* ===========================
   HOME PAGE
   =========================== */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1e5a 0%, #1E3A8A 50%, #2d1b69 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(20%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,30,90,0.85) 0%, rgba(30,58,138,0.7) 60%, rgba(45,27,105,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.4);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.hero-title {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title .accent { color: var(--gold); }

.hero-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat { text-align: left; }
.hero-stat .number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-main {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-img-badge .icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}

.hero-img-badge .text .big {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}
.hero-img-badge .text .small { font-size: 0.75rem; color: var(--gray); }

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}

.scroll-indicator::before {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
}

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

/* SNAPSHOT */
.snapshot {
  background: var(--blue);
  padding: 32px 0;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.snapshot-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}
.snapshot-item:last-child { border-right: none; }
.snapshot-item.visible { opacity: 1; transform: translateY(0); }

.snapshot-item .icon { font-size: 2rem; margin-bottom: 8px; }
.snapshot-item .value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.snapshot-item .desc { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

/* MISSION SECTION */
.mission-section { background: var(--light-bg); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission-img-wrap { position: relative; }

.mission-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.mission-quote {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--blue);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  max-width: 220px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: var(--shadow-lg);
}

.mission-quote::before {
  content: '"';
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.mission-text { }
.mission-text p { margin-bottom: 20px; font-size: 1.05rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.value-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}
.value-tag span { color: var(--gold); font-size: 1rem; }

/* WORK AREAS */
.work-areas { background: var(--white); }

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

.program-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}

.program-card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.program-card:hover::before { transform: scaleX(1); }
.program-card.visible { opacity: 1; transform: translateY(0); }
.program-card:hover { transform: translateY(-8px); }

.card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(30,58,138,0.1), rgba(212,160,23,0.1));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.program-card h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.program-card p { font-size: 0.9rem; }

/* WHY CHOOSE US */
.why-us { background: var(--light-bg); }

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

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.why-card .big-icon { font-size: 3rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1rem; margin-bottom: 10px; }
.why-card p { font-size: 0.85rem; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue), #3b21c8);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(212,160,23,0.12) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* GALLERY PREVIEW */
.gallery-preview { background: var(--white); }

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

.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  cursor: pointer;
}

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

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

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,58,138,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

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

/* ===========================
   ABOUT PAGE
   =========================== */
.page-hero {
  background: linear-gradient(135deg, #0f1e5a, var(--blue));
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--light-bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* About Grid */
.about-intro { background: var(--light-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img { 
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Vision Mission */
.vm-section { background: var(--white); }

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

.vm-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  border: 1px solid var(--light-gray);
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--blue), var(--gold));
  border-radius: 2px 0 0 2px;
}

.vm-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.vm-card h3 { color: var(--blue); margin-bottom: 12px; }

/* Core Values */
.core-values { background: var(--light-bg); }

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

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.value-card .icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h4 { color: var(--blue); font-size: 0.95rem; }

/* Registration */
.registration-section { background: var(--blue); }

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

.reg-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.reg-card .label { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.reg-card .value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

/* ===========================
   PROGRAMS PAGE
   =========================== */
.programs-detail { background: var(--white); }

.program-detail-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  transition: var(--transition);
}

.program-detail-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); }

.program-icon-big {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.program-detail-card h3 { color: var(--blue); font-size: 1.35rem; margin-bottom: 12px; }
.program-detail-card p { margin-bottom: 16px; }

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30,58,138,0.08);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ===========================
   LEADERSHIP PAGE
   =========================== */
.leadership-section { background: var(--light-bg); }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

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

.leader-img-wrap {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  padding: 40px 40px 0;
}

.leader-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  font-size: 3rem;
  border: 4px solid rgba(255,255,255,0.4);
}

.leader-info { padding: 28px 24px 32px; }
.leader-info h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 4px; }
.leader-role {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.05em;
}
.leader-info p { font-size: 0.88rem; }

/* ===========================
   GALLERY PAGE
   =========================== */
.gallery-section { background: var(--white); }

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 2px solid var(--light-gray);
  background: transparent;
  color: var(--gray);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,58,138,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: var(--white); font-size: 0.85rem; font-weight: 500; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.5rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ===========================
   DONATE PAGE
   =========================== */
.donate-hero { background: linear-gradient(135deg, #0f1e5a, var(--blue)); }

.donate-main { background: var(--light-bg); }

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.donate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.donate-card h3 { color: var(--blue); margin-bottom: 20px; font-size: 1.4rem; }

.impact-list { list-style: none; }
.impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.95rem;
}
.impact-list li:last-child { border-bottom: none; }
.impact-list li .check {
  color: #10B981;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.qr-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--light-gray);
}

.qr-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 12px;
  border: 2px solid var(--light-gray);
  padding: 8px;
}

.upi-id-box {
  background: var(--light-bg);
  border: 1px dashed var(--blue);
  border-radius: 8px;
  padding: 12px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--blue);
  margin: 16px 0;
  font-size: 0.9rem;
  word-break: break-all;
}

.bank-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}

.bank-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.bank-detail-item { }
.bank-detail-item .key {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.bank-detail-item .val {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-main { background: var(--light-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.contact-card .icon-wrap {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card h4 { color: var(--dark); margin-bottom: 4px; }
.contact-card p { font-size: 0.88rem; }
.contact-card a { color: var(--blue); font-size: 0.88rem; font-weight: 500; }
.contact-card a:hover { text-decoration: underline; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.contact-note {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.9rem;
  margin-top: 20px;
  line-height: 1.6;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #0d1f5c;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-wrap {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .logo-wrap img {
  width: 56px; height: 56px;
  border-radius: 50%;
}

.footer-brand .logo-wrap .name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.2;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--gold); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.footer-contact p .ico { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-reg {
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}
.footer-reg strong { color: var(--gold); }

/* === ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* DELAY UTILITIES */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-image-wrap { display: none; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .snapshot-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-img-wrap { display: none; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-big-grid { grid-template-columns: repeat(4, 1fr); }
  .donate-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .section-pad { padding: 56px 0; }
  
  .snapshot-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-big-grid { grid-template-columns: 1fr 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; max-width: 340px; }
  .bank-details-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .gallery-masonry { columns: 2; }
  .program-detail-card { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .snapshot-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .values-big-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { columns: 1; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
