/* =========================================
   MissionGiveBack.in — Design System
   ========================================= */

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

/* ---- CSS Custom Properties ---- */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-mid: #3b82f6;
  --green: #16a34a;
  --green-dark: #15803d;
  --green-light: #f0fdf4;
  --orange: #f97316;
  --orange-light: #fff7ed;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --border: #e2e8f0;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.18);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ---- 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(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; }
section { position: relative; }

/* ---- Utility Classes ---- */
.text-blue { color: var(--blue) !important; }
.text-green { color: var(--green) !important; }
.text-orange { color: var(--orange) !important; }
.bg-blue { background: var(--blue) !important; }
.bg-green { background: var(--green) !important; }
.bg-light-blue { background: var(--blue-light) !important; }
.bg-light-green { background: var(--green-light) !important; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ---- Section Labels ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-label.green { background: var(--green-light); color: var(--green); }
.section-label.orange { background: var(--orange-light); color: var(--orange); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---- Buttons ---- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--blue);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-blue);
}
.btn-primary-custom:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,99,235,.3);
}
.btn-green-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--green);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-green-custom:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue) !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid var(--blue);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-outline-custom:hover {
  background: var(--blue);
  color: #fff !important;
  transform: translateY(-2px);
}
.btn-white-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--blue) !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid #fff;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.btn-white-custom:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* ---- Cards ---- */
.card-custom {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.6);
  padding: 14px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}
