:root {
  --navy: #0D2242;
  --gold: #D4A24F;
  --deep-gold: #B8872B;
  --white: #ffffff;
  --light-bg: #f9f9f9;
  --text-dark: #1e1e1e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: var(--white);
  color: var(--text-dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================== */
/* NAVIGATION OVER HERO  */
/* ===================== */

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
  padding: 1.5em 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  height: 70px; /* adjust as needed */
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 2em;
  margin-right: 2em;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.nav-links li a:hover {
  color: var(--gold);         /* Gold on hover */
  text-decoration: underline; /* Optional underline */
  transition: color 0.3s ease;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.donate-btn {
  background-color: var(--gold);
  color: var(--white);
  padding: 0.5em 1.2em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}

/* ============== */
/* HERO SECTION   */
/* ============== */

.hero {
  position: relative;
  background-image: url('../../assets/inx/hero.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 80vh; /* Use min-height, not height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 100px; /* Push content below navbar */
  padding-bottom: 3rem; /* Add this */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13, 34, 66, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  color: white;
  text-align: center;
  z-index: 2;
  margin-top: 5em;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1em;
}

.hero-buttons .btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  padding: 0.75em 1.5em;
  margin-right: 1em;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* ✅ Soft shadow */
  border: 1px solid rgba(0, 0, 0, 0.1);     /* ✅ Thin border */
}

.hero-buttons .btn:hover {
  background: var(--gold);
  color: var(--white);
  transition: 0.3s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.hero-buttons {
  margin-bottom: 2rem; /* or adjust as needed */
}

/* =================== */
/* CONTENT SECTIONS    */
/* =================== */

.about, .needs {
  background-color: #f5f7fa;
  padding: 4em 0;
  width: 100%;
}

.about h2, .needs h2 {
  font-size: 2rem;
  color: var(--navy);
  border-left: 6px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.about p, .mission p {
  font-size: 1.1rem;
}

.about h2::after,
.mission h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--gold);
  left: 0;
  bottom: -10px;
}

/* =================== */
/* MISSION SECTION     */
/* =================== */

.mission {
  background-color: var(--navy);
  color: var(--white);
  padding: 4em 0;
}

.mission h2 {
  font-size: 2rem;
  color: var(--white);
  position: relative;
  padding-left: 1rem;
  border-left: 6px solid var(--gold);
  margin-bottom: 1rem;
}

/* =================== */
/* NEEDS SECTION       */
/* =================== */

.need-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin-top: 2em;
}

.needs {
  background-color: #f5f7fa;
  padding: 4em 0;
}

.needs h2 {
  font-size: 2rem;
  color: var(--navy);
  border-left: 6px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.needs h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--gold);
  left: 0;
  bottom: -10px;
}

.card {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 2em;
  text-align: center;
  width: 250px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card img {
  height: 50px;
  margin-bottom: 1em;
}

.card h3 {
  color: var(--navy);
}

@media (max-width: 768px) {
  .need-cards {
    flex-direction: column;
    align-items: center;
  }
}

.footer {
  background: #0D2242;
  color: white;
  text-align: center;
  padding: 2em 0;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 1em;
    margin: 1em 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons .btn {
    display: block;
    margin: 0.5em auto;
  }

  .need-cards {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    height: 50px;
  }
}

/* Hamburger base */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* Mobile menu hidden by default */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--navy);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1em;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
  }

  .donate-btn {
    margin: 1em auto 0 auto;
  }

  .nav-inner {
    flex-wrap: wrap;
  }
}

/* ============= */
/* ABOUT PAGE HERO */
/* ============= */
.about-hero {
  background-image: url('../abt/hero.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 70vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
}

.about-hero-content {
  margin-top: -90px; /* Move text upward as needed */
  position: relative;
  z-index: 2;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13, 34, 66, 0.75);
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

.about-hero p {
  font-size: 1.25rem;
}

/* ============= */
/* BOX TRUCK OVERLAY */
/* ============= */
.box-truck-wrapper {
  position: relative;
  margin-top: -120px;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  overflow-x: visible;
}

.box-truck {
  width: 80%;
  max-width: 800px;
  transform: translateX(100px) translateY(-50px);
}

/* ============= */
/* ABOUT SECTIONS */
/* ============= */
.about-story {
  background: white;
  padding: 4em 0;
}

.about-story h2 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 0.5em;
}

.about-story h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1em;
}

.about-grid {
  display: flex;
  gap: 2em;
  padding: 4em 0;
  background-color: var(--navy);
  color: white;
}

.about-card {
  flex: 1;
}

.about-card h2 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .box-truck-wrapper {
    justify-content: center;
    margin-top: -60px;
  }


  .box-truck {
    width: 100%;
    max-width: 300px;
    transform: translateX(0) translateY(-20px);
  }

  .about-hero-content {
    margin-top: -20px; /* Less lift to avoid truck collision */
  }
}


.about-combined {
  background-color: white;
  padding: 4em 0;
  overflow: hidden;
}

.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-truck {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.about-truck img {
  max-width: 90%;
  height: auto;
  transform: translateX(40px);
}

/* Responsive */
@media (max-width: 768px) {
  .about-flex {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-truck img {
    transform: translateX(0);
    max-width: 100%;
  }
}