/**
 * Reusable Components matching Figma design
 */

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-pill-gold {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 6px 6px 20px;
  border: 1.3px solid var(--primary-color);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--primary-color);
  font-family: var(--font-body);
  font-size: var(--font-size-button-medium);
  line-height: var(--line-height-button-medium);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-button-medium);
  text-transform: uppercase;
  transition: color 0.45s ease, border-color 0.45s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Left-to-right fill sweep */
.btn-pill-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.btn-pill-gold:hover::before {
  transform: scaleX(1);
}

/* Keep text & arrow above the sweep layer */
.btn-pill-gold>* {
  position: relative;
  z-index: 1;
}

.btn-pill-gold .btn-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-circle);
  background-color: var(--neutral-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.45s ease;
}

.btn-pill-gold .btn-arrow-circle img {
  transition: filter 0.45s ease;
}

.btn-pill-gold:hover {
  border-color: var(--primary-color);
  color: var(--neutral-8);
}

.btn-pill-gold:hover .btn-arrow-circle {
  background-color: var(--neutral-8);
}

.btn-pill-gold:hover .btn-arrow-circle img {
  filter: brightness(0) saturate(100%) invert(36%) sepia(85%) saturate(3015%) hue-rotate(349deg) brightness(96%) contrast(100%);
}

/* White Pill Button (for Hero, Dark & Colored Sections) */
.btn-pill-white {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 6px 6px 20px;
  border: 1.3px solid var(--neutral-8);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--neutral-8);
  font-family: var(--font-body);
  font-size: var(--font-size-button-medium);
  line-height: var(--line-height-button-medium);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-button-medium);
  text-transform: uppercase;
  transition: color 0.45s ease, border-color 0.45s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

/* Left-to-right fill sweep */
.btn-pill-white::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--neutral-8);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.btn-pill-white:hover::before {
  transform: scaleX(1);
}

/* Keep text & arrow above the sweep layer */
.btn-pill-white>* {
  position: relative;
  z-index: 1;
}

.btn-pill-white .btn-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-circle);
  background-color: var(--neutral-8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.45s ease;
}

.btn-pill-white .btn-arrow-circle img {
  filter: brightness(0) saturate(100%) invert(36%) sepia(85%) saturate(3015%) hue-rotate(349deg) brightness(96%) contrast(100%);
  transition: filter 0.45s ease;
}

.btn-pill-white:hover {
  border-color: var(--neutral-8);
  color: var(--primary-color);
}

.btn-pill-white:hover .btn-arrow-circle {
  background-color: var(--neutral-2);
}

.btn-pill-white:hover .btn-arrow-circle img {
  filter: brightness(0) invert(1);
}

/* Gradient Arrow CTA (used in Service Cards) */
.btn-text-gradient {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 0;
  color: var(--primary-color);
  font-family: var(--font-body);
  font-size: var(--font-size-button-large);
  line-height: var(--line-height-button-large);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-button-large);
  text-transform: uppercase;
  transition: color 0.45s ease;
  position: relative;
}

/* Underline sweep left-to-right */
.btn-text-gradient::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gradient-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-text-gradient:hover::after {
  transform: scaleX(1);
}

.btn-text-gradient .btn-arrow-gradient {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background: var(--gradient-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-text-gradient:hover .btn-arrow-gradient {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Hero Section & Slider Tabs (Full-Width Responsive)
   ========================================================================== */
.hero-section {
  width: 100%;
  position: relative;
  /* overflow: hidden; */
  /* Removing from here so the wrapper padding doesn't get cut off if we used margins, but we use padding so it's fine. Wait, if hero-wrapper has padding-inline 30px, the inner hero-card takes up the space. */
}

.hero-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 30px;
}

.hero-card {
  position: relative;
  width: 100%;
  min-height: 700px;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Background layers for hero slides */
.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-bg-slide.active {
  opacity: 1;
}

.hero-bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-top: 140px;
  padding-bottom: 60px;
  padding-inline: 40px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-display-large);
  line-height: var(--line-height-display-large);
  letter-spacing: var(--letter-spacing-display-large);
  color: var(--neutral-8);
  margin-bottom: 24px;
  max-width: 1041px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--font-size-body-large);
  line-height: var(--line-height-body-large);
  color: var(--neutral-7);
  margin-bottom: 36px;
  max-width: 820px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hero Carousel Slider Tabs at Bottom */
.hero-tabs-bar {
  position: relative;
  z-index: 3;
  background: rgba(18, 19, 19, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 0;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* @media (min-width: 1608px) {
  .hero-tabs-bar {
    padding-inline: calc((100% - var(--container-max-width)) / 2 + 40px);
  }
} */

/* Hero Carousel Navigation Arrows (Mobile View Only) */
.hero-nav-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.14);
  border: 1.2px solid rgba(255, 255, 255, 0.28);
  color: var(--neutral-8);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.hero-nav-arrow:hover,
.hero-nav-arrow:active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: scale(1.08);
}

.hero-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding-inline: 15px;
  cursor: pointer;
  background: none;
  border: none;
  transition: opacity var(--transition-fast);
}

