/* =========================
   HERO BASE
========================= */

.logistics-hero {
  position: relative;
  padding: 120px 6%;
  background: radial-gradient(circle at 20% 30%, #0f2a44 0%, #050b18 70%);
  color: #fff;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* =========================
   LEFT CONTENT
========================= */

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  color: #7aa8ff;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #ff6a00;
  border-radius: 50%;
}

/* TITLE */

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(90deg, #4da3ff, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* DESC */

.hero-desc {
  font-size: 16px;
  color: #a0b3c9;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* BUTTONS */

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(90deg, #ff6a00, #ff8c3a);
  padding: 14px 22px;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,106,0,0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  padding: 14px 22px;
  border-radius: 10px;
  color: #cfd9e6;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* =========================
   RIGHT IMAGE
========================= */

.hero-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  max-width: 520px;
}

.hero-image-wrap img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* =========================
   FLOATING CARD
========================= */

.floating-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: rgba(20, 30, 50, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.floating-card span {
  font-size: 12px;
  color: #8aa2c0;
}

.floating-card strong {
  font-size: 44px;
  color: #fff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .floating-card {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }

  .hero-desc {
    font-size: 14px;
  }
}

.floating-card {
  position: absolute;
  bottom: -20px;
}

.hero-image-wrap {
  overflow: visible;   /* ✅ FIX */
  position: relative;
}
.hero-image-wrap img {
  border-radius: 20px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
}
.floating-card {
  z-index: 10;  /* ✅ ensure visibility */
}
.hero-image-wrap {
  position: relative;
  overflow: visible;  /* 🔥 THIS FIXES IT */
}

.floating-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  z-index: 10;        /* 🔥 safety */
}

.hero-image-wrap,
.floating-card {
  will-change: transform;
  transform: translateZ(0);   /* 🔥 kills shimmer */
  backface-visibility: hidden;
}

.logistics-hero {
  transform: translateZ(0);
  will-change: transform;
}

.hero-image-wrap img {
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

/* 🔥 SHIMMER FIX */

.logistics-hero,
.hero-image-wrap,
.floating-card {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* safer glass */
.floating-card {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* image stability */
.hero-image-wrap img {
  transform: translateZ(0);
}

/* =========================
   HERO BACKGROUND SYSTEM
========================= */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    url("../images/logistics/herobg.jpg") center/cover no-repeat,
    radial-gradient(circle at 20% 30%, #0f2a44 0%, #050b18 70%);
    
  opacity: 0.5;
}

/* dark overlay for contrast */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5,11,24,0.95) 30%,
    rgba(5,11,24,0.6) 60%,
    rgba(5,11,24,0.2) 100%
  );
  z-index: 1;
}

/* STATS */

/* =========================
   STATS SECTION
========================= */

.logistics-stats {
  background: linear-gradient(180deg, #081424, #050b18);
  padding: 60px 6%;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* each stat */
.stat-item {
  flex: 1;
}

/* numbers */
.stat-item h2 {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

/* orange highlight */
.stat-item .orange {
  color: #ff6a00;
}

/* labels */
.stat-item p {
  font-size: 14px;
  color: #8fa3bd;
  letter-spacing: 0.3px;
}
@media (max-width: 1024px) {
  .stats-container {
    flex-wrap: wrap;
    gap: 30px;
  }

  .stat-item {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .stats-container {
    flex-direction: column;
    gap: 25px;
  }

  .stat-item h2 {
    font-size: 32px;
  }
}
.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

@media (max-width: 1024px) {
  .stat-item::after {
    display: none;
  }
}

/* CARDS  */


.logistics-solutions {
  padding: 50px 6%;
  background: #f7f8fa;
}

/* HEADER */

.solutions-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 40px;
}

.solutions-header .tag {
  color: #ff6a00;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 600;
}

.solutions-header h2 {
  font-size: 56px;
  font-weight: 700;
  color: #0f1b2d;
  margin-top: 12px;
}

.solutions-header p {
  max-width: 380px;
  color: #5b6b80;
  line-height: 1.6;
}

/* GRID */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}


/* CARD */
/* CONTAINER & HEADER */
.logistics-solutions {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.solutions-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 56px;
  margin-bottom: 60px;
}

.solutions-header .tag {
  color: #f97316; /* Amber/Orange tag color */
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

.solutions-header h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: #111827;
  margin: 0;
}

.solutions-header .right {
  padding-top: 26px;
}

.solutions-header p {
  max-width: 430px;
  font-size: 18px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
}

/* GRID & CARDS */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  background-color: #1a2b4a; /* Deep navy from reference */
  padding: 40px 30px;
  border-radius: 16px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.icon-box {
  background-color: #253a61; /* Icon box background */
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.icon-box svg {
  width: 24px;
  height: 24px;
  color: #3b82f6; /* Bright blue icon color */
}

.solution-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.solution-card p {
  font-size: 16px;
  color: #aebfd6; /* Muted text color */
  line-height: 1.75;
  margin: 0;
  transition: 0.4s ease;
}

/* HOVER EFFECTS */
.solution-card:hover {
  transform: translateY(-8px);
  background-color: #1e335a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card:hover .icon-box {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.1);
}

.solution-card:hover h3 {
  transform: translateY(-2px);
}

.solution-card:hover p {
  transform: translateY(-2px);
  color: #cfe0ff;
}

/* RESPONSIVENESS */
@media (max-width: 1200px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .solutions-header { flex-direction: column; gap: 20px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solutions-header h2 { font-size: 36px; }
}

/* ARCHITECTURE */

/* =========================
   SECTION BASE
========================= */

.tms-section {
  padding: 50px 6%;
  background: #0b1a2d;
  color: #fff;
}

/* LAYOUT */

.tms-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* IMAGE */

.tms-media {
  flex: 1;
}

.tms-media img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* CONTENT */

.tms-content {
  flex: 1;
  max-width: 520px;
}

.tms-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tms-desc {
  color: #9fb3cc;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* LIST */

.tms-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tms-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tms-item .icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,106,0,0.1);
  color: #ff6a00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 4px;
}

.tms-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.tms-item p {
  font-size: 14px;
  color: #9fb3cc;
}
/* image hover */
.tms-media img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.tms-media:hover img {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* list interaction */
.tms-item {
  transition: transform 0.3s ease;
}

.tms-item:hover {
  transform: translateX(6px);
}

.tms-item .icon {
  transition: all 0.3s ease;
}

.tms-item:hover .icon {
  background: #ff6a00;
  color: #fff;
}
@media (max-width: 1024px) {
  .tms-container {
    flex-direction: column;
  }

  .tms-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .tms-content h2 {
    font-size: 30px;
  }

  .tms-desc {
    font-size: 14px;
  }
}
.tms-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,150,255,0.15), transparent 60%);
  pointer-events: none;
}



:root {
  --deep-navy: #0b192e;
  --card-navy: #121e31;
  --accent-orange: #ff5a1f;
  --text-muted: #94a3b8;
}

/* Section 1: Evolution */

.evolution-container {
  background-color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.evolution-header {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 60px;
}

.evolution-flex {
  display: flex;
  gap: 25px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.evo-card {
  position: relative;
  flex: 1;
  min-width: 300px;
  height: 360px;
  border-radius: 15px;
  overflow: hidden;
}

/* IMAGE FIX */
.evo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* LEGACY STYLE */
.legacy-card {
  border: 2px solid #ff5a1f;
}



/* AI CARD STYLE */
.ai-card {
  border: 2px solid var(--accent-orange);
  box-shadow: 0 0 20px rgba(255, 90, 31, 0.3);
}

/* OVERLAY (COMMON) */
.evo-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PILL */
.evo-pill {
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pill-black {
  background: #1a1a1a;
  color: white;
}

.pill-orange {
  background: var(--accent-orange);
  color: white;
}

/* Section 2: Impact */


.impact-section {
  background-color: var(--deep-navy);
  padding: 50px 20px;
  text-align: center;
  color: white;
}

.impact-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}

.impact-grid {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.impact-card {
  background-color: var(--card-navy);
  border: 1px solid #1e2d45;
  border-radius: 12px;
  padding: 40px 20px;
  flex: 1;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: #243147;
  border-radius: 10px;
  margin: 20px 0;
}

.progress-fill { height: 100%; border-radius: 10px; }
.orange-bg { background: var(--accent-orange); }
.blue-bg { background: #3b82f6; }
.green-bg { background: #10b981; }

.stat-value { font-size: 24px; font-weight: 700; }
.stat-subtext { color: var(--text-muted); font-size: 12px; margin-top: 5px; }

/* Section 3: CTA Banner */
.cta-wrapper {
  background-color: #ffffff;
  padding: 50px 20px;
}

.cta-banner {
  background:#171b2b;
         align-items: center;
         text-align:center;
    justify-content: center;
    display: flex;   
  background-size: cover;
  border-radius: 35px;
  padding: 30px 60px;
  max-width: 1100px;
  margin: 0 auto;
  color: white;
  /*text-align: left;*/
}

.cta-heading { font-size: 36px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.cta-subtext { color: var(--text-muted); line-height: 1.6; margin-bottom: 35px; }

.contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.contact-icon { color: var(--accent-orange); }
.contact-item a { color: #cbd5e1; text-decoration: none; font-size: 15px; }

/* Responsive */
@media (max-width: 850px) {
  .evolution-flex, .impact-grid { flex-direction: column; align-items: center; }
  .cta-banner { padding: 50px 30px; text-align: center; }
  .contact-item { justify-content: center; }
}