/* ========================================= */
/* 1. הגדרות בסיס - יציבות ונעילת רוחב */
/* ========================================= */
* { box-sizing: border-box; outline: none; }

html {
    overflow-y: scroll; 
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    font-family: 'Heebo', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

#trafficLayer {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

:root {
    --primary-color: #006064;
    --primary-hover: #004d40;
    --bg-gradient: #cfeff5;
    --card-bg: rgba(255, 255, 255, 0.98);
    --text-color: #222;
}

/* ========================================= */
/* 2. האדר (תפריט עליון) */
/* ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    height: auto;
    background: transparent;
    z-index: 100000;
    will-change: background-color, padding;
    transform: translateZ(0); 
    -webkit-backface-visibility: hidden;
    transition: background-color 0.2s linear, box-shadow 0.2s linear; 
}

.sticky-wrapper {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.sticky-wrapper.scrolled {
    background:
        radial-gradient(180px 60px at 20% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0) 70%),
        radial-gradient(220px 70px at 60% 20%, rgba(255,255,255,0.75), rgba(255,255,255,0) 72%),
        radial-gradient(200px 60px at 85% 40%, rgba(255,255,255,0.8), rgba(255,255,255,0) 70%),
        linear-gradient(180deg, #86c7ef 0%, #bfe7ff 55%, #dff5ff 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-bar { 
    display: flex; 
    align-items: center; 
    max-width: 1400px; 
    margin: 0 auto; 
    width: 100%; 
    padding: 10px 0; 
    transition: padding 0.3s ease;
}

.sticky-wrapper.scrolled .header-bar {
    padding: 5px 0; 
}

.header-brand { display: flex; align-items: center; margin-left: 30px; }

.logo-header { 
    height: 70px;
    width: auto; 
    transition: height 0.3s; 
}

.sticky-wrapper.scrolled .logo-header { 
    height: 45px; 
} 

.main-nav { display: flex; gap: 20px; align-items: center; }
.nav-link { text-decoration: none; color: #333; font-weight: bold; font-size: 1rem; padding: 8px 12px; border-radius: 5px; transition: background 0.2s; }
.nav-link:hover { background: rgba(0, 96, 100, 0.1); color: var(--primary-color); }

.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: white; min-width: 200px; box-shadow: 0 8px 16px rgba(0,0,0,0.2); border-radius: 8px; z-index: 1000; top: 100%; right: 0; overflow: hidden; border: 1px solid #eee; }
.dropdown-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; text-align: right; transition: background 0.2s; }
.dropdown-content a:hover { background-color: #f1f1f1; color: var(--primary-color); }
.dropdown:hover .dropdown-content { display: block; }

.header-actions { margin-right: auto; display: flex; gap: 10px; align-items: center; }
.btn-advanced { background: #006064; color: white; padding: 8px 15px; text-decoration: none; border-radius: 20px; font-weight: bold; font-size: 0.9rem; transition: all 0.2s; box-shadow: 0 4px 10px rgba(0,96,100,0.2); cursor: pointer; border: none;}
.btn-advanced:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,96,100,0.3); }

/* ========================================= */
/* 3. גלובוס ותעבורה */
/* ========================================= */
.globe-wrapper {
    position: fixed;
    top: 58%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    z-index: 0; 
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px; 
}

#globeScrollWrapper {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: none !important; 
}

.globe {
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #80deea);
    border: 3px solid rgba(0, 96, 100, 0.15);
    box-shadow: 0 0 150px rgba(0, 96, 100, 0.3), 0 0 80px rgba(0, 150, 136, 0.2);
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/World_map_blank_without_borders.svg/2000px-World_map_blank_without_borders.svg.png');
    background-size: cover;
    opacity: 1;
    animation: spinGlobeMap 80s linear infinite;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    transition: transform 0s !important;
    will-change: transform;
}

@keyframes spinGlobeMap { from { background-position-x: 0; } to { background-position-x: 1000px; } }

.globe-server {
    position: absolute; width: 30px; height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23006064'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 8h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm2 3v2h2v-2H6zm0-8v2h2V7H6z'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat; opacity: 0.8;
    animation: orbitServer 60s linear infinite; 
}
@keyframes orbitServer { 0% { transform: translateX(0); opacity: 0.3; } 50% { opacity: 1; } 100% { transform: translateX(400px); opacity: 0.3; } }

