/* ====================================
   قطر AI ورشة - تصميم فاخر مع زخارف إسلامية
   ==================================== */

/* ====================================
   المتغيرات والألوان
   ==================================== */
:root {
    /* ألوان قطرية رئيسية */
    --maroon-dark: #6B1736;
    --maroon-primary: #8D1B3D;
    --maroon-light: #B8336A;
    
    /* ألوان ذهبية متعددة */
    --gold-dark: #B8860B;
    --gold-primary: #D4AF37;
    --gold-bright: #FFD700;
    --gold-light: #FFA500;
    
    /* ألوان ثانوية وتأثيرات نيون */
    --cyan-neon: #00D9FF;
    --purple-neon: #8B5CF6;
    --pink-neon: #FF006E;
    
    /* درجات رمادية وسوداء */
    --black: #000000;
    --dark: #1A1A1A;
    --dark-gray: #2A2A2A;
    --gray: #4A4A4A;
    --light-gray: #E0E0E0;
    --white: #FFFFFF;
    
    /* الخطوط */
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', sans-serif;
    --font-decorative: 'Amiri', serif;
    
    /* الظلال والتأثيرات */
    --shadow-sm: 0 2px 8px rgba(141, 27, 61, 0.1);
    --shadow-md: 0 4px 16px rgba(141, 27, 61, 0.15);
    --shadow-lg: 0 8px 32px rgba(141, 27, 61, 0.2);
    --shadow-xl: 0 16px 48px rgba(141, 27, 61, 0.25);
    
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.5),
                  0 0 40px rgba(212, 175, 55, 0.3),
                  0 0 60px rgba(212, 175, 55, 0.1);
    
    --glow-maroon: 0 0 20px rgba(141, 27, 61, 0.5),
                    0 0 40px rgba(141, 27, 61, 0.3),
                    0 0 60px rgba(141, 27, 61, 0.1);
    
    /* التدرجات */
    --gradient-maroon: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon-primary) 50%, var(--maroon-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-bright) 100%);
    --gradient-neon: linear-gradient(135deg, var(--cyan-neon) 0%, var(--purple-neon) 100%);
    --gradient-dark: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
    
    /* الانتقالات */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ====================================
   إعادة تعيين وأساسيات
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background: var(--black);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* تحسين التباين والقراءة */
::selection {
    background: var(--gold-primary);
    color: var(--black);
}

/* شريط التمرير المخصص */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-maroon);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-gold);
}

/* ====================================
   Loading Animation
   ==================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.islamic-pattern-loader {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border: 4px solid transparent;
    border-top: 4px solid var(--gold-primary);
    border-right: 4px solid var(--maroon-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.islamic-pattern-loader::before,
.islamic-pattern-loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid transparent;
    border-radius: 50%;
}

.islamic-pattern-loader::before {
    width: 60px;
    height: 60px;
    border-bottom: 4px solid var(--gold-bright);
    animation: spin 0.8s linear infinite reverse;
}

.islamic-pattern-loader::after {
    width: 40px;
    height: 40px;
    border-left: 4px solid var(--maroon-light);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-primary);
    font-family: var(--font-primary);
    margin-bottom: 10px;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 10px;
    height: 10px;
    background: var(--maroon-primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ====================================
   Particles Background
   ==================================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* ====================================
   Decorative Shapes
   ==================================== */
.decorative-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.03;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-gold);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-maroon);
    border-radius: 70% 30% 30% 70% / 60% 60% 40% 40%;
    bottom: 20%;
    left: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-neon);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--gradient-gold);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    bottom: 10%;
    right: 15%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(40px, 10px) rotate(270deg); }
}

/* ====================================
   Container
   ==================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ====================================
   Section Ornaments
   ==================================== */
.section-ornament {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            var(--gold-primary) 10px,
            var(--gold-primary) 11px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            var(--gold-primary) 10px,
            var(--gold-primary) 11px
        );
    opacity: 0.05;
    pointer-events: none;
}

.section-ornament-top {
    top: -100px;
    right: -100px;
    transform: rotate(45deg);
}

