/********** Template CSS **********/
html, body {
  overflow-x: hidden;
}

:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

.ash-btn {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.ash-btn:hover {
    background-color: #DC3545 !important;
    border-color: #DC3545 !important;
    color: #fff !important;
}



/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}



.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

body {
    padding-top: 75px;
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: 0;
    transition: top 0.5s;
}


@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .65);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


.fact {
  position: relative;
  overflow: hidden;
  background: none !important;
}

.fact-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.7) 100%
);
  z-index: 1;
}

.fact .container {
  position: relative;
  z-index: 2;
}



/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-bg-2.jpg) center center no-repeat;
    background-size: cover;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}

/*** Testimonial ***/
/* Container layout */
.bg-primary.bg-opacity-75 {
  padding: 0.75rem 1.25rem !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden !important;
  position: relative;
}

/* Title */
h1.text-white {
  font-size: 1.75rem;
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}

/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9)), url(../img/carousel-bg-1.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* === Video Carousel === */
.video-carousel {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

/* Background video fills container */
.video-carousel .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Black overlay */
.video-carousel .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.725) 55%,
    #000 100%
  );
  z-index: 1;
}


/* Center the caption text properly */
.video-carousel .carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Truck image styling */
.truck-image {
  transform: scale(1.2);
  transform-origin: center;
  max-width: 450px;
}


 /* Team item container */
.team-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-img-wrapper {
  position: relative;
  overflow: visible;
}

.team-img-wrapper img {
  width: 100%;
  max-width: 80px;
  opacity: 0.9;
  transform: scale(1);
  border-radius: 12px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center center;
  z-index: 2;
}

/* Shimmer only on active item */
.team-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  opacity: 0;
  animation: shineMove 3s forwards;
  pointer-events: none;
  z-index: 1;
}

/* Active image enlargement */
.team-item.active img {
  animation: enlargeItem 3s forwards;
}

/* Keyframes */
@keyframes enlargeItem {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes shineMove {
  0% { left: -75%; opacity: 0; }
  50% { left: 50%; opacity: 1; }
  100% { left: 125%; opacity: 0; }
}

/* Responsive */
@media (max-width: 991.98px) { .team-img-wrapper img { max-width: 60px; } }
@media (max-width: 575.98px) { .team-img-wrapper img { max-width: 50px; } }

  .back-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-62.5%, -95%);
  width: 400px;
  height: 300px;
  object-fit: contain;
  z-index: 0;
  opacity: 0.4;
}

.truck-image {
  position: relative;
  z-index: 1;
}


.feature-list h6 {
  color: #0B2154;
  display: inline-block;
  transform-origin: left center;
  margin: 0;
}

