/* ================================================================
   EARTH ASSOCIATION - Premium NGO CSS
   Earth-themed Design: Green + Blue + White
   Author: Earth Association Dev Team
   ================================================================ */

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
  /* Brand Palette */
  --ea-green-50:  hsl(142, 72%, 95%);
  --ea-green-100: hsl(142, 70%, 88%);
  --ea-green-200: hsl(142, 68%, 75%);
  --ea-green-400: hsl(142, 65%, 52%);
  --ea-green-500: hsl(142, 70%, 42%);
  --ea-green-600: hsl(142, 72%, 34%);
  --ea-green-700: hsl(142, 75%, 26%);
  --ea-green-800: hsl(142, 78%, 18%);

  --ea-blue-50:  hsl(210, 80%, 96%);
  --ea-blue-100: hsl(210, 78%, 89%);
  --ea-blue-400: hsl(210, 72%, 58%);
  --ea-blue-500: hsl(210, 75%, 48%);
  --ea-blue-600: hsl(210, 78%, 38%);
  --ea-blue-700: hsl(210, 80%, 28%);

  --ea-primary:   var(--ea-green-600);
  --ea-secondary: var(--ea-blue-600);
  --ea-accent:    hsl(36, 90%, 55%);  /* gold accent */
  
  /* Neutrals */
  --ea-dark:    hsl(142, 20%, 8%);
  --ea-dark-2:  hsl(142, 15%, 12%);
  --ea-dark-3:  hsl(142, 10%, 18%);
  --ea-gray-1:  hsl(0, 0%, 40%);
  --ea-gray-2:  hsl(0, 0%, 65%);
  --ea-gray-3:  hsl(0, 0%, 92%);
  --ea-light:   hsl(142, 25%, 97%);
  --ea-white:   #ffffff;

  /* Typography */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md:  0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg:  0 8px 40px rgba(0, 0, 0, 0.14);
  --shadow-xl:  0 20px 60px rgba(0, 0, 0, 0.18);
  --shadow-green: 0 8px 32px rgba(26, 107, 58, 0.25);
  --shadow-blue:  0 8px 32px rgba(21, 101, 192, 0.20);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

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

/* ── Announcement Bar ──────────────────────────────────────────── */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, var(--ea-green-600), var(--ea-blue-600));
  color: var(--ea-white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  height: 38px;
  display: flex;
  align-items: center;
}
.announcement-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  height: 100%;
}
.announcement-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Navbar ────────────────────────────────────────────────────── */
.ea-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
}

body.has-announcement {
  padding-top: 38px;
}
body.has-announcement .ea-navbar {
  top: 38px;
}

/* Default colors (Mobile-first, solid white navbar theme) */
.ea-navbar .nav-link,
.ea-navbar .navbar-brand {
  color: var(--ea-dark) !important;
}
.ea-navbar .nav-link:hover,
.ea-navbar .nav-link.active {
  color: var(--ea-primary) !important;
}
.ea-navbar .ea-toggler {
  color: var(--ea-dark) !important;
}

/* Desktop-only transparent header styles, overlaying hero sections */
@media (min-width: 992px) {
  .ea-navbar:not(.scrolled) {
    background: transparent;
    box-shadow: none;
    padding: 16px 0;
  }
  .ea-navbar:not(.scrolled) .nav-link,
  .ea-navbar:not(.scrolled) .navbar-brand {
    color: rgba(255, 255, 255, 0.92) !important;
  }
  .ea-navbar:not(.scrolled) .nav-link:hover,
  .ea-navbar:not(.scrolled) .nav-link.active {
    color: var(--ea-white) !important;
  }
  .ea-navbar:not(.scrolled) .ea-toggler {
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .ea-navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
  }
  .ea-navbar.scrolled .nav-link,
  .ea-navbar.scrolled .navbar-brand {
    color: var(--ea-dark) !important;
  }
  .ea-navbar.scrolled .nav-link:hover,
  .ea-navbar.scrolled .nav-link.active {
    color: var(--ea-primary) !important;
  }
  .ea-navbar.scrolled .ea-toggler {
    color: var(--ea-dark) !important;
  }
}

/* Brand */
.ea-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.ea-logo-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.1;
}
.brand-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.7;
  text-transform: uppercase;
}

/* Nav links */
.nav-link {
  font-weight: 500;
  font-size: 0.87rem;
  padding: 6px 12px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--ea-primary);
  border-radius: var(--radius-full);
}

