/* ============================================================
   BAHA FOUNDATION - Premium CSS Design System
   Bridge for Advancement and Human Awareness Foundation
   ============================================================ */

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

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Brand Colors */
  --primary:        #0D6EFD;
  --primary-dark:   #0a58ca;
  --primary-light:  #cfe2ff;
  --secondary:      #198754;
  --secondary-dark: #146c43;
  --secondary-light:#d1e7dd;
  --accent:         #F4B400;
  --accent-dark:    #c49100;
  --danger:         #DC3545;
  --warning:        #ffc107;
  --info:           #0dcaf0;
  --success:        #198754;

  /* Neutrals */
  --dark:           #1A1A1A;
  --dark-2:         #2d2d2d;
  --dark-3:         #444;
  --gray:           #6c757d;
  --gray-light:     #adb5bd;
  --white:          #FFFFFF;
  --bg:             #F8F9FA;
  --bg-2:           #eef2f7;

  /* Typography */
  --font-primary:   'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Sizing */
  --radius-sm:      8px;
  --radius:         18px;
  --radius-lg:      28px;
  --radius-xl:      40px;
  --radius-pill:    100px;

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(0,0,0,.06);
  --shadow:         0 4px 20px rgba(0,0,0,.10);
  --shadow-md:      0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:      0 16px 48px rgba(0,0,0,.15);
  --shadow-xl:      0 24px 64px rgba(0,0,0,.20);
  --shadow-primary: 0 8px 30px rgba(13,110,253,.30);
  --shadow-green:   0 8px 30px rgba(25,135,84,.30);
  --shadow-accent:  0 8px 30px rgba(244,180,0,.30);

  /* Transitions */
  --transition:     all .3s cubic-bezier(.4, 0, .2, 1);
  --transition-fast:all .15s ease;
  --transition-slow:all .5s cubic-bezier(.4, 0, .2, 1);

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #0D6EFD 0%, #198754 100%);
  --grad-hero:      linear-gradient(135deg, #0D6EFD 0%, #0a4fcf 50%, #198754 100%);
  --grad-warm:      linear-gradient(135deg, #F4B400 0%, #ff6b35 100%);
  --grad-dark:      linear-gradient(135deg, #1A1A1A 0%, #2d2d2d 100%);
  --grad-glass:     linear-gradient(135deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.05) 100%);
  --grad-card:      linear-gradient(135deg, rgba(13,110,253,.05) 0%, rgba(25,135,84,.05) 100%);

  /* Glassmorphism */
  --glass-bg:       rgba(255, 255, 255, 0.12);
  --glass-border:   rgba(255, 255, 255, 0.25);
  --glass-blur:     blur(20px);
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: #555; line-height: 1.8; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover { color: var(--primary-dark); }

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

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-accent { color: var(--accent) !important; }
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-primary-gradient { background: var(--grad-primary) !important; }
.bg-hero-gradient    { background: var(--grad-hero) !important; }
.bg-warm-gradient    { background: var(--grad-warm) !important; }
.bg-dark-gradient    { background: var(--grad-dark) !important; }
.bg-light-blue       { background: var(--primary-light) !important; }
.bg-subtle           { background: var(--bg) !important; }
.border-radius       { border-radius: var(--radius) !important; }
.border-radius-lg    { border-radius: var(--radius-lg) !important; }
.overflow-hidden     { overflow: hidden; }
.shadow-primary      { box-shadow: var(--shadow-primary); }
.shadow-green        { box-shadow: var(--shadow-green); }

/* Section Spacing */
.section-py { padding: 90px 0; }
.section-py-sm { padding: 60px 0; }
.section-py-lg { padding: 120px 0; }

/* Section Header */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .badge-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--gray);
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 0;
}
.divider span {
  display: block;
  width: 50px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--primary);
}
.divider span:first-child,
.divider span:last-child {
  width: 20px;
  background: var(--accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-pill) !important;
  padding: 12px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: var(--transition-fast);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(13,110,253,.4);
}

.btn-success {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-success:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-white {
  background: var(--white);
  border-color: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--bg);
  transform: translateY(-2px);
  color: var(--primary-dark);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-gradient {
  background: var(--grad-primary);
  border: none;
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-gradient:hover {
  box-shadow: 0 12px 35px rgba(13,110,253,.45);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-lg { padding: 15px 40px; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* Icon button */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
}

/* Donate pulse button */
.btn-donate {
  background: var(--grad-warm);
  border: none;
  color: var(--white);
  font-weight: 700;
  animation: pulse-btn 2s infinite;
}
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,180,0,.4); }
  50%       { box-shadow: 0 0 0 12px rgba(244,180,0,0); }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  background: var(--white);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-img-top {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

/* Premium Card */
.card-premium {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.04);
}
.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13,110,253,.1);
}

