/* ===== HERO SECTION ===== */
.about-hero-section {
  background: var(--white);
  padding: 40px 0;
  text-align: center;
}
.about-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-family: "Cormorant", serif;
}
.about-hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--dark-color);
  max-width: 900px;
  margin: 0 auto;
  font-family: "Work Sans", sans-serif;
}
.about-hero-img {
  max-width: 520px;
  width: 100%;
  min-width: 220px;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(34, 102, 51, 0.15);
}

/* Make Instagram icon use primary color instead of blue */
.about-hero-section .fab.fa-instagram,
.about-hero-section .fa-instagram {
  color: var(--primary-color) !important;
  margin-right: 0.25em !important; /* Reduce space between icon and text */
}

/* Make Instagram link text same size as description */
.about-hero-section .follow-instagram-text {
  font-size: 1.25rem;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  color: var(--primary-color);
}

/* Also apply to any Instagram icon in about-mission-section for legacy */
.about-mission-section .fab.fa-instagram,
.about-mission-section .fa-instagram {
  color: var(--primary-color) !important;
}

/* ===== MISSION SECTION ===== */
.about-mission-section {
  padding: 10px 0;
  background: var(--tertiary-color);
}
.about-mission-heading {
  font-family: "Cormorant", serif;
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: left;
  line-height: 1.1;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}
.mission-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--dark-color);
  font-family: "Work Sans", sans-serif;
}

/* ===== ENGAGEMENT CARDS (Get Involved) ===== */
.about-engagement-section {
  background: var(--white);
  padding: 40px 0;
}
.card {
  background: transparent !important;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  padding-left: 1.1rem;
  margin-right: 1rem;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  border-radius: 0;
}
.card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: unset;
  justify-content: unset;
  padding: 2rem 0.7rem;
}
.card-title {
  color: var(--primary-color);
  font-family: "Cormorant", serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.card-text {
  font-size: 1.08rem;
  color: var(--dark-color);
  font-family: "Work Sans", sans-serif;
  margin-bottom: 2rem;
}
.about-involved-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}
.about-involved-link:hover {
  color: var(--dark-color);
}
.about-involved-arrow {
  font-size: 1.2em;
  margin-left: 0.5em;
  transition: margin-left 0.2s;
  text-decoration: none !important;
}
.about-involved-link:hover .about-involved-arrow {
  margin-left: 0.7em;
  text-decoration: none !important;
}

/* ===== TEAM SECTION ===== */
.about-team-section {
  padding: 40px 0;
  background: var(--secondary-color) !important;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: "Cormorant", serif;
}
.team-subtitle {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-family: "Work Sans", sans-serif;
}
.team-title-lg {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 0.01em;
  margin-bottom: 2.2rem;
  font-family: "Cormorant", serif;
}

/* Remove all .team-member-card, .team-member-image, .team-member-info, .team-member-content-fixed, .team-member-contact, .team-member-social, .social-link styles from this file. They are now in styles/components/team-member-card.css */

/* ===== SCHOOLS SECTION ===== */
.about-schools-section {
  background: var(--white);
  padding: 40px 0;
}
.about-schools-section .card {
  background: var(--tertiary-color) !important;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(34, 102, 51, 0.07);
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  height: 100%;
}
.about-schools-section .card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(34, 102, 51, 0.13);
}

/* Make school cards look clickable */
.about-schools-section a {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.about-schools-section a:hover {
  text-decoration: none;
  color: inherit;
}

.about-schools-section a:hover .card {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(34, 102, 51, 0.13);
}
.about-schools-section .card::before {
  display: none !important;
}
.about-schools-section .card {
  margin: 0 0.5rem 2.5rem 0.5rem;
  padding: 2rem 1.2rem 1.5rem 1.2rem !important;
}
.about-schools-section .card-title {
  color: var(--primary-color);
  font-family: "Cormorant", serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.about-schools-section img {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 0.7rem;
  background: var(--white);
  padding: 0.5rem;
}

/* Add space above Meet the Team heading */
.team-title-lg {
  margin-top: 2.5rem;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 991.98px) {
  .about-hero-img {
    max-width: 350px;
    height: 260px;
  }
  .about-engagement-section {
    padding: 40px 0;
  }
  .team-member-card {
    margin-bottom: 2rem;
  }
  .team-member-social {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.5rem;
  }
  .about-hero-subtitle {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .mission-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .leadership-buttons {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 576px) {
  .about-hero-section,
  .about-mission-section,
  .about-sessions-section,
  .about-volunteer-section,
  .about-leadership-section,
  .about-team-section,
  .about-schools-section {
    padding: 60px 0;
  }
  .about-hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .team-member-info {
    padding: 1.5rem;
  }
  /* Mission heading gap fix */
  .about-mission-section .row {
    min-height: unset;
    flex-direction: column;
  }
  .about-mission-section .col-lg-5 {
    min-height: unset;
    margin-bottom: 1.2rem;
  }
  .about-mission-heading {
    margin-bottom: 0.7rem;
  }
  /* Engagement card border fix */
  .card-body {
    padding: 1rem;
  }
  /* Team section spacing fix */
  .about-team-section {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }
  /* Reduce space after team member bio/contact */
  .team-member-content-fixed {
    min-height: unset;
    max-height: unset;
    margin-bottom: 0.7rem;
  }
  .team-member-info {
    padding-bottom: 1.2rem;
  }
}
@media (max-width: 1000px) {
  .about-mission-section {
    padding: 60px 0;
  }
  .about-mission-section .row {
    min-height: unset;
    flex-direction: column;
  }
  .about-mission-section .col-lg-5 {
    min-height: unset;
    margin-bottom: 1.2rem;
  }
  .about-mission-heading {
    margin-bottom: 0.7rem;
  }
}
@media (min-width: 992px) {
  .about-mission-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
