.mask {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    z-index: 1;
}

.slider-container {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 250px 0 350px 0;

    &.slider-hero-section2 {
        padding: 100px 0 150px 0;
    }

    @media (max-width: $screen-sm-max) {
        &, &.slider-hero-section2 {
            padding: 60px 0 100px 0;
        }
    }

    #homeHeroVideoBackground {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .slider-content {
        position: relative;
        z-index: 5;

        h1 {
            font-size: 44px;
            line-height: 1.5;
            color: #ffffff;
            pointer-events: none;

            @media (max-width: $screen-sm-max) {
                font-size: 30px;
            }
        }

        .slide-hint {
            font-size: 20px;
            font-weight: normal;
            line-height: 1.25;
            color: #ffffff;
            pointer-events: none;

            @media (max-width: $screen-sm-max) {
                font-size: 14px;
            }
        }

        .slider-search {
            border-radius: 38px;
            box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.1);
        }

        &.hero-section2 {
            h1 {
                font-size: 44px;
                line-height: 1.5;
                pointer-events: none;

                @media (max-width: $screen-sm-max) {
                    font-size: 30px;
                }
            }
        }
    }
}

.stats-container {
    position: relative;
    top: -100px;
    z-index: 8;

    .stats-item {
        position: relative;
        border-radius: 20px;
        box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.12);
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(84, 26, 180, 0.1), transparent);
            transition: left 0.6s ease;
        }
        
        &:hover {
            transform: translateY(-10px) scale(1.03);
            box-shadow: 0 15px 50px rgba(31, 59, 100, 0.2);
            
            &::before {
                left: 100%;
            }
        }

        .stat-icon-box {
            border-radius: 24px;
            padding: 15px;
            width: 85px;
            height: 85px;

            &.teacher {
                background-image: linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%);
            }

            &.video {
                background-image: linear-gradient(135deg, #11c99c, #00e31d);
            }

            &.student {
                background-image: linear-gradient(135deg, #F761A1 10%, #8C1BAB 100%);
            }

            &.course {
                background-image: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
            }
        }

        .stat-number {
            font-size: 30px;
            font-weight: bold;
            line-height: 1.25;
            color: var(--secondary);
            pointer-events: none;
        }

        .stat-title {
            font-size: 16px;
            font-weight: bold;
            line-height: 1.25;
            color: $black;
            pointer-events: none;
        }

        .stat-desc {
            font-size: 14px;
            font-weight: normal;
            line-height: 1.25;
            color: $gray;
            pointer-events: none;
        }

        &:hover {
            transform: translateY(-25px);
            background-color: var(--secondary);
            transition: all .5s ease;
            box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.2);

            .stat-number, .stat-title, .stat-desc {
                color: #ffffff;
                transition: all .5s ease;
            }
        }
    }
}


.swiper-pagination {
    bottom: -50px;
    transform: translate(0, 50%) !important;

    @media (max-width: $screen-sm-max) {
        bottom: unset;

        &.features-swiper-pagination {
            bottom: -20px;
        }
    }

    .swiper-pagination-bullet {
        position: relative;
        width: 20px;
        height: 20px;
        margin-right: 20px;
        padding: 4px;
        background: #ffffff !important;
        border: solid 1px #d4d4d4;
        opacity: 1 !important;

        .rtl & {
            margin-right: 0;
            margin-left: 20px;
        }

        @media (max-width: $screen-xs-max) {
            width: 15px;
            height: 15px;
            margin-right: 10px;
        }

        &:last-child {
            margin-right: 0;

            .rtl & {
                margin-right: auto;
                margin-left: 0;
            }
        }

        &.swiper-pagination-bullet-active {
            &:after {
                content: '';
                width: 14px;
                height: 14px;
                border-radius: 50px;
                background-color: var(--primary);
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);

                @media (max-width: $screen-xs-max) {
                    width: 8px;
                    height: 8px;
                }
            }
        }
    }
}


