
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif !important;
  line-height: 1.6 !important;
  background-color: #fdfeff;
}

/* Layout for the whole page */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Make content grow and push footer to the bottom if needed */
body > .main-content {
  flex: 1;
}

/* Footer styling */

footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 2em;
  font-size: 0.9em;
}
footer a {
  color: #ccc;
  text-decoration: none;
  margin: 0 1em;
}
footer .container {
    display: flex;
    justify-content: space-evenly;
    font-size: x-small;
}
footer.footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 2em;
  font-size: 0.9em;
}

/* Navbar container */
.navbar {
  background-color: #0a3d62;
  padding: 1em 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container h2 {
    text-align: center;
    margin: 1em auto;
    font-size: 1.5em;
    font-weight: 700;
}
.pg-footer--madein {
    display: flex;
    gap: 0.5em;
}
/* Navbar container */
.navbar {
  background: linear-gradient(135deg, #74611d, #edc947, #a17717, #86711b, #b08f18);
  padding: 1em 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10000;
}

/* Container for branding + toggle */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: auto;
  max-width: 1200px;
}

/* Hamburger toggle (only visible on mobile) */
.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}
.toggle-button span {
  background-color: white;
  height: 3px;
  width: 100%;
  border-radius: 2px;
}

/* Nav links */
.nav-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links ul li a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-links ul li a:hover {
  color: #f9ca24;
}


header {
  background-color: #0a3d62;
  color: #fff;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav a {
  color: #fff;
  margin-left: 1.5em;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background: #1e90ff;
  background: url('/assets/images/hero-1.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 8em 2em 5em;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0 0 0 / 39%); /* dark overlay */
  z-index: 0;
} 

.hero .hero-content {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  font-weight: 700;

}

.hero .buttons a {
    display: inline-block;
    background-color: #facc15;
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.hero .buttons a:hover {
  background-color: #eab308; /* darker yellow on hover */
}
section {
  padding: 3em 2em;
  text-align: center;
  min-height: max-content;
  height: 100%;
}
.section h2 {
  font-size: 1.8em;
  margin-bottom: 1em;
}
.benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  background: #ffffff !important;
}
.benefit-item {
  background: #fff;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.logos {
  margin: 30px;
  display: flex;
  justify-content: center;
}
.logos img {
  height: 50px;
  margin: 0 1em;
}

.logo img {
  height: auto;
  max-width: 200px;
  width: 100%;
}

.partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
}
.privacy-policy {
    height: 100%;
    padding: 40px;
}
.contact {
    height: 100%;
    padding: 40px;
}
.success, .error {
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 5px;
}
.success {
  background-color: #e6ffea;
  color: #2d662d;
}
.error {
  background-color: #ffe6e6;
  color: #a94442;
}
.capital-container {
    height: 100%;
    max-width: 600px; 
    margin: auto; }
.btn {
    background: #d4af37;
    padding: 10px 20px;
    color: white;
    border: none;
    display: inline-block;
    /* margin: 1em; */
    /* padding: 1em 2em; */
    /* background-color: #fff; */
    /* color: #1e90ff; */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    }


form {
    max-width: 508px;
    margin: 20px auto;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

button {
    background: #218838;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

button:hover {
    background: #1e7e34;
}

.success {
    color: green;
    text-align: center;
}

.error {
    color: red;
    text-align: center;
}

h2 {
    text-align: center;
    color: #89711b;
}
/* Funders Section */
.funders-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
  animation: fadeIn 1.2s ease-in;
}

.container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e1e1e;
  position: relative;
}

.section-description {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
}

/* FUNDERS GRID */
.funders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns on desktop */
  gap: 30px;
  padding: 0;
  list-style: none;
  margin-bottom: 60px;
  justify-items: stretch;
  align-items: stretch;
}

.funders-grid li {
  background: #fff;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1.5;
  height: 100%; /* Makes all grid items equal height */
}

.funders-grid li img {
  width: 160px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.funders-grid li:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.funders-grid li:hover img {
  transform: scale(1.1);
}

/* FOOTER TEXT */
.funders-footer p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  max-width: 850px;
  margin: auto;
  animation: slideUp 1s ease-in-out;
}
.funders-callout {
  max-width: 800px;
  margin: 0rem auto;
  /* background: #fefce8; */ /* soft yellow background */
  /* border: 2px solid #facc15; */ /* yellow-400 border */
  border-radius: 1rem; /* rounded-2xl */
  padding: 0;
  text-align: center;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); */
  font-family: 'Montserrat', sans-serif;
}

.funders-callout h3 {
  font-size: 1.75rem; /* text-2xl */
  font-weight: 700;
  color: #89711b; /* warm dark brown */
  margin-bottom: 1rem;
}

.funders-callout p {
  font-size: 1rem;
  color: #4b5563; /* gray-700 */
  margin-bottom: 1rem;
  line-height: 1.6;
}

.funders-callout a {
  display: inline-block;
  background-color: #facc15; /* yellow-400 */
  color: #1f2937; /* gray-800 */
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px; /* full pill */
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
}

.funders-callout a:hover {
  background-color: #eab308; /* darker yellow on hover */
}

.buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ================================
   Investor Section Styles
================================= */

.investor-section {
  background: linear-gradient(135deg, #111827, #1f2937); /* dark gradient */
  padding: 4rem 1.5rem;
  text-align: center;
  color: #fff;
}

.investor-section h2 {
  font-size: 2.25rem; /* ~text-3xl */
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #facc15; /* Tailwind yellow-400 */
}

.investor-section p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.125rem; /* ~text-lg */
  line-height: 1.6;
  color: #d1d5db; /* Tailwind gray-300 */
}

.investor-section a {
  display: inline-block;
  background-color: #facc15; /* Tailwind yellow-400 */
  color: #111827; /* Tailwind gray-900 */
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px; /* pill button */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.investor-section a:hover {
  background-color: #eab308; /* Tailwind yellow-500 */
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE BREAKPOINTS */
@media screen and (max-width: 992px) {
  .funders-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media screen and (max-width: 600px) {
  .funders-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description,
  .funders-footer p {
    font-size: 1rem;
  }
}


/* Responsive nav for small screens */
@media (max-width: 768px) {
  .toggle-button {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #1f2937;
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 1em;
  }

  .nav-links.active {
    display: flex;
    width: 100%;
    padding: 2em 0;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 1em;
  }
  footer .container {
    display: flex;
    justify-content: space-evenly;
    font-size: x-small;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    }
    section {
    padding: 0;
    text-align: center;
    height: max-content;
    }
    .funders-callout {
    max-width: 91%;
    margin: 4rem auto;
    width: 100%;
    }
    .buttons {
    display: flex;
    align-items: stretch;
    gap: 5px;
    flex-direction: column;
    }
    .hero {
    padding: 5em 2em 5em;
    }
    header nav a {
    margin-left: 0;
    }
    .funders-section {
    padding: 0;
    }
}

.autocomplete-suggestions {
        /* border: 1px solid #ccc; */
        background: #ececec;
        position: absolute;
        max-height: 180px;
        overflow-y: auto;
        z-index: 9999;
        width: 100%;
      }
      .autocomplete-suggestion {
        padding: 8px;
        cursor: pointer;
      }
      .autocomplete-suggestion:hover {
        background-color: #f0f0f0;
      }