/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #0096e9;
}

body {
    font-family: 'Noto Serif', serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Playfair Display', serif;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Noto Serif', serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    font-family: 'Noto Serif', serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}


.sticky-top.navbar .navbar-nav .nav-link {
    padding: 20px 0;
    color: #000000;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.sticky-top.navbar .navbar-nav .nav-link:hover,
.sticky-top.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-brand h1 {
    color: var(--primary);
}

.navbar .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.navbar-lang-links .navbar-lang-link {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: .5s;
}

.navbar-lang-links .navbar-lang-link:hover,
.navbar-lang-links .navbar-lang-link.active {
    color: var(--primary);
}

.navbar-lang-links .navbar-lang-link img {
    vertical-align: middle;
    margin-right: 4px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar {
        position: relative;
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link,
    .navbar .navbar-nav .nav-link.show,
    .sticky-top.navbar .navbar-nav .nav-link {
        padding: 10px 0;
        color: #000000;
    }

    .navbar .navbar-brand h1 {
        color: var(--primary);
    }

    .topbar {
        display: none !important;
    }

    nav.navbar {
        position: relative;
    }

    .navbar-toggler {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (min-width: 992px) {
    .navbar {
        position: relative;
        width: 100%;
        /*top: 0;*/
        left: 0;
        background-color: #FFFFFF;
        border-bottom: 1px solid rgba(0, 0, 0, .08);
        z-index: 999;
    }
    
    .sticky-top.navbar {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar .navbar-nav .nav-link:hover::before,
    .navbar .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 150, 233, .2);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}

@keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

/* Smaller text specifically on the /services page */
#services-page .section-title h2 {
    font-size: 1.75rem;
}

#services-page .service-item h3 {
    font-size: 1.25rem;
}

#services-page .service-item p {
    font-size: 0.95rem;
}

#services-page .bg-primary p.h3 {
    font-size: 1.25rem;
}

#services-page .bg-primary p.h2 {
    font-size: 1.5rem;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(0, 150, 233, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(0, 150, 233, .7), rgba(0, 150, 233, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}
.section-title-sm::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 3px;
    left: 0;
    bottom: 0;
    background: var(--primary);
}

.footer-tags .badge {
    font-size: 0.85rem;
    padding: 0.5em 0.75em;
    text-decoration: none;
}

.footer-tags .badge:hover {
    opacity: 0.9;
}

/* Facts section — premium accounting-office cards with pen effect */
.facts {
    background: linear-gradient(180deg, #f5f3ef 0%, #eeede8 100%);
}

.facts .fact-card {
    background: #ffffff;
    border: 1px solid #e0dcd2;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(11, 31, 62, 0.06);
    padding: 1.4rem 1.1rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.facts .fact-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #c5a065;
    transition: width 0.45s ease;
}

.facts .fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(11, 31, 62, 0.1);
}

.facts .fact-card:hover::after {
    width: 60%;
}

.facts .fact-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background: #0195ea;
    color: #f5f3ef;
    font-size: 1rem;
}

.facts .fact-text {
    font-family: 'Noto Serif', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0195ea;
    line-height: 1.3;
    margin-bottom: 0.55rem;
    letter-spacing: 0.01em;
}

.facts .fact-underline {
    width: 0;
    height: 1.5px;
    background: #0195ea;
    margin: 0 auto;
    border-radius: 1px;
    opacity: 0.75;
    animation: pen-underline 0.7s ease forwards;
    animation-delay: 0.5s;
}

.facts .wow.zoomIn:nth-child(2) .fact-underline {
    animation-delay: 0.8s;
}

.facts .wow.zoomIn:nth-child(3) .fact-underline {
    animation-delay: 1.1s;
}

@keyframes pen-underline {
    to {
        width: 48px;
    }
}

/* Why Us section — luxurious dark approach */
.why-us-section {
    background: linear-gradient(135deg, #08172b 0%, #0195ea 100%);
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(197, 160, 101, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.why-us-section::after {
    content: "";
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 55%);
    pointer-events: none;
}

.why-us-section .section-title::before {
    background: #c5a065;
}

.why-us-section .section-title::after {
    background: #08172b;
}

.why-us-section .section-title p {
    color: #c5a065;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
}

.why-us-section .section-title h2 {
    color: #f5f3ef;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.why-us-item {
    position: relative;
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(197, 160, 101, 0.12);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.4s ease, border-color 0.4s ease;
}

.why-us-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 160, 101, 0.3);
    transform: translateX(8px);
}