.section-ornament-bottom {
    bottom: -100px;
    left: -100px;
    transform: rotate(45deg);
}

/* ====================================
   Card Ornaments - زخارف الزوايا
   ==================================== */
.card-ornament {
    position: absolute;
    width: 30px;
    height: 30px;
    border-style: solid;
    border-color: var(--gold-primary);
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.card-ornament-tl {
    top: -1px;
    right: -1px;
    border-width: 2px 2px 0 0;
    border-radius: 0 8px 0 0;
}

.card-ornament-tr {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: 8px 0 0 0;
}

.card-ornament-bl {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 8px 0;
}

.card-ornament-br {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 8px;
}

.card-3d:hover .card-ornament {
    opacity: 1;
    box-shadow: var(--glow-gold);
}

/* ====================================
   Header & Navigation
   ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: var(--shadow-lg);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-primary);
    font-family: var(--font-primary);
}

.nav-logo i {
    font-size: 1.8rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-base);
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--gold-primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.nav-toggle:hover {
    transform: rotate(90deg);
}

/* ====================================
   Language Switcher - زر تبديل اللغة
   ==================================== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--gold-primary);
    border-radius: 50px;
    color: var(--gold-primary);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.lang-switch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    transition: left var(--transition-base);
    z-index: -1;
}

.lang-switch:hover::before {
    left: 0;
}

.lang-switch:hover {
    color: var(--white);
    border-color: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.lang-icon {
    font-size: 1.2rem;
    animation: rotate-globe 3s linear infinite;
}

@keyframes rotate-globe {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.lang-text {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ====================================
   Buttons - أزرار مبهرة
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-maroon);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: var(--shadow-md);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--glow-gold);
    border-color: var(--gold-primary);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn-shimmer:hover::after {
    left: 100%;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.magnetic-btn:active {
    transform: scale(0.95);
}

/* ====================================
   Hero Section - القسم البطولي
   ==================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-ornament {
    position: absolute;
    width: 150px;
    height: 150px;
    background-image:
        radial-gradient(circle at 50% 50%, var(--gold-primary) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, var(--maroon-primary) 2px, transparent 2px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.1;
}

.hero-ornament-top-left {
    top: 100px;
    right: 50px;
    animation: float 15s infinite ease-in-out;
}

.hero-ornament-top-right {
    top: 150px;
    left: 30px;
    animation: float 18s infinite ease-in-out reverse;
}

.hero-ornament-bottom-left {
    bottom: 100px;
    right: 100px;
    animation: float 20s infinite ease-in-out;
}

.hero-ornament-bottom-right {
    bottom: 50px;
    left: 80px;
    animation: float 17s infinite ease-in-out reverse;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(30deg, transparent 48%, var(--maroon-primary) 49%, var(--maroon-primary) 51%, transparent 52%),
        linear-gradient(150deg, transparent 48%, var(--gold-dark) 49%, var(--gold-dark) 51%, transparent 52%);
    background-size: 100px 100px;
    opacity: 0.02;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at 50% 50%,
        transparent 0%,
        rgba(141, 27, 61, 0.2) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-primary);
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(141, 27, 61, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.feature-badge:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.feature-badge i {
    font-size: 1.1rem;
}

.feature-badge:has(.fa-times-circle) i {
    color: var(--maroon-primary);
}

.feature-badge:has(.fa-check-circle) i {
    color: var(--gold-primary);
}

/* ====================================
   Workshop Card - بطاقة الورشة الفاخرة
   ==================================== */
.workshop-card {
    position: relative;
    padding: 40px;
    border-radius: 24px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(212, 175, 55, 0.1);
    transition: all var(--transition-slow);
}

.workshop-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-xl), var(--glow-gold);
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-maroon);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--glow-maroon);
    animation: pulse 2s infinite;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
}

.card-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
}

.card-divider {
    height: 2px;
    background: var(--gradient-gold);
    margin: 25px 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.card-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    to { left: 150%; }
}

