/* ==============================
   Testimonials Section
============================== */
.ashray-testimonials {
    position: relative;
    padding: 80px 20px;
    overflow: hidden;
    text-align: center;
    background: var(--background-light, #f8f9fa);
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Ghosted Background Text */
.ashray-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(44,44,44,0.03);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    line-height: 1;
}

/* Section Title */
.ashray-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-dark, #222);
    position: relative;
    z-index: 2;
}

/* Slider Controls */
.ashray-slider-controls {
    display: flex;
    justify-content: flex-end;
    max-width: 800px;
    margin: 0 auto 20px;
    z-index: 2;
    position: relative;
}

.ashray-arrow {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark, #222);
    cursor: pointer;
    padding: 5px 10px;
    margin-left: 10px;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
}

.ashray-arrow:hover:not(:disabled) {
    color: var(--background-white, #fff);
    background-color: var(--primary-accent, #f57c00);
}

.ashray-arrow:disabled {
    color: var(--border-subtle, #aaa);
    cursor: not-allowed;
}

/* Slider Container */
.ashray-testimonial-slider {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Individual Testimonial Card */
.ashray-testimonial-card {
    flex: 1 1 350px;
    text-align: center;
    padding: 20px;
    background-color: var(--background-white, #fff);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s, transform 0.5s;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
}

.ashray-testimonial-card.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    position: relative;
}

/* Avatar Circle */
.ashray-avatar-circle {
    width: 120px;
    height: 120px;
    background-color: var(--primary-dark, #222);
    border-radius: 50%;
    margin: -80px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-white, #fff);
    font-size: 3rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Reviewer Name */
.ashray-reviewer-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--primary-dark, #222);
}

/* Reviewer Role */
.ashray-reviewer-role {
    font-size: 0.9rem;
    color: var(--text-secondary, #555);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.ashray-reviewer-role::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-accent, #f57c00);
}

/* Quote */
.ashray-testimonial-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary, #555);
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 860px) {
    .ashray-testimonial-slider {
        flex-direction: column;
        gap: 20px;
        max-width: 400px;
    }
    .ashray-slider-controls {
        justify-content: center;
        margin-top: 20px;
    }
    .ashray-testimonial-card {
        margin-top: 60px;
    }
    .ashray-avatar-circle {
        margin-top: -60px;
    }
    .ashray-bg-text {
        font-size: 30vw;
    }
}

/* Client Logo Slider Wrapper */
.ashray-logo-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.ashray-logo-slider-track {
    display: flex;
    gap: 30px;
    animation: scrollLogos 20s linear infinite;
}

.ashray-logo-item {
    flex: 0 0 auto;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(80%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.ashray-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ashray-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Infinite scroll keyframes */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
    .ashray-logo-item {
        width: 80px;
        height: 50px;
    }
    .ashray-logo-slider-track {
        gap: 15px;
    }
}
