/* ===== CSS Variables ===== */
:root {
    --green-dark: #1b4332;
    --green-mid: #2d6a4f;
    --green-light: #40916c;
    --gold: #d4af37;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text: #212529;
    --border: #ced4da;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--green-dark);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    transition: color var(--transition);
}

.nav-list a:hover {
    color: var(--green-mid);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--green-dark);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, var(--green-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    top: -150px;
    left: -150px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -100px;
    right: -100px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.hero-sub {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--green-dark);
}

.btn-primary:hover {
    background-color: #c9a227;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6c757d;
}

/* ===== About ===== */
.about-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 2;
    color: #495057;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* ===== Activities Timeline ===== */
.activities-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 2px;
    background: var(--green-mid);
    transform: translateX(1px);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
    padding: 0 2rem 0 0;
}

.timeline-item:nth-child(even) {
    margin-right: 50%;
    padding: 0 0 0 2rem;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.timeline-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    background: var(--green-dark);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
}

/* Timeline dots */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 35px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--green-mid);
    z-index: 1;
}

.timeline-item:nth-child(even)::before {
    right: auto;
    left: -8px;
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Contact ===== */
.contact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-label {
    font-weight: 700;
    color: var(--green-mid);
    margin-left: 0.5rem;
}

.contact-info a {
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-info a:hover {
    color: var(--green-mid);
}

.contact-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--green-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.btn-submit {
    background-color: var(--green-mid);
    color: var(--white);
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background-color: var(--green-dark);
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--green-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.site-footer p {
    margin-bottom: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        padding: 1rem 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        text-align: right;
    }

    .nav-list.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .timeline::before {
        right: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-right: 0;
        padding: 0 3rem 0 0;
    }

    .timeline-item::before,
    .timeline-item:nth-child(even)::before {
        right: 12px;
        left: auto;
    }

    .timeline-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1.2rem;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .timeline-text {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}