﻿html {
    font-size: 14px;
    direction: rtl;
}
html, body {
    overflow-x: hidden !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* אפקט תזוזה גנרי לכל תמונה */
.tilt-3d {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

    .tilt-3d:hover {
        transform: rotateY(10deg) rotateX(6deg) scale(1.03);
        box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    }

.mockup-3d-stage {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 520px; /* גובה יפה שמספיק לכולם */
    margin: 80px auto;
    perspective: 1600px;
}


/* ===== 3D GENERIC CLASS ===== */
.mockup-3d {
    position: absolute;
    transform-style: preserve-3d;
    animation: float-3d 7s ease-in-out infinite;
}

    .mockup-3d img {
        width: 100%;
        height: auto;
        max-height: 690px;
        filter: drop-shadow(0px 25px 50px rgba(0,0,0,0.25));
        border-radius: 20px;
    }


/* ===== LAPTOP POSITION ===== */
.mockup-laptop {
    width: 70%;
    max-height: 520px;
    left: 0;
    top: 0;
    transform: rotateY(-14deg) rotateX(4deg);
    z-index: 1;
}

/* ===== PHONE POSITION ===== */
.mockup-phone {
    width: 27%;
    max-height: 520px;
    right: 40px;
    top: -80px;
    transform: rotateY(18deg) rotateX(-6deg);
    z-index: 2;
    animation-delay: 0.5s;
}



/* ===== FLOAT ANIMATION ===== */
@keyframes float-3d {
    0% {
        transform: translateY(0px) scale(1) rotateY(var(--ry, 0));
    }

    50% {
        transform: translateY(-18px) scale(1.02) rotateY(calc(var(--ry, 0) + 4deg));
    }

    100% {
        transform: translateY(0px) scale(1) rotateY(var(--ry, 0));
    }
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .mockup-3d-stage {
        height: auto;
        margin-top: 40px;
    }

    .mockup-laptop {
        width: 100%;
        position: relative;
        left: 0;
        transform: rotateY(-5deg);
    }

    .mockup-phone {
        width: 40%;
        right: 0;
        bottom: -20px;
        transform: rotateY(10deg);
    }
    .mockup-3d img {
        width: 100%;
        height: auto;
        max-height: 400px;
        filter: drop-shadow(0px 25px 50px rgba(0,0,0,0.25));
        border-radius: 20px;
    }
}


/* ====== ניווט ראשי - דסקטופ ====== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

/* לוגו */
/* לוגו צף בתוך ה-Hero – דסקטופ בלבד */
.hero-floating-logo {
    position: absolute;
    top: 25px;
    right: 40px;
    z-index: 6000;
}

    .hero-floating-logo img {
        height: 68px;
        opacity: 0.92;
        filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    }

/* מסתירים במובייל */
@media (max-width: 992px) {
    .hero-floating-logo {
        margin-right: 30px;
    }
        .hero-floating-logo img {
            height: 50px;
            opacity: 0.92;
            filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
        }
}

/* קישורים בדסקטופ */
.nav-links a {
    margin-left: 28px;
    font-size: 1.15rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    background: rgba(0,0,0,0.20);
    padding: 10px 16px;
    border-radius: 999px;
}

    .nav-links a:hover {
        color: #cbe3ff;
    }

/* =============== */
/*  systems-nav    */
/* =============== */

.systems-nav {
    /*  pointer-events: auto;*/
    /* position: fixed;*/
    right: 40px;
    bottom: -28px; /* יוצא מה-header ונכנס ל-hero */
    display: flex;
    /*z-index: 9000;*/
    gap: 14px;
    justify-content: center;
    margin-top: 30px;
    margin-left: 90px;
}

    .systems-nav a {
        padding: 10px 16px;
        border-radius: 999px;
        background: rgba(0,0,0,0.20);
        /* background: rgba(0,0,0,0.65);*/
        /* background: #159ecbd9;*/
        color: #fff;
        font-weight: 600;
        font-size: 0.95rem;
        white-space: nowrap;
        text-decoration: none;
        transition: all .2s ease;
    }


        .systems-nav a:hover {
            background: #fff;
            color: #000;
        }

        .systems-nav a.active {
            background: #0a84ff;
            color: #000;
            font-weight: 700;
        }

@media (max-width: 768px) {

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 64px;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        backdrop-filter: blur(10px);
    }

    .systems-nav {
        position: fixed;
        flex-direction: column;
        bottom: auto;
        margin-right: -30px;
        z-index: 100;
        align-items: stretch;
        padding: 0 18px;
        gap: 10px;
        margin-top: 370px;
        z-index: 100;
    }

        .systems-nav a {
            width: 100%;
            text-align: center;
            font-size: 1.05rem;
            padding: 14px;
            border-radius: 14px;
        }
}


/* ====== מובייל ====== */
.mobile-menu-btn {
    display: none;
    font-size: 32px;
    border: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.55); /* אוברליי כהה ושקוף */
    backdrop-filter: blur(8px); /* אפקט זכוכית יוקרתי */
    color: #fff; /* טקסט לבן */
}

