/**
* Template Name: Logis
* Template URL: https://bootstrapmade.com/logis-bootstrap-logistics-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Poppins",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #001973; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0d42ff; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.6);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0d42ff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f7f9fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0e1d34;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #19335c;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}


 

 
/*-------------------------------
Slider

----------------------------*/
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.slider {
  width: 600px;
  height: 350px;
  position: relative;
  perspective: 1000px;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  animation: rotate 12s infinite linear;
}

.slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.slide img:nth-child(1) {
  transform: rotateY(0deg) translateZ(300px);
}

.slide img:nth-child(2) {
  transform: rotateY(120deg) translateZ(300px);
}

.slide img:nth-child(3) {
  transform: rotateY(240deg) translateZ(300px);
}

@keyframes rotate {
  0%   { transform: rotateY(0deg); }
  33%  { transform: rotateY(-120deg); }
  66%  { transform: rotateY(-240deg); }
  100% { transform: rotateY(-360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slider {
    width: 90%;
    height: 250px;
  }
}


/*-------------------------------
/Slider

----------------------------*/


/*--------------------------------------------------------------
# Form
--------------------------------------------------------------*/

.query-section {
  min-height: 70vh;
  background-color: #0d6efd; /* Bootstrap primary blue */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Input group 3D styling */
.custom-input .form-control,
.custom-input .form-select {
  border-radius: 50px 0 0 50px;
  border: none;
  padding: 10px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.custom-input .input-group-text {
  background: #fff;
  border: none;
  border-radius: 0 50px 50px 0;
  color: #0d6efd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Make all inputs equal height */
.custom-input .form-control,
.custom-input .form-select,
.custom-input .input-group-text {
  height: 45px;
}

/* Button styling */
.btn-submit {
  background-color: #e74c3c;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .custom-input {
    width: 100%;
  }
}
/*------------------------------------------------
css
-----------------------------------------------*/

/* ===== Bottom Info Bar ===== */
.bottom-info-bar {
  background-color: #f4f4f4;
  border-top: 4px solid #007cb9;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
.info-item {
  position: relative;
}
.info-box {
  padding: 20px 10px;
  background: #fff;
  border-radius: 10px;
  margin: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: perspective(800px) rotateX(2deg);
  transition: all 0.3s ease;
}
.info-box:hover {
  transform: perspective(800px) rotateX(0deg) translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.info-icon {
  font-size: 30px;
  color: #007cb9;
}


.section-title {
  color: #111;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Left Box */
.shadow-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: perspective(1000px) rotateY(-2deg);
  transition: all 0.4s ease;
}
.shadow-box:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-5px);
}

/* Testimonial Box (Right) */
.testimonial-box {
  background: linear-gradient(135deg, #1c1c1c, #2b2b2b);
  border-radius: 12px;
  transform: perspective(1000px) rotateY(2deg);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-box:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.testimonial-footer {
  background: #007cb9;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
/*--------------------------------------------------------------
# General Styling & Shared Classes slider
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}


a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===========================
   TOPBAR (Desktop + Mobile)
=========================== */
.topbar {
    background: #00b8f4;
    color: #ffffff;
    padding: 6px 0;
    font-size: 15px;
    width: 100%;
    z-index: 9999;
}

/* Left Section */
.topbar-left span {
    margin-right: 25px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap; 
}

/* Right Icons */
.topbar-right a {
    color: #ffffff;
    font-size: 18px;
    margin-left: 12px;
    transition: 0.3s;
    text-decoration: none;
}

.topbar-right a:hover {
    opacity: 0.7;
}

/* WhatsApp Icon Special */
.topbar-right .bi-whatsapp {
    background:none;
    padding: 6px;
    border-radius: 50%;
    color: #fff;
}

/* ===========================
      RESPONSIVE FIXES
=========================== */
@media (max-width: 992px) {
    .topbar .container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .topbar-left {
        justify-content: center;
        flex-wrap: wrap;
    }

    .topbar-left span {
        margin-right: 10px;
        font-size: 14px;
        margin-bottom: 3px;
    }

    .topbar-right a {
        font-size: 17px;
        margin: 0 8px;
    }
}

@media (max-width: 576px) {
    .topbar {
        padding: 8px 0;
    }

    .topbar-left span {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .topbar-right a {
        font-size: 16px;
        margin: 0 6px;
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
/* =========================================
   GLOBAL HEADER
========================================= */
.header {
    --background-color: rgba(240, 229, 229, 0);
    --heading-color: #ffffff;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
}

.header .logo img {
    max-height: 80px;
    max-width: 80px;
    margin-right: 8px;
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
}

.header .btn-getstarted {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 25px;
    margin-left: 30px;
    border-radius: 4px;
    transition: 0.3s;
}

.header .btn-getstarted:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* Order change below 1200px */
@media (max-width: 1200px) {
    .header .logo { order: 1; }
    .header .btn-getstarted { order: 2; margin-right: 15px; padding: 6px 15px; }
    .header .navmenu { order: 3; }
}

/* Header on scroll */
.scrolled .header {
    padding: 10px 0;
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
    --background-color: rgba(14, 29, 52, 0.9);
}

/* =========================================
   DESKTOP NAVIGATION
========================================= */
#main-header {
    background: #ffffff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

#main-header .logo img {
    height: 60px;
}

.navmenu ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navmenu li {
    position: relative;
}

.navmenu a {
    font-size: 18px;
    font-weight: 500;
    color: #002147;
    text-decoration: none;
}

/* Desktop Dropdown */
.navmenu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    z-index: 999;
}

.navmenu .dropdown:hover > .dropdown-menu {
    display: block;
}

/* =========================================
   MOBILE NAVIGATION
========================================= */

.mobile-nav-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #002147;
    z-index: 10001;
    position: absolute;
    top: 15px;
    right: 20px;
}

.mobile-nav-close {
    display: none;
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #002147;
    z-index: 20000;
}

/* Fix close icon */
.mobile-nav-close i {
    font-size: 32px !important;
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {

    .mobile-nav-toggle {
        display: block;
    }

    .navmenu ul {
        position: fixed;
        top: 0;
        right: -300px;
        width: 260px;
        height: 100vh;
        background: #fff;
        padding: 70px 25px 25px;
        flex-direction: column;
        gap: 18px;
        overflow-y: auto;
        box-shadow: -4px 0 12px rgba(0,0,0,0.25);
        transition: 0.35s ease;
        z-index: 10000;
    }

    .navmenu ul.mobile-active {
        right: 0;
    }

    .mobile-nav-close {
        display: block;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        display: none;
        background: #f5f7fb;
        padding: 10px 15px;
        border-radius: 6px;
        margin-top: 10px;
    }

    .dropdown-menu.mobile-open {
        display: block;
    }

    /* Chevron animation */
    .dropdown > a i {
        margin-left: 6px;
        transition: 0.3s ease;
    }

    .dropdown > a.toggle-active i {
        transform: rotate(180deg);
    }
}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer-logo {
  max-width: 140px; /* adjust logo size */
  height: auto;
}

.sitename {
  font-size: 1.1rem; /* slightly larger text */
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
}

/* ✅ Center text and logo on mobile */
@media (max-width: 768px) {
  .footer-about {
    text-align: center;
  }

  .logo {
    align-items: center !important;
  }

  .sitename {
    font-size: 1.2rem;
  }
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links ul li a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #fff;
}

/* ✅ Responsive Fix for Mobile */
@media (max-width: 768px) {
  .footer-links {
    text-align: center !important; /* center content on small screens */
    margin-bottom: 20px;
  }

  .footer-links ul {
    display: inline-block; /* keeps links neat when centered */
    text-align: left; /* align links under heading neatly */
  }
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid color-mix(in srgb, var(--heading-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
}

.footer .credits a {
  color: var(--default-color);
}
.social-links a {
  color: #fff;
  background: #0d6efd; /* same as navbar color */
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: #0b5ed7;
  transform: scale(1.1);
}

/* Remove right margin for last icon */
.social-links a:last-child {
  margin-right: 0;
}

/* ✅ Responsive: Center icons on mobile */
@media (max-width: 768px) {
  .social-links {
    justify-content: center;
  }
  .social-links a {
    margin: 0 6px;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol a {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .breadcrumbs ol a:hover {
  color: var(--contrast-color);
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}



/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-item {
  position: relative;
  height: 100%;
  margin-bottom: 30px;
}

.featured-services .service-item .icon {
  margin-right: 20px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 40px;
  transition: 0.3s;
}

.featured-services .service-item:hover .icon i {
  color: var(--accent-color);
}

.featured-services .service-item .title {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 20px;
  transition: 0.3s;
}

.featured-services .service-item .description {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 10px;
}

.featured-services .service-item .readmore {
  display: flex;
  align-items: center;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  font-weight: 700;
  font-size: 14px;
}

.featured-services .service-item .readmore i {
  margin-left: 8px;
}

.featured-services .service-item:hover .title,
.featured-services .service-item:hover .readmore,
.featured-services .service-item:hover .icon i {
  color: var(--accent-color);
}

/* ===== Fullscreen Background Image from Online Source ===== */
.main-bg {
  background-image: url('https://images.unsplash.com/photo-1506765515384-028b60a970df?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* Optional dark overlay for better contrast */
.main-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* transparent dark layer */
  z-index: 1;
}

/* Keep slider above overlay */
.slider {
  position: relative;
  z-index: 2;
}

/* Optional: Smooth fade-in effect for background */
.main-bg {
  animation: bgFade 2s ease-in-out;
}

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

/*-------------------------------------------------------------
vision
-------------------------------------------------------*/

.vision-section {
  background: linear-gradient(180deg, #ffffff, #f1f5ff);
}

.section-heading {
  color: #0d6efd;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

/* Vision Image Styling */
.vision-image-wrapper {
  width: 400px;
  height: 400px;
  position: relative;
  perspective: 1000px;
}

.vision-image {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  transition: transform 1.5s ease-in-out;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.vision-image:hover {
  transform: rotateY(360deg);
}


/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  overflow: hidden;
  transition: 0.3s;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 20px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: var(--heading-color);
  transition: 0.3s;
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover,
.faq .faq-container .faq-active .faq-toggle,
.faq .faq-container .faq-active .faq-icon,
.faq .faq-container .faq-active .faq-content {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
}


/* ===== Section Background ===== */
.content-section {
  background: linear-gradient(180deg, #ffffff, #eef3ff);
}

/* ===== Section Heading ===== */
.section-heading {
  color: #0d6efd;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

/* ===== Content Box ===== */
.content-box {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.content-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ===== Button Styling ===== */
.custom-btn {
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  background-color: #084298;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
  transform: translateY(-2px);
}


/* ===== Career Section ===== */
.career-section {
  background: linear-gradient(180deg, #ffffff, #eef2ff);
}

/* ===== 3D Card Style ===== */
.career-box {
  border-radius: 20px;
  transition: all 0.4s ease;
  border: 1px solid #ddd;
}

.career-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

/* ===== Form Controls ===== */
.form-control {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid #ccc;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

/* ===== Submit Button ===== */
.btn-danger {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: #c82333;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(220, 53, 69, 0.4);
}

/* ===== Headings ===== */
h2, h4 {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

/* HERO SECTION */
.road-hero {
  background: url('../img/road1.jpeg') center/cover no-repeat;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.road-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(197, 186, 186, 0.6);
}
.road-hero h1, .road-hero p {
  z-index: 2;
  position: relative;
}
.fade-in {
  animation: fadeIn 1.2s ease-in-out forwards;
  opacity: 0;
}
.fade-in-delay {
  animation: fadeIn 1.5s ease-in-out 0.5s forwards;
  opacity: 0;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* WHY CHOOSE US SECTION */
.road-why {
  background: linear-gradient(135deg, #111, #2a2a2a);
}
.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}
.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(255, 50, 50, 0.4);
}

/* CTA SECTION */
.road-cta {
  background: url('../img/road2.jpg') center/cover no-repeat;
  position: relative;
}
.road-cta .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 50, 50, 0.5);
}
.road-cta .container {
  position: relative;
  z-index: 2;
}

/* SCROLL ANIMATION */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}
[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}


/* HERO */
.dim-hero {
  background: url('../img/Dimensional5.jpg') center/cover no-repeat fixed;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.dim-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.animate-fade {
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}
.animate-fade-delay {
  animation: fadeIn 1.5s ease 0.5s forwards;
  opacity: 0;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* IMAGE INTERACTIONS */
.interactive-img {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform-style: preserve-3d;
}
.interactive-img:hover {
  transform: rotateY(15deg) rotateX(5deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* IMAGE HOVER 3D CONTAINER */
.img-hover-3d {
  perspective: 1000px;
}

/* GALLERY IMAGES */
.gallery-card img {
    width: 100%;
  height: 100%;
  transition: all 0.6s ease;
  transform-origin: center;
  filter: brightness(0.8);
}
.gallery-card:hover img {
  transform: scale(1.08) rotateY(8deg);
  filter: brightness(1);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* 3D CUBE */
.dim-3d {
  background: radial-gradient(circle, #101010, #000);
  perspective: 1000px;
}
.cube-container {
  width: 200px;
  height: 200px;
  perspective: 1000px;
}
.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 10s linear infinite;
}
.cube .face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.cube .front  { transform: translateZ(100px); }
.cube .back   { transform: rotateY(180deg) translateZ(100px); }
.cube .right  { transform: rotateY(90deg) translateZ(100px); }
.cube .left   { transform: rotateY(-90deg) translateZ(100px); }
.cube .top    { transform: rotateX(90deg) translateZ(100px); }
.cube .bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes spin {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* CTA */
.dim-cta {
  background: url('../img/Dimensional5.jpg') center/cover no-repeat;
  position: relative;
}
.dim-cta .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 0, 0, 0.45);
}

/* SCROLL ANIMATION */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}
[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 48px;
  display: block;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.stats .stats-item span:after {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 500;
}

/* Section Background */
.feature-section {
  background-color: #f8f9fa;
  overflow: hidden;
}

/* Content Column */
.content-col {
  background: #ffffff;
  color: #333;
  box-shadow: inset -10px 0 30px rgba(17, 17, 17, 0.05);
  z-index: 2;
}

.content-col h2 {
  font-weight: 700;
  font-size: 2rem;
}

.content-col p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

/* Image Column */
.image-col {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

/* Image Styling */
.feature-img {
  border-radius: 5px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
  filter: brightness(0.9) contrast(1.05);
  transform: scale(1.05) rotateY(-5deg);
  border-left: 5px solid #0d6efd;
}

.feature-img:hover {
  transform: scale(1.1) rotateY(0deg);
  filter: brightness(1) contrast(1.1);
}

/* Image Overlay Effect */
.image-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(218, 218, 220, 0.2), rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .feature-section .row {
    flex-direction: column-reverse;
  }
  .content-col {
    text-align: center;
  }
  .feature-img {
    border-left: none;
    border-top: 5px solid #0d6efd;
  }
}

/* Section Styling */
.diagonal-section {
  background: linear-gradient(135deg, #f2f3f5, #eaedf0);
  color: #fff;
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
}

/* Angled Image Container */
.angled-image-container {
  position: absolute;
  right: -150px;
  bottom: -80px;
  width: 70%;
  max-width: 900px;
  overflow: hidden;
  transform: rotate(-6deg);
  transition: transform 0.8s ease, bottom 0.8s ease;
  z-index: 1;
}

/* Image Styling */
.angled-img {
  width: 100%;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: scale(1.05);
  transition: transform 0.8s ease;
}

/* Hover Animation */
.angled-image-container:hover {
  transform: rotate(0deg);
  bottom: -20px;
}

.angled-image-container:hover .angled-img {
  transform: scale(1.1) translateY(-15px);
}

/* Responsive */
@media (max-width: 768px) {
  .angled-image-container {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 30px;
  }
  .angled-img {
    border-radius: 20px;
    transform: none;
  }
  .diagonal-section {
    text-align: center;
  }
}


body {
  overflow-x: hidden;
}

 /* Page and hero base */
    :root {
      --hero-height: 60vh; /* adjust hero height */
    }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      background: #0b0b0d;
      color: #eee;
    }

    .hero {
      position: relative;
      height: var(--hero-height);
      min-height: 380px;
      overflow: hidden;
      background: linear-gradient(0deg,#07111a 0%, #0b0b0d 60%);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero .container {
      z-index: 5;
      text-align: center;
      pointer-events: none;
    }

    .hero h1 { font-weight: 700; letter-spacing: .6px; margin-bottom: .25rem; }
    .hero p { margin: 0 0 1rem; color: #cfd8dc88; }

    /* TRACK AREA - fixed to bottom of hero */
    .track-area {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 3.5rem; /* vertical offset of track inside hero */
      height: 160px;
      pointer-events: none;
      z-index: 3;
    }

    /* visual track (SVG) */
    .track-area svg { width: 100%; height: 100%; display: block; }

    /* TRAIN container that constrains movement */
    .train-wrap {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 3.5rem; /* same baseline as track */
      height: 160px;
      overflow: visible; /* visible so train visible even at edges */
      z-index: 4;
      pointer-events: none;
    }

    /* Train image */
    .train {
      position: absolute;
      bottom: 0;                     /* sit on track baseline */
      left: -18%;                    /* start off-screen left */
      width: clamp(120px, 14vw, 200px); /* responsive size */
      transform-origin: 50% 50%;
      will-change: left, transform;
      filter: drop-shadow(0 12px 18px rgba(0,0,0,0.6));
      animation: runRoute 11s linear infinite;
    }

    /* small shadow under train for depth */
    .train-shadow {
      position: absolute;
      bottom: -8px;
      left: -18%;
      width: clamp(80px, 12vw, 140px);
      height: 14px;
      background: radial-gradient(ellipse at center, rgba(0,0,0,0.45), rgba(0,0,0,0.15));
      opacity: .6;
      transform-origin: 50% 50%;
      filter: blur(6px);
      animation: runRouteShadow 11s linear infinite;
      z-index: 2;
    }

    /*
      Keyframe plan:
       0%   -> train off-left, facing right
       40%  -> reach right-side travel point (straight)
       48%  -> right-edge 'approach' (small rotate to indicate turn start)
       52%  -> flip/rotate (train turns right and flips to face left)
       100% -> back off-left and reset
    */
    @keyframes runRoute {
      0% {
        left: -18%;
        transform: translateY(0) scaleX(1) rotate(0deg);
      }

      /* main straight run to near-right edge */
      40% {
        left: 78%;
        transform: translateY(0) scaleX(1) rotate(0deg);
      }

      /* slight lean at the corner — look like turning right */
      48% {
        left: 89%;
        transform: translateY(-8px) scaleX(1) rotate(12deg);
      }

      /* during turn: flip horizontally and rotate to imply it turned and is facing left */
      52% {
        left: 89%;
        transform: translateY(-6px) scaleX(-1) rotate(200deg);
      }

      /* start returning left (facing left, so scaleX(-1)) */
      100% {
        left: -18%;
        transform: translateY(0) scaleX(-1) rotate(360deg);
      }
    }

    /* match shadow left property & flip when train flips */
    @keyframes runRouteShadow {
      0%   { left: -18%; transform: scaleX(1) translateY(0); opacity: .6; }
      40%  { left: 78%; transform: scaleX(1) translateY(0); opacity: .6; }
      48%  { left: 89%; transform: scaleX(1) translateY(0); opacity: .55; }
      52%  { left: 89%; transform: scaleX(-1) translateY(0); opacity: .45; }
      100% { left: -18%; transform: scaleX(-1) translateY(0); opacity: .6; }
    }

    /* nice easing for small screens so it doesn't jump */
    @media (max-width: 600px) {
      .track-area { bottom: 2.5rem; height: 120px; }
      .train-wrap { bottom: 2.5rem; height: 120px; }
    }

    /* optional styling for track ends to emphasize corner */
    .track-dot {
      position: absolute;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: linear-gradient(180deg,#ff4747,#c40000);
      box-shadow: 0 0 18px rgba(255,71,71,0.6);
      bottom: calc(3.5rem + 72px); /* vertically above track center to align */
      z-index: 3;
      opacity: .9;
      pointer-events: none;
    }
    .track-dot.left { left: 6%; transform: translateX(-50%); }
    .track-dot.right { left: 92%; transform: translateX(-50%); }

    /* small responsive tweaks */
    @media (max-width: 1000px) {
      @supports (animation: runRoute 11s linear infinite) {
        /* keep same animation but adjust endpoints so train doesn't overflow */
      }
    }




    /* HERO SECTION */
.train-hero {
  height: 100vh;
  background: url('assets/img/train-bg.jpg') center/cover no-repeat;
  position: relative;
}
.train-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.train-hero-content {
  position: relative;
  top: 35%;
}

/* TRAIN MOVEMENT ANIMATION */
.train-animation-wrapper {
  position: absolute;
  bottom: 60px;
  width: 100%;
  height: 150px;
  overflow: hidden;
}
.train-animated-img {
  position: absolute;
  bottom: 0;
  width: 200px;
  animation: trainMoveCycle 10s linear infinite;
}

@keyframes trainMoveCycle {
  0% { left: -220px; transform: scaleX(1); }
  45% { left: calc(100% - 200px); transform: scaleX(1); }
  50% { left: calc(100% - 200px); transform: scaleX(-1); }
  95% { left: -220px; transform: scaleX(-1); }
  100% { left: -220px; transform: scaleX(1); }
}

/* SERVICE CARD ANIMATIONS */
.train-service-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.train-service-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.train-service-img {
  transition: transform 1.2s ease;
}
.train-service-card:hover .train-service-img {
  transform: scale(1.1) rotateY(10deg);
}

/* FOOTER */
.train-footer {
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* Overall look */
body {
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at top, #0d1117 40%, #000 100%);
  overflow-x: hidden;
}

.glow-text {
  text-shadow: 0 0 10px cyan, 0 0 20px cyan;
}

/* Logo Slider Container */
.logo-showcase {
  position: relative;
  overflow: hidden;
}

/* Track Animation */
.logo-track {
  display: flex;
  width: calc(200px * 12); /* total logos x width */
  animation: scroll 40s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-200px * 6)); }
}

/* Logo Box Design */
.logo-box {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  margin: 0 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  transform: perspective(600px) rotateY(0deg);
  transition: transform 0.5s, box-shadow 0.4s;
}

/* Hover 3D rotation */
.logo-box:hover {
  transform: perspective(800px) rotateY(15deg) rotateX(5deg) scale(1.05);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

/* Logo Image (same height & width) */
.logo-box img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: brightness(1) saturate(1.2);
  transition: transform 0.5s ease, filter 0.3s;
}

.logo-box:hover img {
  transform: scale(1.1);
  filter: brightness(1.5) saturate(1.5);
}

/* Subtle Floating Motion */
.logo-box {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 768px) {
  .logo-box {
    width: 150px;
    height: 150px;
    margin: 0 10px;
  }

  .logo-box img {
    width: 90px;
    height: 90px;
  }
}

/* Banner background */
.banner {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../img/black.jpg') center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Text Section */
.text-section h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  line-height: 1.2;
}

.subtext {
  font-size: 1rem;
  color: #fff;
  letter-spacing: 1px;
}

/* Truck Image */
.truck-img {
  max-width: 90%;
  animation: floatTruck 5s ease-in-out infinite;
}

/* Floating animation */
@keyframes floatTruck {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .banner {
    text-align: center;
  }
  .text-section h1 {
    font-size: 2.2rem;
  }
  .truck-img {
    margin-top: 30px;
  }
}



/* Background for Service Section */
.service-process {
  background: url('../img/bakup.jpg') center/cover no-repeat;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Dark overlay for contrast */
.service-process .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* White floating box */
.process-box {
  background: #fff;
  border-radius: 15px;
  z-index: 2;
}

/* Process items */
.process-item i {
  color: #e31b23;
  transition: transform 0.3s ease;
}

.process-item:hover i {
  transform: translateY(-5px);
}

.process-item h5 {
  color: #333;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .process-box {
    padding: 2rem 1rem;
  }

  .process-item h5 {
    font-size: 0.9rem;
  }
}

/* Background styling */
.logistics-section {
  background: url('../img/section.png') center/cover no-repeat;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Subtle animated glow in background */
.logistics-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 60%);
  animation: rotateGlow 15s linear infinite;
  z-index: 0;
}
@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Card design */
.service-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  perspective: 1000px;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px) rotateY(8deg);
  box-shadow: 0 15px 35px rgba(227, 223, 223, 0.2);
}

/* Image wrapper with overlay */
.img-wrapper {
  position: relative;
  overflow: hidden;
}

.img-wrapper img {
  transition: transform 1.2s ease-in-out;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card:hover .img-wrapper img {
  transform: rotateY(360deg) scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(252, 252, 252, 0.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

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

/* Content box */
.content-box {
  padding: 1.5rem;
}

.content-box h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.content-box p {
  color: #ccc;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .content-box p {
    font-size: 0.85rem;
  }
}
.service-card:hover .img-wrapper img {
  transform: rotateY(360deg) scale(1.1);
}
/* Continuous 360 rotation */
@keyframes spin360 {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.service-card:hover .img-wrapper img {
  animation: spin360 2s linear infinite;
  transform: scale(1.05);
}

/* Section Styling */
.fleet-section {
  background: url('../img/transport.jpg') center/cover no-repeat;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Animated light streaks in background */
.fleet-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(227, 224, 224, 0.2), transparent 60%);
  animation: lightMove 12s linear infinite;
  z-index: 0;
}
@keyframes lightMove {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Fleet Card */
.fleet-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 1rem;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

/* Image Styling */
.fleet-card img {
  transition: transform 0.8s ease, filter 0.3s ease;
  width: 100%;
  height: 150px;
  object-fit: contain;
}

/* Hover Effects */
.fleet-card:hover img {
  transform: scale(1.2) rotate(-5deg);
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(233, 228, 228, 0.5));
}

.fleet-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 25px rgba(152, 81, 81, 0.25);
  border-color: rgba(150, 83, 83, 0.4);
}

/* Animated shine overlay */
.fleet-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(205, 103, 103, 0.4), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}
.fleet-card:hover::after {
  left: 125%;
}

/* Text */
.fleet-card p {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .fleet-card img {
    height: 120px;
  }
  .fleet-card p {
    font-size: 0.8rem;
  }
}
body {
  background-color: #0d0d0d;
  overflow-x: hidden;
}

.dry-ports-section {
  position: relative;
  background: radial-gradient(circle at 10% 10%, #1a1a1a, #0d0d0d);
  overflow: hidden;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(90deg, #ff3c3c, #ff7b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

/* Title underline */
.title-line {
  position: relative;
  display: inline-block;
}
.title-line::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #ff3c3c, #ff7b00);
}

/* Glass box effect */
.glass-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}
.glass-box:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 60, 60, 0.5);
}

/* Location text */
.dry-port-list p {
  margin-bottom: 0.7rem;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}
.dry-port-list p:hover {
  color: #ff3c3c;
  transform: scale(1.1);
}

/* Map */
.map-container {
  position: relative;
  display: inline-block;
}
.map-img {
  width: 80%;
  filter: drop-shadow(0 0 15px rgba(255, 60, 60, 0.3));
  animation: floatMap 6s ease-in-out infinite;
}

@keyframes floatMap {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Glowing Dots */
.dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ff3c3c;
  border-radius: 50%;
  box-shadow: 0 0 15px #ff3c3c, 0 0 25px #ff7b00;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* Scroll animation */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}
[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .dry-ports-section {
    text-align: center;
  }
  .map-img {
    width: 70%;
  }
}

/* Background Section */
.contact-section {
  background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(15, 15, 15, 0.9)),
              url('../img/talkus.jpg') center/cover no-repeat;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Animated Text */
.contact-title {
  font-size: 3rem;
  line-height: 1.2;
  animation: slideText 2s ease-in-out;
}

@keyframes slideText {
  from { transform: translateX(-60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.highlight {
  color: #ff3c3c;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff3c3c, #ff7b00);
  border-radius: 3px;
  animation: underlineMove 3s ease-in-out infinite;
}

@keyframes underlineMove {
  0%, 100% { width: 100%; opacity: 0.8; }
  50% { width: 50%; opacity: 1; }
}

/* Glassmorphism Contact Card */
.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  color: #fff;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 60, 60, 0.3), transparent 70%);
  transform: rotate(45deg);
  animation: glowMove 8s linear infinite;
  z-index: 0;
}

@keyframes glowMove {
  0% { transform: rotate(45deg) translate(0, 0); }
  100% { transform: rotate(45deg) translate(50px, 50px); }
}

.contact-card * {
  position: relative;
  z-index: 1;
}

/* Hover Effects */
.contact-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 60, 60, 0.5);
}

.link-hover:hover {
  color: #ff3c3c !important;
  text-shadow: 0 0 5px #ff3c3c;
}

/* Scroll Animation */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-title {
    font-size: 2rem;
    text-align: center;
  }
  .contact-card {
    margin-top: 2rem;
  }
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  font-size: 20px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Get A Quote Section
--------------------------------------------------------------*/
.get-a-quote .quote-bg {
  min-height: 500px;
  background-size: cover;
  background-position: center;
}

.get-a-quote .php-email-form {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .get-a-quote .php-email-form {
    padding: 20px;
  }
}

.get-a-quote .php-email-form h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.get-a-quote .php-email-form h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 0 0;
}

.get-a-quote .php-email-form p {
  font-size: 14px;
  margin-bottom: 20px;
}

.get-a-quote .php-email-form input[type=text],
.get-a-quote .php-email-form input[type=email],
.get-a-quote .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 20%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.get-a-quote .php-email-form input[type=text]:focus,
.get-a-quote .php-email-form input[type=email]:focus,
.get-a-quote .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.get-a-quote .php-email-form input[type=text]::placeholder,
.get-a-quote .php-email-form input[type=email]::placeholder,
.get-a-quote .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.get-a-quote .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.get-a-quote .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
/* service are same size */
/* SERVICES CARD FIX — SAME HEIGHT + SCROLL */
.services .card {
    border-radius: 12px;
    padding: 15px;
    height: 380px;             /* FIXED HEIGHT FOR ALL CARDS */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

/* Hover Effect */
.services .card:hover {
    transform: translateY(-5px);
}

/* Image Wrapper — FIX SAME SIZE */
.services .card-img {
    width: 100%;
    height: 150px;             /* FIX IMAGE HEIGHT */
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Image Fit */
.services .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* MAKES ALL IMAGES SAME SIZE */
    object-position: center;
}

/* Content Scroller */
.services .card p {
    overflow-y: auto;          /* SCROLL IF OVERFLOW */
    flex: 1;                   /* TAKE AVAILABLE SPACE */
    margin-bottom: 5px;
}

/* BEAUTIFUL SCROLLBAR */
.services .card p::-webkit-scrollbar {
    width: 6px;
}
.services .card p::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.services .card p::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Title Fix */
.services .card h3 {
    font-size: 20px;
    font-weight: 700;
    min-height: 50px;          /* SAME HEIGHT FOR ALL HEADINGS */
    text-align: center;
}
/* same for the train section */
/* ================================
   RAIL FREIGHT SERVICES CARD FIX
   ================================ */

/* Main card design */
.train-service-card {
    border-radius: 12px;
    overflow: hidden;
    height: 380px;                 /* FIXED CARD HEIGHT */
    display: flex;
    flex-direction: column;
}

/* Image wrapper */
.train-service-img {
    width: 100%;
    height: 160px;                 /* FIXED IMAGE HEIGHT */
    object-fit: cover;             /* MAKE ALL IMAGES SAME SIZE */
    object-position: center;
    display: block;
}

/* Content wrapper */
.train-service-card .p-3 {
    flex: 1;                       /* Take remaining space */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Title */
.train-service-card h5 {
    font-size: 18px;
    font-weight: 700;
    min-height: 50px;              /* SAME HEIGHT FOR ALL TITLES */
    margin-bottom: 10px;
}

/* Paragraph with scroll if overflow */
.train-service-card p {
    flex: 1;
    overflow-y: auto;              /* ENABLE SCROLL */
    font-size: 15px;
    line-height: 1.5;
}

/* Scrollbar styling */
.train-service-card p::-webkit-scrollbar {
    width: 6px;
}

.train-service-card p::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

.train-service-card p::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.floating-icons {
    position: fixed;
    bottom: 59px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* Single Icon Style */
.float-icon {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;
    color: #fff;
    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

/* WhatsApp */
.float-icon.whatsapp { background: #25D366; }

/* Phone */
.float-icon.phone { background: #007bff; }

/* Email */
.float-icon.email { background: #dc3545; }

/* Hover */
.float-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* Bounce Animation */
@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.floating-icons .float-icon {
    animation: floatBounce 2.5s infinite ease-in-out;
}

/* --------------------------------------------- */
/* RESPONSIVE: Smaller Icons on Mobile Devices */
/* --------------------------------------------- */
@media (max-width: 576px) {
    .floating-icons {
        bottom: 20px;
        right: 15px;
        gap: 10px;
    }

    .float-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}