.feature-slider {
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: contain;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(84, 26, 180, 0.08) 0%, rgba(31, 59, 100, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
    }
    
    &:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 60px rgba(31, 59, 100, 0.25);
        
        &::after {
            opacity: 1;
        }
    }

    .mask {
        opacity: 0.4;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), #000000);
        border-radius: 20px;
        transition: opacity 0.4s ease;
    }
    
    &:hover .mask {
        opacity: 0.3;
    }

    .feature-slider-card {
        width: auto;
        max-width: 435px;
        position: relative;
        z-index: 2;
    }

    .feature-slider-body {
        border-radius: 20px;
        box-shadow: 0 8px 25px 0 rgba(0, 0, 0, 0.15);
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        padding: 20px;
        z-index: 5;
        transition: all 0.4s ease;
        
        &:hover {
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
        }

        .card-title {
            font-size: 16px;
            font-weight: bold;
            line-height: 1.2;
            color: $dark-blue;

            @media (max-width: $screen-sm-max) {
                font-size: 16px;
            }
        }
    }

    .feature-desc {
        pointer-events: none;
    }

    .feature-footer {

        .feature-price-box {
            border-radius: 12px;
            box-shadow: 0 6px 15px 0 rgba(64, 213, 125, 0.3);
            background: linear-gradient(135deg, var(--primary) 0%, #3d1480 100%);
            font-size: 16px;
            font-weight: 800;
            line-height: 1.22;
            color: #ffffff;
            padding: 12px 18px;
            pointer-events: none;
            position: relative;
            overflow: hidden;
            
            &::before {
                content: '';
                position: absolute;
                top: -50%;
                left: -50%;
                width: 200%;
                height: 200%;
                background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
                animation: shimmer 3s infinite;
            }
        }
    }
}

@keyframes shimmer {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.vertical-line {
    border-left: solid 2px $gray-300;
}

.stars-card {
    min-height: 20px;

    svg {
        margin-right: 3px;
        color: $gray;

        &.active {
            color: #ffc600;
            fill: #ffc600;
        }
    }

    i.active {
        svg {
            color: #ffc600;
            fill: #ffc600;
        }
    }
}

.user-inline-avatar {
    .avatar {
        width: 40px;
        max-width: 40px;
        min-width: 40px;
        height: 40px;
        border-radius: 50%;

        img {
            border-radius: 50%;
        }
    }

    .user-name {
        font-weight: 500;
        line-height: 1.19;
        color: $gray;
    }
}

.home-sections {
    margin-top: 80px;
    position: relative;
    padding: 60px 0;
    
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, transparent, #541ab4, transparent);
        border-radius: 2px;
        opacity: 0.3;
    }

    &.home-sections-swiper {
        margin-top: 120px;

        @media (max-width: $screen-sm-max) {
            margin-top: 80px;
        }
    }

    .section-title {
        font-size: 32px;
        font-weight: 800;
        line-height: 1.3;
        background: linear-gradient(135deg, #1f3b64 0%, #541ab4 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        pointer-events: none;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
        margin-bottom: 20px;
        letter-spacing: -0.5px;
        
        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #541ab4, #3d1480);
            border-radius: 2px;
        }

        @media (max-width: $screen-sm-max) {
            font-size: 24px;
        }
    }

    .section-hint {
        margin-top: 10px;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.8;
        color: #666;
        pointer-events: none;

        @media (max-width: $screen-sm-max) {
            font-size: 14px;
        }
    }
}

.gradient-box {
    direction: ltr;
    position: absolute !important;
    border-radius: 30px;
    background-image: linear-gradient(to bottom, #9effc1, var(--primary));

    @media (max-width: $screen-xs-max) {
        border-radius: 10px;
    }
}

.subscribes-container {
    .left-gradient-box {
        top: 13% !important;
        left: 1% !important;
        width: 150px;
        height: 150px;
        opacity: 0.66;
        transform: rotate(45deg);

        @media (min-width: $screen-xs-max) and (max-width: $screen-sm-max) {
            width: 80px;
            height: 80px;
        }

        @media (max-width: $screen-xs-max) {
            width: 40px;
            height: 40px;
        }
    }

    #parallax5 {
        transform: translate3d(0px, 0px, 0px) rotate(144deg) !important;
    }

    .right-gradient-box {
        right: 3% !important;
        bottom: 10% !important;
        top: auto !important;
        width: 130px;
        height: 130px;
        opacity: 0.66;
        transform: rotate(45deg);

        @media (min-width: $screen-xs-max) and (max-width: $screen-sm-max) {
            width: 75px;
            height: 75px;
        }

        @media (max-width: $screen-xs-max) {
            width: 30px;
            height: 30px;
        }
    }

    .bottom-gradient-box {
        left: 14% !important;
        bottom: 0 !important;
        top: auto !important;
        width: 250px;
        height: 250px;
        opacity: 0.66;
        transform: rotate(45deg);

        @media (min-width: $screen-xs-max) and (max-width: $screen-sm-max) {
            width: 150px;
            height: 150px;
        }

        @media (max-width: $screen-xs-max) {
            width: 50px;
            height: 50px;
        }
    }
}


