html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
}

.container {
    position: relative;
    min-height: 500px;
    width: 100%;
}

.box {
    background-color: #2c3473;
    min-height: 100vh;
    height: 1300px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.circle-top {
    position: fixed;
    top: -1%;
    right: -5%;
    transform: translate(-10%, -50%);
    width: 280px;
    height: 280px;
    background-color: #bd3742;
    border-radius: 50%;
    z-index: 2;
}

.img-logo {
    width: 100px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
}

.dots {
    position: fixed;
    top: 40px;
    left: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: fit-content;
    z-index: 2;
}

.dots2 {
    position: fixed;
    top: 500px;
    right: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: fit-content;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.8;
}

.circle-and-girl-container {
    position: fixed;
    top: 80%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    z-index: 2;
}

.circle {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #bd3742;
    border-radius: 50%;
}

.img-girl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
}

.box-inside {
    background-color: rgba(255, 255, 255, 0.4);
    border: 5px solid #644b64;
    border-radius: 4px;
    padding: 2rem;
    color: white;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    z-index: 3;
}

.box-inside h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.box-inside h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #644b64;
    text-align: center;
}

.box-inside p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits li {
    background: linear-gradient(135deg, rgba(189, 55, 66, 0.1), rgba(44, 52, 115, 0.05));
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3473;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-right: 4px solid #bd3742;
}

.benefits li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(189, 55, 66, 0.2);
    background: linear-gradient(135deg, rgba(189, 55, 66, 0.15), rgba(44, 52, 115, 0.1));
}

.benefits li::before {
    content: "✓";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.box-inside p.details {
    font-size: 1.5rem;
    color: #644b64;
    text-align: center;
    margin-top: 1.5rem;
}

.box-inside p.urgency {
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
}
.box-inside p.date{
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
}

.box-inside p.cta{
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
}

.registration-form h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #2c3473;
    border-bottom: 1px solid #2c3473;
    padding-bottom: 5px;
}

.registration-form form {
    display: flex;
    flex-direction: column;
}

.registration-form label {
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.registration-form input {
    padding: 0.7rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
}

.registration-form button {
    background-color: #2c3473;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.registration-form button:hover {
    background-color: #1e2558;
}

input, textarea {
    direction: rtl;
    text-align: right;
    font-size: 16px;
    padding: 0.7rem;
    width: 100%;
    box-sizing: border-box;
}

input::placeholder {
    color: #666;
    direction: rtl;
    text-align: right;
}

/* רספונסיביות - טאבלט */
@media (max-width: 768px) {
    .box-inside {
        width: 80%;
        padding: 1.5rem;
    }
    
    .box-inside h1 {
        font-size: 1.6rem;
    }
    
    .box-inside h2 {
        font-size: 1.2rem;
    }
    
    .box-inside p.details {
        font-size: 1.2rem;
    }
    
    .benefits li {
        padding: 1.2rem 1.2rem 1.2rem 3rem;
        font-size: 1rem;
    }
    
    .circle-and-girl-container {
        width: 400px;
        height: 400px;
        left: 15%;
    }
    
    .circle-top {
        width: 200px;
        height: 200px;
    }
    
    .dots, .dots2 {
        gap: 20px;
    }
    
    .dots {
        left: 20px;
    }
    
    .dots2 {
        right: 20px;
    }
}

/* רספונסיביות - נייד */
@media (max-width: 480px) {
    .box-inside {
        width: 85%;
        padding: 1rem;
    }
    
    .box-inside h1 {
        font-size: 1.4rem;
    }
    
    .box-inside h2 {
        font-size: 1.1rem;
    }
    
    .box-inside p {
        font-size: 0.9rem;
    }

    .box-inside p.details {
        font-size: 1rem;
    }
    
    .box-inside p.urgency {
        font-size: 1rem;
    }
    
    .benefits li {
        padding: 1.5rem 4rem 1.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .benefits li::before {
        width: 20px;
        height: 20px;
        right: 1rem;
        font-size: 12px;
    }
    
    .circle-and-girl-container {
        width: 300px;
        height: 300px;
        left: 10%;
    }
    
    .circle-top {
        width: 150px;
        height: 150px;
    }
    
    .dots {
        top: 20px;
        left: 10px;
        gap: 15px;
    }
    
    .dots2 {
        top: 400px;
        right: 10px;
        gap: 15px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .registration-form h2 {
        font-size: 1.2rem;
    }
    
    .registration-form input {
        font-size: 14px;
    }
    
    .registration-form button {
        font-size: 1rem;
    }
}

.popup-overlay {
    display: none; /* הפופאפ מוסתר בהתחלה */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* רקע שקוף כהה */
    z-index: 100; /* ודא שהפופאפ מעל כל שאר התוכן */
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    color: #2c3473;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
}

#close-popup {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    background-color: #2c3473;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}