/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. Reset & Base Styles
   2. Navigation
   3. Hero Section
   4. Countdown Timer
   5. Buttons
   6. About Section
   7. Objectives Section (with sequential animation)
   8. Accordion & Axes Section
   9. Timeline Section
   10. Guidelines Section
   11. Register Form
   12. Contact Section
   13. Footer
   14. Animations
   15. Responsive Design
   ======================================== */
@import url('https://fonts.cdnfonts.com/css/sakkal-majalla');
/* 1. Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sakkal Majalla', sans-serif;
    background: #F5F7FC;
    color: #1A2A4F;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1.2rem;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #E8EEF8;
}
::-webkit-scrollbar-thumb {
    background: #18255d;
    border-radius: 10px;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 100px 0;
}

.alt-bg {
    background: #E8EEF8;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #18255d;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 3px;
    background: #799ed5;
    border-radius: 3px;
}

.section-sub {
    color: #4A5B7A;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

/* 2. Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #18255d;
}
.logo span { color: #799ed5; }
.logo small { font-size: 1.2rem; }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: #18255d;
    font-weight: 600;
    transition: 0.2s;
    font-size: 0.95rem;
}
.nav-links a:hover { color: #799ed5; }

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #18255d;
    cursor: pointer;
}

/* 3. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #E8EFFA 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: #18255d;
    color: white;
    padding: 6px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #18255d;
    margin-bottom: 1rem;
}
.hero-title .gold { color: #799ed5; }

.hero-sub {
    font-weight:500;
    font-size: 2.2rem;
    color: #4A5B7A;
    margin-bottom: 1.5rem;
    border-right: 3px solid #799ed5;
    padding-right: 18px;
}

.hero-date {
    display: flex;
    gap: 24px;
    margin-bottom: 2rem;
    color: #18255d;
    font-weight: 500;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 4. Countdown Timer */
.countdown-card {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(24, 37, 93, 0.1);
    text-align: center;
    border: 1px solid rgba(121, 158, 213, 0.2);
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #799ed5;
    font-weight: 700;
    margin-bottom: 20px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.countdown-block {
    background: #F5F7FC;
    border-radius: 20px;
    padding: 15px 12px;
    min-width: 80px;
    transition: 0.2s;
}

.countdown-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #18255d;
    line-height: 1;
    font-family: monospace;
}

.countdown-text {
    font-size: 1.3rem;
    color: #799ed5;
    font-weight: 600;
}

.progress-wrapper { margin-top: 20px; }
.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    margin-bottom: 8px;
    color: #4A5B7A;
}
.progress-bar-container {
    background: #E8EEF8;
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
}
.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #18255d, #799ed5);
    border-radius: 20px;
    transition: width 0.5s ease;
}

/* 5. Buttons */
.btn-primary {
    background: #18255d;
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #799ed5;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #18255d;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    color: #18255d;
    font-weight: 700;
    transition: 0.2s;
}
.btn-outline:hover {
    background: #18255d;
    color: white;
}

/* 6. About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    background: white;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(121, 158, 213, 0.15);
}
.about-text p {
    line-height: 1.9;
    color: #2A3A5A;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: #18255d; }

.threats-card {
    background: linear-gradient(135deg, #18255d 0%, #1e2e6e 100%);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 35px rgba(24, 37, 93, 0.2);
    transition: transform 0.3s ease;
}
.threats-card:hover { transform: translateY(-5px); }

.threats-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(121, 158, 213, 0.4);
}
.threats-header i { font-size: 2.2rem; color: #799ed5; }
.threats-header h3 { color: white; font-size: 1.4rem; font-weight: 700; }

.threat-list { display: flex; flex-direction: column; gap: 14px; }
.threat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: 18px;
    transition: all 0.2s;
}
.threat-item:hover {
    background: rgba(121, 158, 213, 0.25);
    transform: translateX(-5px);
}
.threat-icon {
    width: 36px;
    height: 36px;
    background: rgba(121, 158, 213, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #799ed5;
    font-size: 1rem;
}
.threat-text {
    flex: 1;
    color: #E8EEF8;
    font-weight: 500;
    font-size: 1.2rem;
}
.threat-footer {
    margin-top: 25px;
    padding-top: 15px;
    text-align: center;
    border-top: 1px solid rgba(121, 158, 213, 0.3);
    font-size: 1.2rem;
    color: #A8B9D4;
}

/* 7. Objectives Section (مع أنيميشن متسلسل) */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.objective-card {
    background: white;
    padding: 28px 20px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: 0.3s;
    border: 1px solid rgba(121, 158, 213, 0.2);
    opacity: 0;
    transform: translateY(30px);
}
.objective-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(24, 37, 93, 0.1);
    border-color: #799ed5;
}
.objective-card.animate {
    animation: slideUp 0.6s ease forwards;
}
.objective-icon {
    width: 60px;
    height: 60px;
    background: #E8EEF8;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #18255d;
    font-size: 1.5rem;
}
.objective-card h3 {
    color: #18255d;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* 8. Accordion & Axes Section */
.accordion-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #E8EEF8;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-30px);
}
.accordion-item.animate {
    animation: slideInRight 0.5s ease forwards;
}
.accordion-header {
    padding: 20px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #18255d;
}
.accordion-icon {
    transition: 0.3s;
    color: #799ed5;
}
.accordion-content {
    max-height: 0;
    padding: 0 28px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #4A5B7A;
}
.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 0 28px 24px 28px;
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.content-list {
    padding-right: 20px;
    margin: 15px 0 25px 0;
}
.content-list li {
    margin-bottom: 10px;
    color: #4A5B7A;
}

