html {
  scroll-behavior: smooth;
}

:root {
  /* ===== SNETI Light Theme Backgrounds ===== */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f3f5;
  --border: #e9ecef;

  /* ===== Text Colors for Light Theme ===== */
  --text-primary: #212529; /* Dark gray/black for readability */
  --text-secondary: #495057; /* Medium gray */
  --text-muted: #868e96;

  /* ===== SNETI NGO Brand Colors from Logo ===== */
  --blue: #005bb5;       /* Blue from hands */
  --blue-dark: #00438a;
  --green: #00a830;      /* Green from Tree/NGO text */
  --green-dark: #008225;
  --gold: #ff4500;       /* Mapped to SNETI Orange to keep your HTML classes working */
  --gold-dark: #cc3700;
  --orange: #ff4500;     /* Orange from people/SNETI text */
  --pink: #e879a8;

  /* ===== Light Theme Shadows ===== */
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold); /* Will show as SNETI Orange */
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff; /* Changed for light theme */
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 91, 181, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border); /* Changed for light theme */
}

.btn-outline:hover {
  background: rgba(255, 69, 0, 0.05); /* Slight orange tint on hover */
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold); /* Shows as SNETI Orange */
  color: #ffffff; /* Changed to white text for contrast */
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: var(--transition);
}

.header.scrolled,
.header--inner {
  background: rgba(255, 255, 255, 0.95); /* Changed to white frosted glass */
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05); /* Added slight shadow for depth */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  
  /* Ye CSS trick image ke outer 3-4% hisse ko kaat degi jahan wo black line hai */
  clip-path: circle(47% at 50% 50%);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold); /* Highlight in SNETI Orange */
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta .btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary); /* Changed to dark for light theme */
  transition: var(--transition);
  border-radius: 2px;
  position: relative; 
  z-index: 1000;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.4) 60%, rgba(10, 10, 10, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 8rem 0 4rem;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-text h1 span {
  color: var(--gold);
}

.hero-text p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-badge span {
  color: var(--gold);
  font-weight: 600;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.stat-item .counter {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-item .stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ===== Sections ===== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc {
  margin-inline: auto;
}

/* ===== Mission Quote Blocks ===== */
.mission-quotes {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.mission-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-quote.reverse {
  direction: rtl;
}

.mission-quote.reverse > * {
  direction: ltr;
}

.mission-quote-img {
  border-radius: 50% / 40%;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 2px solid var(--border);
}

.mission-quote-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-quote-text blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.7;
  color: var(--text-primary);
  position: relative;
  padding: 0 1rem;
}

.mission-quote-text blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 0.25rem;
}

.mission-quote-text blockquote .highlight-gold {
  color: var(--gold);
}

.mission-quote-text blockquote .highlight-pink {
  color: var(--pink);
}

.mission-quote-text blockquote .highlight-orange {
  color: var(--orange);
}

/* ===== Mission Cards ===== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.mission-card:hover::before {
  transform: scaleX(1);
}

.mission-icon {
  width: 56px;
  height: 56px;
  background: rgba(245, 166, 35, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.mission-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== Programs ===== */
.programs {
  background: var(--bg-secondary);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.program-image {
  height: 220px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.program-card:hover .program-image img {
  transform: scale(1.05);
}

.program-body {
  padding: 1.75rem;
}

.program-body h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.program-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.program-tag {
  display: inline-block;
  background: rgba(33, 150, 243, 0.15);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--gold);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item.wide {
  grid-column: span 2;
  grid-row: span 2;       /* Ye usko neeche wali row tak stretch karega */
  aspect-ratio: unset;    /* Ye constraint hatayega taaki height perfectly fit ho */
}

/* ===== Testimonials ===== */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gold);
}

.testimonial-role {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* ===== Media Coverage ===== */
.media-section {
  background: var(--bg-secondary);
}

.media-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-img img {
  width: 100%;
}

.media-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.media-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Certificates ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.cert-card img {
  width: 100%;
}

.cert-card p {
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== CTA Banner ===== */
/* ===== Global CTA Banner (Updated to match Fund Program styling) ===== */
.cta-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 5rem 0; /* Updated padding to match your 5rem preference */
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Borders hata diye hain taaki ekdum clean look aaye */
}

/* SNETI Orange Glow Effect */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.15) 0%, transparent 70%);
  z-index: 0;
}

