/* ============================================================
   SECTIONS — Reusable Section-Specific Styles
   ============================================================ */

/* ============================================================
   1. TRUST BAR — Infinite Logo Marquee
   ============================================================ */
.trust-bar {
    padding: var(--space-12) 0;
    overflow: hidden;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.trust-bar__label {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: var(--space-8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-bar__track {
    display: flex;
    width: max-content;
}

.trust-bar__slide {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    padding: 0 var(--space-6);
    flex-shrink: 0;
}

.trust-bar__logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter var(--transition-base), opacity var(--transition-base);
}

.trust-bar__logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================================
   2. PROCESS / HOW IT WORKS — Steps with connecting line
   ============================================================ */
.process {
    position: relative;
}

.process__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    position: relative;
}

@media (min-width: 768px) {
    .process__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process__steps {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-8);
    }
}

.process__step {
    text-align: center;
    position: relative;
    padding: var(--space-4);
}

.process__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-primary));
    color: var(--bg-white);
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

/* Connecting line between steps (desktop only) */
@media (min-width: 1024px) {
    .process__step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        left: calc(50% + 38px);
        right: calc(-50% + 38px);
        height: 2px;
        background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
        z-index: 0;
    }
}

.process__step-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text-heading);
}

.process__step-desc {
    font-size: var(--text-base);
    color: var(--text-muted);
    max-width: 240px;
    margin: 0 auto;
    line-height: var(--leading-normal);
}

/* ============================================================
   3. TIMELINE — Horizontal Animated Timeline
   ============================================================ */
.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .timeline {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }
}

.timeline__item {
    flex: 1;
    position: relative;
    text-align: center;
    padding: 0 var(--space-4);
}

/* Timeline line (desktop) */
@media (min-width: 1024px) {
    .timeline__item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20px;
        left: calc(50% + 24px);
        right: calc(-50% + 24px);
        height: 2px;
        background-color: rgba(255, 255, 255, 0.15);
    }
}

.timeline__dot {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: rgba(225, 109, 16, 0.15);
    border: 2px solid var(--orange-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    position: relative;
    z-index: 1;
}

.timeline__dot svg {
    width: 18px;
    height: 18px;
    color: var(--orange-cta);
}

.timeline__title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: var(--space-3);
}

.timeline__desc {
    font-size: var(--text-base);
    color: var(--text-muted);
    max-width: 220px;
    margin: 0 auto;
    line-height: var(--leading-normal);
}

.section--dark .timeline__title {
    color: var(--bg-white);
}

.section--dark .timeline__desc {
    color: var(--text-on-dark-muted);
}

/* ============================================================
   4. CTA BANNER — Full-Width Call to Action
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--orange-cta) 0%, var(--orange-hover) 100%);
    padding: var(--space-10) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner__content {
    position: relative;
    z-index: 1;
}

.cta-banner__title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: var(--space-5);
}

@media (min-width: 768px) {
    .cta-banner__title {
        font-size: var(--text-4xl);
    }
}

.cta-banner__subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--leading-relaxed);
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

/* ============================================================
   5. CHECKLIST / BENEFIT LIST
   ============================================================ */
.checklist {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--text-body);
    line-height: var(--leading-normal);
}

.checklist__icon {
    width: 22px;
    height: 22px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.section--dark .checklist__item {
    color: var(--text-on-dark-muted);
}

/* ============================================================
   6. TWO-COLUMN SPLIT SECTION
   ============================================================ */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.split--reverse {
    direction: ltr;
}

@media (min-width: 1024px) {
    .split--reverse {
        direction: rtl;
    }

    .split--reverse > * {
        direction: ltr;
    }
}

.split__image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   7. TABS COMPONENT
   ============================================================ */
.tabs {
    width: 100%;
}

.tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
    justify-content: center;
}

.tabs__btn {
    padding: 12px 28px;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-muted);
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.tabs__btn:hover {
    color: var(--text-heading);
    border-color: var(--blue-primary);
}

.tabs__btn.active {
    color: var(--bg-white);
    background-color: var(--blue-primary);
    border-color: var(--blue-primary);
}

.tabs__panel {
    display: none;
}

.tabs__panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Dark variant */
.section--dark .tabs__btn {
    color: var(--text-on-dark-muted);
    border-color: rgba(255, 255, 255, 0.15);
}

