/* Team Section */
.team-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f4f8fb;
    margin-top: 160px;
  }
  
  .section-title {
    font-size: 36px;
    color: #00308f;
    margin-bottom: 10px;
  }
  
  .team-description {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 16px;
    color: #444;
  }
  
  .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    
  }
  
  .team-grid.single-member {
    justify-content: center;
  }
  
  /* Team Member Card */
  .team-member {
    position: relative;
    width: 250px;
    height: 350px;
    background-color: #ffffff;
    
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }
  
  .team-member img {
    width: 100%;
    height: 270px;
    object-fit: cover;
  }
  
  .team-member h3 {
    margin: 10px 0 5px;
    font-size: 18px;
    color: #007BFF;
  }
  
  .team-member .role {
    margin-bottom: 10px;
    font-size: 14px;
    color: #777;
  }
  
  /* Hover Info */
  .hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #007BFF;
    color: white;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .team-member:hover .hover-info {
    opacity: 1;
    visibility: visible;
  }
  
  .hover-info p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  /* Social Icons */
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icons a {
    color: white;
    font-size: 18px;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #00acee; /* Light blue on hover */
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .team-member {
      width: 90%;
      height: auto;
    }
  
    .team-member img {
      height: 380px;
    }
  
    .team-grid {
      flex-direction: column;
      align-items: center;
    }
  }
  