/* Activity Slider Widget CSS */

.student-slider-wave {
    position: relative;
}

.student-slider-wave::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url(../images/top-wave.png);
    background-repeat: repeat-x;
    background-size: auto 60px;
    background-position: top center;
    z-index: 2;
    animation: wave 16s cubic-bezier(.36, .45, .63, .53) infinite;
}


@keyframes wave {
    from {
        background-position-x: 0;
    }
    to {
        background-position-x: -1000px;
    }
}

.activity-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    margin-bottom: 70px;
}

.activity-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible !important;
}

/* Swiper Fade Effect Overrides */
.activity-swiper .swiper-slide {
    transition-property: opacity, transform !important;
}

.activity-slide {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 40px 0 0 0;
    box-sizing: border-box;
}

/* Full Width Background & Overlay */
.activity-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.activity-swiper .swiper-slide-active .activity-slide-bg {
    transform: scale(1.03);
}

/* .activity-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 65%);
    z-index: 2;
    pointer-events: none;
} */

/* 1170px Max Width Container */
.activity-container {
    width: 100%;
    max-width: 1430px !important;
    margin: 0 auto;
    padding: 0px 80px !important;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;

}

/* Card Container Overlay & Equal Height */
.activity-card-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 450px;
    display: flex;
    transform: translateY(70px);
}

.activity-card {
    position: relative;
    background-color: #fabb15;
    padding: 40px 36px 85px 36px;
    /* Bottom padding reserves space for pagination inside card */
    border-radius: 32px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    width: 100%;
    min-height: 480px;
    /* Base min-height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.4s ease, box-shadow 0.4s ease, height 0.2s ease;
}

/* Typography Styling */
.activity-title {
    font-family: inherit;
    font-size: 34px;
    font-weight: 800;
    color: #0d0d0d;
    line-height: 1.1;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.activity-subtitle {
    font-family: inherit;
    font-size: 30px;
    font-weight: 800;
    color: #5236ab;
    line-height: 1.15;
    margin: 0 0 16px 0;
    letter-spacing: -0.3px;
}

.activity-description {
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    color: #333333;
    font-weight: 500;
    margin: 0 0 24px 0;
}

/* List Section */
.activity-list-wrapper {
    margin-bottom: 24px;
}

.activity-list-title {
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    color: #0d0d0d;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.activity-list li:last-child {
    margin-bottom: 0;
}

.activity-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #e2402b;
    flex-shrink: 0;
}

.activity-list-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.activity-list-text {
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: #222222;
    line-height: 1.4;
}

/* Button Styling */
/* .activity-button-wrapper {
    margin-top: auto;
    padding-bottom: 10px;
}

.activity-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #5236ab;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 16px rgba(82, 54, 171, 0.3);
    cursor: pointer;
    border: none;
    outline: none;
}

.activity-button:hover,
.activity-button:focus {
    background-color: #3c248b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(82, 54, 171, 0.45);
} */

.activity-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #FF5A1F;
    border-radius: 999px;
    padding: 16px 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

/* Purple Circle */
.activity-button::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 39px;
    height: 39px;
    background: #6D4FA0;
    border-radius: 50%;
    transition: all 0.45s cubic-bezier(.4, 0, .2, 1);
    z-index: 1;
}

/* Button Text */
.activity-button span {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    transition: color .3s ease;
}

/* Move Circle on Hover */
.activity-button:hover::before {
    left: calc(100% - 47px);
}

/* Numbered Swiper Pagination Directly Inside .activity-card */
.activity-swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 36px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto !important;
}

.activity-swiper-pagination .swiper-pagination-bullet {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #555555;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    margin: 0 !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

.activity-swiper-pagination .bullet-number {
    position: relative;
    z-index: 2;
}

/* SVG Timer Ring Styling */
.activity-swiper-pagination .bullet-timer-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 1;
}

.activity-swiper-pagination .bullet-timer-bg {
    fill: none;
    stroke: transparent;
    stroke-width: 3;
}

.activity-swiper-pagination .bullet-timer-bar {
    fill: none;
    stroke: #e2402b;
    stroke-width: 3;
    stroke-dasharray: 144.5;
    stroke-dashoffset: 144.5;
    stroke-linecap: round;
}

/* Active Bullet & Timer Progress Animation */
.activity-swiper-pagination .swiper-pagination-bullet-active {
    color: #0d0d0d;
    transform: scale(1.05);
}

.activity-swiper-pagination .swiper-pagination-bullet-active .bullet-timer-bar {
    animation: bulletTimerProgress var(--autoplay-duration, 5000ms) linear forwards;
}

@keyframes bulletTimerProgress {
    0% {
        stroke-dashoffset: 144.5;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.activity-swiper-pagination .swiper-pagination-bullet:hover:not(.swiper-pagination-bullet-active) {
    background-color: #f8f8f8;
    transform: translateY(-2px);
}

/* Responsive Breakpoints */

@media (max-width: 991px){
    .activity-container{
        justify-content: start;
        padding: 0 20px !important;
    }
}

@media (max-width: 768px) {
    .activity-slider-wrapper {
        margin-bottom: 0px;
    }

    .activity-slide {
        min-height: 520px;
        padding: 30px 0 0 0;
    }

    .activity-container {
        padding: 0 15px;
    }

    .activity-card-wrapper {
        max-width: 100%;
        transform: translateY(-20px);
    }

    .activity-card {
        padding: 30px 24px 70px 24px;
        border-radius: 24px;
        min-height: 420px;
    }

    .activity-title {
        font-size: 28px;
    }

    .activity-subtitle {
        font-size: 24px;
    }

    .activity-swiper-pagination {
        bottom: 16px;
        left: 24px;
        gap: 8px;
    }

    .activity-swiper-pagination .swiper-pagination-bullet {
        width: 40px;
        height: 40px;
        font-size: 12.5px;
    }

    .activity-swiper-pagination .bullet-timer-bar {
        stroke-width: 2.5;
        stroke-dasharray: 150;
        stroke-dashoffset: 150;
    }

    @keyframes bulletTimerProgress {
        0% {
            stroke-dashoffset: 120;
        }

        100% {
            stroke-dashoffset: 0;
        }
    }
    .activity-list-wrapper {
        margin-bottom: 0px;
    }

    .activity-description{
        margin: 0 0 15px 0;
    }
}

@media (max-width: 640px){
    .activity-container{
        justify-content: center;
    }
}