

@media (max-width: 768px){
    /* BACK BUTTON */
    .back-tab{
      color:#ffffff;
      text-decoration: none !important;;
    }

  .carousel-item-9 .slide-text{
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
  }

  .carousel-item-9 .slide-content{
    width:100%;
    padding:0 16px;
  }

  .carousel-item-9 .tab-line-1,
  .carousel-item-9 .tab-line{
    margin-left:0 !important;
  }

}



.freight-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
   text-decoration: none !important;
}

.ff-arrow-out-1 {
  cursor: pointer;
  transition: transform .3s ease;
  font-size: 14px;
   text-decoration: none !important;
}


.tab-line-1 {
  margin-left: -160px;   /* Adjust this value as needed */
}

.tab-line {
  margin-left: 250px;   /* Adjust this value as needed */
}


.image-tab:hover span
{
  color: #000;
}


.image-tab {
  width: 250px;
  height: 65px;
  border-radius: 15px;
  cursor: pointer;

  font-weight: 600;
  font-size: 15px;
  color: #09646d;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  padding-right: 12px;

  background-size: cover;        /* FULL COVER */
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  overflow: hidden;

  margin-bottom: 14px;
}

/* text layer */
.image-tab span,
.image-tab {
   text-decoration: none !important;
  z-index: 1;
}

#main-menu .image-tab:not(.active)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.5); /* fade inactive */
  z-index: 1;
  border-radius: inherit;
}



/* ACTIVE TAB */
#main-menu .image-tab.active {
  color: #000;           
 
  font-weight: 700;
}

#main-menu .image-tab:hover {
    color: #000;
 text-decoration: none !important;         
  
  font-weight: 700;
}


#sub-menu .image-tab:not(.active)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.5); /* fade inactive */
  z-index: 1;
  border-radius: inherit;
}



/* ACTIVE TAB */
#sub-menu .image-tab.active {
  color: #000;           
 
  font-weight: 700;
}

#sub-menu .image-tab:hover {
    color: #000;
 text-decoration: none !important;         
  
  font-weight: 700;
}


/* BACK BUTTON */
.back-tab{
  background:none;
  height:auto;
  padding:6px 0 10px 6px;
  text-decoration: none !important;;
}



.back-tab:hover{
  text-decoration: none !important;;
}

/* IMAGE CLASSES */
.tab-air {
  background-image: url("../img/air.png");
}

.tab-land {
  background-image: url("../img/land.png");
}

.tab-rail {
  background-image: url("../img/rail.png");
}

.tab-sea {
  background-image: url("../img/ship.png");
}

.tab-lcl {
  background-image: url("../img/LCL.png");
}

.tab-custom {
  background-image: url("../img/custom.png");
}


.tab-whouse {
  background-image: url("../img/whouse.png");
}

.tab-fcl {
  background-image: url("../img/FCL.png");
}

.tab-freight{
background-image: url("../img/frieght.png");
}

.tab-international{
background-image: url("../img/international.png");
}

.carousel-1,
.carousel-inner-1,
.carousel-item-1{
  height:100vh;
}

/* IMAGE */
.carousel-item-1 img{
  width:100%;
  height:100%;
  object-fit:cover;
}
/* CENTER OVERLAY */
.slide-text{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
 
  padding:clamp(16px, 4vw, 60px);
}

/* CONTENT WRAPPER */
.slide-content{
  max-width:900px;
  margin-left:clamp(0px, 5vw, 120px);
  color:#fff;
}

/* RESPONSIVE HEADING */
.slide-content h1{
  font-weight:800;
  line-height:1.1;
  margin-bottom:clamp(12px, 2vw, 24px);
  font-size:clamp(24px, 5vw, 56px);
}

/* RESPONSIVE PARAGRAPH */
.slide-content p{
  font-weight:400;
  line-height:1.6;
  margin:0 auto;
  font-size:clamp(14px, 2.2vw, 20px);
   max-width:clamp(200px, 90vw, 720px);
  opacity:0.95;
}


/* LEFT MENU (BASE STYLE) */
.left-menu,
.ff-sub-menu{
  position:absolute;
  top:50%;
  left:30px;
  transform:translateY(-60%);
  z-index:10;
  /* color:#fff; */
}

.left-menu div,
.ff-sub-menu div{
  margin-bottom:14px;
  cursor:pointer;
  font-weight:600;
}

.left-menu div:hover,
.ff-sub-menu div:hover{
  text-decoration:underline;
}

/* FREIGHT NEXT ARROW */
.ff-next{
 
  z-index:11;
}











/* ================= MOBILE COLLAPSE SYSTEM ================= */
@media (max-width: 1024px){

 
 .back-tab{
      color:#ffffff;
      text-decoration: none !important;;
    }
 
 

  .left-menu,
  .ff-sub-menu{
    position:absolute;
    top:50%;
    left:0;
    z-index:1050;

    background:rgba(0, 0, 0, 1);
    backdrop-filter: blur(1px);
    padding:10px 12px 16px;
    transform:translateY(-50%) translateX(0);
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
  }

  /* COLLAPSED */
  .left-menu.collapsed,
  .ff-sub-menu.collapsed{
    transform:translateY(-50%) translateX(-100%);
  }



  /* HEADER (BACK + COLLAPSE BTN) */
  .menu-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:10px;
  }

  /* COLLAPSE BUTTON */
  .tab-collapse-btn{
    background:rgba(255,255,255,0.5);
    border:none;
    color:#fff;
    width:38px;
    height:38px;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    cursor:pointer;
  }

  /* KEEP BUTTON VISIBLE EVEN WHEN COLLAPSED */
  .left-menu.collapsed .tab-collapse-btn,
  .ff-sub-menu.collapsed .tab-collapse-btn{
    transform:translateX(125%);
  }

}






/* Centered content */
.whyus-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 20px;
}

.whyus-content h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
}

.whyus-content p {
  font-size: clamp(16px, 2vw, 20px);
}    