footer {
  margin-top: 0 !important;
  transition: none !important;
}

body.hide-images img,
body.hide-svgs svg {
    visibility: hidden !important;
}

body.hide-images .accessibility-panel svg,
body.hide-svgs .accessibility-panel img {
    visibility: visible !important;
}

body.disable-animations .accessibility-panel {
    transition: all 0.3s ease !important;
}

body.disable-animations * {
    transition: none !important;
    animation: none !important;
}

body.scrolled .panel-toggle {
    bottom: 90px;
}

body.dyslexia-font {
    font-family: 'Monospace', monospace !important;
}

body.highlight-links a {
    outline: 2px solid rgba(255, 114, 22, 0.5) !important;
    outline-offset: 2px !important;
}

body.noMaxWidth #wrapper{
    width: 100% !important;
    max-width: unset !important;
}

body.light-contrast::before,
body.dark-contrast::before,
body.high-contrast::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    backdrop-filter: contrast(150%);
    z-index: 9999;
    pointer-events: none;
}

body.light-contrast::before {
    backdrop-filter: contrast(125%);
}

body.dark-contrast,
body.dark-contrast * {
    color: #fff !important;
    background-color: #181818 !important;
}

body.center-align {
    text-align: center;
}

body.left-align {
    text-align: left;
}

body.right-align {
    text-align: right;
}

body.saturation-mode::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    backdrop-filter: saturate(0.75) !important;
    z-index: 9999;
    pointer-events: none;
}

