/* ====================================
    0. Variables & Reset
   ==================================== */

 :root {
  --primary-color: #1b1464;
  --accent-color: #00ff22;
  --linkedin-blue: #0077b5;
  --bg-color: #b1b1da;
  --light-text: #ffffff;
  --dark-text: #292929;

    /* Spacing */
    --spacing-xl: 80px;
    --spacing-lg: 60px;
    --spacing-md: 40px;
    --spacing-sm: 20px;

    /* Transitions & Animations */
    --transition-speed: 0.4s;
    --bezier: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Poppins';
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
    
    
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 5px;
    transition: all var(--transition-speed);
    border: 2px solid var(--primary-color);
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Utility Class for Content Centering */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ====================================
    🌐 1. Header & Navigation (Responsive)
==================================== */
.ams-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease;
}

/* Sticky header on scroll */
.ams-header.scrolled {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  padding: 10px 0;
}

/* --- NAVBAR --- */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- LOGO --- */
.logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

/* --- NAV LINKS --- */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  transition: transform 0.3s ease;
}

.nav-links li a {
  color: #ffffff;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  opacity: 1;
}

/* Underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00bcd4;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* --- MOBILE MENU TOGGLE --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger → X animation */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==============================
   📱 RESPONSIVE STYLES
============================== */

/* --- Tablets & Smaller Laptops (≤ 992px) --- */
@media (max-width: 992px) {
  .nav-bar {
    padding: 0 25px;
  }

  .nav-links {
    gap: 18px;
  }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    width: 70%;
    height: 100vh;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* --- Extra Small Devices (≤ 480px) --- */
@media (max-width: 480px) {
  .nav-bar {
    padding: 0 15px;
  }

  .logo img {
    height: 38px;
  }

  .nav-links a {
    font-size: 1.1rem;
  }
}

/* ====================================
    2. Floating Cubes Background Animation
   ==================================== */
.background-cubes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.background-cubes span {
    position: absolute;
    display: block;
    list-style: none;
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    bottom: -150px;
    animation: cube-animate linear infinite;
    border-radius: 3px;
    transform: rotate(45deg); /* Make them look like diamonds/cubes */
}

@keyframes cube-animate {
    0% {
        transform: translateY(0) rotate(45deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(585deg) scale(0.5);
        opacity: 0;
    }
}

/* Apply animation properties from HTML inline styles */
.background-cubes span:nth-child(1) {
    left: 5%; animation-delay: 0s; animation-duration: 10s;
}
.background-cubes span:nth-child(2) {
    left: 15%; animation-delay: 2s; animation-duration: 12s;
}
.background-cubes span:nth-child(3) {
    left: 35%; animation-delay: 4s; animation-duration: 14s;
}
.background-cubes span:nth-child(4) {
    left: 55%; animation-delay: 1s; animation-duration: 11s;
}
.background-cubes span:nth-child(5) {
    left: 75%; animation-delay: 3s; animation-duration: 13s;
}
.background-cubes span:nth-child(6) {
    left: 90%; animation-delay: 5s; animation-duration: 15s;
}

/* ====================================
    3. Hero Section & Info Box (Animations)
   ==================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
     justify-content: flex-start;   /* ⬅️ Left align content horizontally */
    padding-left: 8%;              /* ⬅️ Add space from left edge */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: var(--light-text);
    padding: var(--spacing-sm);
    max-width: 900px;
    text-align: left; 
}

.hero-content h1 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 5px;
    /* Animation initial state */
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInText 1s ease-out forwards 0.5s;
}

.hero-content h3.subheading {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    margin-top: 0;
    /* Animation initial state */
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInText 1s ease-out forwards 0.7s;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 20px 0 40px 0;
    /* Animation initial state */
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards 1s;
}

.hero-content .btn-primary {
    /* Animation initial state */
    opacity: 0;
    transform: scale(0.8);
    animation: scaleInButton 1s var(--bezier) forwards 1.2s;
}

