/* ================================================
   OCPL Logistics - Services Page Styles
   Figma 1:1 Match (Node 188:976)
   ================================================ */

/* ── 1. Services Hero Banner ── */
.services-hero {
  position: relative;
  min-height: 423px;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #181919;
  background-image: url('../assets/Images/Services/service_topbanner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px 0 70px;
  overflow: hidden;
}

.services-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(31, 31, 31, 0.45) 55%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.services-hero__content {
  position: relative;
  z-index: 2;
}

.services-hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: var(--fw-bold);
  color: var(--color-neutral-8);
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: var(--lh-heading);
}

.services-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-hero__breadcrumb li {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-neutral-8);
}

.services-hero__breadcrumb a {
  color: var(--color-neutral-8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.services-hero__breadcrumb a:hover {
  color: var(--color-primary);
}

.services-hero__breadcrumb-arrow {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ── 2. End-to-End Logistics Overview Section ── */
.services-overview-section {
  background-color: #F5F7F9;
  padding: 70px 0;
}

.services-overview__heading {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: var(--fw-bold);
  color: #181919;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 12px 0 16px;
}

.services-overview__desc {
  font-family: var(--font-body);
  font-size: 18px;
  color: #5C5D5E;
  line-height: 1.65;
  margin: 0;
}

.services-progress-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.services-progress-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: #181919;
  line-height: 1.65;
}

.services-progress-track {
  width: 100%;
  height: 12px;
  background-color: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.services-progress-bar {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, #FFD600 14%, #FF007A 105%);
  transition: width 2.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── 3. How We Operate Showcase (Tall Process Cards) ── */
.services-showcase-section {
  background-color: #2E2F30;
  padding: 80px 0 70px;
  overflow: hidden;
}

.services-showcase-wrapper {
  position: relative;
  width: 100%;
}

.services-showcase-container {
  display: flex;
  gap: 16px;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge */
  padding: 10px 0 20px;
}

.services-showcase-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* Slider Nav Arrows */
.showcase-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(24, 25, 25, 0.75);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.showcase-nav-btn:hover {
  background: #EE5600;
  border-color: #EE5600;
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 28px rgba(238, 86, 0, 0.45);
}

.showcase-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.showcase-nav-btn--prev {
  left: 10px;
}

.showcase-nav-btn--next {
  right: 10px;
}

@media (min-width: 1400px) {
  .showcase-nav-btn--prev {
    left: -20px;
  }
  .showcase-nav-btn--next {
    right: -20px;
  }
}

.services-tall-card {
  position: relative;
  flex: 1 1 0;
  min-width: 440px;
  height: 640px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), flex 0.4s ease;
}

.services-tall-card:hover {
  transform: translateY(-6px);
}

.services-tall-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.85;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.6s ease;
}

.services-tall-card:hover .services-tall-card__img {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
  transform: scale(1.04);
}

.services-tall-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px 24px;
}

.services-tall-card__title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: var(--fw-bold);
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0;
  transition: color 0.3s ease;
}

.services-tall-card:hover .services-tall-card__title {
  background: linear-gradient(135deg, #FFD600 14%, #FF007A 105%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 4. Alternating Detailed Service Showcase Rows ── */
.services-detail-section {
  background-color: #FFFFFF;
  padding: 100px 0 60px;
}

.service-detail-item {
  position: relative;
  margin-bottom: 90px;
  scroll-margin-top: 110px;
}

.service-detail-item:last-child {
  margin-bottom: 0;
}

.service-detail-img-wrap {
  width: 100%;
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.service-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-detail-item:hover .service-detail-img-wrap img {
  transform: scale(1.03);
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.service-detail-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: var(--fw-bold);
  color: #2E2F30;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 16px;
}

.service-detail-desc {
  font-family: var(--font-body);
  font-size: 18px;
  color: #181919;
  line-height: 1.65;
  margin: 0 0 14px;
}

.service-detail-desc:last-of-type {
  margin-bottom: 24px;
}

/* Middle Center Connector Column & Continuous Connecting Line */
.service-detail-item .col-lg-2 {
  align-self: stretch;
}

.service-detail-connector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 78px;
  margin: 0 auto;
}

.service-detail-connector__line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  height: calc(100% + 95px);
  width: 2px;
  background-color: #E1E3E4;
  z-index: 1;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Hide line below the last card so it does not bleed into the CTA banner */
.service-detail-item:last-child .service-detail-connector__line {
  display: none;
}

.service-detail-item:hover .service-detail-connector__line {
  background-color: #EE5600;
  box-shadow: 0 0 8px rgba(238, 86, 0, 0.4);
}

.service-detail-connector__circle {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(-55deg, #FFD600 14%, #FF007A 105%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 0, 122, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-item:hover .service-detail-connector__circle {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(238, 86, 0, 0.4);
}

.service-detail-connector__icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Service CTA Button */
.btn-service-touch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FCEFF0;
  border: 1px solid #FFFFFF;
  border-radius: 8px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #EE5600;
  text-decoration: none;
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.btn-service-touch:hover {
  background-color: #EE5600;
  color: #FFFFFF;
  border-color: #EE5600;
  transform: translateY(-2px);
}

.btn-service-touch .btn__icon {
  width: 10px;
  height: 10px;
  transition: transform var(--transition-fast);
}

.btn-service-touch:hover .btn__icon {
  filter: brightness(0) invert(1);
  transform: translate(2px, -2px);
}

/* ── 5. Responsive Adjustments ── */
@media (max-width: 1199.98px) {
  .service-detail-title {
    font-size: 42px;
  }

  .services-tall-card {
    height: 520px;
    min-width: 250px;
  }

  .services-tall-card__title {
    font-size: 28px;
  }
}

@media (max-width: 991.98px) {
  .services-hero {
    min-height: 360px;
    padding: 120px 0 50px;
  }

  .services-hero__title {
    font-size: 38px;
  }

  .services-overview__heading {
    font-size: 32px;
  }

  .services-overview-section {
    padding: 50px 0;
  }

  .service-detail-item {
    margin-bottom: 60px;
  }

  .service-detail-title {
    font-size: 36px;
  }

  .service-detail-img-wrap {
    height: 340px;
  }

  .service-detail-connector {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .services-hero {
    min-height: 300px;
    padding: 100px 0 40px;
  }

  .services-hero__title {
    font-size: 30px;
  }

  .services-overview__heading {
    font-size: 24px;
  }

  .services-overview__desc {
    font-size: 16px;
  }

  .services-progress-header {
    font-size: 16px;
  }

  .services-showcase-section {
    padding: 50px 0 40px;
  }

  .services-tall-card {
    height: 420px;
    min-width: 220px;
  }

  .services-tall-card__title {
    font-size: 24px;
  }

  .service-detail-title {
    font-size: 26px;
  }

  .service-detail-desc {
    font-size: 16px;
  }

  .service-detail-img-wrap {
    height: 240px;
    margin-bottom: 20px;
  }

  .service-detail-item {
    margin-bottom: 45px;
  }
}