:root {
    --primary-color: #09375c;
    --bg-color: #ffffff;
    --text-color: #1f2937;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Toggle Button */
.panel-toggle {
    position: fixed;
    bottom: 85px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 0px;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.profile-header {
    position: relative;
    left: 0px;
    right: 0px;
    top: 0px;
    padding: 20px;
    text-align: center;
}

.profile-header h3 {
    font-size: 24px;
    color: #fff;
    font-weight: 500;
    margin-top: 30px;
}

.panel-toggle svg {
    width: 25px;
    height: 25px;
}

.panel-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.accessibility-panel {
    position: fixed;
    bottom: 10px;
    right: -550px;
    width: 550px;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 0px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    max-height: 74vh;
    overflow-y: auto;
    top: 85px;
}

@media screen and (max-width: 700px) {
    .accessibility-panel {
        max-height: 90vh !important;
    }

    #speakBtn{
        display: none !important;
    }
}

.accessibility-panel::before {
    position: absolute;
    background-color: var(--primary-color);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 350px;
    z-index: -1;
    content: "";
}

.profile-header-options {
    padding-top: 30px;
    justify-content: space-evenly;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

@media screen and (max-width: 700px) {
    .profile-header-options {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .profile-header-options button {
        max-width: 300px !important;
        padding: 5px 0px !important;
    }

    .action-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

.profile-header-options button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 32%;
    font-size: 15px;
    color: var(--primary-color);
    border-radius: 50px;
    letter-spacing: .3px;
    padding: 9px 3px;
    background-color: #fff;
    text-decoration: none;
    transition: all .15s ease;
    cursor: pointer;
    border: none;
}

.profile-header-options button:hover {
    transform: scale(1.07);
}

.profile-header-options button svg {
    height: 15px;
    margin-inline-end: 5px;
}

.accessibility-panel {
    scrollbar-color: silver transparent;
    scrollbar-width: thin;
}

.accessibility-panel.active-accessibility-panel {
    right: 20px;
}

.accessibility-panel.active-accessibility-panel .accesibility-options-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.accesibility-options-wrapper {
    opacity: 0;
    margin-top: 30px;
    padding: 0 15px;
    will-change: transform, opacity;
    transform: translateY(50px);
    transition: opacity .35s ease-in-out, transform .35s ease-in-out;
}

.accesibility-options-wrapper .action {
    overflow: hidden;
    position: relative;
    padding: 15px;
    border-radius: 16px;
    margin: 0 auto 20px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(60, 80, 170, .1);
}

.action .action-title {
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.5;
}

@media screen and (max-width: 700px) {
    .action .action-title {
        padding: 0px 25px !important;
        text-align: center !important;
        font-size: 15px !important;
    }
}

.close-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 111;
    padding: 0.5rem;
    transition: all 0.3s ease !important;
}

.close-btn:hover {
    scale: 1.2;
    transition: all 0.3s ease !important;
}

/* Panel Content */
.accessibility-option {
    position: relative;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -7px;
    padding: 18px 7px;
    line-height: 1;
    outline: 0;
    transition: all .15s ease;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}

.accessibility-option:hover .profile-content-icon,
.accessibility-option:hover .profile-content-text,
.accessibility-option:hover .profile-content-name {
    color: var(--primary-color);
}

.accessibility-option .profile-toggle {
    display: block;
    direction: ltr;
    position: relative;
    min-width: 23%;
}

@media screen and (max-width: 700px) {
    .profiles .profile-toggle {
        min-width: 30% !important;
    }
}

.accessibility-option .profile-toggle .toggle {
    justify-content: flex-start;
    width: 100%;
    height: 35px;
    border-radius: 50px;
    background-color: #f2f7fa !important;
    display: flex;
}

.accessibility-option .profile-toggle .toggle .toggle-option {
    position: relative;
    justify-content: center;
    width: 50%;
    height: 100%;
    font-size: 11px;
    font-weight: 700;
    color: #1f2533;
    text-align: center;
    z-index: 1;
    transition: left .3s ease;
    display: flex;
    align-items: center;
}

.accessibility-option .profile-toggle .toggle::after {
    position: absolute;
    width: 55%;
    left: -2%;
    height: 105%;
    box-shadow: 0 0 30px rgba(60, 80, 170, .2);
    border-radius: 50px;
    z-index: 0;
    content: "";
    background: white;
    top: 50%;
    transform: translateY(-50%);
    transition: left .3s ease;
}

.accessibility-option.toggle--active .profile-toggle .toggle {
    background-color: white;
}

.accessibility-option.toggle--active .profile-toggle .toggle::after {
    left: 48% !important;
    background-color: var(--primary-color);
}

.accessibility-option.toggle--active .profile-toggle .toggle .toggle-on {
    color: white;
}

.accessibility-option::first-of-type {
    margin-top: 100px;
}

.profiles .profile-content {
    display: flex;
    flex-flow: column;
    position: relative;
    justify-content: space-between;
    width: 75%;
    padding-inline-start: 7%;
    padding-inline-end: 50px;
    text-align: left;
}

@media screen and (max-width: 700px) {
    .profiles .profile-content {
        width: 70% !important;
        padding-inline-end: 0 !important;
    }
}

.profiles .profile-content-name {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    color: #1f2533;
    text-shadow: 0 0 rgba(31, 37, 51, .5);
    transition: all .15s ease;
}

@media screen and (max-width: 700px) {
    .profiles .profile-content-name {
        font-size: 15px !important;
    }

    .profiles .profile-content-text {
        font-size: 13px !important;
    }

    .profiles .profile-content-icon {
        display: none !important;
    }
}

.profiles .profile-content-text {
    font-size: 14px;
    margin-top: 8px;
    opacity: .9;
    color: #3e465d;
    transition: all .15s ease;
}

.profiles .profile-content-icon {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f2f7fa;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all .15s ease;
}

.profiles .profile-content-icon svg {
    height: 18px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row dense;
    column-gap: 1rem;
    text-align: center;
    transition: all .5s ease;
}

.action-grid .action-box {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    grid-column: span 1;
    line-height: 1;
    margin-bottom: 15px;
    height: 110px;
    outline: 0 !important;
    padding: 15px;
    user-select: none;
    cursor: pointer;
    border-radius: 10px;
    border: solid 2px transparent;
    background-color: #f2f7fa;
    transition: all .15s ease;
    margin: 7px 0px;
}

.action-grid .action-box:hover {
    border-color: var(--primary-color);
}

.action-grid .action-box.action-box--active[role=switch] {
    background-color: var(--primary-color);
}

.action-grid .action-box.action-box--active[role=switch] .content-title,
.action-grid .action-box.action-box--active[role=switch] .content-icon {
    transition: all .15s ease;
    color: #fff;
}

.action-grid .action-box:not([role=switch]) {
    grid-column: span 2;
    cursor: default;
    outline: 0 !important;
    background-color: #f2f7fa;
    border-color: transparent !important;
}

.action-grid .action-box:not([role=switch]) .action-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-grid .action-box:not([role=switch]) .action-content .content-icon {
    display: inline-block;
    margin-bottom: 0;
    margin-inline-end: 10px;
    color: #1f2533;
}

.action-grid .action-box:not([role=switch]) .action-content .content-icon svg {
    height: 21px;
}

.action-grid .action-box:not([role=switch]) .action-content .content-title {
    display: inline-block;
    color: #1f2533;
}

.action-grid .action-box .content-title {
    display: block;
    font-size: 14px;
    color: #1f2533;
    line-height: 1;
}

.action-grid .action-box .content-icon {
    margin-bottom: 20px;
    color: #1f2533;
    display: block;
}

.action-grid .action-box .content-icon svg {
    height: 21px;
}

.action-grid .action-box:not([role=switch]) .action-custom-element {
    width: 100%;
    margin-top: 20px;
}

.action-grid .action-box:not([role=switch]) .action-custom-element .range {
    position: relative;
    width: 90%;
    max-width: 200px;
    margin: auto;
}

.action-grid .range button {
    position: absolute;
    display: inline-flex;
    padding: 0px;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 33px;
    top: 0;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    transform: translateZ(0);
    background-color: var(--primary-color);
    transition: all .15s ease;
    color: #fff;
    border: none;
}

.range-plus {
    right: -15px;
}

.range-minus {
    left: -15px;
}

.range button svg {
    height: 9px;
}

.range-base {
    color: var(--primary-color);
    position: relative;
    width: 100%;
    height: 35px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 2.6;
    direction: ltr;
    background-color: #fff;
}

.accessibility-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.button-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.button-group button {
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease-in-out all;
}

.button-group button:hover {
    background: #e2e8f0;
}

@media (max-width: 480px) {
    .accessibility-panel {
        width: 90% !important;
        right: -100% !important;
        bottom: 80px !important;
    }

    .accessibility-panel.active-accessibility-panel {
        right: 5% !important;
    }
}

#statementModal.modal .modal-content .main-title {
    display: block;
    margin-bottom: 40px;
    font-size: 23px;
    font-weight: 700;
    color: var(--primary-color);
}

#statementModal.modal .modal-content .sub-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1f2533;
}