.testimonials-container {

    .left-gradient-box {
        top: 13% !important;
        left: 10% !important;
        width: 202px;
        height: 202px;
        opacity: 0.66;

        @media (min-width: $screen-xs-max) and (max-width: $screen-sm-max) {
            width: 100px;
            height: 100px;
        }

        @media (max-width: $screen-xs-max) {
            width: 40px;
            height: 40px;
        }
    }

    #parallax2 {
        transform: translate3d(0px, 0px, 0px) rotate(144deg) !important;
    }

    .right-gradient-box {
        top: auto !important;
        right: 13% !important;
        bottom: 10% !important;
        width: 195px;
        height: 195px;
        opacity: 0.66;
        transform: rotate(45deg);

        @media (min-width: $screen-xs-max) and (max-width: $screen-sm-max) {
            width: 95px;
            height: 95px;
        }

        @media (max-width: $screen-xs-max) {
            width: 30px;
            height: 30px;
        }
    }

    .bottom-gradient-box {
        top: auto !important;
        left: -200px !important;
        bottom: 0 !important;
        width: 270px;
        height: 270px;
        opacity: 0.66;
        transform: rotate(45deg);

        @media (min-width: $screen-xs-max) and (max-width: $screen-sm-max) {
            width: 150px;
            height: 150px;
        }

        @media (max-width: $screen-xs-max) {
            width: 50px;
            height: 50px;
        }
    }


    .testimonials-card {
        margin-top: 105px;
        pointer-events: none;
        position: relative;
        transition: all 0.4s ease;
        
        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #541ab4, #3d1480);
            transition: width 0.4s ease;
        }
        
        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(31, 59, 100, 0.15);
            
            &::after {
                width: 100%;
            }
        }

        .bottom-gradient {
            position: absolute;
            top: unset;
            bottom: 0;
            left: 0;
            right: 0;
            border-radius: 0 0 10px 10px;
            height: 11px;
            background: linear-gradient(to left, #9effc1, var(--primary));
        }

        .testimonials-user-avatar {
            position: absolute;
            top: -40px;
            width: 80px;
            height: 80px;
            border: 3px solid #fff;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            transition: transform 0.4s ease;
        }
        
        &:hover .testimonials-user-avatar {
            transform: scale(1.1) rotate(5deg);
        }
    }
}

.trending-card {
    position: relative;
    transition: all .5s ease;

    .trending-image {
        padding: 27px 0;
        border-radius: 20px;

        .icon {
            width: 85px;
            height: 85px;
        }
    }

    .item-count {
        position: relative;
        top: -20px;
        border-radius: 25px;
        box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
        background-color: #ffffff;
        font-size: 14px;
    }

    h3 {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.19;
        color: $dark-blue;
    }

    &:hover {
        transform: translateY(-25px);
        transition: all 0.5s ease;

        .item-count {
            background-color: var(--secondary);
            color: #ffffff;
            transition: all 0.5s ease;
        }
    }

    @media (max-width: $screen-xs-max) {
        .trending-image {
            padding: 25px;

            .icon {
                width: 60px;
                height: 60px;
            }
        }
    }
}

.home-video-mask {
    position: absolute;
    height: 300px;
    border: solid 1px #707070;
    background-color: var(--secondary);
    width: 100%;
    top: 50%;
    transform: translate(0, -50%);

    @media (max-width: $screen-xs-max) {
        height: 100%;
    }
}

