/* === Slider Styling === */
.main-slider {
  position: relative;
  overflow: hidden;
}

.carousel-inner > .item > img {
  width: 100%;
  height: 600px; /* Adjust height as needed */
  object-fit: cover;
}

/* === Text Positioning === */
.carousel-caption {
  position: absolute;
  top: 55%;
  left: 10%;
  transform: translateY(-50%);
  text-align: left;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 1000px;
}

@media (max-width: 991px) {
	.carousel-caption {
  position: absolute;
  top: 40%;
  left: 10%;
  transform: translateY(-50%);
  text-align: left;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 1000px;
}

}

.carousel-caption h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.carousel-caption p {
  font-size: 18px;
  color: #eee;
  margin-bottom: 20px;
}

.carousel-caption .btn {
  font-size: 16px;
  padding: 10px 25px;
  border-radius: 25px;
}

/* === Optional: Controls & Indicators === */
.carousel-control.left,
.carousel-control.right {
  background-image: none;
  color: #fff;
  font-size: 40px;
}

.carousel-indicators li {
  background-color: #999;
}

.carousel-indicators .active {
  background-color: #fff;
}