/* Goals For Gambia - Brand colors: red, white, green, navy blue */
:root {
  --red: #ce1126;
  --blue: #0c1c8c;
  --green: #3a7728;
  --white: #ffffff;
  --cream: #f7f5f0;
  --dark: #1a1a1a;
  --gray: #6b6b6b;
  --light-gray: #ececec;
  --shadow: 0 10px 30px rgba(12, 28, 140, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blue);
  font-weight: 800;
  font-size: 1.15rem;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
nav a:hover { color: var(--red); }
nav a.cta-link {
  background: var(--red);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
}
nav a.cta-link:hover { background: var(--blue); color: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, var(--red) 0%, var(--white) 50%, var(--green) 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(12, 28, 140, 0.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 40px 24px;
  max-width: 800px;
}
.hero-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.brand img {
  object-fit: cover;
  object-position: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  margin: 14px 0 30px;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #a80d1e; }
.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--white);
}
.btn-secondary:hover { background: transparent; color: var(--white); }
.btn-large { padding: 16px 40px; font-size: 1.1rem; }

/* Sections */
.section {
  padding: 90px 0;
}
.section-alt { background: var(--cream); }
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--blue);
  margin-bottom: 18px;
  text-align: center;
  font-weight: 800;
}
.section h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--red);
  margin: 14px auto 0;
  border-radius: 2px;
}
.lead {
  font-size: 1.15rem;
  color: var(--gray);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.section p { margin-bottom: 16px; }
#about p:not(.lead) {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #333;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.card {
  background: var(--white);
  padding: 34px 28px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--red);
  text-align: center;
  transition: transform 0.25s;
}
.card:nth-child(2) { border-top-color: var(--blue); }
.card:nth-child(3) { border-top-color: var(--green); }
.card:hover { transform: translateY(-6px); }
.card h3 {
  color: var(--blue);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

/* Impact */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 20px;
}
.impact-item {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  border-left: 5px solid var(--green);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.impact-item h3 {
  color: var(--blue);
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.impact-item p { color: #444; margin: 0; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 20px;
}
.gallery figure {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.gallery figure:hover { transform: translateY(-4px); }
.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.gallery figcaption {
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--gray);
  text-align: center;
}

/* Donate */
.donate-section {
  background: linear-gradient(135deg, var(--blue) 0%, #1a2ca8 100%);
  color: var(--white);
  text-align: center;
}
.donate-section h2 { color: var(--white); }
.donate-section h2::after { background: var(--white); }
.donate-section .lead { color: rgba(255,255,255,0.9); }
.small-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-style: italic;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 720px) {
  nav a { margin-left: 14px; font-size: 0.85rem; }
  nav a.cta-link { padding: 6px 14px; }
  .brand span { display: none; }
  .section { padding: 60px 0; }
  .hero { min-height: 80vh; }
  .hero-logo { width: 110px; height: 110px; }
}
