/* ==========================================================================
   CSS CORE DESIGN SYSTEM - FUNDACIÓN PASOS
   ========================================================================== */

/* 1. IMPORTS & GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

/* 2. DESIGN SYSTEM VARIABLES */
:root {
  /* HSL Tailored Curated Palette - Adapted to Cool Blue/Purple Brand Logo */
  --primary-hue: 212;   /* Royal Blue matching the logo "PASOS" lettering */
  --secondary-hue: 265; /* Violet/Purple for elegant cold brand accents */
  --neutral-hue: 220;   /* Cool Slate/Grey for base backgrounds and text */

  --color-primary: hsl(var(--primary-hue), 90%, 52%);
  --color-primary-hover: hsl(var(--primary-hue), 95%, 46%);
  --color-primary-light: hsl(var(--primary-hue), 100%, 94%);
  --color-primary-opaque: hsla(var(--primary-hue), 90%, 52%, 0.15);

  --color-secondary: hsl(var(--secondary-hue), 75%, 50%);
  --color-secondary-hover: hsl(var(--secondary-hue), 80%, 42%);
  --color-secondary-light: hsl(var(--secondary-hue), 80%, 93%);
  --color-secondary-opaque: hsla(var(--secondary-hue), 75%, 50%, 0.15);

  --color-bg-base: hsl(var(--neutral-hue), 25%, 98%);
  --color-bg-card: hsl(0, 0%, 100%);
  --color-bg-header: hsla(var(--neutral-hue), 25%, 98%, 0.85);

  --color-text-main: hsl(var(--neutral-hue), 25%, 12%);
  --color-text-muted: hsl(var(--neutral-hue), 12%, 42%);
  --color-text-light: hsl(var(--neutral-hue), 10%, 65%);
  --color-text-white: hsl(0, 0%, 100%);

  --color-border: hsl(var(--neutral-hue), 15%, 90%);
  --color-border-hover: hsl(var(--neutral-hue), 20%, 82%);

  /* Typography */
  --font-title: 'Fredoka', 'Quicksand', system-ui, -apple-system, sans-serif;
  --font-subtitle: 'Quicksand', 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 8px hsla(var(--neutral-hue), 20%, 10%, 0.04);
  --shadow-md: 0 8px 24px hsla(var(--neutral-hue), 25%, 10%, 0.06);
  --shadow-lg: 0 16px 40px hsla(var(--neutral-hue), 30%, 15%, 0.09);
  --shadow-button: 0 4px 12px hsla(var(--primary-hue), 90%, 52%, 0.3);
  --shadow-button-sec: 0 4px 12px hsla(var(--secondary-hue), 75%, 50%, 0.25);

  /* Border Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Max Widths */
  --max-width-site: 1200px;
  --max-width-text: 750px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* 4. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-main);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  position: relative;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