.responsible-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}

.responsible-card {
    background: #F8FAFF;
    border-radius: 24px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(121, 158, 213, 0.3);
    transition: all 0.3s ease;
}
.responsible-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(24, 37, 93, 0.1);
    border-color: #799ed5;
}

.responsible-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #E8EEF8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #799ed5;
    border: 2px solid #799ed5;
    margin-bottom: 16px;
}

.responsible-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #18255d;
    margin-bottom: 5px;
}
.responsible-title {
    color: #799ed5;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.btn-cv {
    background: transparent;
    border: 1.5px solid #18255d;
    color: #18255d;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    margin: 10px 0 12px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    font-family: 'Sakkal Majalla', sans-serif;
}
.btn-cv:hover {
    background: #18255d;
    color: white;
}

.cv-content {
    display: none;
    margin-top: 15px;
    padding: 12px;
    background: white;
    border-radius: 16px;
    border-right: 3px solid #799ed5;
    line-height: 1.6;
    color: #2A3A5A;
    font-size: 0.8rem;
    text-align: right;
}
.cv-content.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* 9. Timeline Section 
.timeline-circle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;
    margin: 60px 0;
}

.timeline-circle::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, #799ed5, #18255d, #799ed5);
    z-index: 0;
    border-radius: 3px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    animation: lineGrow 0.8s ease 2s forwards;
}

.circle-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8) translateY(30px);
}

.circle-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: #18255d;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border: 2px solid #799ed5;
    transition: all 0.3s ease;
    z-index: 2;
    background: white;
}
.circle-item:hover .circle-icon {
    transform: scale(1.1);
    background: #18255d;
    color: white;
    border-color: #18255d;
}
.circle-date {
    font-weight: 800;
    color: #18255d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.circle-event {
    font-size: 0.8rem;
    color: #4A5B7A;
    font-weight: 500;
}
.circle-item:last-child .circle-icon {
    animation: pulse 2s ease-in-out infinite 2.5s;
}
*/
/* 10. Guidelines Section */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.guideline-card {
    background: white;
    border-radius: 28px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(121, 158, 213, 0.15);
}
.guideline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(24, 37, 93, 0.1);
    border-color: #799ed5;
}
.card-icon {
    width: 60px;
    height: 60px;
    background: #E8EEF8;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #18255d;
    font-size: 1.6rem;
    transition: 0.2s;
}
.guideline-card:hover .card-icon {
    background: #18255d;
    color: white;
}
.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #18255d;
    margin-bottom: 16px;
}
.card-content {
    color: #4A5B7A;
    line-height: 1.7;
    font-size: 1.4rem;
}
.card-content ul {
    padding-right: 20px;
    margin-top: 10px;
}
.highlight {
    background: #E8EEF8;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    color: #18255d;
    display: inline-block;
    margin: 5px 0;
}

/* 11. Register Form */
.form-container {
    background: white;
    border-radius: 32px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}
.form-container input,
.form-container textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 40px;
    font-family: 'Sakkal Majalla', sans-serif;
}
.form-container textarea {
    border-radius: 24px;
}
.form-container .btn-primary {
    width: 100%;
}