/* Glassmorphism Card */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Stats Card */
.stats-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.stats-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary);
}
.stats-card .icon-box {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  background: var(--grad-card);
  transition: var(--transition);
}
.stats-card:hover .icon-box {
  transform: scale(1.12) rotate(-5deg);
}
.stats-card .count {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-card .label {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
  margin-top: 6px;
}

/* Focus Area Card */
.focus-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: default;
}
.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.focus-card .icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  transition: var(--transition);
}
.focus-card:hover .icon {
  transform: scale(1.15) rotate(-8deg);
  border-radius: 50%;
}
.focus-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.focus-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

/* Project Card */
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.project-card .card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.project-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover .card-image img {
  transform: scale(1.08);
}
.project-card .status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.project-card .card-body { padding: 22px; }
.project-card .category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.project-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.project-card .progress {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  margin: 14px 0 8px;
}
.project-card .progress-bar {
  border-radius: var(--radius-pill);
  background: var(--grad-primary);
}

/* Blog Card */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.blog-card .card-image {
  height: 200px;
  overflow: hidden;
}
.blog-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .card-image img { transform: scale(1.06); }
.blog-card .card-body { padding: 22px; }
.blog-card .meta {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.blog-card .meta i { margin-right: 4px; color: var(--primary); }
.blog-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card h4 a { color: var(--dark); }
.blog-card h4 a:hover { color: var(--primary); }

/* Team Card */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--primary-light);
  transition: var(--transition);
}
.team-card:hover img { border-color: var(--primary); transform: scale(1.06); }
.team-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.team-card .designation { font-size: 0.85rem; color: var(--primary); font-weight: 500; }

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.top-announcement-bar {
  background: linear-gradient(90deg, #0D6EFD 0%, #0b5ed7 40%, #198754 100%);
  font-size: 0.82rem;
  position: relative;
  z-index: 1060;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}
.topbar-badge {
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.topbar-cin {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.2px;
}
.topbar-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.topbar-link:hover {
  color: #ffffff;
  opacity: 0.85;
  transform: translateY(-1px);
}
.lang-switcher .dropdown-toggle {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  border: none;
  background: transparent;
}
.lang-switcher .dropdown-toggle:hover {
  opacity: 0.85;
}
.lang-switcher .dropdown-menu {
  min-width: 140px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.lang-switcher .dropdown-item {
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.lang-switcher .dropdown-item.active,
.lang-switcher .dropdown-item:hover {
  background: #eef5ff;
  color: var(--primary);
  font-weight: 600;
}

/* ============================================================
   MAIN NAVIGATION
   ============================================================ */
#mainNav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}
#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  padding: 4px 0;
}
#mainNav.nav-dark {
  background: rgba(26, 26, 26, 0.98);
}

/* Brand Logo & Text */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 4px 0;
}
.brand-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 110, 253, 0.12);
  border: 1px solid rgba(13, 110, 253, 0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.navbar-brand:hover .brand-logo-wrap {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.22);
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-text .name {
  font-size: 1.15rem;
  font-weight: 850;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.brand-text .tagline {
  font-size: 0.62rem;
  font-weight: 600;
  color: #0d6efd;
  line-height: 1.25;
  letter-spacing: 0.2px;
  white-space: nowrap;
  max-width: none;
}

/* Nav Links Common */
.navbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
}
.navbar-nav .nav-item .nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  padding: 6px 10px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap !important;
  line-height: 1.3;
}
.navbar-nav .nav-item .nav-link:hover {
  color: var(--primary);
  background: rgba(13, 110, 253, 0.06);
}
.navbar-nav .nav-item .nav-link.active {
  color: var(--primary);
  font-weight: 700;
  background: rgba(13, 110, 253, 0.09);
}
.navbar-nav .nav-item .nav-link::after {
  display: none !important;
}

/* Dropdown Caret & Custom Indicator Icon */
.dropdown-toggle::after {
  display: none !important;
}
.nav-dropdown-icon {
  font-size: 0.68rem;
  color: #64748b;
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  vertical-align: middle;
}
.navbar-nav .nav-link:hover .nav-dropdown-icon {
  color: var(--primary);
}
.has-hover-menu:hover .nav-dropdown-icon,
.has-hover-menu.hover-active .nav-dropdown-icon,
.has-hover-menu.show .nav-dropdown-icon,
.dropdown-toggle[aria-expanded="true"] .nav-dropdown-icon {
  transform: rotate(180deg);
  color: var(--primary);
}
.lang-switcher .nav-dropdown-icon {
  color: rgba(255, 255, 255, 0.75);
}
.lang-switcher:hover .nav-dropdown-icon,
.lang-switcher.show .nav-dropdown-icon {
  color: #ffffff;
}

