:root {
    /* Premium Color Palette */
    --primary-color: #0d3b4a; /* Deep elegant teal/navy */
    --secondary-color: #d4af37; /* Premium Gold */
    --accent-color: #1a746b; /* Emerald green */
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f8f9fa;
    --bg-dark: #1a252c;
    --bg-gray: #eef2f5;
    
    /* Typography */
    --font-ar: 'Cairo', sans-serif;
    
    /* Variables */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Language Toggle Logic */
body.lang-en {
    font-family: 'Inter', sans-serif;
}

body:not(.lang-en) .en { display: none !important; }
body.lang-en .ar { display: none !important; }

/* General Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 10px 0;
    font-size: 0.95rem;
    text-align: center;
}

.announcement-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.announcement-btn {
    background: white;
    color: var(--primary-color);
    padding: 4px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.announcement-btn:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
}

.announcement-bar strong {
    color: #fff;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.brand-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.btn-lang {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-lang:hover {
    background: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    right: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 59, 74, 0.95) 0%, rgba(26, 116, 107, 0.85) 100%), url('https://images.unsplash.com/photo-1542385151-efd9000785a0?q=80&w=2000&auto=format&fit=crop') center/cover;
    z-index: -1;
}

.hero-inner {
    text-align: center;
    color: white;
    max-width: 900px;
}

.organizers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    flex-wrap: wrap;
    color: white;
}

.org-card {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.org-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.org-divider {
    width: 2px;
    height: 24px;
    background: rgba(255,255,255,0.3);
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-gray {
    background-color: var(--bg-gray);
}

.section-dark {
    background-color: var(--bg-dark);
    color: white;
}

.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.text-white {
    color: white !important;
}

.title-underline {
    height: 4px;
    width: 80px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.title-underline.center {
    margin: 0 auto;
}

/* About Section */
.about-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.1);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--text-dark);
}

/* Goals Grid */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.goal-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--secondary-color);
}

.goal-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.goal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Event Card Premium */
.event-card-premium {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card-premium:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.event-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
}

.event-info {
    padding: 50px;
    flex: 1;
}

.event-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.event-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
    opacity: 0.9;
}

.event-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.meta-item i {
    color: var(--secondary-color);
}

.event-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.8);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: white;
    transform: translateX(-5px);
}

/* Footer */
.footer {
    background: #092832;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer p {
    font-size: 1.1rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-contact a:hover {
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .event-card-premium {
        flex-direction: column;
    }
    .event-image {
        width: 100%;
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .nav-content { height: 60px; }
    .brand { font-size: 0.95rem; gap: 8px; }
    .brand-logo { height: 40px; }
    .btn-lang { padding: 6px 12px; font-size: 0.85rem; }
    .hero-title {
        font-size: 2.5rem;
    }
    .organizers {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .org-divider {
        width: 50px;
        height: 2px;
    }
    .nav-links {
        display: none;
    }
    .event-meta {
        flex-direction: column;
        gap: 15px;
    }
    .footer-content {
        justify-content: center;
        text-align: center;
    }
}