/* =====================================================================
   SSWF — Swastisri Seva Welfare Foundation
   Master Stylesheet — Premium Enterprise NGO Theme
   ===================================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --primary:        #1a5276;
  --primary-dark:   #154360;
  --primary-light:  #2980b9;
  --secondary:      #e67e22;
  --secondary-dark: #ca6f1e;
  --accent:         #27ae60;
  --accent-dark:    #1e8449;
  --dark:           #0d1117;
  --dark-card:      #161b22;
  --text-dark:      #1a1a2e;
  --text-muted:     #6c757d;
  --text-light:     #f0f4f8;
  --bg-light:       #f8fafc;
  --bg-section:     #f0f4f8;
  --white:          #ffffff;
  --border:         rgba(26,82,118,.12);
  --shadow-sm:      0 2px 12px rgba(26,82,118,.08);
  --shadow-md:      0 8px 30px rgba(26,82,118,.12);
  --shadow-lg:      0 20px 60px rgba(26,82,118,.16);
  --shadow-card:    0 4px 20px rgba(0,0,0,.08);
  --gradient-primary: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
  --gradient-secondary: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  --gradient-accent: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  --gradient-hero:  linear-gradient(135deg, rgba(26,82,118,.92) 0%, rgba(41,128,185,.85) 100%);
  --gradient-dark:  linear-gradient(180deg, #0d1117 0%, #161b22 100%);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      30px;
  --radius-full:    9999px;
  --transition:     all .3s cubic-bezier(.4,0,.2,1);
  --font-heading:   'Poppins', sans-serif;
  --font-body:      'Inter', sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  padding-top: 74px;
}

body.admin-body, body.member-body {
  padding-top: 0 !important;
  margin: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; display: block; }

/* ── Loading Screen ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 47, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-emblem-wrap { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.loader-circular-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; animation: spinCircle 14s linear infinite; transform-origin: center center; }
@keyframes spinCircle { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loader-center-logo { z-index: 2; animation: pulseLogo 2s ease-in-out infinite alternate; display: flex; align-items: center; justify-content: center; }
@keyframes pulseLogo { 0% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(243,156,18,0.3)); } 100% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(243,156,18,0.7)); } }

/* ── Scroll To Top ── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
#scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-top:hover { background: var(--gradient-secondary); transform: translateY(-3px); }

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--gradient-secondary);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  z-index: 1100;
}
.announcement-bar a { color: #fff; text-decoration: underline; }
.announcement-bar .close-ann {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: .8;
}

/* ── Navbar ── */
.navbar-sswf {
  background: rgba(13,17,23,.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.navbar-sswf.scrolled {
  padding: 8px 0 !important;
  background: rgba(13,17,23,.99) !important;
  box-shadow: 0 6px 35px rgba(0,0,0,.6) !important;
  border-bottom: 1px solid rgba(230,126,34,.3) !important;
}
.navbar-sswf .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #fff !important;
  line-height: 1.2;
}
.navbar-sswf .brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}
.navbar-sswf .brand-text .name { color: #fff; font-size: .95rem; display: block; }
.navbar-sswf .brand-text .tagline { color: var(--secondary); font-size: .65rem; font-weight: 400; display: block; }

.navbar-sswf .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .78rem;
  padding: 6px 8px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: .2px;
  text-transform: uppercase;
}
.navbar-sswf .nav-link:hover,
.navbar-sswf .nav-link.active {
  color: var(--secondary) !important;
  background: rgba(230,126,34,.1);
}
.navbar-sswf .dropdown-menu {
  background: #1a2332;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
  min-width: 200px;
}
.navbar-sswf .dropdown-item {
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .83rem;
  font-weight: 500;
  transition: var(--transition);
}
.navbar-sswf .dropdown-item:hover {
  background: rgba(230,126,34,.15);
  color: var(--secondary);
}
.btn-nav-donate {
  background: var(--gradient-secondary) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 0 16px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: .78rem !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(230,126,34,.3) !important;
  transition: var(--transition);
}
.btn-nav-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,126,34,.5) !important;
  color: #fff !important;
}
.btn-nav-member {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  border-radius: 50px !important;
  padding: 0 14px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  font-size: .78rem !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: var(--transition);
}
.btn-nav-member:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  transform: translateY(-2px);
}
.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ── Hero Section ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-slide {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,126,34,.2);
  border: 1px solid rgba(230,126,34,.4);
  backdrop-filter: blur(10px);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .5px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title span { color: var(--secondary); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.85);
  font-weight: 400;
  margin-bottom: 12px;
}
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
}
.hero-stat-label { color: rgba(255,255,255,.7); font-size: .8rem; margin-top: 2px; }

