:root {
  --color-bg-dark: #0f172a;
  --color-bg-darker: #020617;
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-accent: #06b6d4;
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-white: #ffffff;
  --color-light-bg: #f1f5f9;
  --color-dark-text: #1e293b;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --spacing-container: 1200px;
  --spacing-padding: 2rem;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.95)),
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-white);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 var(--spacing-padding);
}

.section {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  background-color: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 80px !important;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: invert(1) brightness(1.1);
  transition: filter 0.3s ease;
  display: block;
}

.logo:hover .logo-img {
  filter: invert(1) brightness(1.2);
}

.logo span {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.dropdown-item:hover {
  color: var(--color-white);
  background: rgba(59, 130, 246, 0.1);
  padding-left: 1.25rem;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-white);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background-color: var(--color-bg-dark);
  background-image: url('images/hero-bg-logistics.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  max-width: 800px;
  z-index: 10;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-accent);
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  font-weight: 600;
  border-left: 3px solid var(--color-accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-tagline::before {
  content: '●';
  font-size: 0.8em;
  color: var(--color-accent);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Selling Points / Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

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

.service-card h3 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.service-card .text-primary {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9rem;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
  transition: transform 0.3s ease;
}

.service-card:hover .card-icon {
  transform: scale(1.1);
  color: var(--color-primary);
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
}

.feature-list {
  margin-top: 1rem;
}

.feature-list li {
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
  font-size: 1.1rem;
  color: var(--color-dark-text);
  font-weight: 500;
  line-height: 1.6;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.3rem;
  top: -2px;
}

/* Content Pages */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(to bottom, #1e293b, #0f172a);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Industrial Striped Background */
.stripes-bg {
  background-color: #0f172a;
  background-image: repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 10px,
      transparent 10px,
      transparent 20px);
}

.content-section {
  background: var(--color-white);
  color: var(--color-dark-text);
  padding: 5rem 0;
}

.content-section h2 {
  color: var(--color-bg-dark);
}

.content-section .cta-block h2 {
  color: var(--color-white);
}

.content-section p {
  color: #475569;
}

.content-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #475569;
}

.content-section li {
  margin-bottom: 0.5rem;
}

.content-section h3 {
  color: var(--color-bg-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.content-section h4 {
  color: var(--color-bg-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.content-section strong {
  color: var(--color-bg-dark);
}

.content-section a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.content-section a:hover {
  color: var(--color-primary-hover);
}

.content-section ul li p {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.features-grid-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-box {
  padding: 2rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.feature-box h3 {
  color: var(--color-bg-dark);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}



.highlight-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.05);
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
}

.highlight-box p {
  font-size: 1.15rem;
  color: var(--color-dark-text);
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}

.cta-block {
  background: var(--color-bg-darker);
  color: var(--color-white);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-title {
  margin-bottom: 2rem;
}

.contact-description {
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-label {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.1rem;
}

.contact-form-wrapper {
  background: var(--color-bg-darker);
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: var(--color-white);
}

.form-title {
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid #334155;
  background: #1e293b;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* Success Page */
.success-message {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  font-size: 5rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-message h2 {
  color: var(--color-bg-dark);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.success-message > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.success-actions .btn {
  min-width: 180px;
}

.success-contact-info {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.success-contact-info h3 {
  color: var(--color-bg-dark);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.quick-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  font-size: 1.1rem;
}

.quick-contact-item i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background: var(--color-bg-darker);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 300px;
  opacity: 0.7;
}

.footer-links h4 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 768px) {

  h1 {
    font-size: 2.5rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .logo-img {
    height: 60px !important;
  }

  h2 {
    font-size: 2rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    background: var(--color-bg-darker);
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    transform: translateX(100%);
    opacity: 1;
    /* Reset opacity to 1 as we use transform to hide */
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
    z-index: 1100;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    align-items: stretch;
  }

  .nav-menu > li {
    width: 100%;
    padding: 0;
  }

  .nav-menu > li:first-child {
    padding-top: 1.5rem;
  }

  .nav-link {
    display: block;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
  }
  .dropdown-menu {
    left: 0 !important;
    transform: none !important;
    margin: 0.5rem auto 0 !important;
    width: calc(100% - 3rem);
    max-width: 360px;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    padding: 0;
    margin: 0.5rem auto 0;
    display: none;
    opacity: 1;
    visibility: visible;
    flex-direction: column;
    gap: 0;
    border: none;
    width: calc(100% - 3rem); /* respect nav padding for consistent centering */
    max-width: 360px; /* keep it tidy on very small screens */
    text-align: center;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    box-shadow: none;
  }

  .dropdown.active .dropdown-menu {
    display: flex;
  }

  .dropdown-item {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all 0.2s;
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }

  .dropdown-item:hover {
    color: var(--color-white);
    background: rgba(59, 130, 246, 0.1);
  }

  .menu-toggle {
    display: block;
    z-index: 1200;
    /* Ensure button is above the drawer */
    position: absolute;
    right: var(--spacing-padding);
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem;
    /* Increase touch area */
  }



  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Contact Page Responsive */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-item {
    margin-bottom: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .form-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: white;
  }

  .contact-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .contact-value {
    font-size: 1rem;
  }

  .page-header p {
    font-size: 1rem !important;
  }

  .content-section {
    padding: 3rem 0;
  }

  /* Success Page Responsive */
  .success-message {
    padding: 2rem 1rem;
  }

  .success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }

  .success-message h2 {
    font-size: 1.75rem;
  }

  .success-message > p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .success-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .success-actions .btn {
    width: 100%;
    min-width: auto;
  }

  .success-contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .quick-contact-item {
    font-size: 1rem;
  }
}