.feature-list .ps-3 span {
  display: block;
  margin-top: 0.25rem;
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes titlePulse {
  0%, 100% {
    transform: scale(1);
    color: #0B2154;
    text-shadow: none;
  }
  10%, 20% {
    transform: scale(1.12);
    color: #d12b2b;
  }
  25% {
    transform: scale(1);
    color: #0B2154;
    text-shadow: none;
  }
}

@keyframes iconShine {
  0%, 100% {
    transform: scale(1);
    color: #0B2154;
    filter: none;
  }
  10%, 20% {
    transform: scale(1.15);
    color: #d12b2b;
    filter: brightness(1.15);
  }
  25% {
    transform: scale(1);
    color: #0B2154;
    filter: none;
  }
}

.feature-list h6 {
  animation: titlePulse 12s infinite;
  animation-fill-mode: both;
}

.feature-list .icon-box i,
.feature-list .icon-box img {
  animation: iconShine 12s infinite;
  animation-fill-mode: both;
  display: inline-block;
}

.feature-list .col-12:nth-child(1) h6,
.feature-list .col-12:nth-child(1) .icon-box i {
  animation-delay: 0s;
}

.feature-list .col-12:nth-child(2) h6,
.feature-list .col-12:nth-child(2) .icon-box i {
  animation-delay: 4s;
}

.feature-list .col-12:nth-child(3) h6,
.feature-list .col-12:nth-child(3) .icon-box i {
  animation-delay: 8s;
}

@media (prefers-reduced-motion: reduce) {
  .feature-list h6,
  .feature-list .icon-box i,
  .feature-list .icon-box img {
    animation: none !important;
    transform: none !important;
    text-shadow: none !important;
  }
}


.nav-pills .nav-link {
  padding: 0.5rem 1rem; 
  margin-bottom: 0.4rem !important;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.nav-pills .nav-link i {
  font-size: 1.3rem;
  margin-right: 0.6rem;
}

.nav-pills .nav-link h4 {
  font-size: 1rem;
  margin: 0;
}

.nav-pills .nav-link.active {
  background-color: #d12b2b;
  color: #fff;
}

.nav-pills .nav-link:not(.active):hover {
  background-color: rgba(209, 43, 43, 0.1);
}


.video-wrapper {
  overflow: hidden;
  border-radius: 12px;
}

.video-wrapper video {
  object-fit: cover;
  filter: brightness(0.9);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.service-pane {
        display: flex;
        align-items: center;
        min-height: 500px;
        height: 500px;
      }

      .service-image {
        flex: 1;
        height: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .service-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .service-text {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      @media (max-width: 768px) {
        .service-pane {
          flex-direction: column;
          height: auto;
        }
        .service-text {
          padding-top: 20px;
        }
      }

.client-img {
  width: 175px;
  height: 175px;
  object-fit: cover;
  background-color: white;
  padding: 5px;
  transition: transform 0.3s ease;
}

.client-img:hover {
  transform: scale(1);
}

.testimonial-text {
  display: none !important;
}

.testimonial-carousel .testimonial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
    .mobile-small-text {
        font-size: 12px !important;
    }
    .mobile-small-heading {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    .mobile-small-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
    .mobile-image {
        max-width: 70%;
        height: auto;
    }
}


@media (max-width: 991.98px) {
    .left-team-row,
    .right-team-row {
        display: flex !important;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
        overflow: visible;
    }

    .left-team-row .team-item,
    .right-team-row .team-item {
        flex: 1 1 auto;
        max-width: 18%;
        text-align: center;
    }

    .team-img {
        max-width: 100%;
        height: auto;
    }

     #about h6.text-primary {
        font-size: 0.75rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}



@media (max-width: 991.98px) {
    .col-lg-6 > .row.g-4 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
        overflow-x: hidden;
    }

    .col-lg-6 > .row.g-4 > .col-md-4 {
        flex: 1 1 0;
        max-width: 33%;
        min-width: 0;
    }

    .col-lg-6 > .row.g-4 > .col-md-4 .d-flex {
        padding: 1rem 0.5rem;
        flex-direction: column;
        align-items: center;
    }

    .col-lg-6 > .row.g-4 > .col-md-4 i.fa {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }

    .col-lg-6 > .row.g-4 > .col-md-4 h5 {
        font-size: 0.85rem;
        margin-bottom: 0;
        text-align: center;
    }
}

@media (max-width: 991.98px) {

    .col-lg-6 > .row.g-4 > .col-md-4.bg-light,
    .col-lg-6 > .row.g-4 > .col-md-4 > .d-flex.bg-light {
        background-color: transparent !important;
    }
}


@media (max-width: 991.98px) {

    .col-lg-6 > .row.g-4 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .col-lg-6 > .row.g-4 > .col-md-4 .d-flex {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}
@media (max-width: 991.98px) {

    #abro .col-lg-6.py-3 .text-center {
        text-align: start !important;
    }

    #abro .col-lg-6.py-3 .d-flex.align-items-center {
        justify-content: flex-start !important;
        flex-direction: row;
        gap: 20px;
    }

    #abro .col-lg-6.py-3 hr:first-of-type {
        display: none;
    }

    #abro .col-lg-6.py-3 p {
        font-size: 0.95rem !important;
    }

    #abro .owl-carousel.testimonial-carousel {
        overflow-x: hidden;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    #abro .owl-carousel.testimonial-carousel .owl-item {
        display: flex;
        flex-direction: column; 
        align-items: flex-start;
        justify-content: flex-start;
        margin-right: 75px !important; 
        margin-bottom: 0 !important; 
    }

    #abro .testimonial-item {
        width: auto;
        text-align: left;
    }

    #abro .testimonial-item img.client-img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        display: block;
        margin-bottom: 0.25rem !important; 
    }

    #abro .testimonial-item h5 {
        font-size: 0.7rem;
        margin-bottom: 0 !important;
    }

     #abro .col-lg-6 .bg-primary h1 {
      margin-bottom: 1rem !important; 
      margin-top: 0.5rem !important; 
  }

   #abro .col-lg-6 .bg-primary {
    min-height: 175px !important; 
    max-height: 175px !important;
    height: 175px !important;
    padding: 0rem !important; 
    box-sizing: border-box;

}
    #abro .col-lg-6 .flex-grow-1 {
        align-items: center;
    }
}

