/* --- Banner Carousel Main Container --- */
.kti-banner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Example gradient background from the image. You can adjust this globally. */
  background: linear-gradient(135deg, #ddeeed 0%, #fef0e5 100%);
  padding-bottom: 4rem;
  /* Added padding to make room for dots */
}

/* --- The sliding track --- */
.kti-banner-carousel__track {
  display: flex;
  width: 100%;
  /* The JS will transform this left and right */
  transition: transform 0.5s ease-in-out;
}

/* --- Individual Slide Layout --- */
.kti-banner-slide {
  flex: 0 0 100%;
  /* Forces every slide to be exactly the width of the container */
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.kti-banner-slide-content {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  gap: 40px;
  /* Space between text and image */
}

/* --- Columns --- */
.kti-banner-text-column,
.kti-banner-image-column {
  flex: 1;
  /* Two columns, each 50% */
}

/* --- Text Column Styling --- */
.kti-banner-text-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kti-banner-title {
  font-family: helvetica;
  color: #003361;
  font-weight: 700;
  font-size: 40px;
  line-height: 117%;
  margin: 0 0 20px 0;
  width: 70%;
}

.kti-banner-description {
  font-family: helvetica;
  color: #2d2d2de5;
  /* Neutral grey from image */
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  width: 70%;
}

.kti-banner-button-wrap {
  margin-top: 10px;
}

/* --- Button Styling (Uses common class .btn-primary) --- */
.btn-primary.kti-inquiry-btn {
  background-color: #009a17;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: inline-block;
  padding: 12px 44px;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.btn-primary.kti-inquiry-btn:hover {
  background-color: #007a1d;
  color: white;
  transform: translateY(-2px);
}

/* --- Image Column Styling --- */
.kti-banner-image-column {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.kti-banner-image-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.kti-banner-slide .kti-banner-slide-content .kti-banner-image {
  display: block;
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

/* --- Carousel Navigation Custom Arrows --- */
.kti-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #333333;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
}

.kti-carousel-arrow:hover {
  background-color: rgba(255, 255, 255, 1);
}

.kti-carousel-prev {
  left: 20px;
}

.kti-carousel-next {
  right: 20px;
}

/* --- Custom Pagination Dots --- */
.kti-carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: absolute;
  bottom: 5px;
  /* Positions it nicely at the bottom of the widget */
  width: 100%;
}

.kti-carousel-dot {
  background: #cccccc;
  /* Light grey from your design */
  border: none;
  padding: 0;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.kti-carousel-dot.active {
  background: #009a17 !important;
  /* Exact KTI green */
  transform: scale(1.3);
  /* Subtle pop effect */
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .kti-banner-slide-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .kti-banner-title {
    font-size: 28px;
    width: 100%;
  }

  .kti-banner-description {
    width: 100%;
  }

  .kti-banner-image-column {
    order: -1;
  }
}

@media (max-width: 768px) {

  .kti-banner-title {
    font-size: 28px;
  }

  .kti-banner-description {
    font-size: 14px;
  }

  .btn-primary.kti-inquiry-btn {
    font-size: 14px;
  }
}


@media (max-width: 640px) {

  .kti-banner-slide .kti-banner-slide-content .kti-banner-image {
    height: 11rem;
  }

}