body {
  background: var(--background-color);
  margin: 0;
  font-family: var(--secondary-font-family);
  color: var(--text-color);
}

body, html {
  height: 100%;
  padding: 0;
}

body.about .header {
  background: url('../images/about-banner.png') no-repeat center center;
  background-size: cover;
  background-attachment: scroll; /* override 'fixed' */
  height: auto; /* or whatever height you want */
}

body.about header {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  position: relative; /* was absolute/fixed on home, change to relative here */
  top: auto;
  left: auto;
  width: 100%;
  z-index: 100;
}

body.about nav {
  display: block;
}

body.about nav svg {
  display: block;
  width: 100vw;
  height: auto;
  padding: 0;
  margin: 0;
}

#about-us-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-color);
}

.about-us-container {
  background: none;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
}

.about-us-title {
  text-align: center;
  font-family: var(--primary-font-family);
  font-size: 24px;
  color: var(--accent-color);
  margin: 0px;
  padding: 20px;
}

.about-us-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.about-us-image-col {
  flex: 0 0 242px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-us-image {
  max-width: 242px;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--accent-color);
}

.about-us-text-col {
  flex: 1 1 0;
  margin-top: 0px;
  font-size: 14px;
}

.about-us-text-col p:first-child {
  margin-top: 0;
}

.about-us-text-col p {
  font-size: 1.07rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 18px;
}

/* .about-us-text-col a {
  color: var(--accent-color);
  text-decoration: underline;
} */

.about-us-text-col hr {
  border: none;
  border-top: 1px solid var(--accent-color);
  margin: 24px 0 18px 0;
}

.about-us-quote-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.about-us-quote-image {
  width: 180px;
  border: 1px solid var(--accent-color);
  /* object-fit: cover; */
}

.about-us-quote-block {
  flex: 1 1 0;
}

.about-us-quote-block blockquote {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--accent-color);
  margin: 0 0 10px 0;
  line-height: 1.5;
  border: none;
  background: none;
}

.about-us-quote-author {
  color: #b7c8d1;
  font-size: 1rem;
  margin-top: 8px;
  font-style: normal;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 900px) {
  .about-us-content {
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center; /* centers inline content */
  }

  .about-us-image-col,
  .about-us-text-col {
    width: 100%;
    min-width: 0;
  }

  .about-us-image-col {
    display: flex;
    justify-content: center; /* centers the image horizontally */
    align-items: center;
  }

  .about-us-image {
    max-width: 90vw;
    margin-bottom: 25px;
  }

  .about-us-text-col {
    text-align: center; /* centers paragraph content within the column */
  }

  .about-us-text-col p {
    text-align: center; /* ensures individual paragraphs are centered */
  }

  .about-us-quote-row {
    flex-direction: column;
    gap: 0;
    align-items: center; /* changed from flex-start to center */
    text-align: center; /* centers blockquote text on small screens */
  }

  .about-us-quote-image {
    width: 100%;
    max-width: 90vw;
    margin-bottom: 16px;
  }

  .about-us-quote-block blockquote {
    font-size: 1rem;
  }

  .about-us-title {
    font-size: 2rem;
  }

  .about-us-container {
    padding: 0 8px;
  }
}


#vision-and-values {
  margin: 0 auto;
  padding: 20px 20px;
  font-family: var(--primary-font-family);
  color: var(--secondary-background-color);
  text-align: center;
  background-color: var(--text-color);
}

#vision-and-values h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

#vision-and-values p {
  width: 60%;
  margin: 0 auto 18px auto; /* center horizontally with auto margins */
  font-size: 1.07rem;
  line-height: 1.6;
  color: var(--secondary-background-color); /* ensuring text remains visible on dark bg */
}

#vision-and-values .mission {
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 20px auto;
  width: 60%;
}

#vision-and-values hr {
  margin: 40px 0;
}

#vision-and-values .image-container {
  text-align: center;
}

#vision-and-values .image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 0px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  #vision-and-values {
    padding: 20px 15px;
  }

  #vision-and-values h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  #vision-and-values p,
  #vision-and-values .mission {
    width: 100%; /* full width on small screens */
    font-size: 14px;
    line-height: 1.5;
  }

  #vision-and-values hr {
    margin: 30px 0;
  }
}


#our-team {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 20px 20px;
  font-family: var(--secondary-font-family);
  color: var(--text-color);
  background-color: var(--secondary-background-color); /* Adjust to your brand background blue */
  text-align: center;
}

#our-team h1 {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color); /* Golden accent color for section title */
  margin-bottom: 20px;
  font-family: var(--primary-font-family);
}

#our-team .team-intro {
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  font-family: var(--primary-font-family);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns by default */
  gap: 40px;
  justify-items: center;
}

.team-member {
  background-color: transparent;
  text-align: center;
}

.team-member img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 0px;
  border: 1px solid var(--accent-color);
}

.team-member h2 {
  font-size: 18px;
  font-weight: bold;
  font-family: var(--primary-font-family);
  color: var(--accent-color); /* Yellow for names */
  margin: 10px 0 5px 0;
}

.team-member h3 {
  font-size: 14px;
  font-weight: normal;
  font-family: var(--primary-font-family);
  color: var(--text-color);
  margin-bottom: 10px;
}

.team-member p {
  font-size: 14px;
  font-family: var(--primary-font-family);
  line-height: 1.6;
  color: var(--text-color);
  text-align: left;
  padding: 0 10px;
}

/* Tablet adjustments */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  #our-team {
    padding: 20px 15px;
  }

  #our-team h1 {
    font-size: 24px;
  }

  #our-team .team-intro {
    font-size: 14px;
  }

  .team-grid {
    grid-template-columns: 1fr; /* single column on mobile */
  }

  .team-member h2 {
    font-size: 16px;
  }

  .team-member h3 {
    font-size: 12px;
  }

  .team-member p {
    font-size: 14px;
  }
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline; /* or any decoration you prefer on hover */
}