/* Rich Dropdown Menus */
.rich-dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 8px;
  min-width: 285px;
  background: #ffffff;
}
.rich-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 2px;
  border: 1px solid transparent;
}
.rich-dropdown-item:hover {
  background: #f8fafc;
  border-color: rgba(13, 110, 253, 0.08);
  transform: translateX(3px);
}
.dropdown-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.rich-dropdown-item:hover .dropdown-icon-box {
  transform: scale(1.1);
}
.dropdown-item-content {
  display: flex;
  flex-direction: column;
}
.dropdown-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
  display: block;
}
.rich-dropdown-item:hover .dropdown-item-title {
  color: var(--primary);
}
.dropdown-item-desc {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.3;
  display: block;
  font-weight: 400;
}

/* Subtle Color Helpers for Icons */
.bg-blue-subtle   { background: #eef5ff !important; }
.bg-green-subtle  { background: #eafaf1 !important; }
.bg-amber-subtle  { background: #fff8e6 !important; }
.bg-purple-subtle { background: #f3effe !important; }
.text-purple      { color: #7952b3 !important; }

/* Member Portal Button */
.nav-member-link {
  font-size: 0.83rem !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
  background: rgba(13, 110, 253, 0.06) !important;
  border: 1px solid rgba(13, 110, 253, 0.18) !important;
  border-radius: 50px !important;
  padding: 6px 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  transition: all 0.25s ease !important;
}
.nav-member-link:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 110, 253, 0.25);
}
.nav-member-link:hover .text-primary {
  color: #ffffff !important;
}

/* Donate CTA Button in Nav */
.nav-cta-donate {
  background: linear-gradient(135deg, #F4B400 0%, #FF6B35 100%) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 7px 16px !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
  border: none;
  letter-spacing: 0.2px;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-cta-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.45);
  color: #ffffff !important;
}
.pulse-icon {
  animation: heartBeat 1.8s infinite ease-in-out;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.22); }
  28% { transform: scale(1); }
  42% { transform: scale(1.22); }
  70% { transform: scale(1); }
}

/* Medium Desktop Responsiveness (1200px - 1440px) */
@media (min-width: 1200px) and (max-width: 1440px) {
  .navbar-nav {
    gap: 1px !important;
  }
  .navbar-nav .nav-item .nav-link {
    font-size: 0.80rem !important;
    padding: 5px 7px !important;
  }
  .nav-member-link {
    font-size: 0.78rem !important;
    padding: 5px 10px !important;
  }
  .nav-cta-donate {
    font-size: 0.80rem !important;
    padding: 6px 13px !important;
  }
  .brand-logo-wrap {
    width: 38px;
    height: 38px;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .brand-text .name {
    font-size: 1.02rem;
  }
  .brand-text .tagline {
    display: none;
  }
}

/* Modern Hamburger Toggler */
.modern-toggler {
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(13, 110, 253, 0.06);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.modern-toggler:hover {
  background: rgba(13, 110, 253, 0.12);
}
.modern-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}
.toggler-bar {
  display: block;
  width: 22px;
  height: 2.2px;
  background: #1e293b;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.modern-toggler[aria-expanded="true"] .bar-1,
.modern-toggler.is-active .bar-1 {
  transform: translateY(7.2px) rotate(45deg);
  background: var(--primary);
}
.modern-toggler[aria-expanded="true"] .bar-2,
.modern-toggler.is-active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}
.modern-toggler[aria-expanded="true"] .bar-3,
.modern-toggler.is-active .bar-3 {
  transform: translateY(-7.2px) rotate(-45deg);
  background: var(--primary);
}

/* ============================================================
   DESKTOP DROPDOWN HOVER MECHANICS (>= 1200px)
   ============================================================ */
@media (min-width: 1200px) {
  .has-hover-menu {
    position: relative;
  }
  .has-hover-menu > .dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.22s;
    pointer-events: none;
    display: block;
    margin: 0;
  }
  /* Invisible hover bridge to prevent menu closing while moving mouse */
  .has-hover-menu > .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
  }
  /* Open dropdown on hover */
  .has-hover-menu:hover > .dropdown-menu,
  .has-hover-menu.hover-active > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .has-hover-menu:hover .dropdown-toggle::after,
  .has-hover-menu.hover-active .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  /* Desktop Language Switcher hover */
  .lang-switcher:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ============================================================
   MOBILE RESPONSIVE NAVIGATION (< 1200px)
   ============================================================ */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    background: #ffffff;
    margin-top: 12px;
    border-radius: 20px;
    padding: 16px 18px 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .navbar-nav .nav-item .nav-link {
    padding: 11px 14px !important;
    font-size: 0.95rem;
    color: #1e293b;
    border-radius: 12px;
    margin-bottom: 3px;
  }
  .navbar-nav .nav-item .nav-link.active {
    background: rgba(13, 110, 253, 0.08);
  }
  
  .navbar-nav .nav-item .nav-link.dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
  .navbar-nav .nav-item .nav-link.dropdown-toggle .nav-dropdown-icon {
    font-size: 0.75rem;
    margin-left: auto;
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.2s ease;
  }
  .navbar-nav .nav-item .nav-link.dropdown-toggle[aria-expanded="true"] .nav-dropdown-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: #ffffff;
  }
  
  /* Mobile Accordion Submenu */
  .has-hover-menu .dropdown-menu {
    position: static !important;
    float: none;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border: none !important;
    background: #f8fafc;
    border-radius: 14px;
    padding: 8px;
    margin: 4px 0 8px 8px;
    display: none;
  }
  .has-hover-menu .dropdown-menu.show {
    display: block !important;
    animation: mobileSubmenuSlide 0.25s ease;
  }
  @keyframes mobileSubmenuSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-member-item,
  .nav-cta-item {
    margin-top: 10px;
    margin-left: 0 !important;
  }
  .nav-cta-donate,
  .nav-member-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .brand-logo-wrap {
    width: 42px;
    height: 42px;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand-text .name {
    font-size: 1.05rem;
  }
  .brand-text .tagline {
    font-size: 0.62rem;
    max-width: 175px;
  }
}