/* תפריט נפתח */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 300px;
    height: 100vh;

    background: rgba(0, 0, 0, 0.55); /* שחור שקוף */
    backdrop-filter: blur(18px); /* זכוכית מטושטשת */
    -webkit-backdrop-filter: blur(18px);
    color: #fff;

    padding: 40px 25px;
    z-index: 20000;
    display: none;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu-logo {
    width: 130px;
    margin: 0 auto 30px auto;
}

.mobile-menu a {
    display: block;
    font-size: 1.4rem;
    text-decoration: none;
    color: #fff !important;
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
}

.close-menu-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 23px;
    color: #fff !important;
    background: none;
    border: none;
    cursor: pointer;
}

/* הסתרת תפריט דסקטופ במובייל */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    font-weight: 700;
}

p {
    color: #555;
    font-size: 1.05rem;
}

/* =====================================
   HERO – Video Background
===================================== */

.hero-video {
    margin-bottom: 30px;
    position: relative;
    height: 95vh;
    overflow: hidden;
    position: relative;
    perspective: 2000px;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}


.bg-blur {
    width: 100%;
    filter: blur(7px);
    transform: scale(1.1); /* נגד חיתוך קצוות */
    object-fit: cover;
}


/* Overlay */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(0,0,0,0.25), rgba(0,0,0,0.5) );
}

/* Glass text box */
.hero-video-content {
    pointer-events: auto;
    position: relative;
    z-index: 5;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
    padding: 45px 60px;
    border-radius: 24px;
    background: rgba(255,255,255,0.07);
    margin: 0 auto;
    margin-top: 18vh;
    max-width: 550px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

    .hero-video-content h1 {
        font-size: 3.1rem;
        margin-bottom: 12px;
        color: white;
        width: 420px;
        transform-style: preserve-3d;
        animation: heroFloat 6s ease-in-out infinite;
        margin: auto;
    }

    .hero-video-content p {
        font-size: 1.35rem;
        margin-bottom: 28px;
        color: white;
        width: 420px;
        transform-style: preserve-3d;
        animation: heroFloat 6s ease-in-out infinite;
        margin: auto;
    }

.hero-btn3 {
    background: #0a84ff;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.15rem;
    transition: 0.25s;
    transform-style: preserve-3d;
    animation: heroFloat 6s ease-in-out infinite;
}

    .hero-btn3:hover {
        background: #0066d3;
        transform: translateY(-3px);
        transform-style: preserve-3d;
        animation: heroFloat 6s ease-in-out infinite;
    }

@keyframes heroFloat {
    0% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateY(-20px) rotateX(6deg) rotateY(-6deg);
    }

    100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
}

