/* ===== GLOBAL / RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Outfit", sans-serif;
  background-color: #f4f4f9;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ===== FONTS ===== */
@font-face {
  font-family: regfont;
  src: url("Nexa-ExtraLight.ttf");
}

/* ===== NAVBAR ===== */
.navbar {
  background-color: #0000008c;
  padding: 10px 0;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  backdrop-filter: blur(25px);
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 30px;
  font-family: regfont;
  align-items: center;
  white-space: nowrap;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 6px 4px;
  display: inline-block;
  font-family: regfont;
  line-height: 1;
}

.navbar-links a:hover {
  color: #aac1e6;
}

/* Navbar responsive */
@media (max-width: 450px) {
  .navbar-links {
    gap: 16px;
  }

  .navbar-links a {
    font-size: 0.7rem;
    padding: 6px 2px;
  }
}


/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
/* ===== HERO ===== */
.hero {
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('forestlake.avif') center/cover no-repeat;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero .btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: white;
  background-color: #1c5899;
  border-radius: 8px;
  transition: 0.3s ease;
}

.hero .btn:hover {
  background-color: #0057b3;
  transform: translateY(-2px);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ===== MISSION SECTION ===== */
.mission-section {
  padding: 100px 10%;
  background-color: #f8fafc;
}

.mission-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.mission-text {
  flex: 1;
}

.mission-text h2 {
  font-size: 2rem;
  color: #1e3a5f;
  margin-bottom: 20px;
  font-weight: bold;
}

.mission-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.mission-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mission-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.mcblurb-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1e3a5f;
}

.label {
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SEARCH FORM ===== */
.search-container {
  max-width: 60%;
  margin: 50px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.search-container h2 {
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.searchbox {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.searchbox label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #444;
}

.searchbox input,
.searchbox select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.2s ease;
}

.searchbox input:focus,
.searchbox select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.date-range {
  display: flex;
  gap: 10px;
}

.date-range div {
  flex: 1;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-left div {
  flex: 2;
  margin-bottom: 10px;
}

.form-right div {
  flex: 1;
  margin-top: 5px;
}

button {
  margin-top: 10px;
  padding: 12px;
  background: #1c5899;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background: #0057b396;
}

/* ===== FEATURED CARDS ===== */
.card-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 5%;
  flex-wrap: wrap;
}

.card-grid .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 28%;
  height: 260px;
  padding: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.card-grid .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-grid .card h3 {
  margin-bottom: 15px;
  color: #1c5899;
  font-size: 1.2rem;
}

.card-grid .card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.icon-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1c5899;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-placeholder i {
  color: white;
  font-size: 22px;
}

/* ===== FUNDRAISERS ===== */
.palfundraiser {
  display: flex;
  gap: 3rem;
  padding: 4rem 2rem;
  max-width: 1500px;
  margin: 0 auto;
}

.palfundraisertext {
  flex: 0.8;
}

.palfundraisertext h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.palfundraisertext p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.palfundraiserImg {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cards {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.cards img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fundraiser responsive */
@media (max-width: 768px) {
  .palfundraiser {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .palfundraisertext h2 {
    font-size: 2rem;
  }

  .palfundraisertext p {
    font-size: 1rem;
  }
}

/* ===== FOOTER ===== */
footer {
  background-color: #dddddd;
  width: 100%;
}

.footer {
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem;
  max-width: 1500px;
  margin: 0 auto;
}