/* KGC Denizcilik v14: navigation scale, about motion and intro refinements. */

.desktop-nav a {
  font-size: 14px !important;
  font-weight: 720 !important;
  letter-spacing: -0.08px !important;
}

.intro-logo-stage {
  width: clamp(180px, 24vw, 310px) !important;
}

.intro-progress::after {
  animation-duration: 1.08s !important;
  animation-delay: 0.18s !important;
}

@keyframes kgc-intro-logo-dock {
  0% {
    left: 50%;
    top: 47%;
    width: clamp(180px, 24vw, 310px);
    transform: translate(-50%, -50%);
  }

  100% {
    left: max(24px, calc((100vw - 1840px) / 2));
    top: 0;
    width: 180px;
    transform: none;
  }
}

.kgc-about-page .about-capability-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(22, 161, 211, 0.2);
  background:
    radial-gradient(circle at 8% 20%, rgba(69, 199, 239, 0.11), transparent 24%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(237, 249, 253, 0.9));
  box-shadow:
    0 22px 58px rgba(6, 52, 79, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.kgc-about-page .about-capability-band::before {
  content: "";
  z-index: -1;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(76, 205, 241, 0.16), transparent);
  position: absolute;
  inset: 0 auto 0 -34%;
  transform: skewX(-16deg);
  animation: kgc-capability-sweep 5.4s ease-in-out 0.8s infinite;
}

.kgc-about-page .about-capability-band > div {
  position: relative;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.38s ease,
    box-shadow 0.38s ease;
  animation: kgc-capability-enter 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kgc-about-page .about-capability-band > div:nth-child(2) {
  animation-delay: 0.12s;
}

.kgc-about-page .about-capability-band > div:nth-child(3) {
  animation-delay: 0.24s;
}

.kgc-about-page .about-capability-band > div::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20b9e9;
  box-shadow: 0 0 0 0 rgba(32, 185, 233, 0.36);
  position: absolute;
  top: 20px;
  right: 23px;
  animation: kgc-capability-pulse 2.6s ease-out infinite;
}

.kgc-about-page .about-capability-band > div:nth-child(2)::after {
  animation-delay: 0.65s;
}

.kgc-about-page .about-capability-band > div:nth-child(3)::after {
  animation-delay: 1.3s;
}

.kgc-about-page .about-capability-band strong {
  color: #087da9;
  text-shadow: 0 8px 24px rgba(21, 159, 211, 0.12);
  transition:
    color 0.35s ease,
    transform 0.35s ease,
    text-shadow 0.35s ease;
}

.kgc-about-page .about-capability-band span {
  color: #4e7082;
  font-weight: 790;
}

@media (hover: hover) and (pointer: fine) {
  .kgc-about-page .about-capability-band > div:hover {
    z-index: 2;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 15px 34px rgba(8, 93, 131, 0.1);
    transform: translateY(-5px);
  }

  .kgc-about-page .about-capability-band > div:hover strong {
    color: #069bcf;
    text-shadow: 0 10px 27px rgba(18, 172, 220, 0.22);
    transform: translateX(4px);
  }
}

@keyframes kgc-capability-enter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes kgc-capability-sweep {
  0%, 18% {
    left: -34%;
    opacity: 0;
  }

  36%, 58% {
    opacity: 1;
  }

  78%, 100% {
    left: 110%;
    opacity: 0;
  }
}

@keyframes kgc-capability-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 185, 233, 0.38);
  }

  72%, 100% {
    box-shadow: 0 0 0 11px rgba(32, 185, 233, 0);
  }
}

@media (max-width: 1220px) {
  .desktop-nav a {
    font-size: 12.4px !important;
  }
}

@media (max-width: 940px) {
  .intro-logo-stage {
    width: clamp(180px, 48vw, 260px) !important;
  }

  @keyframes kgc-intro-logo-dock-mobile {
    0% {
      left: 50%;
      top: 47%;
      width: clamp(180px, 48vw, 260px);
      transform: translate(-50%, -50%);
    }

    100% {
      left: 9px;
      top: 0;
      width: 168px;
      transform: none;
    }
  }
}

@media (max-width: 430px) {
  .intro-logo-stage {
    width: min(230px, 68vw) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kgc-about-page .about-capability-band::before,
  .kgc-about-page .about-capability-band > div,
  .kgc-about-page .about-capability-band > div::after {
    animation: none !important;
  }
}
