* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    
}


.nav-top {
    background-color: #0074bc;
}


.logo {
    width: 150px;
    height: auto;
    margin-right: 50px;
}

.logo img {
    width: 100%;
    height: 100%;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1020; /* Ensures it stays above other content */
    background-color: white; /* Ensure visibility */
}

.nav-item {
    margin-right: 10px;
}

.nav-item::after {
    content: '';
    display: block;
    width: 0px;
    height: 2px;
    background: #0073bd;
    transition: 1s all;
}
.nav-item:hover::after {
    width: 100%;
}


.nav-link {
    font-weight: 500 !important;
}

.dropdown-item:focus, 
.dropdown-item:active {
    background-color: #0074bc !important; /* Change to any color */
    color: white !important;
}




.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: var(--bs-offcanvas-zindex);
    display: flex;
    flex-direction: column;
    max-width: 75% !important;
    color: var(--bs-offcanvas-color);
    visibility: hidden;
    background-color: var(--bs-offcanvas-bg);
    background-clip: padding-box;
    outline: 0;
    transition: var(--bs-offcanvas-transition);
}

/* Ensure the offcanvas menu is scrollable */
.offcanvas-body {
    overflow-y: auto;
    max-height: 100vh;
}

/* Fix dropdown inside offcanvas */
.offcanvas .dropdown-menu {
    position: relative !important;  /* Forces dropdown to stay within offcanvas */
    width: 100%;  /* Ensures dropdown takes full width */
    transform: none !important;  /* Prevents Bootstrap's default positioning */
    overflow-y: auto;  /* Allows scrolling inside dropdown if too many items */
    max-height: 250px;  /* Limits dropdown height to allow scrolling */
}

/* Ensure the parent element can handle scrolling */
.offcanvas .nav-item {
    position: relative;
}


.main-bg {
    background-image: url(../images1/grahame-jenkins-p7tai9P7H-s-unsplash.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    height: 700px;

}


.main-bg::after {
    background-image: linear-gradient(rgba(0, 0, 0, 1.7), rgba(0, 0, 0, 6.3));
    content: "";
    position: absolute;
    opacity: 0.5;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}



.products-gallery {
    padding: 100px 80px;
}




.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
  }



  /* ABOUT */

  #about {
    padding: 100px 80px;
  }


  

  .about-image {
    width: 100%;
    height: auto;
  }


  /* .CarShine {
    position: relative;
    overflow: hidden;
}

  .CarShine::before {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    content: "";
    display: block;
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transform: skewX(-25deg);
    width: 50%;
    z-index: 2;
} */


.CarShine {
  position: relative;
  /* width: 250px;
  height: 100px; */
  overflow: hidden;
}

.CarShine img {
  width: 100%;
}

.CarShine:before {
  content: '';
  position: absolute;
  top: 0;
  left: -150px; /* Start outside */
  width: 100px;
  height: 100%;
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: skewX(-30deg);
  opacity: 0; /* Initially hidden */
}

@keyframes slide {
  0% {
    left: -150px;
    opacity: 1;
  }
  100% {
    left: 300px;
    opacity: 0;
  }
}

