section {
  scroll-margin-top: 80px; /* adjust this value to your navbar height */
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", Arial, sans-serif;
}

.about-hero-section {
  position: relative;
  height: 90vh;
  overflow: hidden;
  transition: background-image 3s ease-in-out;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Dark overlay */
.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 2;
}

/* Content */
.about-hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}

.about-hero-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-hero-content span {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.about-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.about-hero-links a {
  padding: 10px 16px;
  border: 1px solid white;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

.about-hero-links a:hover {
  background-color: white;
  color: #000;
}

#who-we-are {
  max-width: 1300px;
  margin: auto;
  padding: 60px 0;
}

#who-we-are h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #025836;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.patron-section p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 2;
  margin-bottom: 40px;
  color: black;
  text-align: justify;
  
}

.ambassador-name,
.general-name {
  font-weight: bold;
}

.intermission {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/resources/About-intermission.png') center center / cover no-repeat;
  z-index: 0;
  height: 524px;
}
#who-we-are p{
  text-align: justify;
}
.mvct {
  padding: 60px 5%;
  background: url('../images/resources/About-us-3.png') center center / cover no-repeat;
}

.mission-stuff {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: auto;
  text-align: center;
  max-width: 1300px;
}

.stuff {
  color: black;
  padding: 0 20px;
}

.icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.title {
  color: #025836;
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.content {
  font-size: 1rem;
  line-height: 1.6;
}

.content ul {
  list-style: none;
  padding: 0;
}

.content li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
  text-decoration: underline;
  text-underline-offset: 8px;
}
.content p{
  text-align: center;
}

.leadership-team-section {
  color: #025836;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
}

.section-paragraph {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 2;
  color: black;
  text-align: center;
  max-width: 1000px;
  margin: 20px auto;
}

.leader-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.leader-card:hover {
  transform: scale(1.05);
}

.image-wrapper {
  background-color: #02583633;
  border-radius: 4px;
  overflow: hidden;
  max-width: 200px;
  /* Reduce size */
  aspect-ratio: 4 / 4;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.image-wrapper img {
  width: 210px;
  height: auto;
  display: block;
  margin-bottom: -70px;
  transition: transform 0.4s ease;
}
.leader-card:hover .image-wrapper img {
  transform: scale(1.08);
}

.leader-name {
  margin-top: 0.6rem;
  font-weight: 600;
  color: #025836;
  text-align: center;
}

.leader-role {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 400;
  margin-top: -20px;
  margin-bottom: 0;
}

.patron-section a{
  text-decoration: none;
  color: black;
}

.patron-wrapper {
  width: 100%;
  background-color: #f8f9fa;
}

.patron-section {
  color: #000;
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #025836;
  margin-bottom: 1rem;
}

.patron-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.patron-role {
  font-style: italic;
  margin-bottom: 1rem;
  color: black;
}

.divider {
  border-top: 1px solid black;
  width: 100%;
  margin-bottom: 1.5rem;
}

.patron-section p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 2;
  margin-bottom: 0;
  color: black;
  text-align: justify;
}

.patron-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 992px) {
  .mission-stuff {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .patron-title{
    text-align: center;
  }
  .patron-title p{
    text-align: center;
  }
  .patron-role em{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .about-hero-content p {
    font-size: 1rem;
  }

  .about-hero-links {
    gap: 0.6rem;
  }

  .about-hero-links a {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  .intermission {
  height: 40vh;
}
  .mission-stuff {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content {
    font-size: 0.95rem;
  }
  .patron-title{
    text-align: center;
  }
  .patron-title p{
    text-align: center;
  }
  .patron-role em{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media(max-width: 480px){
  #who-we-are {
  padding: 60px 5%;
}
  .image-wrapper {
  width: 100px;
}
.image-wrapper img {
  width: 120px;
  margin-bottom: -50px;
}
}

@keyframes fadeInHero {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visible {
    animation: fadeInHero 1.2s ease-out forwards;
}