/* SAVE PEACE IN UA - DESIGN SYSTEM & LAYOUT (WHITE THEME, BLUE & YELLOW ACCENTS) */

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

/* 2. Brand Colors & CSS Variables */
:root {
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-blue-light: #eef2f7;
  --bg-yellow-light: #fef9c3;
  
  --border-light: #e2e8f0;
  --border-focus: #05274F;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --brand-blue: #05274F;
  --brand-blue-hover: #031e3b;
  --brand-blue-glow: rgba(5, 39, 79, 0.1);
  
  --brand-yellow: #ffd700; /* Ukrainian Yellow */
  --brand-yellow-hover: #e6c200;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px -2px rgba(0,0,0,0.05), 0 2px 8px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 12px 30px -4px rgba(0,0,0,0.05), 0 4px 12px -2px rgba(0,0,0,0.03);
}

/* 3. Base Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

body {
  background-color: var(--bg-white);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background visual glows (light mode version) */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(5, 39, 79, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255, 215, 0, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* 4. Language Toggling System */
body.lang-uk [lang="en"] {
  display: none !important;
}

body.lang-en [lang="uk"] {
  display: none !important;
}

/* 5. Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

/* 6. Common Components & Layouts */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

section[id] {
  scroll-margin-top: 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
  font-weight: 600;
  border-bottom: 2px solid var(--brand-yellow);
  padding-bottom: 0.25rem;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
}

/* Glassmorphism/Premium Cards (Light Mode) */
.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

/* Interactive Hover States */
.hover-lift:hover {
  transform: translateY(-8px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-lg);
}

.hover-slide-right:hover {
  transform: translateX(6px);
  background: var(--bg-light);
}

.hover-scale {
  transition: var(--transition-smooth);
}
.hover-scale:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(5, 39, 79, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1rem;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: var(--bg-white);
  border: 1px solid var(--brand-blue);
}
.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
  box-shadow: 0 4px 15px rgba(5, 39, 79, 0.25);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--brand-blue);
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--brand-yellow);
  color: var(--text-primary);
  border: 1px solid var(--brand-yellow);
}
.btn-gold:hover {
  background-color: var(--brand-yellow-hover);
  border-color: var(--brand-yellow-hover);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.35);
  transform: translateY(-2px);
}

/* 8. Header / Navigation (Clean White Theme) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.header.scrolled {
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 0.25rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  transition: var(--transition-smooth);
}

.header.scrolled .container {
  height: 4.2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.logo-img {
  display: block;
}

.logo-wordmark {
  width: 10rem;
  height: auto;
  max-height: 3.9rem;
  object-fit: contain;
}

/* Navigation links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
}

/* Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 2rem;
  padding: 0.25rem;
  cursor: pointer;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-btn.active {
  background: var(--brand-blue);
  color: var(--bg-white);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

a:focus-visible,
button:focus-visible,
.form-control:focus-visible {
  outline: 3px solid rgba(5, 39, 79, 0.35);
  outline-offset: 3px;
}

/* 9. Hero Section (Full Background Image) */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 6rem;
  background-image: url('assets/hero/save-peace-hero-2026-07-17.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 11, 24, 0.45) 0%, rgba(8, 11, 24, 0.25) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

/* Glassmorphic card for Hero content */
.hero-glass-card {
  max-width: 820px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  padding: 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--brand-yellow);
  padding: 0.5rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
}

.hero-description {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-width: 14.5rem;
  white-space: normal;
  text-align: center;
}

.hero-img-credit {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 2;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
}

/* Partners Marquee CSS Ticker */
.marquee-container,
.partners-marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  width: 100%;
}

.partners-marquee {
  min-height: 5.25rem;
  contain: paint;
}

.marquee-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  background: var(--bg-white);
  padding: 0.5rem 2rem;
  border-right: 2px solid var(--brand-yellow);
  z-index: 10;
  box-shadow: 10px 0 15px rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  overflow: clip;
  width: 100%;
  min-width: 0;
  contain: paint;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  animation: marquee-scroll 30s linear infinite;
  padding-left: 1rem;
}

.marquee-logo {
  height: 2.2rem;
  width: auto;
  margin: 0 2rem;
  opacity: 1;
  transition: var(--transition-smooth);
}