/* Dropdown */
.ea-dropdown {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 8px;
  min-width: 200px;
  animation: dropdownIn 0.2s ease forwards;
}
.ea-dropdown .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}
.ea-dropdown .dropdown-item:hover {
  background: var(--ea-green-50);
  color: var(--ea-primary);
  transform: translateX(4px);
}

/* Toggler */
.ea-toggler {
  border: none;
  background: none;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.ea-toggler:focus {
  outline: none;
  box-shadow: none;
}
.toggler-icon,
.ea-toggler::before,
.ea-toggler::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

/* Toggler morphing to X when menu is expanded */
.ea-toggler[aria-expanded="true"] .toggler-icon {
  opacity: 0;
  transform: scale(0);
}
.ea-toggler[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}
.ea-toggler[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}


/* Buttons */
.ea-btn-primary {
  background: linear-gradient(135deg, var(--ea-green-600), var(--ea-blue-600));
  color: var(--ea-white) !important;
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 22px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-green);
}
.ea-btn-primary:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 36px rgba(26, 107, 58, 0.4);
  color: var(--ea-white) !important;
}

.ea-btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--ea-white) !important;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition);
}
.ea-btn-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.8);
  color: var(--ea-white) !important;
}
.scrolled .ea-btn-outline {
  border-color: var(--ea-primary);
  color: var(--ea-primary) !important;
  background: transparent;
}
.scrolled .ea-btn-outline:hover {
  background: var(--ea-green-50);
}
.scrolled .ea-btn-outline[href*="membership.php"] {
  border-color: var(--ea-primary) !important;
  color: var(--ea-white) !important;
  background: var(--ea-primary) !important;
}
.scrolled .ea-btn-outline[href*="membership.php"]:hover {
  background: var(--ea-green-700) !important;
  border-color: var(--ea-green-700) !important;
}

/* ── Hero Section ──────────────────────────────────────────────── */
.ea-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, 
    hsl(142, 75%, 10%) 0%, 
    hsl(142, 60%, 15%) 35%, 
    hsl(210, 65%, 18%) 65%, 
    hsl(210, 75%, 12%) 100%);
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--ea-white);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: slideDown 0.6s ease both;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--ea-accent);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--ea-white);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: slideUp 0.7s ease both 0.1s;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--ea-green-400), var(--ea-blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 40px;
  animation: slideUp 0.7s ease both 0.2s;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
  animation: slideUp 0.7s ease both 0.3s;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--ea-green-500), var(--ea-green-600));
  color: var(--ea-white);
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 36px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-green);
  transition: var(--transition-bounce);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(26, 107, 58, 0.5);
  color: var(--ea-white);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--ea-white);
  border: 2px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 14px 36px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.22);
  color: var(--ea-white);
  border-color: rgba(255,255,255,0.6);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  animation: slideUp 0.7s ease both 0.4s;
}
.hero-stat {
  text-align: center;
  padding: 16px 24px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.hero-stat:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.hero-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6fff9e, #78d2f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero Image Split Carousel Layout */
@media (min-width: 992px) {
  .ea-hero .container {
    max-width: 100%;
    padding-left: calc((100vw - 1200px) / 2 + 15px);
    padding-right: 0;
  }
  .ea-hero .row {
    margin-right: 0;
  }
  .hero-image-split {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  }
  /* Shadow gradient overlays for readability and premium look */
  .hero-image-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(13,31,20,0.85) 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
  }
  .hero-image-split::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,31,20,0.7) 0%, rgba(13,31,20,0.1) 40%, transparent 80%);
    z-index: 2;
    pointer-events: none;
  }
}

@media (max-width: 991px) {
  .hero-image-split {
    width: 100%;
    height: 450px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  .hero-image-split::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
  }
}

/* Captions inside slides */
.collage-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: var(--ea-white);
  font-weight: 700;
  font-size: 1rem;
  z-index: 4;
  background: rgba(13, 31, 20, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  animation: slideUp 0.6s ease both;
}

@media (max-width: 768px) {
  .collage-caption {
    bottom: 20px;
    left: 20px;
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

/* ── Section Styles ────────────────────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ea-green-50);
  color: var(--ea-green-600);
  border: 1px solid var(--ea-green-100);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-badge.blue {
  background: var(--ea-blue-50);
  color: var(--ea-blue-600);
  border-color: var(--ea-blue-100);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ea-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ea-gray-1);
  max-width: 580px;
  line-height: 1.75;
}

/* Divider */
.ea-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--ea-green-500), var(--ea-blue-500));
  border-radius: var(--radius-full);
  margin: 16px 0 24px;
}

