/* ===================================
   BSLOGIX - Main Stylesheet
   Modern, Professional Logistics Design
   =================================== */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.white{
  color:#ffffff;
}
:root {
  --primary-color: #003d7a;
  --secondary-color: #0066cc;
  --accent-color: #ff6b35;
  --dark-bg: #1a1a2e;
  --light-bg: #f4f6f9;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--accent-color);
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-secondary {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--primary-color);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo{
  max-width: 150px;
}
.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -1px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a:not(.btn):after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.main-nav a:not(.btn):hover:after {
  width: 100%;
}

.main-nav .btn {
  padding: 10px 24px;
}

/* Hero Section 
.hero {
  background: linear-gradient(135deg, #060622 0%, rgba(0, 102, 204, 0.50) 100%),
              url('../images/hero-background.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M1200 120L0 16.48 0 0 1200 0 1200 120z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
  background-size: cover;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero .btn {
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
*/
/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 80px 20px;
}

.services-grid > div {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.services-grid > div:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-top-color: var(--accent-color);
}

.services-grid h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.services-grid a {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
}

.services-grid a:hover {
  gap: 8px;
}

/* Why Section */
.why {
  background: var(--light-bg);
  padding: 80px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 40px auto;
}

.why h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.why p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Content Sections */
.content-section {
  padding: 80px 20px;
}

.content-section.alt-bg {
  background: var(--light-bg);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 3rem 0;
}

.content-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.content-image img {
  width: 100%;
  display: block;
  transition: var(--transition);
}

.content-image:hover img {
  transform: scale(1.05);
}

/* Feature List */
.feature-list {
  list-style: none;
  margin: 2rem 0;
}

.feature-list li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
}

.feature-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.25rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 60px 0;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 1rem;
}

/* Service Details */
.service-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.service-detail h1 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-intro {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.service-features {
  background: var(--light-bg);
  padding: 3rem;
  border-radius: 8px;
  margin: 3rem 0;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 3rem auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.contact-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  background: var(--light-bg);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--secondary-color);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--text-light);
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.site-footer p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}

/* Page Header */
.header-services {
  background: linear-gradient(135deg, #212126 0%, rgba(160, 129, 25, 0.5) 100%),
  url('../images/hero-background.jpg') center center / cover no-repeat;
}
.header-why {
  background: linear-gradient(135deg, #212126 0%, rgba(24, 82, 14, 0.5) 100%),
  url('../images/hero-background.jpg') center center / cover no-repeat;
}
.header-about {
  background: linear-gradient(135deg, #212126 0%, rgba(67, 63, 78, 0.5) 100%),
  url('../images/hero-background.jpg') center center / cover no-repeat;
}
.header-brokerage {
  background: linear-gradient(135deg, #212126 0%, rgba(80, 69, 79, 0.5) 100%),
  url('../images/hero-background.jpg') center center / cover no-repeat;
}
.header-warehousing {
  background: linear-gradient(135deg, #212126 0%, rgba(90, 22, 29, 0.5) 100%),
  url('../images/hero-background.jpg') center center / cover no-repeat;
}
.header-drayage {
  background: linear-gradient(135deg, #212126 0%, rgba(76, 102, 18, 0.5) 100%),
  url('../images/hero-background.jpg') center center / cover no-repeat;
}
.header-fourpl {
  background: linear-gradient(135deg, #212126 0%, rgba(18, 53, 102, 0.5) 100%),
  url('../images/hero-background.jpg') center center / cover no-repeat;
}
.header-contact {
  background: linear-gradient(135deg, #212126 0%, rgba(79, 6, 76, 0.5) 100%),
  url('../images/hero-background.jpg') center center / cover no-repeat;
}
.page-header {

  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
}

.page-header p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .main-nav.active {
    max-height: 500px;
    padding: 1rem 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }

  .main-nav a {
    display: block;
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }

  .content-section {
    padding: 40px 20px;
  }

  .stat-number {
    font-size: 2rem;
  }
}
.content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  padding: 50px 0;
}

.card {
  background: var(--light);
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  padding: 20px;
}

.checklist {
  padding-left: 18px;
  margin: 10px 0 20px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

.subsection {
  padding: 10px 0 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 15px;
}

.feature {
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}
/* HERO (Transportation) */
.hero-transport {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b1f33; /* fallback */
}

.hero-transport__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/truck.jpg"); /* <-- set your image path */
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-transport__overlay {
  position: absolute;
  inset: 0;
  /* Dark gradient from left to transparent right */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0.00) 100%
  );
}

.hero-transport__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 64px 20px;
  color: #fff;
}

.hero-transport__content h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color:#fff;
}

.hero-transport__content p {
  margin: 0;
  max-width: 640px;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.6;
  opacity: 0.95;
  color:#fff;
}

.hero-transport__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Outline button (secondary CTA) */
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.85);
  color: #fff;
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: #fff;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-transport {
    min-height: 520px;
  }

  .hero-transport__bg {
    background-position: 70% center;
  }

  .hero-transport__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.55) 45%,
      rgba(0, 0, 0, 0.10) 100%
    );
  }

  .hero-transport__content {
    padding: 56px 20px;
  }
}


/* Basic hero layout */
.hero {
  position: relative;
  min-height: 50vh;             /* adjust as needed */
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;           /* ensure z-index stacking is contained */
}

/* Background layer using ::before */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../images/hero-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Smooth edges and GPU-friendly hints */
  transform: scale(1.1);        /* start slightly zoomed to avoid edges showing */
  will-change: transform;       /* hint for smoother animation */
  backface-visibility: hidden;

  /* Ken Burns animation */
  animation: kenburns-zoom 10s ease-in-out infinite alternate;
  /* try 30–45s for a slower, calmer effect */
}

/* Subtle gradient overlay for legibility (optional) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.45) 100%
  );
}

/* Content styling (example) */
.hero__content {
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

/* The Ken Burns keyframes: zoom + a gentle pan */
@keyframes kenburns-zoom {
  0% {
    transform: scale(1.1) translate3d(0, 0, 0);
    background-position: 50% 50%;
  }
  100% {
    transform: scale(1.25) translate3d(0, 0, 0);
    background-position: 55% 45%; /* subtle pan; adjust to taste */
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
    transform: scale(1.1);
  }
}
