/* =========================
   TEAM SECTION
========================= */

.team-section {
  padding: 100px 24px;
  background: #ffffff;
}

.team-header {
  max-width: 800px;
  margin: 0 auto 70px;
  text-align: center;
}

.team-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #0f172a;
}

.team-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1e3163;
}

.team-header h2 {
  margin: 18px 0;
  font-size: 48px;
  line-height: 1.15;
  color: #0f172a;
  font-family: "Playfair Display", serif;
}

.team-header p {
  max-width: 620px;
  margin: auto;
  color: #64748b;
  line-height: 1.7;
  font-size: 15px;
}

/* GRID */

.team-grid {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* CARD */

.team-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.06);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
}

/* HOVER TOP BORDER */

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: #1e3163;
  transform: scaleX(0);
  transition: .35s;
  transform-origin: left;
}

.team-card:hover::before {
  transform: scaleX(1);
}

/* IMAGE */

.team-image {
  width: 130px;
  height: 130px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f8fafc;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.08);
}

/* CONTENT */

.team-content {
  padding: 0;
}

.team-content h3 {
  margin-bottom: 6px;
  font-size: 22px;
  color: #111827;
  font-family: "Playfair Display", serif;
}

.team-content span {
  display: inline-block;
  color: #1e3163;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.team-content p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .team-section {
    padding: 70px 20px;
  }

  .team-header h2 {
    font-size: 34px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-image {
    width: 110px;
    height: 110px;
  }

  .team-content h3 {
    font-size: 20px;
  }
}


.team-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.team-name h3 {
    margin: 0;
    font-size: 22px;
    color: #111827;
    font-family: "Playfair Display", serif;
}

.linkedin-link {
    color: #0A66C2;
    font-size: 18px;
    transition: all .3s ease;
}

.linkedin-link:hover {
    transform: translateY(-2px);
    color: #004182;
}