/* ==========================================================================
   CB LOGISTICS - GLOBAL STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cb-dark: #27221A;
  --cb-dark-accent: #3a3327;
  --cb-bg-outer: #ece7dc;
  --cb-bg-warm: #F5F5F3;
  --cb-bg-warm-light: #F3EDE1;
  --cb-bg-grey: #f5f5f3;
  --cb-text-main: #27221A;
  --cb-text-muted: #8a8478;
  --cb-text-subtle: #666055;
  --cb-text-gray: #6b665a;
  --cb-border-light: #ececea;
  --cb-border-dark: #3a3327;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Global Bootstrap Dark Override for Warm Dark Brown Theme */
.bg-dark {
  background-color: var(--cb-dark) !important;
}

.text-bg-dark {
  background-color: var(--cb-dark) !important;
  color: #ffffff !important;
}


/* Reset & General */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--cb-bg-outer);
  font-family: var(--font-body);
  color: var(--cb-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cb-text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #726b5c;
}

/* Main Container Wrapper */
.cb-wrapper {
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  color: var(--cb-text-main);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
}

.cb-wrapper-policy {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  color: var(--cb-text-main);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
}

/* Utility Bar */
.cb-utility-bar {
  background: var(--cb-dark);
  color: #cfcac0;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 8px clamp(16px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

/* Header & Sticky Navigation */
.cb-header {
  background: #ffffff;
  padding: 16px clamp(16px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--cb-border-light);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: box-shadow 0.3s ease;
}

.cb-header.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cb-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cb-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.cb-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.cb-logo-subtext {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--cb-text-muted);
  margin-top: 2px;
}

/* Nav Menu */
.cb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 36px);
  font-weight: 600;
  font-size: 15px;
}

.cb-nav a {
  width: fit-content;
  padding-bottom: 4px;
}

.cb-nav a.active {
  color: var(--cb-text-main);
  border-bottom: 2px solid var(--cb-text-main);
}

.cb-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cb-support-info {
  text-align: right;
}

.cb-support-label {
  font-size: 11px;
  color: var(--cb-text-muted);
  font-weight: 600;
}

.cb-support-phone {
  font-size: 15px;
  font-weight: 700;
}

.cb-avatar-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cb-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}


.cb-btn-login {
  background: var(--cb-dark);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cb-btn-login:hover {
  background: #3a3327;
  color: #ffffff;
}

.cb-btn-primary {
  background: var(--cb-dark);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cb-btn-primary:hover {
  background: #3a3327;
  color: #ffffff;
  transform: translateY(-2px);
}

.cb-btn-white {
  background: #ffffff;
  color: var(--cb-dark);
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cb-btn-white:hover {
  background: #f0f0ee;
  color: var(--cb-dark);
  transform: translateY(-2px);
}

/* Mobile Toggle Button */
.cb-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--cb-dark);
}

/* Hero Section */
.cb-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background-color: var(--cb-dark);
  z-index: 0;
  display: flex;
  align-items: center;
}


.cb-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cb-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
}

.cb-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(16px, 6vw, 80px);
  color: #ffffff;
  max-width: 800px;
}

/* Page Inner Hero Banner */
.cb-page-hero {
  position: relative;
  height: 280px;
  background-color: var(--cb-dark);
  overflow: hidden;
}

.cb-page-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.cb-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.6);
}

.cb-page-hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding: 0 16px;
}

.cb-page-hero-sub {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: #e6e3dd;
  margin-bottom: 10px;
}

.cb-page-hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 42px;
  margin-bottom: 22px;
}

.cb-page-hero-breadcrumb {
  background: var(--cb-dark);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

/* Section Tag Diamond */
.cb-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--cb-text-muted);
  margin-bottom: 14px;
}

.cb-diamond {
  width: 8px;
  height: 8px;
  background: var(--cb-dark);
  display: inline-block;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.cb-section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 20px;
}

/* Floating Feature Cards */
.cb-dark-band {
  background: var(--cb-dark);
  padding: 0 clamp(16px, 4vw, 40px) 40px;
  position: relative;
}

.cb-feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  transform: translateY(-64px);
  align-items: stretch;
  margin-bottom: -40px;
}

.cb-feature-card {
  flex: 1;
  min-width: 220px;
  background: #ffffff;
  border-radius: 10px;
  padding: 26px 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cb-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.3);
}

.cb-card-icon {
  width: 46px;
  height: 46px;
  background: var(--cb-dark);
  color: #ffffff;
  border-radius: 8px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}


.cb-card-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.cb-card-text {
  font-size: 13px;
  color: #7a7a76;
  line-height: 1.6;
}

.cb-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cb-dark);
}

/* Service Card Component */
.cb-service-card {
  flex: 1;
  min-width: 260px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cb-service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.cb-service-body {
  padding: 20px;
}

.cb-service-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--cb-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.cb-service-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cb-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cb-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* FAQ Accordions */
.cb-faq-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cb-faq-item {
  background: var(--cb-bg-grey);
  border-radius: 8px;
  padding: 18px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cb-faq-item.active {
  background: var(--cb-dark);
  color: #ffffff;
}

.cb-faq-item-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
}

.cb-faq-item-body {
  font-size: 13px;
  color: #cfcfcc;
  line-height: 1.6;
  margin-top: 10px;
  display: none;
}

.cb-faq-item.active .cb-faq-item-body {
  display: block;
}

/* Testimonial Card */
.cb-testimonial-card {
  flex: 1;
  min-width: 260px;
  background: var(--cb-bg-grey);
  border-radius: 10px;
  padding: 30px;
  position: relative;
  text-align: left;
}

.cb-testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--cb-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}


