/* Swiper CSS */
.swiper {
    width: 100%;
    height: 90vh;
}

.swiper-slide {
    position: relative;
    /* text-align: center; */
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

/* Gradient only for hero swiper (vertical) */
.mySwiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #051C2C 0%, rgba(5, 28, 44, 0) 100%);
    z-index: 1;
}

/* Organizations swiper specific styles */
.organizationsSwiper .swiper-slide {
    position: relative;
}

/* Light blue gradient on both sides for organizations swiper */
.organizationsSwiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(57, 193, 255, 0.3) 0%, rgba(57, 193, 255, 0) 20%, rgba(57, 193, 255, 0) 80%, rgba(57, 193, 255, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    /* padding: 20px 0px; */
    margin-left: 22px;
    /* height: 90%; */
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* justify-content: center; */
    z-index: 10;
    color: white;
    /* max-width: 800px; */
    /* background-color: red; */
    padding: 20px;
}

.slide-tag {
    display: inline-block;
    /* background: rgba(255, 255, 255, 0.2); */
    padding: 8px 0px;
    border-radius: 20px;
    color: #FFDA01;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: left;
    line-height: 1.2;
    width: 80%;
}

.slide-description {
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    opacity: 0.9;
    margin-bottom: 24px;
    width: 70%;
}

/* Swiper Button Styles */
.slide-content .navbar-btn {
    background-color: #039BC1 !important;
    min-height: 45px;
    border: none !important;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.slide-content .navbar-btn:hover {
    background-color: #0288a1 !important;
    color: #ffffff !important;
}

.slide-content .navbar-arrow {
    width: 20px;
    height: 20px;
}

/* Swiper Pagination Styles */
.swiper-pagination {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: white;
    opacity: 1;
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.swiper-pagination-bullet-active {
    width: 16px;
    height: 16px;
    background: transparent;
    border: 1px solid white;
    position: relative;
    flex-shrink: 0;
}

.swiper-pagination-bullet-active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.content-container {
    padding-left: 0px;
}

@media (max-width: 1440px) {
    .content-container {
        padding-left: 50px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .swiper {
        height: 80vh;
    }

    .slide-content {
        left: 50%;
        padding: 0px !important;
        max-width: 90%;
        margin-left: 0px !important;
        /* background-color: red !important; */
    }

    .slide-title {
        font-size: 32px;
        width: 100%;
    }

    .slide-description {
        font-size: 16px;
        width: 100%;
        margin-bottom: 20px;
    }

    .slide-tag {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .slide-content .navbar-btn {
        min-height: 40px;
        font-size: 14px;
        padding: 8px 16px;
    }

    .swiper-pagination {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .swiper {
        height: 70vh;
    }

    .slide-content {
        left: 50%;
        padding: 20px;
        max-width: 95%;
    }

    .slide-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .slide-description {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .slide-tag {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .slide-content .navbar-btn {
        min-height: 38px;
        font-size: 13px;
        padding: 6px 14px;
    }

    .slide-content .navbar-arrow {
        width: 18px;
        height: 18px;
    }

    .swiper-pagination {
        right: 15px;
    }

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

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

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

@media (max-width: 576px) {
    .swiper {
        height: 60vh;
    }

    .slide-content {
        padding: 22px !important;
        max-width: 100%;
    }

    .slide-title {
        font-size: 24px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .slide-description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .slide-tag {
        font-size: 10px;
        margin-bottom: 8px;
        padding: 6px 0px;
    }

    .slide-content .navbar-btn {
        min-height: 36px;
        font-size: 12px;
        padding: 5px 12px;
        width: 100%;
        justify-content: center;
    }

    .slide-content .navbar-arrow {
        width: 16px;
        height: 16px;
    }

    .swiper-pagination {
        right: 10px;
        gap: 4px;
    }

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

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

    .swiper-pagination-bullet-active::after {
        width: 5px;
        height: 5px;
    }

    .content-container {
        padding-left: 0px;
    }
}

.testimonialsSwiper {
    padding-bottom: 80px !important;
}

.testimonials-button-prev, .testimonials-button-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* background: #E8F4F8; */
    border: 1px solid #B8E0F0;
    color: #039BC1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin: 0;
    visibility: visible !important;
    opacity: 1 !important;
}

    .testimonials-button-next:not(.swiper-button-disabled), .testimonials-button-prev:not(.swiper-button-disabled) {
        background: #039BC1;
        border-color: #039BC1;
        color: #ffffff;
    }

    .testimonials-button-prev::after, .testimonials-button-next::after {
        content: '';
        width: 24px;
        height: 24px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        display: block;
        margin: 0;
        background-color: currentColor;
    }