.packet { position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; gap: 6px; z-index: 10000; will-change: transform, opacity; }
.packet-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 8px rgba(255,255,255,1); }
.packet-icon-svg { width: 42px; height: 42px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); } 
.packet-anim { animation: flyToCenter 15s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes flyToCenter { 
    0% { transform: translate(var(--sx), var(--sy)) scale(1.0); opacity: 0; } 
    5% { opacity: 1; } 90% { opacity: 1; } 
    100% { transform: translate(var(--ex), var(--ey)) scale(0.3); opacity: 0; } 
}

/* ========================================= */
/* 4. אזור ההירו (Hero) - זום כניסה */
/* ========================================= */
.hero-section { 
    position: relative; 
    min-height: 85vh; 
    display: flex; 
    align-items: flex-start; 
    justify-content: center; 
    text-align: center; 
    padding-top: 160px; 
    padding-bottom: 50px;
    z-index: 1;
}

/* אנימציית זום כניסה */
@keyframes heroZoomIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-content { 
    z-index: 5; 
    background: rgba(255, 255, 255, 0.35); 
    backdrop-filter: blur(10px); 
    padding: 60px; 
    border-radius: 24px; 
    box-shadow: 0 20px 50px rgba(0, 96, 100, 0.15); 
    max-width: 800px; 
    border: 1px solid rgba(255,255,255,0.45); 
    margin-top: 0;
    
    /* הפעלת האנימציה */
    animation: heroZoomIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title { font-size: 3.5rem; font-weight: 800; color: #004d40; margin-bottom: 15px; line-height: 1.1; text-shadow: 0 2px 10px rgba(255,255,255,0.6); }
.hero-subtitle { font-size: 1.4rem; color: #111; line-height: 1.6; font-weight: 600; }

/* ========================================= */
/* 5. כרטיסי מידע נפתחים (Reveal Cards) */
/* ========================================= */
.features-section {
    padding: 90px 20px;
    border-radius: 40px 40px 0 0;
    margin-top: -50px;
    background: radial-gradient(circle at 10% 20%, rgba(0, 150, 136, 0.12), transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(0, 188, 212, 0.18), transparent 45%),
                linear-gradient(180deg, rgba(240, 252, 254, 0.96) 0%, #ffffff 100%);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.features-section::before {
    content: "";
    position: absolute;
    inset: 40px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(0, 96, 100, 0.08), rgba(0, 188, 212, 0.08));
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.cards-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}

.reveal-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e0f7fa;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    height: fit-content;
    cursor: default;
    /* פס צבע עליון */
    border-top: 4px solid var(--primary-color);
}

.reveal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 96, 100, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    padding: 15px;
    background: #e0f7fa;
    border-radius: 50%;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.reveal-card:hover .card-icon {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
}

/* התוכן שמוסתר כברירת מחדל */
.card-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, margin-top 0.4s;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* חשיפה בריחוף */
.reveal-card:hover .card-content {
    max-height: 150px; /* גובה מספיק לטקסט */
    opacity: 1;
    margin-top: 15px;
}

.features-section .cards-grid-modern {
    position: relative;
    z-index: 1;
    gap: 35px;
}

.features-section .reveal-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 48px 32px;
    min-height: 280px;
    box-shadow: 0 30px 80px rgba(0, 96, 100, 0.15);
    cursor: pointer;
    backdrop-filter: blur(18px);
    isolation: isolate;
}

.features-section .reveal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(0, 188, 212, 0.18), rgba(0, 77, 64, 0.18));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.features-section .reveal-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    top: -80px;
    left: -80px;
    opacity: 0.3;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.features-section .reveal-card:hover::before {
    opacity: 1;
}

.features-section .reveal-card:hover::after {
    transform: translate(40px, 40px);
    opacity: 0.6;
}

.features-section .card-front,
.features-section .card-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    color: #053b45;
}

.features-section .card-front {
    justify-content: center;
    min-height: 200px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.features-section .card-reveal {
    position: absolute;
    inset: 0;
    padding: 40px 35px;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    line-height: 1.9;
    justify-content: center;
    text-align: center;
}

.features-section .reveal-card:hover .card-front {
    opacity: 0;
    transform: translateY(-25px);
}

.features-section .reveal-card:hover .card-reveal {
    opacity: 1;
    transform: translateY(0);
}

.features-section .card-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    padding: 0;
    background: linear-gradient(145deg, #00bcd4, #006064);
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 96, 100, 0.3);
}

.features-section .card-title {
    font-size: 1.5rem;
    color: #022c32;
}

.features-section .card-reveal p {
    margin: 0;
    font-size: 1.08rem;
    color: #012b30;
    font-weight: 600;
    text-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
}

/* ========================================= */
/* 6. קרוסלת לקוחות (Infinite Scroll) */
/* ========================================= */
.clients-section {
    padding: 60px 0;
    background: white;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border-top: 1px solid #eee;
}

