/* our-team.html — Nusail team page */
body.page-team {
  background: #f4f7fc;
}

.team-hero {
  position: relative;
  padding: 3rem 0 3.5rem;
  background: linear-gradient(135deg, #010e33 0%, #011b58 50%, #0a2d7a 100%);
  overflow: hidden;
}
.team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/team/hero-team-survey.png") center/cover no-repeat;
  opacity: 0.28;
}
.team-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(1, 14, 51, 0.92) 0%, rgba(1, 27, 88, 0.82) 55%, rgba(200, 0, 30, 0.15) 100%);
}
.team-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.team-hero h1 {
  color: #fff;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.team-hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 640px;
}
.team-hero-visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
.team-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 220px;
  object-fit: cover;
}

.team-cap-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.team-cap-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #011b58;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(26, 86, 219, 0.15);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(1, 27, 88, 0.08);
}
.team-hero .team-cap-strip {
  margin-top: 1.25rem;
}
.team-hero .team-cap-item {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.team-cap-item i {
  color: #c8001e;
  font-size: 0.9rem;
}
.team-hero .team-cap-item i {
  color: #ff8a9a;
}

.team-section {
  padding: 3.5rem 0;
}
.team-section--light {
  background: #fff;
}
.team-section h2 {
  color: #011b58;
  text-align: center;
  margin-bottom: 0.5rem;
}
.team-section .section-intro {
  text-align: center;
  color: #5c6b82;
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.team-section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.6rem auto 0;
  background: linear-gradient(90deg, #c8001e, #1a56db);
  border-radius: 2px;
}

.team-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.team-service-card {
  background: #fff;
  border: 1px solid #e2e8f2;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 20px rgba(1, 27, 88, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(1, 27, 88, 0.12);
}
.team-service-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.team-service-card span {
  display: block;
  padding: 0.65rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #011b58;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.team-service-card a {
  text-decoration: none;
  color: inherit;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.team-member-card {
  background: #fff;
  border: 1px solid #e2e8f2;
  border-radius: 14px;
  padding: 1.35rem;
  box-shadow: 0 8px 28px rgba(1, 27, 88, 0.07);
  position: relative;
  overflow: hidden;
}
.team-member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c8001e, #1a56db);
}
.team-member-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.team-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #eef2fa;
  box-shadow: 0 4px 14px rgba(1, 27, 88, 0.12);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-member-name {
  color: #011b58;
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}
.team-role {
  color: #c8001e;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}
.team-exp {
  font-size: 0.85rem;
  color: #374151;
  margin-bottom: 0.65rem;
}
.team-edu-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #011b58;
  margin: 0.5rem 0 0.35rem;
}
.team-edu-list {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: #5c6b82;
  line-height: 1.55;
}
.team-member-card .bio {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.team-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(26, 86, 219, 0.08);
  color: #011b58;
}

.team-why {
  background: linear-gradient(180deg, #eef2fa 0%, #f8f9fd 100%);
  padding: 3rem 0;
  text-align: center;
}
.team-why h2 {
  color: #011b58;
  margin-bottom: 0.75rem;
}
.team-why p {
  max-width: 800px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 0.97rem;
  line-height: 1.75;
}

.team-cta {
  padding: 3rem 0 4rem;
}
.team-cta-card {
  background: linear-gradient(135deg, #010e33 0%, #011b58 60%, #0a2d7a 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(1, 27, 88, 0.2);
}
.team-cta-card h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.team-cta-card p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.25rem;
}
.team-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.team-cta-card .btn {
  background: linear-gradient(90deg, #c8001e, #1a56db);
  border: none;
  color: #fff;
}
.team-cta-card .btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}
.team-cta-card .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.page-team .breadcrumbs h2 {
  color: #fff;
}

@media (max-width: 992px) {
  .team-hero .container {
    grid-template-columns: 1fr;
  }
  .team-hero-visual {
    order: -1;
    max-height: 240px;
  }
}
@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