@media (max-width: 768px) {

    .hero-video {
        height: 50svh;
        /*max-height: 50svh;*/
        /*height: auto;*/
    }
    .hero-video-content {
        pointer-events: auto;
        position: relative;
        z-index: 5;
        text-align: center;
        color: white;
        backdrop-filter: blur(10px);
        padding: 60px 60px;
        border-radius: 24px;
        background: rgba(255,255,255,0.07);
        margin: 0 auto;
        margin-top: 12svh;
        max-width: 95%;
        box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    }

        .hero-video-content h1 {
            width: 90%;
            margin: auto;
            font-size: clamp(2rem, 6vw, 3.1rem);
        }

        .hero-video-content p {
            width: 90%;
            margin: auto;
            font-size: clamp(1.1rem, 4vw, 1.35rem);
        }

    .hero-btn3 {
        background: #0a84ff;
        color: #fff;
        padding: 14px 28px;
        border-radius: 50px;
        text-decoration: none;
        font-size: clamp(0.95rem, 4vw, 0.95rem);
        transition: 0.25s;
        transform-style: preserve-3d;
        animation: heroFloat 6s ease-in-out infinite;
    }

}
/* =====================================
   WHY US section
===================================== */

.why-us-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.5) 40%, rgba(255,255,255,0.8) 100% );
    text-align: center;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 50px;
    color: #222;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 0 80px;
}

.why-card {
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform-style: preserve-3d;
    animation: float-sideways 7s ease-in-out infinite;
    will-change: transform;
}

    .why-card:hover {
        transform: translateY(-12px) rotateY(8deg) rotateX(4deg) scale(1.03);
        box-shadow: 0 30px 50px rgba(0,0,0,0.20);
    }

.why-icon {
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: #0a84ff;
}

.why-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 1.1rem;
    color: #333;
}

@media (max-width: 768px) {
    .why-us-grid {
        gap: 10px;
        padding: 0 2px;
    }

    .why-card {
        padding: 3px;
        width: 95%;
        margin: auto;
    }
}
/* =====================================
   SYSTEM CARDS
===================================== */

.systems-section {
    padding: 30px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.5) 40%, rgba(255,255,255,0.8) 100% );
    text-align: center;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 0 80px;
    gap: 40px;
}

.system-card {
    background: white;
    padding: 35px 25px;
    border-radius: 22px;
    text-decoration: none;
    color: #222;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform-style: preserve-3d;
    animation: float-sideways 5s ease-in-out infinite;
    will-change: transform;
}

    .system-card:hover {
        transform: translateY(-12px) rotateY(8deg) rotateX(4deg) scale(1.03);
        box-shadow: 0 30px 50px rgba(0,0,0,0.20);
    }

.system-icon {
    width: 85px;
    margin-bottom: 15px;
    opacity: .9;
}

.showcase-inner h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.showcase-inner p {
    color: #555;
    font-size: 1.35rem;
    text-align: center;
    font-weight: 700;
}

@media (max-width: 768px) {
    .systems-grid {
        gap: 10px;
        padding: 0 2px;
    }

    .system-card {
        padding: 3px;
        width: 95%;
        margin: auto;
    }

    .showcase-inner h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .showcase-inner p {
        color: #555;
        font-size: 1.35rem;
        text-align: center;
        font-weight: 700;
    }
}
/* =====================================
   VIDEO SHOWCASE
===================================== */

.video-showcase {
    position: relative;
    padding: 30px 0;
    text-align: center;
}

.video-container {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.18);
    --vb-maxw: 880px; /* תקרת רוחב בדסקטופ */
    --vb-maxh: 60vh; /* תקרת גובה יחסית למסך */
    --vb-ratio: 16/9; /* יחס צדדים ברירת מחדל (לרוחבי) */
    margin-inline: auto;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.video-text {
    margin-top: 30px;
}

    .video-text h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .video-text p {
        font-size: 1.2rem;
        color: #555;
    }
/* =====================================
   CONTACT FORM
===================================== */

.contact-section {
    padding: 40px 0;
    background: linear-gradient( 180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.95) 100% );
    text-align: center;
}

    .contact-section h2 {
        font-size: 2.7rem;
        font-weight: 700;
        margin-bottom: 10px;
        text-align: center;
    }

    .contact-section p {
        color: #555;
        font-size: 1.3rem;
        font-weight: 600;
    }