/* 12. Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.contact-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    transition: 0.2s;
}
.contact-card i {
    font-size: 2rem;
    color: #799ed5;
    margin-bottom: 15px;
}

/* 13. Footer */
footer {
    background: #18255d;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* 14. Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(40px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes lineGrow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    100% {
        opacity: 0.5;
        transform: scaleX(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(24, 37, 93, 0.4);
        border-color: #799ed5;
    }
    50% {
        box-shadow: 0 0 0 12px rgba(24, 37, 93, 0.1);
        border-color: #18255d;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* أنيميشن الأهداف المتسلسلة */
.objective-card:nth-child(1).animate { animation-delay: 0.1s; }
.objective-card:nth-child(2).animate { animation-delay: 0.3s; }
.objective-card:nth-child(3).animate { animation-delay: 0.5s; }
.objective-card:nth-child(4).animate { animation-delay: 0.7s; }

/* أنيميشن المحاور المتسلسلة */
.accordion-item:nth-child(1).animate { animation-delay: 0.1s; }
.accordion-item:nth-child(2).animate { animation-delay: 0.3s; }
.accordion-item:nth-child(3).animate { animation-delay: 0.5s; }

/* 15. Responsive Design */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .objectives-grid,
    .timeline-grid,
    .contact-grid,
    .guidelines-grid,
    .responsible-grid {
        grid-template-columns: 1fr;
    }
    .about-grid { grid-template-columns: 1fr; gap: 35px; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background: white;
        padding: 25px;
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        width: 200px;
    }
    .hero-title { font-size: 2.2rem; }
    .countdown-number { font-size: 1.8rem; }
    .countdown-block { min-width: 60px; padding: 10px 8px; }
    .timeline-circle::before { display: none; }
    .circle-item { min-width: 120px; }
    .guidelines-grid { grid-template-columns: repeat(2, 1fr); }
    .responsible-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .circle-item { min-width: calc(33% - 20px); }
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .guidelines-grid { grid-template-columns: 1fr; }
    .responsible-grid { grid-template-columns: 1fr; }
    .circle-item { min-width: calc(50% - 20px); }
    .container { padding: 0 20px; }
    .accordion-header { padding: 18px 20px; font-size: 1rem; }
}
/* ========================================
   Threats Card Animation
   ======================================== */

/* البطاقة الرئيسية - تظهر بتأثير fade in */
.threats-card {
    background: linear-gradient(135deg, #18255d 0%, #1e2e6e 100%);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 35px rgba(24, 37, 93, 0.2);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: threatsCardAppear 0.6s ease forwards;
}

@keyframes threatsCardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.threats-card:hover {
    transform: translateY(-5px);
}

/* عناصر القائمة - تظهر متسلسلة */
.threat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: 18px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: threatItemAppear 0.5s ease forwards;
}

/* تأخيرات متسلسلة للعناصر */
.threat-item:nth-child(1) { animation-delay: 0.1s; }
.threat-item:nth-child(2) { animation-delay: 0.2s; }
.threat-item:nth-child(3) { animation-delay: 0.3s; }
.threat-item:nth-child(4) { animation-delay: 0.4s; }
.threat-item:nth-child(5) { animation-delay: 0.5s; }
.threat-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes threatItemAppear {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تأثير hover على كل عنصر */
.threat-item:hover {
    background: rgba(121, 158, 213, 0.3);
    transform: translateX(-5px) scale(1.02);
}

/* أيقونة العنصر - تأثير دوران بسيط عند hover */
.threat-item:hover .threat-icon {
    transform: rotate(10deg) scale(1.1);
    background: rgba(121, 158, 213, 0.4);
}

.threat-icon {
    width: 36px;
    height: 36px;
    background: rgba(121, 158, 213, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #799ed5;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* رأس البطاقة - تأثير ظهور */
.threats-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(121, 158, 213, 0.4);
    opacity: 0;
    transform: translateY(-20px);
    animation: headerAppear 0.5s ease 0.05s forwards;
}

@keyframes headerAppear {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* نبض خفيف للأيقونة الرئيسية */
.threats-header i {
    font-size: 2rem;
    color: #799ed5;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        text-shadow: 0 0 0 rgba(121, 158, 213, 0);
    }
    50% {
        text-shadow: 0 0 10px rgba(121, 158, 213, 0.5);
    }
}

/* النص داخل العناصر - تأثير */
.threat-text {
    flex: 1;
    color: #E8EEF8;
    font-weight: 500;
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.threat-item:hover .threat-text {
    transform: translateX(-3px);
}

/* تذييل البطاقة (اختياري إذا كان موجود) */
.threat-footer {
    margin-top: 25px;
    padding-top: 15px;
    text-align: center;
    border-top: 1px solid rgba(121, 158, 213, 0.3);
    font-size: 0.8rem;
    color: #A8B9D4;
    opacity: 0;
    animation: footerAppear 0.5s ease 0.7s forwards;
}

@keyframes footerAppear {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ========================================
   Countdown Card Animation
   ======================================== */

/* العداد الرئيسي */
.countdown-card {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(24, 37, 93, 0.1);
    text-align: center;
    border: 1px solid rgba(121, 158, 213, 0.2);
    transition: all 0.3s ease;
    animation: cardGlow 2s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(24, 37, 93, 0.1);
    }
    50% {
        box-shadow: 0 25px 50px rgba(24, 37, 93, 0.2);
    }
}

/* التسمية */
.countdown-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #799ed5;
    font-weight: 700;
    margin-bottom: 20px;
    animation: labelPulse 2s ease-in-out infinite;
}

@keyframes labelPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* حاويات الأرقام */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.countdown-block {
    background: #F5F7FC;
    border-radius: 20px;
    padding: 15px 12px;
    min-width: 80px;
    transition: all 0.3s ease;
    animation: blockPop 0.5s ease-out;
}

@keyframes blockPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* تأثير عند تغيير الأرقام */
.countdown-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #18255d;
    line-height: 1;
    font-family: monospace;
    transition: all 0.2s ease;
    animation: numberFlip 0.3s ease-out;
}

@keyframes numberFlip {
    0% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* النص تحت الأرقام */
.countdown-text {
    font-size: 0.7rem;
    color: #799ed5;
    font-weight: 600;
    transition: color 0.3s ease;
}

.countdown-block:hover .countdown-text {
    color: #18255d;
}

.countdown-block:hover {
    transform: translateY(-5px);
    background: #E8EEF8;
}

/* شريط التقدم */
.progress-wrapper {
    margin-top: 20px;
    animation: progressSlide 0.6s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes progressSlide {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-bar-container {
    background: #E8EEF8;
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #18255d, #799ed5);
    border-radius: 20px;
    transition: width 0.5s ease;
    animation: fillGlow 1.5s ease-in-out infinite;
}

@keyframes fillGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}
/* ========================================
   الشعار بجوار اسم المركز - كبير وبارز
   ======================================== */

body {
    padding-top: 20px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* ===== القسم الأيسر (الشعار + النص معاً) ===== */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

/* الشعار - كبير وبارز */
.logo-icon {
    flex-shrink: 0;
}

.nav-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.nav-logo-img:hover {
    transform: scale(1.03);
}

/* النص بجانب الشعار */
.logo-text {
    line-height: 1.3;
}

.logo-text a {
    text-decoration: none;
    color: #18255d;
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-text span {
    color: #799ed5;
}

.logo-text small {
    font-size: 1.4rem;
    color: #4A5B7A;
    font-weight: 500;
}

/* ===== القسم الأيمن (الروابط) ===== */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    z-index: 10;
}

.nav-links a {
    text-decoration: none;
    color: #18255d;
    font-weight: 600;
    transition: 0.2s;
    font-size: 1.5rem;
}

.nav-links a:hover {
    color: #799ed5;
}

.menu-toggle {
    display: none;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: #18255d;
    cursor: pointer;
    z-index: 10;
}

/* ===== استجابة للشاشات المتوسطة ===== */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 85px;
        right: 20px;
        background: white;
        padding: 25px;
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        width: 200px;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-logo-img {
        width: 55px;
        height: 55px;
    }
    
    .logo-text a {
        font-size: 0.9rem;
    }
}

/* ===== استجابة للشاشات الصغيرة ===== */
@media (max-width: 600px) {
    .nav-logo-img {
        width: 45px;
        height: 45px;
    }
    
    .logo-text a {
        font-size: 0.75rem;
    }
    
    .logo-text br {
        display: none;
    }
    
    .logo-text small {
        font-size: 0.6rem;
    }
}
/* ========================================
   شعارات الشركاء (3 صور فوق العداد)
   ======================================== */

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.partner-logo {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(121, 158, 213, 0.2);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(24, 37, 93, 0.15);
    border-color: #799ed5;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* أنيميشن ظهور الصور المتسلسل */
.partner-logo {
    opacity: 0;
    transform: translateY(20px);
    animation: partnerLogoAppear 0.5s ease forwards;
}

.partner-logo:nth-child(1) { animation-delay: 0.1s; }
.partner-logo:nth-child(2) { animation-delay: 0.3s; }
.partner-logo:nth-child(3) { animation-delay: 0.5s; }

@keyframes partnerLogoAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* للشاشات المتوسطة */
@media (max-width: 900px) {
    .partner-logo {
        width: 65px;
        height: 65px;
        padding: 10px;
    }
    
    .partner-logos {
        gap: 20px;
        margin-bottom: 25px;
    }
}

/* للشاشات الصغيرة */
@media (max-width: 600px) {
    .partner-logo {
        width: 55px;
        height: 55px;
        padding: 8px;
    }
    
    .partner-logos {
        gap: 15px;
        margin-bottom: 20px;
    }
}
/* ========================================
    قسم اللجان - تصميم جديد
   ======================================== *//* ========================================
    قسم اللجان - بطاقات + تفاصيل منبثقة
   ======================================== */
/* ========================================
    قسم اللجان - بطاقات + تفاصيل منبثقة
   ======================================== */

.committees-section {
    background: linear-gradient(135deg, #F5F7FC 0%, #E8EEF8 100%);
    padding: 80px 0;
}

/* رأس القسم */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24, 37, 93, 0.1);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #18255d;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #18255d;
    margin-bottom: 10px;
}

.section-title span {
    color: #799ed5;
}

.section-desc {
    color: #4A5B7A;
    font-size: 0.9rem;
}

/* الرئيس */
.main-committee {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.main-member {
    background: white;
    border-radius: 24px;
    padding: 25px 35px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    min-width: 280px;
}

.member-img img {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #799ed5;
    margin-bottom: 15px;
}

.main-member h3 {
    font-size: 1.3rem;
    color: #18255d;
    margin-bottom: 5px;
}

.member-title {
    font-size: 0.8rem;
    color: #799ed5;
    font-weight: 600;
    margin-bottom: 12px;
}

.cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #18255d;
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.2s;
}

.cv-btn:hover {
    background: #799ed5;
    gap: 12px;
}

/* رؤساء اللجان - 3 أعمدة */
.chairs-section {
    margin-bottom: 40px;
}

.chairs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.chair-card {
    background: white;
    border-radius: 24px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.chair-card:hover {
    transform: translateY(-5px);
}

.chair-img img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #799ed5;
    margin-bottom: 15px;
}

.chair-card h4 {
    font-size: 1.2rem;
    color: #18255d;
    margin-bottom: 5px;
}

.chair-position {
    font-size: 0.90rem;
    color: #799ed5;
    font-weight: 600;
    margin-bottom: 5px;
}

.chair-university {
    font-size: 0.7rem;
    color: #4A5B7A;
    margin-bottom: 12px;
}

.chair-cv {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #18255d;
    text-decoration: none;
    margin-bottom: 12px;
    background: #F5F7FC;
    padding: 4px 12px;
    border-radius: 20px;
}

.chair-cv:hover {
    background: #18255d;
    color: white;
}

.btn-details {
    width: 100%;
    background: #18255d;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 40px;
    font-family: 'Sakkal Majalla', sans-serif;
    font-weight: 600;
    font-size: 0.90rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-details:hover {
    background: #799ed5;
    gap: 12px;
}

/* حاوية التفاصيل */
.details-container {
    margin-top: 40px;
}

.committee-details-page {
    display: none;
    background: white;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.committee-details-page.show {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 2px solid #E8EEF8;
}

.details-header h3 {
    font-size: 1.3rem;
    color: #18255d;
}

.back-btn {
    background: #E8EEF8;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-family: 'Sakkal Majalla', sans-serif;
    font-weight: 600;
    color: #18255d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.back-btn:hover {
    background: #18255d;
    color: white;
}

/* شبكة الأعضاء - عامة */
.members-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* للأعضاء الذين لديهم صور (اللجنة العلمية) */
.members-grid-cards.with-images .member-detail-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #F8FAFF;
    border-radius: 20px;
    padding: 15px;
    transition: 0.2s;
}

.members-grid-cards.with-images .member-detail-card:hover {
    background: #E8EEF8;
    transform: translateX(-5px);
}

.member-detail-img img {
    width: 90px;
    height:90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #799ed5;
}

/* للأعضاء بدون صور (التحضيرية والفنية) */
.members-grid-cards.without-images .member-detail-card {
    background: #F8FAFF;
    border-radius: 20px;
    padding: 15px 20px;
    transition: 0.2s;
}

.members-grid-cards.without-images .member-detail-card:hover {
    background: #E8EEF8;
    transform: translateX(-5px);
}

.member-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.member-detail-name {
    font-weight: 800;
    color: #18255d;
    font-size: 0.95rem;
}

.member-detail-role {
    font-size: 0.7rem;
    color: #799ed5;
    font-weight: 600;
}

.member-cv {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: #18255d;
    text-decoration: none;
    margin-top: 5px;
}

.member-cv:hover {
    color: #799ed5;
    text-decoration: underline;
}

/* استجابة للشاشات */
@media (max-width: 900px) {
    .chairs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .chairs-grid {
        grid-template-columns: 1fr;
    }
    
    .details-header {
        flex-direction: column;
        text-align: center;
    }
    
    .main-member {
        min-width: auto;
        width: 100%;
    }
    
    .members-grid-cards.with-images .member-detail-card {
        flex-direction: column;
        text-align: center;
    }
}
/* ========================================
    Axes Section - Two Columns
   ======================================== */

.axes-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* العمود الأيمن - المحاور */
.axes-content {
    flex: 1.5;
}

/* العمود الأيسر - الصورة */
.axes-image {
    flex: 0.8;
    position: sticky;
    top: 100px;
}

/* بطاقة الصورة */
.image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(24, 37, 93, 0.15);
    margin-bottom: 20px;
}

.image-card img {
    margin-top:70px;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(24, 37, 93, 0.9));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.image-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.image-overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* إحصائيات */
.image-stats {
    background: white;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 8px 20px rgba(24, 37, 93, 0.08);
}

.stat-item {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #18255d;
}

.stat-label {
    font-size: 1.2rem;
    color: #4A5B7A;
}

/* استجابة للشاشات */
@media (max-width: 900px) {
    .axes-wrapper {
        flex-direction: column;
    }
    
    .axes-image {
        position: relative;
        top: 0;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .image-stats {
        justify-content: space-around;
    }
}

@media (max-width: 600px) {
    .image-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-item {
        flex: auto;
        min-width: 80px;
    }
}


/* الحاوية الرئيسية */
.timeline-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 60px 20px;
    position: relative;
}

/* العنوان */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #18255d;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(-30px);
    animation: titleFadeIn 0.8s ease forwards;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #799ed5;
    margin: 10px auto 0;
    border-radius: 3px;
    opacity: 0;
    animation: lineFadeIn 0.8s ease 0.3s forwards;
}

.section-sub {
    text-align: center;
    color: #4A5B7A;
    margin-bottom: 80px;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: subFadeIn 0.8s ease 0.2s forwards;
}

/* خريطة الطريق */
.roadmap {
    position: relative;
    padding: 40px 0;
    min-height: 450px;
}

/* الطريق المنحني السموث SVG */
.road-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 200px;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0;
    animation: roadFadeIn 1s ease 0.5s forwards;
}

/* الأعمدة */
.roadmap-columns {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.roadmap-column {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    animation: columnFadeIn 0.6s ease forwards;
}

/* تأخيرات متسلسلة للعناصر */
.roadmap-column:nth-child(1) { animation-delay: 0.6s; }
.roadmap-column:nth-child(2) { animation-delay: 0.8s; }
.roadmap-column:nth-child(3) { animation-delay: 1.0s; }
.roadmap-column:nth-child(4) { animation-delay: 1.2s; }
.roadmap-column:nth-child(5) { animation-delay: 1.4s; }
.roadmap-column:nth-child(6) { animation-delay: 1.6s; }

@keyframes titleFadeIn {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes subFadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes lineFadeIn {
    0% { opacity: 0; width: 0; }
    100% { opacity: 1; width: 60px; }
}

@keyframes roadFadeIn {
    0% { opacity: 0; stroke-dasharray: 0 1000; }
    100% { opacity: 1; stroke-dasharray: 1000; }
}

@keyframes columnFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* النقطة على الطريق - ستكون على الخط تماماً */
.road-dot {
    width: 14px;
    height: 14px;
    background: #18255d;
    border: 2px solid #799ed5;
    border-radius: 50%;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0);
    z-index: 3;
    transition: all 0.3s ease;
    animation: dotPop 0.5s ease forwards;
}

/* تأخيرات ظهور النقاط */
.roadmap-column:nth-child(1) .road-dot { animation-delay: 0.8s; }
.roadmap-column:nth-child(2) .road-dot { animation-delay: 1.0s; }
.roadmap-column:nth-child(3) .road-dot { animation-delay: 1.2s; }
.roadmap-column:nth-child(4) .road-dot { animation-delay: 1.4s; }
.roadmap-column:nth-child(5) .road-dot { animation-delay: 1.6s; }
.roadmap-column:nth-child(6) .road-dot { animation-delay: 1.8s; }

@keyframes dotPop {
    0% { transform: translateX(-50%) scale(0); }
    60% { transform: translateX(-50%) scale(1.3); }
    100% { transform: translateX(-50%) scale(1); }
}

/* النقطة للعناصر الفردية (أعلى الطريق) */
.roadmap-column:nth-child(odd) .road-dot {
    top: 24%;
    margin-top: -7px;
}

/* النقطة للعناصر الزوجية (أسفل الطريق) */
.roadmap-column:nth-child(even) .road-dot {
    bottom: 50%;
    margin-bottom: -7px;
}

.roadmap-column:hover .road-dot {
    transform: translateX(-50%) scale(1.4);
    background: #799ed5;
    box-shadow: 0 0 10px rgba(121, 158, 213, 0.5);
}

/* الدائرة (الأيقونة) */
.icon-circle {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #18255d;
    box-shadow: 0 8px 20px rgba(24, 37, 93, 0.1);
    border: 2px solid #799ed5;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    margin: 0 auto;
    opacity: 0;
    transform: scale(0);
    animation: iconPop 0.5s ease forwards;
}

/* تأخيرات ظهور الأيقونات */
.roadmap-column:nth-child(1) .icon-circle { animation-delay: 0.9s; }
.roadmap-column:nth-child(2) .icon-circle { animation-delay: 1.1s; }
.roadmap-column:nth-child(3) .icon-circle { animation-delay: 1.3s; }
.roadmap-column:nth-child(4) .icon-circle { animation-delay: 1.5s; }
.roadmap-column:nth-child(5) .icon-circle { animation-delay: 1.7s; }
.roadmap-column:nth-child(6) .icon-circle { animation-delay: 1.9s; }

@keyframes iconPop {
    0% { opacity: 0; transform: scale(0); }
    60% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.roadmap-column:hover .icon-circle {
    background: #18255d;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(24, 37, 93, 0.2);
}

/* البطاقة (تحتوي على التاريخ والنص معاً) */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 8px 20px rgba(24, 37, 93, 0.08);
    border-right: 3px solid #799ed5;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateX(-15px);
    animation: cardSlideIn 0.5s ease forwards;
}

/* تأخيرات ظهور البطاقات */
.roadmap-column:nth-child(1) .info-card { animation-delay: 1.0s; }
.roadmap-column:nth-child(2) .info-card { animation-delay: 1.2s; }
.roadmap-column:nth-child(3) .info-card { animation-delay: 1.4s; }
.roadmap-column:nth-child(4) .info-card { animation-delay: 1.6s; }
.roadmap-column:nth-child(5) .info-card { animation-delay: 1.8s; }
.roadmap-column:nth-child(6) .info-card { animation-delay: 2.0s; }

@keyframes cardSlideIn {
    0% { opacity: 0; transform: translateX(-15px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* البطاقات في الأعمدة الزوجية تظهر من الجهة الأخرى */
.roadmap-column:nth-child(even) .info-card {
    animation-name: cardSlideInReverse;
}

@keyframes cardSlideInReverse {
    0% { opacity: 0; transform: translateX(15px); }
    100% { opacity: 1; transform: translateX(0); }
}

.roadmap-column:hover .info-card {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(24, 37, 93, 0.12);
}

.card-date {
    font-size: 1.2rem;
    font-weight: 800;
    color: #18255d;
    margin-bottom: 5px;
}

.card-event {
    font-size: 1.2rem;
    color: #4A5B7A;
    line-height: 1.4;
}

/* خط ربط صغير بين البطاقة والدائرة */
.connector-line {
    width: 2px;
    height: 20px;
    background: #799ed5;
    margin: 8px auto;
    opacity: 0;
    animation: lineGrow 0.4s ease forwards;
}

/* تأخيرات ظهور خطوط الربط */
.roadmap-column:nth-child(1) .connector-line { animation-delay: 0.95s; }
.roadmap-column:nth-child(2) .connector-line { animation-delay: 1.15s; }
.roadmap-column:nth-child(3) .connector-line { animation-delay: 1.35s; }
.roadmap-column:nth-child(4) .connector-line { animation-delay: 1.55s; }
.roadmap-column:nth-child(5) .connector-line { animation-delay: 1.75s; }
.roadmap-column:nth-child(6) .connector-line { animation-delay: 1.95s; }

@keyframes lineGrow {
    0% { opacity: 0; height: 0; }
    100% { opacity: 1; height: 20px; }
}

/* تموضع العناصر - أعلى وأسفل الطريق */
/* الأعمدة الفردية (1,3,5) - أعلى الطريق */
.roadmap-column:nth-child(odd) {
    margin-top: -20px;
}

.roadmap-column:nth-child(odd) .info-card {
    margin-bottom: 5px;
}

.roadmap-column:nth-child(odd) .icon-circle {
    margin: 20px auto;
}

/* الأعمدة الزوجية (2,4,6) - أسفل الطريق */
.roadmap-column:nth-child(even) {
    margin-top: 210px;
}

.roadmap-column:nth-child(even) .info-card {
    margin-top: 15px;
}

.roadmap-column:nth-child(even) .icon-circle {
    margin: 20px auto;
}

/* استجابة للشاشات */
@media (max-width: 900px) {
    .timeline-container {
        overflow-x: auto;
    }
    
    .roadmap {
        min-width: 800px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .info-card {
        padding: 8px 12px;
    }
    
    .card-date {
        font-size: 0.7rem;
    }
    
    .card-event {
        font-size: 0.6rem;
    }
}

/* تأثير نبض خفيف للدائرة الأخيرة (حدث المؤتمر) */
.roadmap-column:last-child .icon-circle {
    animation: iconPop 0.5s ease forwards, pulse 2s ease-in-out infinite 2.5s;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(24, 37, 93, 0.4);
        border-color: #799ed5;
    }
    50% {
        box-shadow: 0 0 0 10px rgba(24, 37, 93, 0.1);
        border-color: #18255d;
    }
}

/* ========================================
    Speakers Section - Two Speakers
   ======================================== */

.speakers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F7FC 0%, #E8EEF8 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* رأس القسم */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24, 37, 93, 0.1);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #18255d;
    margin-bottom: 15px;
}

.section-badge i {
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #18255d;
    margin-bottom: 10px;
}

.section-title span {
    color: #799ed5;
}

.section-desc {
    color: #4A5B7A;
    font-size: 0.9rem;
}

/* شبكة المتحدثين - عمودين */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    max-width: 400px;
    margin: 0 auto;
}

/* بطاقة المتحدث */
.speaker-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(24, 37, 93, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(24, 37, 93, 0.15);
}

/* صورة المتحدث */
.speaker-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-image img {
    transform: scale(1.05);
}

/* أيقونات التواصل الاجتماعي */
.speaker-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(transparent, rgba(24, 37, 93, 0.8));
    padding: 20px;
    transition: bottom 0.3s ease;
}

.speaker-card:hover .speaker-social {
    bottom: 0;
}

.speaker-social a {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #18255d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.speaker-social a:hover {
    background: #799ed5;
    color: white;
    transform: translateY(-3px);
}

/* معلومات المتحدث */
.speaker-info {
    padding: 25px;
    text-align: center;
}

.speaker-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #18255d;
    margin-bottom: 8px;
}

.speaker-title {
    font-size: 0.85rem;
    color: #799ed5;
    font-weight: 600;
    margin-bottom: 15px;
}

.speaker-bio {
    font-size: 0.85rem;
    color: #4A5B7A;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* مواضيع المتحدث */
.speaker-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.speaker-topics span {
    background: #E8EEF8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #18255d;
    font-weight: 600;
}

/* زر السيرة الذاتية */
.speaker-cv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #18255d;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.speaker-cv:hover {
    background: #799ed5;
    gap: 12px;
}

/* استجابة للشاشات */
@media (max-width: 800px) {
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .speaker-image {
        height: 250px;
    }
}

@media (max-width: 500px) {
    .speaker-info {
        padding: 20px;
    }
    
    .speaker-name {
        font-size: 1.1rem;
    }
    
    .speaker-bio {
        font-size: 0.8rem;
    }
}

/* عنوان القسم */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #18255d;
    margin-bottom: 0.5rem;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #799ed5;
    margin: 10px auto 0;
    border-radius: 3px;
}

.section-sub {
    text-align: center;
    color: #4A5B7A;
    margin-bottom: 40px;
    font-size: 1rem;
}

/* علامات التبويب */
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    background: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Sakkal Majalla', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #18255d;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(24, 37, 93, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 1rem;
    color: #799ed5;
}

