/* === RESET בסיסי למניעת גלילה בעייתית === */
html, body {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}
.hero-intro {
    background: linear-gradient(180deg, #0288d1, #03a9f4);
    color: white;
    text-align: center;
    width: 100vw; /* כל רוחב החלון */
    margin: 0;
    padding: 0;
}

.custom-submit-btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: bold;
    font-size: 1.1em;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .custom-submit-btn:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .custom-submit-btn {
        width: 100%;
        font-size: 1em;
        padding: 14px 0;
    }
}
@media (max-width: 768px) {
    #form2 > div {
        padding: 20px 0px;
    }
}

    .form-group {
        width: 100%;
    }

    .form-control {
        width: 100%;
        box-sizing: border-box;
    }
}


/* === מניעת חריגות רוחב מאלמנטים בעייתיים === */
*, *::before, *::after {
    box-sizing: border-box;
}

img, iframe, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/*.container, .site-wrap, .section {
    overflow: visible !important;
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
}*/

/* === שיפור רספונסיביות של כפתור ASP === */
.asp-button {
    background: linear-gradient(90deg, #4caf50, #43a047);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 20px auto;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    transition: background 0.4s ease, transform 0.2s ease;
    text-decoration: none;
    text-align: center;
}
form {
    display: block;
    width: 100%;
    overflow: visible !important;
}
html {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
    .asp-button:hover {
        background: linear-gradient(90deg, #388e3c, #2e7d32);
        transform: translateY(-2px);
    }

@media screen and (max-width: 768px) {
    .asp-button {
        display: flex;
        width: 90%;
        justify-content: center;
        font-size: 1rem;
        padding: 12px 20px;
    }
}


html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/*form, .site-wrap, .container {
    width: 100% !important;
    max-width: 100% !important;
}*/

nav ul li {
    font-size: 17px;
    font-weight: 500 !important;
    margin-bottom: 20px;
    line-height: 1.3;
}


ul li {
    font-size: 23px;
    font-weight: 500 !important;
    margin-bottom: 20px;
    line-height: 1.3;
}


.section {
    text-align: center;
    padding: 40px 20px;
}

    .section p {
        max-width: 840px;
        margin: 0 auto;
        font-size: 2.25rem !important;
        line-height: 1.8;
        text-align: center !important;
    }
    .section h2 {
        font-size: 3em !important;
        font-weight: 500 !important;
        margin-bottom: 30px;
    }
    .section.blue {
        background: linear-gradient(180deg, #0288d1, #03a9f4);
        color: white;
    }

.intro-block.brown-light {
    background: linear-gradient(135deg, #4dd0e1, #81c784);
    color: #0c0d5d;
    text-align: center;
    padding: 50px 20px;
}

    .intro-block.brown-light p {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.25rem;
        line-height: 1.8;
    }


body, form {
    margin: 0 !important;
    padding: 0 !important;

}
.video2 {
    color: black !important;
    background-color: black;
    font-size: 20px;
    padding: 0px;
    text-align: center;
    margin: auto;
    background-image: url(../images/video.png);
    background-size: 90%;
    background-position: center 70px;
    background-repeat: no-repeat;
    border-radius: 43px;
    border: 6px solid #009688d4;
    cursor: pointer;
    margin-bottom: 40px;
}
.hero-intro {
    background: linear-gradient(180deg, #0288d1, #03a9f4);
    color: white;
    padding: 20px 20px;
    text-align: center;
}

    .hero-intro h2 {
        margin-bottom: 10px;
        margin-top: 50px;
    }

    .hero-intro .cta-button {
        margin-bottom: 0;
    }

    .hero-intro .subheadline {
        font-size: 2.5rem;
        color: #ff4081;
        font-weight: 900;
        text-align: center;
        margin: 10px auto 10px auto;
        max-width: 800px;
        line-height: 1.4;
    }

.vp-center {
    display: block !important;
    height: auto !important;
    padding: 0 !important;
    align-items: unset !important;
    justify-content: unset !important;
}

.video-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    font-size: 0;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        margin: 0;
        padding: 0;
        display: block;
    }

h1, h2, h3 {
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* === עיצוב סרטון והכותרת === */
.hero-intro .subheadline {
    font-size: 2.5rem;
    color: #0c0d5d;
    font-weight: 900;
    text-align: center;
    margin: 10px auto 10px auto; /* פחות רווח למעלה ולמטה */
    max-width: 800px;
    line-height: 1.4;
}


.vp-center {
    display: block !important;
    height: auto !important;
    padding: 0 !important;
    align-items: unset !important;
    justify-content: unset !important;
}
.video-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}
.video-container {
    max-width: 800px;
    margin: 10px auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    font-size: 0; /* ביטול רווחים טקסטואליים */
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        margin: 0;
        padding: 0;
        display: block;
    }


a:hover {
    color: #00CCCB !important;
}

ul {
    list-style-type: disc;
    padding-right: 40px;
    margin-bottom: 20px;
}

.cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    background-color: #ff9800;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .cta-button:hover {
        background-color: #e68900;
    }


    .hero-intro p {
        font-size: 1.5rem;
        font-weight: bold;
        margin-top: 40px;
    }
    .hero-intro .cta-button {
        background-color: #ffffff;
        color: #0288d1;
        padding: 12px 24px;
        font-size: 1.2rem;
        border-radius: 12px;
        border: none;
        cursor: pointer;
        margin-top: 30px;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }
    .hero-intro.blue {
        background: linear-gradient(180deg, #0288d1, #03a9f4);
    }

    .hero-intro.dark {
        background: #0c0d5d;
    }

.section {
    text-align: center;
    padding: 60px 30px;
}

    .section.blue {
        background: linear-gradient(180deg, #0288d1, #03a9f4);
        color: white;
    }

    .section h2 {
        font-size: 1.5em;
        font-weight: 800;
        margin-bottom: 30px;
    }

#content{
    margin: 0 auto;
}

.intro-block {
    background:#000000;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;

}

    .intro-block.brown {
        background: #8c7b65;
        color: #fff;
    }

    .intro-block.brown-light {
        background: #d8c7b5;
        color: #0c0d5d;
    }




    header h1 {
        font-size: 2rem;
        color: #0c0d5d;
    }

    header p {
        font-size: 1.2rem;
    }

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #0c0d5d;
 
}

.highlight-box {
    background: #e3f2fd;
    padding: 20px;
    font-weight: bold;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
    font-size: 1.1rem;
}

.learning-options {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.options-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}



section .asp-button {
    display: inline-block;
}

section {
    text-align: center;
}


/* === בלוק קורס מקוצר === */
.intro-block.course-summary {
    background: #ffffff;
    color: #0c0d5d;
    text-align: center;
    border: 4px solid #6c63ff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 40px auto;
    position: relative;
}

/* === טופס הרשמה מעוצב === */
.form-box6 {
    background: #f7f9fc;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: right;
}

    .form-box6 h3 {
        color: #0c0d5d !important;
        margin-bottom: 20px;
        font-size: 24px;
        font-weight: bold;
    }

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

    .form-box6 .form-control {
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 16px;
    }
.ckmsg2 {
    font-size: 12px !important;
    color: #333 !important;
    /* margin-right: 10px; */
}
.btnhanuka {
    background-color: #6c63ff;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .btnhanuka:hover {
        background-color: #574bff;
    }

.ckmsg2 {
    font-size: 0.95rem;
    color: #333;
    margin-right: 10px;
}

.error66 {
    color: red;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
}

/* === תוספת לפרטי הקורס === */
.course-summary-details {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

    .course-summary-details a {
        color: #0288d1;
        text-decoration: underline;
        font-weight: bold;
    }



@media screen and (max-width: 768px) {
    .section p {
        font-size: 1.2rem !important;
    }

    .section h2 {
        font-size: 2rem !important;
    }

    .hero-intro .subheadline {
        font-size: 1.5rem;
    }
}
*, *::before, *::after {
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    .video-container {
        max-width: 100%;
    }
}


}
.asp-button {
    background: linear-gradient(90deg, #4caf50, #43a047);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 20px auto;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    transition: background 0.4s ease, transform 0.2s ease;
    text-decoration: none;
    text-align: center;
}

    .asp-button:hover {
        background: linear-gradient(90deg, #388e3c, #2e7d32);
        transform: translateY(-2px);
    }

@media screen and (max-width: 768px) {
    .asp-button {
        display: flex;
        width: 90%;
        justify-content: center;
        font-size: 1rem;
        padding: 12px 20px;
    }
}
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card .icon {
        font-size: 3rem;
        margin-bottom: 15px;
       /* font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;*/
    }

    .card h3 {
        font-size: 1.4rem;
        color: #0288d1;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .card p {
        font-size: 1.1rem !important;
        color: #333;
        text-align: center !important;
    }


.limited-spots-box {
    background-color: #ff0000;
    color: #fff;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 1rem;
    display: inline-block;
    margin-top: 12px;
    animation: pulse-red 1.6s infinite;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



@media screen and (max-width: 768px) {
    .asp-button {
        display: flex;
        width: 90%;
        justify-content: center;
        font-size: 1rem;
        padding: 12px 20px;
    }
}

.cards2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .cards2 {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card .icon {
        font-size: 3rem;
        margin-bottom: 15px;
        /* font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;*/
    }

    .card h3 {
        font-size: 1.4rem;
        color: #0288d1;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .card p {
        font-size: 1.1rem !important;
        color: #333;
        text-align: center !important;
    }
















.form-box8 {
    background-color: #e8f4fc;
    border: 1px solid #dee2e6;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    max-width: 600px; /* מגביל את הרוחב בדסקטופ */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}