#statementModal.modal .modal-content ul li,
#statementModal.modal .modal-content p {
    margin: 25px 0;
    font-size: 16px;
    color: #1f2533;
    line-height: 1.3;
}

#statementModal.modal .modal-content ul li {
    display: list-item;
    margin: 15px 0;
}

#statementModal.modal .modal-content ul,
#statementModal.modal .modal-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

#statementModal.modal .modal-content ol li {
    display: list-item;
    margin: 15px 0;
    font-size: 16px;
    color: #1f2533;
    line-height: 1.3;
}

#interfaceModal.modal,
#statementModal.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 1rem;

}

#interfaceModal.modal .modal-content,
#statementModal .modal-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    overflow: auto;
    max-height: 440px;
    padding: 50px;
}

/* Close Button */
#interfaceModal .close-btn,
#statementModal .close-btn {
    position: absolute;
    left: 15px;
    top: 15px;
    line-height: 0;
    transition: all .15s ease;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

#interfaceModal.modal .close-btn svg,
#statementModal .close-btn svg {
    height: 12px;
    color: #1f2533;
}

#interfaceModal.modal .close-btn:hover,
#statementModal .close-btn:hover {
    color: var(--primary-color);
}

#interfaceModal.modal .modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

#interfaceModal .modal-actions button {
    width: 48%;
    display: inline-block;
    cursor: pointer;
    padding: 15px 30px;
    margin: 0;
    border-radius: 50px;
    border: solid 2px var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all .15s ease;
}

#interfaceModal .modal-actions button.primary-button {
    background-color: var(--primary-color);
    color: #fff;
}

#interfaceModal .modal-actions button:hover {
    opacity: .7;
    color: #fff;
    background-color: var(--primary-color);
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}