/* Container flex alignment add kiya taaki content hamesha center rahe */
.cta-banner .container {
  position: relative;
  z-index: 1; /* Text ko glow ke upar rakhne ke liye */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-banner h2 {
  color: #ffffff; /* Changed from var(--text-primary) taaki dark bg pe dikhe */
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.cta-banner p {
  color: #cbd5e1; /* The exact sleek slate color you liked */
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  /* Sirf 4 columns banaye hain: 
     2fr: Logo aur text ke liye (thodi zyada jagah)
     1fr: Quick Links ke liye
     1fr: Programs ke liye
     1.5fr: Contact details ke liye (kyunki address lamba hota hai) */
  grid-template-columns: 2fr 1fr 1fr 1.5fr; 
  gap: 3rem; /* Gap thoda bada diya hai taaki khula-khula aur premium lage */
  margin-bottom: 3rem;
  width: 100%;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 1rem 0 1.25rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.footer-badge {
  /* Updated to SNETI Orange (255, 69, 0) transparency */
  background: rgba(255, 69, 0, 0.12);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 69, 0, 0.25);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem; 
  color: var(--text-secondary); 
}

/* SNETI Orange Theme Hover Effect */
.social-links a:hover {
  background: var(--gold); 
  border-color: var(--gold);
  color: #ffffff; 
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3); 
}

.footer-col h4 {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
  display: flex;         
  align-items: flex-start; 
  gap: 0.6rem;
}

.footer-col ul li i {
  flex-shrink: 0;        
  margin-top: 0.25rem;   
  color: var(--gold);
}

.footer-col ul a {
  color: var(--text-secondary); /* Text color light theme ke hisaab se set */
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-block; /* Animation properly kaam kare isliye */
}

.footer-col ul a:hover {
  color: var(--gold);
  transform: translateX(4px); /* Hover pe thoda sa right shift effect */
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted); /* Bottom footer text thoda aur subtle */
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* Tablet pe 2-2 karke dikhenge */
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr; /* Mobile pe ek ke neeche ek aayega */
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
/* ===== Page Hero ===== */
/* ===== Page Hero Section ===== */
.page-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 9rem 0 4rem; /* Top padding zyada rakhi hai fixed header ke liye */
  text-align: center;
  position: relative;
}

.page-hero h1 {
  color: var(--text-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ===== Breadcrumbs ===== */
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-block; /* Animation properly apply hone ke liye */
}

/* Premium SNETI Hover Effect */
.breadcrumb a:hover {
  color: var(--gold); /* SNETI Orange */
  transform: translateY(-1.5px); /* Halka sa upar lift hoga */
  text-shadow: 0 2px 10px rgba(255, 69, 0, 0.2); /* SNETI orange glow */
}

/* Current active page indicator */
.breadcrumb span {
  color: var(--text-primary); /* Active page ka color dark aur clear rakha hai */
  font-weight: 600; /* Thoda bold taaki highlight ho */
}

/* Breadcrumb Separator (like '/' or '>') */
.breadcrumb i, 
.breadcrumb .separator {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== About Page ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 166, 35, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.value-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.value-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.team-photo img {
  width: 100%;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(33, 150, 243, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== Donate Page ===== */
.donate-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.donate-amount {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.donate-amount:hover,
.donate-amount.selected {
  border-color: var(--gold);
  background: rgba(245, 166, 35, 0.08);
}

.donate-amount .amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
}

.donate-amount .desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.impact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.impact-item .emoji {
  font-size: 1.5rem;
}

.impact-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.impact-item strong {
  color: var(--gold);
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
  text-align: center;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.modal-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.modal h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.modal p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.modal-impact li {
  padding: 0.35rem 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  list-style: disc;
  margin-left: 1.5rem;
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  font-weight: 500;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: zoom-out;
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
  }

  .hero-text p {
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin-inline: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .mission-quote {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-quote.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;      /* Mobile pe normal row */
    aspect-ratio: 4/3;     /* Mobile pe wapas same size */
  }


  .donate-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-cta {
    display: none;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .impact-list {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats Overflow Fix */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem; /* Gap chota kiya */
  }
  
  .stat-item {
    padding: 1rem 0.5rem; /* Box ki andari padding kam ki */
  }
  
  .stat-item .counter {
    font-size: 1.5rem !important; /* Important lagaya taaki HTML wala inline font-size override ho jaye */
  }
  
  .stat-item .stat-label {
    font-size: 0.8rem;
  }

  .donate-options {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Scroll Progress ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  z-index: 10001;
  width: 0%;
  transition: width 0.1s linear;
}

/* ===== Language Toggle ===== */
.lang-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.lang-toggle:hover {
  border-color: var(--gold);
  background: rgba(245, 166, 35, 0.1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

/* ===== Gallery Filters ===== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(245, 166, 35, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-grid--full {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay span {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-item {
  position: relative;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item.hidden {
  display: none;
}

/* ===== Impact Dashboard ===== */
.impact-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.impact-bar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.impact-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.impact-bar-header h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.impact-bar-header span {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.impact-bar-track {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}

.impact-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 4px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Impact Calculator ===== */
.impact-calculator {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.impact-calculator h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.calc-slider {
  width: 100%;
  accent-color: var(--gold);
  margin: 1rem 0;
}

.calc-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.calc-result-item {
  text-align: center;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.calc-result-item .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.calc-result-item .label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ===== Map Embed ===== */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 2rem;
  aspect-ratio: 16/9;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Social Feed ===== */
.social-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.social-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.social-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.social-card h4 {
  font-family: var(--font-body);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.social-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===== JSON-LD hidden ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 992px) {
  .gallery-grid--full {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-dashboard,
  .calc-result {
    grid-template-columns: 1fr;
  }

  .social-feed {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-cta .lang-toggle {
    display: none;
  }

  .gallery-grid--full {
    grid-template-columns: 1fr;
  }
}

/* ===== Animations (Enhanced Smooth Slide Up) ===== */
.fade-up {
  opacity: 0;
  transform: translateY(50px); /* Element thoda aur neeche se aayega */
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); /* Ekdum smooth cinematic effect */
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

#chalo-walk {
  scroll-margin-top: 120px; /* Navbar ki height ke hisaab se adjust kar lena */
}