.card-details {
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-maroon);
    border-radius: 12px;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text .label {
    font-size: 0.85rem;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-text .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

/* ====================================
   Countdown Timer - مؤقت العد التنازلي
   ==================================== */
.countdown-timer {
    margin: 25px 0;
}

.countdown-label {
    text-align: center;
    font-size: 1rem;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.countdown-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background: var(--gradient-maroon);
    border-radius: 12px;
    border: 2px solid var(--gold-primary);
    box-shadow: var(--shadow-md), inset 0 2px 10px rgba(0, 0, 0, 0.3);
    min-width: 70px;
    transition: all var(--transition-base);
}

.countdown-box:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg), var(--glow-gold);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    font-family: var(--font-primary);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-unit {
    font-size: 0.75rem;
    color: var(--gold-light);
    margin-top: 5px;
    font-weight: 600;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--light-gray);
    line-height: 1.6;
}

.highlight-gold {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1.4rem;
}

/* ====================================
   Scroll Indicator - مؤشر التمرير
   ==================================== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce-slow 2s infinite;
    z-index: 2;
}

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

.mouse {
    width: 30px;
    height: 45px;
    border: 2px solid var(--gold-primary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

.arrow i {
    font-size: 1.5rem;
    color: var(--gold-primary);
}

/* ====================================
   Statistics Section - قسم الإحصائيات
   ==================================== */
.statistics {
    padding: 80px 0;
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.statistics-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.stats-pattern {
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(212, 175, 55, 0.03) 50px,
            rgba(212, 175, 55, 0.03) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(212, 175, 55, 0.03) 50px,
            rgba(212, 175, 55, 0.03) 51px
        );
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-maroon);
    opacity: 0.1;
    transition: left var(--transition-slow);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-xl), var(--glow-gold);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--glow-gold);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
    line-height: 1;
    margin-bottom: 5px;
    display: inline-block;
}

.stat-symbol {
    font-size: 2rem;
    color: var(--gold-primary);
    font-weight: 700;
    display: inline-block;
    margin-right: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-gray);
    font-weight: 600;
    margin-top: 10px;
}

.stat-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(212, 175, 55, 0.3) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.stat-item:hover .stat-glow {
    opacity: 1;
}

/* ====================================
   Section Styles - أنماط الأقسام
   ==================================== */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-maroon);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--glow-maroon);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
    font-family: var(--font-primary);
    color: var(--white);
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.divider-ornament {
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.divider-diamond {
    width: 12px;
    height: 12px;
    background: var(--gold-primary);
    transform: rotate(45deg);
    box-shadow: var(--glow-gold);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    line-height: 1.7;
}

/* ====================================
   Testimonials - الشهادات
   ==================================== */
.testimonials {
    background: var(--dark);
}

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

.testimonial-card {
    padding: 40px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    transition: all var(--transition-slow);
    overflow: hidden;
}

.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-xl), var(--glow-gold);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: var(--maroon-primary);
    opacity: 0.2;
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--gold-primary);
}

.stars i {
    animation: starGlow 2s infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.stars i:nth-child(1) { --i: 1; }
.stars i:nth-child(2) { --i: 2; }
.stars i:nth-child(3) { --i: 3; }
.stars i:nth-child(4) { --i: 4; }
.stars i:nth-child(5) { --i: 5; }

@keyframes starGlow {
    0%, 100% { filter: drop-shadow(0 0 0 var(--gold-primary)); }
    50% { filter: drop-shadow(0 0 10px var(--gold-primary)); }
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 25px;
    font-style: italic;
    font-family: var(--font-decorative);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--glow-gold);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.95rem;
    color: var(--light-gray);
}

.featured-card {
    border-color: var(--gold-primary);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--glow-gold);
    z-index: 10;
}

.card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.2),
        transparent
    );
    animation: shimmer-card 3s infinite;
}

@keyframes shimmer-card {
    to { left: 150%; }
}

/* ====================================
   Learn Section - قسم ماذا ستتعلم
   ==================================== */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.learn-card {
    padding: 40px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    border: 2px solid transparent;
    position: relative;
    transition: all var(--transition-slow);
    overflow: hidden;
    cursor: pointer;
}

.learn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-maroon);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.learn-card:hover::before {
    opacity: 0.1;
}

