.somnath-testi-section {
    padding: 40px 0;
    background-color: #f9f8f2;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.somnath-testi-header {
    text-align: center;
    margin-bottom: 40px;
}

.somnath-testi-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.somnath-testi-header p {
    color: #555;
    font-size: 1rem;
}

.somnath-testi-mt-30 {
    margin-top: 30px;
}

.somnath-testi-slider-area {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.somnath-testi-track {
    display: flex;
    width: max-content;
}

.somnath-testi-track:hover {
    animation-play-state: paused;
}

.somnath-testi-scroll-left {
    animation: somnath-scroll-l 30s linear infinite;
}

@keyframes somnath-scroll-l {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.somnath-testi-scroll-right {
    animation: somnath-scroll-r 30s linear infinite;
}

@keyframes somnath-scroll-r {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.somnath-testi-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    width: 360px;
    margin-right: 25px;
    border-bottom: 4px solid var(--text-ocan);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.somnath-testi-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.somnath-testi-quote-icon {
    background: #f3f4f6;
    color: #555;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    line-height: 1;
}

.somnath-testi-card h4 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    color: #333;
}

.somnath-testi-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 25px;
}

.somnath-testi-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.somnath-testi-author-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.somnath-testi-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.somnath-testi-author-info h5 {
    margin: 0 0 3px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.somnath-testi-author-info span {
    font-size: 0.8rem;
    color: #6b7280;
}

.somnath-testi-stars {
    font-size: 1rem;
    letter-spacing: 1px;
    color: #f59e0b;
}

@media (max-width: 768px) {
    .somnath-testi-card {
        width: 320px;
    }

    .somnath-testi-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .somnath-testi-card {
        width: 280px;
        padding: 20px;
    }

    .somnath-testi-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}