* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(140, 214, 221, 0.4), transparent 30%),
    linear-gradient(180deg, #f9fdfe 0%, #e8f5f7 48%, #f8fcfd 100%);
  color: #18424c;
}

.team-page {
  position: relative;
  overflow: hidden;
}

.team-page .container {
  max-width: calc(100% - 80px);
  padding-left: 0;
  padding-right: 0;
}

.team-page::before,
.team-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.team-page::before {
  width: 520px;
  height: 520px;
  top: 110px;
  right: -180px;
  background: radial-gradient(circle, rgba(236, 0, 140, 0.1), rgba(236, 0, 140, 0));
}

.team-page::after {
  width: 480px;
  height: 480px;
  left: -220px;
  bottom: 120px;
  background: radial-gradient(circle, rgba(0, 97, 118, 0.14), rgba(0, 97, 118, 0));
}

.team-hero {
  padding: 72px 0 44px;
}

.team-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.team-hero-copy,
.team-hero-panel,
.team-card,
.team-highlight {
  position: relative;
  z-index: 1;
}

.team-eyebrow,
.team-pill,
.team-role-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-eyebrow,
.team-pill {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.78);
  color: #006176;
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(0, 97, 118, 0.08);
}

.team-hero-copy h1 {
  margin: 18px 0 18px;
  color: #006176;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.03;
  font-weight: 800;
  max-width: 720px;
}

.team-hero-copy p {
  max-width: 620px;
  margin: 0;
  color: #477e87;
  font-size: 1.1rem;
  line-height: 1.7;
}

.team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.team-cta-primary,
.team-cta-secondary {
  border: none;
  border-radius: 20px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: "Nunito", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(11, 34, 39, 1);
  white-space: nowrap;
}

.team-cta-primary {
  background: linear-gradient(135deg, #2a8a9a, #43b6c9);
  color: #ffffff;
}

.team-cta-primary:hover {
  background: linear-gradient(135deg, #43b6c9, #5fd3e6);
  border-color: #d8eef2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 57, 65, 0.75);
}

.team-cta-secondary {
  background: linear-gradient(135deg, #ffffff, #f2fbfc);
  color: #1a7a8a;
}

.team-cta-secondary:hover {
  background: linear-gradient(135deg, #f2fbfc, #e0f7fa);
  color: #0f6675;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 57, 65, 0.75);
}

.team-hero-panel {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 55px rgba(0, 97, 118, 0.16);
  backdrop-filter: blur(12px);
}

.team-hero-panel-header h2 {
  margin: 18px 0 0;
  color: #006176;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.08;
  font-weight: 800;
}

.team-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.team-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fcfd 0%, #edf7f8 100%);
  border: 1px solid rgba(0, 97, 118, 0.08);
}

.team-point i {
  flex-shrink: 0;
  color: #ec008c;
  font-size: 1.4rem;
  margin-top: 2px;
}

.team-point h3 {
  margin: 0 0 4px;
  color: #006176;
  font-size: 1rem;
  font-weight: 800;
}

.team-point p {
  margin: 0;
  color: #5f8289;
  line-height: 1.55;
}

.team-section {
  padding: 10px 0 40px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 18px 0 12px;
  color: #006176;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
}

.section-heading p {
  margin: 0;
  color: #5f8289;
  font-size: 1.05rem;
  line-height: 1.7;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  padding: 24px 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(0, 97, 118, 0.12);
  border: 1px solid rgba(0, 97, 118, 0.06);
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(15, 54, 60, 0.16);
}

.avatar-a {
  background: linear-gradient(135deg, #006176, #00a9cc);
}

.avatar-b {
  background: linear-gradient(135deg, #2d7f8d, #60c6d5);
}

.avatar-c {
  background: linear-gradient(135deg, #1f90a5, #6dd4df);
}

.avatar-d {
  background: linear-gradient(135deg, #ec008c, #ff75c8);
}

.team-role-tag {
  margin-top: 18px;
  padding: 6px 12px;
  background: #eef8fa;
  color: #1a7a8a;
  font-size: 0.74rem;
}

.team-card h3 {
  margin: 14px 0 10px;
  color: #006176;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
}

.team-card p {
  margin: 0;
  color: #5f8289;
  line-height: 1.65;
}

.team-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #1a7a8a;
  font-weight: 700;
}

.team-list li + li {
  margin-top: 8px;
}

.team-highlight-section {
  padding: 20px 0 80px;
}

.team-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 0;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #f9fcfc 0%, #edf7f8 100%);
  box-shadow: 0 20px 55px rgba(0, 97, 118, 0.16);
}

.team-highlight-media {
  position: relative;
  min-height: 480px;
}

.team-highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-highlight-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 62%, rgba(237, 247, 248, 0.78) 88%, rgba(237, 247, 248, 1) 100%),
    linear-gradient(0deg, rgba(25, 106, 121, 0.38) 0%, rgba(25, 106, 121, 0) 45%);
}

.team-highlight-quote {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 46px;
  z-index: 1;
}

.team-highlight-quote h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2.6rem;
  line-height: 1.02;
  font-weight: 800;
  text-shadow: 0 3px 18px rgba(6, 105, 138, 1);
}

.team-highlight-quote p {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 700;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.24);
}

.team-highlight-content {
  padding: 42px 34px 42px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-highlight-content h2 {
  margin: 18px 0 12px;
  color: #06698a;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
}

.team-highlight-content p {
  margin: 0;
  color: #5f8289;
  line-height: 1.7;
}

.team-metrics {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.team-metric {
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f2fbfc);
  box-shadow: 0 8px 18px rgba(18, 57, 65, 0.12);
}

.team-metric strong {
  display: block;
  color: #1a7a8a;
  font-size: 1rem;
}

.team-metric span {
  display: block;
  margin-top: 4px;
  color: #5f8289;
  line-height: 1.5;
}

.team-cta-inline {
  margin-top: 26px;
  align-self: flex-start;
}

@media (max-width: 1199.98px) {
  .team-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .team-hero {
    padding-top: 48px;
  }

  .team-hero-grid,
  .team-highlight {
    grid-template-columns: 1fr;
  }

  .team-highlight-media {
    min-height: 360px;
  }

  .team-highlight-content {
    padding: 30px 24px;
  }
}

@media (max-width: 767.98px) {
  .team-actions {
    flex-direction: column;
  }

  .team-page .container {
    max-width: calc(100% - 40px);
  }

  .team-cta-primary,
  .team-cta-secondary,
  .team-cta-inline {
    width: 100%;
    white-space: normal;
  }

  .team-hero-panel,
  .team-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .team-cards {
    grid-template-columns: 1fr;
  }

  .team-highlight {
    border-radius: 24px;
  }

  .team-highlight-media {
    min-height: 320px;
  }

  .team-highlight-overlay {
    background: linear-gradient(0deg, rgba(6, 105, 138, 0.16) 0%, rgba(6, 105, 138, 0) 42%);
  }

  .team-highlight-quote {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 24px 24px;
    background: rgba(237, 247, 248, 0.94);
  }

  .team-highlight-quote h2,
  .team-highlight-quote p {
    color: #ffffff;
  }
}