/* Keyframe Animations for Hero Text */
@keyframes slideInText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scaleInButton {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

    /* Floating Info Box */
    .info-box {
      position: absolute;
      bottom: 50px;
      right: 50px;
      width: 350px;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(5px);
      color: var(--light-text);
      border-radius: 12px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
      z-index: 5;
      padding: var(--spacing-sm);
      border-top: 5px solid var(--accent-color);
      opacity: 0;
      transform: translateX(100px);
      animation: slideInBox 1s ease-out forwards 0.5s;
    }

    @keyframes slideInBox {
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .slider-image {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 15px;
    }

    .info-step {
      display: block;
      font-size: 0.9rem;
      color: var(--accent-color);
      margin-bottom: 5px;
      font-weight: 600;
    }

    .info-box h2 {
      font-size: 1.4rem;
      margin: 5px 0 10px;
      line-height: 1.3;
    }

    .info-box p {
      font-size: 0.95rem;
      margin-bottom: 20px;
    }

    .slider-controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 15px;
    }

    .slider-arrow {
      background: none;
      border: 1px solid rgba(255, 255, 255, 0.4);
      color: var(--light-text);
      font-size: 1.2rem;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 300;
    }

    .slider-arrow:hover {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
    }

/* ==============================
   📱 Responsive Hero Section
============================== */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
    .hero {
        justify-content: center;
        padding-left: 4%;
        text-align: center;
    }
    .hero-content {
        text-align: center;
        max-width: 600px;
    }
    .info-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
        width: 90%;
        transform: translateX(0);
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        padding: 0 4%;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content h3.subheading {
        font-size: 1.3rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .info-box {
        width: 95%;
        padding: 15px;
    }
    .info-box .slider-image {
        height: 120px;
    }
}

/* Extra Small Devices (≤ 480px) */
@media (max-width: 480px) {
    .hero {
        height: 60vh;
        padding: 0 2%;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-content h3.subheading {
        font-size: 1.1rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .info-box {
        width: 100%;
        bottom: 20px;
        padding: 12px;
    }
    .info-box .slider-image {
        height: 100px;
    }
}


/* ====================================
    4. Eco-Banner Section (Text Animation)
   ==================================== */
.eco-banner {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0;
    min-height: 750px;
    overflow: hidden;
}

.eco-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.eco-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.eco-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.9) 30%, rgba(26, 26, 26, 0.6) 60%, transparent 100%);
    z-index: 2;
}

.eco-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    color: var(--light-text);
}

.eco-content .main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--light-text);
    overflow: hidden; /* Important for the typing effect */
    white-space: nowrap; /* Important for the typing effect */
    width: 0; /* Initial state for typing animation */
    border-right: 3px solid var(--accent-color); /* The cursor effect */
}

/* Typing Animation - Only applies when 'visible' (on-scroll) */
.eco-content.visible .main-title {
    animation: typing 2s steps(22, end) forwards,
               blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-color); }
}

.eco-content .dot {
    color: var(--accent-color);
}

.eco-content .intro-text {
    max-width: 600px;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    opacity: 0; /* Initial state for scroll animation */
    transform: translateY(20px);
    transition: opacity 0.5s ease-out 2.5s, transform 0.5s ease-out 2.5s; /* Delay after typing */
}

.eco-content.visible .intro-text {
    opacity: 1;
    transform: translateY(0);
}