.hero-tab-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.hero-tab-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.hero-tab-icon .icon-active {
  display: none;
}

.hero-tab-item.active .hero-tab-icon .icon-inactive {
  display: none;
}

.hero-tab-item.active .hero-tab-icon .icon-active {
  display: block;
}

.hero-tab-item:hover .hero-tab-icon {
  transform: translateY(-2px);
}

.hero-tab-title {
  font-family: var(--font-body);
  font-size: var(--font-size-body-medium);
  line-height: var(--line-height-body-large);
  color: var(--neutral-5);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.hero-tab-progress {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hero-tab-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--primary-color);
  transition: width 0.1s linear;
}

.hero-tab-item.active .hero-tab-title {
  color: var(--neutral-8);
  font-weight: 500;
}

.hero-tab-item.active .hero-tab-progress {
  height: 3px;
}

.hero-tab-item.active .hero-tab-progress-fill {
  background: var(--primary-color);
}

.hero-tab-divider {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}


/* ==========================================================================
   Track & Trace Floating Card Section
   ========================================================================== */
.track-trace-section {
  position: relative;
  padding-top: 40px;
  padding-bottom: 60px;
  background: linear-gradient(to bottom, var(--cards-bg) 50%, var(--neutral-2) 50%);
}

.track-trace-card {
  background: var(--neutral-8);
  border-radius: var(--radius-card-sm);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  padding: 28px 36px 36px;
  max-width: 1050px;
  margin-inline: auto;
  position: relative;
  z-index: 5;
}

.track-trace-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-h5);
  line-height: var(--line-height-heading-h5);
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 24px;
}

.track-input-group {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.track-input-wrap {
  flex: 1;
}

.track-input {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-input);
  border: 1px solid var(--neutral-6);
  padding: 0 30px;
  font-family: var(--font-body);
  font-size: var(--font-size-body-medium);
  color: var(--secondary-color);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.track-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(235, 65, 2, 0.15);
}

.track-input::placeholder {
  color: var(--neutral-3);
}

/* Track & Trace Live Result Box */
.track-result-box {
  display: none;
  margin-top: 24px;
  padding: 24px;
  background-color: var(--cards-bg);
  border-radius: var(--radius-card-sm);
  border-left: 4px solid var(--primary-color);
  animation: fadeIn 0.3s ease-in-out;
}

.track-result-box.is-visible {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.track-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.track-badge {
  background-color: #22c55e;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.track-step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--neutral-6);
  padding-top: 16px;
}

@media (max-width: 600px) {
  .track-step-list {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
  background: var(--neutral-8);
  padding-block: 80px;
}

.about-visual-wrap {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
}

.about-ship-img {
  width: 420px;
  height: 580px;
  border-top-left-radius: var(--radius-card-lg);
  border-top-right-radius: var(--radius-card-lg);
  object-fit: cover;
  object-position: right;
}

.about-container-img {
  position: absolute;
  right: -30px;
  bottom: -80px;
  width: 502px;
  height: 962px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
  animation: swingSmooth 6s ease-in-out infinite;
  transform-origin: bottom center;
  z-index: 2;
}

@keyframes swingSmooth {
  0% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(2deg);
  }

  100% {
    transform: translateY(0) rotate(-2deg);
  }
}

.about-counter-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.about-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-counter-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-display-medium);
  line-height: var(--line-height-display-medium);
  letter-spacing: var(--letter-spacing-display-medium);
  color: var(--primary-color);
}

.about-counter-label {
  font-family: var(--font-body);
  font-size: var(--font-size-body-large);
  line-height: var(--line-height-body-large);
  color: var(--secondary-color);
  white-space: nowrap;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  background-color: var(--cards-bg);
  padding-top: 80px;
}

.services-carousel-container {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background-color: #0c0d0e;
}

