.tab-container {
    display: flex;
    justify-content: center;
    margin: 30px auto 0;
}

.tab-wrapper {
    background: #fff;
    border-radius: 22px;
    display: flex;
    overflow-x: auto;
    gap: 20px;
}

.tab {
    border-radius: 22px;
    padding: 15px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #1e2365;
    white-space: nowrap;
}

.tab.active {
    background: #f78989;
    color: white;
}

.swiper-container-wrapper {
    padding: 43px 0;
    overflow-x: hidden !important;
}

.swiper {
    width: 100%;
    padding: 25px 15px;
    position: relative;
    background: #fff;
    border-radius: 30px;
    overflow: visible;
    display: flex;
    justify-content: center;
    padding-bottom: 60px;
    margin-bottom: 25px;
}

.swiper-wrapper {
    align-items: flex-start;
    display: flex;
    align-items: stretch;
    width: 100%;

}

.swiper-slide {
    background: #fff;
    border-radius: 20px;
    text-align: left;
    padding: 15px 20px;
    transition: all 0.3s ease;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: space-between;
    width: auto;
    max-width: 100%;
    min-height: 300px;
    box-sizing: border-box;
    /* margin: 0 10px; */
}

.swiper-slide:hover {
    background-color: #EE8B7A !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    color: white !important;
    position: relative;
    transform: scale(1.02);
    z-index: 2;
    min-height: 320px;
    box-shadow: 0 42px 34px 0 rgba(82, 67, 194, 0.2958);
    margin-top: -4rem;
    overflow: hidden;
	    padding-top: 64px;
}

.swiper-slide:hover * {
    color: #fff !important;
}

.swiper-slide h3 {
    font-size: 36px !important;
    font-weight: 700;
    margin: 0 0 25px;
    color: #242B6A;
    font-family: 'Poppins' !important;
}

.swiper-slide h3 span {
    font-size: 17px !important;
    font-weight: 500;
    margin: 0 0 20px;
    color: #242B6A;
    font-family: 'Poppins' !important;
}

.swiper-slide p {
    margin: 5px 0;
    font-size: 24px;
    font-weight: 700;
    color: #242B6A;
    flex-grow: 1;
    font-family: 'Poppins' !important;
    line-height: 1;
    margin-top: 18px;
}

.swiper-slide p span {
    margin: 5px 0;
    font-size: 15px;
    font-weight: 500;
    color: #242B6A;
    flex-grow: 1;
    font-family: 'Poppins' !important;
    top: -15px;
    position: relative;
}


.swiper-slide.highlight {
    background-color: #EE8B7A !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    color: white;
    position: relative;
    transform: scale(1.02);
    z-index: 2;
    min-height: 320px;
    box-shadow: 0 42px 34px 0 rgba(82, 67, 194, 0.2958);
    margin-top: -4rem;
	overflow: hidden;
}

.swiper-slide.highlight:before,
.swiper-slide:hover:before {
    content: "";
    background-image: url(https://pluxnet.co.za/wp-content/uploads/2025/07/Group-30.png);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    position: absolute;
    top: -105px;
    left: 148px;
    width: 697px;
    height: 662px;
    z-index: -1;
}

.swiper-slide.highlight h3 {
    color: white;
    font-size: 22px;
}

.swiper-slide.highlight h3 span {
    color: white;
    font-size: 22px;
}

.swiper-slide.highlight p {
    color: white;
}

.swiper-slide.highlight p span {
    color: white;
}

.swiper-slide.highlight .clasbtn {
    background: #4031B3 !important;
    color: white !important;
    border-radius: 24px !important;
}

.swiper-slide:hover .clasbtn {
    background: #4031B3 !important;
    color: white !important;
    border-radius: 24px !important;
}

.swiper-slide .badge {
    background: #4031B3;
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 3;
    display: block;
    width: fit-content;
    margin-bottom: 20px;
    margin-left: auto;
}

.clasbtn {
    margin-top: 15px;
    background: #e5e7ff !important;
    border: none;
    border-radius: 24px !important;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    color: #4031B3 !important;
    transition: background-color 0.3s;
}

.clasbtn:hover {
    background-color: #d0d7ff !important;
    border-radius: 24px !important;
}

.clasbtn.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

.swiper-button-next,
.swiper-button-prev {
    border: 3px solid #fff;
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    top: 50%;
    transform: translateY(50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.swiper-button-prev {
    left: -6%;
}

.swiper-button-next {
    right: -6%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    font-weight: 900;
}

.swiper-pagination {
    bottom: 0px !important;
}

.swiper-pagination-bullet {
    background: #999999;
    opacity: 1;
    width: 25px;
    height: 25px;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
}

img#fno-dynamic-image {
    width: 200px;
    display: block;
}

.custom-justify {
    justify-content: center !important;
}

@media (max-width: 1280px) {
    .swiper-slide {
        max-width: 200px;
        /* Adjust for smaller screens */
    }
}

@media (max-width: 1024px) {
    .swiper-slide {
        max-width: 250px;
        /* Adjust for 3 slides */
    }

    .swiper {
        padding: 20px 0;
    }

    .swiper-slide.highlight {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        max-width: 300px;
        /* Adjust for 2 slides */
    }

    .swiper-slide.highlight {
        min-height: 300px;
    }

    .swiper {
        padding: 10px 10px !important;
    }

    .swiper-button-prev {
        left: -40px !important;
    }

    .swiper-button-next {
        right: -40px !important;
    }

    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }

    .swiper-pagination {
        bottom: 50px !important;
    }

    .swiper-container-wrapper {
        margin: 30px 0px;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        max-width: 100%;
        /* Full width for 1 slide */
        min-height: 280px;
    }

    .swiper {
        padding: 10px 0;
    }
}