/* ==========================================
   Testimonials Section Styles
   ========================================== */

.testimonials-section {
    background-color: var(--navy-primary); /* Use variable */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* Detailed pattern overlay for texture */
    background-image: radial-gradient(var(--navy-secondary) 1px, transparent 1px);
    background-size: 30px 30px;
}

.testimonials-wrapper {
    display: flex;
    flex-direction: column; /* Mobile: Text first, Card second */
    gap: 60px;
    align-items: center;
}

/* Large Screens */
@media (min-width: 992px) {
    .testimonials-wrapper {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
        gap: 80px;
    }
}

/* --- Text Content (Right Side in RTL) --- */
.testimonials-content {
    text-align: right;
    z-index: 2;
}

.testimonials-content .section-badge {
    color: var(--gold-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
}

.testimonials-content .section-title {
    color: var(--white); /* This likely needs to be var(--text-primary) or similar for light mode, but keeping white for dark bg sections? Wait, if section bg flips to white, text must be dark. Use --text-primary */
    color: var(--text-primary); 
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
}

.testimonials-content .section-description {
    color: var(--text-secondary); /* Use variable */
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 40px;
}

/* --- Testimonials Slider/Card (Left Side in RTL) --- */
.testimonials-slider {
    position: relative;
    width: 100%;
    /* max-width: 500px; */ 
}

.testimonial-card {
    background-color: var(--navy-secondary); /* Use variable */
    border-radius: 20px;
    padding: 60px 40px 40px; /* Top padding for overlapped image */
    text-align: center;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.1); /* Subtle gold border */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    display: none; /* Hidden by default for slider */
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Overlapping Client Image */
.client-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--navy-secondary); /* Use variable */
    padding: 3px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.client-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Client Details */
.client-name {
    color: var(--text-primary); /* Use variable */
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px; /* Space for image */
    margin-bottom: 5px;
}

.client-role {
    color: var(--text-secondary); /* Use variable */
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

/* Rating Stars */
.client-rating {
    color: var(--gold-primary);
    font-size: 1rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

/* Quote */
.client-quote {
    color: var(--text-primary); /* Use variable - or maybe text-secondary but brighter? Let's stick to theme variables */
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    opacity: 0.9;
    position: relative;
}

.client-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--gold-primary);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: var(--font-primary);
}

/* --- Navigation Dots (Below Text on Right) --- */
.testimonials-dots {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.testimonials-dots .dot {
    width: 12px;
    height: 12px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dots .dot.active {
    background-color: var(--gold-primary);
    transform: scale(1.2);
}