/* Image Slot Placeholders (Fallback style when image loads or falls back) */
.cb-image-slot {
  background: #d8d4cb;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
}

.cb-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Automatic Right-to-Left Continuous Partner Logo Slider */
.cb-partners-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.cb-partners-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: scrollRightToLeft 50s linear infinite;
  will-change: transform;
}

@keyframes scrollRightToLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.cb-partners-slider-wrapper:hover .cb-partners-track {
  animation-play-state: paused;
}

.cb-partner-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 70px;
  min-width: 150px;
  flex-shrink: 0;
}

.cb-partner-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.cb-partner-logo-card img {
  max-height: 42px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}



/* Policy Page Specific Styles */
.tc-sec {
  margin-bottom: 30px;
}

.tc-h {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--cb-border-light);
  padding-bottom: 12px;
}

.tc-n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cb-bg-warm-light);
  color: var(--cb-dark);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--cb-text-subtle);
}

.tc-ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tc-ul li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--cb-text-subtle);
  padding-left: 22px;
  position: relative;
}

.tc-ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11px;
  color: var(--cb-dark);
}

/* Input Form Controls */
.cb-input {
  padding: 16px;
  border: 1px solid #e2e2df;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-body);
  width: 100%;
}

.cb-input:focus {
  outline: none;
  border-color: var(--cb-dark);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .cb-header {
    padding: 14px 20px;
  }

  .cb-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--cb-border-light);
  }

  .cb-nav.show {
    display: flex;
  }

  .cb-nav-toggle {
    display: block;
  }

  .cb-utility-bar {
    display: none;
  }

  .cb-feature-cards {
    transform: translateY(0);
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  body {
    padding: 0;
  }

  .cb-page-hero-title {
    font-size: 28px;
  }

  .cb-section-title {
    font-size: 24px;
  }

  .cb-support-info {
    display: none;
  }

  .tc-h {
    font-size: 16px;
  }
}

.footer-section {
  background: var(--cb-dark);
  font-size: 13px;
  line-height: 1.6;
}

.footer-section p {
  font-size: 12.5px;
  line-height: 1.5;
}

.footer-section .footer-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.footer-section a:hover {
  color: #ffffff;
  opacity: 1;
}

.footer-bottom {
  font-size: 12px;
}

/* Social Buttons */
.cb-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cb-social-btn:hover {
  background: #ffffff !important;
  color: var(--cb-dark) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

/* Automatic Continuous Slow Zoom-In Animation (No Hover Needed) */
@keyframes autoZoomIn {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.cb-hero,
.cb-page-hero,
.cb-service-img-wrapper {
  overflow: hidden;
}

.cb-hero-bg,
.cb-page-hero-bg {
  animation: autoZoomIn 8s ease-in-out infinite alternate;
  will-change: transform;
}

.cb-service-img-wrapper img,
.cb-service-card img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.cb-service-card:hover .cb-service-img-wrapper img,
.cb-service-card:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   TRACKING PAGE COMPONENT STYLES
   ========================================================================== */
.cb-tracking-card {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 28px;
  transition: box-shadow 0.3s ease;
}

.cb-tracking-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

/* Stepper Progress Bar */
.cb-track-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 30px 0;
}

.cb-track-stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: #e9ecef;
  z-index: 1;
}

.cb-track-stepper-progress {
  position: absolute;
  top: 20px;
  left: 12.5%;
  height: 3px;
  background: #ffc107;
  z-index: 2;
  transition: width 0.4s ease;
}

/* 3-Step Stepper Variant: line from center step-1 to center step-3 */
.cb-track-stepper.cb-stepper-3::before {
  left: 16.67%;
  right: 16.67%;
}

.cb-track-stepper.cb-stepper-3 .cb-track-stepper-progress {
  left: 16.67%;
  right: auto;
}

.cb-track-step {
  position: relative;
  z-index: 3;
  text-align: center;
  flex: 1;
}

.cb-track-step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.cb-track-step.active .cb-track-step-icon {
  background: #ffc107;
  border-color: #27221A;
  color: #27221A;
  box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.25);
}

.cb-track-step.completed .cb-track-step-icon {
  background: #27221A;
  border-color: #27221A;
  color: #ffc107;
}

.cb-track-step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cb-text-main);
}

.cb-track-step-sub {
  font-size: 11px;
  color: var(--cb-text-muted);
}

/* Timeline Vertical Scans */
.cb-timeline-list {
  position: relative;
  padding-left: 48px;
  list-style: none;
  margin: 0;
}

.cb-timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 17px;
  width: 2px;
  background: #e9ecef;
}

.cb-timeline-item {
  position: relative;
  padding-bottom: 28px;
  padding-left: 12px;
}

.cb-timeline-item:last-child {
  padding-bottom: 0;
}

.cb-timeline-marker {
  position: absolute;
  left: -48px;
  top: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #27221A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #27221A;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.cb-timeline-item:first-child .cb-timeline-marker {
  background: #ffc107;
  border-color: #27221A;
  color: #27221A;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.25);
}

.cb-timeline-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--cb-text-muted);
}

.cb-timeline-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cb-text-main);
  margin-top: 2px;
  margin-bottom: 2px;
}

.cb-timeline-location {
  font-size: 12.5px;
  color: var(--cb-text-subtle);
}

/* Status Badges */
.cb-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cb-status-delivered {
  background: #e6f4ea;
  color: #137333;
}

.cb-status-intransit {
  background: #e8f0fe;
  color: #1a73e8;
}

.cb-status-outfordelivery {
  background: #fef7e0;
  color: #b06000;
}

.cb-status-pending {
  background: #f1f3f4;
  color: #5f6368;
}

.cb-status-exception {
  background: #fce8e6;
  color: #c5221f;
}