/* =====================
   Global Styles & Variables
   ===================== */
:root {
    --primary-color: #1B3A6B;
    --secondary-color: #C9A961;
    --accent-color: #2C8C99;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

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

/* =====================
   Navigation
   ===================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-text h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.brand-text p {
    font-size: 12px;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* =====================
   Hero Section
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding-top: 100px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0L100 50L50 100L0 50Z" fill="%23ffffff" opacity="0.05"/></svg>');
    background-size: 100px 100px;
}

.hero-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.flag-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 10px;
    opacity: 0.95;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================
   Buttons
   ===================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #B08A4A;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-lg {
    padding: 18px 50px;
    font-size: 18px;
}

/* =====================
   Quick Stats
   ===================== */
.quick-stats {
    background: var(--white);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

/* =====================
   Section Common
   ===================== */
section {
    padding: 80px 0;
}

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 169, 97, 0.1);
    color: var(--secondary-color);
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* =====================
   About Section
   ===================== */
.about {
    background: var(--bg-light);
}

.about-text .lead {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    gap: 30px;
}

.feature {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-text p {
    color: var(--text-light);
    line-height: 1.6;
}

/* =====================
   Objectives Section
   ===================== */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.objective-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.objective-icon {
    font-size: 60px;
    margin-bottom: 25px;
}

.objective-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.objective-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================
   Workshops Section
   ===================== */
.workshops {
    background: var(--bg-light);
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.workshop-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.workshop-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.workshop-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.workshop-icon {
    font-size: 50px;
    margin: 20px 0;
    text-align: center;
}

.workshop-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.workshop-duration {
    text-align: center;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
}

.workshop-list {
    list-style: none;
    padding-right: 0;
}

.workshop-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-light);
    position: relative;
    padding-right: 25px;
}

.workshop-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: 900;
}

.workshop-list li:last-child {
    border-bottom: none;
}

/* =====================
   Statistics Section
   ===================== */
.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.stats-bars h3,
.achievements h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.stat-bar {
    margin-bottom: 25px;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.bar-value {
    color: var(--secondary-color);
    font-weight: 900;
}

.bar-bg {
    width: 100%;
    height: 12px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 1s ease;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.achievement-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(-5px);
}

.achievement-icon {
    font-size: 30px;
}

/* =====================
   Language Switcher
   ===================== */
.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-btn {
    padding: 8px 15px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.qr-link {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
}

.qr-link:hover {
    transform: scale(1.05);
}

/* =====================
   President Message Section
   ===================== */
.president-message {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

.president-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.president-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    color: rgba(201, 169, 97, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.president-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--secondary-color);
}

.president-photo {
    flex-shrink: 0;
}

.president-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.president-info {
    flex: 1;
}

.president-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.president-title {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 600;
}

.president-text {
    position: relative;
    z-index: 1;
}

.president-intro {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    font-style: italic;
}

.president-text p {
    font-size: 17px;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.president-list {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.president-list li {
    font-size: 17px;
    line-height: 2.2;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.list-icon {
    font-size: 22px;
}

.president-goals {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.president-goals li {
    font-size: 17px;
    line-height: 2;
    color: var(--text-dark);
    padding: 15px 20px;
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.15) 0%, transparent 100%);
    border-right: 4px solid var(--secondary-color);
    margin-bottom: 12px;
    border-radius: 8px;
}

.president-closing {
    font-size: 19px !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 35px 0 !important;
    padding: 20px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.2), rgba(44, 140, 153, 0.2));
    border-radius: 12px;
}

.president-signature {
    text-align: left;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--secondary-color);
}

.signature-name {
    font-size: 22px !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.signature-title {
    font-size: 16px !important;
    color: var(--text-light) !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
}

.signature-location {
    font-size: 15px !important;
    color: var(--text-light) !important;
    font-style: italic !important;
}

/* =====================
   FAQ Section
   ===================== */
.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    transition: var(--transition);
}

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

.faq-toggle {
    font-size: 30px;
    font-weight: 300;
    color: var(--secondary-color);
    transition: var(--transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* =====================
   Contact Section
   ===================== */
.contact-content {
    display: grid;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--secondary-color);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    color: var(--white);
}

.cta-box h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* =====================
   Footer
   ===================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 80px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 10px;
}

/* =====================
   Scroll to Top Button
   ===================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

    .stats-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .workshops-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .flag-icon {
        font-size: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 30px;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
    }
}