
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --gold: #c5a059;       
    --dark-bg: #0a0a0a;    
    --card-bg: #151515;    
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}


header.main-header {
    background-color: transparent;
    width: 100%;
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}


.logo-text {
    display: flex;
    flex-direction: column; 
    line-height: 1.2;
}


.brand-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: block;
}


.brand-tagline {
    color: var(--gold); 
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.9;
}


.logo-img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #d4af37;
    transition: 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .logo-img {
        height: 45px !important;
        width: 45px !important;
        border-width: 1.5px;
    }
}


@media (max-width: 768px) {
    .brand-name { font-size: 1.1rem; }
    .brand-tagline { font-size: 0.65rem; }
    .logo-img { height: 45px; }
}

.navigation a {
    color: var(--white);
    text-decoration: none;
    margin-right: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.navigation a:hover {
    color: var(--gold);
}


.main {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.bg-zoom {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/35415606/pexels-photo-35415606.jpeg') no-repeat center center/cover;
    animation: zoomEffect 20s infinite alternate;
    z-index: -2;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: -1;
}

.main-content {
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 30px;
}

.hero-title {
    margin-bottom: 20px;
}

.bronze-text {
    color: var(--gold);
    font-size: 4.5rem;
    font-weight: 800;
    display: block;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background-color: var(--gold);
    color: #000;
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid var(--white);
    transition: var(--transition);
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}


.services-advanced {
    padding: 100px 8%;
    background-color: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.service-item:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-info {
    padding: 45px 25px 30px;
    text-align: center;
}

.floating-icon {
    position: absolute;
    top: 165px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.features-list {
    list-style: none;
    margin: 20px 0;
    text-align: right;
}

.features-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}

.features-list li i {
    color: var(--gold);
    margin-left: 10px;
}

.service-btn {
    text-decoration: none;
    color: var(--gold);
    font-weight: bold;
    font-size: 0.9rem;
}


.projects-gallery {
    padding: 100px 8%;
    background-color: #050505;
}

.gallery-grid {
    display: grid;
    
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    height: 400px; 
    border-radius: 4px; 
    overflow: hidden;
    background: #111;
    cursor: zoom-in;
    border: 1px solid rgba(197, 160, 89, 0.1);
}


.gallery-item.tall {
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(197, 160, 89, 0.2) 100%);
    display: flex;
    align-items: flex-end; 
    padding: 30px;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-text .category {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.overlay-text h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.overlay-text p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}


@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr; 
    }
    .gallery-item {
        height: 300px;
    }
}





.main-footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-about .brand-name {
    font-size: 1.8rem;
    color: var(--white);
    display: block;
}

.footer-about .brand-tagline {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.footer-desc {
    margin-top: 20px;
    color: #888;
    max-width: 400px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links h3, .footer-social h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--gold);
    padding-right: 10px;
}

.social-icons-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icons-wrapper a {
    width: 45px;
    height: 45px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid #222;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons-wrapper a:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-5px);
}

.footer-contact-minimal {
    color: #666;
    font-size: 0.9rem;
}

.footer-contact-minimal i {
    color: var(--gold);
    margin-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 70px; /* حجم اللوجو في الفوتر */
    width: 70px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
    filter: grayscale(0.5) brightness(0.8); /* لمسة داكنة لتناسب الفوتر */
    transition: 0.3s;
}

.footer-logo-img:hover {
    filter: grayscale(0) brightness(1); /* استعادة الألوان عند الحوم بالماوس */
    transform: rotate(5deg);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

/* تحسين الموبايل للوجو الفوتر */
@media (max-width: 768px) {
    .footer-logo-container {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    .footer-logo-text {
        text-align: center;
    }
}


.main-footer .container {
    max-width: 1100px; 
    margin: 0 auto;    
    padding: 0 40px;   
}


.footer-bottom p {
    color: #555;
    font-size: 0.85rem;
}

.developer-credit {
    margin-top: 10px;
    opacity: 0.5;
    font-size: 0.75rem !important;
}

/* الموبايل */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-links h3::after, .footer-social h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    .social-icons-wrapper {
        justify-content: center;
    }
}


@media (max-width: 768px) {
    .contact-wrapper, .footer-grid { grid-template-columns: 1fr; }
    .form-group { flex-direction: column; }
}




@media (max-width: 768px) {
    .bronze-text { font-size: 2.5rem; }
    .navigation { display: none; }
    .hero-btns { flex-direction: column; }
    .contact .card { width: 100%; }
}


.video-gallery {
    padding: 100px 8%;
    background-color: #050505;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.video-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9; 
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


video::-webkit-media-controls-panel {
    background-image: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.video-info {
    padding: 25px;
    text-align: right;
}

.video-info h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}



.mobile-menu-btn {
    display: none; 
    font-size: 1.8rem;
    color: var(--gold);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }

    .navigation {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }

    .navigation.active {
        right: 0; 
      }  

    .navigation a {
        margin: 20px 0;
        font-size: 1.5rem;
    } 
}


/* أزرار التنقل المصغرة */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    list-style: none;
    flex-wrap: wrap; /* للسماح للصور بالنزول لسطر جديد في الشاشات الصغيرة */
    padding: 0;
}

.nav-item img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0.6;
    transition: 0.3s;
    border: 2px solid transparent;
}