.section--dark .tabs__btn:hover {
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.section--dark .tabs__btn.active {
    background-color: var(--orange-cta);
    border-color: var(--orange-cta);
    color: var(--bg-white);
}

/* ============================================================
   8. CLIENT LOGO GRID
   ============================================================ */
.marquee-container {
    display: flex;
    overflow: hidden;
    gap: 2rem;
    position: relative;
    padding: 1rem 0;
    /* Soft fade on the edges */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    min-width: 100%;
    justify-content: space-around;
    animation: marquee-scroll 15s linear infinite;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

.client-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    aspect-ratio: 16/10;
}

.client-grid__item:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-md);
}

.client-grid__item img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: all var(--transition-base);
}

.client-grid__item:hover img {
    transform: scale(1.05);
}

/* ============================================================
   9. CAROUSEL — Testimonial Slider
   ============================================================ */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 0;
}

.carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 var(--space-3);
}

@media (min-width: 768px) {
    .carousel__slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .carousel__slide {
        flex: 0 0 33.333%;
    }
}

.carousel__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-10);
}

.carousel__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text-body);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel__btn:hover {
    background-color: var(--blue-primary);
    border-color: var(--blue-primary);
    color: var(--bg-white);
}

.section--dark .carousel__btn {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
}

.section--dark .carousel__btn:hover {
    background-color: var(--orange-cta);
    border-color: var(--orange-cta);
}

.carousel__btn svg {
    width: 20px;
    height: 20px;
}

.carousel__dots {
    display: flex;
    gap: var(--space-2);
}

.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background-color: var(--border);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.carousel__dot.active {
    width: 24px;
    background-color: var(--blue-primary);
}

.section--dark .carousel__dot {
    background-color: rgba(255, 255, 255, 0.2);
}

.section--dark .carousel__dot.active {
    background-color: var(--orange-cta);
}

/* ============================================================
   10. CONTACT SECTION — Two-Column Form + Info
   ============================================================ */
.contact-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .contact-section {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--space-16);
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-info__card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background-color: var(--bg-dark-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-info__card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background-color: var(--blue-light);
    color: var(--blue-primary);
    flex-shrink: 0;
}

.contact-info__card-icon svg {
    width: 22px;
    height: 22px;
}

.contact-info__card-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-1);
}

.contact-info__card-value {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-heading);
}

.contact-info__card-value a {
    color: var(--text-heading);
    transition: color var(--transition-fast);
}

.contact-info__card-value a:hover {
    color: var(--orange-cta);
}

/* ============================================================
   11. FAQ SIDEBAR LAYOUT
   ============================================================ */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .faq-layout {
        grid-template-columns: 280px 1fr;
        gap: var(--space-12);
    }
}

.faq-sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2);
}

@media (min-width: 1024px) {
    .faq-sidebar {
        flex-direction: column;
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

.faq-sidebar__btn {
    padding: 12px 20px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .faq-sidebar__btn {
        white-space: normal;
        border-radius: var(--radius-md);
    }
}

.faq-sidebar__btn:hover {
    color: var(--text-heading);
    border-color: var(--blue-primary);
}

.faq-sidebar__btn.active {
    color: var(--blue-primary);
    background-color: var(--blue-light);
    border-color: var(--blue-primary);
    font-weight: 600;
}

/* ============================================================
   12. LEGAL PAGE LAYOUT — TOC Sidebar
   ============================================================ */
.legal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 260px 1fr;
        gap: var(--space-12);
    }
}

.legal-toc {
    display: none;
}

@media (min-width: 1024px) {
    .legal-toc {
        display: block;
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

.legal-toc__title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-5);
}

.legal-toc__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.legal-toc__link {
    font-size: var(--text-sm);
    color: var(--text-muted);
    padding: 8px 14px;
    border-left: 2px solid transparent;
    transition: all var(--transition-fast);
    display: block;
}

.legal-toc__link:hover {
    color: var(--text-heading);
    border-left-color: var(--blue-light);
}

.legal-toc__link.active {
    color: var(--blue-primary);
    border-left-color: var(--blue-primary);
    font-weight: 500;
}