/* Flash Container auto-hide when empty */
#flashContainer:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================================
   HERO SLIDER - PREMIUM & DYNAMIC
   ============================================================ */
#heroSlider {
  position: relative;
  height: calc(100vh - 80px);
  min-height: 550px;
  max-height: 760px;
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: #0f172a;
}
.swiper-slide {
  position: relative;
  overflow: hidden;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}
.swiper-slide-active .slide-bg {
  transform: scale(1);
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 25, 47, 0.88) 0%,
    rgba(13, 110, 253, 0.62) 45%,
    rgba(25, 135, 84, 0.70) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 24px 0 44px 0;
}
.hero-text-wrap {
  position: relative;
  z-index: 2;
}
.slide-content .badge-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.slide-content h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.16;
  margin-bottom: 12px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.4px;
}
.slide-content .hero-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Trust Badges in Hero */
.hero-trust-badges {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.trust-badge-item {
  display: inline-flex;
  align-items: center;
}

/* Glassmorphic Quick Giving Card (Hero Right) */
.hero-quick-card.glass-panel {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Live Pulse Dot */
.live-dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
  margin-right: 6px;
}
.live-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.4);
  animation: livePulseAnim 1.8s infinite;
}
@keyframes livePulseAnim {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Quick Amount Chips */
.quick-chips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.quick-chip {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 4px;
  border-radius: 12px !important;
  transition: all 0.2s ease;
}
.quick-chip:hover,
.quick-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(244, 180, 0, 0.4);
}
.custom-input-group {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  overflow: hidden;
}
.custom-input-group .form-control {
  background: transparent;
  color: #ffffff;
  font-size: 1.1rem;
}
.custom-input-group .form-control:focus {
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}
.bg-white-15 { background: rgba(255, 255, 255, 0.15) !important; }
.bg-white-20 { background: rgba(255, 255, 255, 0.20) !important; }
.border-white-15 { border-color: rgba(255, 255, 255, 0.15) !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.78) !important; }
.font-size-11 { font-size: 0.72rem !important; }
.font-size-12 { font-size: 0.78rem !important; }
.font-size-13 { font-size: 0.84rem !important; }
.font-size-18 { font-size: 1.15rem !important; }

