/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Assistant', sans-serif;
    overflow-x: clip;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    direction: rtl;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 6px 6px;
    z-index: 200;
    font-size: 1rem;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ===== Header ===== */
.header {
    background-color: #fff;
    padding: 20px 0;
    border: none;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    text-decoration: none;
    display: inline-block;
}

.logo img {
    height: 40px;
    width: auto;
    position: relative;
    top: 5px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    aspect-ratio: 1920 / 684;
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    right: 110px;
    width: 55%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: right;
    padding: 40px;
}

.hero-title {
    font-family: 'Assistant', sans-serif;
    font-weight: 800;
    font-size: 2.675rem;
    color: #222;
    line-height: 1.35;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    color: #222;
    line-height: 1.4;
}

/* ===== Info Section ===== */
.info-section {
    padding: 95px 0 50px;
}

.info-content {
    background-color: #f2edec;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 0;
}

.info-content p {
    color: #555;
    font-size: 1.20rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.info-content strong {
    color: #222;
}

.criteria {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
}

.criteria-heading {
    font-family: 'Assistant', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;
}

/* ===== Form Section ===== */
.form-section {
    padding: 40px 0 80px;
}

.form-section h2 {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #222;
    text-align: center;
    margin-bottom: 12px;
    margin-top: 0;
}

.form-intro {
    text-align: center;
    color: #666;
    font-size: 1.20rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Form Elements ===== */
.form-group {
    margin-bottom: 24px;
    flex: 1;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


label {
    display: block;
    font-family: 'Assistant', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.required {
    color: #c0392b;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 14px 16px;
    height: 50px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input::placeholder {
    color: #767676;
}

input:focus,
select:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

input:focus-visible,
select:focus-visible {
    outline: none;
}

button:focus-visible,
a:focus-visible,
input[type="checkbox"]:focus-visible {
    outline: 2px solid #222;
    outline-offset: 2px;
}

input.error,
select.error {
    border-color: #c0392b;
}

.error-text {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 6px;
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

select option {
    background-color: #fff;
    color: #333;
}

/* ===== Checkbox ===== */
.consent {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    text-transform: none;
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: #555;
    cursor: pointer;
}

/* ===== reCAPTCHA ===== */
.recaptcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== Submit Button ===== */
.btn-submit {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 36px auto 0;
    padding: 16px 32px;
    background-color: #222;
    color: #fff;
    border: 1px solid #222;
    border-radius: 6px;
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-submit:hover {
    background-color: #444;
    border-color: #444;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Messages ===== */
.success-message {
    text-align: center;
    padding: 48px 24px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    border: 2px solid #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #222;
}

.success-message h3 {
    font-family: 'Assistant', sans-serif;
    font-size: 1.6rem;
    color: #222;
    margin-bottom: 12px;
}

.success-message p {
    color: #666;
    font-size: 1.20rem;
}

.error-message {
    text-align: center;
    padding: 20px;
    background-color: rgba(192, 57, 43, 0.1);
    border: 1px solid #c0392b;
    border-radius: 6px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}

.error-message p {
    color: #e74c3c;
}

/* ===== Disclaimer ===== */
.disclaimer {
    text-align: center;
    color: #767676;
    font-size: 0.85rem;
    margin-top: 40px;
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    padding: 32px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.footer p {
    color: #767676;
    font-size: 0.85rem;
    font-family: 'Assistant', sans-serif;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) and (min-width: 641px) {
    .hero-content {
        right: 40px;
        width: 60%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 12px 0;
    }

    .logo img {
        position: relative;
        top: 8px;
    }

    .logo img {
        content: url('images/logoY2026_Mobile.png');
        height: 18px;
    }

    .hero {
        background-image: url('images/BG_Mobile_Header.png?v=4') !important;
        background-position: bottom center;
        background-size: 100% auto;
        background-attachment: scroll;
        aspect-ratio: auto;
        min-height: 70vh;
        align-items: flex-start;
        justify-content: center;
    }

    .hero-content {
        position: relative;
        width: 100%;
        height: auto;
        top: auto;
        right: auto;
        display: block;
        padding-top: 20px;
    }

    .hero-text {
        text-align: right;
        padding: 10px 20px 0;
    }

    .hero-title {
        font-size: 23px;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .info-content {
        padding: 24px;
    }

    .info-section {
        padding-top: 60px;
    }

    .form-section {
        padding-top: 15px;
    }

    .form-section h2 {
        font-size: 1.6rem;
    }

    .btn-submit {
        max-width: 100%;
    }
}
