/* =========================
   GLOBAL
========================= */
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #f8f9fa;
  color: #333;
}

h1, h2, h3, h4 {
  font-weight: 600;
}

h2 {
  color: #570000;
}


/* =========================
   HERO SECTION (UNCHANGED)
========================= */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
  height: 99vh;
  position: top;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}


/* =========================
   LEADERSHIP SECTION
========================= */
.team-leadership {
  width: 75%;
  margin: 0 auto;
  padding: 0 auto;
}

.team-leadership h2 {
  margin-bottom: 60px;
  font-size: 30px;
  position: relative;
  text-align: center;
}

.team-leadership h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #570000;
  display: block;
  margin: 15px auto 0;
}

.leader {
  display: flex;
  align-items: center;
  gap: 50px;
  margin: auto;
  width: 75%;
}

.leader:last-child {
  margin-top: 5rem;
}

.leader.reverse {
  flex-direction: row-reverse;
}

.leader img {
  width: 320px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.leader h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.leader span {
  display: block;
  color: #570000;
  font-weight: 500;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.leader p {
  line-height: 1.7;
  color: #555;
}


/* =========================
   TEAM SECTION
========================= */
.team-section {
  margin-bottom: 110px;
}

.team-section h2 {
  margin-bottom: 60px;
  font-size: 30px;
  position: relative;
  text-align: center;
}

.team-section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #570000;
  display: block;
  margin: 15px auto 0;
}


/* =========================
   TEAM CARDS (UPDATED)
========================= */
.team-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* IMAGE */
.card-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
}

/* CONTENT */
.team-content {
  padding: 30px 28px 32px;
  border-top: 1px solid #f1f1f1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* NAME */
.team-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}

/* POSITION (Subtitle Style) */
.team-position {
  font-size: 13px;
  font-weight: 600;
  color: #570000;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* BIO */
.team-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1400) {

  .leader {
    flex-direction: column;
    text-align: center;
  }

  .leader.reverse {
    flex-direction: column;
  }

  .leader img {
    width: 100%;
    max-width: 380px;
  }
  
.page-header {
  margin-top: 12rem;
}
  .page-header h1 {
    font-size: 2.2rem;
  }

  .team-leadership {
    margin: 70px auto;
  }

  .team-section {
    margin-bottom: 80px;
  }

  .team-section h2 {
    font-size: 22px;
  }

  .card-image img {
    height: 260px;
  }

  .team-content {
    padding: 22px;
  }

  .team-name {
    font-size: 19px;
  }

  .team-position {
    font-size: 12px;
  }

  .team-content p {
    font-size: 14px;
  }

  .hero-section {
    height: 75vh;
    min-height: 550px;
  }

  .hero-content {
    max-width: 600px;
    padding: 0 20px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-heading {
    font-size: 42px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-section {
    height: auto;
    min-height: 520px;
  }

  .hero-overlay {
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    text-align: center;
    padding: 40px 25px;
  }

  .hero-heading {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 16px;
    margin: 18px 0 28px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .hero-buttons a {
    width: 100%;
    margin: 0;
  }

  .btn-top,
  .btn-bottom {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }

}