.features-container {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-left: 3px solid var(--primary-color);
    border-radius: 5px;
    flex: 1;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.eco-content.visible .feature-item:nth-child(1) {
    transition-delay: 2.7s;
    opacity: 1;
    transform: translateX(0);
}

.eco-content.visible .feature-item:nth-child(2) {
    transition-delay: 2.9s;
    opacity: 1;
    transform: translateX(0);
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    font-weight: 600;
    border-radius: 5px;
    transition: all var(--transition-speed);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-out 3.1s, transform 0.5s ease-out 3.1s;
}

.eco-content.visible .cta-button {
    opacity: 1;
    transform: scale(1);
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.arrow-icon {
    margin-left: 10px;
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid var(--dark-bg);
    transition: border-left-color var(--transition-speed);
}

.cta-button:hover .arrow-icon {
    border-left-color: var(--light-text);
}

/* ====================================
    5. Scroll Animation Mixins
   ==================================== */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s var(--bezier);
}

.scroll-animate.show {
    opacity: 1;
    transform: none;
}

/* Default Fade-Up */
.scroll-animate:not(.up):not(.down) {
    transform: translateY(20px);
}
.scroll-animate.show:not(.up):not(.down) {
    transform: translateY(0);
}

/* Specific Move Up/Down */
.scroll-animate.up {
    transform: translateY(50px);
}
.scroll-animate.up.show {
    transform: translateY(0);
}

.scroll-animate.down {
    transform: translateY(-50px);
}
.scroll-animate.down.show {
    transform: translateY(0);
}


/* ====================================
    6. Banner Section
   ==================================== */
.banner-section {
    position: relative;
    background: url('assets/image/custom.png') no-repeat center center/cover;
    padding: var(--spacing-xl) 0;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     background:#ffffff;  
}

.banner-content {
    position: relative;
    z-index: 1;
    color: var( --primary-color);
    max-width: 900px;
    padding: 0 var(--spacing-sm);
}

.banner-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.banner-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.banner-title strong {
    color: var(--accent-color);
}

.banner-title .highlight {
    color: var(--primary-color);
    font-style: italic;
    /* text-decoration: underline; */
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.banner-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Apply scroll animation delays */
.banner-badge { transition-delay: 0s; }
.banner-title { transition-delay: 0.2s; }
.banner-text { transition-delay: 0.4s; }
.banner-content .btn-primary { transition-delay: 0.6s; transform: scale(0.9); }

/* ====================================
    7. Features Section
   ==================================== */
.hmz-features {
    padding: var(--spacing-xl) var(--spacing-sm);
    display: grid;
     grid-template-columns: repeat(3, 1fr); /* ✅ 3 columns in one row */
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.hmz-box {
    padding: var(--spacing-sm);
    border-radius: 10px;
    background: var(--light-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.hmz-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: inline-block;
    padding: 10px;
    background-color: var(--light-bg);
    border-radius: 50%;
}

.hmz-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.hmz-box p {
    font-size: 0.95rem;
    color: #666;
}

/* Feature Animation Delays & Directions */
.hmz-box:nth-child(1) { transition-delay: 0s; }
.hmz-box:nth-child(2) { transition-delay: 0.15s; }
.hmz-box:nth-child(3) { transition-delay: 0.3s; }
.hmz-box:nth-child(4) { transition-delay: 0.45s; }
.hmz-box:nth-child(5) { transition-delay: 0.6s; }
.hmz-box:nth-child(6) { transition-delay: 0.75s; }

.hmz-box:hover {
    background-color: var(--primary-color); /* ✅ bule background */
    color: var(--light-text); /* white text */
    transform: translateY(-8px); /* lift up slightly */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Icon color change on hover */
.hmz-box:hover .hmz-icon {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: rotate(10deg);
    transition: all 0.4s ease;
}

/* Heading & text color adjust on hover */
.hmz-box:hover h3,
.hmz-box:hover p {
    color: var(--light-text);
}


/* ====================================
   📱 Responsive Layouts
==================================== */

/* --- Medium Devices (≤ 992px) --- */
@media (max-width: 992px) {
  .hmz-features {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    gap: 25px;
  }

  .hmz-box {
    padding: var(--spacing-sm);
  }

  .hmz-icon {
    font-size: 2.2rem;
    padding: 12px;
  }

  .hmz-box h3 {
    font-size: 1.2rem;
  }

  .hmz-box p {
    font-size: 0.9rem;
  }
}

/* --- Small Devices (≤ 600px) --- */
@media (max-width: 600px) {
  .hmz-features {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 20px;
  }

  .hmz-box {
    padding: 25px 20px;
  }

  .hmz-icon {
    font-size: 2rem;
    padding: 10px;
  }

  .hmz-box h3 {
    font-size: 1.1rem;
  }

  .hmz-box p {
    font-size: 0.9rem;
  }
}

/* --- Extra Small Devices (≤ 400px) --- */
@media (max-width: 400px) {
  .hmz-features {
    padding: 60px 15px;
    gap: 15px;
  }

  .hmz-box {
    border-radius: 8px;
  }

  .hmz-icon {
    font-size: 1.8rem;
  }
}
/* ====================================
    8. Logistics News
   ==================================== */
.logistics-news {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-color: var(--primary-color);
}

.news-header {
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.news-tag {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.news-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 10px 0;
    color: #00ff22;
}

.news-header p {
    color: #ffffff;
}

.news-cards {
    display: flex;
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.news-box {
    flex: 1;
    min-width: 280px;
    background: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.news-box:hover {
    transform: translateY(-10px);
}

.news-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-box:hover img {
    transform: scale(1.05);
}

.news-overlayss {
    padding: 20px;
    text-align: left;
}

.news-overlayss h3 {
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.news-overlayss p {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--accent-color);
}
/* ====================================
   📱 Responsive Layouts
==================================== */

/* --- Medium Devices (≤ 992px) --- */
@media (max-width: 992px) {
  .news-cards {
    gap: 25px;
  }

  .news-box {
    flex: 1 1 calc(50% - 25px); /* 2 columns on tablet */
  }

  .news-overlayss h3 {
    font-size: 1.2rem;
  }

  .news-overlayss p {
    font-size: 0.9rem;
  }
}

/* --- Small Devices (≤ 600px) --- */
@media (max-width: 600px) {
  .news-cards {
    flex-direction: column; /* Stack vertically */
    gap: 20px;
  }

  .news-box {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .news-box img {
    height: 200px;
  }

  .news-overlayss {
    padding: 18px;
  }

  .news-overlayss h3 {
    font-size: 1.1rem;
  }

  .news-overlayss p {
    font-size: 0.9rem;
  }
}

/* --- Extra Small Devices (≤ 400px) --- */
@media (max-width: 400px) {
  .logistics-news {
    padding: 60px 10px;
  }

  .news-header h2 {
    font-size: 1.8rem;
  }

  .news-overlayss {
    padding: 15px;
  }

  .read-more {
    font-size: 0.9rem;
  }
}
/* ====================================
    9. Video Section
   ==================================== */
.video-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.video-text {
    position: relative;
    z-index: 3;
    color: var(--accent-color);
    max-width: 800px;
    padding: var(--spacing-sm);
}

.video-text h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    font-weight: 700;
}

.video-text p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--light-text);
}

/* Scroll Animation for Video Text */
.video-text.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.video-text:not(.visible) {
    opacity: 0;
    transform: translateY(50px);
}
/* ====================================
   ⭐ 10. Reviews Section (Responsive)
==================================== */
.reviews-section {
  padding: var(--spacing-xl) 0;
  text-align: center;
  background: var(--light-bg);
}

/* --- Title --- */
.reviews-section .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-lg);
  color: var(--dark-bg);
  font-weight: 700;
}

/* --- Container --- */
.reviews-container {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  flex-wrap: wrap; /* ✅ Allows wrapping on smaller screens */
}

/* --- Review Card --- */
.review-card {
  background-color: var(--light-text);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  flex: 1 1 calc(33.333% - var(--spacing-md));
  min-width: 280px;
  text-align: center;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* --- Reviewer Image --- */
.review-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--primary-color);
}

/* --- Reviewer Name --- */
.review-card h3 {
  margin-bottom: 5px;
  color: var(--dark-bg);
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- Review Text --- */
.review-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
  min-height: 75px; /* ensures equal height for all cards */
}

/* --- Star Rating --- */
.stars {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* --- Animation Delay --- */
.review-card:nth-child(1) { transition-delay: 0s; }
.review-card:nth-child(2) { transition-delay: 0.2s; }
.review-card:nth-child(3) { transition-delay: 0.4s; }

/* ====================================
   📱 Responsive Layouts
==================================== */

/* --- Medium Devices (≤ 992px) --- */
@media (max-width: 992px) {
  .reviews-container {
    gap: 25px;
  }

  .review-card {
    flex: 1 1 calc(50% - 25px); /* 🟦 2 cards per row on tablets */
  }

  .review-card img {
    width: 70px;
    height: 70px;
  }

  .review-card h3 {
    font-size: 1rem;
  }

  .review-card p {
    font-size: 0.95rem;
  }
}

/* --- Small Devices (≤ 600px) --- */
@media (max-width: 600px) {
  .reviews-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .review-card {
    flex: 1 1 100%;
    max-width: 90%;
  }

  .review-card img {
    width: 65px;
    height: 65px;
  }

  .review-card h3 {
    font-size: 1rem;
  }

  .review-card p {
    font-size: 0.9rem;
  }

  .stars {
    font-size: 1rem;
  }
}

/* --- Extra Small Devices (≤ 400px) --- */
@media (max-width: 400px) {
  .reviews-section {
    padding: 60px 15px;
  }

  .review-card {
    padding: 20px;
    border-radius: 10px;
  }

  .review-card img {
    width: 60px;
    height: 60px;
  }

  .review-card h3 {
    font-size: 0.95rem;
  }

  .review-card p {
    font-size: 0.85rem;
  }
}

/* ====================================
    11. Contact Section
   ==================================== */
.am-contact-wrapper {
    position: relative;
    display: flex;
    min-height: 650px;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.am-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url('assets/image/pic4.jpg') no-repeat center center/cover;
    z-index: 1;
}

.am-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--primary-color);
    z-index: 2;
}

.am-left-pane {
    flex: 1;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-lg);
    align-items: flex-start;
}

.am-left-tag {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.am-left-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
}

.am-left-title span {
    color: var(--primary-color);
    /* Using var(--am-accent) from HTML, mapping to var(--primary-color) */
}

.am-right-pane {
    flex: 1;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
}

.am-form-card {
    background: var(--light-bg);
    color: var(--dark-bg);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
}

.am-form-heading {
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #000000;
}

.am-sep {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 25px;
}

.am-form-group {
    margin-bottom: 20px;
}

.am-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
}

