/* --- Brand Variables (Global) — LIGHT MODE --- */
:root {
    --bg-light: #FAFBFC;
    --bg-white: #ffffff;
    --bg-soft: #F0F2F5;
    --brand-green: #16C75D;
    --brand-green-dark: #0A823B;
    --brand-orange: #F26D21;
    --brand-gradient: linear-gradient(135deg, #16C75D 0%, #0A823B 100%);
    --text-dark: #1a1a2e;
    --text-body: #3a3a4a;
    --text-muted: #8a8a9a;
    --border-light: rgba(0, 0, 0, 0.08);
    --glow-green: rgba(22, 199, 93, 0.25);
    --glow-green-strong: rgba(22, 199, 93, 0.5);
    --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* ======== RESET & BASE ======== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Assistant', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-body);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: 'Heebo', sans-serif; color: var(--text-dark); }

/* ======== HEADER — REMOVED (NO HEADER) ======== */

/* ======== HERO SECTION ======== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(160deg, #06120E 0%, #0d2518 40%, #0A823B 100%);
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(6, 18, 14, 0.2) 0%, rgba(6, 18, 14, 0.7) 70%, rgba(6, 18, 14, 0.9) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 30px;
}
/* Hero entrance — CSS initial state, GSAP animates to final */
.hero-label,
.hero-title,
.hero-subtitle,
.hero-stats,
.hero-cta-btn {
    opacity: 0;
    transform: translateY(25px);
}

.hero-label {
    display: inline-block;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--brand-green);
    margin-bottom: 20px;
    border: 1px solid rgba(22, 199, 93, 0.4);
    padding: 6px 20px;
    border-radius: 30px;
}
.hero-title {
    font-family: 'Heebo', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 25px;
}
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}
.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-stat-icon {
    font-size: 1.2rem;
}
.hero-stat-text {
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero CTA Button */
.hero-cta-btn {
    display: inline-block;
    padding: 16px 50px;
    font-family: 'Heebo', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--brand-gradient);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(22, 199, 93, 0.35);
}
.hero-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 40px rgba(22, 199, 93, 0.5);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    animation: bounceDown 2s infinite;
}
.scroll-arrow {
    width: 20px;
    height: 20px;
    border-left: 2px solid var(--brand-green);
    border-bottom: 2px solid var(--brand-green);
    transform: rotate(-45deg);
    opacity: 0.6;
}

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

/* ======== ABOUT SECTION ======== */
.about-section {
    position: relative;
    padding: 70px 40px;
    background-color: var(--bg-light);
    overflow: hidden;
}
.about-bg-texture {
    position: absolute;
    inset: 0;
    /* background-image: url('./images/about-texture.png'); */
    background-size: 400px;
    background-repeat: repeat;
    opacity: 0.03;
    pointer-events: none;
}
.about-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.section-label {
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--brand-green);
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
    text-align: center;
}
.section-heading {
    font-family: 'Heebo', sans-serif;
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 300;
    text-align: center;
}
.section-heading span {
    font-weight: 800;
}
.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.about-block {
    text-align: right;
    padding: 35px 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.about-block:hover {
    border-color: rgba(22, 199, 93, 0.3);
    box-shadow: var(--shadow-card);
}
.about-block-title {
    font-family: 'Heebo', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-green-dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-block-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--brand-gradient);
    border-radius: 4px;
    flex-shrink: 0;
}
.about-block-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-body);
    font-weight: 400;
}

/* ======== TIMELINE SECTION ======== */
.timeline-section {
    padding: 70px 40px;
    background-color: var(--bg-white);
    position: relative;
}
.timeline-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}
.timeline {
    margin-top: 60px;
    position: relative;
    padding-right: 40px;
}

/* Timeline vertical line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 8px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-green), rgba(22, 199, 93, 0.1));
}

/* Timeline Item */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 0;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-light);
    text-align: right;
}
.timeline-item:last-child {
    border-bottom: none;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    right: -40px;
    top: 30px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--brand-green);
    box-shadow: 0 0 10px var(--glow-green);
    z-index: 2;
    flex-shrink: 0;
    transform: translateX(50%);
}
.dot-large {
    width: 22px;
    height: 22px;
    background: var(--brand-green);
    box-shadow: 0 0 18px var(--glow-green-strong);
}
.dot-small {
    width: 12px;
    height: 12px;
    border-color: var(--text-muted);
    box-shadow: none;
}

/* Timeline Time */
.timeline-time {
    font-family: 'Assistant', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-green-dark);
    min-width: 130px;
    flex-shrink: 0;
    padding-top: 2px;
    direction: ltr;
    text-align: right;
}

/* Timeline Content */
.timeline-content {
    flex: 1;
}
.timeline-title {
    font-family: 'Heebo', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.4;
}
.timeline-speakers {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
}

/* Timeline Highlight */
.timeline-item-highlight {
    background: rgba(22, 199, 93, 0.04);
    border-radius: 12px;
    padding: 25px 20px;
    margin-right: -20px;
    margin-left: -20px;
    border: 1px solid rgba(22, 199, 93, 0.15);
    border-bottom: 1px solid rgba(22, 199, 93, 0.15);
}

/* Timeline Break */
.timeline-item-break {
    opacity: 0.5;
}
.timeline-item-break .timeline-title {
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
}