/* Swiper Slider Controls */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.25s ease;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 16px;
  color: #ffffff;
  font-weight: 800;
}
.hero-swiper .swiper-button-next:hover::after,
.hero-swiper .swiper-button-prev:hover::after {
  color: var(--primary);
}
.hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 32px;
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(244, 180, 0, 0.6);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-mouse::before {
  content: '';
  width: 3px;
  height: 6px;
  background: #ffffff;
  border-radius: 100px;
  animation: scroll-wheel 1.8s infinite;
}
@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ============================================================
   STATS / COUNTER SECTION - MODERN GLASS IMPACT CARDS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, #091e3a 0%, #0d6efd 50%, #0f5132 100%);
  padding: 42px 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 6px 16px rgba(0,0,0,0.15);
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
              radial-gradient(circle at 80% 50%, rgba(244,180,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 22px 12px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22), 0 0 20px rgba(255, 255, 255, 0.08);
}
.stat-card:hover::before {
  opacity: 1;
}
.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.stat-card:hover .stat-icon-wrap {
  transform: scale(1.12) rotate(4deg);
}
.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num {
  font-size: clamp(1.7rem, 2.1vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.stat-suffix {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  margin-left: 2px;
}
.stat-label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2px;
}

/* ============================================================
   HOMEPAGE INTRODUCTION & ABOUT SECTION - PREMIUM
   ============================================================ */
.about-intro-section {
  padding: 85px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.about-visual-wrap {
  position: relative;
}
.about-glow-shape {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13,110,253,0.12), rgba(25,135,84,0.12));
  filter: blur(50px);
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: 1;
  pointer-events: none;
}
.about-img-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,25,47,0.12);
  border: 4px solid #ffffff;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}
.about-img-main {
  height: 480px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img-frame:hover .about-img-main {
  transform: scale(1.03);
}
.about-award-badge {
  position: absolute;
  bottom: -22px;
  left: 20px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}
.about-award-badge:hover {
  transform: translateY(-3px);
}
.award-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4b400, #ff8f00);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(244, 180, 0, 0.35);
  flex-shrink: 0;
}
.award-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.award-text {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
}
.about-years-badge {
  position: absolute;
  top: -18px;
  right: 20px;
  z-index: 3;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #198754);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(13,110,253,0.35);
  border: 3px solid #ffffff;
  animation: subtleFloat 4s ease-in-out infinite;
}
@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.years-num {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}
.years-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}
.about-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.22;
  letter-spacing: -0.4px;
}
.about-subtitle-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
}
.about-body-text {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.8;
}
.mission-vision-card {
  padding: 18px 18px;
  border-radius: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.mission-card {
  background: rgba(13, 110, 253, 0.06);
  border-color: rgba(13, 110, 253, 0.15);
}
.vision-card {
  background: rgba(25, 135, 84, 0.06);
  border-color: rgba(25, 135, 84, 0.15);
}
.mission-vision-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.mv-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.mission-card .mv-icon-box {
  background: #0d6efd;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13,110,253,0.3);
}
.vision-card .mv-icon-box {
  background: #198754;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(25,135,84,0.3);
}
.mv-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
}
.mv-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0;
}
.about-facts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-fact-item {
  transition: transform 0.2s ease;
}
.about-fact-item:hover {
  transform: translateX(4px);
}
.fact-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.fact-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
}

/* ============================================================
   FOCUS AREAS (WHAT WE DO) - PREMIUM CARD GRID
   ============================================================ */
.focus-section {
  background: #f8fafc;
  padding: 85px 0;
  position: relative;
}
.focus-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.focus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-color, var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.focus-card:hover {
  transform: translateY(-8px);
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), 0 0 20px rgba(13, 110, 253, 0.04);
}
.focus-card:hover::before {
  opacity: 1;
}
.focus-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.focus-card:hover .focus-icon-box {
  transform: scale(1.1) rotate(5deg);
}
.focus-order-badge {
  font-size: 0.85rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}
.focus-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.focus-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 0;
  flex-grow: 1;
}
.focus-card-footer {
  border-top: 1px solid #f1f5f9;
}
.focus-tag-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.focus-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: transform 0.25s ease;
}
.focus-card:hover .focus-arrow-circle {
  transform: translateX(4px);
}

/* ============================================================
   DONATION CTA SECTION - "MAKE A DIFFERENCE TODAY" (ULTRA PREMIUM)
   ============================================================ */
.donation-section {
  background: linear-gradient(135deg, #091e3a 0%, #0d6efd 45%, #0f5132 100%);
  position: relative;
  overflow: hidden;
  padding: 95px 0;
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.2);
}
.donation-ambient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(13, 110, 253, 0.25) 0%, transparent 60%),
              radial-gradient(circle at 85% 70%, rgba(244, 180, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.donation-badge {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.donation-heading {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.5px;
}
.donation-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 540px;
}
.impact-preview-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 14px 16px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}
.impact-preview-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(244, 180, 0, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.impact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.donation-trust-points span {
  display: inline-flex;
  align-items: center;
}
.donation-form-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.donation-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #f4b400, #198754);
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.amount-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
}
.amount-btn:hover {
  border-color: #0d6efd;
  background: #eff6ff;
  color: #0d6efd;
  transform: translateY(-2px);
}
.amount-btn.active {
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.3);
  transform: translateY(-2px);
}
.amount-btn.popular {
  position: relative;
}
.amount-btn.popular::after {
  content: '★ Popular';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: #f4b400;
  color: #111827;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.donation-input-box {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
}
.donation-input-box .form-control {
  border: none;
  font-size: 1.25rem;
}
.donation-input-box .form-control:focus {
  box-shadow: none;
}
.donation-submit-btn {
  border-radius: 14px;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}
