/* ═══════════════════════════════════════════════════
   JTL Global — Design System
   Strict color match to original jtlgo.com WordPress site
   Colors: Navy #0A1F44 · Orange #F57539 · Purple #4D148C
   ═══════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables — Original jtlgo.com Palette ── */
:root {
  /* Core brand colors from WordPress site */
  --navy:        #0A1F44;
  --navy-light:  #0f2a54;
  --navy-dark:   #071836;
  --orange:      #F57539;
  --orange-hover:#e06429;
  --orange-dim:  rgba(245,117,57,.12);
  --purple:      #4D148C;
  --purple-light:#5c1fa6;
  --purple-dim:  rgba(77,20,140,.15);
  --light-bg:    #E3E6F0;
  --light-bg2:   #F0F2F8;
  --white:       #ffffff;

  /* Text */
  --t1:       #EFEFEF;
  --t2:       #b8c0d4;
  --t3:       #7a84a0;
  --t-dark:   #2d3748;
  --t-dark2:  #5a6478;

  /* System */
  --border:   rgba(255,255,255,.08);
  --border-light: rgba(10,31,68,.1);
  --radius:   14px;
  --radius-sm:8px;
  --shadow:   0 8px 32px rgba(0,0,0,.25);
  --font:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --max-w:    1280px;
  --nav-h:    72px;
  --top-h:    44px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: #f5f7fb;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ── Utilities ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-gradient {
  background: linear-gradient(135deg, var(--orange) 0%, #ff9a4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: #1a2e55;
  line-height: 1.15;
}
.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-title.dark { color: var(--navy); }
.section-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-subtitle.dark { color: var(--t-dark2); }
.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 14px;
}
.tag-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* ═══ TOP BAR ═══ */
.top-bar {
  background: var(--purple);
  height: var(--top-h);
  display: flex;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  position: relative;
  z-index: 100;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.top-bar a:hover { color: var(--orange); }
.top-links { display: flex; gap: 32px; align-items: center; } /* Increased gap from 24px */
.top-links i { margin-right: 8px; } /* Increased icon spacing */
.top-links a { padding: 4px 8px; transition: color 0.3s } /* Added horizontal padding */
.top-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.25);
}
.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.lang-selector img { display: inline-block; }

/* ═══ NAV ═══ */
.nav {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.4); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: 48px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #e8ecf4;
  transition: color .2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.nav-cta {
  padding: 10px 24px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  transition: all .3s;
  letter-spacing: .5px;
}
.nav-cta:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,117,57,.3);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger span {
  height: 2px;
  background: var(--t1);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile Nav */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 98;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--navy-dark);
  z-index: 999;
  padding: 80px 30px 30px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  border-left: 1px solid var(--border);
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--t2);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 24px;
  color: var(--t2);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/Home-2-Banner-Bg.jpg') center/cover no-repeat;
  filter: brightness(0.65);
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,31,68,.75) 0%, rgba(10,31,68,.35) 60%, rgba(10,31,68,.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-text {
  max-width: 680px;
}
/* Hero Button Group */
.hero-btn-group {
  display: flex;
  margin-top: 35px;
  max-width: 580px;
}
.hero-btn-group a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-family: var(--font-main);
  border-radius: 8px 8px 0 0;
}
.hero-btn-group a:hover {
  opacity: 0.9;
}
.hero-btn-group .hero-icon {
  width: 24px;
  height: 24px;
}
.hero-btn-group .btn-hero-rate {
  background-color: var(--purple);
}
.hero-btn-group .btn-hero-track {
  background-color: var(--navy-dark);
}

