/* Modern Team Page CSS */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

body {
  background-color: #f4f6f9;
  font-family: "Poppins", sans-serif;
  color: #333;
}

.section-title {
  font-weight: 700;
  color: #002244;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  color: #777;
  font-size: 1.1rem;
}

/* Team Card Styling */
.team-card {
  border: none;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft shadow */
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.team-card:hover {
  transform: translateY(-10px); /* Lift effect */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* Deeper shadow */
}

/* Image Styling */
/* Image Styling */
.card-img-wrapper {
  padding: 0;
  background: transparent;
  margin-bottom: 0px;
  position: relative;
  height: 350px; /* Fixed height for consistency */
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers area without distortion */
  object-position: top center; /* Focus on faces */
  border-radius: 15px 15px 0 0; /* Matches card top corners */
  border: none;
  box-shadow: none;
  margin: 0;
  display: block;
  transition: transform 0.3s ease;
}

.team-card:hover .profile-img {
  transform: scale(1.05); /* Subtle zoom on image */
}

/* Text Styling */
.card-body {
  padding: 1.25rem;
  padding-top: 1.5rem; /* Add spacing after image */
}

.member-name {
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.member-role {
  color: #e74c3c; /* Accent color */
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.member-location {
  color: #888;
  font-size: 0.9rem;
}

.member-location i {
  color: #3498db;
  margin-right: 5px;
}

/* Responsive adjustments included via Bootstrap classes */