.learn-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.2) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.learn-card:hover .card-glow {
    opacity: 1;
}

.learn-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-maroon);
    border-radius: 20px;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    animation: float-icon 3s infinite ease-in-out;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.learn-card:hover .learn-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow-gold);
}

.learn-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
    text-align: center;
    font-family: var(--font-primary);
}

.learn-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-gray);
    text-align: center;
}

.learn-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.learn-card:hover .learn-border {
    transform: scaleX(1);
}

/* ====================================
   Audience Section - من يجب أن يحضر
   ==================================== */
.audience {
    background: var(--dark);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.audience-item {
    padding: 30px 20px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.audience-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-lg), var(--glow-gold);
    background: rgba(141, 27, 61, 0.2);
}

.audience-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-maroon);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.audience-item:hover .audience-icon {
    transform: rotateY(360deg);
    box-shadow: var(--glow-gold);
}

.audience-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.highlight-item {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.highlight-item .audience-icon {
    background: var(--gradient-gold);
}

/* ====================================
   Schedule Section - جدول الورشة
   ==================================== */
.schedule {
    position: relative;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-maroon);
    box-shadow: var(--glow-maroon);
}

.timeline-section {
    margin: 50px 0;
    position: relative;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 40px;
    background: var(--gradient-gold);
    border-radius: 50px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-xl), var(--glow-gold);
}

.timeline-header.lunch-break {
    background: var(--gradient-neon);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--maroon-primary);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-primary);
}

.timeline-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin: 30px 0;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-card {
    grid-column: 3;
}

.timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1;
}

.timeline-marker {
    width: 24px;
    height: 24px;
    background: var(--gradient-gold);
    border: 4px solid var(--dark);
    border-radius: 50%;
    position: relative;
    z-index: 10;
    box-shadow: var(--glow-gold);
    animation: pulse-marker 2s infinite;
}

@keyframes pulse-marker {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.timeline-card {
    padding: 30px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    transition: all var(--transition-base);
}

.timeline-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-xl), var(--glow-gold);
    transform: scale(1.05);
}

.timeline-time-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-maroon);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
    box-shadow: var(--shadow-md);
}

.timeline-icon-inline {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.timeline-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

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

/* ====================================
   Includes Section - ما تشمله الورشة
   ==================================== */
.includes {
    background: var(--dark);
}

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

.includes-card {
    padding: 40px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.includes-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.2) 0%,
        transparent 70%
    );
    transition: transform var(--transition-slow);
}

.includes-card:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.includes-card:hover {
    transform: rotateY(10deg) rotateX(10deg);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-xl), var(--glow-gold);
}

.includes-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-maroon);
    border-radius: 20px;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.includes-card:hover .includes-icon {
    transform: rotateY(180deg);
    background: var(--gradient-gold);
}

.includes-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

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

/* ====================================
   Why Attend Section - لماذا تحضر
   ==================================== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.reason-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.reason-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-maroon);
    opacity: 0.1;
    transition: left var(--transition-slow);
}

.reason-card:hover::after {
    left: 100%;
}

.reason-card:hover {
    transform: translateX(10px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-lg), var(--glow-gold);
}

.reason-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: var(--glow-gold);
    font-family: var(--font-primary);
}

.reason-content {
    flex: 1;
}

.reason-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-maroon);
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.reason-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.reason-content p {
    color: var(--light-gray);
    line-height: 1.7;
}

/* ====================================
   FAQ Section - الأسئلة الشائعة
   ==================================== */
.faq {
    background: var(--dark);
}

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

.faq-item {
    margin-bottom: 20px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-lg), var(--glow-gold);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
    transition: all var(--transition-base);
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font-primary);
}

.faq-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-maroon);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--gradient-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

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

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ====================================
   Registration Section - التسجيل
   ==================================== */
.registration {
    position: relative;
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.info-card {
    position: sticky;
    top: 100px;
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.info-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 30px;
    font-family: var(--font-primary);
}

.info-list {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 8px;
    color: var(--white);
    flex-shrink: 0;
}

.info-item p {
    color: var(--light-gray);
    line-height: 1.7;
}

.urgency-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 107, 0, 0.1);
    border: 2px solid var(--gold-light);
    border-radius: 12px;
}