/* Hero Floating Elements */
.hero-float {
  position: absolute;
  border-radius: 50%;
  animation: floatBubble 6s ease-in-out infinite;
}
.hero-float-1 { width: 200px; height: 200px; background: rgba(230,126,34,.08); top: 10%; right: 5%; animation-delay: 0s; }
.hero-float-2 { width: 300px; height: 300px; background: rgba(39,174,96,.06); bottom: 10%; right: 15%; animation-delay: 2s; }
.hero-float-3 { width: 150px; height: 150px; background: rgba(41,128,185,.08); top: 40%; right: 20%; animation-delay: 4s; }
@keyframes floatBubble {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Carousel controls */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  margin: 0 16px;
}
.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover { background: var(--secondary); }
.hero-section .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  margin: 0 4px;
}
.hero-section .carousel-indicators .active { background: var(--secondary); transform: scale(1.3); }

/* ── Buttons ── */
.btn-primary-sswf {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(26,82,118,.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-sswf:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26,82,118,.45);
}
.btn-secondary-sswf {
  background: var(--gradient-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(230,126,34,.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary-sswf:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230,126,34,.45);
}
.btn-outline-sswf {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: var(--radius-full);
  padding: 12px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-sswf:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}
.btn-accent-sswf {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(39,174,96,.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-accent-sswf:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(39,174,96,.45);
}

/* ── Section Styles ── */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-section); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(26,82,118,.08), rgba(41,128,185,.08));
  border: 1px solid rgba(26,82,118,.15);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0 auto 14px auto;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 auto 16px auto;
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
}
.section-title span { color: var(--secondary); }
.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ── Cards ── */
.card-sswf {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card-sswf:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,82,118,.2);
}
.card-sswf .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}
.card-sswf:hover .card-img-top { transform: scale(1.05); }
.card-sswf .card-body { padding: 24px; }
.card-sswf .card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.card-sswf .card-text { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* Service Cards */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,82,118,.2);
}
.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(26,82,118,.08), rgba(41,128,185,.12));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }

/* ── Stats / Counter Section ── */
.stats-section { background: var(--gradient-primary); padding: 80px 0; }
.stat-item { text-align: center; color: #fff; padding: 20px; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  line-height: 1;
}
.stat-label {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin-top: 8px;
  font-weight: 500;
}
.stat-icon {
  font-size: 2rem;
  color: rgba(255,255,255,.3);
  margin-bottom: 12px;
  display: block;
}

/* ── About Section ── */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about-badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 130px;
}
.about-badge-float .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
}
.about-badge-float .label { font-size: .78rem; color: var(--text-muted); font-weight: 500; }

