
.back {
  background-color: white;
  padding: 0px 30px 30px;
}

.slider {
  position: relative;
  width: auto;
  max-width:100%;
  height: 600px;
  margin: auto;
  margin-top: 50px;
  border-radius: 20px;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  border-radius: 15px 15px 0 0;
  margin-top: 30px;
}

.slide {
  min-width: 100%;
  height: 100%;
  width:100%;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

.slide.active {
  pointer-events: auto;
}

.bottom-center {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  background: #fff;
  padding: 15px 20px;
  padding-bottom: 0;
  text-align: center;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  overflow: visible;
  border-radius: 20px 20px 0 0;
  transition:all 0.3s ease-in-out;
}

/* Outer radius using pseudo-elements */
.bottom-center::before,
.bottom-center::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 50px;
  height: 40px;
  background: #fff;
  border-radius: 0;
  z-index: -1;
}

.bottom-center::before {
  left: -30px;
  bottom: -10px;
  mask: radial-gradient(30px at top left, #0000 98%, #000);
}

.bottom-center::after {
  right: -30px;
  bottom: -10px;
  mask: radial-gradient(30px at top right, #0000 98%, #000);
}

.bottom-center h3 {
  margin: 5px 0;
  font-size: 18px;
  color: #333;
}

.bottom-center p {
  margin: 5px 0 10px;
  color: #666;
  font-size: 14px;
}

.indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #333;
}

.text_overlay {
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, 100px); 
  z-index: 10; 
  color: white;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
  padding: 20px;
}

.text_overlay h1 {
    color: white;
    font-size: 80px;
    font-family: 'Voga', serif;
    padding-top: 25px;
  }
  
  .text_overlay h2 {
    color: white;
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    font-weight: 200;
    font-size: 25px;
    letter-spacing: 1px;
}

@media(max-width:768px){
  .slider {
    width:95%;
    height:400px;
  }
  .slider{
    border-radius:10px;
  }
  .text_overlay {
    transform: translate(-50%, -60px);;
  }
}