body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  color: #222;
}

/* Header */
.team-header {
  text-align: center;
  background: linear-gradient(135deg, #006d77 0%, #0b8793 100%);
  position: relative;
  overflow: hidden;
  padding: 50px 20px;
  border-bottom: 4px solid #bbcf32;
}

.team-header h1 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 10px;
}

.team-header p {
  font-size: 18px;
  color: #e0f7f5;
  margin-top: 0;
}

/* Optional hero image overlay */
.team-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(70%) blur(1px);
  pointer-events: none;
}

.team-header > * { position: relative; z-index: 1; }

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual Profile Cards */
.team-member {
  background-color: #e0f4f3;
  border: 1px solid #bbcf32;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.team-member img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #fff;
  padding: 6px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-member h3 {
  font-size: 20px;
  color: #006d77;
  margin: 10px 0 6px;
}

.team-member p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* Back to Home Button */
.back-button {
  padding: 12px 26px;
  background-color: #006d77;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: background-color 0.3s ease, box-shadow 0.2s ease;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.back-button:hover {
  background-color: #dd8545;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Footer */
.team-footer {
  text-align: center;
  padding: 30px 10px;
  background-color: #f8f9fa;
  font-size: 14px;
  color: #888;
  border-top: 1px solid #eee;
}