.legal-content h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-12);
    margin-bottom: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content p {
    margin-bottom: var(--space-5);
    line-height: var(--leading-relaxed);
}

.legal-content ul {
    margin-bottom: var(--space-5);
    padding-left: var(--space-6);
}

.legal-content li {
    font-size: var(--text-base);
    color: var(--text-body);
    margin-bottom: var(--space-3);
    list-style: disc;
    line-height: var(--leading-normal);
}

/* ============================================================
   13. VIEW MORE BUTTON
   ============================================================ */
.view-more {
    text-align: center;
    margin-top: var(--space-10);
}

.view-more__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 14px 32px;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--blue-primary);
    background-color: var(--bg-white);
    border: 1px solid var(--blue-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.view-more__btn:hover {
    background-color: var(--blue-primary);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.view-more__btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.view-more__btn:hover svg {
    transform: translateY(3px);
}



/* ============================================================
   14. STANDALONE SCROLL-DRIVEN HORIZONTAL JOURNEY STYLES
   ============================================================ */

.j-scroll-wrapper {
  --j-bg-dark: var(--navy-800);
  --j-text-primary: var(--gray-600);
  --j-text-secondary: var(--gray-400);
  --j-text-muted: var(--gray-300);
  --j-lime: var(--orange-500);
  --j-font-sans: var(--font-heading);
  --j-font-mono: var(--font-body);

  position: relative;
  height: 400vh;
  width: 100%;
  background: var(--j-bg-dark);
  font-family: var(--j-font-sans);
  box-sizing: border-box;
}

.j-scroll-wrapper *,
.j-scroll-wrapper *::before,
.j-scroll-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
.j-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 
.j-horizontal-track {
  display: flex;
  width: 400%;
  height: 100vh;
  transform: translateX(0);
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.j-journey-slide {
  width: 25%;
  height: 100vh;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 150px 5% 40px 5%;
  background-color: var(--j-bg-dark);
}
 
.j-slide-video {
  position: absolute;
  top: 180px;
  right: 5%;
  left: auto;
  width: 35%;
  height: calc(100vh - 240px);
  object-fit: cover;
  object-position: center;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  filter: brightness(0.95) contrast(1.05) saturate(1);
  opacity: 0.4;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.j-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.8) 100%);
  display: none;
}
 
.j-slide-content-box {
  position: relative;
  z-index: 3;
  width: 50%;
  max-width: 550px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.j-slide-content-box.j-active {
  opacity: 1;
  transform: translateY(0);
}
 
.j-slide-tag {
  font-family: var(--j-font-mono);
  color: var(--j-lime);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
 
.j-slide-tag::before {
  content: '//';
  color: var(--j-lime);
}
 
.j-slide-heading {
  font-family: var(--j-font-sans);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--j-text-primary);
}
 
.j-slide-desc {
  color: var(--j-text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}
 
.j-journey-timeline {
  position: absolute;
  top: 100px;
  left: 5%;
  right: 5%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
 
.j-timeline-line {
  position: relative;
  height: 4px;
  background: rgba(6, 24, 61, 0.1);
  border-radius: var(--radius-full);
  width: 100%;
}
 
.j-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--j-lime), var(--violet-500));
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(6, 24, 61, 0.3);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.j-timeline-truck-icon {
  position: absolute;
  top: -11px;
  left: 0%;
  z-index: 12;
  transform: translateX(-50%);
  filter: drop-shadow(0 4px 6px rgba(6, 24, 61, 0.25));
  pointer-events: none;
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.j-timeline-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid rgba(6, 24, 61, 0.35);
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
 
.j-timeline-marker.j-active {
  background: var(--j-lime);
  border-color: #FFFFFF;
  box-shadow: 0 0 8px var(--j-lime);
  width: 14px;
  height: 14px;
}
 
.j-timeline-nodes {
  display: flex;
  justify-content: space-between;
  font-family: var(--j-font-mono);
  font-size: 0.72rem;
  color: var(--j-text-muted);
}
 
.j-timeline-node {
  transition: color 0.3s ease, font-weight 0.3s ease, text-shadow 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}
 
.j-timeline-node.j-active {
  color: var(--j-lime);
  font-weight: 800;
  text-shadow: 0 0 8px rgba(6, 24, 61, 0.15);
}