/* ── About Section ─────────────────────────────────────────────── */
.about-section {
  padding: 100px 0;
  background: var(--ea-white);
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.about-img-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--ea-green-600), var(--ea-blue-600));
  color: var(--ea-white);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-img-badge .num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.about-img-badge .label {
  font-size: 0.75rem;
  opacity: 0.85;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ea-white);
  border: 1px solid var(--ea-gray-3);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-sm);
}
.stat-card:hover {
  border-color: var(--ea-green-200);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}
.stat-card-icon {
  width: 52px;
  height: 52px;
  background: var(--ea-green-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ea-green-600);
  flex-shrink: 0;
}
.stat-card-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ea-dark);
  line-height: 1;
}
.stat-card-label {
  font-size: 0.8rem;
  color: var(--ea-gray-1);
  font-weight: 500;
}

/* ── Mission / Vision ──────────────────────────────────────────── */
.mission-section {
  padding: 100px 0;
  background: linear-gradient(160deg, hsl(142, 40%, 97%) 0%, hsl(210, 40%, 97%) 100%);
  position: relative;
  overflow: hidden;
}
.mission-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ea-green-100), transparent 70%);
  pointer-events: none;
}

.goal-card {
  background: var(--ea-white);
  border: 1px solid var(--ea-gray-3);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}
.goal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--ea-green-500), var(--ea-blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.goal-card:hover::before { transform: scaleX(1); }
.goal-card:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-6px);
}
.goal-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--ea-green-500), var(--ea-blue-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--ea-white);
  margin-bottom: 20px;
  box-shadow: var(--shadow-green);
}

/* ── Activities ─────────────────────────────────────────────────── */
.activities-section {
  padding: 100px 0;
  background: var(--ea-white);
}

.activity-card {
  background: var(--ea-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
  position: relative;
  height: 100%;
}
.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.activity-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
  transition: var(--transition-slow);
}
.activity-card:hover .activity-img { transform: scale(1.06); }
.activity-img-wrap { overflow: hidden; position: relative; }
.activity-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.activity-body { padding: 24px; }
.activity-tag {
  display: inline-block;
  background: var(--ea-green-50);
  color: var(--ea-green-600);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.activity-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ea-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.activity-desc {
  color: var(--ea-gray-1);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ── Impact / Donation Section ─────────────────────────────────── */
.impact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--ea-green-800) 0%, var(--ea-blue-700) 100%);
  position: relative;
  overflow: hidden;
}
.impact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.impact-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition-bounce);
  position: relative;
}
.impact-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-6px);
}
.impact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.impact-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ea-white);
  line-height: 1;
  margin-bottom: 8px;
}
.impact-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Progress bars */
.ea-progress {
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  overflow: hidden;
  margin-bottom: 8px;
}
.ea-progress-bar {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--ea-green-400), var(--ea-blue-400));
  transition: width 1.5s ease;
}

/* ── Membership Benefits ───────────────────────────────────────── */
.membership-section {
  padding: 100px 0;
  background: var(--ea-light);
}

.benefit-card {
  background: var(--ea-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  border: 2px solid transparent;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-sm);
}
.benefit-card:hover {
  border-color: var(--ea-green-400);
  box-shadow: var(--shadow-green);
  transform: translateY(-8px);
}
.benefit-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--ea-green-50), var(--ea-blue-50));
  border: 2px solid var(--ea-green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, var(--ea-green-500), var(--ea-blue-500));
  color: var(--ea-white);
  border-color: transparent;
  box-shadow: var(--shadow-green);
}
.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ea-dark);
  margin-bottom: 10px;
}
.benefit-desc {
  font-size: 0.87rem;
  color: var(--ea-gray-1);
  line-height: 1.7;
}

/* ── News Section ──────────────────────────────────────────────── */
.news-section {
  padding: 100px 0;
  background: var(--ea-white);
}

