/* Accessibility Widget Styles */
.a11y-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    font-family: 'Manrope', sans-serif;
}

.a11y-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.a11y-toggle:hover {
    transform: scale(1.1);
    background-color: var(--accent-color);
}

.a11y-panel {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 280px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    /* Hidden by default */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.a11y-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.a11y-panel h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.control-group {
    margin-bottom: 20px;
}

.control-group span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.control-group .buttons {
    display: flex;
    gap: 10px;
}

.control-group button {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--primary-color);
}

.control-group button:hover {
    background-color: #e2e8f0;
    border-color: #94a3b8;
}

.control-group button.btn-text {
    flex: 1;
    text-align: center;
    font-weight: 600;
}

/* Accessibility Modes */

/* Large Text */
body.a11y-large-text {
    font-size: 1.2rem;
    /* Scale base size */
}

/* High Contrast Mode */
body.a11y-high-contrast {
    background-color: #000000 !important;
    color: #ffff00 !important;
}

body.a11y-high-contrast nav,
body.a11y-high-contrast footer,
body.a11y-high-contrast .hero,
body.a11y-high-contrast section,
body.a11y-high-contrast .offer-card,
body.a11y-high-contrast .stat-card,
body.a11y-high-contrast .partner-card,
body.a11y-high-contrast .contact-wrapper {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border: 1px solid #ffff00 !important;
    box-shadow: none !important;
    background: none !important;
    /* Remove gradients/images if needed */
}

body.a11y-high-contrast h1,
body.a11y-high-contrast h2,
body.a11y-high-contrast h3,
body.a11y-high-contrast h4,
body.a11y-high-contrast p,
body.a11y-high-contrast a,
body.a11y-high-contrast span,
body.a11y-high-contrast i,
body.a11y-high-contrast div {
    color: #ffff00 !important;
}

body.a11y-high-contrast .btn {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
}

body.a11y-high-contrast img {
    filter: grayscale(100%) contrast(150%);
}

/* Grayscale Mode */
body.a11y-grayscale {
    filter: grayscale(100%);
}