/* ============================================================
   TransLogix GmbH – Main Stylesheet
   Modern Professional Logistics Design
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #1a3c72;
  --primary-dark:  #0f2548;
  --primary-light: #2a5298;
  --accent:        #f5821f;
  --accent-dark:   #d96a0a;
  --accent-light:  #ffa04d;
  --dark:          #0d1520;
  --text:          #334155;
  --text-light:    #64748b;
  --text-muted:    #94a3b8;
  --bg:            #ffffff;
  --bg-alt:        #f1f5f9;
  --bg-dark:       #0f172a;
  --border:        #e2e8f0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-md:     0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-lg:     0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-xl:     0 25px 50px -12px rgba(0,0,0,.25);
  --radius:        0.5rem;
  --radius-lg:     1rem;
  --radius-xl:     1.5rem;
  --transition:    0.3s ease;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.lead { font-size: 1.125rem; color: var(--text-light); line-height: 1.8; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-xl { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,130,31,.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ---------- Section Header ---------- */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge {
  display: inline-block;
  background: rgba(26,60,114,.1);
  color: var(--primary);
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- HEADER / NAVBAR ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
}
#header.transparent {
  background: transparent;
}
#header.solid {
  background: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
#header.solid .navbar { padding: 0.75rem 0; }

.topbar {
  background: var(--primary-dark);
  padding: 0.4rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: all var(--transition);
}
#header.transparent .topbar { background: rgba(13,21,32,.5); backdrop-filter: blur(8px); }
#header.solid .topbar { display: none; }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-info { display: flex; align-items: center; gap: 1.5rem; color: rgba(255,255,255,.75); }
.topbar-info a { color: rgba(255,255,255,.75); }
.topbar-info a:hover { color: var(--accent); }
.topbar-info span { display: flex; align-items: center; gap: 0.4rem; }
.topbar-info i { color: var(--accent); font-size: 0.75rem; }

.topbar-lang { display: flex; align-items: center; gap: 0.5rem; }
.topbar-lang a {
  color: rgba(255,255,255,.6);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  transition: all var(--transition);
}
.topbar-lang a.active,
.topbar-lang a:hover {
  color: #fff;
  background: rgba(255,255,255,.15);
}
.topbar-lang .sep { color: rgba(255,255,255,.3); }

.navbar {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: padding var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
}
.nav-logo-text { line-height: 1.1; }
.nav-logo-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-link i { font-size: 0.7rem; transition: transform var(--transition); }
.nav-item:hover .nav-link i { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
  border: 1px solid var(--border);
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #fff;
  border-top: none;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.dropdown-item:hover { background: var(--bg-alt); color: var(--primary); }
.dropdown-item i { width: 18px; color: var(--accent); font-size: 0.875rem; }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius);
  padding: 0.5rem 1.25rem !important;
}
.nav-cta:hover { background: var(--accent-dark); color: #fff !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: transparent;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,20,50,.92) 0%, rgba(26,60,114,.8) 50%, rgba(15,37,72,.85) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 8rem 0 5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,130,31,.15);
  border: 1px solid rgba(245,130,31,.4);
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--accent); }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title .text-accent { color: var(--accent); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,.6);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  border: none;
  background: none;
}
.hero-scroll-icon {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Hero stats strip */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  z-index: 2;
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: block;
}
.hero-stat-num .accent { color: var(--accent); }
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-top: 0.25rem;
  display: block;
}

