.rev-slider {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 1s ease;
  opacity: 0;
  z-index: 1;
  text-align: center;
}

.slide.active {
  left: 0;
  opacity: 1;
  z-index: 2;
}

.caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out forwards;
}

.caption h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-align: center;
  color: black;
}


.caption h3 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-align: center;
  color: white;
}


.caption p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
  color: black
}

.slide-btn { 
  display: inline-block;
  background: #3498db;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.slider-dots {
  text-align: center;
  position: absolute;
  bottom: 25px;
  width: 100%;
  z-index: 5;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot:hover,
.dot.active-dot {
  background: #3498db;
}



.slide-btn:hover {
  background: #2980b9;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
   

}

/* Responsive */
@media (max-width: 768px) {
  .rev-slider {
    height: 400px;
  }

  .caption h2 {
    font-size: 2rem;
  }

  .caption p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .rev-slider {
    height: 300px;
  }

  .caption {
    bottom: 15%;
    left: 5%;
  }

  .caption h2 {
    font-size: 1.5rem;
  }

.caption h3 {
  font-size: 1.5rem;
  
}


  .caption p {
    font-size: 0.9rem;
  }

  .slide-btn {
    padding: 10px 20px;
  }
  
}