/* ═══ RESTORED HERO FORM ═══ */
.hero-form-wrapper {
  background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px;
  max-width: 580px;
  border: 1px solid rgba(255,255,255,0.15);
  border-top: none; 
  border-radius: 0 0 12px 12px;
}
.hero-calc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-calc-form .form-row {
  display: flex;
  gap: 16px;
}
.form-group-jtl {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.form-group-jtl.col-60 { flex: 3; }
.form-group-jtl.col-40 { flex: 2; }
.form-group-jtl label {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  font-weight: 600;
}
.select-wrapper { position: relative; }
.select-wrapper .drop-icon {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--navy); pointer-events: none; font-size: 14px;
}
.form-group-jtl select,
.form-group-jtl input {
  width: 100%;
  padding: 0 16px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  height: 48px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.btn-calc-shipping {
  width: 100%;
  height: 52px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}
.btn-calc-shipping:hover {
  background: var(--orange-hover);
  box-shadow: 0 8px 16px rgba(245,117,57,0.3);
}

.hero-person {
  position: absolute;
  right: calc(50% - 600px); /* Aligns nicely near container boundary */
  bottom: 0;
  width: clamp(320px, 35vw, 480px);
  z-index: 3;
  pointer-events: none;
}
@media (max-width: 1300px) {
  .hero-person { right: 5%; }
}
.hero-person img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(-10px 0 40px rgba(0,0,0,.4));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--orange-dim);
  border: 1px solid rgba(245,117,57,.25);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 32px;
  letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  font-family: var(--font-main);
  line-height: 1.2;
  margin-bottom: 25px;
  color: #ffffff;
}
.hero p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--t2);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  transition: all .3s;
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245,117,57,.3);
}
.btn-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  transition: all .3s;
}
.btn-purple:hover {
  background: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(77,20,140,.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  transition: all .3s;
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  transition: all .3s;
}
.btn-outline-light:hover {
  background: var(--navy);
  color: var(--white);
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
}
.hero-stat p {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9); /* Brightened per user request */
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ═══ LIGHT SECTION (matches original alternating bg) ═══ */
.section-light {
  background: var(--light-bg);
  color: var(--t-dark);
}
.section-light h2, .section-light h3, .section-light h4 { color: var(--navy); }
.section-light p, .section-light span { color: var(--t-dark2); }

/* ═══ PLATFORMS ═══ */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.platform-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.platform-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(245,117,57,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.platform-card:hover::before { opacity: 1; }
.section-light .platform-card {
  background: transparent;
  border-color: #e5e7eb;
  box-shadow: none;
}
.platform-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 20px; /* Squircle */
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05), 0 8px 16px rgba(0,0,0,0.3);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.platform-card:nth-child(1) .platform-icon-wrap {
  background: #ffebe6; /* Taobao Peach */
}
.platform-img {
  width: 56px; height: 56px;
  object-fit: contain;
  display: block;
}
.platform-card:hover .platform-icon-wrap {
  transform: scale(1.1) rotate(3deg);
}
.platform-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a2e55;
  position: relative;
  z-index: 1;
}
.platform-card p {
  font-size: 12px;
  color: #6b7280;
  position: relative;
  z-index: 1;
}
.platform-card .shop-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}
.platform-card:hover .shop-link {
  opacity: 1;
  transform: translateY(0);
  gap: 8px; /* Arrow pushes out */
}

/* Staggered Animations */
.platforms-grid .platform-card:nth-child(1).reveal.active { animation-delay: 0.1s; }
.platforms-grid .platform-card:nth-child(2).reveal.active { animation-delay: 0.2s; }
.platforms-grid .platform-card:nth-child(3).reveal.active { animation-delay: 0.3s; }
.platforms-grid .platform-card:nth-child(4).reveal.active { animation-delay: 0.4s; }
.platforms-grid .platform-card:nth-child(5).reveal.active { animation-delay: 0.5s; }
.platforms-grid .platform-card:nth-child(6).reveal.active { animation-delay: 0.6s; }