/* Background layers for services crossfade on hover */
.services-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.services-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  transform: scale(1.03);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  pointer-events: none;
}

.services-bg-layer.prev-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
  transition: none;
}

.services-bg-layer.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-carousel-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
  pointer-events: none;
}

.services-row {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
}

.service-card {
  flex: 1;
  min-height: 520px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: rgba(14, 16, 19, 0.38);
  transition: flex 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card:hover,
.service-card.active {
  flex: 1.45;
  background-color: rgba(14, 16, 19, 0.72);
  border-right-color: rgba(255, 255, 255, 0.2);
}

.service-card:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.service-card:first-child:hover,
.service-card:first-child.active {
  border-left-color: rgba(255, 255, 255, 0.2);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon img {
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.service-card-icon .icon-inactive {
  opacity: 1;
  transform: scale(1);
}

.service-card-icon .icon-active {
  opacity: 0;
  transform: scale(0.92);
}

.service-card:hover .service-card-icon .icon-inactive,
.service-card.active .service-card-icon .icon-inactive {
  opacity: 0;
  transform: scale(0.92);
}

.service-card:hover .service-card-icon .icon-active,
.service-card.active .service-card-icon .icon-active {
  opacity: 1;
  transform: scale(1);
}

.service-card-num {
  font-family: var(--font-heading);
  font-size: var(--font-size-display-small);
  line-height: var(--line-height-display-small);
  letter-spacing: var(--letter-spacing-display-small);
  color: var(--neutral-5);
  transition: color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-num,
.service-card.active .service-card-num {
  color: var(--neutral-8);
  transform: scale(1.05);
}

.service-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-h2);
  line-height: var(--line-height-heading-h2);
  letter-spacing: var(--letter-spacing-heading-h2);
  color: var(--neutral-5);
  transition: color 0.35s ease;
}

.service-card:hover .service-card-title,
.service-card.active .service-card-title {
  color: var(--neutral-8);
}

.service-card-desc {
  font-family: var(--font-body);
  font-size: var(--font-size-body-regular);
  line-height: var(--line-height-body-regular);
  color: rgba(255, 255, 255, 0.88);
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transform: translateY(8px);
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease 0.05s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.service-card:hover .service-card-desc,
.service-card.active .service-card-desc {
  max-height: 140px;
  opacity: 1;
  transform: translateY(0);
}

/* Stable Grid CTA Transition */
.service-cta-group {
  display: grid;
  grid-template-areas: "cta";
  align-items: center;
  min-height: 48px;
}

.service-cta-active,
.service-cta-inactive {
  grid-area: cta;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.service-cta-active {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.service-cta-inactive {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.service-card:hover .service-cta-active,
.service-card.active .service-cta-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.service-card:hover .service-cta-inactive,
.service-card.active .service-cta-inactive {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

/* Mobile Service Slider Base Elements (Hidden on Desktop) */
.service-card-mobile-bg {
  display: none;
}

.services-mobile-nav {
  display: none;
}

.services-nav-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.14);
  border: 1.2px solid rgba(255, 255, 255, 0.28);
  color: var(--neutral-8);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.services-nav-arrow:hover,
.services-nav-arrow:active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: scale(1.08);
}

.services-mobile-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-indicator {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
  overflow: hidden;
}

.services-indicator.active {
  width: 32px;
  background: rgba(255, 255, 255, 0.22);
}

.services-dot-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: var(--primary-color);
  border-radius: 4px;
  pointer-events: none;
}


/* ==========================================================================
   Solutions Section
   ========================================================================== */
.solutions-section {
  background-color: var(--neutral-8);
  position: relative;
  overflow: hidden;
  padding-block: 80px;
}

.solutions-pattern-bg {
  position: absolute;
  left: 30px;
  top: 0;
  width: 600px;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
  background-image: url('../assets/images/hero/solutions-pattern.png');
  background-repeat: no-repeat;
  background-position: left center;
  z-index: 1;
}

.solutions-content {
  position: relative;
  z-index: 2;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--neutral-5);
}

.solution-grid-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom: 1px solid var(--neutral-5);
  border-right: 1px solid var(--neutral-5);
  background: var(--neutral-8);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.solution-grid-card:nth-child(2n) {
  border-right: none;
}

.solution-grid-card:nth-child(3),
.solution-grid-card:nth-child(4) {
  border-bottom: none;
}

.solution-grid-card:hover {
  background-color: var(--cards-bg);
}

.solution-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.solution-card-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-h3);
  line-height: var(--line-height-heading-h3);
  color: var(--neutral-2);
}

.solution-card-text {
  font-family: var(--font-body);
  font-size: var(--font-size-body-regular);
  line-height: var(--line-height-body-regular);
  color: var(--neutral-3);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-section {
  background-color: var(--neutral-2);
  color: var(--neutral-8);
  padding-block: 80px;
}

.why-choose-grid-row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.why-choose-col-left,
.why-choose-col-right {
  display: flex;
  flex-direction: column;
}

.why-choose-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid var(--neutral-3);
}

.why-choose-item:last-child {
  border-bottom: none;
}

@media (min-width: 992px) {
  .why-choose-col-left {
    border-right: 1px solid var(--neutral-3);
  }

  .why-choose-col-left .why-choose-item {
    padding: 38px 48px 38px 0;
  }

  .why-choose-col-right {
    border-left: 1px solid var(--neutral-3);
  }

  .why-choose-col-right .why-choose-item {
    padding: 38px 0 38px 48px;
  }

  .why-choose-col-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
  }
}

