
   
   
   
   
   /*--------------------------------------------------------------
    # Team Section
    --------------------------------------------------------------*/


    /* Modern Team Styles */
    .team-category {
        margin-bottom: 60px;
    }
    
    .category-header {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
        position: relative;
        padding-left: 70px;
    }
    
    .category-header .header-icon {
        position: absolute;
        left: 0;
        width: 50px;
        height: 50px;
        background: var(--primary-red);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }
    
    .category-header h2 {
        font-size: 28px;
        color: var(--dark-gray);
        margin: 0;
    }
    
    /* Founding Team Container - Centered */
    .founding-team-container {
        display: flex;
        justify-content: center;
    }
    
    /* Founding Team Grid */
    .founding-team-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 1000px;
        width: 100%;
    }
    
    /* Founder Card - Same size as team cards but with side-by-side layout */
    .founder-card {
        background: var(--white);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s, box-shadow 0.3s;
        height: 100%;
    }
    
    .founder-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .founder-content {
        display: flex;
        height: 100%;
    }
    
    .founder-image {
        flex: 1;
        overflow: hidden;
        min-width: 160px;
    }
    
    .founder-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .founder-info {
        flex: 1;
        padding: 2px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .founder-info h3 {
        font-size: 1.3rem;
        color: var(--dark-gray);
        margin-bottom: 8px;
        margin-left: 10px;
    }
    
 
/* ======================
   Team Members Grid
   ====================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
  margin-bottom: 50px;
}

.team-member {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 280px;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

.social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s;
}

.team-member:hover .social-overlay {
  opacity: 1;
}

.social-overlay a {
  color: white;
  font-size: 18px;
}

.team-member h3 {
  padding: 20px 20px 5px;
  font-size: 1.2rem;
  color: var(--dark-gray);
}

.member-position {
  padding: 0 20px;
  color: var(--primary-red);
  font-weight: 500;
  margin-bottom: 10px;
}

.member-bio {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ======================
   Responsive
   ====================== */
@media (max-width: 992px) {
  .founder-card {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-member {
    max-width: 100%;
  }

  .category-header {
    padding-left: 60px;
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-member {
    max-width: 100%;
  }

  .category-header {
    padding-left: 0;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .category-header .header-icon {
    position: relative;
    margin-bottom: 15px;
    left: auto;
  }
}
