.testimonial-section {
    width: 100%;
    margin: 0px auto 92px;
    background: var(--color-accent-3);
}
.testimonial-section .testimonial-container {
    display: flex;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    flex-direction: column;
    gap: 32px;
    padding: 16px;
    color: var(--color-primary);
}

.testimonial-section .testimonial-container .heading-text {
    width: 100%;
    text-align: center;
    margin: 48px 0 14px;
}
.testimonial-section .testimonial-container .heading-text .leading-text {
    font-size: var(--f6);
    font-weight: 600;
}
.testimonial-section .testimonial-container .heading-text .desc {
    font-family: var(--f3);
    font-weight: normal;
}
.testimonial-section .testimonial-container .card-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 0 48px;
}
.testimonial-section .testimonial-container .card-container .card {
    all: unset;
    display: flex;
    flex-direction: column;
    flex: 0 0 30%;
    overflow: hidden;
    gap: 8px;
    height: 300px;
}
.testimonial-section .testimonial-container .card-container .card:hover {
    cursor: pointer;
}
.testimonial-section .testimonial-container .card-container .card .card-thumnail {
    width: 100%;
    max-width: 390px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.testimonial-section .testimonial-container .card-container .card .card-thumnail::before {
    content: "\f04b";
    font-family: "fontawesome";
    font-size: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translatex(-50%) translateY(-50%);
    z-index: 1;
}
.testimonial-section .testimonial-container .card-container .card .card-thumnail img{
    width: 380px;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.testimonial-section .testimonial-container .card-container .card .card-thumnail:hover img {
    transform: scale(1.05);
}
.testimonial-section .testimonial-container .card-container .card .card-desc {
    font-size: var(--f3);
    font-weight: normal;
}

/*Modal*/
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.modal .modal-content {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    position: relative;
    max-width: 800px;
    width: 90%;
    height: auto;
    overflow: hidden;
}
.modal .modal-content .close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 32px;
    cursor: pointer;
    color : black;
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.modal .modal-content #videoFrame {
    width: 100%;
}
/* Disable scroll */
.no-scroll {
    overflow: hidden !important;
}

@media screen and (max-width:600px) {
    .modal .modal-content .close {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 24px;
        cursor: pointer;
        color: #ffffff;
        display: flex;
        width: 32px;
        height: 32px;
        justify-content: center;
        align-items: center;
        font-weight: normal;
    }
    .modal .modal-content {
        background-color: transparent;
        padding: 0;
        border-radius: 0 !important;
        position: relative;
        max-width: 800px;
        width: 100%;
        height: auto;
        overflow: hidden;
    }
}