/* ======== REGISTRATION SECTION ======== */
.registration-section {
    position: relative;
    padding: 70px 40px;
    background-color: var(--bg-light);
    overflow: hidden;
    text-align: center;
}
.registration-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 199, 93, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.registration-bg-texture {
    position: absolute;
    inset: 0;
    /* background-image: url('./images/about-texture.png'); */
    background-size: 400px;
    background-repeat: repeat;
    opacity: 0.02;
    pointer-events: none;
}
.registration-container {
    position: relative;
    z-index: 2;
    max-width: 550px;
    margin: 0 auto;
}
.registration-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 45px;
}

/* Form */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.form-group {
    position: relative;
    text-align: right;
}
.form-input {
    width: 100%;
    padding: 18px 16px 8px 16px;
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    border: none;
    border-bottom: 2px solid var(--border-light);
    border-radius: 10px 10px 0 0;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    direction: rtl;
    box-shadow: var(--shadow-soft);
}
.form-input:focus {
    border-color: var(--brand-green);
    box-shadow: 0 4px 20px rgba(22, 199, 93, 0.1);
}
.form-label {
    position: absolute;
    top: 14px;
    right: 16px;
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: 2px;
    font-size: 0.75rem;
    color: var(--brand-green);
}
.form-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: width 0.4s ease;
}
.form-input:focus ~ .form-line {
    width: 100%;
}

/* Checkboxes */
.form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.6;
}
.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--brand-green);
    cursor: pointer;
}
.checkbox-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.checkbox-text a {
    color: var(--brand-green);
    text-decoration: underline;
    transition: color 0.3s;
}
.checkbox-text a:hover {
    color: var(--brand-green-dark);
}
.checkbox-highlight {
    color: var(--brand-orange);
    font-weight: 600;
}

/* Submit Button */
.form-submit-btn {
    margin-top: 10px;
    padding: 18px 50px;
    font-family: 'Heebo', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--brand-gradient);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(22, 199, 93, 0.25);
}
.form-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(22, 199, 93, 0.4);
}

/* ======== CALENDAR BUTTON ======== */
.calendar-add-btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: #4285f4;
    color: #ffffff;
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.calendar-add-btn:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
}

/* ======== ACADEMIC COMMITTEE ======== */
.academic-committee {
    text-align: center;
    padding: 40px 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.committee-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-green);
    margin-bottom: 8px;
}
.committee-names {
    font-family: 'Assistant', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ======== FOOTER ======== */
.sofia-footer-section {
    background-color: #06120E;
    color: #ffffff;
    direction: rtl;
    padding: 50px 40px 0 40px;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}
.footer-simple {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 35px;
}
.footer-event-title {
    font-family: 'Heebo', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}
.footer-event-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.footer-dot {
    color: var(--brand-green);
    font-weight: 700;
}
.footer-links-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-links-row a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-links-row a:hover {
    color: var(--brand-green);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ======== KEYFRAMES ======== */
/* Fallback: if GSAP fails, show content after 2s */
@keyframes fallbackShow {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}
.hero-label,
.hero-title,
.hero-subtitle,
.hero-stats,
.hero-cta-btn {
    animation: fallbackShow 0.8s ease forwards;
    animation-delay: 2.5s;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(8px); }
    60% { transform: translateX(-50%) translateY(4px); }
}

/* ======== RESPONSIVE — TABLET ======== */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-title {
        font-size: 3.4rem;
    }
    .section-heading {
        font-size: 2.4rem;
    }
}

/* ======== RESPONSIVE — MOBILE ======== */
@media (max-width: 768px) {
    /* Hero */
    .hero-bg-img {
        object-fit: cover;
        object-position: center center;
        min-width: 100%;
        min-height: 100%;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
    .hero-stat-divider {
        display: none;
    }
    .hero-cta-btn {
        padding: 14px 40px;
        font-size: 1.05rem;
    }
    .hero-scroll-indicator {
        display: none;
    }

    /* Partners Logo */
    .partners-logo-section {
        padding: 25px 15px;
    }

    /* About */
    .about-section {
        padding: 80px 20px;
    }
    .about-block {
        padding: 25px 20px;
    }
    .about-block-text {
        font-size: 1rem;
    }
    .section-heading {
        font-size: 2rem;
    }

    /* Timeline */
    .timeline-section {
        padding: 80px 20px;
    }
    .timeline {
        padding-right: 30px;
    }
    .timeline::before {
        right: 5px;
    }
    .timeline-dot {
        right: -30px;
    }
    .timeline-time {
        min-width: 100px;
        font-size: 0.9rem;
    }
    .timeline-title {
        font-size: 1rem;
    }
    .timeline-speakers {
        font-size: 0.85rem;
    }
    .timeline-item-highlight {
        margin-right: -10px;
        margin-left: -10px;
        padding: 20px 15px;
    }

    /* Registration */
    .registration-section {
        padding: 80px 20px;
    }
    .registration-container {
        max-width: 100%;
    }

    /* Footer */
    .sofia-footer-section {
        padding: 40px 20px 0 20px;
    }
    .footer-event-details {
        flex-direction: column;
        gap: 6px;
    }
    .footer-event-details .footer-dot {
        display: none;
    }
}