/*==========================================
 CUSTOMER VIDEO SECTION
==========================================*/

.customer-video-section{

    width:100%;
    padding:90px 28px 40px;
    background:var(--section-bg);
    box-sizing:border-box;
    position:relative;
    overflow: visible;

}



.customer-video-container{

    max-width:1280px;
    margin:auto;
    position:relative;

}



/*==========================================
 HEADING
==========================================*/


.customer-video-heading{

    text-align:center;
    margin-bottom:10px;
    padding:0 10px;
    display:flex;
    flex-direction:column;
    align-items:center;

}


.customer-video-heading h2{
    font-size:32px;
    color:var(--primary-dark);
    margin:0 0 15px;
    padding-bottom:12px;
    position:relative;
}


.customer-video-heading h2::after{

    content:"";

    position:absolute;

    bottom:0;
    left:50%;

    transform:translateX(-50%);

    width:80px;
    height:3px;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        #6F8F72,
        #9BB58E,
        #D7C5A8
    );

}



.customer-video-heading p{
    font-size:38px;
    font-weight:800;
    color:var(--primary-dark);
    line-height:1.8;
}

/*==========================================
 GRID
==========================================*/


.customer-video-grid{

    display:grid;

      grid-template-columns:repeat(5, minmax(180px, 1fr));

    gap:28px;

    margin-top:0px;

}



/*==========================================
 CARD
==========================================*/


.customer-video-card{

    position:relative;

    overflow:hidden;

    border-radius:28px;

    background:rgba(252,251,247,.86);

    backdrop-filter:blur(14px);

    border:1px solid rgba(111,143,114,.16);

    box-shadow:
    0 10px 30px rgba(111,143,114,.08);

    direction:rtl;

    display:flex;

    flex-direction:column;

}



.customer-video-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:
    linear-gradient(
        90deg,
        transparent,
        var(--gold),
        var(--primary),
        transparent
    );

}



/*==========================================
 TITLE
==========================================*/


.customer-video-title{
    order:0;
    text-align:center;
    font-size:14px;
    font-weight:500;
    color:var(--primary-dark);
    padding:16px 10px 12px;
}


.customer-video-title::after{

    content:"";

    display:block;

    width:70px;

    height:3px;

    margin:12px auto 0;

    border-radius:50px;

    background:
    linear-gradient(
        90deg,
        var(--primary),
        var(--gold),
        var(--accent)
    );

}



/*==========================================
 VIDEO
==========================================*/


.customer-video-frame{

    order:1;

    width:100%;

    height:520px;

    overflow:hidden;

}



.customer-video-frame video{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}



/*==========================================
 BUTTONS DESKTOP HIDDEN
==========================================*/


.customer-video-btn{

    display:none;

}



/*==========================================
 TABLET
==========================================*/


@media(max-width:992px){


.customer-video-section{

    padding:50px 15px 35px;

}



.customer-video-heading h2{

    font-size:28px;

}


.customer-video-heading p{

    font-size:18px;

}



.customer-video-grid{

    display:flex;

    flex-direction:row;

    direction:ltr;

    width:100%;

    overflow-x:auto;

    gap:18px;

    scroll-behavior:smooth;

    scroll-snap-type:x mandatory;

    scrollbar-width:none;

}



.customer-video-grid::-webkit-scrollbar{

    display:none;

}



.customer-video-card{

    flex:0 0 300px;

    scroll-snap-align:center;

}



.customer-video-frame{

    height:420px;

}



/* arrows */


.customer-video-btn{

    display:flex;

    position:absolute;

    top:55%;

    transform:translateY(-50%);

    z-index:20;

    width:44px;

    height:44px;

    align-items:center;

    justify-content:center;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.95);

    color:var(--primary-dark);

    font-size:28px;

    font-weight:bold;

    cursor:pointer;

    box-shadow:
    0 8px 20px rgba(0,0,0,.18);

}



.customer-video-btn.prev{

    left:8px;

}



.customer-video-btn.next{

    right:8px;

}



}



/*==========================================
 MOBILE
==========================================*/


@media(max-width:768px){


.customer-video-section{

    padding:40px 10px 30px;

}



.customer-video-heading h2{

    font-size:25px;

}



.customer-video-heading p{

    font-size:16px;

}



.customer-video-card{

    flex:0 0 88%;

    margin:0 6%;

}



.customer-video-title{

    font-size:24px;

}



.customer-video-frame{

    height:360px;

}



.customer-video-btn{

    width:38px;

    height:38px;

    font-size:24px;

}



}



@media(max-width:480px){


.customer-video-card{

    flex-basis:90%;

}



.customer-video-title{

    font-size:22px;

}



.customer-video-frame{

    height:320px;

}



}