/* WCAG 2.1 AA Compliant Styles for MI Process Serve */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Professional Color Palette - Competitive Process Serving Design */
:root {
    /* Primary Brand Colors - Deep Professional Blue */
    --primary-blue: #1e3a8a;       /* Deep professional blue - trust & authority */
    --primary-dark: #1e293b;       /* Almost black blue for text */
    --primary-medium: #3b82f6;     /* Bright blue for accents */
    --primary-light: #60a5fa;      /* Light blue for hover states */

    /* Secondary Colors - Bold Orange/Red */
    --accent-orange: #ea580c;      /* Bold orange - energy & urgency */
    --accent-gold: #f59e0b;        /* Gold - premium & trust */
    --accent-red: #dc2626;         /* Red - urgency & action */

    /* Background Colors */
    --background-white: #ffffff;
    --background-main: #f8fafc;    /* Very light blue-grey */
    --background-light: #f1f5f9;   /* Light grey-blue */
    --background-grey: #e2e8f0;    /* Medium grey */
    --background-dark: #0f172a;    /* Dark navy for contrast sections */

    /* Text Colors */
    --text-dark: #0f172a;          /* Almost black for primary text */
    --text-medium: #475569;        /* Medium slate for secondary text */
    --text-light: #64748b;         /* Light slate for helper text */

    /* Functional Colors */
    --border-color: #cbd5e1;
    --success-green: #10b981;
    --error-red: #ef4444;
    --shadow-light: rgba(15, 23, 42, 0.08);
    --shadow-medium: rgba(15, 23, 42, 0.12);
    --shadow-heavy: rgba(15, 23, 42, 0.2);

    /* Patriotic Colors - Subtle America Theme */
    --patriot-blue: #1e3a8a;       /* Deep blue - matches primary */
    --patriot-red: #dc2626;        /* Bold red */
    --patriot-white: #ffffff;      /* Pure white */
}

/* Custom Patriotic Scrollbar - All Browsers */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--patriot-red) var(--patriot-blue);
}

/* Webkit Browsers (Chrome, Safari, Edge) - Patriotic Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, var(--patriot-blue) 0%, var(--patriot-blue) 33%, var(--patriot-white) 33%, var(--patriot-white) 66%, var(--patriot-red) 66%, var(--patriot-red) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--patriot-red) 0%, var(--patriot-white) 50%, var(--patriot-blue) 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--patriot-blue) 0%, var(--patriot-white) 50%, var(--patriot-red) 100%);
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.5);
}

/* Typography - Professional & WCAG Compliant */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--background-main) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Paragraph Spacing for Readability */
p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.125rem;
    color: var(--text-dark);
    max-width: 75ch;
}

/* Center-aligned containers should center their paragraphs */
[style*="text-align: center"] p,
[style*="text-align:center"] p,
.text-center p,
*[class*="centered"] p,
.hero p,
.service-card p,
.pricing-card p,
.about-item p,
.pricing-simple-home p,
.option-card p,
.reliability-statement p,
.pricing-cta p,
.contact-method p,
.legal-header p,
.process-step p,
.faq-item p,
section[class*="-hero"] p {
    margin-left: auto;
    margin-right: auto;
}

/* Section Paragraph Spacing */
section p {
    margin-bottom: 2rem;
    line-height: 1.9;
}

/* Coverage Area Enhanced Spacing */
.coverage-content p {
    margin-bottom: 2.5rem;
    line-height: 2;
    font-size: 1.15rem;
}

.coverage-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--patriot-red) 0%, var(--patriot-white) 50%, var(--patriot-blue) 100%);
    border-image-slice: 1;
    padding-bottom: 0.75rem;
}

.coverage-content ul {
    margin: 2rem 0;
    padding-left: 2.5rem;
}

.coverage-content li {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.1rem;
}

/* Ensure main background color is applied consistently */
html {
    background-color: var(--background-main);
}

/* Force background on main sections */
main {
    background-color: var(--background-main);
}

/* Headings - Enhanced for Professional Readability */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    margin-top: 2.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    margin-top: 3rem;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

/* Skip Link - WCAG Required */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-dark);
    color: var(--background-white);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Screen Reader Only Class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Focus Enhancement - WCAG Required */
*:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Professional Design */
header {
    background-color: var(--background-main);
    box-shadow: 0 2px 8px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 142px;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
    min-height: 0px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background-color: #ffffff !important;
    border-radius: 360px !important;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1,
.logo-text h1 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Phone Link - Professional CTA */
.phone-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--background-white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.phone-link:hover,
.phone-link:focus {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info .availability-badge {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
}

/* Hide phone in nav on tablet only (where it squishes) */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact-info {
        display: none;
    }
}

/* Navigation - Professional Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 1rem 1.25rem;
    display: block;
    border-radius: 0;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--primary-blue);
    background-color: var(--background-light);
}

.nav-menu a[aria-current="page"] {
    color: var(--primary-blue);
    font-weight: 700;
    background-color: rgba(30, 58, 138, 0.1);
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: 0.3s;
}

/* Visitor Counter Badge - Positioned in top corner */
.visitor-counter-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
}

.visitor-counter-badge:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.counter-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.counter-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--background-white);
    line-height: 1;
    margin-bottom: 0.15rem;
}

.counter-sublabel {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

/* Hero Section - Professional Design */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--background-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    margin-bottom: calc(30px - 0.5vw);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 41, 59, 0.98) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero p {
    margin-left: auto;
    margin-right: auto;
    max-width: 750px;
}

.hero h2 {
    font-size: 2.25rem;
    color: var(--background-white);
    margin-bottom: 1.5rem;
    font-weight: 600;
    margin-top: 40px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* Customer Satisfaction Focus Text - Simple and Clean */
.focus-text {
    font-size: 1.15rem;
    margin: 1.5rem auto;
    line-height: 1.7;
    max-width: 750px;
}

.focus-text strong {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--accent-orange);
    font-size: 1.25rem;
}

/* CTA Text - Call to Action in Hero */
.cta-text {
    font-size: 1.15rem;
    margin: 1.5rem auto;
    line-height: 1.7;
    max-width: 750px;
}

/* Hero Phone - Prominently displayed in hero */
.hero-phone {
    margin: 0 auto 1.5rem auto;
    text-align: center;
}

.hero-phone-link {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--background-white);
    text-decoration: none;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
    letter-spacing: 1px;
}

.hero-phone-link:hover,
.hero-phone-link:focus {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-orange) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.6);
}

/* Hero Badge - 24/7/365 Availability */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--background-white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin: 1rem auto;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    letter-spacing: 0.5px;
}


/* Footer Availability Badge */
.availability-badge {
    color: var(--accent-gold) !important;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
    letter-spacing: 0.25px;
}

/* Pricing Highlight */
.pricing-highlight {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin: 1rem 0 2rem 0;
    text-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Buttons - Professional Style */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.025em;
    min-height: 48px;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--background-white);
    border-color: var(--accent-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--background-white);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--background-white);
    color: var(--primary-green);
    border-color: var(--background-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Sections - Professional Layout */
section {
    padding: 0 0 5rem 0;
}

.services {
    background-color: var(--background-main);
}

.coverage-area {
    background-color: var(--background-main);
}

.pricing {
    background-color: var(--background-main);
}

.about {
    background-color: var(--background-main);
}

/* Section Headings */
section h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    margin-top: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding-bottom: 1rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--patriot-blue) 0%, var(--patriot-white) 50%, var(--patriot-red) 100%);
    border-image-slice: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section Headings - Override section h2 for proper contrast */
/* Applies to ALL hero variants: .hero, .about-hero, .contact-hero, .coverage-hero, .error-hero, .pricing-hero, .services-hero */
.hero h2,
.hero h3,
.hero p,
.hero .hero-text,
.hero .focus-text,
.hero .cta-text,
.about-hero h2,
.about-hero h3,
.about-hero p,
.contact-hero h2,
.contact-hero h3,
.contact-hero p,
.coverage-hero h2,
.coverage-hero h3,
.coverage-hero p,
.error-hero h2,
.error-hero h3,
.error-hero p,
.pricing-hero h2,
.pricing-hero h3,
.pricing-hero p,
.services-hero h2,
.services-hero h3,
.services-hero p {
    color: var(--background-white) !important;
}

.hero .focus-text strong,
.about-hero .focus-text strong,
.contact-hero .focus-text strong,
.coverage-hero .focus-text strong,
.pricing-hero .focus-text strong,
.services-hero .focus-text strong {
    color: var(--accent-orange) !important;
}