.why-us-item .icon-box {
    width: 52px;
    height: 52px;
    border: 1px solid #c5a065;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c5a065;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    transition: background 0.35s ease, color 0.35s ease;
}

.why-us-item .icon-box i {
    color: #c5a065 !important;
    transition: color 0.35s ease;
}

.why-us-item:hover .icon-box {
    background: #c5a065;
    color: #08172b;
}

.why-us-item:hover .icon-box i {
    color: #08172b !important;
}

.why-us-item h3 {
    color: #f5f3ef;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
}

.why-us-item p {
    color: rgba(245, 243, 239, 0.72);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.why-us-image {
    border: 1px solid rgba(197, 160, 101, 0.35);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.03);
    height: 100%;
    min-height: 350px;
}

.why-us-image img {
    border-radius: 12px;
}

/* Blog section — luxurious dark editorial cards */
.blog-section {
    background: linear-gradient(135deg, #0195ea 0%, #08172b 100%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(197, 160, 101, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.blog-section .section-title::before {
    background: #c5a065;
}

.blog-section .section-title::after {
    background: #0195ea;
}

.blog-section .section-title p {
    color: #c5a065;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
}

.blog-section .section-title h2 {
    color: #f5f3ef;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.blog-section .blog-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 101, 0.12);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}

.blog-section .blog-item:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 160, 101, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.blog-section .blog-img img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-section .blog-item:hover .blog-img img {
    transform: scale(1.08);
}

.blog-section .blog-category {
    background: #c5a065;
    color: #08172b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-section .blog-content {
    position: relative;
}

.blog-section .blog-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: rgba(197, 160, 101, 0.2);
}

.blog-section .blog-date {
    color: rgba(245, 243, 239, 0.65);
    font-size: 0.85rem;
}

.blog-section .blog-date i {
    color: #c5a065;
}

.blog-section .blog-content h3 {
    color: #f5f3ef;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-section .blog-item:hover .blog-content h3 {
    color: #c5a065;
}

.blog-section .blog-content p {
    color: rgba(245, 243, 239, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-section .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #c5a065;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.blog-section .blog-read-more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #c5a065;
    transition: width 0.35s ease;
}

.blog-section .blog-read-more:hover {
    color: #f5f3ef;
}

.blog-section .blog-read-more:hover::after {
    width: 100%;
}

/* Facts section contrast fix: darken primary background */
.facts .bg-primary {
    background-color: #006a92 !important;
}

/* WCAG AA: #06A3DA text on white = 2.89:1 (fails). Use #006a92 = 5.37:1 */
.text-primary {
    color: #006a92 !important;
}

/* WCAG AA: white on #06A3DA bg = 2.89:1 (fails). Use #006a92 bg = 5.37:1 */
.btn-primary {
    background-color: #006a92 !important;
    border-color: #006a92 !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #005577 !important;
    border-color: #005577 !important;
}
.btn-outline-primary {
    color: #006a92 !important;
    border-color: #006a92 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #006a92 !important;
    border-color: #006a92 !important;
}

/* Logo toggle: color logo on white navbar */
.navbar-logo-color { display: inline-block; }
.navbar-logo-white { display: none; }

.sticky-top .navbar-logo-color { display: inline-block; }
.sticky-top .navbar-logo-white { display: none; }

@media (max-width: 991.98px) {
    .navbar-logo-white { display: none; }
    .navbar-logo-color { display: inline-block; }
}

/* === Accessibility Widget CSS === */
#accessibility-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    font-family: 'Noto Serif', serif;
}
#accessibility-widget .a11y-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2563eb;
    border: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
#accessibility-widget .a11y-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
#accessibility-widget .a11y-btn:hover { transform: scale(1.08); }
#accessibility-widget .a11y-btn:focus { outline: 3px solid #fbbf24; outline-offset: 3px; }
#accessibility-widget .a11y-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 320px;
    max-height: 500px;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 18px;
}
#accessibility-widget .a11y-panel.open { display: flex; }
#accessibility-widget .a11y-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
#accessibility-widget .a11y-group { display: flex; flex-direction: column; gap: 10px; }
#accessibility-widget .a11y-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
#accessibility-widget .a11y-row { display: flex; gap: 8px; flex-wrap: wrap; }
#accessibility-widget .a11y-btn-sm {
    flex: 1;
    min-width: 80px;
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
#accessibility-widget .a11y-btn-sm:hover { background: #e2e8f0; }
#accessibility-widget .a11y-btn-sm.active { background: #2563eb; color: #fff; border-color: #2563eb; }
#accessibility-widget .a11y-reset {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #dc2626;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
#accessibility-widget .a11y-reset:hover { background: #b91c1c; }
#accessibility-widget .a11y-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}
#accessibility-widget .a11y-badge {
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
}

