/* Global Defaults */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding-top: 70px; /* Space for fixed header */
  line-height: 1.6;
}

/* Fixed Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #013889;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Nav Links */
nav#nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 100%;
}

nav#nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav#nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 2rem;
    background-color: #013889;
    padding: 1rem;
    border-radius: 6px;
  }

  nav#nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: url("../images/image.avif") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 3rem 2rem 2rem; /* Reduced bottom padding from 4rem to 2rem */
  min-height: 40vh;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  font-size: 2em;
}

.hero .btn {
  background: #013889;
  padding: 0.75rem 1.5rem;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 1rem;
}

/* Contact Section */
.contact {
  background-color: #f4f4f4;
  padding: 3rem 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.contact .tagline {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.contact-details {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
}

.contact-details a {
  color: #013889;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: #013889;
  color: #ccc;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* About Section */
.about {
  background-color: #f8f8f8;
  color: #222;
  padding: 2rem 2rem 4rem;
}

.about-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #1c1c1c;
}

.about-summary {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 3rem;
  text-align: center;
}

.about-story h3,
.about-values h3,
.about-resources h3 {
  font-size: 1.5rem;
  color: #013889;
  margin-bottom: 1rem;
  text-align: left;
}

.about-story p,
.about-values p,
.about-resources p,
.resource-topics li {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

/* Team Section */
.team {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.team-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.team h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1c1c1c;
}

.team-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.team-member {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  flex: 1 1 calc(33.333% - 1.5rem);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.team-member img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.team-member h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  color: #222;
}

.team-member .role {
  color: #013889;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-member .bio {
  font-size: 0.95rem;
  color: #555;
}

/* Services Section */
.services {
  background-color: #ffffff;
  padding: 4rem 2rem;
}

.services-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #1c1c1c;
}

.services-intro {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 3rem;
}

.service-block {
  margin-bottom: 3rem;
}

.service-block h3 {
  color: #013889;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-block p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-block ul {
  padding-left: 1.5rem;
  color: #555;
}

.service-block ul li {
  margin-bottom: 0.5rem;
}

/* Resources CTA */
.service-resources {
  border-top: 1px solid #ddd;
  padding-top: 2rem;
  margin-top: 3rem;
}

.service-resources h3 {
  font-size: 1.5rem;
  color: #013889;
  margin-bottom: 1rem;
}

.service-resources ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.service-resources li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.btn-resource {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #013889;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-resource:hover {
  background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .team-member {
    flex: 1 1 100%;
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
  }
}