@media (max-width: 991.98px) {
  .feature-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px; 
  }

  .feature-list .col-12 {
    display: flex !important; 
    flex: 1 1 auto;
  }

  .feature-list .d-flex {
    flex-direction: row; 
  }

  .feature-list .icon-box {
    min-width: 45px;
    min-height: 45px;
  }

  .feature-list h6 {
    font-size: 16px;
  }

  .feature-list span {
    font-size: 14px;
  }
}

@media (max-width: 991.98px) {
  .col-lg-6 .btn {
    margin-top: 20px; 
  }
}

@media (max-width: 991.98px) {
  .team-img-wrapper {
    margin-bottom: 5px; 
  }

  .team-img {
    object-fit: contain !important;  
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    transition: transform 0.3s ease; 
  }

  .team-item:hover .team-img,
  .team-item.animate .team-img {
    transform: scale(1.1); 
  }

  .team-img-wrapper img[alt="Client 9"] {
     object-fit: contain !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
     border-radius: 0 !important; 
    overflow: visible !important; 
  }
}

@media (max-width: 991.98px) {

  .feature-list h6 {
    animation: none !important;
    transform: none !important; 
    color: #0B2154 !important;  
    text-shadow: none !important;
  }

  .feature-list .icon-box i,
  .feature-list .icon-box img {
    animation: none !important;
    transform: none !important;
    color: #0B2154 !important;
    filter: none !important;
  }
}

.owl-prev-custom,
.owl-next-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
}

.owl-prev-custom {
  left: -40px; 
}

.owl-next-custom {
  right: -40px; 
}


.blended-image {
  mix-blend-mode: lighten; 
}


.counter-percent::after {
  content: "%";
}

.counter-ten::after {
  content: "/10";
}

@media (max-width: 767px) {

  #ash .img-info-block {
    order: 3 !important;
    margin-top: 20px;
  }

  #ash .address-contact-wrap {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  #ash .btn.btn-primary {
    white-space: normal !important;
    width: 100% !important;
  }

  #ash .contact-text {
    width: 100% !important;
    font-size: 14px !important;
    text-align: left !important;
  }

  #ash .row.g-4 > div {
    width: 100% !important;
  }

  #ash img {
    mask: none !important;
    -webkit-mask: none !important;
    width: 100% !important;
  }

    #ash {
        overflow: visible !important;
    }

    #ash .col-lg-6.pt-4 {
        height: auto !important;
        min-height: auto !important;
    }


    #ash .row.g-4 {
        display: block !important;
    }


    #ash .row.g-4 > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 15px !important; 
    }

    #ash .team-item {
        height: auto !important;
        overflow: visible !important;
    }

    #ash .team-item .bg-light {
        width: 100% !important;
        border-radius: 10px;
        padding: 18px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #ash .team-item h5 {
        width: 100%;
        text-align: center;
        margin-top: 8px;
        font-size: 15px;
    }

    #ash .team-item small i {
        font-size: 22px !important;
    }

    #ash .position-relative[style*="border-radius"] {
        border-radius: 0 !important;
    }

    #ash .position-relative img {
        border-radius: 0 !important;
    }
}
