/**
 * Slider Styles for Malpe Classes - Inspired by Pradhan Madam's Academy
 */


/* Hero Slider */

.hero-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide-inner img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Removed gradient overlay to show clear images */
    z-index: -1;
}

.slide-content {
    max-width: 650px;
    color: #FFFFFF;
    padding: 0 15px;
    animation: fadeInUp 1s ease-out forwards;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content .highlight {
    color: var(--primary-color, #175C9A);
    position: relative;
    display: inline-block;
}

.slide-content .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(23, 92, 154, 0.3);
    z-index: -1;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slide-buttons {
    display: flex;
    gap: 15px;
}

.slide-buttons .btn {
    padding: 12px 25px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.slide-buttons .btn-primary {
    background-color: var(--primary-color, #175C9A);
    border-color: var(--primary-color, #175C9A);
}

.slide-buttons .btn-primary:hover {
    background-color: var(--accent-color-2, #557BA9);
    border-color: var(--accent-color-2, #557BA9);
    transform: translateY(-3px);
}

.slide-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}


/* Swiper Navigation Styles */

.swiper-button-next,
.swiper-button-prev {
    color: #FFFFFF;
    background-color: rgba(23, 92, 154, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(23, 92, 154, 0.9);
    transform: scale(1.1);
}


/* Swiper Pagination Styles */

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(87, 70, 70, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color, #175C9A);
    transform: scale(1.2);
}


/* Animation */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Styles */

@media (max-width: 991.98px) {
    .swiper-container {
        height: auto;
    }
    .slide-content h1 {
        font-size: 2.2rem;
    }
    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .swiper-container {
        height: auto;
    }
    .slide-content {
        max-width: 100%;
        text-align: center;
    }
    .slide-content h1 {
        font-size: 1.8rem;
    }
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .slide-buttons {
        justify-content: center;
    }
    .slide-buttons .btn {
        padding: 10px 20px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 575.98px) {
    .swiper-container {
        height: auto;
    }
    .slide-content h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}