﻿.testimonial-container {
    width: 100%;
    padding: 60px 0;
}

.testimonial-grid {
    display: grid;
    gap: 4.5rem;
}

.image-container {
    position: relative;
    width: 100%;
    height: 24rem;
    perspective: 1000px;
}

.testimonial-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.name {
    font-size: 16px !important;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.25rem;
}

.designation {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 1rem;
}

.quote {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.75;
}

.arrow-buttons {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
}

.arrow-button {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background-color: #006ea6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    border: none;
}

    .arrow-button:hover {
        background-color: #00a1f2;
    }

    .arrow-button svg {
        width: 1.5rem;
        height: 1.5rem;
        fill: #f1f1f7;
        transition: transform 0.3s;
    }

    .arrow-button:hover svg {
        fill: #ffffff;
    }

.prev-button:hover svg {
    transform: rotate(-12deg);
}

.next-button:hover svg {
    transform: rotate(12deg);
}

@media (min-width: 991px) {
    .testimonial-grid {
        grid-template-columns: 1fr 2fr;
        gap: 5rem;
    }

    .arrow-buttons {
        padding-top: 0;
    }
    .name {
        font-size: 20px !important;
    }
    .designation {
        margin-bottom: 2rem;
    }
}
