
/* =====================================================
   VIDEO HERO / HEADING SECTION
===================================================== */

.video-learning-section {
    background: #f5f7fa;
    padding: 65px 0 70px;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.video-section-heading {
    max-width: 850px;
    margin: 0 auto 35px;
    padding: 0 20px;
    text-align: center;
}


/* Small heading */

.video-section-heading h6 {
    margin: 0 0 12px;
    color: #1b3058;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}


/* Play icon */

.video-section-heading h6 i {
    margin-right: 7px;
    color: #1b3058;
    font-size: 15px;
}


/* Main heading */

.video-section-heading h2 {
    margin: 0 0 15px;
    color: #1b3058;
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.25;
}


/* Highlighted text */

.video-section-heading h2 span {
    color: #2d6cdf;
}


/* Description */

.video-section-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: #6f7785;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}


/* =====================================================
   FILTER AREA
===================================================== */

.video-filters {
    max-width: 1100px;
    margin: 35px auto 20px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .video-learning-section {
        padding: 55px 0 60px;
    }

    .video-section-heading {
        max-width: 750px;
    }

    .video-section-heading h2 {
        font-size: 32px;
    }

}


@media (max-width: 600px) {

    .video-learning-section {
        padding: 40px 0 50px;
    }

    .video-section-heading {
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .video-section-heading h6 {
        font-size: 14px;
    }

    .video-section-heading h2 {
        font-size: 27px;
        line-height: 1.3;
    }

    .video-section-heading p {
        font-size: 13px;
        line-height: 1.6;
    }

}
    /* =====================================================
           FILTER SECTION
        ====================================================== */

    .video-filters {

        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        gap: 18px;

        margin-top: 30px;

        margin-bottom: 20px;
    }


    .filter-box {

        display: flex;

        flex-direction: column;

        gap: 8px;
    }


    .filter-box label {

        font-size: 14px;

        font-weight: 600;

        color: #1b3058;

        margin: 0;
    }


    .filter-box label i {

        margin-right: 6px;
    }


    .filter-box select,
    .search-input-wrapper input {

        width: 100%;

        height: 48px;

        padding: 0 14px;

        border: 1px solid #d5dce6;

        border-radius: 8px;

        background: #ffffff;

        color: #333;

        font-family:
            'Poppins',
            sans-serif;

        font-size: 14px;

        outline: none;

        transition:
            all 0.3s ease;
    }


    .filter-box select:focus,
    .search-input-wrapper input:focus {

        border-color: #1b3058;

        box-shadow:
            0 0 0 3px rgba(27, 48, 88, 0.08);
    }


    /* =====================================================
           SEARCH BOX
        ====================================================== */

    .search-input-wrapper {

        position: relative;

        width: 100%;
    }


    .search-input-wrapper input {

        padding-right: 45px;
    }


    .search-input-wrapper i {

        position: absolute;

        right: 15px;

        top: 50%;

        transform:
            translateY(-50%);

        color: #1b3058;

        pointer-events: none;
    }


    /* =====================================================
           FILTER ACTIONS
        ====================================================== */

    .filter-actions {

        display: flex;

        justify-content:
            space-between;

        align-items: center;

        margin-bottom: 25px;
    }


    .result-count {

        color: #6d7684;

        font-size: 13px;

        font-weight: 500;
    }


    .reset-filter-btn {

        border: none;

        background: #1b3058;

        color: #ffffff;

        padding: 10px 18px;

        border-radius: 7px;

        cursor: pointer;

        font-family:
            'Poppins',
            sans-serif;

        font-size: 13px;

        font-weight: 600;

        transition:
            all 0.3s ease;
    }


    .reset-filter-btn:hover {

        background: #162645;

        transform:
            translateY(-2px);
    }


    .reset-filter-btn i {

        margin-right: 6px;
    }


    /* =====================================================
           VIDEO GRID
        ====================================================== */

    .video-grid {

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 25px;

        margin-top: 20px;
    }


    /* =====================================================
           VIDEO CARD
        ====================================================== */

    .video-card {

        background: #ffffff;

        border-radius: 14px;

        overflow: hidden;

        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.10);

        transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
    }


    .video-card:hover {

        transform:
            translateY(-5px);

        box-shadow:
            0 14px 30px rgba(0, 0, 0, 0.15);
    }


    /* =====================================================
           VIDEO PLAYER
        ====================================================== */

    .video-player {

        width: 100%;

        aspect-ratio: 16 / 9;

        background: #101010;

        overflow: hidden;
    }


    .video-player iframe {

        width: 100%;

        height: 100%;

        border: none;

        display: block;
    }


    /* =====================================================
           VIDEO INFO
        ====================================================== */

    .video-info {

        padding: 20px;
    }


    .video-teacher {

        display: flex;

        align-items: center;

        gap: 7px;

        margin-bottom: 12px;

        color: #1b3058;

        font-size: 13px;

        font-weight: 600;
    }


    .video-teacher i {

        font-size: 14px;
    }


    .video-subject {

        display: inline-block;

        background: #eef3fa;

        color: #1b3058;

        padding: 6px 10px;

        border-radius: 6px;

        font-size: 12px;

        font-weight: 600;

        margin-bottom: 10px;
    }


    .video-info h3 {

        margin:
            5px 0 10px;

        color: #1b3058;

        font-size: 19px;

        line-height: 1.4;
    }


    .video-info p {

        margin:
            0 0 15px;

        color: #727b89;

        font-size: 13px;

        line-height: 1.6;
    }


    .video-id {

        color: #9aa3b1;

        font-size: 12px;

        font-weight: 600;
    }


    /* =====================================================
           PAGINATION
        ====================================================== */

    .video-pagination {

        display: flex;

        justify-content: center;

        align-items: center;

        gap: 7px;

        margin-top: 40px;

        margin-bottom: 30px;

        flex-wrap: wrap;
    }


    .page-btn {

        min-width: 42px;

        height: 42px;

        padding:
            0 12px;

        display: inline-flex;

        align-items: center;

        justify-content: center;

        border-radius: 7px;

        border:
            1px solid #d5dce6;

        background: #ffffff;

        color: #1b3058;

        text-decoration: none;

        font-size: 13px;

        font-weight: 600;

        transition:
            all 0.3s ease;
    }


    .page-btn:hover {

        background: #1b3058;

        color: #ffffff;

        border-color:
            #1b3058;
    }


    .page-btn.active {

        background: #1b3058;

        color: #ffffff;

        border-color:
            #1b3058;
    }


    .page-btn.disabled {

        opacity: 0.45;

        pointer-events: none;

        cursor: not-allowed;
    }


    .pagination-info {

        width: 100%;

        text-align: center;

        margin-top: 8px;

        color: #7b8491;

        font-size: 13px;
    }


    /* =====================================================
           NO VIDEOS
        ====================================================== */

    .no-videos {

        text-align: center;

        padding: 60px 20px;

        background: #ffffff;

        border-radius: 12px;

        margin-top: 25px;
    }


    .no-videos i {

        font-size: 45px;

        color: #aab2bf;

        margin-bottom: 15px;
    }


    .no-videos h3 {

        color: #1b3058;

        margin-bottom: 8px;
    }


    .no-videos p {

        color: #7b8491;

        margin: 0;
    }


    /* =====================================================
           RESPONSIVE
        ====================================================== */

    @media (max-width: 991px) {

        .video-filters {

            grid-template-columns:
                repeat(2, 1fr);
        }


        .video-grid {

            grid-template-columns:
                repeat(2, 1fr);
        }

    }


    @media (max-width: 600px) {

        .video-filters {

            grid-template-columns: 1fr;

            gap: 15px;
        }


        .video-grid {

            grid-template-columns: 1fr;

            gap: 20px;
        }


        .filter-actions {

            align-items:
                flex-start;

            gap: 15px;

            flex-direction:
                column;
        }


        .video-pagination {

            gap: 5px;
        }


        .page-btn {

            min-width: 38px;

            height: 38px;

            padding:
                0 9px;
        }


        .video-info {

            padding: 17px;
        }

    }
    /* =====================================================
   SCROLL TARGET FOR EDUCATIONAL VIDEOS
===================================================== */

#educational-videos {
    scroll-margin-top: 90px;
}