﻿
.testimonials-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #031114;
    color: rgb(86, 86, 86);
    font-size: 18px;
    font-weight: bold;
    border: 2px solid gray;
    border-radius: 50px;
    padding: 10px 30px;
    margin: 0 auto;
    text-align: center;
    transition: 0.3s ease-in-out;
    width: fit-content;
    margin-top: 10vh;
    margin-bottom: 10vh;
}



.testimonials-title {
    text-align: center;
    font-size: 20px;
    color: white;
    margin: 10px 0;
    line-height: 1.4;
    margin-bottom: 10vh;
}

.testimonials-section {
    padding: 20px;
    margin: 20px auto;
    border-radius: 28.73px;
    width: 80%;
    text-align: center;
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.testimonial-card {
    background: #031317;
    border-radius: 15px;
    padding: 20px;
    color: white;
    margin: 0.5%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.testimonial-card:hover {
    transform: scale(1.03);
}

.testimonial-header-section {
    background: #051E24;
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 5px;
    font-size: 18vh;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-logo {
    width: 35px;
    margin-bottom: 2vh;
    margin-top: 1vh;
}

.testimonial-rating {
    color: yellow;
    font-size: 20px;
    margin-bottom: 2vh;
    margin-top: 1vh;
}


.separator {
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    margin: 3px 0;
    margin-top: 10px;
    margin-bottom: 10px;
}


.testimonial-text {
    margin: 6px 0;
    margin-top: 5vh;
    font-size: 18px;
    color: #d2d1d1;
    text-align: left;
}

.client-info-section {
    margin-top: 5px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-image {
    width: 100px;
    height: 75px;
    border-radius: 5%;
    margin-right: 5px;
}

.client-details {
    text-align: left;
    line-height: 1;
}

.client-name {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.client-role {
    font-size: 11px;
    color: yellow;
    margin-top: 2px;
    display: block;
}



.sales-hero-container {
    width: 100%;
    max-width: 1800px;
    margin: 50px auto;
    text-align: center;
    padding: 50px 20px;
    border-radius: 12px;
    color: white;
    opacity: 0.8;
    background: url('../../static/image/backgroundtestimonials.png') no-repeat center/cover,
    url('../../static/image/line.png') no-repeat center;



}


.sales-hero-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sales-hero-text {
    font-size: 16px;
    margin-bottom: 20px;
}

.sales-hero-btn {
    background-color: yellow;
    color: black;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.sales-hero-btn:hover {
    transform: scale(1.05);
}

.sales-hero-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .testimonial-card {
        padding: 15px;
        min-height: auto;
        text-align: center;
    }

    .testimonial-header {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-logo {
        width: 35px;
        margin-bottom: 10px;
    }

    .testimonial-rating {
        font-size: 16px;
    }

    .testimonial-text {
        font-size: 14px;
        text-align: center;
        margin-top: 10px;
    }

    .client-info {
        flex-direction: column;
        align-items: center;
    }

    .client-image {
        width: 40px;
        height: 40px;
        margin-bottom: 5px;
    }

    .client-name {
        font-size: 14px;
        text-align: center;
    }

    .client-role {
        font-size: 12px;
        text-align: center;
    }
    .small-second-left{
        font-size: 1px;
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
.testimonial-card {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.testimonial-card:nth-child(odd) {
    transform: translateX(-100px);
}

.testimonial-card:nth-child(even) {
    transform: translateX(100px);
}

.animate-left-to-right {
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 0.8s ease-in-out forwards;
}

.animate-right-to-left {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.8s ease-in-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
