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

:root {
    --brand-blue: #1A73E8;
    --brand-orange: #E8732A;
    --brand-gray: #6B7280;
    --bg-dark: #0A1628;
    --bg-dark-2: #0F1D32;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --text-primary: #1A2332;
    --text-secondary: #4A5568;
    --text-muted: #9CA3AF;
    --text-light: #E2E8F0;
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Assistant', 'Heebo', sans-serif;
    direction: rtl;
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ======== SECTION LABELS & HEADINGS ======== */
.section-label {
    display: block;
    text-align: center;
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.section-heading {
    text-align: center;
    font-family: 'Heebo', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}
.section-heading span {
    color: var(--brand-blue);
}

/* ======== HERO ======== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-dark);
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.7) 0%, rgba(10, 22, 40, 0.85) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 40px 24px;
}
.hero-logos {
    display: block;
    max-width: 520px;
    width: 90%;
    height: auto;
    margin: 0 auto 32px;
}
.hero-deadline-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(232, 115, 42, 0.15);
    border: 1px solid rgba(232, 115, 42, 0.4);
    border-radius: 50px;
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-orange);
    margin-bottom: 28px;
}
.hero-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.text-accent {
    color: var(--brand-orange);
}
.hero-subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--brand-blue);
    margin-bottom: 16px;
}
.hero-desc {
    font-family: 'Assistant', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 36px;
    opacity: 0.85;
    line-height: 1.8;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px 40px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
}
.hero-stat-number {
    font-family: 'Heebo', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--brand-orange);
}
.hero-stat-label {
    font-family: 'Assistant', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}
.hero-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1557B0 100%);
    color: #FFFFFF;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.3);
}
.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.4);
}

/* ======== PARTNERS LOGO STRIP ======== */
.partners-logo-section {
    padding: 40px 20px;
    background-color: var(--bg-white);
}
.partners-logo-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.partners-logo-img {
    max-width: 700px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ======== VALUE PROPOSITION ======== */
.value-section {
    padding: 70px 40px;
    background-color: var(--bg-light);
}
.value-container {
    max-width: 1100px;
    margin: 0 auto;
}
.value-intro {
    text-align: center;
    font-family: 'Assistant', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.8;
}
.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    border-top: 3px solid var(--brand-blue);
    transition: transform 0.3s ease;
}
.value-card:hover {
    transform: translateY(-4px);
}
.value-card-icon {
    font-family: 'Heebo', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--brand-blue);
    opacity: 0.2;
    margin-bottom: 12px;
}
.value-card-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.value-card-text {
    font-family: 'Assistant', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ======== PROGRAM STRUCTURE ======== */
.program-section {
    padding: 70px 40px;
    background-color: var(--bg-white);
}
.program-container {
    max-width: 900px;
    margin: 0 auto;
}
.program-intro {
    text-align: center;
    font-family: 'Assistant', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
}
.program-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.program-steps::before {
    content: '';
    position: absolute;
    right: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-blue), var(--brand-orange));
}
.program-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0;
    position: relative;
}
.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange));
    color: #FFFFFF;
    font-family: 'Heebo', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.step-content {
    flex: 1;
    padding-top: 6px;
}
.step-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.step-text {
    font-family: 'Assistant', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ======== AUDIENCE ======== */
.audience-section {
    padding: 70px 40px;
    background-color: var(--bg-dark);
}
.audience-section .section-label {
    color: var(--brand-orange);
}
.audience-section .section-heading {
    color: #FFFFFF;
}
.audience-section .section-heading span {
    color: var(--brand-orange);
}
.audience-container {
    max-width: 1100px;
    margin: 0 auto;
}
.audience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.audience-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: border-color 0.3s ease;
}
.audience-card:hover {
    border-color: var(--brand-orange);
}
.audience-card-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brand-blue);
    margin-bottom: 10px;
}
.audience-card-text {
    font-family: 'Assistant', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ======== APPLICATION FORM ======== */
.form-section {
    padding: 70px 40px;
    background-color: var(--bg-light);
}
.form-container {
    max-width: 900px;
    margin: 0 auto;
}
.form-subtitle {
    text-align: center;
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--brand-orange);
    margin-bottom: 40px;
}
.application-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.form-section-group {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}
.form-section-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brand-blue);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(26, 115, 232, 0.1);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-row:last-child {
    margin-bottom: 0;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-field-full {
    grid-column: 1 / -1;
}
.form-field label {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    padding: 12px 16px;
    border: 1.5px solid #D1D5DB;
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-primary);
    direction: rtl;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}
.form-field input.error,
.form-field select.error,
.form-field textarea.error {
    border-color: #EF4444;
}
.form-field textarea {
    resize: vertical;
    min-height: 80px;
}
.field-error-msg {
    display: block;
    font-family: 'Assistant', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #EF4444;
    margin-top: 4px;
}
.step-error-summary {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-family: 'Heebo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #DC2626;
    text-align: center;
}
.form-field select {
    appearance: none;
    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='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

/* Form Checkbox */
.form-checkbox-group {
    margin: 12px 0 24px;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: 'Assistant', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--brand-blue);
}
.checkbox-text a {
    color: var(--brand-blue);
    text-decoration: underline;
}

/* Step Navigation */
.step-nav {
    margin-bottom: 28px;
}
.step-progress {
    width: 100%;
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}
.step-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
    border-radius: 3px;
    transition: width 0.4s ease;
}
.step-indicator {
    text-align: center;
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 16px;
}
.step-btn {
    padding: 12px 36px;
    border-radius: 50px;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.step-btn-next {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1557B0 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.25);
}
.step-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.35);
}
.step-btn-prev {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid #D1D5DB;
}
.step-btn-prev:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

/* Submit Button */
.form-submit-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1557B0 100%);
    color: #FFFFFF;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.3);
}
.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.4);
}

/* ======== FOOTER ======== */
.site-footer {
    background-color: var(--bg-dark);
    color: #FFFFFF;
    padding-top: 0;
}
.footer-simple {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 20px;
    text-align: center;
}
.footer-event-info {
    margin-bottom: 20px;
}
.footer-event-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FFFFFF;
    margin-bottom: 8px;
}
.footer-event-details {
    font-family: 'Assistant', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}
.footer-dot {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.3);
}
.footer-links-row {
    font-family: 'Assistant', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-links-row a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}
.footer-links-row a:hover {
    color: var(--brand-blue);
}
.footer-bottom {
    text-align: center;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Assistant', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px;
    }
    .hero-stat-divider {
        width: 60px;
        height: 1px;
    }
    .hero-stat-item {
        padding: 0;
    }
    .value-cards {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .audience-cards {
        grid-template-columns: 1fr;
    }
    .program-steps::before {
        right: 23px;
    }
    .hero-section {
        min-height: auto;
        padding: 24px 0 50px;
    }
    .hero-logos {
        margin: 0 auto 48px;
        max-width: 360px;
    }
    .hero-bg-img {
        object-fit: cover;
    }
    .value-section,
    .program-section,
    .audience-section,
    .form-section {
        padding: 50px 20px;
    }
    .form-section-group {
        padding: 24px 16px;
    }
}
