/* Activities Section Styles - Adapted from Angel's High School */

#course-part {
    position: relative;
    overflow: hidden;
    background-color: #fff !important;
    /* Force white background */
}

.pt-115 {
    padding-top: 115px;
}

.pb-115 {
    padding-bottom: 115px;
}

/* Section Title */
.activities-title h5 {
    font-size: 18px;
    font-weight: 700;
    color: #ffbc3b;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
}

.activities-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e1e4b;
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
}

/* Card Styling - Single Course 2 */
.single-course-2 {
    background-color: transparent !important;
    margin-bottom: 30px;
    /* No default border or shadow for refined look */
}

.single-course-2>.thum {
    position: relative;
}

.single-course-2>.thum .image {
    overflow: hidden;
    border-radius: 5px;
    /* Neat 5px radius */
}

.single-course-2>.thum .image img {
    border-radius: 5px;
    width: 100%;
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
    display: block;
}

.single-course-2:hover .thum .image img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* Content Styling (Desktop) */
.single-course-2 .cont {
    padding-top: 25px;
}

.single-course-2 .cont h4 {
    font-weight: 600;
    font-size: 20px;
    color: #000;
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
    margin-bottom: 10px;
}

.single-course-2 .cont h4:hover {
    color: #ffbc3b;
}

.single-course-2 .cont span {
    font-size: 13px;
    color: #000;
}

.single-course-2 .cont span i {
    color: #ffbc3b;
    margin-right: 5px;
}

/* Slick Arrows */
.course-slide .slick-arrow {
    position: absolute;
    top: -85px;
    right: 0;
    width: 40px;
    height: 40px;
    line-height: 36px;
    border-radius: 5px;
    color: #000;
    border: 2px solid #aaaaaa;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
    z-index: 5;
    background: transparent;
}

.course-slide .prev.slick-arrow {
    left: auto;
    right: 50px;
}

.course-slide .slick-arrow:hover {
    border-color: #ffbc3b;
    background-color: #ffbc3b;
    color: #fff;
}

/* Wrapper */
.activity-item {
    outline: none;
    padding: 0 10px;
    /* Slight gap between slides */
}


/* =========================================
   RESPONSIVE DESIGN (Mobile)
   Show ONLY images neatly
========================================= */

@media (max-width: 767px) {

    /* 1. Reduce section padding */
    .pt-115 {
        padding-top: 40px !important;
    }

    .pb-115 {
        padding-bottom: 40px !important;
    }

    /* 2. Hide Navigation/Arrows */
    .course-slide .slick-arrow {
        display: none !important;
    }

    /* 3. Ensure Slider Container is visible */
    /* 3. Ensure Slider Container is visible */
    #activities-slider {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        min-height: 200px;
        margin-top: 10px !important;
    }

    /* 5. Hide Text Content */
    .single-course-2 .cont {
        display: none !important;
    }

    /* 6. Image Container Styling */
    .single-course-2 {
        margin-bottom: 0 !important;
    }

    .single-course-2>.thum .image {
        display: block !important;
        width: 100% !important;
        height: 220px !important;
        /* Fixed neat height */
        border-radius: 5px !important;
    }

    .single-course-2>.thum .image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        /* Neatly fill the box */
        border-radius: 5px !important;
        display: block !important;
    }

    /* 7. Reset Bootstrap/Grid Spacing */
    .col-lg-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .course-slide {
        margin-left: -5px;
        margin-right: -5px;
    }

    /* Force Horizontal Layout with Flexbox */
    #activities-slider .slick-track {
        display: flex !important;
        width: auto !important;
        /* Allow track to grow to fit content */
    }

    .activity-item,
    #activities-slider .slick-slide {
        padding: 0 5px !important;
        float: none !important;
        display: block !important;
        height: auto !important;
        width: 100% !important;
        /* Single image per slide */
        flex-shrink: 0 !important;
        /* Prevent squashing */
        box-sizing: border-box !important;
    }
}