body {
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    background: #eaf0fa;
    color: #222;
    margin: 0;
    padding: 0;
}
header {
    background: #0a2e5c;
    color: #fff;
    padding: 1rem 0;
}
.header-logo-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}
.logo-link img {
    height: 32px;
    width: 32px;
    object-fit: cover;
    border-radius: 50%;
    border: 1.5px solid #174a8c;
    background: #fff;
    box-shadow: 0 1px 4px rgba(10,46,92,0.08);
    display: block;
}
@media (max-width: 700px) {
    .logo-link img {
        height: 26px;
        width: 26px;
    }
}
.main-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.main-nav a:hover {
    color: #ffd700;
}
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #0a2e5c 60%, #ffd700 100%);
    color: #fff;
    padding: 3rem 2rem;
}
.hero-content {
    flex: 1 1 350px;
    max-width: 500px;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
}
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}
.btn-primary {
    background: #0a2e5c;
    color: #fff;
}
.btn-primary:hover {
    background: #174a8c;
}
.btn-gold {
    background: #ffd700;
    color: #0a2e5c;
}
.btn-gold:hover {
    background: #e6c200;
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-outline:hover {
    background: #fff;
    color: #0a2e5c;
}
.hero-map {
    flex: 1 1 300px;
    min-width: 300px;
    margin-left: 2rem;
}
section {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 2.5rem auto;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
section h2, section h3 {
    color: #0a2e5c;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-top: 0;
}
section h2 {
    font-size: 2.5rem;
}
section h3 {
    font-size: 1.5rem;
}
.about p, .projects ul, .events, .media, .get-involved, .contact {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #222;
}
.about h2, .about h3 {
    color: #174a8c;
}
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-map {
        margin-left: 0;
        margin-top: 2rem;
    }
}

/* Responsive Mobile Menu */
.menu-toggle {
  display: none;
  background: #0a2e5c;
  color: #ffd700;
  border: none;
  font-size: 2rem;
  position: absolute;
  right: 1.5rem;
  top: 1.2rem;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 700px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    background: #0a2e5c;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    display: none;
    z-index: 1000;
  }
  .main-nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  header {
    position: relative;
  }
}

/* General Section Styling */
section {
  background: none;
  border-radius: 0;
  box-shadow: none;
  margin: 2.5rem auto;
  padding: 2.5rem 2rem;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

h2, h3 {
  color: #0a2e5c;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 0;
}

section h2 {
  font-size: 2.5rem;
}

section h3 {
  font-size: 1.5rem;
}

.about p, .projects ul, .events, .media, .get-involved, .contact {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #222;
}

.about h2, .about h3 {
  color: #174a8c;
}

/* Add spacing between sections */
main > section + section {
  margin-top: 2.5rem;
}

/* Form Styles */
.involved-form form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(10,46,92,0.07);
  padding: 2rem 1.5rem;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.involved-form h4 {
  color: #0a2e5c;
  margin-bottom: 1rem;
  text-align: center;
}
.involved-form input,
.involved-form textarea,
.involved-form select {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f7faff;
  color: #222;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
}
.involved-form input:focus,
.involved-form textarea:focus,
.involved-form select:focus {
  border-color: #0a2e5c;
  outline: none;
}
.involved-form textarea {
  min-height: 100px;
  resize: vertical;
}
.involved-form button {
  margin-top: 0.5rem;
  align-self: flex-end;
}
@media (max-width: 600px) {
  .involved-form form {
    padding: 1rem 0.5rem;
  }
}

/* Responsive styles for map and sidebar on homepage */
@media (max-width: 700px) {
  .hero-map {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }
  #map {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 220px !important;
    margin-bottom: 0.5rem;
    box-sizing: border-box !important;
  }
  .hero-map > div[style*='background'] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }
  .hero-map > div[style*='background'] ul,
  .hero-map > div[style*='background'] h4,
  .hero-map > div[style*='background'] div {
    text-align: left !important;
  }
}

@media (max-width: 400px) {
  #map {
    height: 150px !important;
  }
  .hero-map > div[style*='background'] {
    padding: 0.7rem 0.5rem 1rem 0.5rem !important;
  }
}

