/* ===============================
   TEAM SECTION
   =============================== */

.team-section {
  padding: 80px 20px;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.team-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  color: #111827;
}

/* Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.team-card {
  background: #f9fafb;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Image Wrapper */
.team-card-img {
  height: 400px;
  overflow: hidden;
}

/* Image */
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Body */
.team-card-body {
  padding: 20px;
  position: relative;
}

.team-card-body h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #0f172a;
}

.team-card-body p {
  font-size: 15px;
  color: #475569;
  font-style: italic;
}

/* LinkedIn */
.linkedin {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: #ffffff;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.linkedin img {
  width: 20px;
  height: 20px;
}

/* Tablet */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card-img {
    height: 320px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card-img {
    height: 280px;
  }
}