/* ═══ PROCESS ═══ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--purple) 100%);
  opacity: .3;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-num {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(245,117,57,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.process-step:hover .process-num {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(245,117,57,.35);
  transform: scale(1.15) translateY(-5px);
}
.process-grid .process-step:nth-child(1).reveal.active { animation-delay: 0.1s; }
.process-grid .process-step:nth-child(2).reveal.active { animation-delay: 0.25s; }
.process-grid .process-step:nth-child(3).reveal.active { animation-delay: 0.4s; }
.process-grid .process-step:nth-child(4).reveal.active { animation-delay: 0.55s; }
.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.process-step p {
  font-size: 13px;
  color: var(--t-dark2);
  max-width: 200px;
  margin: 0 auto;
}

/* ═══ B2B SERVICES ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,117,57,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(245,117,57,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, color 0.3s;
}
.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
  background: var(--orange);
  color: #fff;
}
/* Staggered Animations */
.services-grid .service-card:nth-child(1).reveal.active { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2).reveal.active { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3).reveal.active { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4).reveal.active { animation-delay: 0.4s; }
.services-grid .service-card:nth-child(5).reveal.active { animation-delay: 0.5s; }
.services-grid .service-card:nth-child(6).reveal.active { animation-delay: 0.6s; }
.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2e55;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* ═══ BLOG ═══ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05); /* Softer edge for white card */
  border-radius: var(--radius);
  overflow: hidden;
  /* Pro Max suspension and drop shadow */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06); /* Soft shadow for white card */
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: rgba(245,117,57,0.3);
}
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  position: relative;
  overflow: hidden; /* Crucial for internal scale */
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Premium Inner-Scale physics */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-thumb img { 
  transform: scale(1.08); /* Physical zoom on hover */
}
/* Staggered Animations */
.blog-grid .blog-card:nth-child(1).reveal.active { animation-delay: 0.1s; }
.blog-grid .blog-card:nth-child(2).reveal.active { animation-delay: 0.2s; }
.blog-grid .blog-card:nth-child(3).reveal.active { animation-delay: 0.3s; }
.blog-grid .blog-card:nth-child(4).reveal.active { animation-delay: 0.4s; }
.blog-body {
  padding: 20px;
}
.blog-date {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.blog-card h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--navy); /* High contrast dark text */
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card:hover h4 { color: var(--orange); }
.blog-card p {
  font-size: 14px;
  color: var(--t-dark2); /* Medium-dark text */
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

/* ═══ PARTNERS ═══ */
.partners-track {
  display: flex;
  gap: 16px;
  animation: scroll-partners 40s linear infinite; /* Slowed down for Pro Max elegance */
  width: max-content;
  padding: 20px 0;
}
.partners-track:hover { animation-play-state: paused; }
.partner-logo {
  width: 220px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.partner-logo:hover { 
  transform: translateY(-4px) scale(1.05);
}
.partner-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: none; /* Keep original colors */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.partner-logo:hover img { 
  transform: scale(1.05); 
}
@keyframes scroll-partners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ═══ CTA BANNER ═══ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #152C55 50%, #1c3666 100%);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 20px 40px rgba(10,31,68,0.3);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(245,117,57,0.1), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0,0,0,0.5); /* Deep contrast */
  position: relative;
  z-index: 1;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  max-width: 500px;
  margin: 0 auto 28px;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--orange);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--t3);
  margin: 12px 0 20px;
  line-height: 1.7;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: all .3s;
}
.footer-socials a:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--t3);
  padding: 6px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--t3);
}
.footer-legal { display: flex; gap: 24px; }

/* ═══ WHATSAPP FAB — matches original orange "Chat with us" ═══ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(245,117,57,.4);
  z-index: 90;
  transition: transform .3s;
}
.whatsapp-fab:hover { transform: scale(1.1); }

/* ═══ SCROLL ANIMATIONS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ SUBPAGE STYLES ═══ */
.page-header {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background: url('../images/Home-2-Banner-Bg.jpg') center/cover no-repeat;
  filter: brightness(0.3);
  transform: scale(1.05);
}
.page-header-content {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 12px;
}
.page-header .breadcrumbs {
  font-size: 14px;
  color: var(--t3);
  font-weight: 500;
  letter-spacing: 1px;
}
.page-header .breadcrumbs a {
  color: var(--white);
  transition: color 0.2s;
}
.page-header .breadcrumbs a:hover {
  color: var(--orange);
}

