/*==========================================
            VIDEOS SECTION
==========================================*/

.videos-section{
    position:relative;
    padding:120px 0;
    background:#fff;
    overflow:hidden;
    z-index:1;
}

/*==============================
BACKGROUND SHAPES
==============================*/

.videos-section::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:radial-gradient(circle,
    rgba(255,0,0,.12) 0%,
    rgba(255,0,0,0) 70%);
    top:-180px;
    left:-170px;
    z-index:-1;
}

.videos-section::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:radial-gradient(circle,
    rgba(255,0,0,.08) 0%,
    rgba(255,0,0,0) 75%);
    right:-220px;
    bottom:-220px;
    z-index:-1;
}

/*==============================
SECTION HEADING
==============================*/

.section-heading{
    text-align:center;
    max-width:760px;
    margin:auto;
    margin-bottom:70px;
}

.section-tag{
    display:inline-flex;
    align-items:center;
    gap:14px;
    font-size:14px;
    font-weight:700;
    letter-spacing:5px;
    color:#111;
    margin-bottom:20px;
}

.section-tag span{
    width:55px;
    height:2px;
    background:#ff1212;
    display:block;
}

.section-heading h2{
    font-size:60px;
    line-height:1.1;
    font-weight:800;
    color:#151515;
    margin-bottom:18px;
}

.section-heading h2 span{
    color:#ff1212;
}

.section-heading p{
    font-size:18px;
    line-height:32px;
    color:#666;
    margin:0;
}

/*==========================================
            VIDEO CARD
==========================================*/

.video-card{

    position:relative;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
    transition:.45s ease;
    height:100%;

}

.video-card:hover{

    transform:translateY(-12px);
    box-shadow:0 30px 70px rgba(0,0,0,.15);

}

/*==========================================
        THUMBNAIL
==========================================*/

.video-thumb{

    position:relative;
    display:block;
    overflow:hidden;
    height:270px;
    background:#f5f5f5;

}

.video-thumb img{

    width:100%;
    height:100%;
    object-fit:cover;
    transition:.7s ease;

}

.video-card:hover .video-thumb img{

    transform:scale(1.08);

}

/*==========================================
        DARK OVERLAY
==========================================*/

.video-thumb::after{

    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top,
    rgba(0,0,0,.45),
    rgba(0,0,0,.05));
    transition:.4s;

}

.video-card:hover .video-thumb::after{

    background:linear-gradient(to top,
    rgba(255,0,0,.18),
    rgba(0,0,0,.05));

}

/*==========================================
        PLAY BUTTON
==========================================*/

.play-btn{

    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:88px;
    height:88px;
    border-radius:50%;
    background:#fa0105;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:38px;
    z-index:2;
    transition:.4s;
    box-shadow:0 15px 35px rgba(250,1,5,.35);

}

.play-btn i{

    margin-left:5px;

}

.video-card:hover .play-btn{

    transform:translate(-50%,-50%) scale(1.12);

}

/*==========================================
        RIPPLE
==========================================*/

.play-btn::before{

    content:"";
    position:absolute;
    inset:-12px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.35);
    animation:ripple 2.5s infinite;

}

@keyframes ripple{

    0%{

        transform:scale(.9);
        opacity:1;

    }

    100%{

        transform:scale(1.45);
        opacity:0;

    }

}

/*==========================================
        VIDEO TIME
==========================================*/

.video-time{

    position:absolute;
    right:16px;
    bottom:16px;
    background:rgba(0,0,0,.82);
    color:#fff;
    padding:8px 14px;
    border-radius:30px;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    font-weight:600;
    z-index:2;

}

.video-time i{

    font-size:15px;

}


/*==========================================
        VIDEO CONTENT
==========================================*/

.video-content{

    display:flex;
    align-items:flex-start;
    gap:18px;
    padding:28px;

}

.video-icon{

    width:58px;
    height:58px;
    min-width:58px;

    border-radius:18px;

    background:#fff3f3;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fa0105;
    font-size:24px;

    transition:.4s;

}

.video-info{

    flex:1;

}

.video-info h4{

    font-size:18px;
    line-height:1.45;
    font-weight:700;
    color:#1b1b1b;
    margin:0;

    transition:.35s;

}

/*==========================================
        ARROW BUTTON
==========================================*/

.video-arrow{

    width:52px;
    height:52px;
    min-width:52px;

    border-radius:50%;

    background:#f4f4f4;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    color:#111;

    transition:.35s;

}

.video-arrow i{

    font-size:20px;
    transition:.35s;

}

/*==========================================
        HOVER EFFECT
==========================================*/

.video-card:hover .video-icon{

    background:#fa0105;
    color:#fff;

    transform:rotate(10deg);

}

.video-card:hover .video-info h4{

    color:#fa0105;

}

.video-card:hover .video-arrow{

    background:#fa0105;
    color:#fff;

}

.video-card:hover .video-arrow i{

    transform:translateX(5px);

}

/*==========================================
        RESPONSIVE
==========================================*/

@media(max-width:991px){

    .video-thumb{

        height:240px;

    }

    .section-heading h2{

        font-size:48px;

    }

}

@media(max-width:767px){

    .videos-section{

        padding:80px 0;

    }

    .section-heading{

        margin-bottom:50px;

    }

    .section-heading h2{

        font-size:34px;

    }

    .section-heading p{

        font-size:15px;
        line-height:28px;

    }

    .video-thumb{

        height:220px;

    }

    .play-btn{

        width:72px;
        height:72px;

        font-size:30px;

    }

    .video-content{

        padding:22px;

    }

    .video-info h4{

        font-size:20px;

    }

}

@media(max-width:575px){

    .video-thumb{

        height:200px;

    }

    .video-content{

        gap:14px;

    }

    .video-icon{

        width:50px;
        height:50px;
        min-width:50px;

        font-size:20px;

    }

    .video-arrow{

        width:46px;
        height:46px;
        min-width:46px;

    }

    .video-info h4{

        font-size:18px;

    }

}