.news-card {
  background: var(--ea-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
  height: 100%;
  border: 1px solid var(--ea-gray-3);
}
.news-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}
.news-img { height: 200px; object-fit: cover; width: 100%; }
.news-body { padding: 24px; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--ea-gray-2);
}
.news-category {
  background: var(--ea-green-50);
  color: var(--ea-green-600);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ea-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-excerpt {
  font-size: 0.87rem;
  color: var(--ea-gray-1);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Gallery ────────────────────────────────────────────────────── */
.gallery-section { padding: 100px 0; background: var(--ea-light); }
.gallery-grid { columns: 3; gap: 16px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { 
  width: 100%; 
  display: block; 
  transition: var(--transition-slow);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text { color: var(--ea-white); font-size: 0.85rem; font-weight: 600; }

/* ── Testimonials ───────────────────────────────────────────────── */
.testimonials-section { padding: 100px 0; background: var(--ea-white); }
.testimonial-card {
  background: var(--ea-white);
  border: 1px solid var(--ea-gray-3);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  height: 100%;
  position: relative;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-sm);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-6px);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: var(--font-display);
  color: var(--ea-green-100);
  line-height: 1;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ea-gray-1);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ea-green-200);
}
.testimonial-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ea-green-500), var(--ea-blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ea-white);
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--ea-dark); }
.testimonial-role { font-size: 0.78rem; color: var(--ea-gray-2); }
.stars { color: var(--ea-accent); font-size: 0.85rem; margin-bottom: 16px; }

/* ── CTA Section ────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--ea-green-700) 0%, var(--ea-blue-700) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ea-white);
  margin-bottom: 20px;
}
.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ── Contact Section ────────────────────────────────────────────── */
.contact-section { padding: 100px 0; background: var(--ea-light); }
.contact-card {
  background: var(--ea-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ea-gray-3);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--ea-green-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--ea-green-600);
  flex-shrink: 0;
}

/* ── Forms ──────────────────────────────────────────────────────── */
.ea-form .form-control,
.ea-form .form-select {
  border: 2px solid var(--ea-gray-3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--ea-white);
}
.ea-form .form-control:focus,
.ea-form .form-select:focus {
  border-color: var(--ea-green-400);
  box-shadow: 0 0 0 4px var(--ea-green-50);
  outline: none;
}
.ea-form label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ea-dark-3);
  margin-bottom: 6px;
}
.ea-form .form-control::placeholder { color: var(--ea-gray-2); }

.btn-ea-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--ea-green-600), var(--ea-blue-600));
  color: var(--ea-white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 14px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-green);
}
.btn-ea-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 107, 58, 0.4);
  color: var(--ea-white);
}

/* ── Hero Page Banner (inner pages) ───────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--ea-green-800) 0%, var(--ea-blue-700) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ea-white);
  margin-bottom: 16px;
  position: relative;
}
.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb-ea {
  margin-bottom: 24px;
  position: relative;
}
.breadcrumb-ea .breadcrumb {
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 6px 20px;
  display: inline-flex;
  margin: 0;
}
.breadcrumb-ea .breadcrumb-item a { color: rgba(255,255,255,0.75); }
.breadcrumb-ea .breadcrumb-item.active { color: rgba(255,255,255,0.95); }
.breadcrumb-ea .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ── Footer ─────────────────────────────────────────────────────── */
.ea-footer {
  background: var(--ea-dark);
  color: rgba(255,255,255,0.75);
  position: relative;
}
.footer-wave {
  line-height: 0;
  margin-top: -2px;
}
.footer-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}
.footer-main { padding: 80px 0 48px; }
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ea-white);
  margin: 0;
  line-height: 1.1;
}
.footer-logo span {
  font-size: 0.72rem;
  color: var(--ea-green-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}
.footer-reg {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition-bounce);
}
.footer-social a:hover {
  background: var(--ea-primary);
  border-color: var(--ea-primary);
  color: var(--ea-white);
  transform: translateY(-3px);
}
.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ea-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--ea-green-500);
  border-radius: var(--radius-full);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--ea-green-400);
}
.footer-links a:hover { color: var(--ea-white); padding-left: 4px; }
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact i {
  color: var(--ea-green-400);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--ea-green-400); }
