/**
 * Banner Carousel CSS
 * Author: Faysal
 */

/* Container */
.banner-carousel-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 360px;
  margin: 0 auto;
  overflow: hidden;
}

.banner-carousel-container .swiper,
.banner-carousel-container .swiper-wrapper,
.banner-carousel-container .swiper-slide {
  height: 100%;
}

/* Slide Card */
.banner-slide-card {
  position: relative;
  display: flex !important;
  height: 100%;
  width: 100%;
  text-decoration: none !important;
  color: inherit;
  overflow: hidden;
}

.banner-slide-card:hover {
  text-decoration: none;
}

/* Slide Inner */
.banner-slide-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* Left Text Area */
.banner-left {
  width: 600px;
  flex: 0 0 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  gap: 15px;
}

.banner-title {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
}

.banner-content {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.banner-content p:last-child {
  margin-bottom: 0;
}

/* Button */
.banner-button-wrap {
  margin-top: 10px;
}

.banner-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 2px solid currentColor;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.banner-button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

/* Right Image Area */
.banner-right {
  width: 300px;
  height: 300px;
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-right img {
  width: 300px;
  height: 300px;
  display: block;
  object-fit: cover;
}

/* Navigation */
.banner-carousel-container .swiper-button-prev,
.banner-carousel-container .swiper-button-next {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-carousel-container .swiper-button-prev:hover,
.banner-carousel-container .swiper-button-next:hover {
  background: #fff;
  transform: scale(1.1);
}

.banner-carousel-container .swiper-button-prev::after,
.banner-carousel-container .swiper-button-next::after {
  font-size: 18px;
  font-weight: 900;
}

.banner-carousel-container .swiper-button-disabled {
  opacity: 0.4;
}

.banner-carousel-container .swiper-button-prev {
  left: 15px;
}

.banner-carousel-container .swiper-button-next {
  right: 15px;
}

/* Pagination */
.banner-carousel-container .swiper-pagination {
  bottom: 20px;
}

.banner-carousel-container .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 5px;
}

.banner-carousel-container .swiper-pagination-bullet-active {
  background: #fff;
  width: 30px;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 767px) {
  .banner-carousel-container {
    height: auto !important;
  }
  
  .banner-slide-inner {
    flex-direction: column;
  }
  
  .banner-left {
    width: 100% !important;
    flex: 1 1 auto !important;
    order: 2;
  }
  
  .banner-right {
    width: 100% !important;
    flex: 0 0 250px !important;
    height: 250px !important;
    order: 1;
  }
  
  .banner-right img {
    width: 250px !important;
    height: 250px !important;
  }
}