/* About Us — core team / mission-vision section */
.icv-core-team {
  --icv-ct-primary: #007dc5;
  --icv-ct-primary-deep: #0066a8;
  --icv-ct-dark: #0b1f33;
  --icv-ct-muted: #6b7a8d;
  --icv-ct-white: #ffffff;
  --icv-ct-tab: #eef1f5;
  --icv-ct-tab-text: #2a3a4d;
  --icv-ct-btn-dark: #0b141f;

  position: relative;
  padding: clamp(40px, 5vw, 72px) 0;
  background: #ffffff;
  overflow: hidden;
}

.icv-core-team__frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 2.5vw, 36px) 0 clamp(20px, 2.5vw, 36px) 0;
  min-height: clamp(420px, 52vw, 560px);
  background-color: #0b1f33;
  background-image: url("../img/about/content-bg.png");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 48px rgba(11, 31, 51, 0.12);
}

.icv-core-team__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(11, 31, 51, 0.08) 0%,
    rgba(11, 31, 51, 0.02) 42%,
    rgba(0, 125, 197, 0.12) 100%
  );
}

.icv-core-team__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: inherit;
  padding: clamp(28px, 4vw, 56px);
}

.icv-core-team__card {
  width: 100%;
  max-width: 560px;
  padding: clamp(32px, 4vw, 52px) clamp(28px, 3.5vw, 48px);
  border-radius: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px) 0;
  background: var(--icv-ct-white);
  box-shadow: 0 22px 56px rgba(11, 31, 51, 0.14);
}

.icv-core-team__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--icv-ct-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.icv-core-team__eyebrow-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 14px;
  flex-shrink: 0;
}

.icv-core-team__eyebrow-icon::before,
.icv-core-team__eyebrow-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5px;
  height: 14px;
  background: var(--icv-ct-primary);
  border-radius: 1px;
  transform: skewX(-18deg);
}

.icv-core-team__eyebrow-icon::before {
  left: 0;
}

.icv-core-team__eyebrow-icon::after {
  left: 8px;
}

.icv-core-team__title {
  margin: 0 0 22px;
  color: var(--icv-ct-dark);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.icv-core-team__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.icv-core-team__tab {
  appearance: none;
  border: none;
  cursor: pointer;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--icv-ct-tab);
  color: var(--icv-ct-tab-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.icv-core-team__tab:hover,
.icv-core-team__tab:focus {
  color: var(--icv-ct-primary);
  outline: none;
}

.icv-core-team__tab.is-active,
.icv-core-team__tab[aria-selected="true"] {
  background: var(--icv-ct-primary);
  color: var(--icv-ct-white);
  box-shadow: 0 8px 18px rgba(0, 125, 197, 0.28);
}

.icv-core-team__tab.is-active:hover,
.icv-core-team__tab.is-active:focus,
.icv-core-team__tab[aria-selected="true"]:hover,
.icv-core-team__tab[aria-selected="true"]:focus {
  color: var(--icv-ct-white);
}

.icv-core-team__panels {
  margin: 0 0 28px;
}

.icv-core-team__panel {
  display: none;
  margin: 0;
  color: var(--icv-ct-muted);
  font-size: 15px;
  line-height: 1.85;
}

.icv-core-team__panel.is-active {
  display: block;
}

.icv-core-team__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none !important;
  border: none;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  background: var(--icv-ct-primary);
  color: var(--icv-ct-white) !important;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.icv-core-team__btn-label,
.icv-core-team__btn i {
  position: relative;
  z-index: 1;
}

.icv-core-team__btn i {
  font-size: 13px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.icv-core-team__btn::before,
.icv-core-team__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.icv-core-team__btn::before {
  background: var(--icv-ct-btn-dark);
}

.icv-core-team__btn::after {
  background: var(--icv-ct-primary);
}

.icv-core-team__btn:hover,
.icv-core-team__btn:focus {
  background: var(--icv-ct-primary);
  color: var(--icv-ct-white) !important;
  text-decoration: none;
}

.icv-core-team__btn:hover::before,
.icv-core-team__btn:focus-visible::before {
  animation: icv-ct-btn-sweep 0.4s ease forwards;
}

.icv-core-team__btn:hover::after,
.icv-core-team__btn:focus-visible::after {
  animation: icv-ct-btn-sweep 0.4s ease 0.4s forwards;
}

.icv-core-team__btn:hover i,
.icv-core-team__btn:focus i {
  transform: translateX(3px);
}

@keyframes icv-ct-btn-sweep {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 991px) {
  .icv-core-team__frame {
    background-position: 20% center;
  }

  .icv-core-team__inner {
    justify-content: center;
    padding: 24px;
  }

  .icv-core-team__card {
    max-width: 640px;
  }
}

@media (max-width: 767px) {
  .icv-core-team {
    padding: 36px 0 48px;
  }

  .icv-core-team__frame {
    min-height: 0;
    border-radius: 20px 0 20px 0;
  }

  .icv-core-team__inner {
    padding: 16px;
  }

  .icv-core-team__card {
    padding: 28px 22px;
    border-radius: 22px 0 22px 0;
  }

  .icv-core-team__title {
    margin-bottom: 18px;
  }

  .icv-core-team__tabs {
    gap: 8px;
    margin-bottom: 18px;
  }

  .icv-core-team__tab {
    padding: 10px 14px;
    font-size: 11px;
  }

  .icv-core-team__panels {
    margin-bottom: 24px;
  }

  .icv-core-team__btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .icv-core-team__tabs {
    width: 100%;
  }

  .icv-core-team__tab {
    flex: 1 1 auto;
    text-align: center;
  }
}
