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

/* Variables & Design Tokens */
:root {
  --primary: #0a3b60; /* M3 Blue */
  --secondary: #009639; /* AS Logistics Green */
  --accent: #00a4e4; /* Light Blue */
  --dark: #1e293b;
  --dark-bg: #0f172a;
  --light-bg: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-content {
  text-align: center;
  animation: pulseLogo 1.5s infinite alternate ease-in-out;
}

.preloader-logo {
  height: 90px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--secondary);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseLogo {
  from { transform: scale(0.95); opacity: 0.8; }
  to { transform: scale(1.05); opacity: 1; }
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 30px 60px;
  transition: padding var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  padding: 15px 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 60px;
  transition: height var(--transition-normal);
}

header.scrolled .logo img {
  height: 45px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

header.scrolled .nav-link {
  color: var(--dark);
}

.nav-link:hover, header.scrolled .nav-link:hover {
  color: var(--secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 15px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-normal);
  border-top: 3px solid var(--secondary);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 25px;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-link:hover {
  background-color: var(--light-bg);
  color: var(--secondary);
  padding-left: 30px;
}

/* CTA Buttons in Nav */
.btn-nav {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-contact {
  background-color: var(--primary);
  color: var(--white);
}

.btn-contact:hover {
  background-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 150, 57, 0.3);
  transform: translateY(-2px);
}

.btn-login {
  background-color: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login:hover {
  background-color: var(--primary);
  box-shadow: 0 4px 15px rgba(10, 59, 96, 0.3);
  transform: translateY(-2px);
}

/* Hero Section with Slider */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
}

/* 1:1 Recalling Ken Burns Background Zoom */
.slide.active .slide-bg {
  animation: KenBurns 15s infinite alternate linear;
}

@keyframes KenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-1%, -0.5%);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 30%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 3;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 4;
  color: var(--white);
  max-width: 650px;
}

/* Line-by-Line Fade/Slide Up text animation */
.slide .animate-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide.active .animate-text:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.slide.active .animate-text:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.slide.active .animate-text:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

.slide.active .animate-text:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.3s;
}

.slide-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.slide-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-title span {
  display: block;
}

.slide-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.slide-btns {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 150, 57, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary);
  box-shadow: 0 4px 20px rgba(10, 59, 96, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  right: 5%;
  bottom: 8%;
  z-index: 5;
  display: flex;
  gap: 15px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.4);
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.05);
}

/* Floating Actions Area */
.floating-actions-container {
  position: relative;
  z-index: 10;
  margin-top: -80px;
  padding: 0 8%;
}

.floating-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .floating-wrap {
    grid-template-columns: 1fr;
  }
  .floating-actions-container {
    margin-top: -40px;
  }
}

/* Tracking Card */
.tracking-card {
  background: var(--secondary);
  color: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 150, 57, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tracking-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tracking-card p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.tracking-form {
  display: flex;
  gap: 10px;
  background: var(--white);
  padding: 6px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tracking-form input {
  flex-grow: 1;
  border: none;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
}

.tracking-form button {
  background-color: var(--dark-bg);
  color: var(--white);
  border: none;
  padding: 0 25px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tracking-form button:hover {
  background-color: var(--primary);
}

/* Client Actions Grid */
.actions-grid {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 4px solid var(--primary);
}

@media (max-width: 576px) {
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.action-item {
  text-align: center;
  padding: 20px 10px;
  border-radius: 8px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.action-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border-color: var(--secondary);
  background: var(--white);
}

.action-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 150, 57, 0.08);
  color: var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  margin-bottom: 15px;
  transition: var(--transition-fast);
}

.action-item:hover .action-icon {
  background-color: var(--secondary);
  color: var(--white);
}

.action-item h4 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.action-item p {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 15px;
  min-height: 38px;
}

.btn-go {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 6px 20px;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 1px;
}

.action-item:hover .btn-go {
  background-color: var(--secondary);
  box-shadow: 0 4px 10px rgba(0, 150, 57, 0.2);
}

/* Sections Global */
section {
  padding: 100px 0;
}

.section-light {
  background-color: var(--white);
}

.section-alt {
  background-color: var(--light-bg);
}

.container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

.section-desc {
  margin-top: 20px;
  color: #64748b;
  font-size: 1.05rem;
}

/* Parallax Scrolling Section */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0;
  color: var(--white);
  overflow: hidden;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 59, 96, 0.85);
  z-index: 1;
}

