* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
            --primary-blue: #2563eb;
            --light-blue: #dbeafe;
            --dark-blue: #1e40af;
            --white: #ffffff;
            --light-gray: #f8fafc;
            --text-dark: #1e293b;
            --text-light: #64748b;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    transition: all 0.3s ease;
}
/* قسم الأسئلة الشائعة */
.faq-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    padding: 4rem 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    border-radius: 2px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--light-blue);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--white);
    transition: background-color 0.3s ease;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--light-gray);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}
/* قسم التنبيه */
        .caution-section {
            background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
            padding: 3rem 2rem;
            border-top: 1px solid var(--light-blue);
        }

        .caution-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .caution-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--dark-blue);
            text-align: center;
            margin-bottom: 2rem;
            position: relative;
        }

        .caution-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 50%;
            transform: translateX(50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--dark-blue), var(--primary-blue));
            border-radius: 2px;
        }

        .caution-content {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: var(--shadow);
            border-right: 4px solid var(--dark-blue);
        }

        .caution-text {
            color: var(--text-dark);
            line-height: 1.8;
            margin-bottom: 2rem;
            font-size: 1.1rem;
            text-align: justify;
        }

        .follow-section {
            border-top: 1px solid var(--light-blue);
            padding-top: 1.5rem;
        }

        .follow-text {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            font-weight: 600;
            text-align: center;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.8rem 1.5rem;
            background: var(--light-gray);
            color: var(--text-dark);
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            font-weight: 600;
        }

        .social-link:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .social-link.upscrolled {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .social-link.upscrolled:hover {
            background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
            border-color: #667eea;
        }

        .social-link.instagram {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
        }

        .social-link.instagram:hover {
            background: linear-gradient(135deg, #ee82e9 0%, #f3455a 100%);
            border-color: #f093fb;
        }

        .link-icon {
            font-size: 1.2rem;
        }

        .link-text {
            font-size: 1rem;
        }
/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #667eea;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Content Wrapper */
.content-wrapper {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.content-wrapper.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Language-specific direction */
body.english {
    direction: ltr;
}

body.english .container {
    direction: ltr;
}

body.arabic {
    direction: rtl;
}

body.arabic .container {
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.hero {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.generation-info {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.content {
    padding: 2rem;
}

.simulation-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-right: 4px solid #667eea;
}

.simulation-info h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.simulation-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.schedule-container {
    display: grid;
    gap: 2rem;
}

.place-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-right: 5px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.english .place-section {
    border-right: none;
    border-left: 5px solid #667eea;
}

.place-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.place-title {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.place-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.schedule-list {
    display: grid;
    gap: 1rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.schedule-item:hover {
    background: #e9ecef;
}

.day {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1rem;
}

.time {
    color: #666;
    font-size: 0.95rem;
}

.distance {
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 600;
}

.percentage {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.percentage.excellent {
    background-color: #d4edda;
    color: #155724;
}

.percentage.good {
    background-color: #d1ecf1;
    color: #0c5460;
}

.percentage.fair {
    background-color: #fff3cd;
    color: #856404;
}

.percentage.poor {
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .place-section {
        padding: 1.5rem;
    }
    
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
    }
    
    body.english .schedule-item {
        text-align: left;
    }
    
    .schedule-item > * {
        margin-bottom: 0.3rem;
    }
    
    .language-toggle {
        top: 10px;
        left: 10px;
    }
    
    .lang-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
        
}