@media (max-width: 700px) {
  body, .container, .main-content, .hero-map, .section, .content-section, .footer, .header, .navbar, .page-section {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html, body {
    overflow-x: hidden !important;
  }
}

/* Modern, attractive styles for the new Harambee card on the homepage */
.harambee-modern-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #eaf0fa 60%, #fffbe6 100%);
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(10,46,92,0.13);
  margin: 2.5rem auto;
  max-width: 900px;
  padding: 0;
}
.harambee-bg {
  position: absolute;
  inset: 0;
  background: url('../public/assets/images/P.webp') center/cover no-repeat;
  opacity: 0.13;
  z-index: 1;
}
.harambee-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.harambee-icon-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.harambee-icon {
  border: 3px solid #ffd700;
  box-shadow: 0 2px 12px rgba(10,46,92,0.10);
}
.harambee-content h2 {
  color: #0a2e5c;
  font-size: 2.1rem;
  margin: 0.2rem 0 0.3rem 0;
  text-align: center;
}
.harambee-content h3 {
  color: #174a8c;
  font-size: 1.2rem;
  margin: 0 0 1.1rem 0;
  text-align: center;
}
.harambee-lead {
  font-size: 1.13rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
}
.harambee-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 100%;
}
.harambee-flex > div {
  flex: 1 1 220px;
  min-width: 220px;
}
.harambee-flex h4 {
  color: #0a2e5c;
  margin-bottom: 0.7rem;
}
.harambee-flex ul {
  font-size: 1rem;
  margin: 0;
  padding-left: 1.1rem;
}
.harambee-help {
  width: 100%;
  margin-bottom: 1.5rem;
}
.harambee-help h4 {
  color: #174a8c;
  text-align: center;
  margin-bottom: 0.5rem;
}
.harambee-help ul {
  font-size: 1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  padding-left: 0;
  list-style: none;
}
.harambee-help ul li::before {
  content: '• ';
  color: #ffd700;
  font-weight: bold;
}
.harambee-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
@media (max-width: 700px) {
  .harambee-content {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .harambee-flex {
    flex-direction: column;
    gap: 1.2rem;
  }
  .harambee-flex > div {
    min-width: 0;
  }
}

/* Harambee animated decorations */
.harambee-modern-card {
  position: relative;
  overflow: hidden;
}
.harambee-anim {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  opacity: 0.7;
  animation-iteration-count: infinite;
}
.harambee-anim.confetti1 {
  top: 10%; left: 8%; width: 28px; height: 28px;
  animation: confetti-fall1 3.5s linear infinite;
}
.harambee-anim.confetti2 {
  top: 18%; right: 12%; width: 22px; height: 22px;
  animation: confetti-fall2 4.2s linear infinite;
}
.harambee-anim.confetti3 {
  bottom: 12%; left: 18%; width: 24px; height: 24px;
  animation: confetti-fall3 3.8s linear infinite;
}
.harambee-anim.confetti4 {
  bottom: 8%; right: 10%; width: 30px; height: 30px;
  animation: confetti-fall4 4.1s linear infinite;
}
@keyframes confetti-fall1 {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0.7; }
  60% { opacity: 1; }
  100% { transform: translateY(40px) rotate(360deg); opacity: 0.2; }
}
@keyframes confetti-fall2 {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 0.7; }
  60% { opacity: 1; }
  100% { transform: translateY(50px) rotate(-360deg); opacity: 0.2; }
}
@keyframes confetti-fall3 {
  0% { transform: translateY(0px) scale(1); opacity: 0.7; }
  60% { opacity: 1; }
  100% { transform: translateY(30px) scale(1.2); opacity: 0.2; }
}
@keyframes confetti-fall4 {
  0% { transform: translateY(0px) scale(1); opacity: 0.7; }
  60% { opacity: 1; }
  100% { transform: translateY(60px) scale(0.8); opacity: 0.2; }
}

.leadership-profile {
  background: linear-gradient(120deg, #eaf0fa 60%, #fffbe6 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(10,46,92,0.13);
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  margin: 2.5rem auto;
  max-width: 800px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.leadership-profile:hover {
  box-shadow: 0 12px 40px rgba(10,46,92,0.18);
  transform: translateY(-2px) scale(1.012);
}
.leadership-profile img {
  border-radius: 50%;
  border: 3px solid #ffd700;
  box-shadow: 0 2px 12px rgba(10,46,92,0.13);
  background: #fff;
  transition: box-shadow 0.3s, border 0.3s;
}
.leadership-profile h2 {
  color: #174a8c;
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.leadership-profile h4 {
  color: #0a2e5c;
  margin-top: 1.2rem;
}
.leadership-profile p, .leadership-profile ul {
  font-size: 1.08rem;
  color: #222;
}
.leadership-profile ul {
  margin: 0.5rem 0 0.5rem 1.2rem;
  padding: 0;
}
.leadership-profile ul li {
  margin-bottom: 0.3rem;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .leadership-profile {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .leadership-profile img {
    width: 80px !important;
    height: 80px !important;
  }
}