.tab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 37, 93, 0.15);
}

.tab-btn.active {
    background: #18255d;
    color: white;
}

.tab-btn.active i {
    color: white;
}

/* محتوى الجداول */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

/* بطاقة المعلومات */
.info-card {
    background: white;
    border-radius: 20px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(24, 37, 93, 0.08);
    border-right: 4px solid #799ed5;
}

.info-card h3 {
    color: #18255d;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-card p {
    color: #4A5B7A;
    font-size: 1.2rem;
}

/* الجدول */
.session-table {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(24, 37, 93, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 60px 110px 80px 1.5fr 1.8fr 90px 110px 80px;
    background: #18255d;
    color: white;
    padding: 15px 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
}

.table-row {
    display: grid;
    grid-template-columns: 60px 110px 80px 1.5fr 1.8fr 90px 110px 80px;
    padding: 12px;
    border-bottom: 1px solid #E8EEF8;
    text-align: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.table-row:hover {
    background: #F8FAFF;
    transform: scale(1.01);
}

.table-row .country {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.country-flag {
    font-size: 1rem;
}

.participation-online {
    background: #E8F4FD;
    color: #2196F3;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
}

.participation-attend {
    background: #E8F8F0;
    color: #4CAF50;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
}

.paper-title {
    text-align: right;
    font-size: 1.2rem;
    line-height: 1.4;
}

.authors {
    font-size: 1.2rem;
    color: #4A5B7A;
    text-align: right;
}

/* فاصل الجلسات - في المنتصف */
.table-row.session-break {
    grid-column: 1 / -1;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #FFF8E7;
    border-radius: 60px;
    margin: 12px 0;
    padding: 10px 25px !important;
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.table-row.session-break span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #18255d;
}

.table-row.session-break i {
    font-size: 1rem;
    color: #799ed5;
}

/* استجابة للشاشات */
@media (max-width: 1200px) {
    .table-header, .table-row {
        min-width: 1000px;
    }
    
    .session-table {
        overflow-x: auto;
    }
    
    .tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .tab-btn {
        padding: 8px 18px;
        font-size: 0.75rem;
    }
}

  /* عنوان القسم */
    .section-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .section-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: rgba(24, 37, 93, 0.1);
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 0.85rem;
        color: #18255d;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .section-badge i {
        color: #799ed5;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
        font-weight: 800;
        color: #18255d;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .section-sub {
        color: #4A5B7A;
        font-size: 1rem;
        max-width: 800px;
        margin: 0 auto;
    }

    /* المائدة المستديرة */
    .roundtable {
        background: white;
        border-radius: 48px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(24, 37, 93, 0.1);
        margin-bottom: 50px;
    }

    /* رأس المائدة */
    .roundtable-header {
        background: linear-gradient(135deg, #18255d, #1e2e6e);
        padding: 35px 40px;
        text-align: center;
        position: relative;
    }

    .roundtable-header h3 {
        font-size: 1.6rem;
        font-weight: 800;
        color: white;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .roundtable-header p {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.95rem;
        max-width: 900px;
        margin: 0 auto;
        line-height: 1.7;
    }

    /* أيقونة المائدة */
    .table-icon {
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        background: #799ed5;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border: 3px solid white;
    }

    /* محتوى المائدة */
    .roundtable-body {
        padding: 50px 40px 40px;
    }

    /* نص الأهداف كاملاً */
    .objectives-fulltext {
        background: #F8FAFF;
        border-radius: 28px;
        padding: 32px 35px;
        margin-bottom: 40px;
        border-right: 5px solid #799ed5;
        line-height: 1.8;
        font-size: 1.6rem;
        color: #2A3A5A;
    }

    .objectives-fulltext i {
        color: #799ed5;
        font-size: 1.3rem;
        margin-left: 8px;
    }

    .objectives-fulltext strong {
        color: #18255d;
    }

    /* المشاركون */
    .participants-section {
        margin-top: 30px;
    }

    .participants-title {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1.3rem;
        font-weight: 800;
        color: #18255d;
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom: 2px solid #E8EEF8;
    }

    .participants-title i {
        color: #799ed5;
        font-size: 1.5rem;
    }

    .participants-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .participant-card {
        text-align: center;
        transition: all 0.3s ease;
        background: #F8FAFF;
        border-radius: 24px;
        padding: 20px 15px;
    }

    .participant-card:hover {
        transform: translateY(-5px);
        background: #E8EEF8;
    }

    .participant-avatar {
        width: 90px;
        height: 90px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 2rem;
        color: #799ed5;
        border: 2px solid #799ed5;
        transition: all 0.3s ease;
    }

    .participant-card:hover .participant-avatar {
        background: #18255d;
        color: white;
        border-color: #18255d;
    }

    .participant-name {
        font-size: 1rem;
        font-weight: 700;
        color: #18255d;
        margin-bottom: 5px;
    }

    .participant-title {
        font-size: 0.7rem;
        color: #4A5B7A;
        line-height: 1.4;
    }

    /* استجابة */
    @media (max-width: 900px) {
        .participants-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        
        .roundtable-header {
            padding: 25px 20px;
        }
        
        .roundtable-header h3 {
            font-size: 1.3rem;
        }
        
        .roundtable-body {
            padding: 40px 25px 30px;
        }
        
        .section-title {
            font-size: 1.6rem;
        }
        
        .objectives-fulltext {
            padding: 22px 25px;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 550px) {
        .participants-grid {
            grid-template-columns: 1fr;
            max-width: 280px;
            margin: 0 auto;
        }
    }