/* === Accessibility applied classes === */
body.a11y-font-1, body.a11y-font-1 * { font-size: 110% !important; }
body.a11y-font-2, body.a11y-font-2 * { font-size: 125% !important; }
body.a11y-font-3, body.a11y-font-3 * { font-size: 150% !important; }
body.a11y-font-4, body.a11y-font-4 * { font-size: 175% !important; }

body.a11y-contrast *,
body.a11y-contrast *::before,
body.a11y-contrast *::after {
    background: #000 !important;
    color: #ff0 !important;
    border-color: #ff0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
body.a11y-contrast a,
body.a11y-contrast a * {
    color: #0ff !important;
    text-decoration: underline !important;
}
body.a11y-contrast img,
body.a11y-contrast video,
body.a11y-contrast iframe,
body.a11y-contrast svg {
    filter: grayscale(100%) contrast(120%);
}

body.a11y-grayscale img,
body.a11y-grayscale video,
body.a11y-grayscale iframe,
body.a11y-grayscale svg {
    filter: grayscale(100%) !important;
}
body.a11y-grayscale {
    filter: grayscale(100%);
}

body.a11y-negative {
    filter: invert(1) hue-rotate(180deg);
}
body.a11y-negative img,
body.a11y-negative video,
body.a11y-negative iframe,
body.a11y-negative svg {
    filter: invert(1) hue-rotate(180deg);
}

body.a11y-lightbg *,
body.a11y-lightbg *::before,
body.a11y-lightbg *::after {
    background: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
body.a11y-lightbg a,
body.a11y-lightbg a * {
    color: #0000ee !important;
    text-decoration: underline !important;
}
body.a11y-lightbg img,
body.a11y-lightbg video,
body.a11y-lightbg iframe,
body.a11y-lightbg svg {
    filter: brightness(1.2) contrast(1.1);
}

body.a11y-links-underline a { text-decoration: underline !important; }

body.a11y-readable, body.a11y-readable * {
    font-family: Arial, Helvetica, sans-serif !important;
}


/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e0dcd2;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 9999;
    padding: 1rem 1.5rem;
    font-family: 'Noto Serif', serif;
}
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner-text {
    margin: 0;
    color: #08172b;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1 1 400px;
}
.cookie-banner-link {
    color: #0096e9;
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.cookie-btn {
    border: none;
    border-radius: 4px;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
.cookie-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.cookie-btn-accept {
    background: #0096e9;
    color: #ffffff;
}
.cookie-btn-deny {
    background: #f1f1f1;
    color: #333333;
}
.cookie-btn-settings {
    background: transparent;
    color: #0096e9;
    border: 1px solid #0096e9;
}
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    display: none;
}
.cookie-settings-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}
.cookie-settings-content {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.cookie-settings-content h5 {
    margin-bottom: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #08172b;
}
.cookie-categories {
    margin-bottom: 1.5rem;
}
.cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}
.cookie-category:last-child {
    border-bottom: none;
}
.cookie-category strong {
    display: block;
    color: #08172b;
    margin-bottom: 0.25rem;
}
.cookie-category-desc {
    margin: 0;
    color: #6c757d;
    font-size: 0.85rem;
}
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}
.cookie-toggle-slider:before {
    position: absolute;
    content: '';
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #0096e9;
}
.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}
.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}
@media (max-width: 767.98px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }
    .cookie-btn {
        flex: 1;
    }
}

