@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    --primary-color: #f2b705;
    --secondary-color: #2a9d4a;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --gradient-1: linear-gradient(135deg, #f2b705, #ffcc29);
    --gradient-2: linear-gradient(135deg, #2a9d4a, #4caf50);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    overflow-x: hidden;
}
 
/* تحسين الهيدر */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-heavy);
}

.logo {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    animation: slideDown 1s ease-out;
}

.logo img {
    height: 80px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

/* تحسين القسم الرئيسي */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(42, 157, 74, 0.3)),
        url(../طالب\ يمسك\ قران.jpg) center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px rgba(242, 183, 5, 0.5));
    }

    to {
        filter: drop-shadow(0 0 20px rgba(242, 183, 5, 0.8));
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s ease-out;
}

.cta-buttons {
    animation: fadeInUp 1.8s ease-out;
}

/* تحسين الأزرار */
.btn {
    display: inline-block;
    padding: 15px 35px;
    margin: 8px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-light);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: #333;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(242, 183, 5, 0.4);
}

.btn-secondary {
    background: var(--gradient-2);
    color: white;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(42, 157, 74, 0.4);
}

/* تحسين الأقسام */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.section.animate::before {
    transform: scaleX(1);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    margin: 20px auto;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.8s ease 0.3s;
}

.section-title.animate::after {
    transform: scaleX(1);
}

/* تحسين الفيديو */
.video-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    margin: 0 auto;
    max-width: 800px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
    cursor: pointer;
    background: #000;
}

.video-container.animate {
    transform: translateY(0);
    opacity: 1;
}

.video-container.playing {
    cursor: default;
}

/* الثامبنيل */
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    z-index: 1;
}

.video-container:hover .video-thumbnail {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.video-container.playing .video-thumbnail {
    opacity: 0;
    transform: scale(1.1);
}

/* إطار اليوتيوب */
.youtube-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.video-container.playing .youtube-frame {
    opacity: 1;
}

/* زر التشغيل */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

/* .video-container:hover .play-button::before {
            opacity: 1;
            transform: scale(1);
        } */

.video-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.play-button i {
    font-size: 28px;
    color: #333;
    position: relative;
    z-index: 1;
    margin-left: 4px;
    transition: all 0.3s ease;
}

.video-container:hover .play-button i {
    color: #333;
    transform: scale(1.1);
}

.video-container.playing .play-button {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    pointer-events: auto;
}

/* تأثير النبضات حول الزر */
.play-button::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(242, 183, 5, 0.6);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* تأثير التحميل */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-loading.show {
    opacity: 1;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(242, 183, 5, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* تحسين التراكب */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.2), rgba(42, 157, 74, 0.1));
    z-index: 1;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.video-container:hover .video-overlay {
    opacity: 0.7;
}

.video-container.playing .video-overlay {
    opacity: 0;
}

/* تنسيق قسم الأنشودة */
.audio-player {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
}

.audio-player.animate {
    transform: translateY(0);
    opacity: 1;
}

.audio-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    animation: fadeInDown 1s ease-out;
}

.audio-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: expandLine 1.2s ease-out 0.5s both;
}

/* حاوية مشغل الصوت */
.audio-container {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow:
        20px 20px 60px #d9d9d9,
        -20px -20px 60px #ffffff,
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
}

.audio-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 183, 5, 0.1), transparent);
    transition: left 1s ease;
}

.audio-container:hover::before {
    left: 100%;
}

.audio-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        25px 25px 70px #d0d0d0,
        -25px -25px 70px #ffffff,
        0 15px 35px rgba(242, 183, 5, 0.2);
}

/* أيقونة الموسيقى المتحركة */
.music-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.music-icon i {
    font-size: 4rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

/* دوائر موسيقية متحركة */
.music-icon::before,
.music-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(242, 183, 5, 0.3);
    border-radius: 50%;
    animation: musicPulse 2s infinite;
}

.music-icon::before {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.music-icon::after {
    width: 120px;
    height: 120px;
    animation-delay: 0.5s;
}
 
/* أيقونة التشغيل */
#play-anthem i {
    transition: all 0.3s ease;
    font-size: 1.1em;
}

#play-anthem:hover i {
    transform: scale(1.2);
    animation: bounce 1s infinite;
}

/* حالة التشغيل */
#play-anthem.playing {
    background: var(--gradient-2);
    color: white;
}

#play-anthem.playing i::before {
    content: '\f04c';
    /* أيقونة الإيقاف */
}

