


.accessibility-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1010;
    border: none;
    transition: all 0.3s ease;
}

.accessibility-toggle:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.accessibility-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 111, 220, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
}


.accessibility-menu {
    position: fixed !important;
    bottom: 80px !important;
    right: 20px !important;
    width: 280px !important;
    background-color: white !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    transform: translateY(20px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
}

.accessibility-menu.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.accessibility-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accessibility-menu-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.accessibility-menu-header button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-lighter);
    cursor: pointer;
    transition: color 0.2s;
}

.accessibility-menu-header button:hover {
    color: var(--text-color);
}

.accessibility-menu-options {
    padding: 15px;
}

.accessibility-menu-options .option {
    margin-bottom: 10px;
}

.accessibility-menu-options .option:last-child {
    margin-bottom: 0;
}

.accessibility-menu-options button {
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: var(--bg-light);
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}

.accessibility-menu-options button:hover {
    background-color: var(--bg-dark);
    border-color: var(--primary-light);
}

.accessibility-menu-options button:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.accessibility-menu-options button i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--primary-color);
}




body.text-larger {
    font-size: 20px !important;
}

body.text-larger h1 { font-size: 3.5rem !important; }
body.text-larger h2 { font-size: 2.8rem !important; }
body.text-larger h3 { font-size: 2rem !important; }
body.text-larger .hero h2 { font-size: 4rem !important; }

body.text-largest {
    font-size: 24px !important;
}

body.text-largest h1 { font-size: 4rem !important; }
body.text-largest h2 { font-size: 3.2rem !important; }
body.text-largest h3 { font-size: 2.4rem !important; }
body.text-largest .hero h2 { font-size: 4.5rem !important; }
body.text-largest .service-card p { font-size: 1.3rem !important; }
body.text-largest .testimonial-content { font-size: 1.4rem !important; }

body.text-smaller {
    font-size: 14px !important;
}

body.text-smaller h1 { font-size: 2.2rem !important; }
body.text-smaller h2 { font-size: 1.8rem !important; }
body.text-smaller h3 { font-size: 1.3rem !important; }

body.text-smallest {
    font-size: 12px !important;
}

body.text-smallest h1 { font-size: 2rem !important; }
body.text-smallest h2 { font-size: 1.6rem !important; }
body.text-smallest h3 { font-size: 1.2rem !important; }


body.high-contrast {
    --primary-color: #000000 !important;
    --secondary-color: #000000 !important;
    --text-color: #000000 !important;
    --text-light: #000000 !important;
    --text-lighter: #000000 !important;
    --bg-color: #ffffff !important;
    --bg-light: #ffffff !important;
    --bg-dark: #ffffff !important;
}


body.high-contrast *:not(.accessibility-menu):not(.accessibility-toggle) {
    background-image: none !important;
    background: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
}




body.high-contrast p,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6,
body.high-contrast a,
body.high-contrast li,
body.high-contrast span,
body.high-contrast div {
    color: #000000 !important;
    background: transparent !important;
    -webkit-text-fill-color: #000000 !important;
}


body.high-contrast .hero,
body.high-contrast .about,
body.high-contrast .testimonials,
body.high-contrast .how-it-works,
body.high-contrast .contact,
body.high-contrast .services,
body.high-contrast section {
    background: #ffffff !important;
    background-color: #ffffff !important;
}


body.high-contrast .service-card,
body.high-contrast .testimonial,
body.high-contrast .contact-form,
body.high-contrast .step,
body.high-contrast .contact-item {
    background: #ffffff !important;
    border: 3px solid #000000 !important;
    box-shadow: none !important;
}


body.high-contrast input,
body.high-contrast textarea,
body.high-contrast select,
body.high-contrast button {
    border: 3px solid #000000 !important;
    background: #ffffff !important;
    color: #000000 !important;
}


