/*********************************************
  1. TEAM HERO
**********************************************/
.team-hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
  }
  .team-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .team-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 1rem;
  }
  .team-hero-overlay h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  .team-hero-overlay p {
    font-size: 1.2rem;
  }
  
  /*********************************************
    2. TEAM INTRO / OVERVIEW
  **********************************************/
  .team-intro {
    padding: 2rem 5%;
    text-align: center;
    background: #fff;
  }
  .team-intro h2 {
    font-size: 2rem;
    color: var(--brown);
    margin-bottom: 1rem;
  }
  .team-intro p {
    max-width: 900px;
    margin: 0.5rem auto;
    line-height: 1.8;
    text-align: left;
  }
  
  /*********************************************
    3. TEAM GRID (TEAM MEMBERS)
  **********************************************/
  .team-grid {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .team-card {
    display: grid;
    grid-template-columns: 250px 1fr; 
    gap: 1.5rem;
    background: #fff;
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    align-items: start;
  }
  
  .team-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  .team-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .team-name {
    font-size: 1.4rem;
    color: var(--deep-green);
    margin-bottom: 0.25rem;
  }
  .team-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--burnt-orange);
  }
  .team-bio {
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  .team-fact {
    background-color: #fafafa;
    border-left: 4px solid var(--tan);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
  }

   
  /* FINAL CTA SECTION */
  .team-cta-banner {
    padding: 2rem 5%;
    background: var(--beige);
    text-align: center;
    
  }
  .team-cta-content h2 {
    margin-bottom: 1rem;
    color: var(--brown);
  }
  .team-cta-content p {
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.8;
    text-align: left;
  }
  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;

  }
  
  /*********************************************
    4. RESPONSIVE DESIGN
  **********************************************/
  @media (max-width: 992px) {
    .team-card {
      grid-template-columns: 1fr;
    }
    .team-photo {
      height: auto; /* so it won't look awkwardly tall on small screens */
      max-height: 300px;
    }
    .team-intro p {
      text-align: left; /* or justify if you prefer */
    }
  }