.parallax-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.parallax-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.parallax-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

/* Services Grid (3 Columns) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(10, 59, 96, 0.12);
  border-color: var(--primary);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list {
  margin-bottom: 25px;
}

.service-list li {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.service-more {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  margin-top: auto;
}

.service-card:hover .service-more {
  color: var(--primary);
}

/* Casual Couriers Dropdown Portal Section */
.courier-section {
  padding: 80px 0;
}

.courier-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

@media (max-width: 768px) {
  .courier-box {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
}

.courier-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .courier-left {
    flex-direction: column;
  }
}

.courier-logo-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--dark-bg);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  border: 3px solid var(--secondary);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.courier-logo-circle span {
  color: var(--secondary);
}

.courier-title h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.courier-title p {
  color: #64748b;
  font-size: 0.95rem;
}

.courier-dropdown-form {
  display: flex;
  gap: 15px;
  width: 45%;
  min-width: 320px;
}

@media (max-width: 768px) {
  .courier-dropdown-form {
    width: 100%;
  }
}

.courier-select {
  flex-grow: 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
  background-color: var(--light-bg);
  cursor: pointer;
  transition: var(--transition-fast);
}

.courier-select:focus {
  border-color: var(--secondary);
  background-color: var(--white);
}

.btn-book {
  background-color: var(--secondary);
  color: var(--white);
  border: none;
  padding: 0 30px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-book:hover {
  background-color: var(--primary);
}

/* Partner Logo Infinite Carousel */
.partners-section {
  padding: 60px 0;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.partners-slider {
  width: 100%;
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
}

.partners-track {
  display: flex;
  gap: 80px;
  animation: scrollLogos 25s linear infinite;
  padding: 10px 0;
}

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

.partner-logo-item {
  width: 140px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #94a3b8;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.partner-logo-item:hover {
  color: var(--primary);
  transform: scale(1.05);
}

.partner-logo-item svg {
  height: 38px;
  fill: currentColor;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Service Areas / Map Layout */
.coverage-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 992px) {
  .coverage-wrap {
    grid-template-columns: 1fr;
  }
}

.coverage-info h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.coverage-info p {
  color: #64748b;
  margin-bottom: 30px;
}

.coverage-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.coverage-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.bullet-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.bullet-dot.purple { background-color: #8b5cf6; }
.bullet-dot.blue { background-color: #3b82f6; }
.bullet-dot.orange { background-color: #f97316; }
.bullet-dot.green { background-color: #10b981; }

.coverage-map-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.coverage-map-box img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  transition: transform var(--transition-normal);
}

.coverage-map-box img:hover {
  transform: scale(1.03);
}

/* Contact CTA Banner Bar */
.cta-bar {
  background: linear-gradient(135deg, var(--primary) 0%, #06263e 100%);
  color: var(--white);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.cta-bar::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(0, 150, 57, 0.15);
  z-index: 1;
}

.cta-bar-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .cta-bar-wrap {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
}

.cta-bar-text h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.cta-bar-text p {
  color: rgba(255,255,255,0.8);
}

.btn-cta-pulse {
  background-color: var(--secondary);
  color: var(--white);
  padding: 15px 35px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 0 0 rgba(0, 150, 57, 0.7);
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(0, 150, 57, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(0, 150, 57, 0);
  }
  100% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(0, 150, 57, 0);
  }
}

.btn-cta-pulse:hover {
  background-color: var(--white);
  color: var(--primary);
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Footer styling */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--secondary);
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand img {
  height: 65px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.7);
}

.footer-contact li span {
  color: var(--secondary);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--secondary);
}

/* Intersection Observer entrance styles (1:1 Scroll Load) */
.reveal-item {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-item-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-item-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-item-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-item-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Subpage Layout */
.subpage-banner {
  padding: 180px 0 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #06263e 100%);
  color: var(--white);
  text-align: center;
}

.subpage-title {
  font-size: 3rem;
  margin-bottom: 10px;
}

.subpage-content {
  padding: 80px 0;
  line-height: 1.8;
  background-color: var(--white);
}

.subpage-content h3 {
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

.subpage-content p {
  color: #475569;
  margin-bottom: 20px;
}

.subpage-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #475569;
}

.subpage-content li {
  margin-bottom: 8px;
}

/* Logistics Canvas Overlay */
#logistics-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: auto; /* Allow mouse interaction overlay */
}

/* Transition Truck Swipe Overlay */
.transition-truck-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 1005;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.transition-truck-overlay.swipe-active {
  animation: truckSwipe 1.1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.swipe-truck-icon {
  animation: truckTroll 1s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 15px rgba(255,255,255,0.4));
}

@keyframes truckSwipe {
  0% { left: -100%; }
  45%, 55% { left: 0%; }
  100% { left: 100%; }
}

@keyframes truckTroll {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}

/* Mouse Hover Card Tilt Visual Updates */
.action-item, .service-card, .tracking-card {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

.action-item:hover, .service-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

.tracking-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 45px rgba(0, 150, 57, 0.35);
}

/* ===== Subpage Shared Components ===== */
.article-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
@media (max-width: 992px) {
  .article-wrap { grid-template-columns: 1fr; }
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 0.9rem;
}
.spec-table th, .spec-table td {
  border: 1px solid var(--border);
  padding: 12px 15px;
  text-align: left;
}
.spec-table th {
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
}
.spec-table tr:nth-child(even) { background-color: var(--light-bg); }
.callout-box {
  background: var(--light-bg);
  border-left: 5px solid var(--secondary);
  padding: 30px;
  border-radius: 0 8px 8px 0;
  margin: 35px 0;
  font-style: italic;
  color: #334155;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}
@media (max-width: 768px) {
  .project-grid { grid-template-columns: 1fr; }
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.project-img-box {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}
.accordion-section, .faq-section { margin: 50px 0; }
.accordion-item, .faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.accordion-title, .faq-question {
  background: var(--light-bg);
  padding: 18px 22px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 0.95rem;
}
.accordion-title:hover, .faq-question:hover {
  background: #e2e8f0;
  color: var(--secondary);
}
.accordion-body, .faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  border-top: 0 solid var(--border);
  background: var(--white);
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.75;
  transition: max-height 0.4s ease, padding 0.4s ease, border-top 0.3s ease;
}
.accordion-body.open, .faq-answer.open {
  padding: 20px 22px;
  max-height: 600px;
  border-top: 1px solid var(--border);
}
.faq-icon { font-size: 1.3rem; color: var(--secondary); font-weight: 400; }

.section-header-inline {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.section-header-inline .section-subtitle {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header-inline h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header-inline p {
  color: #64748b;
  font-size: 0.95rem;
}

.section-alt-bg {
  background: var(--light-bg);
  padding: 60px 40px;
  border-radius: 16px;
  margin: 50px 0;
  border: 1px solid var(--border);
}

/* Testimonials */
.testimonials-section { margin: 60px 0; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
@media (max-width: 992px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 3rem;
  color: rgba(0, 150, 57, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-text {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}
.testimonial-author span {
  color: #94a3b8;
  font-size: 0.82rem;
}

/* Submit Forms */
.submit-form-section {
  margin: 50px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 45px;
}
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 992px) {
  .form-layout { grid-template-columns: 1fr; }
}
.form-intro h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.5rem;
}
.form-intro p { color: #64748b; font-size: 0.92rem; line-height: 1.7; }
.as-form { display: flex; flex-direction: column; gap: 14px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-heading);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 150, 57, 0.12);
}
.form-textarea { min-height: 110px; resize: vertical; }
.btn-submit {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 6px;
}
.btn-submit:hover {
  background: #007a2e;
  transform: translateY(-2px);
}
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Stats Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 50px 0;
  padding: 35px;
  background: var(--primary);
  border-radius: 14px;
  color: var(--white);
}
@media (max-width: 768px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

/* Portfolio Showcase Extended */
.portfolio-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0;
}
@media (max-width: 992px) {
  .portfolio-showcase { grid-template-columns: 1fr; }
}
.portfolio-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.09);
}
.portfolio-item-body { padding: 22px; }
.portfolio-tag {
  display: inline-block;
  background: rgba(0, 150, 57, 0.1);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.portfolio-item h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.portfolio-item p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.65;
}

/* Staggered reveal delays */
.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.2s !important; }
.reveal-delay-3 { transition-delay: 0.3s !important; }
.reveal-delay-4 { transition-delay: 0.4s !important; }
.reveal-delay-5 { transition-delay: 0.5s !important; }

.subpage-banner .container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1), transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}
.subpage-banner.banner-visible .container {
  opacity: 1;
  transform: translateY(0);
}