body.high-contrast .service-icon,
body.high-contrast .step-number,
body.high-contrast .contact-icon {
    background: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast .service-icon i,
body.high-contrast .contact-icon i {
    color: #ffffff !important;
}


body.high-contrast footer {
    background: #000000 !important;
    background-color: #000000 !important;
}

body.high-contrast footer *,
body.high-contrast footer p,
body.high-contrast footer a,
body.high-contrast footer h3 {
    color: #ffffff !important;
    background: transparent !important;
}


body.high-contrast .cta {
    background: #000000 !important;
    background-color: #000000 !important;
}

body.high-contrast .cta *,
body.high-contrast .cta h2,
body.high-contrast .cta p {
    color: #ffffff !important;
    background: transparent !important;
}


body.high-contrast .primary-button {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 3px solid #000000 !important;
}

body.high-contrast .secondary-button {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 3px solid #000000 !important;
}


body.high-contrast header {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-bottom: 3px solid #000000 !important;
}


body.high-contrast .hero h2 {
    background: transparent !important;
    -webkit-text-fill-color: #000000 !important;
    animation: none !important;
}


body.dyslexia-friendly {
    --heading-font: 'OpenDyslexic', sans-serif;
    --body-font: 'OpenDyslexic', sans-serif;
    letter-spacing: 0.08em !important;
    word-spacing: 0.15em !important;
    line-height: 2 !important;
}

body.dyslexia-friendly * {
    font-family: 'OpenDyslexic', sans-serif !important;
    letter-spacing: 0.08em !important;
    word-spacing: 0.15em !important;
}

body.dyslexia-friendly p,
body.dyslexia-friendly li,
body.dyslexia-friendly span {
    line-height: 2 !important;
}




body.dark-mode {
    --primary-color: #6366f1;
    --secondary-color: #10b981;
    --text-color: #f8fafc;
    --text-light: #cbd5e1;
    --text-lighter: #94a3b8;
    --bg-color: #0f172a;
    --bg-light: #1e293b;
    --bg-dark: #334155;
}

body.dark-mode {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
}

body.dark-mode *:not(.service-icon):not(.step-number):not(.contact-icon) {
    background-color: transparent;
}

body.dark-mode .service-card,
body.dark-mode .testimonial,
body.dark-mode .contact-form,
body.dark-mode .step {
    background-color: var(--bg-light) !important;
    border-color: var(--bg-dark) !important;
}

body.dark-mode header {
    background-color: rgba(15, 23, 42, 0.95) !important;
}

body.dark-mode .hero,
body.dark-mode section {
    background-color: var(--bg-color) !important;
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


a:focus, 
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}


.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}



#accessibility-menu,
body.high-contrast #accessibility-menu,
body.dark-mode #accessibility-menu,
body.dyslexia-friendly #accessibility-menu,
body.text-larger #accessibility-menu,
body.text-largest #accessibility-menu,
body.text-smaller #accessibility-menu,
body.text-smallest #accessibility-menu,
html body #accessibility-menu {
    position: fixed !important;
    bottom: 80px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
    width: 280px !important;
    height: auto !important;
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
    z-index: 99999 !important;
    transition: all 0.3s ease !important;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e0e0e0 !important;
    display: block !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    text-align: left !important;
    direction: ltr !important;
    unicode-bidi: normal !important;
}

#accessibility-menu.active,
body.high-contrast #accessibility-menu.active,
body.dark-mode #accessibility-menu.active,
body.dyslexia-friendly #accessibility-menu.active,
body.text-larger #accessibility-menu.active,
body.text-largest #accessibility-menu.active,
body.text-smaller #accessibility-menu.active,
body.text-smallest #accessibility-menu.active,
html body #accessibility-menu.active {
    
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    position: fixed !important;
    bottom: 80px !important;
    right: 20px !important;
    z-index: 99999 !important;
}

#accessibility-toggle,
body.high-contrast #accessibility-toggle,
body.dark-mode #accessibility-toggle,
body.dyslexia-friendly #accessibility-toggle,
body.text-larger #accessibility-toggle,
body.text-largest #accessibility-toggle,
body.text-smaller #accessibility-toggle,
body.text-smallest #accessibility-toggle,
html body #accessibility-toggle {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    z-index: 100000 !important;
    background: var(--primary-color, #4f46e5) !important;
    background-color: var(--primary-color, #4f46e5) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1.5rem !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}


#accessibility-menu * {
    box-sizing: border-box !important;
    font-family: inherit !important;
}

#accessibility-menu .accessibility-menu-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    background: white !important;
    margin: 0 !important;
}

#accessibility-menu .accessibility-menu-options {
    padding: 15px !important;
    background: white !important;
    margin: 0 !important;
}

#accessibility-menu .option {
    margin-bottom: 10px !important;
}

#accessibility-menu .option:last-child {
    margin-bottom: 0 !important;
}

#accessibility-menu button {
    width: 100% !important;
    text-align: left !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    background-color: #f8fafc !important;
    color: #2c3e50 !important;
    font-size: 0.95rem !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    font-family: 'Open Sans', sans-serif !important;
}

#accessibility-menu button:hover {
    background-color: #e2e8f0 !important;
    border-color: #4f46e5 !important;
}

#accessibility-menu h3 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    color: #4f46e5 !important;
    font-weight: 600 !important;
} 