.contact-wrapper {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-form {
    width: 340px;
    padding: 35px;
    border-radius: 22px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 15px;
        border-radius: 12px;
        border: 1px solid #ccc;
        font-size: 1rem;
    }

.contact-info {
    width: 400px;
    text-align: center;
    padding-top: 20px;
}

    .contact-info p {
        color: #555;
        font-size: 1.25rem;
        font-weight: 700;
    }



/* ======================================================
   ================== CARE PAGE =========================
======================================================= */

.care-hero {
    position: relative;
    height: 90vh;
    background: url('/images/clinic_hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.care-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(3px);
}

.care-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    color: white;
}

.care-title {
    font-size: 4rem;
    font-weight: 700;
}

.care-subtitle {
    font-size: 1.5rem;
    margin-top: 10px;
    opacity: 0.9;
}

.care-hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    justify-content: center;
}


/* ==============================
   CARE BENEFITS (Why choose us)
============================== */


.care-feature-section {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    background: #fff;
}

    .care-feature-section.reverse .feature-content {
        flex-direction: row-reverse;
    }

/* ==============================
   Feature Catalog (Many Features)
============================== */

.care-features-catalog {
    padding: 40px 0;
    text-align: center;
    background: #fafcff;
}



.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    padding: 0 80px;
}

.feature-box {
    padding: 28px 25px;
    background: #fff;
    border-radius: 22px;
    transition: 0.25s;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform-style: preserve-3d;
    animation: float-sideways 5s ease-in-out infinite;
    will-change: transform;
}

    .feature-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 32px rgba(0,0,0,0.15);
    }

    .feature-box span {
        font-size: 2.6rem;
        display: block;
        margin-bottom: 12px;
    }

    .feature-box h3 {
        font-size: 1.35rem;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .feature-box p {
        color: #555;
        font-size: 1.05rem;
    }

@media (max-width: 768px) {
    .feature-box {
        min-width: 95%;
        transform-style: preserve-3d;
        animation: float-sideways 7s ease-in-out infinite;
        will-change: transform;
    }
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
}

@media (max-width: 768px) {

    .features-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 5px;
        padding: 0 20px;
    }
    .feature-content {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
    }

    .feature-image img {
        max-width: 85%;
        margin: 0 auto;
    }

    .feature-text {
        text-align: center;
    }
}

.feature-text {
    flex: 1;
}

    .feature-text h2 {
        font-size: 2.8rem;
        margin-bottom: 20px;
        color: #1a1a1a;
        font-weight: 700;
    }

    .feature-text p {
        font-size: 1.3rem;
        color: #444;
        margin-bottom: 20px;
    }

.feature-list {
    list-style: none;
    padding: 0;
}

    .feature-list li {
        margin: 8px 0;
        font-size: 1.2rem;
        color: #222;
        padding-right: 22px;
        position: relative;
    }

        .feature-list li::before {
            content: "✔";
            color: #007bff;
            font-weight: bold;
            position: absolute;
            right: 0;
            top: 0;
        }

.feature-image {
    flex: 1;
    text-align: center;
}

    /*==================*/
    /* אנימציה גנרית לכל התמונות בסקשן */
    .feature-image img {
        max-width: 100%;
        border-radius: 20px;
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        transform-style: preserve-3d;
        animation: float-sideways 7s ease-in-out infinite;
        will-change: transform;
    }

/* אנימציית ציפה דו־ממדית + תלת־ממד */
@keyframes float-sideways {
    0% {
        transform: translateY(0) translateX(0) rotateY(0deg) rotateX(0deg);
    }

    25% {
        transform: translateY(-10px) translateX(8px) rotateY(4deg);
    }

    50% {
        transform: translateY(-20px) translateX(0) rotateY(-3deg) rotateX(2deg);
    }

    75% {
        transform: translateY(-10px) translateX(-8px) rotateY(4deg);
    }

    100% {
        transform: translateY(0) translateX(0) rotateY(0deg) rotateX(0deg);
    }
}

/*==================*/
.cta-end {
    padding: 130px 0;
    background: linear-gradient(135deg, #1a4db8, #007bff);
    text-align: center;
    color: #fff;
}

    .cta-end h2 {
        font-size: 2.6rem;
        margin-bottom: 15px;
    }

    .cta-end p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        color: #fff;
    }

