body{
  margin: 0px;
  padding: 0px;
  height: 100vh;
  width: 100%;
  background-color: rgb(242, 242, 242);
}
a{
  color: black;
  text-decoration: none;
}
i{
  border: none;
}
.hero-section{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80vh;
  margin: 100px 50px;
  border-radius: 10px;
  box-shadow: 10px 10px 60px black;
  /*box-shadow: 5px 5px 15px rgba(0,0,0,0.3);*/
  background-image: url(../Images/hero-section.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.hero-right{
  width:500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-left{
  width: 600px;
  margin-left: 70px;
  font-style: italic;
}
.hero-image{
  width: 350px;
  min-width: 100px;
}
.hero-left h2{
  font-size: 40px;
}
.hero-lefth4{
  font-size: 40px;
}
.hero-left button{
  padding: 10px 20px;
  background-color: black;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 20px;
  margin:50px 10px;
  cursor: pointer;
  transition: all .2s linear;
  box-shadow: 5px 5px 15px gray;
}
.hero-left button:active{
  background-color: rgb(240, 240, 240);
  color: black;

}

.feature{
  margin: 50px 80px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  overflow-x: auto;
  column-gap: 15px;
}
.feature::-webkit-scrollbar{
  display: none;
}
.group{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: spin 60s infinite linear;
  padding-right: 260px;
}
@keyframes spin{
  from{translate: 0;}
  to {translate: -100%;}
}
.fe{
  flex: 0 0 10%;
  background-color:#ffff;
  height: 180px;
  padding: 10px;
  font-family: arial;
  border-radius: 10px;
  border: 1px solid gray;
}
.fe-image{
  width: 120px;
}
.fe h4{
  background-color: lightblue;
  padding: 5px 10px;
  border-radius: 5px;
}

.product-heading{
  text-align: center;
  box-shadow: 5px 5px 10px gray;
  padding: 20px 0px;
  font-size: 44px;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 40px;
  border-radius: 50px;
  margin-bottom: 40px;
}
.products-grid{
  display: grid;
  align-content: center;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 40px 60px;
  column-gap: 20px;
  row-gap: 60px;
}
.products{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 10px 10px 30px gray;
  border-radius: 10px;
  transition: box-shadow .1s ease;
  cursor: pointer;
  background-color: white;
  width: 250px;
  height: 480px;
  position: relative;
}
.product-image{
  width: 220px;
}
.products:hover{
  box-shadow: 5px 5px 15px gray;
  .product-name{
    color: rgb(37, 37, 37);
    text-decoration: underline;
  }
}
.dis-container{
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: rgb(0, 0, 0);
  width: 80px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
}
.dis-container-display{
  display: none;
}
.product-bottom{
  margin: 0px 20px;
  font-family: arial;
  position: relative;
}
.product-bottom i{
  font-size: 20px;
  color: white;
}
.product-bottom button{
  cursor: pointer;
  box-shadow: 5px 5px 10px gray;
  position: absolute;
  bottom: -5px;
  right: 5px;
  background-color: black;
  padding: 10px;
  border: none;
  border-radius: 50px;
  transition: box-shadow .1s linear;
}
.product-bottom button:hover{
  box-shadow: 3px 3px 7px gray;
}
.product-owner{
  font-size: 12px;
  color: gray;
  margin-bottom:0px;
}
.product-name{
  margin-top: 10px;
  font-size: 18px;
  transition: all .1s ease;
  line-height: 25px;
  margin-bottom:0px;
}
.product-name:active{
  color: gray;
}
.product-price{
  font-size: 20px;
  margin-top: 15px;
  font-weight: 700;
  margin-bottom: 0px;
  color: rgb(9 , 128 , 128);
}

.discount-price{
  margin: 10px 0px 10px 10px;
  color: red;
  text-decoration: line-through;
  font-size: 16px;
}


/* Wrapper */
.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Adjust as needed */
  margin: 20px auto;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Hide overflow globally */
}

.slider-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center; /* Center the track initially */
}

.slider-track {
  display: flex;
  align-items: center;
  gap: 20px; /* Space between slides */
  /* We will control transform via JS */
  cursor: pointer;
}

/* Slide Styles */
.slide {
  width: 180px;  /* Fixed Width */
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transform: scale(0.8);
  transition: all 0.1s linear; /* Smooth scaling */
  flex-shrink: 0; /* Prevent squishing */
  transform-origin: center center;
}

/* The Active Center Item */
.slide.active {
  opacity: 1;
  transform: scale(1.2);
  z-index: 10;
}

.slide img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid black;
  object-fit: cover;
  background: white;
}

.slide p {
  margin-top: 15px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

/* Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid black;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 20;
}
.prev-btn { left: 20px; }
.next-btn { right: 20px; }