.section-title-center {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 800;
}

.carousel-container {
    width: 100%;
    /* הקונטיינר החיצוני מבצע את החיתוך האופקי */
    overflow: hidden; 
    position: relative;
    /* מרווח עליון גדול כדי להכיל את הבועה שנפתחת למעלה */
    padding: 120px 0 40px 0; 
    margin-top: -80px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* כפתורי חצים לקרוסלה */
.carousel-arrow {
    position: absolute;
    /* מרכוז אנכי ביחס לאזור הגלילה עצמו (מתחשב ב-padding) */
    top: 60%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    user-select: none;
}
.carousel-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}
.arrow-prev { right: 20px; } 
.arrow-next { left: 20px; }

/* המסלול שזז */
.carousel-track {
    display: flex;
    width: max-content;
    gap: 60px;
    will-change: transform;
    /* הסרנו padding אופקי כדי לפשט חישובים */
    padding: 0; 
}

.client-item {
    position: relative;
    width: 150px; 
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    cursor: pointer;
    user-select: none; 
}

.client-item:hover {
    transform: scale(1.1);
    z-index: 100; /* מביא לקדמה כדי שהבועה לא תוסתר ע"י שכנים */
}

.client-logo {
    max-width: 100%;
    max-height: 100%;
    /* תיקון: צבעוני כברירת מחדל */
    filter: grayscale(0%);
    opacity: 1;
    transition: 0.3s;
}

.client-item:hover .client-logo {
    /* תיקון: אפור בריחוף */
    filter: grayscale(100%);
    opacity: 0.6;
}