.home-video-container {
    padding-top: 194px;
    padding-bottom: 94px;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;

    @media (max-width: $screen-sm-max) {
        padding-top: 94px;
    }

    @media (max-width: $screen-xs-max) {
        background-size: contain;
        border-radius: 0;
    }

    .home-video-play-button {
        width: 147px;
        height: 147px;
        box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 50%;
        cursor: pointer;
        z-index: 22;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        
        &:hover {
            transform: scale(1.1);
            box-shadow: 0 25px 40px 0 rgba(84, 26, 180, 0.3);
        }

        &:after,
        &:before {
            content: '';
            position: absolute;
            height: 100%;
            width: 100%;
            background-color: #ffffff;
            opacity: .4;
            z-index: -1;
            border-radius: 50%;
        }

        &:before {
            animation: pluse 2s ease-out infinite;
        }

        &:after {
            animation: pluse 2s 1s ease-out infinite;
        }

        @media (max-width: $screen-sm-max) {
            width: 75px;
            height: 75px;

            .feather-play {
                width: 25px;
                height: 25px;
            }
        }
    }

    .home-video-title {
        font-size: 24px;
        font-weight: bold;
        line-height: 1.22;
        color: #ffffff;
    }

    .home-video-hint {
        font-size: 16px;
        font-weight: normal;
        line-height: 1.19;
        color: #ffffff;
        pointer-events: none;
    }
}

@keyframes pluse {
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.user-search-card {
    .user-avatar {
        width: 135px;
        height: 135px;
        border-radius: 50%;
        box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.1);
    }
}

.home-organizations-card {
    padding: 15px 25px 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px 0 rgba(0, 0, 0, 0.10);
    background-color: #ffffff;
    text-align: center;
    transition: all 0.5s ease;

    .home-organizations-avatar {
        width: 120px;
        height: 120px;
        border-radius: 50%;

    }

    .home-organizations-title {
        font-size: 16px;
        font-weight: bold;
        line-height: 1.2;
        color: $dark-blue;
        transition: all 0.5s ease;
    }

    .home-organizations-badge, .home-organizations-desc {
        font-size: 12px;
        font-weight: normal;
        line-height: 1.19;
        color: $gray;
        transition: all 0.5s ease;
    }

    .home-organizations-badge {
        border-radius: 15px;
        background-color: #f1f1f1;
        padding: 5px 10px;
        transition: all 0.5s ease;
    }

    &:hover {
        transform: translateY(-10px);
        background-color: var(--secondary);
        box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.20);
        transition: all 0.5s ease;

        .home-organizations-title, .home-organizations-desc {
            color: #ffffff;
            transition: all 0.5s ease;
        }

        .home-organizations-badge {
            background-color: #ffffff;
            color: var(--secondary);
            transition: all 0.5s ease;
        }
    }
}

.instructors-swiper-container {
    .instructors-card {

        .instructors-card-avatar {
            width: 100px;
            height: 100px;
            position: relative;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid #fff;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;

            .instructor-avatar-img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                border-radius: 50%;
                transition: transform 0.3s ease;
            }

            &:hover {
                transform: scale(1.05);
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);

                .instructor-avatar-img {
                    transform: scale(1.05);
                }
            }
        }
    }

    .swiper-slide {
        margin-top: 33px;

        &.swiper-slide-active {
            margin-top: 0;

            .instructors-card {

                .instructors-card-avatar {
                    width: 130px;
                    height: 130px;
                    border-width: 4px;
                    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);

                    img {
                        opacity: 1;
                        border-radius: 50%;
                    }
                }

                .instructors-card-info {
                    display: block;
                }
            }
        }
    }

    @media (max-width: 768px) {
        .instructors-card {
            .instructors-card-avatar {
                width: 80px;
                height: 80px;
                border-width: 2px;
            }
        }

        .swiper-slide.swiper-slide-active {
            .instructors-card {
                .instructors-card-avatar {
                    width: 110px;
                    height: 110px;
                }
            }
        }
    }
}

