/* Team Hero Section */
.team-hero,
.team-hero-simple {
    background: var(--primary-blue);
    color: var(--primary-blue);
    text-align: center;
    padding: 50px 20px;
    margin-top: 60px;
}


/* Team Categories */
.team-categories {
    padding: 2rem 0;
    background: var(--light-blue);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: white;
    color: var(--primary-blue);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tab-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary-blue);
    color: white;
}

/* Team Members Section */
.team-members {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.member-info .position {
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-info .description {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.team-social-links {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 0.7rem;
}

.team-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.3rem;
    background: #e6f0ff;
    color: #156ba3;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
}

.team-social-links a.gmail-link {
    color: #d93025;
    background: #fff5f5;
}

.team-social-links a.linkedin-link {
    color: #156ba3;
    background: #e6f0ff;
}

.team-social-links a:hover {
    background: #156ba3;
    color: #fff;
    transform: translateY(-2px) scale(1.08);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-hero-content h1 {
        font-size: 2.5rem;
    }

    .team-hero-content p {
        font-size: 1rem;
    }

    .category-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 520px) {
    .team-hero-content h1 {
        font-size: 2rem;
    }

    .member-image {
        height: 250px;
    }
}

/*.team-hero-simple {
  background: linear-gradient(120deg, #004080 60%, #1e2a38 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem 2rem 1rem;
}*/
.team-hero-simple h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
  opacity: 0.99999;
  font-family: "Montserrat",sans-serif;
  
}
.team-hero-simple h2 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: #fff;
  opacity: 0.99999;
  font-family: "Montserrat",sans-serif;
  
}
.team-hero-simple h3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #fff;
  opacity: 0.99999;
  font-family: "Montserrat",sans-serif;
  
}
.team-section-simple {
  background: #f8f9fa;
  padding: 3rem 0 4rem 0;
}
.team-grid-simple {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-content: center;
  gap: 2.5rem 3.5rem;
  max-width: 1400px;
  margin: 0 auto;
  
}
.team-grid-simple .faris-card {
  grid-column-end: 7;
}
@media (max-width: 1024px) {
  
  .team-hero-simple h1 {
    font-size: 3rem !important;
    
  }
  .team-hero-simple h2 {
    font-size: 1.8rem;
  
  }
  .team-hero-simple h3 {
    font-size: 1.3rem;
   
  }
  
  .team-grid-simple {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-grid-simple .faris-card {
    grid-column-end: 4;
  }
}
@media (max-width: 700px) {
 
  .team-hero-simple h1 {
    font-size: 1.70rem !important;
    
  }
  .team-hero-simple h2 {
    font-size: 1.1rem;
    
  }
  .team-hero-simple h3 {
    font-size: 1rem;
   
  }
 
  .team-grid-simple {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .team-card-simple {
    min-width: 120px;
    max-width: 140px;
  }
  .team-photo-square {
    width: 80px;
    height: 80px;
  }
  .team-grid-simple .faris-card {
    grid-column-end: auto;
  }
}
.team-card-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  box-shadow: none;
  padding: 0;
  min-width: 180px;
  max-width: 200px;
}
.team-photo-simple {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 16px rgba(21,107,163,0.10);
  margin-bottom: 1.1rem;
  background: #e6f0ff;
}
.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.9rem;
  color: var(--primary-blue);
  text-align: center;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.team-grid-split {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
}
.team-card-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  box-shadow: none;
  padding: 0;
  min-width: 180px;
  max-width: 200px;
}
.team-photo-square {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 70px;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(21,107,163,0.10);
  margin-bottom: 1.1rem;
  background: #e6f0ff;
}





/* Responsive Design */
@media (max-width: 1024px) {
  .team-grid-split {
    gap: 1.5rem;
  }
  .team-card-square {
    min-width: 120px;
    max-width: 140px;
  }
  .team-photo-square {
    width: 80px;
    height: 80px;
  }
} 


/*@media (max-width: 1024px) {
  .team-hero,
  .team-hero-simple {
    padding: 3rem 1rem;
  }

  .team-hero-content h1,
  .team-hero-simple h1 {
    font-size: 2.2rem;
  }

  .team-hero-content p,
  .team-hero-simple h2,
  .team-hero-simple h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .team-hero,
  .team-hero-simple {
    padding: 2.5rem 1rem 1.5rem;
  }

  .team-hero-content h1,
  .team-hero-simple h1 {
    font-size: 1.8rem;
  }

  .team-hero-content p,
  .team-hero-simple h2,
  .team-hero-simple h3 {
    font-size: 1rem;
  }
}
*/

@media (max-width: 480px) {
  .team-hero-simple h1 {
    font-size: 1.3rem !important;
    
  }
  .team-hero-simple h2 {
    font-size: 1rem;
    
  }
  .team-hero-simple h3 {
    font-size: 0.8rem;
   
  }
  .team-hero-simple{
    min-height: 40vh !important;
    padding: 2rem 1rem !important;
  }
  .team-grid-simple {
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    justify-items: center; /* Center items in their column */
    gap: 1.5rem 1rem; /* Adjust spacing between rows/columns */
  }

  .team-card-simple,
  .team-card-square {
    min-width: 120px;
    max-width: 140px;
  }

  .team-photo-simple,
  .team-photo-square {
    width: 80px;
    height: 80px;
  }

  .team-name {
    font-size: 0.9rem;
  }

  .team-role {
    font-size: 0.75rem;
  }

  .team-grid-split {
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
  }
}