.urgency-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

.urgency-box p {
    color: var(--white);
    font-weight: 600;
}

.registration-form {
    padding: 50px;
    border-radius: 24px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.form-group:focus-within .input-border {
    transform: scaleX(1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    padding-left: 50px;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-note i {
    color: var(--gold-primary);
}

/* ====================================
   Footer - التذييل
   ==================================== */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
    position: relative;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.footer-ornament-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-primary);
    font-family: var(--font-primary);
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 1.8rem;
}

.footer-description {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-maroon);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient-gold);
    transform: translateY(-5px);
    box-shadow: var(--glow-gold);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

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

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

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(-5px);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--light-gray);
}

.footer-contact i {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.footer-contact a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-contact a:hover {
    color: var(--gold-primary);
}

.footer-newsletter-text {
    color: var(--light-gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-form button:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-gold);
}

.footer-divider {
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    margin: 40px 0;
}

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

.copyright,
.made-with {
    color: var(--gray);
    font-size: 0.95rem;
}

.made-with i {
    color: var(--maroon-primary);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

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

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-gold);
}

/* ====================================
   Notification Toast
   ==================================== */
.notification-toast {
    position: fixed;
    top: 100px;
    right: -400px;
    width: 350px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 2px solid var(--gold-primary);
    box-shadow: var(--shadow-xl), var(--glow-gold);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    z-index: 9999;
    transition: right var(--transition-slow);
}

.notification-toast.show {
    right: 30px;
}

.toast-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.toast-message {
    color: var(--light-gray);
    font-size: 0.95rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color var(--transition-base);
}

.toast-close:hover {
    color: var(--white);
}

/* ====================================
   Responsive Design - التصميم المتجاوب
   ==================================== */
@media (max-width: 1024px) {
    .nav-list {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 30px;
        gap: 20px;
        transition: right var(--transition-base);
        box-shadow: var(--shadow-xl);
        border-left: 2px solid rgba(212, 175, 55, 0.3);
    }

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

    .nav-toggle {
        display: block;
    }
    
    .lang-switch {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .lang-icon {
        font-size: 1rem;
    }
    
    .lang-text {
        font-size: 0.8rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-item .timeline-card {
        grid-column: 1 !important;
    }

    .timeline-line {
        right: auto;
        left: 20px;
        transform: none;
    }

    .timeline-marker {
        position: absolute;
        left: 8px;
    }

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

    .info-card {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .workshop-card {
        padding: 30px 20px;
    }

    .countdown-boxes {
        flex-wrap: wrap;
    }

    .countdown-box {
        min-width: 60px;
        padding: 12px 15px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .statistics {
        padding: 60px 0;
    }

    .testimonials-grid,
    .learn-grid,
    .audience-grid,
    .includes-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .registration-form {
        padding: 30px 20px;
    }

    .notification-toast {
        width: calc(100% - 40px);
        right: -100%;
    }

    .notification-toast.show {
        right: 20px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
    }

    .feature-badge {
        width: 100%;
        justify-content: center;
    }

    .countdown-box {
        min-width: 50px;
        padding: 10px 12px;
    }

    .countdown-value {
        font-size: 1.3rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }

    .stat-item {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .reason-card {
        flex-direction: column;
        text-align: center;
    }

    .reason-number {
        margin: 0 auto;
    }
}

/* ====================================
   Print Styles
   ==================================== */
@media print {
    .header,
    .scroll-top,
    .notification-toast,
    .nav-toggle,
    .scroll-indicator,
    .particles-container,
    .decorative-shapes {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        page-break-inside: avoid;
    }
}

/* ====================================
   Accessibility
   ==================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--gold-primary);
    outline-offset: 3px;
}

/* ====================================
   Animations - رسوم متحركة إضافية
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ====================================
   Performance Optimizations
   ==================================== */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* النهاية - تصميم قطري فاخر مع زخارف إسلامية مبهرة */