/* ── Team Cards ── */
.team-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 32px 20px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #1a1a2e;
}
.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(243, 156, 18, 0.35);
  border-color: #f39c12;
}
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary);
  margin: 0 auto 16px;
  box-shadow: 0 8px 25px rgba(230,126,34,.2);
  transition: var(--transition);
}
.team-card:hover .team-photo { border-color: var(--primary); transform: scale(1.05); }
.team-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-designation { color: var(--primary); font-size: .85rem; font-weight: 600; }
.team-social { margin-top: 12px; display: flex; justify-content: center; gap: 10px; }
.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-section);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: var(--transition);
}
.team-social a:hover { background: var(--primary); color: #fff; transform: scale(1.1); }

/* ── Testimonials ── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(26,82,118,.08);
  line-height: 1;
  font-weight: 900;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: #f59e0b; font-size: .9rem; margin-bottom: 12px; }
.testimonial-text { color: var(--text-muted); line-height: 1.8; font-size: .95rem; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--secondary); }
.testimonial-author-info .name { font-weight: 700; font-size: .95rem; color: var(--text-dark); }
.testimonial-author-info .loc { font-size: .8rem; color: var(--text-muted); }

/* ── Events ── */
.event-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.event-date-badge {
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  min-width: 70px;
  flex-shrink: 0;
}
.event-date-badge .day { font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.event-date-badge .mon { font-size: .75rem; font-weight: 600; text-transform: uppercase; opacity: .85; }
.event-card .badge-status { font-size: .72rem; padding: 4px 10px; border-radius: var(--radius-full); }

/* ── Gallery ── */
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,82,118,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 2rem; }

/* ── FAQ ── */
.faq-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  transition: var(--transition);
}
.faq-card .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-dark);
  background: #fff;
  box-shadow: none;
  padding: 18px 24px;
}
.faq-card .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(26,82,118,.04), rgba(41,128,185,.06));
}
.faq-card .accordion-button::after { color: var(--primary); }
.faq-card .accordion-body { padding: 16px 24px; color: var(--text-muted); line-height: 1.8; }

/* ── Newsletter ── */
.newsletter-section {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.newsletter-input-wrap { position: relative; max-width: 480px; margin: 0 auto; }
.newsletter-input-wrap input {
  width: 100%;
  padding: 16px 160px 16px 24px;
  border: none;
  border-radius: var(--radius-full);
  font-size: .95rem;
  outline: none;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.newsletter-input-wrap button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-input-wrap button:hover { background: var(--secondary-dark); }

/* ── Contact ── */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 54px;
  height: 54px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-text h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.contact-info-text p { color: var(--text-muted); font-size: .9rem; margin: 0; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-control-sswf {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: .95rem;
  transition: var(--transition);
  background: var(--bg-light);
}
.form-control-sswf:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,82,118,.12);
  background: #fff;
  outline: none;
}
.form-label-sswf { font-weight: 600; font-size: .88rem; color: var(--text-dark); margin-bottom: 6px; display: block; }

/* ── Donation Page ── */
.payment-info-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: #fff;
}
.payment-info-card h4 { color: var(--secondary); font-size: 1.3rem; margin-bottom: 20px; }
.payment-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.payment-row:last-child { border: none; }
.payment-row .label { color: rgba(255,255,255,.7); font-size: .85rem; }
.payment-row .value { color: #fff; font-weight: 600; }
.upi-id-display {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Membership Page ── */
.membership-step {
  text-align: center;
  padding: 24px;
}
.step-num {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 14px;
  font-family: var(--font-heading);
}

/* ── Hero Breadcrumb ── */
.page-hero {
  background: var(--gradient-primary);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.7); font-size: .85rem; }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item::before { color: var(--secondary); }

/* ── Footer ── */
.footer-main {
  background: var(--dark);
  padding: 80px 0 40px;
  color: rgba(255,255,255,.75);
}
.footer-brand-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.footer-tagline { color: var(--secondary); font-size: .78rem; margin-bottom: 16px; }
.footer-about-text { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; transform: translateY(-3px); }
.footer-heading { font-family: var(--font-heading); font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--secondary); display: inline-block; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before { content: '▸'; color: var(--secondary); font-size: .75rem; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-item i { color: var(--secondary); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.6; }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 40px 0 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); font-size: .8rem; margin-left: 16px; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--secondary); }
.footer-copy { color: rgba(255,255,255,.4); font-size: .82rem; }