.find-instructor-section {

    .find-instructor-section-hero {
        max-width: 400px;
        max-height: 460px;
        border-radius: 40px 4px 40px 4px;
        box-shadow: 0 30px 60px 0 rgb(1 11 60 / 14%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        
        &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(84, 26, 180, 0.05) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        &:hover {
            transform: scale(1.03) translateY(-5px);
            box-shadow: 0 40px 80px 0 rgb(1 11 60 / 20%);
            
            &::after {
                opacity: 1;
            }
        }
    }

    .find-instructor-section-circle, .find-instructor-section-dots {
        position: absolute;
        z-index: -1;
    }

    .find-instructor-section-circle {
        top: -50px;
        right: 10%;
    }

    .find-instructor-section-dots {
        bottom: -25px;
        left: -30px;
        animation: hero-dot 5s linear 0s infinite alternate;
    }

    .example-instructor-card {
        position: absolute;
        bottom: 50px;
        right: -15px;
        z-index: 2;
        animation-duration: 4s;
        animation-fill-mode: both;
        animation-iteration-count: infinite;
        animation-name: hero-bounce;

        .example-instructor-card-avatar {
            width: 54px;
            height: 54px;
            border-radius: 50%;
        }
    }

    @media (max-width: $screen-xs-max) {
        .find-instructor-section-hero {
            max-width: 250px;
            max-height: 270px;
        }

        .example-instructor-card {
            right: -5px;
        }
    }
}

/* Products Swiper Styles - Home Page */
.new-products-swiper {
    .product-row-card {
        margin-bottom: 0;
        height: 100%;
    }

    .product-row-shell {
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        padding: 0;
        margin: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        position: relative;
        
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #541ab4, #3d1480, #1f3b64);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
            z-index: 1;
        }

        &:hover {
            transform: translateY(-6px) scale(1.02);
            box-shadow: 0 12px 30px rgba(31, 59, 100, 0.15);
            border-color: rgba(84, 26, 180, 0.3);
            
            &::before {
                transform: scaleX(1);
            }
        }
    }

    .product-image-container {
        width: 100%;
        overflow: hidden;
        position: relative;
        background: #f5f5f5;
        height: 140px;
    }

    .product-thumb {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.4s ease;
        display: block;
    }

    .product-row-shell:hover .product-thumb {
        transform: scale(1.08);
    }

    .product-info-container {
        padding: 10px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .product-title {
        font-size: 13px;
        font-weight: 600;
        color: #1f3b64;
        line-height: 1.3;
        min-height: 34px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 6px;

        &:hover {
            color: #2f4e86;
        }
    }

    .category-pill {
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 10px;
        display: inline-block;
        margin-bottom: 6px;

        a {
            text-decoration: none;
        }
    }

    .product-price-box {
        margin: 6px 0;

        .real {
            font-size: 15px;
            font-weight: bold;
            color: #541ab4;
        }

        .off {
            font-size: 12px;
            color: #999;
        }
    }

    .product-cta {
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        color: #fff;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        
        &::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }
        
        &:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
            
            &::before {
                width: 300px;
                height: 300px;
            }
        }
        border-radius: 5px;
        padding: 7px 10px;
        font-weight: 600;
        font-size: 12px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        width: 100%;

        &:hover {
            background: #1e40af;
            transform: translateY(-1px);
            box-shadow: 0 3px 6px rgba(37, 99, 235, 0.3);
        }
    }

    .out-of-stock-badge {
        position: absolute;
        top: 6px;
        right: 6px;
        background: rgba(220, 53, 69, 0.9);
        color: white;
        padding: 3px 6px;
        border-radius: 3px;
        font-size: 10px;
        font-weight: bold;
        z-index: 2;
    }

    .swiper-slide {
        height: auto;
    }

    @media (max-width: 768px) {
        .product-image-container {
            height: 120px;
        }

        .product-title {
            font-size: 12px;
            min-height: 32px;
        }

        .product-price-box .real {
            font-size: 14px;
        }

        .product-cta {
            padding: 6px 8px;
            font-size: 11px;
        }
    }
}

/* Advanced Home Page Enhancements */
.home-sections {
    position: relative;
    padding: 60px 0;
    
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(31, 59, 100, 0.1), transparent);
    }
    
    .section-title {
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
        margin-bottom: 20px;
        
        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #541ab4, #3d1480);
            border-radius: 2px;
        }
    }
}

/* Enhanced Stats Cards */
.stats-container {
    .stats-item {
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        
        &::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(84, 26, 180, 0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        &:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 40px rgba(31, 59, 100, 0.15);
            
            &::before {
                opacity: 1;
            }
        }
        
        .stat-icon-box {
            position: relative;
            overflow: hidden;
            
            &::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                width: 0;
                height: 0;
                border-radius: 50%;
                background: rgba(255, 255, 255, 0.3);
                transform: translate(-50%, -50%);
                transition: width 0.6s ease, height 0.6s ease;
            }
            
            &:hover::after {
                width: 200px;
                height: 200px;
            }
        }
    }
}

