.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 50rem;
  border-radius: 10px 10px 0 0;
  margin-top: 150px;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-drag: none;
  user-select: none;
  pointer-events: none;
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  direction: rtl;
  text-shadow: -2px -2px 1px #20104b;
  color: white;
  text-align: center;
}

.slide-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white !important;
}

.slide-brief {
  font-size: 1.2rem;
  max-width: 40rem;
  margin-bottom: 2rem;
}

.slide-button {
  font-size: 1.2rem;
  background-color: #20104b;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  color: white;
  border: 3px solid #20104b;
  transition: all 0.3s ease;
}

.slide-button:hover {
  background-color: transparent;
  text-shadow: -2px -2px 1px #20104b;
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: #20104b;
  border: 1px solid #20104b;
  color: white;
  padding: 10px 17px;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#prevBtn {
  left: 10px;
}
#nextBtn {
  right: 10px;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .slider-container {
    height: 50rem;
    margin-top: 150px;
  }

  .slide-content {
    padding: 4rem 1rem;
  }

  .slide-title {
    font-size: 1.8rem;
  }

  .slide-brief {
    font-size: 1rem;
    max-width: 30rem;
  }

  .slide-button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 50rem;
    margin-top: 5rem;
    
  }

  .slide-title {
    font-size: 1.5rem;
  }

  .slide-brief {
    font-size: 0.95rem;
    max-width: 25rem;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 25rem;
  }

  .slide-title {
    font-size: 1.3rem;
  }

  .slide-brief {
    font-size: 0.9rem;
    max-width: 20rem;
  }

  .slide-button {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .nav-btn {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
}