/* ---------- SERVICES SECTION ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: scale(1.1) rotate(-5deg);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: gap var(--transition);
}
.service-link:hover { color: var(--accent); gap: 0.7rem; }

/* ---------- ABOUT SECTION ---------- */
.about-section { background: var(--bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-image img { width: 100%; height: 450px; object-fit: cover; }
.about-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--accent);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge-float .num { font-size: 2.5rem; font-weight: 900; line-height: 1; display: block; }
.about-badge-float .label { font-size: 0.75rem; font-weight: 600; opacity: .9; }

.about-content .section-badge { margin-bottom: 0.75rem; }
.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { color: var(--text-light); margin-bottom: 1.5rem; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.about-feature i { color: var(--accent); font-size: 1rem; }

/* ---------- WHY SECTION ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }
.why-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(26,60,114,.1), rgba(42,82,152,.1));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.why-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--text-light); font-size: 0.875rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); }
.testimonials-section .section-badge { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }
.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.7); }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,.12); }
.testimonial-stars { color: var(--accent); margin-bottom: 1rem; font-size: 0.875rem; }
.testimonial-text { color: rgba(255,255,255,.85); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: #fff; font-size: 0.9rem; }
.testimonial-company { font-size: 0.8rem; color: rgba(255,255,255,.6); }
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ---------- PARTNERS ---------- */
.partners-section { background: var(--bg-alt); }
.partners-track-wrap { overflow: hidden; }
.partners-track {
  display: flex;
  gap: 3rem;
  animation: scroll 30s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo {
  flex-shrink: 0;
  padding: 1rem 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 70px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all var(--transition);
}
.partner-logo:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.partner-logo img { max-height: 40px; max-width: 120px; object-fit: contain; }

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 5rem 0;
}
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-content p { color: rgba(255,255,255,.9); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-section .btn-dark { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.3); color: #fff; }
.cta-section .btn-dark:hover { background: rgba(0,0,0,.4); border-color: rgba(255,255,255,.5); }

/* ---------- NEWSLETTER ---------- */
.newsletter-section { background: var(--bg-alt); }
.newsletter-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.newsletter-text h3 { color: #fff; font-size: 1.75rem; margin-bottom: 0.75rem; }
.newsletter-text p { color: rgba(255,255,255,.75); }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter-row { display: flex; gap: 0.75rem; }
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-privacy { font-size: 0.78rem; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 0.5rem; }
.newsletter-privacy input { width: auto; accent-color: var(--accent); }
.newsletter-privacy a { color: rgba(255,255,255,.7); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo-name { font-size: 1.5rem; }
.footer-brand .nav-logo-sub { color: var(--accent); }
.footer-about { color: rgba(255,255,255,.55); font-size: 0.875rem; line-height: 1.8; margin: 1.25rem 0; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 0.875rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-col h5 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}
.footer-links a i { color: var(--accent); font-size: 0.7rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.55); }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ---------- INTERNAL PAGES ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,.03)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') bottom/cover no-repeat;
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 0.6rem; }
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,114,.1);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; }
.form-check label { font-size: 0.85rem; color: var(--text-light); }
.form-check a { color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* Alert */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info { background: #eff6ff; border: 1px solid #93c5fd; color: #1d4ed8; }
.alert i { margin-top: 2px; flex-shrink: 0; }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { position: relative; overflow: hidden; height: 220px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card-category {
  display: inline-block;
  background: rgba(26,60,114,.1);
  color: var(--primary);
  padding: 0.2rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 0.75rem;
}
.card-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card-title a { color: var(--dark); }
.card-title a:hover { color: var(--primary); }
.card-text { color: var(--text-light); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.card-meta i { color: var(--accent); }

/* Tracking */
.tracking-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto;
}
.tracking-input-row {
  display: flex;
  gap: 0.75rem;
}
.tracking-result {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 2rem;
}
.tracking-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 1.5rem 0;
}
.tracking-info-item label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.tracking-info-item span { font-weight: 600; color: var(--dark); }
.tracking-timeline { padding-top: 1rem; }
.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}
.timeline-item.active .timeline-dot { background: var(--accent); border-color: var(--accent); }
.timeline-item.done .timeline-dot { background: var(--primary); border-color: var(--primary); }
.timeline-line {
  position: absolute;
  top: 16px;
  left: 6px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item.done .timeline-line { background: var(--primary); }
.timeline-content { flex: 1; }
.timeline-status { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.timeline-location { font-size: 0.8rem; color: var(--text-light); }
.timeline-time { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }
.tracking-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.status-in_transit { background: #dbeafe; color: #1d4ed8; }
.status-delivered { background: #dcfce7; color: #166534; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-exception { background: #fee2e2; color: #991b1b; }
.status-customs { background: #f3e8ff; color: #6b21a8; }
.status-out_for_delivery { background: #e0f2fe; color: #0369a1; }
.status-picked_up { background: #dbeafe; color: #1e40af; }

/* Service Detail */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.service-detail-content h3 { margin: 2rem 0 0.75rem; font-size: 1.25rem; }
.service-detail-content h3:first-child { margin-top: 0; }
.service-detail-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.service-detail-content ul li { margin-bottom: 0.4rem; color: var(--text-light); }
.service-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-box-head {
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.sidebar-box-body { padding: 1.25rem; }
.sidebar-service-links { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-service-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.sidebar-service-links a:hover,
.sidebar-service-links a.active {
  background: var(--bg-alt);
  color: var(--primary);
}
.sidebar-service-links a i { color: var(--accent); width: 18px; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.blog-content { font-size: 1.05rem; line-height: 1.9; }
.blog-content h2, .blog-content h3 { margin: 2rem 0 0.75rem; }
.blog-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.blog-content ul li { margin-bottom: 0.4rem; }
.blog-content p { margin-bottom: 1.25rem; }
.blog-share { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--border); margin-top: 2rem; }
.blog-share span { font-weight: 700; font-size: 0.875rem; }
.blog-share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  transition: all var(--transition);
}
.blog-share .fb { background: #1877f2; }
.blog-share .tw { background: #1da1f2; }
.blog-share .li { background: #0a66c2; }
.blog-share .wa { background: #25d366; }
.blog-share a:hover { transform: scale(1.1); }

/* Career */
.career-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all var(--transition);
  margin-bottom: 1rem;
}
.career-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.career-icon {
  width: 56px;
  height: 56px;
  background: rgba(26,60,114,.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}
.career-info { flex: 1; }
.career-info h4 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.career-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.75rem; }
.career-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  background: var(--bg-alt);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
}
.career-tag.fulltime { background: #dcfce7; color: #166534; }
.career-tag.parttime { background: #dbeafe; color: #1d4ed8; }
.career-tag.intern { background: #fef9c3; color: #854d0e; }
.career-desc { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; }

/* Fleet */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.fleet-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.fleet-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.fleet-img { height: 200px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--primary); }
.fleet-img img { width: 100%; height: 100%; object-fit: cover; }
.fleet-body { padding: 1.5rem; }
.fleet-body h4 { margin-bottom: 0.75rem; }
.fleet-body p { color: var(--text-light); font-size: 0.875rem; margin-bottom: 1rem; }
.fleet-specs { display: flex; flex-direction: column; gap: 0.5rem; }
.fleet-spec {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.fleet-spec:last-child { border-bottom: none; }
.fleet-spec label { color: var(--text-muted); font-weight: 600; }
.fleet-spec span { font-weight: 700; color: var(--dark); }

/* References/Partners */
.ref-stats { background: var(--primary); padding: 3rem 0; }
.ref-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.ref-stat-num { font-size: 2.5rem; font-weight: 900; color: #fff; display: block; line-height: 1; }
.ref-stat-label { color: rgba(255,255,255,.7); font-size: 0.85rem; font-weight: 600; margin-top: 0.25rem; display: block; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  font-weight: 700;
  color: var(--text-light);
}
.partner-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); color: var(--primary); }
.partner-card img { max-height: 50px; max-width: 130px; object-fit: contain; }

/* Pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
}
.page-btn {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  text-decoration: none;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Cookie Consent */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 500px;
  background: var(--dark);
  color: rgba(255,255,255,.85);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-text { flex: 1; font-size: 0.85rem; line-height: 1.6; }
.cookie-btns { display: flex; gap: 0.5rem; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 998;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  border: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 997;
  box-shadow: 0 4px 15px rgba(37,211,102,.4);
  text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.1); color: #fff; box-shadow: 0 6px 20px rgba(37,211,102,.5); }

/* Badge */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1d4ed8; }
.badge-primary { background: rgba(26,60,114,.1); color: var(--primary); }

/* Contact Info Items */
.contact-info-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-item:first-child { padding-top: 0; }
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact-info-value { font-size: 0.95rem; font-weight: 600; color: var(--dark); }
.contact-info-value a { color: var(--dark); }
.contact-info-value a:hover { color: var(--primary); }

/* Map */
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 350px;
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* About page */
.timeline-history { position: relative; padding-left: 3rem; }
.timeline-history::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.history-item { position: relative; padding-bottom: 2.5rem; }
.history-item:last-child { padding-bottom: 0; }
.history-dot {
  position: absolute;
  left: -2.6rem;
  top: 0.3rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary);
}
.history-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 0.25rem;
}
.history-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.history-text { font-size: 0.875rem; color: var(--text-light); }

.value-card {
  text-align: center;
  padding: 2rem;
}
.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  margin: 0 auto 1.25rem;
}
.value-card h4 { margin-bottom: 0.5rem; }
.value-card p { color: var(--text-light); font-size: 0.875rem; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cert-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.cert-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cert-item i { font-size: 2rem; color: var(--primary); margin-bottom: 0.75rem; display: block; }
.cert-item h5 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.cert-item span { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- CONTACT GRID ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-box { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.contact-info-label { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.contact-info-value { font-weight: 600; color: var(--dark); font-size: .9rem; }
.contact-info-value a { color: var(--dark); }
.contact-info-value a:hover { color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .navbar { padding: 1rem 0; }
  #header.transparent { background: rgba(13,21,32,.95); }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    transition: right var(--transition);
    z-index: 999;
    gap: 0;
  }
  .nav-menu.open { right: 0; }
  .nav-link { padding: 0.75rem 1rem; border-radius: var(--radius); color: rgba(255,255,255,.85); }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.05);
    border: none;
    margin-top: 0.25rem;
    padding: 0.5rem;
  }
  .dropdown-menu::before { display: none; }
  .dropdown-item { color: rgba(255,255,255,.7); }
  .dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav-cta { margin-top: 1rem; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    display: none;
  }
  .nav-overlay.show { display: block; }

  .about-grid { grid-template-columns: 1fr; }
  .about-badge-float { right: 1rem; }
  .newsletter-inner { grid-template-columns: 1fr; padding: 2rem; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .blog-detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .tracking-input-row { flex-direction: column; }
  .tracking-info-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }
  .fleet-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .newsletter-row { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ref-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: 1fr; }
  .tracking-info-grid { grid-template-columns: 1fr; }
  .career-card { flex-direction: column; }
  .cert-grid { grid-template-columns: 1fr; }
}

/* Utility */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-bold { font-weight: 700; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.visible { display: block !important; }

/* Animations */
.fade-in { animation: fadeIn 0.6s ease both; }
.slide-up { animation: slideUp 0.6s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ============ RESPONSIVE – MOBILE FIXES ============ */

/* Fix background-attachment:fixed on iOS/mobile (causes blank/buggy hero) */
@media (max-width: 1024px) {
  .hero-bg { background-attachment: scroll; }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 2rem; }
}

@media (max-width: 768px) {
  /* ---------- Typography ---------- */
  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.35rem, 5vw, 2rem); }
  .lead { font-size: 1rem; }
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  /* ---------- Topbar ---------- */
  .topbar { display: none; }

  /* ---------- Navbar ---------- */
  .navbar { padding: 1rem 0; }
  #header.transparent { background: rgba(13,21,32,.97); }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    transition: right var(--transition);
    z-index: 999;
    gap: 0;
  }
  .nav-menu.open { right: 0; }
  .nav-link { padding: 0.75rem 1rem; border-radius: var(--radius); color: rgba(255,255,255,.85); }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.05);
    border: none;
    margin-top: 0.25rem;
    padding: 0.5rem;
  }
  .dropdown-menu::before { display: none; }
  .dropdown-item { color: rgba(255,255,255,.7); }
  .dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav-cta { margin-top: 1rem; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    display: none;
  }
  .nav-overlay.show { display: block; }

  /* ---------- Hero ---------- */
  .hero-content { padding: 6rem 0 7rem; max-width: 100%; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-stat { padding: 1rem 0.5rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }

  /* ---------- About ---------- */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image img { height: 280px; }
  .about-badge-float { right: 1rem; bottom: -1rem; padding: 1rem; }
  .about-badge-float .num { font-size: 1.75rem; }
  .about-features { grid-template-columns: 1fr; }

  /* ---------- Services / Grid sections ---------- */
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  /* ---------- Testimonials ---------- */
  .testimonial-card { flex: 0 0 100%; }

  /* ---------- Footer ---------- */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* ---------- Forms ---------- */
  .form-row { grid-template-columns: 1fr; }
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; }

  /* ---------- Page Hero ---------- */
  .page-hero { padding: 6rem 0 3rem; }

  /* ---------- Newsletter ---------- */
  .newsletter-inner { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 1.5rem; }
  .newsletter-row { flex-direction: column; }
  .newsletter-row input, .newsletter-row .btn { width: 100%; }

  /* ---------- Tracking ---------- */
  .tracking-form-wrap { padding: 1.5rem; }
  .tracking-input-row { flex-direction: column; }
  .tracking-info-grid { grid-template-columns: repeat(2, 1fr); }

  /* ---------- Other ---------- */
  .service-detail-grid { grid-template-columns: 1fr; }
  .blog-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { justify-content: center; }
  .ref-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .career-cards { gap: 1rem; }
}

@media (max-width: 480px) {
  /* ---------- Typography ---------- */
  h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .section { padding: 2.5rem 0; }
  .container { padding: 0 1rem; }

  /* ---------- Hero ---------- */
  .hero-content { padding: 5rem 0 6rem; }
  .hero-stat-num { font-size: 1.25rem; }
  .hero-stat-label { font-size: 0.65rem; }

  /* ---------- Grids ---------- */
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .tracking-info-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .ref-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }

  /* ---------- Buttons ---------- */
  .btn { white-space: normal; text-align: center; }

  /* ---------- Career ---------- */
  .career-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .career-card .btn { width: 100%; justify-content: center; }

  /* ---------- Page Hero ---------- */
  .page-hero { padding: 5rem 0 2.5rem; }

  /* ---------- Newsletter ---------- */
  .newsletter-inner { padding: 1.5rem 1rem; }
  .newsletter-text h3 { font-size: 1.35rem; }

  /* ---------- Footer ---------- */
  footer { padding: 3rem 0 0; }
  .footer-grid { gap: 1.5rem; }
}

/* ============ TOUCH TARGETS ============ */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 48px; }
  .nav-link { min-height: 44px; padding: 0.85rem 1rem; }
  .form-control { min-height: 48px; font-size: 16px; } /* prevents iOS zoom */
  select.form-control { min-height: 48px; }
}

/* ============ AOS SCROLL ANIMATIONS ============ */
[data-aos] { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* Disable AOS on reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
