.about-hero {
  background: linear-gradient(135deg, #1e293b, #0f766e);
  color: #f9fafb;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(15, 118, 110, 0.3), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 1;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.85rem;
}

.about-pill span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

.about-hero h1 {
  font-weight: 800;
}

.about-hero-sub {
  max-width: 38rem;
  font-size: 0.98rem;
  color: #e2e8f0;
}

.about-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-stat {
  min-width: 120px;
}

.about-stat-number {
  font-size: 1.7rem;
  font-weight: 700;
}

.about-stat-label {
  font-size: 0.85rem;
  color: #cbd5f5;
}

.about-section {
  margin-top: 2.5rem;
}

.about-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 0 0, rgba(52, 211, 153, 0.16) 0, transparent 48%),
    radial-gradient(circle at 120% 120%, rgba(16, 185, 129, 0.1) 0, transparent 54%),
    linear-gradient(135deg, rgba(20, 48, 43, 0.12) 0%, rgba(27, 67, 56, 0.13) 45%, rgba(33, 163, 121, 0.2) 100%);
  border: 1px solid rgba(34, 197, 94, 0.18);
  box-shadow: 0 8px 20px rgba(22, 101, 52, 0.04);
}

.about-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
}

.about-section-subtitle {
  font-size: 0.9rem;
  color: #355f54;
}

/* Team carousel */

.team-wrapper {
  position: relative;
  padding-inline: 3.4rem;
}

.team-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.2rem;
  padding-bottom: 0.7rem;
  scroll-behavior: smooth;
}

.team-carousel::-webkit-scrollbar {
  height: 6px;
}

.team-carousel::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
}

.team-card {
  min-width: 240px;
  max-width: 260px;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.26);
  border-color: rgba(45, 212, 191, 0.9);
}

.team-avatar {
  width: 100%;
  height: 180px;
  padding: 0;
  border: 0;
  background-color: #e2e8f0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  cursor: zoom-in;
  overflow: hidden;
  display: block;
}

.team-body {
  padding: 1rem 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.98);
}

.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.team-name {
  font-weight: 700;
  margin-top: 0.2rem;
}

.team-bio {
  font-size: 0.85rem;
  color: #4b5563;
  margin-top: 0.4rem;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.team-tag {
  font-size: 0.75rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
}

.team-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  border: none;
  padding: 0.4rem 0.6rem;
  background: rgba(15, 23, 42, 0.75);
  color: #f9fafb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.team-scroll-btn:hover {
  background: rgba(15, 23, 42, 0.95);
}

.team-scroll-btn[data-team-scroll="left"] {
  left: 0;
}

.team-scroll-btn[data-team-scroll="right"] {
  right: 0;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.82);
}

.image-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 880px);
  max-height: 88vh;
}

.image-lightbox__dialog img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
  background: #fff;
}

.image-lightbox__close {
  position: absolute;
  top: -0.85rem;
  right: -0.35rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent 55%);
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.8rem 0.9rem;
  font-size: 0.8rem;
}

.gallery-item-title {
  font-weight: 600;
}

.gallery-item-location {
  font-size: 0.75rem;
  opacity: 0.85;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.25);
  filter: brightness(1.03);
}

@media (max-width: 768px) {
  .about-hero {
    padding: 1.8rem 1.3rem;
  }

  .team-scroll-btn {
    display: none;
  }

  .team-wrapper {
    padding-inline: 0;
  }
}
