/* ==================================================
   VIDEO SECTION
================================================== */

.home-video-section{
    padding:70px 0;
    background:#fff;
}

/* ==========================================
   HERO
========================================== */

.video-hero{
    background:linear-gradient(
        135deg,
        var(--primary),
        #1e40af
    );

    border-radius:24px;

    padding:50px;

    color:#fff;

    margin-bottom:40px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;

    overflow:hidden;
    position:relative;
}

.video-hero::before{
    content:'';
    position:absolute;

    right:-80px;
    top:-80px;

    width:260px;
    height:260px;

    border-radius:50%;

    background:rgba(255,255,255,.08);
}

.video-hero .hero-content{
    max-width:700px;
    position:relative;
    z-index:2;
}

.video-hero .hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(255,255,255,.15);

    font-size:13px;
    font-weight:600;

    margin-bottom:18px;
}

.video-hero .hero-content h1{
    font-size:42px;
    font-weight:700;
    margin-bottom:14px;
}

.video-hero .hero-content p{
    margin:0;

    font-size:16px;
    line-height:1.8;

    opacity:.95;
}

.video-hero .hero-stat{
    position:relative;
    z-index:2;
} 

.stat-card{
    background:#fff;
    color:#1f2937;

    min-width:180px;

    border-radius:18px;

    padding:20px;

    display:flex;
    align-items:center;
    gap:15px;

    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.stat-icon{
    width:55px;
    height:55px;

    border-radius:14px;

    background:#eff6ff;

    color:var(--primary);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
}

.stat-info strong{
    display:block;
    font-size:28px;
}

.stat-info span{
    color:#64748b;
    font-size:13px;
}

/* HEADER */

.home-video-section .section-header{
    position:relative;
    margin-bottom:35px;
}

.home-video-section .section-header::after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    top:50%;
    height:3px;
    background:#6976ee;
    transform:translateY(-50%);
}

.home-video-section .section-label{
    position:relative;
    z-index:2;
    display:inline-flex;
    align-items:center;
    background:#6976ee;
    color:#fff;
    font-size:14px;
    font-weight:700;
    padding:12px 26px;
    letter-spacing:.5px;
    text-transform:uppercase;
    clip-path:polygon(
        0 0,
        88% 0,
        100% 100%,
        0 100%
    );
}



/* GRID */

.video-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

/* CARD */

.video-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    cursor:pointer;
    transition:.3s ease;
    border:1px solid #e5e7eb;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.video-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 25px rgba(0,0,0,.08);
}

/* THUMBNAIL */

.video-thumbnail img{
    width:100%;
    height:240px;
}

.video-placeholder{
    width:100%;
    height:170px;
    background:#f8fafc;
    display:flex;
    align-items:center;
    justify-content:center;
}

.video-placeholder i{
    font-size:54px;
    color:#6976ee;
}

/* CONTENT */

.video-content{
    padding:14px;
}

.video-content h3{
    font-size:14px;
    font-weight:700;
    line-height:1.5;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

    min-height:42px;
}

/* THUMBNAIL */

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img{
    width:100%;
    height:170px;
    object-fit:cover;
    display:block;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.08);
}

/* OVERLAY */

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(220, 38, 38, .95);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(220,38,38,.35);
    transition: .3s;
}

.video-card:hover .play-btn {
    transform: scale(1.1);
}

/* CONTENT */

.video-content {
    padding: 20px;
}

.video-content h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    color: #0f172a;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================================================
   VIDEO MODAL
================================================== */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0,0,0,.85);
}

.video-modal.show {
    display: flex;
}

.video-modal-content {
    width: 100%;
    max-width: 1000px;
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
}

.video-modal-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 20px;
}

.video-modal-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media(max-width:1200px){

    .video-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:991px){

    .video-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:767px){

    .video-grid{
        grid-template-columns:1fr;
    }

    .video-thumbnail img,
    .video-placeholder{
        height:190px;
    }

}

/* ==================================================
   FOOTER BUTTON
================================================== */

.video-footer{
    display:flex;
    justify-content:flex-end;
    margin-top:30px;
}

.btn-lihat-semua{
    display:inline-flex;
    align-items:center;
    padding:12px 22px;
    border-radius:10px;
    background:#6976ee;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:.3s ease;
}

.btn-lihat-semua:hover{
    background:#5564e6;
    color:#fff;
    transform:translateY(-2px);
}

@media(max-width:767px){

    .video-footer{
        justify-content:center;
    }

}

/* ==========================================
   PAGE
========================================== */

.video-page{
    padding:50px 0 80px;
    background:#f8fafc;
    min-height:70vh;
}

@media(max-width:991px){

    .video-hero{
        flex-direction:column;
        text-align:center;
    }

    .video-hero .hero-content h1{
        font-size:32px;
    }

}

@media(max-width:768px){

    .video-page{
        padding:25px 0 50px;
    }

    .video-hero{
        padding:30px;
    }

    .video-hero .hero-content h1{
        font-size:28px;
    }

}