/* הבועה (Tooltip) */
.client-info-popup {
    position: absolute;
    bottom: 120%; /* מעל הלוגו */
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    min-width: 200px;
    max-width: 350px;
    width: max-content;
    text-align: center;
    font-size: 0.9rem;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-info-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.client-item:hover .client-info-popup {
    visibility: visible;
    opacity: 1;
    bottom: 110%;
}

.client-name {
    display: block;
    font-weight: bold;
    font-size: 1.05rem;
    color: #ff9800; /* צבע מדגיש */
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.client-desc {
    display: block;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #e0e0e0;
}

/* ========================================= */
/* 7. מודלים ונגישות (ללא שינוי) */
/* ========================================= */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); z-index: 200000; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.open { display: flex; opacity: 1; }
.modal-content { 
    background: white; 
    padding: 2rem; 
    border-radius: 20px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); 
    width: 60%; /* הקטנה לשליש מסך */
    max-width: 500px; /* מקסימום 500 פיקסל */
    position: relative; 
    transform: translateY(20px); 
    transition: transform 0.3s ease; 
    text-align: center; 
}
.modal-overlay.open .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 15px; left: 15px; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #555; }
.input-group { position: relative; margin-bottom: 1.5rem; text-align: right; width: 100%; }
.input-group input { width: 100%; padding: 12px 15px; border: 2px solid #bdbdbd; border-radius: 10px; font-size: 1rem; outline: none; background: #fafafa; height: 50px; }
.input-group label { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: #666; pointer-events: none; transition: 0.3s; background-color: transparent; }
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label { top: 0; transform: translateY(-50%) scale(0.85); background: #fff; padding: 0 5px; color: var(--primary-color); }
.btn { width: 100%; border: none; padding: 15px; border-radius: 12px; cursor: pointer; font-family: 'Heebo', sans-serif; text-decoration: none; font-size: 1.1rem; display: inline-block; text-align: center; margin-top: 10px; }
.btn-primary { background: #00bcd4; color: #000; font-weight: bold; transition: background 0.3s; }
.logo-login { max-width: 180px; height: auto; display: block; margin: 0 auto 20px auto; }
.a11y-widget { position: fixed; bottom: 20px; right: 20px; z-index: 10000; font-family: 'Heebo', sans-serif; }
.a11y-toggle-btn { background: #006064; color: white; border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 24px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; }
.a11y-menu { position: absolute; bottom: 70px; right: 0; background: white; border: 1px solid #ccc; border-radius: 10px; padding: 15px; width: 280px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); display: none; flex-direction: column; gap: 12px; }
.a11y-menu.show { display: flex; }
.a11y-btn { background: #f5f5f5; border: 1px solid #ddd; padding: 10px; border-radius: 5px; cursor: pointer; text-align: right; }
.a11y-btn.active { background: #00bcd4; color: black; border-color: #00838f; font-weight: bold; }
.a11y-row { display: flex; flex-direction: column; gap: 5px; }
#magnifierLens { display: none; position: fixed; width: auto; max-width: 400px; background: #fff; border: 2px solid #006064; border-radius: 15px; padding: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); z-index: 999999; pointer-events: none; font-size: 24px; line-height: 1.4; color: #000; text-align: center; direction: rtl; transform: translate(20px, 20px); }
#magnifierLens.active { display: block; }
body.a11y-text-scale { font-size: 100%; }
/* ========================================= */
/* 20. נגישות משופרת (Accessibility Enhanced) */
/* ========================================= */

/* --- הדגשת קישורים (Links Highlight) --- */
/* טיפול בקישורים, כפתורים, ואלמנטים לחיצים כולל JS */
body.a11y-links-highlight a,
body.a11y-links-highlight button,
body.a11y-links-highlight .btn,
body.a11y-links-highlight [role="button"],
body.a11y-links-highlight input[type="submit"],
body.a11y-links-highlight input[type="reset"],
body.a11y-links-highlight input[type="button"],
body.a11y-links-highlight [onclick],     /* אלמנטים עם אירוע לחיצה */
body.a11y-links-highlight .nav-link,
body.a11y-links-highlight .card-icon,    /* אייקונים לחיצים */
body.a11y-links-highlight select,
body.a11y-links-highlight label[for] {
    background-color: #ffeb3b !important;
    color: #000 !important;
    border: 3px solid #000 !important;
    font-weight: bold !important;
    text-decoration: underline !important;
    box-shadow: 0 0 0 4px rgba(255, 235, 59, 0.5) !important;
    cursor: pointer !important;
    border-radius: 4px !important;
}

body.a11y-links-highlight a:hover,
body.a11y-links-highlight button:hover,
body.a11y-links-highlight [role="button"]:hover {
    background-color: #000 !important;
    color: #ffeb3b !important;
    border-color: #ffeb3b !important;
}

/* --- ניגודיות גבוהה (High Contrast) - גרסה אגרסיבית --- */
body.a11y-high-contrast {
    background-color: #000 !important;
    background-image: none !important;
    color: #fff !important;
}

/* איפוס רקעים וצבעים לכל האלמנטים */
body.a11y-high-contrast * {
    background-color: #000 !important;
    background-image: none !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* כותרות בצהוב */
body.a11y-high-contrast h1, 
body.a11y-high-contrast h2, 
body.a11y-high-contrast h3, 
body.a11y-high-contrast h4, 
body.a11y-high-contrast h5, 
body.a11y-high-contrast h6,
body.a11y-high-contrast strong,
body.a11y-high-contrast b {
    color: #ffeb3b !important;
}

/* קישורים בציאן/תכלת */
body.a11y-high-contrast a,
body.a11y-high-contrast a * {
    color: #00ffff !important;
    text-decoration: underline !important;
}

/* כפתורים ואלמנטים לחיצים במסגרת צהובה בולטת */
body.a11y-high-contrast button,
body.a11y-high-contrast .btn,
body.a11y-high-contrast [role="button"],
body.a11y-high-contrast input[type="submit"],
body.a11y-high-contrast input[type="button"],
body.a11y-high-contrast select,
body.a11y-high-contrast input {
    border: 2px solid #ffeb3b !important;
    background: #000 !important;
    color: #ffeb3b !important;
}

body.a11y-high-contrast button:hover,
body.a11y-high-contrast a:hover {
    background: #ffeb3b !important;
    color: #000 !important;
}

/* תמונות - פילטר לשמירה על נראות */
body.a11y-high-contrast img,
body.a11y-high-contrast svg,
body.a11y-high-contrast video {
    filter: grayscale(100%) contrast(150%) brightness(1.2) !important;
}

/* חריגים ספציפיים למנוע שבירה מוחלטת של ה-UI */
body.a11y-high-contrast ::placeholder {
    color: #aaa !important;
}

/* ווידג'ט הנגישות עצמו צריך להישאר קריא */
body.a11y-high-contrast .a11y-widget,
body.a11y-high-contrast .a11y-menu,
body.a11y-high-contrast .a11y-btn {
    border: 1px solid #fff !important;
}
body.a11y-high-contrast .a11y-btn.active {
    background: #ffeb3b !important;
    color: #000 !important;
}

/* זכוכית מגדלת */
#magnifierLens {
    border: 4px solid #ffeb3b !important;
    background: #fff !important; /* הזכוכית עצמה צריכה רקע לבן כדי שיראו את הטקסט */
    color: #000 !important;
}
body.a11y-high-contrast #magnifierLens * {
    background: transparent !important;
    color: #000 !important;
}
