     :root {
            --primary: #2284BC;
            --dark-blue: #1E3774;
            --light-blue: #5CB1E2;
            --bg-dark: #0a1128;
            --bg-light: #f4f7f6;
            --text-light: #ffffff;
            --text-dark: #1c2d42;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-10px);
            }

            100% {
                transform: translateY(0px);
            }
        }

        .animate-fade-in {
            animation: fadeIn 1s ease-out forwards;
        }

        .animate-fade-up {
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .delay-1 {
            animation-delay: 0.2s;
        }

        .delay-2 {
            animation-delay: 0.4s;
        }

        .delay-3 {
            animation-delay: 0.6s;
        }

        /* Navbar Styling */
        nav {
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1001; /* Layered above everything else */
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 15px 10%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        }

            /* Active Scrolling Class Added via JavaScript */
            nav.scrolled {
                padding: 10px 10%;
                background: rgba(255, 255, 255, 0.98);
                box-shadow: 0 10px 30px rgba(30, 55, 116, 0.15);
            }

        .logo-img {
            /* Uses clamp to make logo 30% larger and scale dynamically */
            height: clamp(55px, 4vw + 20px, 70px);
            width: auto;
            display: block;
            transition: height 0.3s ease;
        }

        nav.scrolled .logo-img {
            /* Scales down slightly on scroll but remains readable */
            height: clamp(45px, 3vw + 15px, 55px);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }

            .nav-links a {
                color: var(--dark-blue);
                text-decoration: none;
                /* Scales navbar text slightly for 100% windows zoom */
                font-size: clamp(1rem, 0.5vw + 0.7rem, 1.15rem);
                font-weight: 600;
                position: relative;
                transition: color 0.3s;
            }

                .nav-links a:hover {
                    color: var(--primary);
                }

                /* Interactive animated underlines for links */
                .nav-links a::after {
                    content: '';
                    position: absolute;
                    width: 0;
                    height: 2px;
                    bottom: -4px;
                    left: 0;
                    background-color: var(--primary);
                    transition: width 0.3s ease;
                }

                .nav-links a:hover::after {
                    width: 100%;
                }

        .menu-btn {
            display: none;
            color: var(--dark-blue);
            font-size: 24px;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--dark-blue) 0%, #0d1b3e 100%);
            min-height: 70vh;
            display: flex;
            align-items: center;
            padding: 120px 10% 60px;
            color: var(--text-light);
            position: relative;
            overflow: hidden; /* Prevent video overflow */
        }

        .hero-video-bg {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 98%;
            min-height: 98%;
            width: auto;
            height: auto;
            transform: translate(-50%, -42%); /* Keeps the video perfectly dead-centered */
            opacity: 0.15;
            z-index: 0; /* Lowest layer inside hero */
            pointer-events: none;
        }

        /* 3. FIX: Maintained relative positioning to keep text readable over the video */
        .hero-content {
            max-width: 650px;
            z-index: 2; /* Layered above the video */
            position: relative;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
            line-height: 1.2;
            margin-bottom: 20px;
        }

            .hero h1 span {
                color: var(--light-blue);
            }

        .hero p {
            font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.4rem);
            margin-bottom: 30px;
            color: #cbd5e1;
        }


        /* END HERO SECTION */


        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--text-light);
            box-shadow: 0 4px 15px rgba(34, 132, 188, 0.4);
        }

            .btn-primary:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(34, 132, 188, 0.6);
            }

        .hero-image {
            position: absolute;
            right: 10%;
            width: 40%;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: float 6s ease-in-out infinite;
        }

            .hero-image img {
                width: 95%;
                max-width: 400px;
                height: auto;
            }

        /* Services Section */
        .services {
            padding: 50px 10%;
            text-align: center;
        }

        .section-title {
            font-size: 2.5rem;
            color: var(--dark-blue);
            margin-bottom: 50px;
            position: relative;
        }

            .section-title::after {
                content: '';
                display: block;
                width: 50px;
                height: 3px;
                background: var(--primary);
                margin: 10px auto 0;
            }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .service-card {
            background: white;
            padding: 40px 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            border-bottom: 4px solid transparent;
        }

            .service-card:hover {
                transform: translateY(-10px);
                box-shadow: 0 15px 40px rgba(0,0,0,0.1);
                border-bottom: 4px solid var(--primary);
            }

        .service-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .service-card h3 {
            color: var(--dark-blue);
            margin-bottom: 15px;
            font-size: 1.4rem;
        }

        .service-card p {
            color: #64748b;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Contact Section Area */
        .contact {
            background: #ffffff;
            padding: 50px 10%;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            max-width: 1200px;
            margin: 0 auto;
            align-items: start;
        }

        /* Contact Info and Entrance Animation Structural Rules */
        .contact-info {
            padding: 20px 0;
        }

            .contact-info h3 {
                font-size: 1.8rem;
                color: var(--dark-blue);
                margin-bottom: 25px;
            }

        /* Scroll Target Animations Classes */
        .contact-animate-item {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
        }

            /* Interactive Brand Color Icons Hover States Setup */
            .info-item .icon-box {
                background: rgba(34, 132, 188, 0.1);
                color: var(--primary);
                padding: 12px;
                border-radius: 12px;
                margin-right: 20px;
                transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 46px;
                height: 46px;
            }

            .info-item:hover .icon-box {
                background: var(--dark-blue);
                color: var(--light-blue);
                transform: scale(1.1);
            }

            .info-item .icon-box i {
                font-size: 1.2rem;
            }

        .info-text p {
            font-size: 1rem;
            color: var(--text-dark);
            line-height: 1.6;
        }

        .info-text a {
            color: var(--text-dark);
            text-decoration: none;
            transition: color 0.2s ease;
            font-weight: 500;
        }

            .info-text a:hover {
                color: var(--primary);
            }

        .qr-wrapper {
            margin-top: 25px;
            background: var(--bg-light);
            padding: 24px;
            border-radius: 20px;
            display: inline-block;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0,0,0,0.04);
            border: 1px solid rgba(34, 132, 188, 0.1);
        }

            .qr-wrapper img {
                width: 130px;
                height: 130px;
                display: block;
                margin: 0 auto 0px;
                border-radius: 8px;
            }

            .qr-wrapper span {
                font-size: 0.85rem;
                color: #64748b;
                font-weight: 600;
                letter-spacing: 0.5px;
            }

        /* Contact Form Container */
        .contact-container {
            background: var(--bg-light);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }

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

            .form-group label {
                display: block;
                margin-bottom: 8px;
                font-weight: 500;
                color: var(--dark-blue);
            }

            .form-group input, .form-group textarea {
                width: 100%;
                padding: 12px;
                border: 1px solid #cbd5e1;
                border-radius: 8px;
                outline: none;
                transition: border-color 0.3s, box-shadow 0.3s;
            }

                .form-group input:focus, .form-group textarea:focus {
                    border-color: var(--primary);
                    box-shadow: 0 0 0 3px rgba(34, 132, 188, 0.15);
                }

        /* Footer and Footer Socials Icons Interactive Hover Template Rules */
        footer {
            background: var(--dark-blue);
            color: var(--text-light);
            text-align: center;
        }

        .footer-content {
            padding: 20px 10% 5px;
            padding-bottom:20px;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-top: 20px;
        }

            .social-icons a {
                color: var(--text-light);
                font-size: 1.4rem;
                transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
                display: inline-block;
            }

                /* Complementary colors hover template changes */
                .social-icons a.lnk-icn:hover {
                    color: #0077b5;
                    transform: translateY(-5px) scale(1.15);
                }

                .social-icons a.gh-icn:hover {
                    color: #4078c0;
                    transform: translateY(-5px) scale(1.15);
                }

                .social-icons a.tw-icn:hover {
                    color: #1da1f2;
                    transform: translateY(-5px) scale(1.15);
                }



        .scroll-to-top {
            position: fixed;
            bottom: 8px;
            right: 8px;
            width: 48px;
            height: 47px;
            border: none;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            font-size: 18px;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(0,0,0,0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.25s ease;
            z-index: 999999; /* IMPORTANT: ensures it is above everything */
        }

            .scroll-to-top.show {
                Opacity: 0.7;
                visibility: visible;
                transform: translateY(0);
            }

            .scroll-to-top:hover {
                background: var(--dark-blue);
                transform: translateY(-3px);
            }


        /* LOGO ANIM */

        .hero-image img {
            opacity: 0;
            transform: scale(0.85) translateY(40px);
            filter: blur(14px) brightness(2);
            animation: logoBang 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 0.25s;
            transform-origin: center;
            will-change: transform, opacity, filter;
        }

        /* flash layer (pseudo “energy burst”) */
        .hero-image {
            position: absolute;
        }

            .hero-image::after {
                content: "";
                position: absolute;
                inset: 0;
                background: radial-gradient(circle at center, rgba(92, 177, 226, 0.55), transparent 60%);
                opacity: 0;
                animation: flashBang 0.6s ease-out forwards;
                animation-delay: 0.25s;
                pointer-events: none;
            }

        @keyframes flashBang {
            0% {
                opacity: 0;
                transform: scale(0.6);
            }

            30% {
                opacity: 1;
            }

            100% {
                opacity: 0;
                transform: scale(1.4);
            }
        }

        /* main “impact” animation */
        @keyframes logoBang {
            0% {
                opacity: 0;
                transform: scale(0.85) translateY(40px) rotate(-2deg);
                filter: blur(14px) brightness(2);
            }

            35% {
                opacity: 1;
                transform: scale(1.08) translateY(-8px) rotate(1deg);
                filter: blur(2px) brightness(1.4);
            }

            55% {
                transform: scale(0.98) translateY(4px) rotate(-0.5deg);
                filter: blur(0px) brightness(1.1);
            }

            75% {
                transform: scale(1.01) translateY(-2px) rotate(0.2deg);
            }

            100% {
                opacity: 1;
                transform: scale(1) translateY(0) rotate(0deg);
                filter: blur(0px) brightness(1);
            }
        }

        /* CLIENTS / PARTNERS SECTION */

        .clients-section {
            background: linear-gradient(135deg, #0d1733 0%, #111f47 100%);
            padding: 50px 5%;
            overflow: hidden;
            position: relative;
        }

        .clients-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .clients-section .section-title {
            color: #ffffff;
            margin-bottom: 10px;
        }

        .clients-header p {
            color: rgba(255,255,255,0.7);
            font-size: 1rem;
        }

        .clients-scroll-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .clients-track {
            display: flex;
            gap: 28px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 10px 50px;
            width: 100%;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE */
        }

            .clients-track::-webkit-scrollbar {
                display: none;
            }

        .client-logo {
            flex: 0 0 auto;
            width: 210px;
            height: 140px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
        }

            .client-logo:hover {
                transform: translateY(-4px);
                background: rgba(255,255,255,0.06);
                border-color: rgba(92, 177, 226, 0.4);
            }

            .client-logo img {
                max-width: 190px;
                object-fit: contain;
                transition: opacity 0.3s ease, transform 0.3s ease;
            }

            .client-logo:hover img {
                opacity: 1;
                transform: scale(1.05);
            }

        .clients-nav {
            position: absolute;
            z-index: 5;
            width: 46px;
            height: 46px;
            border: none;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            color: #ffffff;
            backdrop-filter: blur(10px);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease, transform 0.3s ease;
        }

            .clients-nav:hover {
                background: var(--primary);
                transform: scale(1.08);
            }

            .clients-nav.left {
                left: 0;
            }

            .clients-nav.right {
                right: 0;
            }


        @media (max-width: 768px) {

            /* Hide scroll buttons on mobile */
            .clients-nav {
                display: none !important;
            }

            .clients-track {
                gap: 12px;
                padding: 10px 20px;
                scroll-snap-type: x mandatory;
                overscroll-behavior-x: contain;
                -webkit-overflow-scrolling: auto;
            }

            .client-logo {
                flex: 0 0 75%;
                width: 75%;
                max-width: 75%;
                scroll-snap-align: center;
            }

                .client-logo img {
                    max-width: 85%;
                    width: auto;
                    height: auto;
                    object-fit: contain;
                }
        }

        /*-----------------------------------------------------*/
        /*-----------------------------------------------------*/

        /* Responsive Breakpoints Layouts styling modifications */
        @media (max-width: 968px) {
            .hero {
                flex-direction: column;
                text-align: center;
                padding-top: 160px;
            }

            .hero-image {
                position: relative;
                right: 0;
                width: 70%;
                margin-top: 50px;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .qr-wrapper {
                display: block;
                max-width: 200px;
                margin: 30px auto 0;
            }
        }


        @media (max-width: 768px) {
            .menu-btn {
                display: block;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: white;
                flex-direction: column;
                padding: 20px;
                text-align: center;
                box-shadow: 0 10px 20px rgba(0,0,0,0.05);
                border-top: 1px solid #e2e8f0;
            }

                .nav-links.active {
                    display: flex;
                }

            .services, .contact {
                padding: 60px 5%;
            }
        }


        /* CONTACT SEKCIJA NOVO */

        .contact {
            background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
        }

        /* Left panel (contact info) */
        .contact-info {
            padding: 30px 10px;
        }

            .contact-info h3 {
                font-size: 2rem;
                letter-spacing: 0.5px;
                margin-bottom: 30px;
                color: var(--dark-blue);
                position: relative;
            }

                .contact-info h3::after {
                    content: "";
                    display: block;
                    width: 60px;
                    height: 3px;
                    background: var(--primary);
                    margin-top: 10px;
                    border-radius: 3px;
                }

        /* Each info item becomes a soft card row */
        .info-item {
            background: #ffffff;
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 14px;
            padding: 14px 16px;
            margin-bottom: 16px;
            transition: all 0.25s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.03);
        }

            .info-item:hover {
                transform: translateY(-3px);
                box-shadow: 0 10px 25px rgba(0,0,0,0.08);
                border-color: rgba(34, 132, 188, 0.25);
            }

            /* Icon refinement */
            .info-item .icon-box {
                width: 44px;
                height: 44px;
                border-radius: 12px;
                background: linear-gradient(135deg, rgba(34,132,188,0.12), rgba(92,177,226,0.08));
            }

        /* Text hierarchy */
        .info-text p {
            font-size: 0.98rem;
            line-height: 1.5;
            color: #2c3e50;
        }

        .info-text strong {
            color: var(--dark-blue);
        }

        /* Links look cleaner */
        .info-text a {
            color: var(--primary);
            font-weight: 600;
        }

            .info-text a:hover {
                text-decoration: underline;
            }

        /* QR card upgrade */
        .qr-wrapper {
            margin-top: 25px;
            background: linear-gradient(135deg, #ffffff, #f3f7fb);
            border: 1px solid rgba(34,132,188,0.12);
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        /* Right form panel (if enabled later) */
        .contact-container {
            background: #ffffff;
            border-radius: 20px;
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 10px 40px rgba(0,0,0,0.06);
        }

        /* Mobile spacing refinement */
        @media (max-width: 768px) {
            .contact-info h3 {
                font-size: 1.6rem;
            }

            .info-item {
                padding: 12px;
            }
        }

        /* LANGUAGE SWITCHER */

        .language-switcher {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: 25px;
        }

            .language-switcher a {
                text-decoration: none;
                font-weight: 600;
                color: var(--dark-blue);
                transition: color 0.3s ease;
            }

                .language-switcher a:hover {
                    color: var(--primary);
                }

                .language-switcher a.active {
                    color: var(--primary);
                }

        @media (max-width: 768px) {
            .language-switcher {
                margin-top: 15px;
                justify-content: center;
            }
        }

        /* Mobile Responsiveness for Header Logo */
        @media (max-width: 768px) {
            .logo-img {
                /* Caps the logo height at a clean 35px on smartphones */
                height: 35px !important;
            }

            nav {
                /* Tightens navigation padding for small screens */
                padding: 12px 5%;
            }

                nav.scrolled .logo-img {
                    /* Keeps it stable when scrolling on mobile */
                    height: 35px !important;
                }

            .hero {
                /* Reduces top spacing on mobile so content is higher up */
                padding-top: 100px;
            }
        }


        /* MODAL WINDOW */

        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.65);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
        }

            .modal-overlay.active {
                opacity: 1;
                visibility: visible;
            }

        .modal-window {
            background: #ffffff;
            width: 100%;
            max-width: 900px;
            max-height: 85vh;
            overflow-y: auto;
            border-radius: 20px;
            padding: 35px;
            position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: modalPop 0.3s ease;
        }

        @keyframes modalPop {
            from {
                transform: scale(0.92);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 18px;
            border: none;
            background: transparent;
            font-size: 28px;
            cursor: pointer;
            color: var(--dark-blue);
            transition: color 0.2s ease;
        }

            .modal-close:hover {
                color: var(--primary);
            }

        .modal-window h2 {
            color: var(--dark-blue);
            margin-bottom: 25px;
            font-size: 2rem;
        }

        .modal-window p {
            line-height: 1.8;
            margin-bottom: 20px;
            color: #334155;
            font-size: 0.97rem;
        }

        .footer-links {
            margin-top: 15px;
        }

            .footer-links a {
                color: #cbd5e1;
                text-decoration: none;
                font-size: 0.95rem;
                transition: color 0.3s ease;
            }

                .footer-links a:hover {
                    color: #ffffff;
                    text-decoration: underline;
                }

        @media (max-width: 768px) {
            .modal-window {
                padding: 25px 20px;
            }

                .modal-window h2 {
                    font-size: 1.5rem;
                }
        }

        /* MODAL WINDOW KRAJ */

        /* COOKIE CONSENT */
        .cookie-consent {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 99999999;
            width: 90%;
            max-width: 520px;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
            padding: 18px;
            display: none;
            animation: fadeInUp 0.4s ease;
        }

        .cookie-box p {
            font-size: 0.95rem;
            color: #334155;
            margin-bottom: 12px;
            line-height: 1.5;
        }

        .cookie-actions {
            display: flex;
            justify-content: flex-end;
        }

        .cookie-consent.show {
            display: block;
        }


        /* =========================
         ACCESSIBILITY WIDGET
        ========================= */

        .a11y-btn {
            position: fixed;
            bottom: 8px; /* small margin from bottom */
            left: 8px; /* small margin from left */
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: none;
            background: rgba(34, 132, 188, 0.75); /* semi-transparent */
            color: white;
            font-size: 20px;
            cursor: pointer;
            z-index: 999999;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 18px rgba(0,0,0,0.25);
            transition: all 0.2s ease;
            backdrop-filter: blur(6px);
            Opacity: 0.7;
        }

        .a11y-panel {
            position: fixed;
            bottom: 80px;
            left: 25px;
            width: 260px;
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.25);
            padding: 15px;
            display: none;
            z-index: 99999999;
        }

            .a11y-panel.active {
                display: block;
            }

        .a11y-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

            .a11y-header h3 {
                font-size: 16px;
                color: var(--dark-blue);
            }

            .a11y-header button {
                border: none;
                background: none;
                font-size: 20px;
                cursor: pointer;
            }

        .a11y-controls button {
            width: 100%;
            margin: 6px 0;
            padding: 10px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            background: #f1f5f9;
            font-weight: 600;
        }

            .a11y-controls button:hover {
                background: #e2e8f0;
            }

        /* HIGH CONTRAST MODE */
        .high-contrast {
            background: black !important;
            color: yellow !important;
        }

            .high-contrast * {
                color: yellow !important;
                background: black !important;
                border-color: yellow !important;
            }

        /* DYSLEXIA FRIENDLY FONT */
        .dyslexia-font {
            font-family: Arial, Helvetica, sans-serif !important;
        }

        /* =========================
           ACCESSIBILITY OVERRIDES
        ========================= */

        body.a11y-font-active {
            font-size: calc(16px * var(--a11y-font-scale)) !important;
        }

            /* force override of clamp-based typography */
            body.a11y-font-active h1,
            body.a11y-font-active h2,
            body.a11y-font-active h3,
            body.a11y-font-active p,
            body.a11y-font-active a,
            body.a11y-font-active span,
            body.a11y-font-active button {
                font-size: inherit !important;
            }

        /* dyslexia mode actually visible */
        .dyslexia-font {
            font-family: "OpenDyslexic", Arial, sans-serif !important;
            letter-spacing: 0.05em;
            word-spacing: 0.1em;
            line-height: 1.6;
        }

        /* fallback if OpenDyslexic not loaded */
        @font-face {
            font-family: "OpenDyslexic";
            src: local("Arial");
        }
