
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Epilogue:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap');

/* body {
    font-family: "Epilogue", sans-serif;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    box-sizing: border-box;
} */

body
{
    overflow-x: hidden !important;
}

.carousel-container {
    position: relative;
    width: 100%;
    /* max-width: 1350px; */
    margin: 20px;
    overflow: hidden;
    padding: 0 40px;
    margin-left: -0.15rem; 
}

.carousel-track {
    display: flex;
    /* margin-right: -20px; */
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    font-family: "Epilogue", sans-serif;
    flex: 0 0 46.5%;
    min-width: 40%;
    min-height: 370px;
    box-sizing: border-box;
    padding-right: 10px;
    display: flex;
    gap: 20px;
    background-color: #f5f5f5;
    border-radius: 15px;
    margin-right: 40px;
    overflow: hidden;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.video-container {
    position: relative;
    width: 37%;
    margin-left: -1rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2em;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.testimonial-content {
    width: 62%;
    padding: 1rem;
    padding-top: 35px;
    padding-left: 0;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
}

.testimonial-content p {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
}

.author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid #ececf0;
}

.author-details h4 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

.author-details p {
    margin: 0;
    font-size: 0.9em;
    color: #888;
}

.en_test_gap
{
    margin-bottom: 4.6rem;
}

.en_test_gap2
{
    margin-bottom: 6.2rem;
}

.company-logo {
    max-width: 120px;
    max-height: 40px;
    margin-top: -25px;
    object-fit: contain;
}

.company-logo-app
{
    max-width: 150px;
    max-height: 40px;
    margin-top: -25px;
    object-fit: contain; 
}

/* Nav and Dots Section (Corrected) */
.dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    position: relative;
    padding: 0 40px; /* Provides space for the arrows */
    height: 40px;
}

.nav-button {
    position: absolute;
    top: 100%;
    transform: translateY(-110%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
    color: #555;
    z-index: 10;
    transition: opacity 0.3s;
}

.nav-button.prev {
    left: 36rem; /* Positioned at the left edge of the padding */
}

.nav-button.prev svg {
    /* Styles for the left arrow icon */
    transform: rotate(180deg);
}

.nav-button.next {
    right: 36rem; /* Positioned at the right edge of the padding */
}

.nav-button:hover {
    color: #333;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #333;
}

.test_slide_gap
{
    padding-right: 3rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
        flex-direction: column;
    }

    .video-container,
    .testimonial-content {
        width: 100%;
    }
}

/*---------Responsive Design for Desktop----------------*/

@media screen and (max-width:1140px) and (min-width:992px) {
    
    .nav-button.next
    {
        right: 23rem;
    }

    .nav-button.prev
    {
        left: 23rem;
    }

    .nav-button
    {
        transform: translateY(-110%);
    }

    .testimonial-card
    {
        flex: 0 0 72%;
    }

    .test_slide_gap
    {
        padding-left: 0;
        padding-right: 0;
    }

}

/*---------Responsive Design for Tab----------------*/

@media screen and (max-width:991px) and (min-width:768px) {
    
    .nav-button.next
    {
        right: 16rem;
    }

    .nav-button.prev
    {
        left: 16rem;
    }

    .nav-button
    {
        transform: translateY(-108%);
    }

    .testimonial-card
    {
        flex: 0 0 85%;
    }

    .testimonial-content
    {
        padding: 0;
        padding-top: 35px;
    }

    .test_slide_gap
    {
        padding-left: 0;
        padding-right: 0;
        margin-top: 1rem !important;
    }

}

/*---------Responsive Design for Smartphone----------------*/

@media screen and (max-width:767px) and (min-width:576px) {

    .sec9_col_gap
    {
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .nav-button.next
    {
        right: 10rem;
    }

    .nav-button.prev
    {
        left: 10rem;
    }

    .nav-button
    {
        transform: translateY(-108%);
    }

    .testimonial-card
    {
        display: flex;
        flex: 0 0 100%;
        flex-direction: column !important;
        column-gap: 18px;
        width: 100% !important;
        padding-left: 1.7rem !important;
        padding-right: 1.7rem !important;
        padding-top: 0.5rem !important;
    }

    .testimonial-content
    {
        width: 100% !important;
        padding: 0;
        text-align: justify !important;
    }

    .testimonial-content p
    {
        font-size: 1.1rem;
    }

    .test_slide_gap
    {
        padding-left: 0;
        padding-right: 0;
        margin-top: 1rem !important;
    }

    .video-container
    {
        width: 100% !important;
    }

    .en_test_gap
    {
        margin-bottom: 3.5rem;
    }

}

@media screen and (max-width:575px) and (min-width:360px) {

    .sec9_col_gap
    {
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .carousel-container
    {
        padding: 0 25px;
        margin-left: -0.20px;
    }

    .nav-button.next
    {
        right: 3rem;
    }

    .nav-button.prev
    {
        left: 3rem;
    }

    .nav-button
    {
        transform: translateY(-108%);
    }

    .testimonial-card
    {
        display: flex;
        flex: 0 0 100%;
        flex-direction: column !important;
        column-gap: 18px;
        width: 100% !important;
        height: 520px !important;
        padding-left: 1.7rem !important;
        padding-right: 1.7rem !important;
        padding-top: 0.5rem !important;
    }

    .author-info
    {
        flex-direction: column;
        margin-top: 20px;
        justify-content: center;
    }

    .company-logo
    {
        margin-top: 1rem;
    }

    .company-logo-app
    {
        margin-top: 1rem;
    }

    .col_top_gap
    {
        margin-top: 15px;
    }

    .testimonial-content
    {
        width: 100% !important;
        padding: 0;
        text-align: justify !important;
    }

    .testimonial-content p
    {
        font-size: 1rem;
    }

    .test_slide_gap
    {
        padding-left: 0;
        padding-right: 0;
        padding-top: 1.6rem !important;
        margin-top: 1rem !important;
    }

    .video-container
    {
        width: 100% !important;
    }

    .en_test_gap
    {
        margin-bottom: 2rem;
    }

    .en_test_gap2
    {
        margin-bottom: 2rem;
    }

}
