/* BEGIN Promotional Carousel Variant */
.mw-promotion-carousel {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1680px;
}

.mw-promo-cards-container {
    position: relative;
    width: 100%;
    padding-bottom: 8px;
    overflow: hidden;
}

/* Promotional Card Styles */
.mw-promotion-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: white;
}

.mw-picture-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.mw-image {
    width: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

/* Content Area */
.mw-content {
    padding: 20px 50px 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.mw-text-wrapper {
    margin-bottom: 15px;
    width: 450px;
}

.mw-title {
    font-size: 50px;
    margin-bottom: 10px;
    color: var(--primary-green);
    font-weight: bold;
}

.mw-body-text {
    font-size: 16px;
    line-height: 1.5;
    font-weight: bold;
}

/* Button Styles */
.mw-button-group {
    margin-top: 15px;
}

.mw-link-btn {
    background: var(--primary-green);
    color: white;
    font-family: Helvetica, Arial, sans-serif;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: 40px;
    align-self: center;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.mw-link-btn:hover {
    background: #02313A;
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .mw-image { height: 400px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .mw-image { height: 512px; }
}

@media (max-width: 767px) {
    .mw-image { height: 575px; }
}

/* END Promotional Carousel Variant */


/* BEGIN IMAGES  Carousel Variant */
.images-carousel {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.images-swiper {
    position: relative;
    overflow: hidden;
}

.images-swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.images-swiper-slide {
    flex: 0 0 calc(100% / var(--cards-showing, 5));
    padding: 10px;
}

.images-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
   /* cursor: pointer; */
}

.images-card:hover {
   /* transform: translateY(-5px); */
/*    box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
}

.images-card img {
    width: 100%;
    height: auto;
    display: block;
}

.images-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.images-lightbox.active {
    display: flex;
}

.images-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.images-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.images-lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 1200px) {
    .images-swiper-wrapper { --cards-showing: 4; }
}

@media (max-width: 992px) {
    .images-swiper-wrapper { --cards-showing: 3; }
}

@media (max-width: 768px) {
    .images-swiper-wrapper { --cards-showing: 2; }
}

@media (max-width: 480px) {
    .images-swiper-wrapper { --cards-showing: 1; }
}

.bgSwiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    height:100% !important;
    width: 100%;
}

.bgSwiper-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0;
    transition: all 0.3s ease;
}

.bgSwiper-button-prev,
.bgSwiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.bgSwiper-button-prev {
    left: 10px;
    padding-left: 5px;
}

.bgSwiper-button-next {
    right: 10px;
    padding-right: 5px;
}

/* Navigation Arrows */
.bgSwiper-button-prev::after,
.bgSwiper-button-next::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #03424C;
    border-right: 2px solid #03424C;
}

.bgSwiper-button-prev::after {
    transform: rotate(-135deg);
}

.bgSwiper-button-next::after {
    transform: rotate(45deg);
}

.bgSwiper-button-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    display: none !important; /* Ensure it's hidden */
}

/* Pagination */
.bgSwiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.bgSwiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.bgSwiper-pagination-bullet-active {
    background: #03424C;
}



/* Desktop */
@media (min-width: 993px) {
    .bgSwiper-slide {
        flex: 0 0 90.9%;
        max-width: 90.9%;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 992px) {
	.bgSwiper {
		margin-left: 10px;
		margin-right: 10px;
	}
    .bgSwiper-slide {
        flex: 0 0 90.9%;
        max-width: 90.9%;
    }
}

/* Mobile */
@media (max-width: 768px) {
	.bgSwiper {
		margin-left: 10px;
		margin-right: 10px;
	}
    .bgSwiper-slide {
        flex: 0 0 85%;
        max-width: 85%;
    }
}



/* Add spacing between slides */
.bgSwiper-slide:not(:last-child) {
    margin-right: 25px; /* match this gap in bgCarousel.js #JCL_GAP */
}

/* Ensure the container allows overflow */
.mw-promo-cards-container {
    overflow-x: hidden;
    padding-right: 0;
    margin-right: 0;
}


/* END IMAGES  Carousel Variant */