/* موجات صوتية متحركة */
.sound-waves {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
    margin: 20px 0;
    height: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sound-waves.active {
    opacity: 1;
}

.wave {
    width: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: waveAnimation 1s ease-in-out infinite;
}

.wave:nth-child(1) {
    height: 10px;
    animation-delay: 0.1s;
}

.wave:nth-child(2) {
    height: 25px;
    animation-delay: 0.2s;
}

.wave:nth-child(3) {
    height: 35px;
    animation-delay: 0.3s;
}

.wave:nth-child(4) {
    height: 20px;
    animation-delay: 0.4s;
}

.wave:nth-child(5) {
    height: 30px;
    animation-delay: 0.5s;
}

.wave:nth-child(6) {
    height: 15px;
    animation-delay: 0.6s;
}

.wave:nth-child(7) {
    height: 25px;
    animation-delay: 0.7s;
}


/* معلومات الأنشودة */
.song-info {
    margin-top: 25px;
    padding: 20px;
    background: rgba(242, 183, 5, 0.1);
    border-radius: 15px;
    border-right: 4px solid var(--primary-color);
}

.song-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.song-artist {
    font-size: 1rem;
    color: var(--secondary-color);
}

/* تأثيرات الصوت المرئية */
.audio-visualizer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.audio-visualizer.active {
    opacity: 0.1;
}

.audio-visualizer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: rippleEffect 2s infinite;
}

/* الرسوم المتحركة */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes musicPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

@keyframes waveAnimation {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.5);
    }
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* تحسينات الاستجابة */
@media (max-width: 768px) {
    .audio-container {
        padding: 30px 20px;
        margin: 0 15px 30px;
    }

    .audio-title {
        font-size: 1.5rem;
    }

    .music-icon {
        width: 80px;
        height: 80px;
    }

    .music-icon i {
        font-size: 3rem;
    }

    #play-anthem {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .sound-waves {
        height: 30px;
    }
}

/* تأثيرات إضافية للتفاعل */
.audio-container:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* تأثير الخلفية المتحركة */
.audio-section-bg {
    position: relative;
    overflow: hidden;
}

.audio-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(242, 183, 5, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(42, 157, 74, 0.05) 0%, transparent 50%);
    animation: backgroundMove 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundMove {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(10px) translateY(-10px);
    }

    50% {
        transform: translateX(-5px) translateY(5px);
    }

    75% {
        transform: translateX(5px) translateY(-5px);
    }
}

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    --primary-color: #f2b705;
    --secondary-color: #2a9d4a;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --gradient-1: linear-gradient(135deg, #f2b705, #ffcc29);
    --gradient-2: linear-gradient(135deg, #2a9d4a, #4caf50);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    overflow-x: hidden;
}

/* تأثيرات الخلفية المتحركة */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* تحسين قسم من نحن */
.about-us-content {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.about-us-content.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-us-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.partnerships-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.partnership-item {
    background: var(--gradient-1);
    color: #333;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.partnership-item:nth-child(n) {
    animation-delay: calc(0.1s * var(--i, 1));
}

.partnership-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسين الإحصائيات */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(50px);
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 25px 25px 70px #d0d0d0, -25px -25px 70px #ffffff;
}

.stat-item i {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    counter-reset: stat-counter;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--dark-color);
    font-weight: 500;
}

/* تحسين قسم التوزيع */
.allocation-item {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-heavy);
    flex: 1;
    min-width: 280px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.8);
}

.allocation-item.animate {
    opacity: 1;
    transform: scale(1);
}

.allocation-item:hover {
    transform: scale(1.05) rotateZ(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.allocation-percentage {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
}

.allocation-percentage::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 2px;
}

/* تحسين قسم الأسئلة */
.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.faq-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.faq-question {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-1);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-question:hover::before,
.faq-item.active .faq-question::before {
    transform: scaleY(1);
}

.faq-question:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateX(10px);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 200px;
}

/* تحسين التذييل */
footer {
    background: linear-gradient(135deg, var(--dark-color), #1a1a1a);
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.footer-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.footer-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: var(--gradient-1);
    color: #333;
    transform: translateY(-5px) rotate(360deg);
}

/* إضافة تأثيرات التمرير */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* تحسين الاستجابة */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-item {
        min-width: 150px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* تأثيرات إضافية */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسين النصوص */
.highlight-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}






/* أيقونة الموسيقى المتحركة */
.music-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.music-icon i {
    font-size: 4rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

/* دوائر موسيقية متحركة */
.music-icon::before,
.music-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(242, 183, 5, 0.3);
    border-radius: 50%;
    animation: musicPulse 2s infinite;
}

.music-icon::before {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.music-icon::after {
    width: 120px;
    height: 120px;
    animation-delay: 0.5s;
}

/* زر التشغيل المحسن */
#play-anthem {
    background: var(--gradient-1);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 25px rgba(242, 183, 5, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

#play-anthem::before {
    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.6s ease;
}

#play-anthem:hover::before {
    left: 100%;
}

#play-anthem:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 35px rgba(242, 183, 5, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#play-anthem:active {
    transform: translateY(-1px) scale(1.02);
}