.cta-btn {
    font-size: 1.3rem;
    padding: 14px 40px;
    background: #fff;
    color: #0056d6;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
}

    .cta-btn:hover {
        background: #e5e5e5;
    }



#backToTopBtn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    background-color: #0083c236;
    color: white;
    padding: 10px 14px;
    border-radius: 10%;
    font-size: 1.6rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    #backToTopBtn:hover {
        background-color: #0083c280;
    }

#accessibilityWidget {
    position: fixed !important;
    top: 30px !important;
    left: 30px !important;
    z-index: 9999 !important;
    /* background: #0056b3;*/
    color: white;
    /*border-radius: 50%;*/
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}


    #accessibilityWidget:hover {
        background: #003f87; /* כהה עוד קצת בעת ריחוף */
        transform: scale(1.1);
    }

#accessibilityMenu {
    position: fixed !important;
    top: 100px !important;
    left: 30px !important;
    height: auto;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 12px;
    width: 230px;
    display: none;
    z-index: 10000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

    #accessibilityMenu button {
        width: 100%;
        background: #f8f9fa;
        border: none;
        padding: 10px;
        margin-bottom: 8px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.2s ease-in-out;
    }

        #accessibilityMenu button:hover,
        #accessibilityMenu button:focus {
            background: #e2e6ea;
            outline: none;
        }

@media (max-width: 768px) {
    #accessibilityWidget,
    #accessibilityMenu {
        display: none !important;
    }
}


#textSizeControls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 6px 10px;
    gap: 8px;
}

    #textSizeControls button {
        flex: 1;
        background: #004aad;
        color: white;
        border: none;
        border-radius: 6px;
        padding: 6px 10px;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        #textSizeControls button:hover {
            background: #0066ff;
        }

#textSizeIndicator {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}
/* ========================
   נגישות — הגדלת טקסט אחידה
======================== */

/* הגדלה אחידה לכל האלמנטים עם שמירה על פריסה */
body.text-size-1 *:not(i):not(svg) {
    font-size: 120% !important;
    line-height: 1.45 !important;
}

body.text-size-2 *:not(i):not(svg) {
    font-size: 135% !important;
    line-height: 1.6 !important;
}

/* שומר על מבנה רספונסיבי */
body.text-size-1, body.text-size-2 {
    overflow-x: hidden !important;
    word-wrap: break-word !important;
}


.hp-trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

    .hp-trap label, .hp-trap input {
        pointer-events: none !important;
    }



.video-box {
    --vb-maxw: 900px; /* תקרת רוחב בדסקטופ */
    --vb-maxh: 60vh; /* תקרת גובה יחסית למסך */
    --vb-ratio: 16/9; /* יחס צדדים ברירת מחדל (לרוחבי) */
    margin-inline: auto;
}

    .video-box .video-proj {
        position: relative;
        width: 100%;
        max-width: var(--vb-maxw);
        max-height: var(--vb-maxh);
        aspect-ratio: var(--vb-ratio);
        border-radius: 16px;
        overflow: hidden;
        margin: auto;
    }

        .video-box .video-proj .video-fit {
            width: 100%;
            height: 100%;
            object-fit: cover; /* אפשר לשנות ל-contain אם לא רוצים חיתוך */
        }
.unmute-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .45rem .75rem;
    font-weight: 700;
    cursor: pointer;
}

@media (min-width: 768px) {
    .unmute-btn {
        position: absolute;
        bottom: 12px;
        left: 12px;
        background: rgba(0,0,0,.55);
        color: #fff;
        font-weight: normal;
        cursor: pointer;
        border: none;
        border-radius: 10px;
        padding: 2px 2px 2px 2px;
    }
}

.footer {
    font-size: 15px;
    color: #444;
}

.footer-logo {
    height: 38px;
    opacity: 0.9;
}

.footer-copy {
    font-weight: 500;
}

.footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 4px;
    font-weight: 500;
}

.footer-links span {
    margin: 0 4px;
    color: #aaa;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-site a {
    color: #555;
    font-weight: 600;
    text-decoration: none;
}

    .footer-site a:hover {
        color: #007bff;
    }