.navbar-custom.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}
.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-dark) !important;
}
.navbar-brand-custom img { height: 40px; }
.navbar-brand-custom .brand-dot { color: var(--blue); }
.navbar-nav-custom {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link-custom {
  font-weight: 500;
  font-size: .9rem;
  color: var(--text-mid) !important;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--blue) !important;
  background: var(--blue-light);
}
.nav-donate-btn {
  background: var(--orange);
  color: #fff !important;
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 20px;
  border-radius: 999px;
  transition: var(--transition);
}
.nav-donate-btn:hover {
  background: #ea6c00;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249,115,22,.3);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile Nav */
@media (max-width: 991px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px 24px 32px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  .navbar-nav-custom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .nav-link-custom { width: 100%; padding: 12px 16px; }
  .nav-dropdown { display: none !important; }
}

/* Dropdown */
.nav-item-custom { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item-custom:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: .88rem;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.nav-dropdown a:hover { background: var(--blue-light); color: var(--blue); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.82) 0%, rgba(37,99,235,.65) 60%, rgba(22,163,74,.45) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 span { color: #fbbf24; }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  max-width: 700px;
}
.hero-stat {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.hero-stat:hover { background: rgba(255,255,255,.2); }
.hero-stat .num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fbbf24;
}
.hero-stat .label { font-size: .8rem; color: rgba(255,255,255,.8); margin-top: 4px; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  cursor: pointer;
}
.hero-scroll .chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,.6);
  border-bottom: 2px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ============================================
   STATS / IMPACT COUNTER
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 240px;
  height: 240px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.stat-card {
  text-align: center;
  color: #fff;
  padding: 32px 16px;
  position: relative;
  z-index: 1;
}
.stat-card .stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.stat-card .counter {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card .stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

/* ============================================
   WHAT WE DO
   ============================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.service-icon {
  width: 72px;
  height: 72px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--blue);
  transform: scale(1.1) rotate(-5deg);
}
.service-card:hover .service-icon i { color: #fff !important; }
.service-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.service-card p {
  font-size: .87rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   FOUNDER SECTION
   ============================================ */
.founder-section { background: var(--bg-light); }
.founder-image-wrap {
  position: relative;
  display: inline-block;
}
.founder-image-wrap img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: var(--shadow-lg);
  display: block;
}
.founder-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-blue);
  min-width: 130px;
}
.founder-badge .year { font-size: 1.6rem; font-weight: 900; }
.founder-badge .year-label { font-size: .78rem; opacity: .85; }
.founder-story {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  border-left: 4px solid var(--blue);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
}
.social-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 2px solid var(--border);
  color: var(--text-mid);
}
.social-link:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================
   PROGRAMS
   ============================================ */
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}
.program-card:hover img { transform: scale(1.05); }
.program-card-body { padding: 24px; }
.program-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge-upcoming { background: #fef9c3; color: #854d0e; }
.badge-completed { background: #dcfce7; color: #166534; }
.badge-ongoing { background: #eff6ff; color: var(--blue); }
.program-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.program-card p { font-size: .87rem; color: var(--text-light); margin-bottom: 16px; }
.program-meta {
  display: flex;
  gap: 16px;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.program-meta span { display: flex; align-items: center; gap: 6px; }

/* ============================================
   EVENTS TIMELINE
   ============================================ */
.timeline { position: relative; padding: 0 0 24px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--green));
  transform: translateX(-50%);
}
.timeline-item { position: relative; margin-bottom: 56px; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--blue);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37,99,235,.2);
  z-index: 1;
}
.timeline-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: calc(50% - 40px);
}
.timeline-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); }
.timeline-item:nth-child(odd) .timeline-card { margin-left: auto; margin-right: 40px; }
.timeline-item:nth-child(even) .timeline-card { margin-right: auto; margin-left: 40px; }
.timeline-date {
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.timeline-card h5 { font-size: 1.05rem; margin-bottom: 10px; }
.timeline-card p { font-size: .87rem; color: var(--text-light); }
@media (max-width: 767px) {
  .timeline::before { left: 20px; }
  .timeline-dot { left: 20px; }
  .timeline-card, .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card { width: calc(100% - 48px); margin-left: 48px; margin-right: 0; }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  columns: 3;
  column-gap: 16px;
  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: var(--transition); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37,99,235,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: #fff; }
@media (max-width: 768px) { .gallery-grid { columns: 2; } }
@media (max-width: 480px) { .gallery-grid { columns: 1; } }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 5rem;
  color: var(--blue-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  padding-top: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-light);
}
.author-name { font-weight: 700; font-size: .95rem; }
.author-role { font-size: .8rem; color: var(--text-light); }
.stars { color: #f59e0b; font-size: .85rem; margin-bottom: 12px; }

/* ============================================
   DONATION / FUNDING SECTION
   ============================================ */
.donate-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  position: relative;
  overflow: hidden;
}
.donate-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.donate-section .section-title { color: #fff; }
.donate-section .section-subtitle { color: rgba(255,255,255,.75); }

/* UPI QR */
.upi-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  color: #fff;
}
.qr-placeholder {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: var(--radius);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.qr-placeholder svg { width: 100%; height: 100%; }
.bank-info {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  color: #fff;
}
.bank-info p { font-size: .9rem; margin-bottom: 8px; opacity: .9; }
.bank-info strong { color: #fbbf24; }

/* ============================================
   VOLUNTEER FORM
   ============================================ */
.form-floating-custom { margin-bottom: 20px; }
.form-control-custom {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
  font-family: 'Inter', sans-serif;
}
.form-control-custom:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.form-label-custom {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
  display: block;
}
.form-select-custom {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 48px;
}
.form-success {
  display: none;
  background: var(--green-light);
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--green-dark);
}
.form-success i { font-size: 2.5rem; margin-bottom: 12px; display: block; color: var(--green); }

/* ============================================
   BLOG
   ============================================ */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap { overflow: hidden; }
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.blog-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-meta { font-size: .8rem; color: var(--text-light); display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-dark);
  transition: var(--transition);
  gap: 16px;
  user-select: none;
}
.faq-item.open .faq-question { color: var(--blue); background: var(--blue-light); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 24px;
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-answer.open { max-height: 400px; padding: 0 24px 24px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-info-card {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  height: 100%;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.contact-info-item:last-child { margin-bottom: 0; border-bottom: none; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item p { font-size: .88rem; opacity: .85; line-height: 1.5; margin: 0; }
.contact-info-item h6 { font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--border);
  margin-top: 24px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ============================================
   FUNDING / EXPENSE
   ============================================ */
.fund-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.fund-stat:hover { box-shadow: var(--shadow-md); }
.fund-stat .amount {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
}
.fund-stat .fund-label { font-size: .85rem; color: var(--text-light); margin-top: 6px; }
.progress-custom {
  height: 10px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 1.5s ease;
}

/* Expense Table */
.expense-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.expense-table th {
  background: var(--bg-light);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  border-bottom: 2px solid var(--border);
}
.expense-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.expense-table tr:hover td { background: var(--bg-light); }
.cat-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.cat-education { background: #eff6ff; color: var(--blue); }
.cat-travel { background: #fff7ed; color: var(--orange); }
.cat-materials { background: #f0fdf4; color: var(--green); }
.cat-event { background: #fdf4ff; color: #a855f7; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,.75);
  padding-top: 80px;
}
.footer-brand { margin-bottom: 20px; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 300px; }
.footer h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a::before { content: '→'; font-size: .75rem; }
.footer-contact p { font-size: .88rem; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: var(--blue-mid); margin-top: 2px; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.1);
}
.footer-social a:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* Newsletter */
.newsletter-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: #fff;
  font-size: .9rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: var(--blue-mid); }
.newsletter-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: .88rem;
  font-family: 'Inter', sans-serif;
}
.newsletter-btn:hover { background: var(--blue-dark); }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.page-header p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-top: 12px; }
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.breadcrumb-custom a { color: rgba(255,255,255,.7); }
.breadcrumb-custom a:hover { color: #fff; }
.breadcrumb-custom span { color: rgba(255,255,255,.4); }

/* ============================================
   SPONSOR PAGE
   ============================================ */
.sponsor-tier {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 2px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
  height: 100%;
}
.sponsor-tier.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.sponsor-tier.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-icon { font-size: 2.5rem; margin-bottom: 16px; }
.tier-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.tier-amount { font-size: 2rem; font-weight: 900; color: var(--blue); }
.tier-benefits { text-align: left; margin-top: 24px; }
.tier-benefits li {
  padding: 8px 0;
  font-size: .9rem;
  color: var(--text-mid);
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tier-benefits li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ============================================
   SUCCESS STORIES
   ============================================ */
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 24px;
}
.story-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.story-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.story-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-light);
}
.story-meta .name { font-weight: 700; font-size: 1rem; color: var(--text-dark); }
.story-meta .role { font-size: .82rem; color: var(--text-light); }
.story-text { font-size: .95rem; color: var(--text-mid); line-height: 1.75; font-style: italic; }
.story-type-tab {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.story-tab {
  padding: 8px 20px;
  border-radius: 999px;
  border: 2px solid var(--border);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-mid);
  background: var(--white);
}
.story-tab.active, .story-tab:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-blue);
  z-index: 999;
  border: none;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--blue-dark); transform: translateY(-4px); }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 28px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: var(--transition);
  animation: wapulse 3s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.12); background: #1ebe57; }
@keyframes wapulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,.7); }
}

/* ============================================
   MISC UTILITIES & ANIMATIONS
   ============================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-orange { color: var(--orange); }
.divider { height: 2px; background: linear-gradient(90deg, var(--blue), var(--green), transparent); border-radius: 2px; margin: 48px 0; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-mid);
  margin: 4px;
}
.animated-bg {
  background: linear-gradient(-45deg, #eff6ff, #f0fdf4, #fff7ed, #eff6ff);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-buttons a { width: fit-content; }
  .founder-badge { bottom: -12px; right: 12px; }
  .stats-section .row > div + div { border-top: 1px solid rgba(255,255,255,.1); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { width: 100%; }
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Print */
@media print {
  .navbar-custom, .footer, .scroll-top, .whatsapp-float { display: none !important; }
  .page-header { background: #2563eb !important; }
}
