/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #333;
}

a {
  text-decoration: none;
}

.team-section {
  padding: 80px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1d3557;
}

.section-heading span {
  color: #0f9d58;
}

.sub-heading {
  font-size: 1rem;
  color: #666;
  margin-bottom: 50px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: 0.4s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: #0f9d58;
}

.team-info p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.socials a {
  font-size: 1rem;
  color: #555;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #0f9d58;
}

/* Responsive */
@media (max-width: 992px) {
  .team-container {
    flex-direction: row;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    width: 90%;
  }
}