.am-form-group input,
.am-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.am-form-group input:focus,
.am-form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.am-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.am-submit-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}
.am-form-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.am-form-group {
  margin-bottom: 1rem;
}

.am-form-group input,
.am-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.am-form-group input:focus,
.am-form-group textarea:focus {
  border-color: #1b1464;
  outline: none;
}

.am-submit-btn {
  background: #1b1464;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.am-submit-btn:hover {
  background: #3ab54a;
}

.form-message {
  margin-top: 1rem;
  font-weight: 600;
}

/* ====================================
   Responsive Design
==================================== */

/* --- Tablets (≤ 1024px) --- */
@media (max-width: 1024px) {
    .am-contact-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .am-bg-layer,
    .am-bg-overlay {
        width: 100%;
        height: 40%;
        top: 0;
    }

    .am-left-pane {
        align-items: center;
        padding: var(--spacing-md);
        margin-top: 250px;
    }

    .am-left-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .am-right-pane {
        padding: var(--spacing-md);
    }

    .am-form-card {
        max-width: 500px;
    }
}

/* --- Mobile Devices (≤ 768px) --- */
@media (max-width: 768px) {
    .am-contact-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .am-bg-layer,
    .am-bg-overlay {
        display: none;
    }

    .am-left-pane {
        padding: var(--spacing-md);
        align-items: center;
        text-align: center;
    }

    .am-left-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .am-right-pane {
        padding: var(--spacing-md);
    }

    .am-form-card {
        width: 100%;
        max-width: 400px;
        padding: var(--spacing-sm);
    }

    .am-form-group input,
    .am-form-group textarea {
        padding: 10px;
    }

    .am-submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* --- Small Mobile (≤ 480px) --- */
@media (max-width: 480px) {
    .am-left-title {
        font-size: 1.8rem;
    }

    .am-form-card {
        padding: 15px;
    }

    .am-submit-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* ====================================
    11. linkedin Section
   ==================================== */ 
.linkedin-section {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.linkedin-section .section-title {
  font-size: 2.3em;
  margin-bottom: 15px;
  font-weight: 700;
}

.linkedin-section .highlight {
  color: var(--accent-color);
}

.linkedin-section .subtitle {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #ddd;
}

.linkedin-cta {
  margin-bottom: 30px;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background-color: #0077b5;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 119, 181, 0.3);
}

.btn-linkedin:hover {
  background-color: #005c8c;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 119, 181, 0.4);
}

.btn-linkedin svg {
  fill: currentColor;
}

.helper-text p {
  color: #ccc;
  font-size: 0.95em;
  margin-bottom: 0;
}

/* ====================================
    12. footer Section
   ==================================== */
.main-footer {
  background-color: #0b0b2a;
  color: #ffffff;
  padding: 70px 20px 30px;
  font-family: "Poppins", sans-serif;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 1.2em;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 10px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.company-info .logo {
  display: flex;
  align-items: center;
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.logo-icon {
  margin-right: 8px;
  color: var(--accent-color);
}

.company-info address,
.contact-details p {
  color: #ffffff;
  font-style: normal;
  line-height: 1.6;
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
}

.copyright-bar p {
  font-size: 0.9em;
  color: #ffffff;
}