p.lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), hsl(var(--secondary-hue), 85%, 52%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-secondary {
  background: linear-gradient(135deg, var(--color-secondary), hsl(var(--primary-hue), 80%, 45%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 5. STRUCTURE & LAYOUT */
.container {
  width: 90%;
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 80px 0;
  position: relative;
}

/* 6. GLASSMORPHIC HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--color-bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
  background-color: hsla(var(--neutral-hue), 40%, 98%, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 80%;
  max-width: 250px;
}

.brand-logo img {
  height: 100%;
  width: auto;
  border-radius: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-subtitle);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  width: 100%;
}

/* Burger Mobile Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: var(--color-text-main);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

/* Burger Active States */
.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: hsla(var(--neutral-hue), 25%, 12%, 0.4);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* 7. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-subtitle);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(var(--primary-hue), 90%, 52%, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-white);
  box-shadow: var(--shadow-button-sec);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(var(--secondary-hue), 75%, 50%, 0.35);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 2px solid var(--color-border);
  color: var(--color-text-main);
  background-color: transparent;
}

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

/* 8. HERO BANNER */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: radial-gradient(circle at 80% 20%, hsla(var(--primary-hue), 100%, 93%, 0.4) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, hsla(var(--secondary-hue), 80%, 93%, 0.4) 0%, transparent 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-family: var(--font-subtitle);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-content p {
  margin-bottom: 2rem;
  max-width: var(--max-width-text);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--color-bg-card);
  animation: blobby 12s ease-in-out infinite alternate;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
}

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

.hero-bg-accent-1 {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-color: var(--color-primary-opaque);
  border-radius: var(--radius-full);
  filter: blur(10px);
  z-index: -1;
}

.hero-bg-accent-2 {
  position: absolute;
  bottom: -30px;
  left: -10px;
  width: 150px;
  height: 150px;
  background-color: var(--color-secondary-opaque);
  border-radius: var(--radius-full);
  filter: blur(15px);
  z-index: -1;
}

/* 9. SHAPED SECTIONS DIVIDERS */
.divider-wave-top, .divider-wave-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.divider-wave-top {
  top: 0;
}

.divider-wave-bottom {
  bottom: 0;
}

.divider-wave-top svg, .divider-wave-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100%;
}

.divider-fill-base {
  fill: var(--color-bg-base);
}

.divider-fill-card {
  fill: var(--color-bg-card);
}

/* 10. GRID & CARD COMPONENT SYSTEMS */
.section-header {
  text-align: center;
  max-width: var(--max-width-text);
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  margin: 0.75rem auto 0 auto;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card-premium {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(var(--primary-hue), 90%, 52%, 0.2);
}

.card-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.bg-primary-light {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.bg-secondary-light {
  background-color: var(--color-secondary-light);
  color: var(--color-secondary);
}

.card-premium h3 {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-family: var(--font-subtitle);
  color: var(--color-primary);
  margin-top: 1rem;
}

.card-link:hover {
  gap: 0.5rem;
}

/* 11. TIMELINE & STORY LAYOUTS */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--color-border);
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item-left {
  left: 0;
  text-align: right;
}

.timeline-item-right {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 2rem;
  width: 20px;
  height: 20px;
  background-color: var(--color-bg-card);
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-full);
  z-index: 1;
}

.timeline-item-left::after {
  right: -10px;
}

.timeline-item-right::after {
  left: -10px;
}

.timeline-card {
  background-color: var(--color-bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.timeline-year {
  display: inline-block;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-subtitle);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

/* 12. GALLERY LAYOUTS */
.gallery-wrapper {
  overflow: hidden;
  padding: 1rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--color-bg-card);
  transition: var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, hsla(var(--neutral-hue), 25%, 12%, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-overlay h4 {
  color: var(--color-text-white);
  font-size: 1.15rem;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* 13. FAQ ACCORDION COMPONENT */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-family: var(--font-subtitle);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text-main);
  transition: var(--transition-fast);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  transition: var(--transition-normal);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  background-color: hsla(var(--neutral-hue), 20%, 96%, 0.3);
}

.faq-content-inner {
  padding: 0 2rem 1.5rem 2rem;
  font-size: 1.02rem;
  color: var(--color-text-muted);
}

/* Active State Accordion */
.faq-item.active {
  border-color: hsla(var(--primary-hue), 90%, 52%, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-header h4 {
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

/* 14. FOOTER & COMPONENT WIDGETS */
footer {
  background-color: var(--color-text-main);
  color: hsl(var(--neutral-hue), 10%, 80%);
  padding: 80px 0 30px 0;
  font-size: 0.95rem;
  border-top: 6px solid var(--color-primary);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-widget h3 {
  color: var(--color-text-white);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-title);
  font-weight: 500;
}

.footer-widget p {
  color: hsl(var(--neutral-hue), 10%, 75%);
  margin-bottom: 1rem;
}

.footer-widget a {
  color: hsl(var(--neutral-hue), 10%, 75%);
}

.footer-widget a:hover {
  color: var(--color-primary);
}

.footer-brand-desc {
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-subtitle);
}

.footer-links-list a:hover {
  color: var(--color-primary);
  padding-left: 0.25rem;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: hsla(0, 0%, 100%, 0.08);
  color: var(--color-text-white);
  font-size: 1.3rem;
  transition: var(--transition-normal);
}

.social-icon-btn:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: hsl(var(--neutral-hue), 10%, 60%);
}

/* 15. CUSTOM DETAILS - MAPS, BLOGS, DONATIONS */
.map-iframe-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  line-height: 0;
  margin-bottom: 2rem;
}

.map-iframe-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* Contact Two Column */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-item-details h4 {
  font-family: var(--font-subtitle);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.contact-item-details p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Blog & Articles Cards */
.blog-post-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.blog-post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-meta {
  padding: 1.5rem 2rem 0.5rem 2rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-family: var(--font-subtitle);
  font-weight: 600;
  display: flex;
  gap: 1rem;
}

.blog-card-body {
  padding: 0.5rem 2rem 2rem 2rem;
  flex-grow: 1;
}

.blog-card-body h3 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-card-body p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Newsletter section style */
.newsletter-section {
  background-color: var(--color-secondary-light);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  margin-top: 4rem;
  box-shadow: var(--shadow-sm);
}

.newsletter-form {
  display: flex;
  max-width: 550px;
  margin: 2rem auto 0 auto;
  gap: 0.75rem;
}

.newsletter-input {
  flex-grow: 1;
  background-color: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px var(--color-secondary-opaque);
}

/* Donation Pages */
.bank-details-wrapper {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, hsl(var(--secondary-hue), 100%, 98%) 100%);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid hsla(var(--primary-hue), 90%, 52%, 0.15);
  box-shadow: var(--shadow-sm);
}

.bank-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.bank-detail-item h4 {
  font-family: var(--font-subtitle);
  color: var(--color-text-muted);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.bank-detail-item p {
  font-size: 1.4rem;
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0;
}

/* 16. ANIMATIONS */
@keyframes blobby {
  0% {
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  }
  100% {
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
  }
}

.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animation-delay-100 { animation-delay: 100ms; }
.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-300 { animation-delay: 300ms; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 17. RESPONSIVENESS */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 2rem;
  }
  .contact-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 2.5rem;
    gap: 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: right var(--transition-normal);
  }

  .nav-menu.active {
    right: 0;
  }

  .burger-menu {
    display: flex;
  }

  .hero {
    padding-top: 100px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-container {
    order: -1;
  }

  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item-left {
    text-align: left;
  }

  .timeline-item-right {
    left: 0;
  }

  .timeline-item::after {
    left: 10px !important;
    right: auto !important;
  }

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

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

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }
  .newsletter-input {
    border-radius: var(--radius-sm);
  }
  .newsletter-form .btn {
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .bank-details-wrapper {
    padding: 2rem;
  }
}
