

.hero-slider {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 80px 0; /* remove left/right padding */
  width: 100%;
}

.hero-slider .container {
  max-width: 1340px; /* limit content */
  margin: 0 auto;    /* center */
  padding: 20px;   /* small side padding for mobile */
}


.slides {
  position: relative;
}

.slide {
  display: none;
  animation: fade 1s;
}

.slide.active {
  display: block;
}

.slide-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hero-slider .container {
  max-width: 1340px; /* limit content */
  margin: 0px;    /* center */
  padding: 30px;   /* small side padding for mobile */
}




.slide-text {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.slide-text span {
  color: #6e7ff3;
  margin-bottom: 10px;
  display: inline-block;  /* or block */
}


.slide-text h2 {
  font-size: 36px;
  margin-bottom: 15px;
}
.slide-text h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.slide-text p {
  font-size: 16px;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #2962ff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.slide-image {
  flex: 1;
  text-align: center;
}

.slide-image img {
  max-width: 500px;
  border-radius: 50%;
  border: 3px solid #444;
}

/* Controls */
.controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.controls span {
  cursor: pointer;
  font-size: 24px;
  margin: 0 10px;
  user-select: none;
}

/* Dots */
.dots {
  text-align: center;
  margin-top: 15px;
}

.dots span {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: #666;
  border-radius: 50%;
  display: inline-block;
}

.dots span.active {
  background: #2962ff;
}

/* Fade Animation */
@keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}

@media(max-width:786px){
.slide-image {
  padding-top:30px !important;
  flex: 1;
  text-align: center;
}
.slide-image img {
  max-width: 280px;
  }
}