:root {
  --bg: #0A0A0A;           
  --light-bg: #F5F5F5;   
  --accent: #FFE600;       
  --danger: #E64545;       
  --text-dark: #0A0A0A;
  --text-light: #F5F5F5;
  --radius: 12px;
  --ff-primary: 'Montserrat', sans-serif;
  --ff-secondary: 'Open Sans', sans-serif;
  --shadow-1: 0 4px 10px rgba(0,0,0,0.12);
  --shadow-2: 0 10px 24px rgba(0,0,0,0.18);
}

/* Base & Resets */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-secondary);
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--ff-primary);
  font-weight: 700;
  margin: 0 0 1rem 0;
}
h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
p { margin: 0 0 1rem 0; }

.centered-header { text-align: center; margin-bottom: 2rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--text-dark);
  border-radius: var(--radius);
  z-index: 1000;
}

/* Navbar */
.navbar {
  background: var(--bg);
  color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.navbar.elevated { box-shadow: var(--shadow-1); }
.logo img { height: 80px; width: auto; } 

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.nav-links a:hover { color: var(--danger); text-decoration: none; }

/* Active Navbar Link */
.nav-links a.active {
  color: var(--danger);
  font-weight: 700;
  text-decoration: underline;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}
.hamburger span {
  width: 22px;
  height: 2.5px;
  background: var(--accent);
  display: block;
  border-radius: 3px;
}

/* Hero */
.hero {
  position: relative;
  height: min(100vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.75) 60%, rgba(10,10,10,0.9) 100%);
  z-index: -1;
}
.hero-content {
  color: var(--text-light);
  padding: 0 2rem;
  max-width: 900px;
  animation: fadeInUp 700ms ease both;
}
.hero h1 { color: var(--accent); }
.hero p { font-size: clamp(1rem, 1.6vw, 1.125rem); opacity: 0.95; }
.hero-content .hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn-primary, button.btn-primary {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: var(--danger);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary:hover, button.btn-primary:hover { background: #c53a3a; transform: translateY(-2px); }
.btn-primary:focus, button.btn-primary:focus { outline: 3px solid rgba(255,230,0,0.8); outline-offset: 3px; }

.btn-outline, button.btn-outline {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius);
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-outline:hover, button.btn-outline:hover {
  background: var(--accent);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* Outline button (hero donate) */
.btn-outline, button.btn-outline {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius);
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-outline:hover, button.btn-outline:hover {
  background: var(--accent);
  color: var(--text-dark);
}

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 2rem; max-width: 1200px; margin: auto; }
.light-bg { background: var(--light-bg); color: var(--text-dark); }
.dark-bg { background: var(--bg); color: var(--text-light); }

/* Anchor offset */
.section, .hero { scroll-margin-top: 90px; }

/* Split Layout */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.split.reverse { flex-direction: row-reverse; }
.split .text, .split .image { flex: 1 1 420px; }
.split img {
  width: 100%;
  max-width: 520px;
  height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  object-fit: cover;
  object-position: center;
  margin-inline: auto;
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.solution-card {
  background: #fff;
  padding: 1.5rem;
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}
.solution-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.solution-card h3 { color: var(--danger); }

/* Impact Section */
.impact-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 2rem;
  padding: 1rem 0 0 0;
}
.stat { margin: 1rem; font-size: 1.05rem; opacity: 0.95; }
.counter { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--accent); display: block; }

/* Lists */
.involved-list { margin: 1rem 0; padding-left: 1.2rem; }

/* Resources */
.resource-links { list-style: none; padding: 0; }
.resource-links li { margin: 0.5rem 0; }
.resource-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.resource-links a:hover { color: var(--danger); text-decoration: underline; }

/* Resource Download Icon */
.resource-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-links a i {
  margin-left: 4px;
  font-size: 0.95rem;
  color: var(--accent);
  transition: color 0.2s ease, transform 0.2s ease;
}

.resource-links a i:hover {
  color: var(--danger);
  transform: translateY(-2px);
}


/* Donation Section */
.donation-desc { text-align: center; margin-bottom: 1rem; }
.donation-progress { margin-bottom: 1.5rem; }
.progress-bar {
  background: #e6e6e6;
  border-radius: var(--radius);
  overflow: hidden;
  height: 26px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.08);
}
.progress-fill {
  background: linear-gradient(90deg, #FFE600 0%, #ffef66 100%);
  height: 100%;
  width: 0;
  transition: width 1.3s ease-in-out;
}

/* Forms */
#donationForm, #contactForm {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 480px;
  margin: 1rem auto 2rem auto;
  text-align: left;
}
#donationForm input, #donationForm select,
#contactForm input, #contactForm textarea {
  font: inherit;
  padding: 0.85rem 0.9rem;
  border: 1px solid #d3d3d3;
  border-radius: var(--radius);
  background: #fff;
}
#donationForm input:focus, #donationForm select:focus,
#contactForm input:focus, #contactForm textarea:focus {
  outline: none;
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(255,230,0,0.35);
}
#donationForm button, #contactForm button {
  font: inherit;
  padding: 0.9rem 1.6rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
#donationForm button { 
  background: var(--danger); color: #fff; 
}
#donationForm button:hover { 
  background: #c53a3a; transform: translateY(-2px); 
}
#contactForm button { 
  background: var(--accent); color: #0A0A0A; 
}
#contactForm button:hover { 
  background: #ffd500; transform: translateY(-2px); 
}

/* Contact Image */
.contact-img { display: flex; justify-content: center; }
.contact-img img {
  max-width: 520px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.contact-desc.aligned {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: var(--bg);
  color: var(--text-light);
  text-align: center;
  padding: 2rem 1rem;
}
.footer-links,
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 1rem 0;
}
.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
  opacity: 0.95;
}
.footer-links a:hover { color: var(--accent); opacity: 1; }
.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.social-icons i { font-size: 1rem; color: #ffffff; }
.social-icons a:hover {
  transform: translateY(-3px);
  background: rgba(255,230,0,0.15);
  color: var(--accent);
}
.footer p { margin: 0.75rem 0 0 0; font-size: 0.95rem; opacity: 0.9; }

/* Responsive */
@media (max-width: 980px) {
  .split img { height: 320px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: absolute;
    top: 74px;
    right: 16px;
    width: min(88vw, 280px);
    padding: 1rem;
    background: #111;
    border-radius: 14px;
    box-shadow: var(--shadow-2);
  }
  .nav-links.active a { padding: 0.4rem 0.2rem; }
  .split { flex-direction: column; }
  .split.reverse { flex-direction: column; }
  .contact-img img { height: 300px; }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