/* Services Grid - Professional Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Services grid balanced for 4 items - 2x2 on desktop */
@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background-color: var(--background-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--patriot-blue) 0%, var(--patriot-white) 50%, var(--patriot-red) 100%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.service-icon {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* What a Process Server Does Section - Enhanced Readability */
.what-we-do-section {
    background-color: var(--background-main);
    padding: 0;
}

.what-we-do-section h2 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--patriot-blue) 0%, var(--patriot-white) 50%, var(--patriot-red) 100%);
    border-image-slice: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.what-we-do-section .section-intro {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 4rem auto;
    padding: 0 1rem;
}

.what-we-do-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
}

.what-we-do-item {
    background-color: var(--background-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border-left: 5px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.what-we-do-item:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 30px var(--shadow-medium);
    border-left-color: var(--accent-orange);
}

.what-we-do-item h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--background-light);
}

.what-we-do-item p {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.what-we-do-item ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.what-we-do-item li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--background-light);
}

.what-we-do-item li:last-child {
    border-bottom: none;
}

.what-we-do-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.what-we-do-item li strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* CTA Box within What We Do Section */
.what-we-do-section .cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--background-white);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-heavy);
    margin-top: 4rem;
}

.what-we-do-section .cta-box h3 {
    color: var(--background-white) !important;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.what-we-do-section .cta-box p {
    color: var(--background-white);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Who We Serve Section */
.who-we-serve-section {
    background-color: var(--background-white);
    padding: 5rem 0;
}

.who-we-serve-section h2 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--patriot-red) 0%, var(--patriot-white) 50%, var(--patriot-blue) 100%);
    border-image-slice: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.who-we-serve-section .section-intro {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 4rem auto;
    padding: 0 1rem;
}

.who-we-serve-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Who We Serve grid balanced for 5 items - 3 on top, 2 centered on bottom */
@media (min-width: 769px) {
    .who-we-serve-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .serve-card:nth-child(1),
    .serve-card:nth-child(2),
    .serve-card:nth-child(3) {
        grid-column: span 2;
    }

    .serve-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .serve-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.serve-card {
    background-color: var(--background-main);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.serve-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--patriot-red) 0%, var(--patriot-white) 50%, var(--patriot-blue) 100%);
}

.serve-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-color: var(--accent-orange);
}

.serve-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.serve-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.serve-card p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

/* Process Section - Service Process Steps */
.process-section {
    background-color: var(--background-light);
    padding: 5rem 0;
}

.process-section h2 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--patriot-blue) 0%, var(--patriot-white) 50%, var(--patriot-red) 100%);
    border-image-slice: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.process-step {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-medium) 100%);
    color: var(--background-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.process-step h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.process-step p {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

/* Coverage Area - Already enhanced above with detailed spacing */
.coverage-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    margin-bottom: 3rem;
}

/* Counties Grid Layout */
.counties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Four county grid - 2x2 layout */
.counties-grid-four {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1600px;
}

@media (max-width: 1024px) {
    .counties-grid,
    .counties-grid-four {
        grid-template-columns: 1fr;
    }
}

/* County Cards */
.county-card {
    background-color: var(--background-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.county-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--patriot-blue) 0%, var(--patriot-white) 50%, var(--patriot-red) 100%);
}

.county-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-color: var(--primary-blue);
}

.county-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 1rem;
}

.county-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.municipalities h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.city-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
}

.city-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.25rem;
}

.city-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.coverage-note {
    font-style: italic;
    color: var(--text-medium);
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* Service Features Grid */
.service-features {
    background-color: var(--background-light);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.service-features h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent-gold);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 0;
}

.feature p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* Michigan Coverage Section */
.michigan-coverage {
    background-color: var(--background-white);
    padding: 5rem 0;
}

.michigan-coverage h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.michigan-regions {
    margin: 3rem 0;
}

.michigan-regions h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .regions-grid {
        grid-template-columns: 1fr;
    }
}

.region {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.region:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.region h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 1rem;
}

.region p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

