:root {
  --blue-600: #0b57a4; /* trust */
  --blue-800: #063a6f;
  --accent: #e14b3b; /* urgency / SOS */
  --accent-2: #ff7a45;
  --muted: #6b7280;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: #0f1724;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  background: linear-gradient(180deg, #fbfbfd 0%, #f6f7fb 100%);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* Navbar */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  position: relative;
}
.nav-logo {
  height: 46px;
}
.nav-menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end; /* move menu to the right on desktop */
  gap: 2rem;
}
.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.nav-links a {
  color: var(--blue-800);
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
}
.nav-links a:hover {
  background: rgba(11, 87, 164, 0.06);
}
.nav-logos {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.nav-logos img {
  height: 36px;
  width: auto;
  object-fit: contain;
  padding: 6px;
  background: transparent;
  border-radius: 6px;
}

/* push logos further to the right on wider screens */
@media (min-width: 721px) {
  .nav-logos {
    margin-left: 2rem;
  }
}

/* mobile nav toggling */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  border-radius: 8px;
  z-index: 60;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-menu.open {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  background: #fff;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-menu.open .nav-links {
  flex-direction: column;
  align-items: center;
}
.nav-menu.open .nav-links a {
  display: block;
  padding: 0.65rem 0;
  color: var(--blue-800);
}
.nav-menu.open .nav-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.nav-menu.open .nav-logos img {
  height: 40px;
  padding: 6px;
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("background image.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) contrast(1.02);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 9, 23, 0.35),
    rgba(4, 9, 23, 0.6)
  );
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.5px;
}
.tagline {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  border-radius: 8px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(225, 75, 59, 0.18);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

section {
  padding: 3rem 0;
}
h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem 0;
  color: var(--blue-800);
}
p.lead {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: center;
}
.about img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.phase {
  background: linear-gradient(
    180deg,
    rgba(11, 87, 164, 0.04),
    rgba(11, 87, 164, 0.02)
  );
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid rgba(11, 87, 164, 0.06);
}
.phase h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: var(--blue-600);
}
.phase p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.images-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.team img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}
.support-grid img {
  max-width: 100%;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 0.5rem;
  background: transparent;
}

/* moved inline styles */
.team {
  margin-top: 1rem;
}
.support-grid {
  margin-top: 1rem;
}
.contact-email {
  margin: 0.5rem 0;
  font-weight: 600;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.contact-card {
  background: linear-gradient(180deg, #fff, #fbfdff);
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(10, 20, 40, 0.04);
}
footer {
  background: var(--blue-800);
  color: #fff;
  padding: 1.25rem 0;
  margin-top: 2rem;
}

@media (max-width: 1000px) {
  .about {
    grid-template-columns: 1fr 300px;
  }
  .phases {
    grid-template-columns: 1fr;
  }
  .images-grid {
    grid-template-columns: 1fr;
  }
  .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .container {
    padding: 1rem;
  }
  .hero {
    min-height: 60vh;
    border-radius: 0;
  }
  .hero-inner {
    padding: 2rem 1rem;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-logos {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-toggle {
    margin-left: 0;
  }
  .nav {
    align-items: center;
  }
  /* mobile ordering: logo | center menu | toggle right */
  .nav-logo {
    order: 0;
  }
  .nav-menu {
    order: 1;
    width: 60%;
  }
  .nav-toggle {
    order: 2;
    margin-left: auto;
  }
  /* When menu is open on mobile: show links, hide logos */
  .nav-menu.open .nav-links {
    display: flex;
  }
  .nav-menu.open .nav-logos {
    display: none;
  }
  /* right-align the opened menu on mobile instead of full-width */
  .nav-menu.open {
    left: auto;
    right: 8px;
    width: 220px;
    top: 64px; /* reaffirm position */
    border-radius: 8px;
  }
}
@media (min-width: 1200px) {
  h1 {
    font-size: 4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