.footer-newsletter .form-control {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--ea-white);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter .form-control:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--ea-green-400);
  box-shadow: none;
  color: var(--ea-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-bottom a:hover { color: var(--ea-green-400); }
.footer-admin-link { opacity: 0.4; }
.footer-admin-link:hover { opacity: 1; }

/* ── Back to Top ────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ea-green-600), var(--ea-blue-600));
  color: var(--ea-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition-bounce);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 107, 58, 0.5);
}

/* ── Glassmorphism Card ──────────────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-xl);
}

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Utility Classes ────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--ea-green-500), var(--ea-blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #f6d365, #fda085);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-light-ea { background-color: var(--ea-light) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.shadow-ea { box-shadow: var(--shadow-green) !important; }

/* ── Loading Overlay ────────────────────────────────────────────── */
.ea-loader {
  position: fixed;
  inset: 0;
  background: var(--ea-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}
.ea-loader.hidden { opacity: 0; pointer-events: none; }
.loader-spinner {
  width: 52px;
  height: 52px;
  border: 3px solid var(--ea-gray-3);
  border-top-color: var(--ea-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-bottom: 16px;
}

/* ── Badge Status ───────────────────────────────────────────────── */
.badge-pending  { background: #fff3cd; color: #856404; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .ea-navbar { 
    background: rgba(255, 255, 255, 0.96) !important; 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
  }
  .ea-navbar .navbar-brand { 
    color: var(--ea-dark) !important; 
  }
  .ea-navbar .nav-link { 
    color: var(--ea-dark) !important; 
  }
  .ea-navbar .nav-link:hover,
  .ea-navbar .nav-link.active { 
    color: var(--ea-primary) !important; 
  }
  .ea-navbar .ea-toggler {
    color: var(--ea-dark) !important;
  }
  .ea-btn-outline { 
    border-color: var(--ea-primary) !important; 
    color: var(--ea-primary) !important; 
    background: transparent !important; 
  }
  
  /* Responsive spacing & layout */
  .ea-navbar .navbar-collapse {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--ea-gray-3);
  }
  .ea-navbar .navbar-nav {
    gap: 8px;
    margin-bottom: 8px;
  }
  .ea-navbar .nav-item {
    width: 100%;
  }
  .ea-navbar .nav-link {
    padding: 10px 14px !important;
    border-radius: var(--radius-md);
  }
  .ea-navbar .nav-link.active::after {
    display: none; /* Hide bottom line active indicator on mobile */
  }
  .ea-navbar .nav-link.active {
    background: var(--ea-green-50);
  }
  
  /* Buttons on mobile */
  .ea-navbar .ea-btn-primary,
  .ea-navbar .ea-btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    margin: 6px 0;
    padding: 10px 20px;
    border-radius: var(--radius-full);
  }
  
  /* Dropdown on mobile */
  .ea-dropdown {
    box-shadow: none !important;
    background: var(--ea-gray-3) !important;
    border-radius: var(--radius-md) !important;
    margin: 4px 12px !important;
    padding: 8px !important;
    position: static !important; /* expand inline */
    width: auto !important;
    float: none !important;
  }
  .ea-dropdown .dropdown-item {
    padding: 8px 16px !important;
    transform: none !important;
  }
  .ea-dropdown .dropdown-item:hover {
    transform: none !important;
  }
  
  .gallery-grid { columns: 2; }
  .hero-stats { justify-content: center; }
}
@media (max-width: 575.98px) {
  .announcement-bar span {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 40px);
  }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .gallery-grid { columns: 1; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
  section { padding: 60px 0 !important; }
}

/* ── E-Book Resource Section ───────────────────────────────────── */
.resource-download-card {
  background: var(--ea-white);
  border: 1px solid rgba(26, 107, 58, 0.15);
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resource-download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(26, 107, 58, 0.08);
}
.resource-download-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.resource-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 107, 58, 0.08);
  color: var(--ea-green-600);
  border: 1px solid rgba(26, 107, 58, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.resource-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ea-green-700);
  line-height: 1.2;
  margin-bottom: 16px;
}
.resource-description {
  color: var(--ea-gray-6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 600px;
}
.resource-action-link {
  display: inline-flex;
  align-items: center;
  color: var(--ea-green-600);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap 0.2s ease, color 0.2s ease;
}
.resource-action-link:hover {
  color: var(--ea-primary);
  gap: 12px;
}

/* QR Code Card container */
.qr-wrapper-card {
  background: var(--ea-white);
  border: 1px solid var(--ea-gray-2);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  text-align: center;
  min-width: 220px;
  max-width: 250px;
  transition: var(--transition-bounce);
}
.qr-wrapper-card:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 15px 35px rgba(26,107,58,0.12);
}
.qr-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 10px;
}
.qr-label {
  color: var(--ea-green-600);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .resource-download-card {
    flex-direction: column;
    padding: 32px;
    gap: 32px;
    text-align: center;
  }
  .resource-description {
    margin-left: auto;
    margin-right: auto;
  }
  .qr-wrapper-card {
    margin: 0 auto;
  }
}