/* ── Donor/Member Form Badges ── */
.badge-pending   { background: rgba(243,156,18,.15);  color: #f39c12; border: 1px solid rgba(243,156,18,.3); }
.badge-approved  { background: rgba(39,174,96,.15);   color: #27ae60; border: 1px solid rgba(39,174,96,.3); }
.badge-rejected  { background: rgba(231,76,60,.15);   color: #e74c3c; border: 1px solid rgba(231,76,60,.3); }

/* ── Glassmorphism Cards ── */
.glass-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 36px;
}

/* ── Popup Modal ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.popup-overlay.show { opacity: 1; visibility: visible; }
.popup-box {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: scale(.9);
  transition: var(--transition);
}
.popup-overlay.show .popup-box { transform: scale(1); }
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,.3);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.popup-close:hover { background: #e74c3c; }

/* ── Progress Bar ── */
.sswf-progress {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-section);
  overflow: hidden;
}
.sswf-progress-bar {
  height: 100%;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
  transition: width 1.5s ease;
}

/* ── Tag Badges ── */
.tag-badge {
  display: inline-block;
  background: rgba(26,82,118,.08);
  color: var(--primary);
  border: 1px solid rgba(26,82,118,.15);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: .75rem;
  font-weight: 600;
  margin: 3px;
}

/* ── Admin Panel ── */
.admin-sidebar {
  width: 260px;
  height: 100vh;
  max-height: 100vh;
  background: var(--gradient-dark);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1040;
  overflow-y: auto;
  overflow-x: hidden;
  transition: var(--transition);
  border-right: 1px solid rgba(255,255,255,.05);
  padding-bottom: 40px;
}
.admin-sidebar.collapsed { width: 70px; }
.admin-sidebar-header { padding: 20px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-logo { font-family: var(--font-heading); font-weight: 800; color: #fff; font-size: .9rem; display: flex; align-items: center; gap: 10px; }
.admin-logo span { color: var(--secondary); }
.admin-nav .nav-group-title { color: rgba(255,255,255,.3); font-size: .65rem; text-transform: uppercase; letter-spacing: 1.5px; padding: 16px 16px 6px; font-weight: 600; }
.admin-nav .nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.65);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin: 2px 8px;
  font-size: .85rem;
  font-weight: 500;
  transition: var(--transition);
}
.admin-nav .nav-item a:hover,
.admin-nav .nav-item a.active {
  background: rgba(255,255,255,.08);
  color: var(--secondary);
}
.admin-nav .nav-item a i { width: 20px; text-align: center; font-size: .9rem; }
.admin-nav .badge-count { margin-left: auto; background: var(--secondary); color: #fff; border-radius: var(--radius-full); padding: 2px 8px; font-size: .7rem; }

.admin-main {
  margin-left: 260px;
  min-height: 100vh;
  background: #f0f4f8;
  transition: var(--transition);
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.admin-content { padding: 28px 24px; }
.admin-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  overflow: hidden;
}
.admin-card-header {
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-card-header h5 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.admin-card-body { padding: 24px; }

/* Stat widgets */
.stat-widget {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: var(--transition);
}
.stat-widget:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-widget-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}
.stat-widget-val { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--text-dark); display: block; }
.stat-widget-label { color: var(--text-muted); font-size: .83rem; }

/* Member Portal */
.member-sidebar { background: var(--gradient-primary); min-height: 100vh; padding: 0; }
.member-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.4); }

/* ── Utilities ── */
.text-primary-sswf { color: var(--primary) !important; }
.text-secondary-sswf { color: var(--secondary) !important; }
.text-accent-sswf { color: var(--accent) !important; }
.bg-primary-sswf { background: var(--gradient-primary) !important; }
.bg-secondary-sswf { background: var(--gradient-secondary) !important; }
.fw-800 { font-weight: 800; }
.rounded-sswf { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.animate-fadeInUp   { animation: fadeInUp .8s ease forwards; }
.animate-fadeInLeft { animation: fadeInLeft .8s ease forwards; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .navbar-sswf .navbar-collapse { background: rgba(13,17,23,.98); border-radius: var(--radius-md); padding: 16px; margin-top: 12px; }
  .hero-slide { min-height: 70vh; background-attachment: scroll; }
  .hero-title { font-size: 2rem; }
  .section { padding: 60px 0; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}
@media (max-width: 767.98px) {
  .hero-slide { min-height: 90vh; }
  .hero-title { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.6rem; }
  .stat-num { font-size: 2rem; }
  .contact-form-wrap { padding: 24px; }
  .footer-main { padding: 50px 0 30px; }
  .hero-float { display: none; }
}
@media (max-width: 575.98px) {
  .btn-primary-sswf, .btn-secondary-sswf, .btn-outline-sswf { padding: 12px 24px; font-size: .88rem; }
  .hero-title { font-size: 1.6rem; }
  .hero-stats { gap: 16px; }
  .service-card { padding: 20px; }
}