/* About Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.stat-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 30px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.stat-box h3 {
  font-size: 36px;
  color: var(--orange);
  margin-bottom: 8px;
}
.stat-box p {
  font-size: 13px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.testimonial-card i.fa-quote-right {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 40px;
  color: rgba(245,117,57,0.1);
}
.testimonial-text {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  font-weight: 700;
  color: #1a2e55;
  font-size: 16px;
}

/* Contact Us Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.contact-card i {
  font-size: 24px;
  color: var(--orange);
  margin-top: 4px;
}
.contact-card h4 {
  color: #1a2e55;
  font-size: 18px;
  margin-bottom: 8px;
}
.contact-card p, .contact-card a {
  color: #4b5563;
  line-height: 1.6;
  font-size: 15px;
  text-decoration: none;
}
.contact-card a:hover {
  color: var(--orange);
}

.contact-form-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-form-wrapper h3 {
  font-size: 26px;
  color: #1a2e55;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  color: #1f2937;
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--orange);
}
.checkbox-group label {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* Blog Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.blog-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05); /* Softer outline for white card */
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: rgba(245,117,57,0.3);
}
.blog-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--navy-light);
  display: block;
}
.blog-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: var(--t-dark2); /* Adjusted for light bg */
  margin-bottom: 15px;
  font-weight: 500;
}
.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card-meta i {
  color: var(--orange);
}
.blog-card-title {
  font-size: 20px;
  color: var(--navy); /* Dark title for white bg */
  margin-bottom: 16px;
  line-height: 1.4;
  font-weight: 700;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card-title a:hover {
  color: var(--orange);
}
.blog-card-excerpt {
  color: var(--t-dark2); /* Adjusted for light bg */
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 24px;
}
.blog-card-readmore {
  margin-top: auto;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.blog-card-readmore:hover {
  gap: 12px;
}

/* FAQ Layout */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
details.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s;
}
details.faq-item[open] {
  border-color: rgba(245,117,57,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
summary.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  font-size: 18px;
  font-weight: 600;
  color: #1a2e55;
  cursor: pointer;
  list-style: none;
}
summary.faq-question::-webkit-details-marker {
  display: none;
}
summary.faq-question::after {
  content: '\f067';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--orange);
  transition: transform 0.3s;
}
details.faq-item[open] summary.faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 30px 30px 30px;
  color: #4b5563;
  line-height: 1.7;
  font-size: 16px;
}

/* Rate & Ship Layout */
.rate-form-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.rate-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.rate-col {
  flex: 1;
}
.rate-col.small {
  flex: 0.5;
}
.rate-table-container {
  margin-top: 60px;
  overflow-x: auto;
}
.rate-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.rate-table th {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--orange);
}
.rate-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 15px;
}

/* Tracking Layout */
.tracking-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  padding: 60px 40px;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.tracking-container h2 {
  font-size: 32px;
  color: #1a2e55;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tracking-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}
.tracking-input {
  flex-grow: 1;
  padding: 20px 24px;
  font-size: 16px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  color: #1f2937;
  font-family: var(--font-body);
  transition: all 0.3s;
}
.tracking-input:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.tracking-btn {
  padding: 0 40px;
  font-size: 16px;
  text-transform: uppercase;
}
.tracking-info {
  color: #4b5563;
  line-height: 1.7;
  font-size: 15px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}
.tracking-info strong {
  color: #1a2e55;
}

/* Map Section */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 60px;
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .b2b-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { gap: 20px; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav { height: 60px; }
  .nav-links { display: none; }
  .nav .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .mobile-overlay.show { display: block; }

  .hero { min-height: 80vh; }
  .hero h1 { font-size: 32px; }
  .hero-content { flex-direction: column; }
  .hero-person { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 28px; }

  .hero-calc-form .form-row { flex-direction: column; gap: 12px; }
  .hero-calc-form .col-60, .hero-calc-form .col-40 { width: 100%; }

  .platforms-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .platform-card { padding: 20px 12px; }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .process-grid::before { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  
  /* Mobile optimized horizontal scroll-snap for Blog Cards */
  .blog-grid { 
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding-bottom: 24px;
    margin: 0 -24px; /* Bleed to container edges */
    padding: 0 24px 24px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .blog-grid::-webkit-scrollbar { display: none; } /* Chrome, Safari */
  .blog-grid .blog-card {
    min-width: 80vw;
    max-width: 80vw;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }

  .cta-banner { padding: 40px 24px; }
  .section { padding: 60px 0; }
}

/* Animations */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
