/* ========== RESET & BASE ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Instrument Sans", sans-serif;
  background-color: var(--main-white);
  color: var(--main-gray);
  line-height: 1.6;
}

main {
    padding-top: 100px;
}

/***********************
*  LEADDERSHIP SECTION  *
************************/
.leadership-container {
  max-width: 655px;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  gap: 16px;
}

.leadership-title h2 {
  font-weight: 500;
  line-height: 1.2;
}

.team-statement h6 {
  color: var(--main-gray);
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
}

/* Team Members Grid  */
.team-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2 per row */
  gap: 40px;
  justify-content: center;
  margin: 60px auto;
  padding: 0 40px;
}

.member {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: rgba(5, 46, 22, 0.15) 0px 4px 12px;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-self: center;
  align-items: center;
  text-align: center;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member:hover {
  transform: translateY(-6px);
  box-shadow: rgba(5, 46, 22, 0.25) 0px 6px 18px;
}

/* Profile Images */
.member img {
  width: 100%;
  max-width: 295px;
  height: auto;
  aspect-ratio: 295 / 425;
  border-radius: 20px;
  object-fit: cover;
}

/* Member Info */
.member-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left align all text */
  text-align: left;
  gap: 10px;
  margin-top: 14px;
}

.member-info h6 {
  font-weight: 700;
  font-size: 1.5rem; /* Increased from 1.25rem */
  color: var(--main-black);
}

.member-info label {
  color: var(--main-label-colour);
  font-size: 1.1rem; /* Increased from 1rem */
  font-weight: 600;
}

.member-info p {
  color: var(--main-gray);
  font-size: 1.05rem; /* Slightly larger text */
  line-height: 1.6;
}

/***********************
*  WHO WE ARE SECTION  *
************************/
/* ========== MAIN CONTAINER ========== */
.who-we-are {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ========== SECTION HEADERS ========== */
.story-header {
  text-align: center;
  margin: 4rem 0 3rem 0;
  position: relative;
}

.story-header:first-child {
  margin-top: 0;
}

.story-header h2 {
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--main-black);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.story-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-gold) 0%, var(--secondary-gold) 100%);
  border-radius: 2px;
}

/* ========== CARDS ========== */
.card {
  background-color: #ffffff;
  border: 1px solid var(--secondary-gray);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--main-black);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.card p {
  font-size: 1.125rem;
  color: var(--main-gray);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ========== LISTS ========== */
.card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

.card ul li {
  font-size: 1.125rem;
  color: var(--main-gray);
  line-height: 1.75;
  margin-bottom: 1rem;
  padding-left: 1.75rem;
  position: relative;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  background-color: var(--main-gold);
  border-radius: 50%;
}

.card ul li strong {
  color: var(--main-black);
  font-weight: 600;
}

.card ul li:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
  /* leadership styles */
  .team-members {
    gap: 32px;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }

  .member-info p {
    font-size: 0.9rem;
  }
}

/* ========== RESPONSIVE: TABLETS ========== */
@media (max-width: 992px) {
  /* who we are styles */
  .who-we-are {
    padding: 3rem 1.5rem;
  }

  .story-header h2 {
    font-size: 2.25rem;
  }

  .card {
    padding: 2rem;
  }

  .card h2 {
    font-size: 1.5rem;
  }

  .card p,
  .card ul li {
    font-size: 1.0625rem;
  }
}

/* ========== RESPONSIVE: MOBILE LANDSCAPE ========== */
@media (max-width: 768px) {
  /* leadership styles */
  h2 {
    font-size: 2.25rem;
  }

  h6,
  label,
  p {
    font-size: 1rem;
  }

  .team-members {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 16px;
  }

  .member img {
    width: 220px;
    height: 320px;
  }

  /* who we are styles */
  .who-we-are {
    padding: 2.5rem 1.25rem;
  }

  .story-header {
    margin: 3rem 0 2rem 0;
  }

  .story-header h2 {
    font-size: 2rem;
  }

  .card {
    padding: 1.75rem;
  }

  .card h2 {
    font-size: 1.375rem;
  }

  .card p,
  .card ul li {
    font-size: 1rem;
  }
}

/* ========== RESPONSIVE: MOBILE PORTRAIT ========== */
@media (max-width: 480px) {
  /* leadership styles */
  .about {
    display: none;
  }

  .leadership-title h2 {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .team-statement h6 {
    font-size: 0.95rem;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .team-members {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 10px;
  }

  .member img {
    width: 180px;
    height: 260px;
  }

  .member-info h6 {
    font-size: 1.1rem;
  }

  .member-info label {
    font-size: 0.9rem;
  }

  .member-info p {
    font-size: 0.9rem;
  }

  /* who we are styles */
  .who-we-are {
    padding: 2rem 1rem;
  }

  .story-header h2 {
    font-size: 1.75rem;
  }

  .story-header h2::after {
    width: 60px;
    height: 3px;
  }

  .card {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .card h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .card p,
  .card ul li {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .card ul li {
    padding-left: 1.5rem;
  }

  .card ul li::before {
    top: 0.6rem;
    width: 6px;
    height: 6px;
  }
}