.michigan-benefits {
    background-color: var(--background-light);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.michigan-benefits h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.michigan-benefits ul {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.michigan-benefits li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.michigan-benefits li:last-child {
    border-bottom: none;
}

.michigan-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Pricing Section - Pricing Page Styling */
.pricing-simple {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card-single {
    background-color: var(--background-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    text-align: center;
}

.pricing-card-single h3,
.pricing-card-single h4 {
    text-align: center;
}

.pricing-card-single .service-description {
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card-single .pricing-info {
    text-align: center;
}

.pricing-card-single .pricing-info p {
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card-single ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto;
    max-width: 600px;
    text-align: left;
}

.pricing-card-single li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pricing-card-single li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA Section - General Styling */
.cta-section {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--background-white);
    padding: 3.5rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow-heavy);
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h3 {
    color: var(--background-white) !important;
    font-size: 2.25rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    border-bottom: none;
    padding-bottom: 0;
    font-weight: 700;
}

.cta-box p {
    color: var(--background-white);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: var(--accent-orange);
    color: var(--background-white);
    border-color: var(--accent-orange);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.cta-buttons .btn-primary:hover,
.cta-buttons .btn-primary:focus {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

.cta-buttons .btn-secondary {
    background-color: var(--background-white);
    color: var(--primary-blue);
    border-color: var(--background-white);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary:hover,
.cta-buttons .btn-secondary:focus {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* Pricing Section - Home Page Specific Styling */
.pricing-simple-home {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--background-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.pricing-intro {
    margin-bottom: 3rem;
}

.pricing-intro p {
    font-size: 1.25rem;
    line-height: 2;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.pricing-intro p:last-child {
    font-size: 1.15rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.pricing-tagline {
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    color: var(--accent-gold) !important;
    font-style: italic;
    margin-bottom: 2.5rem !important;
}

.pricing-contact {
    font-size: 1.2rem !important;
    color: var(--accent-orange) !important;
    margin-top: 2.5rem !important;
}

/* Service Options Grid */
.service-options-grid {
    margin: 3.5rem 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid var(--primary-blue);
}

.service-options-grid h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 0;
}

.options-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.option-card {
    background-color: var(--background-white);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px var(--shadow-medium);
    border-color: var(--primary-blue);
}

.option-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 0;
}

.option-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* Reliability Statement */
.reliability-statement {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    border-radius: 12px;
    border-left: 5px solid var(--success-green);
}

.reliability-statement h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.reliability-statement p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 0;
}

.pricing-features-home {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.pricing-features-home h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    margin-top: 0;
}

.pricing-features-home ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features-home li {
    font-size: 1.15rem;
    line-height: 1.8;
    padding: 1rem 0;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features-home li:last-child {
    border-bottom: none;
}

.pricing-features-home li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.5rem;
}

.pricing-features-home li.optional-service {
    background-color: rgba(245, 158, 11, 0.1);
    padding: 1.25rem 1rem 1.25rem 2.5rem;
    margin: 1.5rem -1rem 0 -1rem;
    border-radius: 6px;
    border: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
    font-weight: 600;
    color: var(--primary-dark);
}

.pricing-features-home li.optional-service::before {
    content: "⭐";
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.pricing-cta {
    text-align: center;
    margin-top: 3rem;
}

.pricing-note {
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 6px;
    color: var(--text-medium);
    font-style: italic;
    border-left: 3px solid var(--accent-orange);
}

/* Pricing Grid - Professional Design */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: var(--background-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-light);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

.pricing-card.featured {
    border: 3px solid var(--primary-blue);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-medium) 100%);
    color: var(--background-white);
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card.featured h3 {
    margin-top: 1rem;
}

.price {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 1.5rem 0;
    position: relative;
}

.price::before {
    content: '$';
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 0.25rem;
}

.pricing-card ul {
    text-align: left;
    list-style: none;
    margin-top: 1rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-medium);
}

/* About Section Intro Text */
.about-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.about-intro p {
    margin-left: auto;
    margin-right: auto;
}

/* About Grid - 2x2 balanced layout for 4 items */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.about-item h3 {
    margin-top: 0;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Featured About Item with Rating Badge */
.about-item-featured {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 2px solid var(--accent-gold);
}

.rating-badge {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.rating-badge .stars {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.rating-badge .rating-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--background-white);
    margin-bottom: 0.25rem;
}

.rating-badge .rating-count {
    font-size: 0.875rem;
    color: var(--background-white);
    opacity: 0.9;
    font-weight: 500;
}

/* Footer - Compact Sleek Design */
footer {
    background-color: var(--background-dark);
    color: var(--background-white);
    padding: 2.5rem 0 1.25rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--patriot-blue) 0%, var(--patriot-blue) 25%, var(--patriot-white) 25%, var(--patriot-white) 50%, var(--patriot-red) 50%, var(--patriot-red) 75%, var(--patriot-white) 75%, var(--patriot-white) 100%);
}

/* Footer Text - Force white color for WCAG contrast */
footer p,
footer h3,
footer h4,
footer li,
footer span {
    color: var(--background-white) !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.footer-section h3 {
    color: var(--background-white) !important;
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
    margin-top: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.35rem;
    color: var(--background-white) !important;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-section p {
    color: var(--background-white) !important;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-section a {
    color: var(--background-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a:focus {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--primary-medium);
    padding-top: 0.65rem;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--background-white) !important;
    margin: 0;
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.footer-bottom a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Accessibility Widget */
.accessibility-widget {
    position: fixed !important;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

#accessibility-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--background-white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
}

#accessibility-toggle:hover,
#accessibility-toggle:focus {
    background-color: var(--primary-medium);
    transform: scale(1.1);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

.accessibility-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    background-color: var(--background-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.accessibility-panel[aria-hidden="false"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.accessibility-panel h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.accessibility-panel p {
    font-size: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.accessibility-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accessibility-options button {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--background-light);
    color: var(--text-dark);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accessibility-options button:hover,
.accessibility-options button:focus {
    background-color: var(--primary-dark);
    color: var(--background-white);
}

.reset-btn {
    background-color: var(--error-red) !important;
    color: var(--background-white) !important;
    border-color: var(--error-red) !important;
}

.reset-btn:hover,
.reset-btn:focus {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    color: var(--background-white);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
    background-color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* Reduced Motion Support - WCAG Required */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
.high-contrast {
    filter: contrast(200%) brightness(150%);
}

/* Font Size Adjustments */
.large-font {
    font-size: 1.2em;
}

.extra-large-font {
    font-size: 1.4em;
}

/* Dyslexia-Friendly Font */
.dyslexia-font * {
    font-family: 'OpenDyslexic', 'Comic Sans MS', cursive !important;
}

/* Contact Page Specific Styles */
.contact-hero {
    padding: 3rem 0;
}

.contact-info-section {
    padding: 4rem 0;
    background-color: var(--background-main);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hours,
.contact-note {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Contact Form Styles */
.contact-form-section {
    padding: 4rem 0;
    background-color: var(--background-white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

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

.required {
    color: var(--error-red);
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--background-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
    outline: none;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-help {
    font-size: 0.75rem;
    color: var(--text-medium);
    margin-top: 0.25rem;
    display: block;
}

.field-error {
    color: var(--error-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.field-focused {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.checkbox-label .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--background-white);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.2);
}

/* Form Submit Button */
.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--primary-dark);
    color: var(--background-white);
    border: none;
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:hover:not(:disabled),
.form-submit:focus:not(:disabled) {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Messages */
.form-message {
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
    text-align: center;
}

.form-message.success {
    background-color: #d1fae5;
    border: 2px solid var(--success-green);
    color: #065f46;
}

.form-message.error {
    background-color: #fee2e2;
    border: 2px solid var(--error-red);
    color: #991b1b;
}

.form-message h3 {
    margin-bottom: 0.5rem;
    color: inherit;
}

/* Character Counter */
.character-counter {
    font-size: 0.75rem;
    text-align: right;
    margin-top: 0.25rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: var(--background-main);
}

.faq-list {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateX(4px);
}

.faq-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.35rem;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Mobile responsiveness for FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }

    .faq-list {
        margin: 1.5rem auto 0;
    }

    .faq-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .faq-item h3 {
        font-size: 1.15rem;
    }

    .faq-item p {
        font-size: 1rem;
    }
}

/* FAQ Document Types Grid - Two Column Layout */
.document-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (min-width: 769px) {
    .document-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.document-column h4 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
}

.document-column h4:first-of-type {
    margin-top: 0;
}

.document-column ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.document-column li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65rem;
    line-height: 1.6;
    font-size: 1rem;
    color: var(--text-dark);
}

.document-column li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Additional Services Note */
.additional-services-note {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-left: 4px solid var(--accent-orange);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
}

.additional-services-note p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

.additional-services-note strong {
    color: var(--primary-blue);
    font-size: 1.15rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* FAQ CTA Box */
.faq-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.faq-cta h3 {
    color: var(--background-white) !important;
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.faq-cta p {
    color: var(--background-white);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-cta a:hover,
.faq-cta a:focus {
    color: var(--background-white);
    text-decoration: underline;
}

/* Legal Pages Styles */
.legal-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: var(--background-white);
    padding: 3rem 0;
    text-align: center;
}

.legal-header h2 {
    color: var(--background-white);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.legal-intro {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.legal-content {
    padding: 4rem 0;
    background-color: var(--background-white);
}

.legal-sections {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.legal-section {
    background-color: var(--background-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-gold);
}

.legal-section h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--background-light);
}

.legal-section h4 {
    color: var(--primary-medium);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem 0;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.contact-details {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    margin: 1rem 0;
}

.contact-details strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

/* Legal Navigation Sidebar */
.legal-navigation {
    position: sticky;
    top: 100px;
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    margin-left: 2rem;
    height: fit-content;
    min-width: 250px;
}

.legal-navigation h3 {
    color: var(--primary-dark);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-navigation ul {
    list-style: none;
    padding: 0;
}

.legal-navigation li {
    margin-bottom: 0.75rem;
}

.legal-navigation a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    display: block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.legal-navigation a:hover,
.legal-navigation a:focus {
    color: var(--primary-dark);
    background-color: var(--background-white);
    padding-left: 1rem;
    font-weight: 500;
}

/* Responsive layout for legal pages */
@media (min-width: 1200px) {
    .legal-content .container {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 2rem;
        max-width: 1400px;
    }
    
    .legal-sections {
        max-width: none;
    }
    
    .legal-navigation {
        margin-left: 0;
    }
}

/* Legal pages mobile responsiveness */
@media (max-width: 768px) {
    .legal-header {
        padding: 2rem 0;
    }
    
    .legal-header h2 {
        font-size: 1.75rem;
    }
    
    .legal-intro {
        font-size: 1rem;
    }
    
    .legal-content {
        padding: 2rem 0;
    }
    
    .legal-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.25rem;
    }
    
    .legal-navigation {
        position: static;
        margin: 2rem 0 0 0;
        width: 100%;
    }
    
    .legal-content .container {
        display: block;
    }
}

/* Tablet Responsive Design - Mainly for phone in hero */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-phone-link {
        font-size: 1.5rem;
        padding: 0.75rem 1.75rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    header {
        height: auto;
    }

    /* Smaller hero phone on mobile */
    .hero-phone-link {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .nav-container {
        flex-wrap: nowrap;
        position: relative;
        padding: 0.75rem 1rem;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .contact-info {
        order: 2;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
    }
    
    .phone-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .contact-info .availability-badge {
        font-size: 0.7rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        flex-shrink: 0;
        z-index: 1001;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-white);
        flex-direction: column;
        box-shadow: 0 8px 24px var(--shadow-medium);
        padding: 0;
        gap: 0;
        width: 100%;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 1.75rem;
    }
    
    .hero-text {
        font-size: 1.0625rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    /* Visitor Counter Badge - Hide on mobile to prevent text overlap */
    .visitor-counter-badge {
        display: none;
    }

    .services-grid,
    .pricing-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Center coverage area text on mobile */
    .coverage-content,
    .coverage-text {
        text-align: center;
    }

    .coverage-content h3 {
        text-align: center;
    }

    .coverage-content ul {
        text-align: left;
        max-width: 100%;
    }

    .coverage-content p {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .accessibility-widget {
        bottom: 20px !important;
        left: 20px !important;
        position: fixed !important;
    }
    
    .back-to-top {
        bottom: 20px !important;
        right: 20px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0.75rem 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .phone-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    /* Visitor Counter Badge - Keep hidden on extra small screens */
    .visitor-counter-badge {
        display: none;
    }

    .accessibility-widget {
        bottom: 20px !important;
        left: 15px !important;
        position: fixed !important;
    }
    
    .back-to-top {
        bottom: 20px !important;
        right: 15px !important;
    }
}