/* Add animation dynamically */
.CarShine.shine-active:before {
  animation: slide 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}





  .about-image img {
    width: 100%;
    height: 100%;
    padding: 20px;
  }
  .about-text {
    padding: 20px;
  }
  .about-text p {
    text-align: justify;
  }



  /* footer */

  footer {
    background-color: #0074bc;
    color: white;
    text-align: center;
    padding: 40px 20px 0px 20px;
    
  }

  footer p {
    margin-top: 20px;
    margin-bottom: 0;
  }

  .nav-links {
    display: flex;
    justify-content: space-around;
  }


  .quick-links {
    display: flex;
    align-items: start;
    flex-direction: column;
  }


  .nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-links ul a {
    color: white;
    text-decoration: none;
  }

  

  .bx {
    font-size: 20px;
    color: white !important;

  }

  ul li {
    margin-bottom: 5px;
  }

  .support h5 {
    text-align: left;
  }

 

  .contact-support {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .connect h5 {
    margin-top: 20px;
    text-align: left;
  }


  .link h5 {
    text-align: left;
  }


  /* CONTACT FORM */


  .contact {
    padding: 100px 80px;
  }

  .contact-form {
    width: 50%;
    margin: 0 auto;
    /* border: 1px solid black; */
    border-radius: 10px;
    padding: 10px;
  }

  input[type="text"] {
    border-radius: 30px;
    padding: 10px 14px; 
  }

  textarea {
    border-radius: 30px !important;
    padding: 10px 14px !important; 
    resize: none !important;
  }


  .submit-btn {
    background-color: #0074bc;
    border-radius: 30px !important;
    color: white !important;
    padding: 12px 20px !important;
    text-align: center;
  }


  /* PRODUCTS */
 

  .products-bg {
    background: url(../images1/CLARIONPREMIUM.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
  }
 

  .all-products {
    /* margin-top: 20px; */
    padding: 100px 80px;
  }
  

  .products {
    border: 1px solid lightgray;
    /* border-radius: 20px; */
    padding: 10px;
    display: flex;
    gap: 10px;
  }

  .product-card {
    
  }
 
 
  .product-heading {
    /* background-color: #0073bd; */
    /* color: white; */
    padding: 20px;
  }

  .product-heading::after {
    content: '';
    display: block;
    width: 0px;
    height: 2px;
    background: #0073bd;  
  }

  /* .product-img {
    width: 500px;
    height: auto;

      overflow: hidden;
  } */

  .product-img {
    width: 350px;
    height: auto;
    position: relative;
    overflow: hidden;
}
  

.img-2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.product-img:hover .img-2 {

  transition: all .9s;
  z-index: 1;

}


.product-img:hover .img-2 {
  transform: scale(1.1, 1.1);
  transition: all 1s;
}

.product-img:hover .img-1 {
  transform: scale(1.1, 1.1);
}


.img-1 {
  transition: all 1s;
}


  .product-img img {
    width: 100%;
    height: auto;
    /* transition: ease-in-out 1s; */

  }

  .product-img {
    overflow: hidden;
    /* width: 691px;
    height: 337px; */
}

.product-img img {
    width: 100%;
    height: auto;
    transition: all 1s;
}


.product-img img:hover {
    transform: scale(1.1, 1.1);
}


@media screen and (max-width: 767px) {
    .logo {
        width: 100px;
        height: auto;
    }

    .main-bg {
        background-image: url(../images1/grahame-jenkins-p7tai9P7H-s-unsplash.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        position: relative;
        height: 200px;
        width: 100%;
    }


    .nav-item::after {
        content: none;
        display: none;
        
    }
    /* .nav-item:hover::after {
        width: 30%;
    } */

    .products-gallery {
        padding: 40px 20px;
    }
    .swiper-slide img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .swiper-button-prev::after {
        font-size: 28px !important;
    }

    .swiper-button-next::after {
        font-size: 28px !important;
    }


    #about {
        padding: 40px 20px;
    }

    .about-content {
        display: flex;
        flex-direction: column;
    }

    .nav-links {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        gap: 20px;
    }

    .quick-links {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .support h5 {
        text-align: center;
    }

    .link h5 {
        text-align: center;
    }

      .contact-support {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    iframe {
        border: 0;
        width: 100%;
        height: auto;
    }

    .socials {
        justify-content: center;
        gap: 8px !important;
    }

    .socials a {
      text-decoration: none;
      color: white !important;
    }

   



    .contact {
      padding: 40px 20px;
  }
    .contact-form {
      width: 100%;
      margin: 0 auto;
      /* border: 1px solid black; */
      border-radius: 10px;
      padding: 10px;
  }



  /* ALL PRODUCTS */





.products-bg {
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 200px;
        width: 100%;
    }

  .all-products {
    /* margin-top: 20px; */
    padding: 40px 20px;
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1* var(--bs-gutter-y));
  margin-right: calc(-.5* var(--bs-gutter-x));
  margin-left: calc(-.5* var(--bs-gutter-x));
  gap: 10px !important;
}

.products {
  border: 1px solid lightgray;
  /* border-radius: 20px; */
  padding: 10px;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.product-img {
  width: 100%;
  height: auto;
}

.product-desc {
  text-align: justify;
}

    
}