.marquee-logo:hover {
  transform: scale(1.05);
}

@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* 10. Who We Are Section (Split Slide Layout) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-slide-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.quote-box {
  background: var(--bg-light);
  border-left: 4px solid var(--brand-blue);
  padding: 2rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin-top: 2rem;
}

.quote-text {
  font-style: italic;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.quote-author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 11. Impact Grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.impact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-smooth);
}

.impact-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.impact-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.impact-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.impact-submetrics {
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  text-align: left;
}

.submetric {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.submetric strong {
  color: var(--text-primary);
}

/* 12. Four Pillars / Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  gap: 2rem;
}

.service-card-brand {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service-card-brand:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-blue);
  font-family: var(--font-heading);
}

.read-more-link:hover {
  color: var(--brand-blue-hover);
}

/* 13. Section details (Slide layouts) */
.detail-section {
  border-top: 1px solid var(--border-light);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.detail-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.detail-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.features-list {
  display: grid;
  gap: 1rem;
}

.feature-bullet {
  background: var(--bg-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  border-left: 3px solid var(--brand-yellow);
  font-size: 0.95rem;
}

.support-audience-list {
  margin: 0.85rem 0 0 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.program-lead {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.program-lead-label {
  display: block;
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-lead h3 {
  margin-top: 0.35rem;
  font-size: 1.25rem;
}

.program-lead p {
  margin-top: 0.3rem;
  color: var(--text-secondary);
}

.detail-slide-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

/* 14. Podcast list styling */
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.podcast-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.podcast-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

.podcast-img-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.podcast-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-content {
  padding: 1.5rem 1.75rem;
}

.podcast-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.podcast-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 16. Instagram Reels Grid styling */
.reels-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.reels-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.reels-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.reels-visual-box {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--text-primary);
  cursor: pointer;
}

.reels-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s ease;
}

.reels-card:hover .reels-thumb {
  transform: scale(1.02);
}

.reels-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 39, 79, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: var(--transition-smooth);
}

.reels-card:hover .reels-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.play-btn-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1.25rem;
  padding-left: 0.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.reels-card:hover .play-btn-circle {
  transform: scale(1.1);
  background: var(--brand-yellow);
  color: var(--text-primary);
}

.reels-meta {
  padding: 1.25rem 1.5rem;
}

.reels-meta h5 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reels-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 17. Donation details grid */
.donate-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
}

.trust-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: -1rem 0 3rem;
}

.trust-proof-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--brand-yellow);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.trust-proof-item strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.trust-proof-item span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.donation-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.iban-details-grid {
  display: grid;
  gap: 1.25rem;
}

.iban-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 0.75rem;
}

.iban-item strong {
  color: var(--text-primary);
}

.iban-copy-text {
  font-family: monospace;
  font-size: 0.95rem;
  background: var(--bg-light);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border-light);
  display: inline-block;
  word-break: break-all;
}

.iban-copy-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.copy-btn {
  background: var(--brand-blue);
  color: var(--bg-white);
  border: 1px solid var(--brand-blue);
  border-radius: 0.45rem;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-status {
  min-height: 1.4rem;
  margin-top: 1rem;
  color: var(--brand-blue);
  font-size: 0.88rem;
  font-weight: 600;
}

/* 18. Contact & Footer sections */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--bg-blue-light);
  border: 1px solid rgba(5, 39, 79, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item-text p, .contact-item-text a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-item-text a:hover {
  color: var(--brand-blue);
}

.contact-socials {
  display: flex;
  gap: 1rem;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.contact-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-social-btn:hover svg {
  transform: scale(1.15);
}

.telegram-btn:hover {
  color: #0088cc;
  border-color: #0088cc;
  background: rgba(0, 136, 204, 0.05);
}

.instagram-btn:hover {
  color: #e1306c;
  border-color: #e1306c;
  background: rgba(225, 48, 108, 0.05);
}

.facebook-btn:hover {
  color: #1877f2;
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.05);
}

.tiktok-btn:hover {
  color: #010101;
  border-color: #010101;
  background: rgba(1, 1, 1, 0.05);
}

.youtube-btn:hover {
  color: #ff0000;
  border-color: #ff0000;
  background: rgba(255, 0, 0, 0.05);
}

/* Form controls */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 0.85rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(5, 39, 79, 0.15);
  background: var(--bg-white);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.form-status {
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--bg-blue-light);
  border: 1px solid rgba(5, 39, 79, 0.2);
  color: var(--brand-blue);
  animation: fade-in-up 0.5s ease-out;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

/* Footer structure */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0;
  background: var(--bg-light);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-blue);
}

