/* ===== إعادة تعيين الأنماط الأساسية ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E7D32;
    --secondary-color: #1565C0;
    --accent-color: #FF6F00;
    --text-primary: #333333;
    --text-secondary: #666666;
    --bg-light: #F5F5F5;
    --bg-dark: #212121;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    direction: rtl;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== شاشة التحميل ===== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-heart {
    width: 80px;
    height: 80px;
    background: var(--white);
    transform: rotate(45deg);
    position: relative;
    margin: 0 auto 30px;
    animation: heartbeat 1.2s infinite;
}

.loader-heart::before,
.loader-heart::after {
    content: '';
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
}

.loader-heart::before {
    top: -40px;
    right: 0;
}

.loader-heart::after {
    top: 0;
    right: 40px;
}

.loader-text {
    color: var(--white);
    font-size: 32px;
    font-weight: 800;
    animation: pulse 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: rotate(45deg) scale(1);
    }
    50% {
        transform: rotate(45deg) scale(1.2);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== شريط التنقل ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.heart-icon {
    width: 20px;
    height: 20px;
    background: var(--white);
    transform: rotate(45deg);
    position: relative;
}

.heart-icon::before,
.heart-icon::after {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
}

.heart-icon::before {
    top: -10px;
    right: 0;
}

.heart-icon::after {
    top: 0;
    right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===== القسم الرئيسي (Hero) ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9), rgba(21, 101, 192, 0.9));
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #E65100;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ===== الرسوم المتحركة في Hero ===== */
.hero-animations {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

/* كرسي متحرك متحرك */
.wheelchair-icon {
    width: 120px;
    height: 120px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.wheel {
    width: 40px;
    height: 40px;
    border: 5px solid var(--white);
    border-radius: 50%;
    position: absolute;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.wheel-1 {
    bottom: 0;
    right: 10px;
}

.wheel-2 {
    bottom: 0;
    left: 10px;
}

.seat {
    width: 60px;
    height: 30px;
    background: var(--white);
    border-radius: 10px;
    position: absolute;
    top: 30px;
    right: 20px;
}

.backrest {
    width: 10px;
    height: 50px;
    background: var(--white);
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 25px;
}

.armrest {
    width: 40px;
    height: 8px;
    background: var(--white);
    border-radius: 5px;
    position: absolute;
    top: 35px;
}

.armrest-1 {
    right: 15px;
}

.armrest-2 {
    left: 15px;
}

/* عصا بيضاء */
.walking-stick {
    width: 80px;
    height: 120px;
    position: relative;
    animation: swing 2s ease-in-out infinite;
}

@keyframes swing {
    0%, 100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.stick {
    width: 8px;
    height: 100px;
    background: var(--white);
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    right: 36px;
}

.handle {
    width: 30px;
    height: 30px;
    border: 8px solid var(--white);
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 25px;
}

/* لغة الإشارة */
.sign-language {
    width: 100px;
    height: 120px;
    position: relative;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

.hand {
    position: relative;
}

.palm {
    width: 50px;
    height: 60px;
    background: var(--white);
    border-radius: 20px;
    position: absolute;
    bottom: 0;
    right: 25px;
}

.finger {
    width: 12px;
    height: 40px;
    background: var(--white);
    border-radius: 10px;
    position: absolute;
    bottom: 55px;
}

.finger-1 {
    right: 28px;
    transform: rotate(-10deg);
}

.finger-2 {
    right: 38px;
}

.finger-3 {
    right: 48px;
}

.finger-4 {
    right: 58px;
    transform: rotate(10deg);
}

.thumb {
    width: 12px;
    height: 35px;
    background: var(--white);
    border-radius: 10px;
    position: absolute;
    bottom: 20px;
    right: 15px;
    transform: rotate(-45deg);
}

/* أيدي الدعم */
.support-hands {
    width: 120px;
    height: 100px;
    position: relative;
    animation: float 3s ease-in-out infinite 0.5s;
}

.hand-1,
.hand-2 {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50% 50% 0 0;
    position: absolute;
    bottom: 0;
}

.hand-1 {
    right: 0;
    transform: rotate(-20deg);
}

.hand-2 {
    left: 0;
    transform: rotate(20deg);
}

.heart-between {
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    transform: rotate(45deg);
    position: absolute;
    top: 20px;
    right: 45px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.heart-between::before,
.heart-between::after {
    content: '';
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
}

.heart-between::before {
    top: -15px;
    right: 0;
}

.heart-between::after {
    top: 0;
    right: 15px;
}

/* مؤشر التمرير */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(50%) translateY(0);
    }
    50% {
        transform: translateX(50%) translateY(10px);
    }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse .wheel {
    width: 6px;
    height: 10px;
    background: var(--white);
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 50%;
    transform: translateX(50%);
    animation: scroll 1.5s infinite;
    border: none;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

.arrow {
    width: 20px;
    height: 20px;
    border-left: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(-45deg);
    margin-top: 10px;
    margin-right: 5px;
}

/* ===== قسم الفيديوهات ===== */
.videos-section {
    padding: 80px 0;
    background: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Lazy thumbnail button for YouTube videos */
.video-wrapper .video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    display: block;
    text-align: center;
}

.video-wrapper .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-wrapper .play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.video-thumb:focus .play-button,
.video-thumb:hover .play-button {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

.video-thumb:focus {
    outline: 3px solid rgba(21,101,192,0.25);
    outline-offset: 2px;
}

.video-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    padding: 20px 20px 10px;
}

.video-card p {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* ===== الأقسام العامة ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* ===== عن المبادرة ===== */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vision-icon {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
}

.vision-icon::before {
    content: '👁️';
    font-size: 40px;
}

.mission-icon {
    background: linear-gradient(135deg, #1565C0, #42A5F5);
}

.mission-icon::before {
    content: '🎯';
    font-size: 40px;
}

.values-icon {
    background: linear-gradient(135deg, #FF6F00, #FFA726);
}

.values-icon::before {
    content: '⭐';
    font-size: 40px;
}

.about-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ===== الخدمات ===== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-icon {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
}

.education-icon::before {
    content: '📚';
    font-size: 40px;
}

.accessibility-icon {
    background: linear-gradient(135deg, #1565C0, #42A5F5);
}

.accessibility-icon::before {
    content: '♿';
    font-size: 40px;
}

.counseling-icon {
    background: linear-gradient(135deg, #7B1FA2, #AB47BC);
}

.counseling-icon::before {
    content: '💬';
    font-size: 40px;
}

.training-icon {
    background: linear-gradient(135deg, #FF6F00, #FFA726);
}

.training-icon::before {
    content: '💼';
    font-size: 40px;
}

.social-icon {
    background: linear-gradient(135deg, #C62828, #EF5350);
}

.social-icon::before {
    content: '🎉';
    font-size: 40px;
}

.technology-icon {
    background: linear-gradient(135deg, #00838F, #26C6DA);
}

.technology-icon::before {
    content: '💻';
    font-size: 40px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-stats-mini {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 10px;
}

.service-stats-mini span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-details {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-details:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* ===== أدوات الذكاء الاصطناعي ===== */
.ai-tools {
    background: var(--bg-light);
}

.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.ai-tool-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.ai-tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tool-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.ai-tool-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.tool-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.tool-content li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 15px;
    line-height: 1.6;
}

.tool-content li:last-child {
    border-bottom: none;
}

.tool-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.tool-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.tool-link:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.ai-benefits {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.ai-benefits h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== الأنشطة ===== */
.activities {
    background: var(--white);
}

.activities-content {
    display: grid;
    gap: 30px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.activity-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.activity-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.workshop-icon {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
}

.workshop-icon::before {
    content: '🎨';
    font-size: 50px;
}

.event-icon {
    background: linear-gradient(135deg, #1565C0, #42A5F5);
}

.event-icon::before {
    content: '📢';
    font-size: 50px;
}

.sports-icon {
    background: linear-gradient(135deg, #FF6F00, #FFA726);
}

.sports-icon::before {
    content: '⚽';
    font-size: 50px;
}

.cultural-icon {
    background: linear-gradient(135deg, #7B1FA2, #AB47BC);
}

.cultural-icon::before {
    content: '🎭';
    font-size: 50px;
}

.activity-text {
    flex: 1;
}

.activity-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.activity-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.activity-stats-mini {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.activity-stats-mini span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(46, 125, 50, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
}

/* ===== قصص النجاح ===== */
.testimonials {
    background: var(--bg-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
    font-size: 64px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.testimonial-rating {
    font-size: 20px;
}

/* ===== التطوع ===== */
.volunteer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.volunteer .section-title,
.volunteer .title-underline {
    color: var(--white);
    background: var(--white);
}

.volunteer-content {
    max-width: 900px;
    margin: 0 auto;
}

.volunteer-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.volunteer-text > p {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 40px;
}

.volunteer-ways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.volunteer-way {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.volunteer-way:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.way-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.volunteer-support-icon::before {
    content: '🤝';
    font-size: 40px;
}

.mentor-icon::before {
    content: '👨‍🏫';
    font-size: 40px;
}

.community-icon::before {
    content: '📣';
    font-size: 40px;
}

.volunteer-way h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.volunteer-way p {
    font-size: 15px;
    line-height: 1.6;
}

.volunteer-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.volunteer-form h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

/* ===== النماذج ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== التواصل ===== */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
}

.location-icon::before {
    content: '📍';
    font-size: 30px;
}

.phone-icon {
    background: linear-gradient(135deg, #1565C0, #42A5F5);
}

.phone-icon::before {
    content: '📞';
    font-size: 30px;
}

.email-icon {
    background: linear-gradient(135deg, #FF6F00, #FFA726);
}

.email-icon::before {
    content: '✉️';
    font-size: 30px;
}

.time-icon {
    background: linear-gradient(135deg, #7B1FA2, #AB47BC);
}

.time-icon::before {
    content: '🕐';
    font-size: 30px;
}

.contact-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.contact-text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

/* ===== التذييل ===== */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.modal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.modal-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.modal-content li {
    padding: 10px 0;
    padding-right: 25px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.modal-content li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.modal-stat {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.modal-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.modal-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.modal-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-gallery img:hover {
    transform: scale(1.05);
}

/* ===== زر العودة للأعلى ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ===== Scrollbar Customization ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

/* ===== التجاوب ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-animations {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid,
    .ai-tools-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .activity-item {
        flex-direction: column;
        text-align: center;
    }

    .volunteer-ways {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

/* ===== تأثيرات التمرير ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== تأثيرات إضافية احترافية ===== */
@keyframes floatRandom {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -10px);
    }
    50% {
        transform: translate(-10px, 10px);
    }
    75% {
        transform: translate(10px, 10px);
    }
}

/* تأثير توهج للعناصر المهمة */
.glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(46, 125, 50, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(46, 125, 50, 0.8);
    }
}