/* ============================================
   SaharSocial Foundation — Static Website CSS
   Premium Modern NGO Design
   ============================================ */

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

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  /* Colors */
  --primary: #2c6e91;
  --primary-dark: #1e5270;
  --primary-light: #3a8ab5;
  --primary-foreground: #ffffff;
  --secondary: #f4a261;
  --secondary-dark: #e08a3e;
  --secondary-foreground: #ffffff;
  --background: #f9f9f9;
  --foreground: #333333;
  --card: #ffffff;
  --card-foreground: #333333;
  --muted: #f1f3f5;
  --muted-foreground: #737373;
  --border: #e5e7eb;
  --accent-bg: rgba(44, 110, 145, 0.08);

  /* Shadows */
  --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.08);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #2c6e91, #1e5270);
  --gradient-warm: linear-gradient(135deg, #f4a261, #e07840);
  --gradient-overlay: linear-gradient(
    to right,
    rgba(51, 51, 51, 0.85),
    rgba(51, 51, 51, 0.5),
    transparent
  );

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --section-py: 6rem;
  --section-px: 1.5rem;
  --container-max: 1200px;
  --radius: 1rem;
  --radius-lg: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

input,
textarea,
button {
  font-family: var(--font-body);
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section-padding {
  padding: var(--section-py) var(--section-px);
}

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

.text-gradient-primary {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Label ---------- */
.section-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card-elevated {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
}

.glass-card:hover,
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

/* ---------- Image Zoom ---------- */
.image-zoom {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.image-zoom img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-zoom:hover img {
  transform: scale(1.08);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.link-arrow:hover {
  gap: 0.75rem;
}

/* ---------- Navbar ---------- */
/* ============================================================
   SAHARSOCIAL — Navbar CSS patch
   In css/style.css, find "---------- Navbar ----------"
   and REPLACE the entire navbar block with this.
   ============================================================ */

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
  height: 80px;
  background: transparent; /* transparent over hero */
}

/* Scrolled state: white frosted glass (ElderCare style) */
.navbar.scrolled {
  background: hsla(0, 0%, 100%, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 20px hsla(210, 30%, 20%, 0.08);
  border-bottom: 1px solid hsla(210, 20%, 90%, 0.5);
}

.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ---------- Brand ---------- */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.08);
}

/* White text on hero, dark text when scrolled */
.navbar-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  transition: color 0.4s ease;
}

.navbar.scrolled .navbar-brand span {
  color: var(--foreground);
}

/* ---------- Nav Links ---------- */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* On hero: white links */
.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: hsla(0, 0%, 100%, 0.9);
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  position: relative;
}

/* Active dot indicator */
.navbar-links a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-links a.active::after {
  opacity: 1;
}

.navbar-links a:hover {
  background: hsla(0, 0%, 100%, 0.1);
  color: var(--secondary);
}

.navbar-links a.active {
  color: var(--secondary);
}

/* When scrolled: dark links on white */
.navbar.scrolled .navbar-links a {
  color: var(--foreground);
}

.navbar.scrolled .navbar-links a:hover {
  background: var(--muted);
  color: var(--secondary-dark);
}

.navbar.scrolled .navbar-links a.active {
  color: var(--secondary-dark);
}

/* ---------- CTA Donate Button ---------- */
.navbar-cta {
  margin-left: 0.75rem;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  padding: 0.625rem 1.5rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: all 0.3s ease !important;
}

.navbar-cta::after {
  display: none !important;
}

.navbar-cta:hover {
  opacity: 0.9 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px hsla(210, 70%, 45%, 0.3) !important;
}

/* ---------- Mobile Menu Toggle ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

/* White bars on hero, dark bars when scrolled */
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar.scrolled .menu-toggle span {
  background: var(--foreground);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: hsla(0, 0%, 100%, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  .navbar-links.open {
    display: flex;
  }

  /* Force dark text inside mobile menu always */
  .navbar-links a,
  .navbar.scrolled .navbar-links a {
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    color: var(--foreground);
    width: 100%;
    border-radius: 0.75rem;
  }

  .navbar-links a:hover,
  .navbar.scrolled .navbar-links a:hover {
    background: var(--muted);
    color: var(--secondary-dark);
  }

  .navbar-links a.active,
  .navbar.scrolled .navbar-links a.active {
    color: var(--secondary-dark);
  }

  .navbar-cta {
    margin-left: 0 !important;
    margin-top: 0.75rem;
    text-align: center;
    display: block !important;
    padding: 0.75rem 1.5rem !important;
  }

  .menu-toggle {
    display: block;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-foreground);
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
}

.hero-content {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 8rem var(--section-px) 4rem;
  max-width: 650px;
  width: 100%;
}

.hero .container {
  position: relative;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(244, 162, 97, 0.2);
  color: var(--primary-foreground);
  padding: 0.375rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 162, 97, 0.3);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--secondary);
}

.hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  position: relative;
  padding: 8rem 0 5rem;
  background: var(--primary);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(80px);
}

.page-hero .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero .section-title {
  color: var(--primary-foreground);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-hero .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse > * {
  direction: ltr;
}

.about-image {
  height: 450px;
}

.about-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Stats Grid */
.stats-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-mini {
  padding: 1.5rem;
  text-align: center;
}

.stat-mini .stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-mini .stat-label {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  cursor: default;
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(44, 110, 145, 0.15);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ---------- Impact / Counter Section ---------- */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.counter-item {
  text-align: center;
}

.counter-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-auto-rows: 250px;
}

.gallery-grid .gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid .gallery-item:nth-child(5) {
  grid-column: span 2;
}

.gallery-item {
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
  font-size: 0.95rem;
}

.testimonial-card .author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-card .author-role {
  font-size: 0.85rem;
  color: var(--primary);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(80px);
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(80px);
}

.cta-content {
  position: relative;
  text-align: center;
}

.cta-icon {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.cta-icon svg {
  width: 48px;
  height: 48px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Donation Options ---------- */
.donation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.donation-card {
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  height: 100%;
}

.donation-card .donation-icon {
  width: 64px;
  height: 64px;
  background: rgba(244, 162, 97, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background 0.3s ease;
}

.donation-card:hover .donation-icon {
  background: rgba(244, 162, 97, 0.2);
}

.donation-card .donation-icon svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
}

.donation-card .donation-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.donation-card h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.donation-card p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.donate-cta-box {
  max-width: 600px;
  margin: 4rem auto 0;
  padding: 3rem;
  text-align: center;
}

.donate-cta-box svg {
  color: var(--secondary);
  margin: 0 auto 1rem;
}

.donate-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.donate-cta-box p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* ---------- Forms ---------- */
.form-card {
  padding: 2rem 2.5rem;
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-card .form-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 110, 145, 0.15);
}

.form-group textarea {
  resize: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ---------- Contact Layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact-info-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--foreground);
}

.contact-info-value {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--foreground);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

.footer-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.footer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.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;
}
.fade-up.delay-5 {
  transition-delay: 0.5s;
}
.fade-up.delay-6 {
  transition-delay: 0.6s;
}
.fade-up.delay-7 {
  transition-delay: 0.7s;
}

/* Hero Animation */
.hero-content {
  animation: heroFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Counter Scale Animation */
@keyframes countScale {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-elevated);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Background Section Variants ---------- */
.bg-muted-light {
  background: var(--muted);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .donation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .gallery-grid .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-grid .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid.reverse {
    direction: ltr;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-py: 4rem;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  .navbar-links a::after {
    display: none;
  }

  .navbar-cta {
    margin-top: 0.75rem;
    text-align: center;
    display: block;
    padding: 0.75rem 1.5rem !important;
  }

  .menu-toggle {
    display: block;
  }

  .services-grid,
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.5rem;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

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

@media (max-width: 480px) {
  .counters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .counter-num {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
