/* team.css - Styles for the team page */

/* Team Intro Section */
.team-intro {
  padding: 80px 0 40px;
  text-align: center;
  background-color: var(--bg-white);
}

.team-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.team-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-medium);
  font-size: 1.1rem;
}

/* Team Section */
.team-section {
  padding: 20px 0 80px;
  background-color:white;
  
}

.team-grid {
  display: flex;
  
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px auto 0;
}

/* Team Cards - New Design */
.team-card {
  display: flex;
  width: 100%;
  max-width: 800px;
  height: 280px;
  background-color:white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}


.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 250px;
  height: 280px;
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}

.card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(249, 115, 22, 0.5), rgba(109, 40, 217, 0.7));
  opacity: 0.2;
  transition: opacity 0.3s ease;
}

.team-card:hover .card-image::after {
  opacity: 0.4;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  flex: 1;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content h2 {
  font-size: 1.5rem;
  margin: 0 0 5px 0;
  color: grey;
  font-weight: 600;
}

.card-content h3 {
  font-size: 1rem;
  color: var(--primary-light);
  margin: 0 0 15px 0;
  font-weight: 500;
}

.card-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
}

/* Card Variations */
.team-card:nth-child(1) .card-image::after {
  background: linear-gradient(45deg, rgba(249, 115, 22, 0.7), rgba(30, 64, 175, 0.5));
}

.team-card:nth-child(2) .card-image::after {
  background: linear-gradient(45deg, rgba(109, 40, 217, 0.7), rgba(249, 115, 22, 0.5));
}

.team-card:nth-child(3) .card-image::after {
  background: linear-gradient(45deg, rgba(30, 64, 175, 0.7), rgba(109, 40, 217, 0.5));
}

.team-card:nth-child(1) .card-content h3 {
  color: #f97316;
}

.team-card:nth-child(2) .card-content h3 {
  color: #6d28d9;
}

.team-card:nth-child(3) .card-content h3 {
  color: #3b82f6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .team-card {
    max-width: 500px;
    height: 200px;
  }
  
  .card-image {
    width: 200px;
    height: 200px;
  }
  
  .card-content h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .team-intro h1 {
    font-size: 2.2rem;
  }
  
  .team-intro p {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .team-card {
    flex-direction: column;
    height: auto;
    max-width: 320px;
  }
  
  .card-image {
    width: 100%;
    height: 200px;
    border-radius: 15px 15px 0 0;
  }
  
  .card-content {
    padding: 20px;
  }
}