.donation-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 180, 0, 0.45);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--bg); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 25px;
  font-size: 6rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card .stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.testimonial-card p {
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card .author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}
.testimonial-card .author .name {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}
.testimonial-card .author .role {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ============================================================
   PARTNERS / CSR ALLIANCES - PREMIUM INFINITE MARQUEE
   ============================================================ */
.partners-section {
  padding: 85px 0 70px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}
.marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: 15px 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: marqueeContinuous 28s linear infinite;
  width: max-content;
}
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}
.partner-logo-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  min-width: 200px;
  height: 85px;
}
.partner-logo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 110, 253, 0.4);
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.12);
}
.partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.partner-logo-img {
  height: 48px;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(85%) opacity(0.85);
  transition: all 0.3s ease;
}
.partner-logo-card:hover .partner-logo-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.04);
}
@keyframes marqueeContinuous {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   GALLERY - PREMIUM INTERACTIVE SHOWCASE
   ============================================================ */
.gallery-section {
  background: #f8fafc;
  padding: 85px 0;
  position: relative;
}
.gallery-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 100px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.gallery-filter-pill:hover {
  background: #eff6ff;
  border-color: #0d6efd;
  color: #0d6efd;
  transform: translateY(-2px);
}
.gallery-filter-pill.active {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
  transform: translateY(-2px);
}
.gallery-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  height: 280px;
}
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18), 0 0 25px rgba(13, 110, 253, 0.15);
}
.gallery-card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}
.gallery-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}
.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}
.gallery-cat-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}
.gallery-star-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 1px solid rgba(244, 180, 0, 0.4);
}
.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 35, 0.95) 0%, rgba(10, 20, 35, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 3;
}
.gallery-card:hover .gallery-hover-overlay {
  opacity: 1;
}
.gallery-zoom-circle {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.gallery-card:hover .gallery-zoom-circle {
  transform: translateY(0);
}
.gallery-caption-box {
  transform: translateY(10px);
  transition: transform 0.35s ease;
}
.gallery-card:hover .gallery-caption-box {
  transform: translateY(0);
}
.gallery-caption-title {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 2px;
}
.gallery-caption-loc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
}
.gallery-item.featured { grid-row: span 2; grid-column: span 2; }

/* Filter Pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.filter-pill {
  padding: 8px 22px;
  border: 2px solid var(--bg-2);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  color: var(--dark);
  user-select: none;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
  border: 2px solid #e9ecef;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
  background: var(--white);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,110,253,.12);
  background: var(--white);
}
.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-3);
  margin-bottom: 6px;
}
.form-label .required { color: var(--danger); }

/* Floating label override */
.form-floating > .form-control {
  padding: 20px 16px 8px;
  height: auto;
}
.form-floating > label {
  font-size: 0.88rem;
  color: var(--gray);
}

/* Input Group */
.input-group-text {
  background: var(--bg);
  border: 2px solid #e9ecef;
  color: var(--gray);
  border-radius: var(--radius-sm) !important;
  font-size: 0.9rem;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.page-hero {
  background: var(--grad-primary);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: rgba(255,255,255,.05);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.breadcrumb-item { font-size: 0.88rem; }
.breadcrumb-item a { color: rgba(255,255,255,.75); }
.breadcrumb-item a:hover { color: var(--white); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.5);
}

/* ============================================================
   NEWSLETTER & MAIN FOOTER - ULTRA PREMIUM
   ============================================================ */
.footer-newsletter-section {
  padding: 50px 0 0;
  background: transparent;
  position: relative;
  z-index: 3;
  margin-bottom: -55px;
}
.footer-newsletter-card {
  background: linear-gradient(135deg, #091e3a 0%, #0d6efd 50%, #0f5132 100%);
  border-radius: 24px;
  padding: 40px 45px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.footer-newsletter-form .input-group {
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: #ffffff;
  padding: 4px;
}
.footer-newsletter-form .form-control {
  border: none;
  background: transparent;
}
.footer-newsletter-form .form-control:focus {
  box-shadow: none;
  background: transparent;
}
.footer-newsletter-form .btn-accent {
  border-radius: 100px;
}

#mainFooter {
  background: #07101e;
  color: rgba(255, 255, 255, 0.75);
  padding: 110px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid #0d6efd;
}
.footer-top-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(13, 110, 253, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(25, 135, 84, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.footer-logo-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.footer-logo-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.footer-badge-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 7px 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}
.footer-badge-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(3px);
}
.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.footer-social-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}
.footer-social-btn.whatsapp-btn:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.footer-column-heading {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: -0.2px;
}
.footer-column-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #f4b400);
  border-radius: 100px;
}
.footer-nav-list li {
  margin-bottom: 11px;
}
.footer-nav-list a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.footer-nav-list a i {
  font-size: 0.7rem;
  color: rgba(13, 110, 253, 0.8);
  transition: transform 0.2s ease;
}
.footer-nav-list a:hover {
  color: #ffffff;
  padding-left: 5px;
}
.footer-nav-list a:hover i {
  color: var(--accent);
  transform: translateX(2px);
}
.footer-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.hover-white:hover {
  color: #ffffff !important;
}
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 8, 16, 0.6);
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  text-decoration: none;
}
#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#backToTop:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  color: #ffffff;
}

