/* =========================================
   YOUTUBE TESTIMONIAL SECTION
========================================= */

.yt-video-section {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #fafafa, #f2f4f8);
    overflow: hidden;
}

.yt-video-heading {
    text-align: center;
    margin-bottom: 60px;
}

.yt-video-heading h2 {
    font-size: 52px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.yt-video-heading p {
    max-width: 650px;
    margin: auto;
    font-size: 18px;
    line-height: 1.7;
    color: #666;
}
.yt-video-swiper{
    padding: 50px;
}

.yt-slider-container {
    max-width: 1400px;
    margin: auto;
    position: relative;
}

.swiper-slide {
    height: auto !important;
    padding: 10px;
}

/* Card */

.yt-video-card {
    background: #fff;
    border-radius: 30px;
    padding: 16px;
    overflow: hidden;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, .06),
        0 5px 15px rgba(0, 0, 0, .04);

    transition: all .4s ease;
}

.yt-video-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, .12),
        0 10px 20px rgba(0, 0, 0, .08);
}

/* Video */

.yt-video-frame {
    width: 100%;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: 22px;
    background: #000;
}

.yt-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: .5s ease;
}

.yt-video-card:hover iframe {
    transform: scale(1.02);
}

/* Content */

.yt-video-content {
    text-align: center;
    padding-top: 20px;
}

.yt-video-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.yt-video-content p {
    font-size: 15px;
    color: #777;
    margin: 0;
}

/* Navigation */

.yt-slider-btn-prev,
.yt-slider-btn-next {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    transition: .3s ease;
}




/* Pagination */

.yt-slider-pagination {
    margin-top: 35px;
    text-align: center;
}

.yt-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #c9c9c9;
    opacity: 1;
    transition: .3s;
}

.yt-slider-pagination .swiper-pagination-bullet-active {
    width: 35px;
    border-radius: 30px;
    background: #f02626;
}

/* Responsive */

@media(max-width:992px) {

    .yt-video-heading h2 {
        font-size: 42px;
    }

}

@media(max-width:768px) {

    .yt-video-section {
        padding: 70px 15px;
    }

    .yt-video-heading h2 {
        font-size: 34px;
    }

    .yt-video-heading p {
        font-size: 15px;
    }

    .yt-video-card {
        border-radius: 25px;
    }



}

@media(max-width:768px) {

    .yt-video-section {
        padding: 70px 15px;
    }

    .yt-video-heading h2 {
        font-size: 34px;
    }

    .yt-video-heading p {
        font-size: 15px;
    }

    .yt-video-card {
        border-radius: 25px;
    }

}

/* Mobile Navigation */

.mobile-nav{
    display:none;
}

.yt-mobile-prev,
.yt-mobile-next{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.yt-mobile-prev:hover,
.yt-mobile-next:hover{
    background:#f02626;
    color:#fff;
}

@media(max-width:768px){

    /* hide desktop buttons */
    .yt-slider-btn-prev,
    .yt-slider-btn-next{
        display:none;
    }

    /* show mobile buttons */
    .mobile-nav{
        display:flex;
        justify-content:center;
        gap:15px;
        margin-top:20px;
        margin-bottom:15px;
    }

}