@media (max-width: 991.98px) {

  .why-choose-col-left,
  .why-choose-col-right {
    border-right: none;
    border-left: none;
  }

  .why-choose-col-left .why-choose-item,
  .why-choose-col-right .why-choose-item {
    padding: 24px 0;
  }

  .why-choose-col-center {
    margin-block: 28px;
    padding: 0 16px;
  }
}

.why-choose-num {
  font-family: var(--font-heading);
  font-size: var(--font-size-display-small);
  line-height: var(--line-height-display-small);
  letter-spacing: var(--letter-spacing-display-small);
  color: var(--neutral-8);
}

.why-choose-item-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-h3);
  line-height: var(--line-height-heading-h3);
  color: var(--neutral-8);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.why-choose-item:hover .why-choose-item-title {
  color: var(--primary-color);
  text-shadow: 0 0 15px rgba(235, 65, 2, 0.4);
}

.why-choose-item-text {
  font-family: var(--font-body);
  font-size: var(--font-size-body-regular);
  line-height: var(--line-height-body-regular);
  color: var(--neutral-7);
  margin-bottom: 0;
}

.why-choose-center-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.why-choose-container-img {
  width: 100%;
  max-width: 500px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

/* ==========================================================================
   Clients Section
   ========================================================================== */
.clients-section {
  background: var(--neutral-8);
  padding-top: 80px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  border-top: 1px solid var(--neutral-6);
}

.client-logo-card {
  height: 205px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
  border-bottom: 1px solid var(--neutral-6);
  border-right: 1px solid var(--neutral-6);
  background: linear-gradient(to top right, var(--primary-color) 50%, var(--neutral-8) 50%);
  background-size: 300% 300%;
  background-position: 100% 0%;
  transition: background-position 0.6s linear, border-color 0.28s ease;
  overflow: hidden;
  cursor: pointer;
}

.client-logo-card:nth-child(4n) {
  border-right: none;
}

.client-logo-card .logo-normal {
  position: absolute;
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  width: 200px;
}

.client-logo-card .logo-hover {
  position: absolute;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  width: 200px;
}

/* Figma Top-Right Corner Triangle Accent */
.client-logo-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 70px 70px 0;
  border-color: transparent var(--neutral-8) transparent transparent;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.client-logo-card:hover {
  background-position: 0% 100%;
}

.client-logo-card:hover::after {
  opacity: 1;
}

.client-logo-card:hover .logo-normal {
  opacity: 0;
  transform: scale(0.95);
}

.client-logo-card:hover .logo-hover {
  opacity: 1;
  transform: scale(1);
}


/* ==========================================================================
   Contact CTA Bar Section
   ========================================================================== */
.contact-bar-section {
  background-color: var(--primary-color);
  padding: 60px;
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.contact-bar-text {
  font-family: var(--font-cta);
  font-size: 32px;
  line-height: 38px;
  font-weight: 600;
  letter-spacing: -0.64px;
  color: var(--neutral-8);
  margin-bottom: 0;
}

/* ==========================================================================
   Scroll To Top Floating Button (Bottom Right)
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--neutral-1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s,
    background-color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  padding: 0;
  outline: none;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-to-top:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 28px rgba(235, 65, 2, 0.42);
}

.scroll-to-top:hover svg {
  transform: translateY(-3px);
}

.scroll-to-top:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.scroll-to-top:active {
  transform: translateY(0) scale(0.96);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}