.nav-item img:hover {
    opacity: 1;
    border-color: #c5a059; /* اللون البرونزي عند التمرير */
}

/* التنسيق الأساسي للسلايدر (إذا لم يكن موجوداً لديك) */
.main-slide {
    display: none; /* إخفاء الكل */
    position: relative;
    text-align: center;
}

.main-slide.active-slide {
    display: block; /* إظهار الصورة النشطة فقط */
}

.main-slide img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.nav-item a:hover, 
.nav-item a:focus {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.nav-item a:hover img {
    filter: grayscale(0%);
}

/* تحسين السلايدر للموبايل */
@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }
    
    .nav-item a {
        width: 70px;
        height: 50px;
    }
    
    .slide-caption {
        font-size: 0.95rem;
        padding: 20px 10px 10px;
    }
}
.btn-link {
    display: inline-block;
    margin-top: 15px;
    color: #c5a059; /* اللون البرونزي */
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.btn-link:hover {
    border-bottom: 1px solid #c5a059;
    padding-right: 5px;
}
.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: transparent;
    color: #c5a059; /* لون برونزي متناسق مع الموقع */
    border: 2px solid #c5a059;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-youtube i {
    font-size: 1.2rem;
    color: #ff0000; /* لون أيقونة اليوتيوب الأحمر */
}

.btn-youtube:hover {
    background-color: #c5a059;
    color: #fff;
}

.btn-youtube:hover i {
    color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.article-card {
    display: block;
    /* تغيير الخلفية إلى لون داكن متناسب مع الموقع */
    background: #151515; 
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    /* تغيير لون الخط الأساسي للأبيض */
    color: #ffffff;
    border-right: 5px solid #c5a059; 
    /* جعل الظل أخف ليتناسب مع الخلفية السوداء */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border-top: 1px solid rgba(197, 160, 89, 0.05); /* لمسة جمالية علوية */
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
    /* تفتيح لون الخلفية قليلاً عند التمرير */
    background-color: #1a1a1a;
    border-right-color: #fff; /* تغيير لون البرواز الجانبي عند الحوم بالماوس */
}

.article-card h3 {
    font-size: 1.25rem;
    color: #ffffff; /* عنوان أبيض */
    margin: 10px 0;
    line-height: 1.4;
    transition: 0.3s;
}

.article-card:hover h3 {
    color: #c5a059; /* العنوان يتحول للذهبي عند التمرير */
}

.article-card p {
    font-size: 0.9rem;
    /* لون رمادي فاتح للنص الوصفي */
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    font-size: 0.85rem;
    color: #c5a059;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* --- تحسينات السلايدر لـ 8 صور --- */
.slider-wrapper {
    max-width: 1000px;
    margin: 40px auto 0;
}

.slider-container {
    position: relative;
    height: 550px; /* طول الصورة الكبيرة */
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--gold);
}

.main-slide {
    display: none;
    height: 100%;
    width: 100%;
}

.main-slide.active-slide {
    display: block;
    animation: slideFade 0.6s ease-in-out;
}

@keyframes slideFade {
    from { opacity: 0.4; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

/* تنسيق المصغرات (Grid لـ 8 صور) */
.slider-nav {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.nav-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: 0.3s;
    height: 70px;
}

.nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: 0.3s;
}

.nav-item:hover img, .nav-item.active img {
    opacity: 1;
}

.nav-item.active {
    border-color: var(--gold);
}

/* تجاوب الموبايل */
@media (max-width: 768px) {
    .slider-container { height: 350px; }
    .slider-nav { grid-template-columns: repeat(4, 1fr); gap: 5px; }
    .nav-item { height: 50px; }
}
/* --- قسم البرامج - تصميم فاخر ووضوح عالٍ --- */

/* الحاوية الأساسية للشبكة */
.programs-grid-fixed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 30px 0;
    margin: 20px;
}

/* بطاقة البرنامج الأساسية */
.program-card-luxury {
    position: relative;
    height: 400px; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* تفتيح طفيف للصورة الأصلية لضمان عمق الألوان */
    filter: brightness(0.85); 
    cursor: pointer;
}

/* تأثير الحوم (Hover) لزيادة الوضوح والحركة */
.program-card-luxury:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #c5a059;
    filter: brightness(1.05); /* تفتيح الصورة عند الوقوف عليها */
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

/* سر الوضوح: التدرج اللوني الذكي */
/* يضمن هذا التدرج أن يظل النصف العلوي من الصورة واضحاً تماماً بينما يصبح النصف السفلي داكناً كخلفية للنص */
.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.8) 20%, 
        rgba(0,0,0,0.4) 45%, 
        transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* محتوى البطاقة (النص والأزرار) */
