/* ===== BASE STYLES ===== */
:root {
    /* New Color Scheme */
    --primary-blue: #1a73e8;
    --blue-dark: #0d47a1;
    --blue-light: #8ab4f8;
    --accent-orange: #ff7043;
    --accent-green: #00c853;
    
    /* Neutrals */
    --text-dark: #202124;
    --text-medium: #5f6368;
    --text-light: #9aa0a6;
    --background-light: #f8f9fa;
    --border-color: #dadce0;
    
    /* Effects */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--blue-dark), var(--primary-blue));
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, 
            rgba(255,255,255,0.05) 25%, 
            transparent 25%, 
            transparent 75%, 
            rgba(255,255,255,0.05) 75%, 
            rgba(255,255,255,0.05)),
        linear-gradient(45deg, 
            rgba(255,255,255,0.05) 25%, 
            transparent 25%, 
            transparent 75%, 
            rgba(255,255,255,0.05) 75%, 
            rgba(255,255,255,0.05));
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.testimonials .subhead {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 85%;
    margin-right: 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.customer-info h4 {
    margin-bottom: 0.25rem;
    color: white;
    font-size: 1.2rem;
}

.location {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.stars {
    color: var(--accent-orange);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.testimonial-content {
    position: relative;
}

.testimonial-content p {
    font-style: normal;
    color: white;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-date {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-align: right;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.75rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, var(--blue-dark), var(--primary-blue));
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, 
            rgba(255,255,255,0.05) 25%, 
            transparent 25%, 
            transparent 75%, 
            rgba(255,255,255,0.05) 75%, 
            rgba(255,255,255,0.05)),
        linear-gradient(45deg, 
            rgba(255,255,255,0.05) 25%, 
            transparent 25%, 
            transparent 75%, 
            rgba(255,255,255,0.05) 75%, 
            rgba(255,255,255,0.05));
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-subhead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.highlight-item i {
    color: var(--accent-orange);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 280px;
    font-size: 1.1rem;
}

.cta-primary {
    background-color: var(--accent-orange);
    color: white;
    border: 2px solid var(--accent-orange);
}

.cta-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.cta-separator {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 1.5rem;
}

.cta-guarantee i {
    color: var(--accent-orange);
}

/* Responsive adjustments */
@media (min-width: 600px) {
    .testimonial-card {
        width: 45%;
    }
    
    .testimonials h2 {
        font-size: 2.5rem;
    }
    
    .testimonials .subhead {
        font-size: 1.3rem;
    }

    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }

    .cta-separator {
        padding: 0 1rem;
    }
}

@media (min-width: 992px) {
    .testimonial-card {
        width: 30%;
    }
}