/* Enhanced Course Cards */
.course-card,
.feature-slider {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
        z-index: 1;
    }
    
    &:hover::before {
        left: 100%;
    }
    
    &:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 50px rgba(31, 59, 100, 0.2);
    }
    
    img {
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    &:hover img {
        transform: scale(1.15);
    }
}

/* Enhanced Buttons */
.btn-primary,
.fill-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    
    &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        z-index: -1;
    }
    
    &:hover::before {
        width: 300px;
        height: 300px;
    }
    
    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(84, 26, 180, 0.4);
    }
}

/* Gradient Backgrounds for Sections */
.home-sections:nth-child(even) {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
}

/* Enhanced Section Headers */
.section-title {
    background: linear-gradient(135deg, #1f3b64 0%, #541ab4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-hint {
    color: #666;
    font-weight: 400;
    line-height: 1.8;
}

/* Floating Animation for Cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stats-item:nth-child(1) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0s;
}

.stats-item:nth-child(2) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.stats-item:nth-child(3) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.stats-item:nth-child(4) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* Enhanced Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    
    &:hover {
        background: #541ab4;
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(84, 26, 180, 0.3);
        
        &::after {
            color: white;
        }
    }
    
    &::after {
        font-size: 20px;
        color: #541ab4;
        transition: color 0.3s ease;
    }
}

/* Enhanced Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
    
    &.swiper-pagination-bullet-active {
        background: #541ab4;
        width: 30px;
        border-radius: 6px;
        transform: scale(1.2);
    }
}

/* Glass Morphism Effect for Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Enhanced Testimonials */
.testimonial_card {
    position: relative;
    transition: all 0.4s ease;
    
    &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, #541ab4, #3d1480);
        transition: width 0.4s ease;
    }
    
    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(31, 59, 100, 0.15);
        
        &::after {
            width: 100%;
        }
    }
}

/* Pulse Animation for CTA Buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(84, 26, 180, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(84, 26, 180, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(84, 26, 180, 0);
    }
}

.btn-primary.cta-pulse {
    animation: pulse 2s infinite;
}

/* Enhanced Search Bar */
.navbar-search,
.slider-search {
    position: relative;
    
    input {
        transition: all 0.3s ease;
        
        &:focus {
            transform: scale(1.02);
            box-shadow: 0 8px 25px rgba(84, 26, 180, 0.2);
        }
    }
}

/* Smooth Scroll Indicator */
@keyframes scrollIndicator {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0.3;
        transform: translateY(10px);
    }
}

.scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Enhanced Container with Gradient Border */
.gradient-border-container {
    position: relative;
    padding: 2px;
    background: linear-gradient(135deg, #541ab4, #3d1480, #1f3b64);
    border-radius: 15px;
    
    &::before {
        content: '';
        position: absolute;
        inset: 2px;
        background: white;
        border-radius: 13px;
        z-index: 0;
    }
    
    > * {
        position: relative;
        z-index: 1;
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .home-sections {
        padding: 40px 0;
    }
    
    .stats-item {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 22px;
    }
}

.reward-program-section {
    border-radius: 30px;
    background-color: $info-light;

    .reward-program-section-hero-card {
        height: 350px;

        .reward-program-section-hero {
            position: absolute;
            height: 390px;
            width: 100%;
            left: -70px;
            top: -20px;
        }

        @media (max-width: $screen-sm-max) {
            height: auto;

            .reward-program-section-hero {
                position: relative;
                top: 0;
                left: 0;
                height: auto;
            }
        }
    }

    .reward-program-section-dots {
        position: absolute;
        top: 25px;
        left: 30px;
        z-index: 1;
        animation: hero-dot 5s linear 0s infinite alternate;
    }

    .example-reward-card {
        position: absolute;
        bottom: 50px;
        right: 15%;
        z-index: 2;
        animation-duration: 6s;
        animation-fill-mode: both;
        animation-iteration-count: infinite;
        animation-name: hero-bounce;

        .example-reward-card-medal {
            width: 56px;
            height: 56px;
            border-radius: 50%;
        }
    }
}

@keyframes hero-dot {
    0% {
        transform: translateY(-100px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes hero-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.become-instructor-packages {

    .default-package-icon {
        width: 176px;
        min-width: 176px;
        height: 143px;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .default-package-statistics-icon {
        width: 32px;
        height: 32px;

        img {
            width: 100%;
            height: 100%;
        }
    }
}