/* 19. Scroll reveals observer utility classes */
.fade-in-trigger .fade-in-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-trigger.visible .fade-in-item {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-trigger.visible .fade-in-item:nth-child(1) { transition-delay: 0.05s; }
.fade-in-trigger.visible .fade-in-item:nth-child(2) { transition-delay: 0.15s; }
.fade-in-trigger.visible .fade-in-item:nth-child(3) { transition-delay: 0.25s; }
.fade-in-trigger.visible .fade-in-item:nth-child(4) { transition-delay: 0.35s; }

.timeline-outer.visible .slide-in-left {
  animation: slide-in-left-key 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.timeline-outer.visible .slide-in-right {
  animation: slide-in-right-key 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slide-in-left-key {
  0% { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right-key {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 20. Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .detail-grid, .reports-grid, .donate-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .trust-proof-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .services-grid, .podcast-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reels-placeholder-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .container {
    padding: 0 1.25rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .bg-glow-blob,
  .parallax-shape {
    display: none !important;
  }

  .header .container {
    height: 4rem;
    gap: 0.75rem;
  }

  .logo {
    flex: 1 1 auto;
    max-width: min(8.5rem, 40vw);
  }

  .logo-wordmark {
    width: 100%;
    max-height: 3.7rem;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    z-index: 999;
    box-shadow: var(--shadow-sm);
  }
  
  .nav-links.active {
    display: flex;
    animation: fade-in-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .btn-header-donate {
    display: none; /* Hide in mobile header, already in links */
  }
  
  .hero-title {
    font-size: 2.15rem;
    white-space: normal;
  }

  .hero {
    min-height: 0;
    padding-top: 6rem;
    padding-bottom: 3rem;
    align-items: flex-start;
  }

  .hero-glass-card {
    padding: 2.2rem 1.5rem;
    margin: 0 auto;
    border-radius: 1rem;
  }

  .hero-tagline {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
    min-height: 4rem;
    padding: 0.75rem 0.8rem;
    line-height: 1.35;
  }

  .partners-marquee {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 1.1rem 0 0.95rem;
    white-space: normal;
  }

  .partners-heading {
    width: 100%;
    padding: 0 1.25rem 0.8rem;
    border-right: 0;
    border-bottom: 2px solid var(--brand-yellow);
    box-shadow: none;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: left;
  }

  .marquee-wrapper {
    padding-top: 0.85rem;
    white-space: nowrap;
  }

  .marquee-content {
    padding-left: 0;
    animation-duration: 24s;
  }

  .marquee-logo {
    height: 1.85rem;
    max-width: 8.5rem;
    margin: 0 1.35rem;
    object-fit: contain;
  }
  
  .impact-grid,
  .services-grid,
  .podcast-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .impact-card,
  .service-card-brand {
    padding: 1.75rem;
    border-radius: 0.9rem;
  }

  .impact-num {
    font-size: 2.8rem;
    line-height: 1.05;
  }

  .impact-label {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .submetric {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem;
    justify-content: start;
    text-align: left;
  }

  .service-card-brand h3 {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .service-card-brand p {
    margin-bottom: 1.5rem;
  }

  .detail-content h2 {
    font-size: 2rem;
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .detail-content p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .feature-bullet {
    padding: 1rem 1.15rem;
    line-height: 1.6;
  }

  .contact-socials {
    flex-wrap: wrap;
  }

  .contact-social-btn {
    flex: 1 1 calc(50% - 0.75rem);
    justify-content: center;
    min-width: 0;
  }

  .contact-item-text a {
    overflow-wrap: anywhere;
  }

  .reels-placeholder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-outer::before {
    left: 1.5rem;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 3.5rem;
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 3.5rem;
  }
  
  .timeline-dot {
    left: calc(1.5rem - 7px) !important;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: calc(1.5rem - 7px) !important;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    gap: 0.65rem;
  }

  .lang-btn {
    padding: 0.32rem 0.62rem;
  }

  .hero-glass-card {
    padding: 1.9rem 1.35rem;
  }

  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .impact-card,
  .service-card-brand {
    padding: 1.5rem;
  }

  .impact-num {
    font-size: 2.45rem;
  }

  .contact-social-btn {
    flex-basis: 100%;
  }

  .reels-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .iban-item {
    grid-template-columns: 1fr;
  }
}

/* 19. Interactive Ambient Background Glow & Parallax Shapes */
.bg-glow-blob {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 39, 79, 0.12) 0%, rgba(254, 221, 0, 0.08) 50%, rgba(255, 255, 255, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.parallax-shape {
  position: absolute;
  pointer-events: none;
  z-index: -2;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.shape-1 {
  top: 15%;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(5, 39, 79, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.shape-2 {
  top: 65%;
  left: 3%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(254, 221, 0, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Performance and touch device optimizations */
@media (hover: none) {
  .bg-glow-blob, .parallax-shape {
    display: none !important;
  }
}

/* 20. Interactive Map of Aid Section */
.map-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: -2.5rem 0 2.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.map-legend-swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 0.25rem;
  border: 1px solid var(--brand-blue);
}

.map-legend-swatch.active {
  background: rgba(5, 39, 79, 0.22);
}

.map-legend-swatch.selected {
  background: var(--brand-yellow);
}

.map-container {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.map-svg-wrapper {
  width: 100%;
  max-width: 580px;
  position: relative;
}

.map-svg-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-svg-wrapper svg path {
  fill: #e2e8f0;
  stroke: #ffffff;
  stroke-width: 1.2;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Style active regions */
.map-svg-wrapper svg path.active-region {
  fill: rgba(5, 39, 79, 0.2);
  stroke: rgba(5, 39, 79, 0.55);
  stroke-width: 1.6;
  cursor: pointer;
}

.map-svg-wrapper svg path.active-region:hover {
  fill: rgba(5, 39, 79, 0.4);
  stroke: var(--brand-blue);
  filter: drop-shadow(0 4px 10px rgba(5, 39, 79, 0.15));
}

.map-svg-wrapper svg path.selected {
  fill: var(--brand-yellow);
  stroke: var(--brand-blue);
  stroke-width: 1.8;
  filter: drop-shadow(0 4px 12px rgba(254, 221, 0, 0.3));
}

.map-loader {
  padding: 3rem;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
}

.map-info-card {
  padding: 2.5rem;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.region-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.region-stat-item {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.region-stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.2;
}

.region-stat-item .stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

.region-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px dashed var(--border-light);
  padding-top: 1.25rem;
}

.map-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.map-quick-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.map-quick-btn:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: rgba(5, 39, 79, 0.04);
}

.map-quick-btn.selected {
  color: var(--text-primary);
  border-color: var(--brand-blue);
  background: var(--bg-yellow-light);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25);
}

/* Map responsive stacking */
@media (max-width: 992px) {
  .map-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .map-info-card {
    min-height: auto;
  }
}

/* Framer-motion inspired smooth scroll-reveal and hover micro-animations */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Micro-hover effects for pictures and cards */
.about-slide-img, .detail-slide-img, .ngo-space-gallery img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.about-slide-img:hover, .detail-slide-img:hover, .ngo-space-gallery img:hover {
  transform: scale(1.02) translateY(-2px) !important;
  box-shadow: var(--shadow-lg), 0 12px 24px rgba(5, 39, 79, 0.08) !important;
}

/* Custom layouts and responsive adaptation for new sections */
.about-areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  list-style: none;
  padding: 0;
}

.emergency-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.ngo-space-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .map-info-card {
    padding: 1.75rem !important;
  }
  .map-container {
    padding: 1rem !important;
  }
  .about-areas-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .emergency-stats-grid {
    grid-template-columns: 1fr;
  }
  .ngo-space-gallery {
    grid-template-columns: 1fr;
  }
}