/* حالة التشغيل */
#play-anthem.playing {
    background: var(--gradient-2);
    color: white;
}


/* شريط التقدم */
.progress-bar-audio {
    width: 100%;
    height: 6px;
    background: rgba(242, 183, 5, 0.2);
    border-radius: 3px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.progress-fill-audio {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill-audio::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}


/* الرسوم المتحركة */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes musicPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

@keyframes waveAnimation {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.5);
    }
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}
 
/* تأثيرات إضافية للتفاعل */
.audio-container:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* تأثير الخلفية المتحركة */
.audio-section-bg {
    position: relative;
    overflow: hidden;
}
 
 

.video-container,
.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-wrapper {
    aspect-ratio: 16 / 9;
    /* إذا لم تدعم المتصفحات القديمة aspect-ratio استخدم padding-bottom */
    /* padding-bottom: 56.25%; */
    height: auto;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

 

.video-wrapper,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 56.25%;
    /* 16:9 */
    overflow: hidden;
}
 /* تنسيق قسم الشراكات بالصور */
        .partnerships-section {
            margin-top: 40px;
        }

        .partnerships-title {
            color: var(--secondary-color);
            margin: 30px 0 30px 0;
            font-size: 1.3rem;
            text-align: center;
            position: relative;
        }

        .partnerships-title::before {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-2);
            border-radius: 2px;
        }

        .partnerships-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 20px;
            margin-top: 40px;
            padding: 20px 0;
        }

        .partnership-logo {
            background: linear-gradient(145deg, #ffffff, #f8f8f8);
            border-radius: 15px;
            padding: 20px;
            box-shadow: var(--shadow-light);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            opacity: 0;
            transform: translateY(30px) scale(0.8);
            animation: fadeInScale 0.6s ease forwards;
            position: relative;
            overflow: hidden;
            min-height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .partnership-logo:nth-child(1) { animation-delay: 0.1s; }
        .partnership-logo:nth-child(2) { animation-delay: 0.2s; }
        .partnership-logo:nth-child(3) { animation-delay: 0.3s; }
        .partnership-logo:nth-child(4) { animation-delay: 0.4s; }
        .partnership-logo:nth-child(5) { animation-delay: 0.5s; }
        .partnership-logo:nth-child(6) { animation-delay: 0.6s; }
        .partnership-logo:nth-child(7) { animation-delay: 0.7s; }
        .partnership-logo:nth-child(8) { animation-delay: 0.8s; }
        .partnership-logo:nth-child(9) { animation-delay: 0.9s; }

        .partnership-logo::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(242, 183, 5, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .partnership-logo:hover::before {
            left: 100%;
        }

        .partnership-logo:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: var(--shadow-heavy);
            background: linear-gradient(145deg, #f8f8f8, #ffffff);
        }

        .partnership-logo img {
            width: 100%;
            height: auto;
            max-width: 80px;
            max-height: 60px;
            object-fit: contain;
            transition: all 0.3s ease;
            filter: grayscale(20%) brightness(0.9);
        }

        .partnership-logo:hover img {
            filter: grayscale(0%) brightness(1);
            transform: scale(1.1);
        }

        /* في حالة عدم وجود صورة، عرض النص */
        .partnership-logo .partnership-name {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--dark-color);
            text-align: center;
            line-height: 1.3;
            display: none;
        }

        .partnership-logo.text-only .partnership-name {
            display: block;
        }

        .partnership-logo.text-only {
            background: var(--gradient-1);
            color: #333;
        }

        .partnership-logo.text-only:hover {
            background: var(--gradient-2);
            color: white;
        }

        @keyframes fadeInScale {
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* تحسينات للأجهزة المحمولة */
        @media (max-width: 768px) {
            .partnerships-grid {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
                gap: 15px;
            }

            .partnership-logo {
                padding: 15px;
                min-height: 80px;
            }

            .partnership-logo img {
                max-width: 60px;
                max-height: 45px;
            }

            .section-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            .partnerships-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* تأثيرات إضافية */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.animate {
            opacity: 1;
            transform: translateY(0);
        }