#whatsappFloat {
  position: fixed;
  bottom: 88px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2.5s infinite;
}
#whatsappFloat:hover {
  background: #1eb956;
  color: var(--white);
  transform: scale(1.1);
}
@keyframes pulse-whatsapp {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 3px;
  background: var(--primary-light);
  border-radius: var(--radius-pill);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 40px;
  position: relative;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}
.timeline-item .dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-primary);
  z-index: 2;
}
.timeline-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  max-width: 420px;
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}
.timeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.timeline-card .year {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.timeline-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.timeline-card p { font-size: 0.88rem; color: var(--gray); margin: 0; }
@media (max-width: 768px) {
  .timeline::before { left: 16px; }
  .timeline-item, .timeline-item:nth-child(even) {
    padding: 0 0 0 50px;
    justify-content: flex-start;
  }
  .timeline-item .dot { left: 16px; }
}

/* ============================================================
   MEMBER DASHBOARD
   ============================================================ */
.dashboard-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--dark);
  position: fixed;
  left: 0; top: 0;
  z-index: 1040;
  overflow-y: auto;
  transition: var(--transition);
}
.dashboard-main {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--bg);
  transition: var(--transition);
}
.sidebar-logo {
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-logo .brand { color: var(--white); font-weight: 800; font-size: 1.1rem; }
.sidebar-logo .sub { color: rgba(255,255,255,.5); font-size: 0.72rem; }
.sidebar-user {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-user img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.sidebar-user .info .name {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}
.sidebar-user .info .mem-id {
  color: rgba(255,255,255,.5);
  font-size: 0.75rem;
}
.sidebar-nav { padding: 16px 0; }
.sidebar-nav .nav-section {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: 12px 22px 6px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
  border-radius: 0;
  border-left: 3px solid transparent;
}
.sidebar-nav a i { width: 18px; text-align: center; font-size: 0.9rem; }
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(13,110,253,.15);
  color: var(--white);
  border-left-color: var(--primary);
}
.dashboard-topbar {
  background: var(--white);
  padding: 16px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.dashboard-content { padding: 28px; }
.dash-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
}
.stat-widget {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}
.stat-widget:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stat-widget .w-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.stat-widget .w-count { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat-widget .w-label { font-size: 0.82rem; color: var(--gray); }

/* ID Card */
.id-card {
  width: 340px;
  background: var(--grad-primary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  color: var(--white);
}
.id-card .card-header-band {
  background: rgba(255,255,255,.15);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.id-card .card-body-band { padding: 20px; }
.id-card img.member-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.5);
}
.id-card .member-name { font-size: 1.1rem; font-weight: 700; }
.id-card .member-id { font-size: 0.75rem; color: rgba(255,255,255,.75); }

@media (max-width: 992px) {
  .dashboard-sidebar { transform: translateX(-100%); }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-sidebar {
  width: 240px;
  background: #1e2a38;
  min-height: 100vh;
  position: fixed;
  left: 0; top: 0;
  z-index: 1040;
  overflow-y: auto;
  transition: var(--transition);
}
.admin-main { margin-left: 240px; min-height: 100vh; background: #f0f4f8; }
.admin-topbar {
  background: var(--white);
  padding: 14px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-content { padding: 24px; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
}
.admin-sidebar .brand {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}
.admin-sidebar .nav-section {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 14px 20px 6px;
  font-weight: 700;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
}
.admin-sidebar a i { width: 16px; text-align: center; }
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: rgba(255,255,255,.07);
  color: var(--white);
  border-left-color: var(--primary);
}
.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.admin-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.admin-stat-card h3 { font-size: 2rem; font-weight: 800; color: var(--dark); }
.admin-stat-card p { font-size: 0.85rem; color: var(--gray); margin: 0; }

/* Tables */
.table-custom { border-collapse: collapse; width: 100%; }
.table-custom thead th {
  background: #f8fafd;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-3);
  border: none;
  border-bottom: 2px solid #e9ecef;
  white-space: nowrap;
}
.table-custom tbody td {
  padding: 12px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid #f0f2f5;
  vertical-align: middle;
}
.table-custom tbody tr:hover { background: #f8fafd; }

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-status.pending  { background: #fff3cd; color: #856404; }
.badge-status.approved { background: #d1e7dd; color: #0f5132; }
.badge-status.rejected { background: #f8d7da; color: #842029; }
.badge-status.completed{ background: #d1e7dd; color: #0f5132; }
.badge-status.ongoing  { background: #cfe2ff; color: #084298; }
.badge-status.upcoming { background: #fff3cd; color: #856404; }

/* ============================================================
   ALERTS & NOTIFICATIONS
   ============================================================ */
.alert {
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
}
.alert-success { background: #d1e7dd; color: #0f5132; }
.alert-danger  { background: #f8d7da; color: #842029; }
.alert-warning { background: #fff3cd; color: #856404; }
.alert-info    { background: #cfe2ff; color: #084298; }

/* ============================================================
   DONATION PAGE
   ============================================================ */
.donate-hero {
  background: var(--grad-hero);
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.donate-hero p  { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.pay-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pay-method-btn {
  border: 2px solid #e9ecef;
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}
.pay-method-btn:hover, .pay-method-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.pay-method-btn i { font-size: 1.4rem; display: block; margin-bottom: 5px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  height: 100%;
}
.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-info-item .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item .label { font-size: 0.8rem; color: var(--gray); font-weight: 600; margin-bottom: 3px; }
.contact-info-item .value { font-size: 0.95rem; color: var(--dark); font-weight: 600; }
.contact-info-item .value a { color: var(--dark); }
.contact-info-item .value a:hover { color: var(--primary); }
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   MEMBER APPLY / LOGIN PAGE
   ============================================================ */
.auth-section {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 45px;
  box-shadow: var(--shadow-xl);
  max-width: 520px;
  margin: auto;
}
.auth-card .auth-logo {
  text-align: center;
  margin-bottom: 30px;
}
.auth-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.auth-card .subtitle { color: var(--gray); font-size: 0.9rem; }
.step-indicator {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}
.step-dot {
  width: 32px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  transition: var(--transition);
}
.step-dot.active { background: var(--primary); width: 48px; }
.step-dot.done   { background: var(--secondary); }
@media (max-width: 576px) {
  .auth-card { padding: 30px 20px; }
}

/* ============================================================
   SUCCESS / THANK YOU PAGE
   ============================================================ */
.success-section {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  max-width: 560px;
  margin: auto;
}
.success-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 25px;
  animation: pop-in .5s cubic-bezier(.36,.07,.19,.97);
}
@keyframes pop-in {
  0%   { transform: scale(0); }
  80%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ============================================================
   POPUPS & MODALS
   ============================================================ */
.modal-content {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}
.modal-header {
  background: var(--grad-primary);
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--white);
  border: none;
  padding: 20px 25px;
}
.modal-header .modal-title { color: var(--white); font-weight: 700; }
.modal-header .btn-close { filter: invert(1); }

/* ============================================================
   MISCELLANEOUS
   ============================================================ */
/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity .4s ease, visibility .4s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo { width: 80px; animation: float 2s ease infinite; }
.preloader-bar {
  width: 180px;
  height: 4px;
  background: var(--bg-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  animation: loading-bar 1.2s ease infinite;
}
@keyframes loading-bar {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Section wave divider */
.wave-top {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  margin-bottom: -2px;
}
.wave-bottom {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}

/* Responsive */
@media (max-width: 1200px) { .admin-main { margin-left: 0; } .admin-sidebar { transform: translateX(-100%); } .admin-sidebar.open { transform: translateX(0); } }
@media (max-width: 768px) {
  .section-py { padding: 60px 0; }
  .timeline-item, .timeline-item:nth-child(even) { padding-left: 50px; padding-right: 0; justify-content: flex-start; }
  .timeline::before { left: 16px; }
  .timeline-item .dot { left: 16px; }
  .pay-method-grid { grid-template-columns: repeat(2, 1fr); }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  #heroSlider { height: 100svh; }
  .counter-item + .counter-item::before { display: none; }
  .donation-form-card { padding: 24px 18px; }
  .slide-content h1 { font-size: 1.8rem; }
  .slide-stats { gap: 12px; }
  .slide-stats .stat { padding: 10px 14px; }
  .slide-stats .stat .num { font-size: 1.4rem; }
}
