/* testimonial header start  */

.testimonial-header-section {
    margin-bottom: 42px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.testimonial-header-section .section-eyebrow {
    margin-bottom: 23px;
}

.testimonial-header-section .heading {
    font-weight: 400;
    font-size: 48px;
    line-height: 67px;
    letter-spacing: -1.5px;
    color: var(--black);
    margin-bottom: 8px;
}

.testimonial-header-section .paragraph {
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0px;
    color: #6D6D6D;
}

.testimonial-header-section .link span {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
    text-decoration: underline;
    color: #F9452D;
}

/* testimonial header end  */

/* card css start  */

.card-wrapper {
    min-height: 500px;
    padding: 25px 45px 25px 35px;
    border: 1px solid #E4E4E4;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    height: 100%;
}

.card-wrapper .coma-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 8px;
}

.card-wrapper .heading {
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0;
    color: #000000;
    margin-bottom: 10px;
}

.card-wrapper .paragraph {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #6D6D6D;
    padding-right: 7px;
}

.card-wrapper .content {
    margin-bottom: 101px;
}

.profile-wrapper {
    display: flex;
    gap: 15px;
    align-items: end;
}

.profile {
    width: 45px;
    height: 45px;
}

.profile-wrapper .text {
    display: flex;
    justify-content: start;
    align-content: start;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0;
}

.profile-wrapper .text .heading {
    margin-bottom: 2px;
}

/* card css end  */

/* video card start  */
/* #videoOverlay {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: none;
    z-index: 999;
    opacity: 1;
} */
#videoPopup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #ffffff7d;
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    padding: 70px 20px;
    overflow: hidden;
}

#videoPopup.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

#videoPopup iframe {
    width: 1320px;
    max-width: 100%;
    height: 100%;
    max-height: calc(100vh - 140px); /* Account for padding */
    display: block;
    border-radius: 5px;
    margin: 0 auto; /* Centers horizontally */
}

.close-btn {
    position: absolute;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 20px;
    right: 20px;
    border: 1px solid #EEEEEE;
    background: white;
    cursor: pointer;
    z-index: 1001;
    transition: 0.3s ease-in-out;
}

.close-btn:hover {
    background-color: black;
    border: 1px solid black;
}

.cross-icon {
    width: 13px !important;
    height: 13px !important;
}

.cross-icon.white {
    display: none;
}

.close-btn:hover .cross-icon.black {
    display: none;
}

.close-btn:hover .cross-icon.white {
    display: block;
}
.video-card {
    height: 100%;
    position: relative;
}

.pause-wrapper {
    height: 64px;
    width: 64px;
    background-color: #F9452DFF;
    border: 1px solid #F9452DFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    top: auto;
    left: auto;
    bottom: 35px;
    right: 31px;
}

.thumbnail {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.thumbnail-desktop {
    display: block;
}

.thumbnail-tablet {
    display: none;
}

.thumbnail-mobile {
    display: none;
}


.company-name {
    position: absolute;
    opacity: 1;
    top: 47px;
    left: 58px;
}

.video-caption {
    display: inline-flex;
    justify-content: start;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    left: 58px;
    bottom: 40px;
}

.video-caption .paragraph {
    padding: 4px 12px;
    background-color: #F9452D;
    font-weight: 600;
    font-size: 44px;
    line-height: 53px;
    letter-spacing: -1.96px;
    color: white;
    max-width: fit-content;
}

/* video card end  */


@media (max-width: 1300px) {
    #videoPopup {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 1024px) {

    /* heading section start  */
    .grid-testimonial {
        display: grid;
        gap: 24px;
    }

    .testimonial-header-section {
        margin-bottom: 30px;
        gap: 20px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: start;
    }

    .testimonial-header-section .section-eyebrow {
        margin-bottom: 23px;
    }

    .testimonial-header-section .heading {
        font-size: 34px;
        line-height: 44px;
        letter-spacing: -0.65px;
    }

    .testimonial-header-section .paragraph {
        font-size: 16px;
        line-height: 25px;
    }

    .testimonial-header-section .link span {
        font-weight: 400;
        font-size: 16px;
        line-height: 25px;
        letter-spacing: 0%;
        text-decoration: underline;
        color: #F9452D;
    }

    /* heading section end  */

    /* card css start  */
    .card-wrapper {
        min-height: 452px;
        padding: 25px 35px 25px 35px;
    }

    .card-wrapper .coma-icon {
        width: 18px;
        height: 18px;
        margin-bottom: 7px;
    }

    .card-wrapper .heading {
        font-weight: 400;
        margin-bottom: 9px;
    }

    .card-wrapper .paragraph {
        padding-right: 0;
    }

    .card-wrapper .content {
        margin-bottom: 50px;
    }

    .profile-wrapper .text .heading {
        font-weight: 500;
        margin-bottom: 2px;
    }

    /* card css end  */
    /* video card start  */
    .cross-icon {
        width: 10px;
        height: 10px;
    }

    .thumbnail-desktop {
        display: none;
    }

    .thumbnail-tablet {
        display: block;
    }

    .thumbnail-mobile {
        display: none;
    }

    .video-caption {
        left: 30px;
        bottom: 30px;
    }

    .video-caption .paragraph {
        font-size: 36px;
    }

    /* video card  end  */
}


@media (max-width: 767.98px) {
/* heading wrapper start  */
    .testimonial-header-section {
        gap: 16px;
    }

    .testimonial-header-section .heading {
        font-size: 28px;
        line-height: 32px;
        letter-spacing: -0.56px;
        margin-bottom: 10px;
    }

    .testimonial-header-section .paragraph {
        font-size: 14px;
        line-height: 20px;
    }
    /* heading wrapper end   */
     /* card css start  */

    .card-wrapper {
        min-height: 450px;
    }

    .card-wrapper .coma-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 8px;
    }

    .card-wrapper .heading {
        font-weight: 500;
        margin-bottom: 10px;
    }

    .card-wrapper .content {
        margin-bottom: 45px;
    }

    .testimonials-page {
        padding-top: 30px !important;
    }

    /* card css end  */
    /* video popup start  */

    .company-name {
        left: 28px;
        top: 20px;
        width: 84px;
        height: 49px;
    }

    .company-name img {
       height: 55px;
        width: 55px;
        object-fit: cover;
    }

    .pause-wrapper {
        width: 51px;
        height: 51px;
        bottom: 18px;
        right: 15px;
    }
    #videoPopup {
        padding: 15px;
    }

    .close-btn {
        top: 30px;
        right: 35px;
    }

    .video-card {
        margin-bottom: 20px;
    }
    #videoPopup {
        padding: 10px;
        width: 100%;
        height: 100%;
    }
    .close-btn {
        top: 16px;
        right: 16px;
        width: 18px;
        height: 18px;
    }

    
    .thumbnail-desktop {
        display: none;
    }
    
    .thumbnail-tablet {
        display: none;
    }
    
    .thumbnail-mobile {
        display: block;
    }
    
    .video-caption {
        left: 25px;
        bottom: 25px;
    }
    
    .video-caption .paragraph {
        padding: 2px 7px;
        font-size: 28px;
        line-height: 34px;
        letter-spacing: -1.24px;
        
    }
    /* video popup end  */
}