* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  padding: 40px 0;
}
.main-wrapper {
  max-width: 1200px;
/*   height: 600px; */
	height: 483px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
.background-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  border-radius: 12px;
  transition: background-image 0.5s ease-in-out;
  animation: zoomPan 20s ease-in-out infinite alternate;
}
@keyframes zoomPan {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-2%, -2%); }
}
.slider-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.slide {
  position: relative;
  overflow: visible;
  cursor: pointer;
  transition: all 1s ease;
  z-index: 1;
  width: 25%;
  height: 100%;
  background-color: transparent;
}
.slide::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(173, 139, 58, 0.3), rgba(173, 139, 58, 0));
  backdrop-filter: blur(12px);
  border-radius: 20px;
  transform: scaleY(-1);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  transition: all 0.5s ease;
}
.slide:hover::after,
.slide.active::after {
  opacity: 0.4;
  filter: blur(14px);
}
.slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
/*   padding: 20px 30px; */
  color: black;
	width: 206px;
}
.slide-content h2 { font-size: 2rem; margin-bottom: 10px; }
.slide-content p { font-size: 1rem; line-height: 1.4; color:black;}
.slide.active { background-color: white; opacity: 0.7; }
.slide.active .slide-content { opacity: 1; }
@media (max-width: 768px) {
	.main-wrapper{
		height: 478px !important;
	}
  .background-preview { display: none; }
  .slide { width: 100%;
	height: 478px !important;}
  .slide.active { background: rgba(255, 255, 255, 0.75); opacity: 1; }
  .slide img { opacity: 1; border-radius: 12px; height:100% }
  .slide-content {
    position: absolute;
    bottom: 20px;
    top: auto;
    transform: translateX(-50%);
    left: 50%;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.75);
    padding: 15px;
    border-radius: 8px;
    width: 90%;
	  
  }
  .slide-content h2 { font-size: 1.4rem; }
  .slide-content p { font-size: 0.9rem; }
	
	.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 100%;
}
}