.card-body {
    position: relative;
    z-index: 2;
    padding: 35px;
    width: 100%;
    text-align: right;
    transition: transform 0.4s ease;
}

/* حركة النص عند الحوم */
.program-card-luxury:hover .card-body {
    transform: translateY(-5px);
}

.card-body h3 {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.card-body p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* تصميم الزر داخل البطاقة */
.luxury-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #c5a059;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.luxury-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 1024px) {
    .programs-grid-fixed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .programs-grid-fixed {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .program-card-luxury {
        height: 200px;
    }
}

/* القسم العام */
.programs-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

/* 1. تنسيق زر الأرشيف العلوي */
.archive-button-wrapper {
    text-align: center;
    margin-bottom: 60px; /* مسافة كافية تمنع التداخل مع العنوان */
    position: relative;
    z-index: 10;
}

.btn-outline-archive {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-archive:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* 2. تنسيق العنوان والوصف */
.section-header-separated {
    text-align: center;
    margin-bottom: 50px;
    clear: both; /* يضمن عدم تداخل العناصر العائمة */
}

.title-gold {
    font-size: 3.5rem; /* حجم كبير وواضح */
    color: var(--gold);
    font-weight: 800;
    margin: 0 0 15px 0; /* تصفير الـ margin العلوي لمنع التداخل */
}

.subtitle-white {
    color: #ffffff;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 3. شبكة البرامج (3 أعمدة) */
.programs-grid-luxury {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-luxury {
    position: relative;
    height: 480px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.card-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent 100%);
}

.card-body-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.btn-play {
    background: var(--gold);
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin-top: 15px;
}

/* الموبايل */
@media (max-width: 992px) {
    .programs-grid-luxury { grid-template-columns: 1fr; padding: 0 20px; }
    .title-gold { font-size: 2.5rem; }
}

.partners-section {
    padding: 100px 8%;
    background-color: #0a0a0a;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.partner-item {
    background: #151515;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(197, 160, 89, 0.05);
    transition: all 0.4s ease;
    filter: grayscale(1); /* جعلها أبيض وأسود لتناسب الفخامة */
}

.partner-item:hover {
    filter: grayscale(0);
    border-color: #c5a059;
    transform: translateY(-5px);
    background: #1a1a1a;
}

.partner-logo {
    text-align: center;
}

.partner-logo i {
    font-size: 1.8rem;
    color: #c5a059;
    display: block;
    margin-bottom: 10px;
}

.partner-logo span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.final-quote {
    text-align: center;
    margin-top: 80px;
    padding: 40px;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.final-quote p {
    font-size: 1.5rem;
    font-style: italic;
    color: #c5a059;
    font-family: 'Cairo', serif;
    opacity: 0.8;
}

/* شاشات الموبايل */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .final-quote p {
        font-size: 1.1rem;
    }

}


.books-slider-section {
    background-color: transparent; /* ينسجم مع خلفيتك السوداء */
    padding: 80px 0;
    direction: rtl;
    text-align: center;
}

.section-header h2 { color: #fff; font-size: 2rem; margin-bottom: 15px; }
.section-header p { color: #888; margin-bottom: 40px; }

/* حاوية السلايدر */
.swiper { width: 100%; padding-bottom: 50px; }

.book-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.3s ease;
}

.book-card img {
    width: 180px;      /* عرض الغلاف */
    height: 270px;     /* توحيد الارتفاع */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6); /* ظل خفيف للغلاف نفسه فقط */
}

.book-card h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 0 5px;
    max-width: 180px;
}

.book-card span {
    color: #d4af37; /* لون ذهبي */
    font-size: 0.85rem;
}

/* تخصيص الأسهم */
.swiper-button-next, .swiper-button-prev {
    color: #d4af37 !important;
    transform: scale(0.6);
}

.book-card:hover { transform: translateY(-10px); }

/* تكييف عدد الكتب في الصف */
@media (min-width: 1024px) {
    .swiper { max-width: 1100px; margin: 0 auto; }
}


