/* CTA Section Styles for Testimonials Page */

/* Update testimonials and CTA colors */
.testimonial-card {
    border-left: 4px solid var(--secondary-color); /* Now using dark red color */
    background: linear-gradient(135deg, #ffffff 0%, #e8f4fc 100%);
    color: var(--text-color);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.45);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

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

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    font-weight: 700;
}

.cta-section h2::after {
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0.5));
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: #ffffff; /* Ensuring text is bright white */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.8);
    font-weight: 800; /* Further increased font weight for better visibility */
    letter-spacing: 0.5px; /* Slightly increased letter spacing for better readability */
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-button:hover {
    background-color: #e86207;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.7), 0 0 0 3px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

.cta-button .material-icons {
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 2.5rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}