
.testimony-container {
    max-width: 1200px;
    margin: 50px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 40px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.section-header p {
    font-size: 18px;
    color: #777;
}

.testimony-wrapper {
    position: relative;
    overflow: hidden;
    padding: 50px;
}

.testimony-grid {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease-in-out;
}

.testimony-card {
    flex: 0 0 55%;
    gap: 15px;
    display: flex;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 12px;
    text-align: left;
    box-shadow: 4px 5px 12px rgba(0, 0, 0, 0.25);
}
.testimony-card img {
    width: 250px;
    height: 300px;
    object-fit: cover;
}
.testimony-card div {
    padding: 10px;
}

.testimony-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.testimony-question {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    color: #333;
}

.testimony-answer {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.testimony-name {
    font-size: 14px;
    font-weight: bold;
    color: #aeb57c;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #aeb57c;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev { left: -50px; }
.next { right: -50px; }

.prev:hover,
.next:hover {
    background: #aeb57c;
}

@media screen and  (max-width:960px) {
    .testimony-card{
        flex-direction: column;
    }
    .testimony-container{
        max-width: 100%;
        padding: 20px 0;
    }
    .blog-grid{
        flex-wrap: wrap;
    }
}