﻿/* =============================================
   SWIFTROUTE  -  SERVICES PAGE STYLES
   ============================================= */

.text-red {
  color: var(--red);
}
.nav-active {
  color: var(--red) !important;
}
.nav-active::after {
  width: calc(100% - 24px) !important;
}

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(7, 17, 31, 0.88) 40%,
      rgba(7, 17, 31, 0.45) 100%
    ),
    linear-gradient(135deg, #0b2040 0%, #1a3a6e 60%, #0a1830 100%);
}
.svc-hero-bg {
  background:
    linear-gradient(
      100deg,
      rgba(7, 17, 31, 0.82) 45%,
      rgba(7, 17, 31, 0.35) 100%
    ),
    radial-gradient(
      ellipse at 70% 40%,
      rgba(26, 58, 110, 0.7) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, #0b2040 0%, #1a3a6e 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 14px;
  animation: fadeUp 0.6s ease both;
}
.svc-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 22px;
  animation: fadeUp 0.6s 0.1s ease both;
  line-height: 1.6;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  animation: fadeUp 0.6s 0.2s ease both;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--red);
}

/* ---- PILLARS ---- */
.pillars {
  padding: 80px 0;
  background: var(--white);
  border-bottom: 1px solid var(--lightgray);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.pillar {
  padding: 28px 20px;
  border: 1px solid var(--lightgray);
  transition:
    box-shadow 0.25s,
    transform 0.25s,
    border-color 0.25s;
}
.pillar:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--red);
}
.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.pillar p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ---- END-TO-END BANNER ---- */
.ete-section {
  background: var(--offwhite);
}
.ete-banner {
  background: var(--navy);
  padding: 60px 0 50px;
}
.ete-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ete-left h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--white);
  line-height: 1.05;
  margin-top: 10px;
}
.ete-right p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.ete-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}
.trust-icon {
  font-size: 1.3rem;
}

/* ---- SERVICE CARDS SLIDER ---- */
.svc-slider-wrap {
  position: relative;
  background: var(--white);
  padding: 0 60px;
  border-bottom: 1px solid var(--lightgray);
}
.svc-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  transition: transform 0.4s ease;
}
.svc-slide {
  padding: 36px 28px;
  border-right: 1px solid var(--lightgray);
  border-bottom: 4px solid transparent;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  min-width: 0;
}
.svc-slide:last-child {
  border-right: none;
}
.svc-slide-active,
.svc-slide:hover {
  border-bottom-color: var(--red);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.svc-slide-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.svc-slide h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.svc-slide p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.svc-read-more {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy2);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.svc-read-more:hover {
  color: var(--red);
}
.arrow-circle {
  width: 30px;
  height: 30px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.95rem;
  transition: transform 0.2s;
}
.svc-read-more:hover .arrow-circle {
  transform: translateX(3px);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-btn:hover {
  background: var(--red);
}
.slider-prev {
  left: 8px;
}
.slider-next {
  right: 8px;
}

/* ---- INDUSTRY SOLUTIONS ---- */
.industry-svc {
  padding: 90px 0 0;
  background: var(--white);
}
.industry-svc-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.ind-svc-img {
  position: relative;
  height: 340px;
  overflow: hidden;
}
.ind-svc-img-bg {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 30% 60%,
      rgba(26, 58, 110, 0.8) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, #0b1829 0%, #1a3a6e 100%);
  position: relative;
}
.ind-svc-img-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  opacity: 0.18;
}
.ind-svc-content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.1;
}
.ind-svc-content p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.ind-svc-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ind-svc-bullets li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy2);
}

.ind-tags-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--lightgray);
  border-left: 1px solid var(--lightgray);
}
.ind-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px;
  border-right: 1px solid var(--lightgray);
  border-bottom: 1px solid var(--lightgray);
  cursor: default;
  transition:
    background 0.2s,
    color 0.2s;
}
.ind-tag:hover {
  background: var(--navy);
}
.ind-tag:hover span {
  color: var(--white);
}
.ind-tag-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.ind-tag span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy2);
  line-height: 1.3;
}

.ind-explore {
  padding: 22px 0 70px;
  font-size: 0.88rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ind-explore a {
  color: var(--red);
  font-weight: 700;
  transition: letter-spacing 0.2s;
}
.ind-explore a:hover {
  letter-spacing: 0.04em;
}

/* ---- TRANSPORT MODES (Services variant) ---- */
.svc-transport {
  padding: 0;
}
.transport-numbered {
  display: flex;
  background: var(--navy);
}
.tn {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  padding: 12px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s;
}
.tn:last-child {
  border-right: none;
}
.active-tn {
  color: var(--white);
  background: var(--red);
}

.transport-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 420px;
}
.transport-panel {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.4s ease;
}
.transport-panel:hover {
  flex: 2;
}

.transport-panel-featured {
  flex: 2;
}
.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    transparent 100%
  );
  transition: background 0.3s;
}
.transport-panel:hover .panel-overlay,
.transport-panel-featured .panel-overlay {
  background: linear-gradient(
    to top,
    rgba(224, 32, 32, 0.8) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    transparent 100%
  );
}
.panel-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 24px 18px;
}
.panel-feature-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 32px 32px 28px;
  color: var(--white);
}
.panel-feature-box h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1.2;
}
.panel-feature-box p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 14px;
}
.panel-feature-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.panel-feature-box ul li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 5px;
  font-weight: 600;
}
.transport-panel-featured .panel-label {
  position: absolute;
  bottom: 0;
  right: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 24px 14px;
}

/* ---- PROCESS SECTION ---- */
.process-section {
  padding: 100px 0;
  background: var(--white);
}
.process-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.process-left h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.1;
}
.process-left p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 0.98rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
}
.process-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 28px;
  border: 1px solid var(--lightgray);
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
.process-step:hover {
  box-shadow: var(--shadow);
  border-color: var(--red);
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
.process-step:hover .step-num {
  background: var(--red);
}
.step-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-content p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
}
.process-connector {
  width: 2px;
  height: 20px;
  background: var(--red);
  margin-left: 25px;
  opacity: 0.4;
}

/* ---- TRUSTED BY ---- */
.trusted-by {
  background: var(--offwhite);
  padding: 60px 0;
  border-top: 1px solid var(--lightgray);
  border-bottom: 1px solid var(--lightgray);
  text-align: center;
}
.tb-label {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.tb-label strong {
  color: var(--red);
}
.tb-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  flex-wrap: wrap;
}
.tb-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: #aab4c4;
  transition: color 0.2s;
  cursor: default;
}
.tb-logo:hover {
  color: var(--navy2);
}

/* ---- FOOTER REUSE FROM ABOUT ---- */
.footer-top-band {
  background: var(--navy2);
  padding: 50px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ftb-left .logo {
  color: var(--white);
  margin-bottom: 14px;
}
.ftb-left p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.ftb-right h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact-list li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ete-banner-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .svc-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-svc-inner {
    grid-template-columns: 1fr;
  }
  .ind-tags-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .transport-panels {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .transport-panel {
    min-height: 240px;
  }
  .transport-numbered {
    display: none;
  }
  .process-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .svc-slider {
    grid-template-columns: 1fr;
  }
  .ind-tags-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .transport-panels {
    grid-template-columns: 1fr;
    height: auto;
  }
  .svc-slider-wrap {
    padding: 0 48px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
