* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 600px; /* Desktop height */
  overflow: hidden;
}

.banner-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents image distortion */
}

/* Text overlay wrapper */
.slide-content {
	position: absolute;
	bottom: 15%;
	left: 10%;
	color: #fff;
	z-index: 3;
	max-width: 500px;
	text-shadow: 1px 1px 2px rgba(0,0,0,1);
}

.slide-content h221 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.banner-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s;
}

.banner-btn:hover {
  background-color: #009
}

/* Dots Navigation */
.dots-container {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .banner-container {
    height: 400px; /* Shorter height for mobile screens */
	width: 100%;
  }

  .slide-content {
    left: 5%;
    right: 5%;
    bottom: 20%;
    text-align: center;
    max-width: 100%;
  }

  .slide-content h221 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 1rem;
  }
  
  .banner-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}


