/* ADA-Compliant Color Variables */
:root {
    --text-primary: #1a1a1a;           
    --text-secondary: #2d2d2d;         
    --text-light: #4a4a4a;            
    --text-on-dark: #ffffff;          
    --text-muted-dark: #e8e8e8;       
    --accent-orange: #FF8C00;         
    --accent-blue: #0066cc;           
    --background-dark: #444444;       
    --background-gradient: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 100%);
    --background-light: #ffffff;      
    --border-color: #d0d0d0;         
}

/* Hero Section */
.hero {
    background: var(--background-gradient);
    color: var(--text-on-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* *** FIXED: Made "Restore Your" lighter grey for better contrast *** */
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #f0f0f0;  /* Changed from pure white to light grey */
}

.hero-content .highlight { 
    color: var(--accent-orange); 
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--text-on-dark);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Trust Indicators - HIGH CONTRAST FIX */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-indicator {
    display: flex;
    align-items: center;
    color: var(--text-on-dark);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-orange);
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
}

.trust-indicator::before {
    content: '✓';
    margin-right: 10px;
    font-weight: bold;
    color: var(--accent-orange);
    font-size: 1.1em;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--text-on-dark);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e67c00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
    color: var(--text-on-dark);
}

.btn-secondary {
    border: 2px solid var(--text-on-dark);
    color: var(--text-on-dark);
    background: transparent;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--text-on-dark);
    color: var(--background-dark);
}

/* Lead Form - HIGH CONTRAST */
.lead-form {
    background: var(--background-light);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--border-color);
}

.lead-form h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.lead-form .subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 1rem;
}

/* Form Groups - HIGH CONTRAST */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--background-light);
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z" fill="%23333"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
    padding-right: 40px;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--background-light);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header .highlight {
    color: var(--accent-orange);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--background-light);
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-on-dark);
    font-weight: bold;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* Stats Section */
.stats-section {
    background: #f8f8f8;
    padding: 80px 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    background: var(--background-light);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Footer - HIGH CONTRAST */
.site-footer {
    background: var(--background-dark);
    color: var(--text-on-dark);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

/* *** FIXED: Made footer headings brighter for better contrast *** */
.footer-section h4 {
    color: #FFB84D;  /* Lighter orange for better contrast on dark background */
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-on-dark);
    text-decoration: none;
    line-height: 1.8;
    font-weight: 400;
}

.footer-section a {
    color: var(--text-on-dark);
    text-decoration: underline;
    font-weight: 500;
}

.footer-section a:hover {
    color: #FFB84D;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #666666;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .trust-indicator {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

/* Loading States */
.lead-form.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading-spinner {
    display: none;
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.lead-form.loading .loading-spinner {
    display: block;
