
.slide-container {
    position: relative;
    width: 80%;
    height: 70vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
}

.hidden-left {
    transform: translateX(-100%);
    opacity: 0;
}

.hidden-right {
    transform: translateX(100%);
    opacity: 0;
}

.active {
    transform: translateX(0);
    opacity: 1;
}

 .carousel-container {
     overflow: hidden;
 }
.carousel-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
}
.carousel-item {
    flex: 0 0 25%; /* One item per view */
}

 .parallax-container {
     overflow: hidden;
     position: relative;
     border-radius: 10px;
 }
.parallax-image {
    transition: transform 1.2s ease-in-out;
}
.parallax-container:hover .parallax-image {
    transform: scale(1.1);
}

 .carousel2-container {
     overflow: hidden;
 }
.carousel2-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
}
.carousel2-item {
    flex: 0 0 16.0%; /* 100% / 6 items per view */
    position: relative;
}
.product-image {
    transition: opacity 0.3s ease-in-out;
}
.product-image.second {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.carousel2-item:hover .product-image.first {
    opacity: 0;
}
.carousel2-item:hover .product-image.second {
    opacity: 1;
}
.btn-options {
    transition: all 0.3s ease-in-out;
}
.carousel2-item:hover .btn-options {
    background-color: red;
    color: white;
}

 .carousel3-container {
     overflow: hidden;
 }
.carousel3-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
}
.carousel3-item {
    flex: 0 0 16.0%; /* 100% / 6 items per view */
    position: relative;
}
.product-image {
    transition: opacity 0.3s ease-in-out;
}
.product-image.second {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.carousel3-item:hover .product-image.first {
    opacity: 0;
}
.carousel3-item:hover .product-image.second {
    opacity: 1;
}
.btn-options {
    transition: all 0.3s ease-in-out;
}
.carousel3-item:hover .btn-options {
    background-color: red;
    color: white;
}

 .carousel4-container {
     overflow: hidden;
 }
.carousel4-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
}
.carousel4-item {
    flex: 0 0 14.2857%; /* 100% / 7 items per view */
    text-align: center;
    position: relative;
}
.category-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: auto;
}
.category-text {
    transition: color 0.3s ease-in-out;
}
.carousel4-item:hover .category-text {
    color: red;
}
.category-items {
    transition: all 0.3s ease-in-out;
}
.carousel4-item:hover .category-items {
    color: red;
    font-weight: bold;
}

.carousel5-container {
    overflow: hidden;
}
.carousel5-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
}
.carousel5-item {
    flex: 0 0 14.2857%; /* 100% / 7 items per view */
    text-align: center;
    position: relative;
}
.category5-image {
    object-fit: cover;
    margin: auto;
}
.category5-text {
    transition: color 0.3s ease-in-out;
}
.carousel5-item:hover .category-text5 {
    color: red;
}
.category5-items {
    transition: all 0.3s ease-in-out;
}
.carousel5-item:hover .category-items5 {
    color: red;
    font-weight: bold;
}

.brand-slider {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background-color: #fff;
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: scroll-left 180s linear infinite;
}

.brand-track a {
  display: inline-block;
  flex-shrink: 0;
}

.brand-track img {
  height: 100px;
  max-height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-slider2 {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background-color: #fff;
}

.brand-track2 {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: scroll-right 180s linear infinite;
}

.brand-track2 a {
    display: inline-block;
    flex-shrink: 0;
}

.brand-track2 img {
    height: 100px;
    max-height: 120px;
    width: auto;
    display: block;
    object-fit: contain;
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}