.core-products{
  padding:80px 20px;
  background:#f7f7f7;
  text-align:center;
}

.section-title{
  font-size:36px;
  margin-bottom:10px;
}

.section-desc{
  max-width:700px;
  margin:auto;
  margin-bottom:40px;
  color:#666;
}

.slider-wrapper{
  position:relative;
  overflow:hidden;
}

.slider{
  display:flex;
  gap:20px;
  transition:transform 0.5s ease;
}

.slide{
  min-width:calc(20% - 16px);
  position:relative;
  border-radius:10px;
  overflow:hidden;
}

.slide img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

.title{
  position:absolute;
  bottom:0;
  width:100%;
  background:rgba(0,0,0,0.6);
  color:white;
  padding:10px;
  font-size:14px;
}

/* navigation buttons */

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  font-size:28px;
  width:57px;
  height:57px;
  cursor:pointer;
  box-shadow:0 2px 10px rgba(0,0,0,0.2);
  border-radius:50%;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* responsive */

@media(max-width:1000px){
  .slide{
    min-width:33.33%;
  }
}

@media(max-width:700px){
  .slide{
    min-width:50%;
  }
}

@media(max-width:500px){
  .slide{
    min-width:100%;
  }
}