* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    --bg-dark: #040807;
    --emerald-deep: #0a1412;
    --emerald-card: rgba(16, 29, 26, 0.7);
    --emerald-hover: rgba(24, 43, 39, 0.9);
    --gold-warm: #D4AF37;
    --gold-soft: #E5C158;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --text-desc: #E2E8F0;
    --border-subtle: rgba(214, 175, 55, 0.15);
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ضبط البانر العلوي المتجاوب */
.main-banner-img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-subtle);
}

.container-custom {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* قسم الهيرو الترحيبي */
.hero {
    padding: 60px 20px;
    text-align: center;
    background: radial-gradient(circle at top, #0d221e 0%, var(--bg-dark) 100%);
}

.hero-title {
    font-family: 'Amiri', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--gold-soft);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-desc);
    max-width: 750px;
    margin: 0 auto;
}

/* قسم الاقتباسات */
.quotes-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.decor-line {
    width: 60px;
    height: 2px;
    background: var(--gold-warm);
    margin: 0 auto;
}

/* شبكة الكروت المرنة والمصلحة تماماً */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.modern-card {
    background: var(--emerald-card);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-card:hover {
    background: var(--emerald-hover);
    transform: translateY(-6px);
    border-color: var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.icon-box {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.modern-card h3 {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    color: var(--gold-soft);
    margin-bottom: 15px;
}

.modern-card p {
    font-size: 0.95rem;
    color: var(--text-desc);
    text-align: justify;
    text-align-last: center;
}

/* قسم أزرار التحميل المطور بالكامل على ذوقي */
.links-section {
    text-align: center;
    padding: 80px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(214, 175, 55, 0.02) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    margin-top: 40px;
}

.links-section h2 {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1rem;
}

.buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

.btn-book {
    background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold-warm) 100%);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.btn-book:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
    color: var(--bg-dark);
}

.btn-film {
    background: transparent;
    color: var(--gold-soft);
    border: 1.5px solid var(--border-subtle);
}

.btn-film:hover {
    background: rgba(214, 175, 55, 0.05);
    border-color: var(--gold-soft);
    transform: translateY(-3px);
    color: var(--gold-soft);
}

/* الفوتر */
.main-footer {
    text-align: center;
    padding: 50px 20px;
    background-color: #020404;
    border-top: 1px solid rgba(255, 255, 255, 0.01);
}

.salawat {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--gold-soft);
    margin-bottom: 10px;
}

.made-with {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* شاشات الجوال والأجهزة الذكية */
@media (max-width: 768px) {
    .hero-title { font-size: 2.4rem; }
    .btn { width: 100%; }
    .cards-grid { grid-template-columns: 1fr; }

}
/* ===== تنسيق قسم المحطات التاريخية (Timeline) ===== */
.timeline-section {
    padding: 60px 0;
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* الخط الرأسي الممتد خلف المحطات */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px; /* مكان الخط من اليمين للتوافق مع العربي */
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--border-subtle) 15%, var(--border-subtle) 85%, transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-right: 80px; /* مسافة للابتعاد عن الخط الرأسي */
    text-align: right;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* الدائرة الذهببية الصغيرة لكل محطة */
.timeline-badge {
    position: absolute;
    top: 5px;
    right: 16px;
    width: 30px;
    height: 30px;
    background: var(--bg-dark);
    border: 2px solid var(--gold-warm);
    color: var(--gold-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 0 10px rgba(214, 175, 55, 0.2);
}

/* الصندوق الزجاجي الداخلي للمحطة */
.timeline-content {
    background: var(--emerald-card);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: var(--emerald-hover);
    border-color: rgba(214, 175, 55, 0.1);
    transform: translateX(-5px); /* حركة خفيفة لليسار عند التمرير */
}

.timeline-content h4 {
    font-family: 'Amiri', serif;
    font-size: 1.35rem;
    color: var(--gold-soft);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-desc);
    line-height: 1.7;
    margin: 0;
}
   .stpo{
        width: 545px;
        height: 500px;
        margin-top: 20px;
   
    }
/* التوافق مع الشاشات الصغيرة */
@media (max-width: 576px) {
    .timeline-container::before {
        right: 20px;
    }
    .timeline-item {
        padding-right: 55px;
    }
    .timeline-badge {
        right: 6px;
    }
    .stpo{
        width: 350px;
        height: 450px;
        margin-top: 40px;
   
    }
    .buttons-container{
          width: 290px;
    }
}


/* =======================================================
   قالب فخامة السيرة النبوية - تصميم ملكي إسلامي متطور
   ======================================================= */

.suna-video-card {
    /* السر في دمج الانحناء مع التدرج الذهبي الفخم */
    background: linear-gradient(#0f2218, #09130e) padding-box,
                linear-gradient(145deg, #b38728, #fbf5b7, #916c16, #fbf5b7) border-box;
    border: 2px solid transparent;
    border-radius: 24px; /* انحناء دائري فخم جداً ومتناسق للحدود والخلفية */
    
    /* ظلال ملكية متعددة الطبقات تعطي تأثيراً ثلاثي الأبعاد وعزل بصري خارق */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(212, 175, 55, 0.05);
                
    max-width: 880px; 
    margin: 40px auto; 
    overflow: hidden; /* يضمن قطع حواف الفيديو والنصوص لتتبع نفس انحناء الكارد */
    padding: 0;
    font-family: inherit;
    direction: rtl; 
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* تأثير حركة فخم جداً عند التمرير بالماوس على الكمبيوتر */
.suna-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 
                0 0 40px rgba(212, 175, 55, 0.15);
}

/* 🔼 الجزء العلوي الفاخر */
.suna-video-header {
    padding: 25px 30px;
    background: linear-gradient(to bottom, rgba(20, 36, 29, 0.8), rgba(15, 34, 24, 0.4));
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    position: relative;
}

/* الشارة الذهبية المضيئة */
.suna-badge {
    background: linear-gradient(90deg, rgba(145, 108, 22, 0.2) 0%, rgba(212, 175, 55, 0.3) 100%);
    color: #fbf5b7; 
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6px 16px;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
}

/* العنوان الرئيسي المشع */
.suna-video-title {
    color: #ffffff;
    font-size: 24px;
    margin: 0;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

/* 📺 مشغل الفيديو الاحترافي الممتد */
.suna-video-wrapper {
    width: 100%;
    background-color: #040806;
    line-height: 0;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.suna-video-wrapper video {
    width: 100%;
    height: auto;
    max-height: 500px; 
    display: block;
    object-fit: contain;
}

/* 🔽 الجزء السفلي (محراب النص البليغ) */
.suna-video-footer {
    padding: 30px 35px;
    background: linear-gradient(to bottom, rgba(11, 19, 16, 0.9), rgba(6, 10, 9, 0.95));
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

/* عنوان الاقتباس الجذاب والتوهج الذهبي المعتق */
.prophet-intro-title {
    background: linear-gradient(120deg, #fbf5b7 0%, #d4af37 50%, #916c16 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    font-size: 20px;
    margin: 0 0 15px 0;
    font-weight: 800;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* النص البلاغي الفاخر ومحاذاة السطور الشبيهة بالمصحف الشريف */
.prophet-description {
    color: #ccdcd4; 
    font-size: 16px;
    margin: 0;
    line-height: 1.9; 
    text-align: justify; 
    letter-spacing: 0.2px;
}

/* 📱 هندسة التجاوب الخاصة بالهواتف الذكية وضبط انحناء الحدود السحرية */
@media (max-width: 768px) {


.sunna-video-card{
    width: 100% !important;
    margin: 20px 0 !important;
    border-radius: 12px;
    box-sizing: border-box;
}
.sunna-video-card video{
    width: 100%;
    height: auto;
    display: block;
}
.sunna-video-header,.quran-video-footer{
    padding: 16px !important;
}


    .prophet-intro-title {
        font-size: 17px;
    }
    .prophet-description {
        font-size: 14px;
        line-height: 1.8;
    }
}
/* =======================================================
   قالب بطاقات السنة النبوية - فخامة النصوص والأزرار التفاعلية
   ======================================================= */

.hadith-section-container {
    max-width: 580px; /* مضغوط ورشيق جداً للهواتف */
    margin: 25px auto;
    padding: 0 12px;
    direction: rtl;
    font-family: inherit;
}

.hadith-section-header {
    text-align: center;
    margin-bottom: 20px;
}

.hadith-badge {
    background: rgba(212, 175, 55, 0.08);
    color: #e5c158;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 4px 12px;
    font-size: 11px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 6px;
}

.hadith-section-title {
    color: #ffffff;
    font-size: 20px;
    margin: 0 0 4px 0;
    font-weight: bold;
}

.hadith-section-subtitle {
    color: #8fa096;
    font-size: 12px;
    margin: 0;
}

/* 🏆 كارد العرض الواقعي والمتقارب */
.hadith-horizontal-card {
    background: #0b1310; /* اللون الداكن المتناسق تماماً مع صورتك */
    border: 1px solid rgba(212, 175, 55, 0.12); 
    border-radius: 12px; /* زوايا منحنية متناسقة */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    padding: 18px; 
    margin-bottom: 12px; /* مسافات صغيرة ومتقاربة */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hadith-horizontal-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* 🌸 محراب نص الحديث الشريف - تصميم روضة السُنّة الفاخر */
.hadith-text-area {
    position: relative;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 14px;
    text-align: center; /* توسيط النص ليعطيه جلالاً وهيبة كتابية */
    box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hadith-main-text {
    color: #e2f0e9; /* لون المصاحف الرقمية الفاخر المريح للتدبر والقراءة */
    font-size: 16px; /* خط ممتد ومثالي للقرّاء على الموبايل */
    line-height: 1.8;
    margin: 0;
    font-weight: bold; /* خط عريض يعكس عظمة السُّنّة النبوية */
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* الأقواس والزخارف الإسلامية المذهبة والمشعة المحيطة بالنص الشريف */
.hadith-main-text::before {
    content: " ﴿ ";
    color: #e5c158; /* نفس التدرج الذهبي الدافئ بموقعك */
    font-size: 22px;
    font-family: "Times New Roman", serif;
    vertical-align: middle;
    margin-left: 4px;
}

.hadith-main-text::after {
    content: " ﴾ ";
    color: #e5c158;
    font-size: 22px;
    font-family: "Times New Roman", serif;
    vertical-align: middle;
    margin-right: 4px;
}

/* التذييل السفلي */
.hadith-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* عرض التوثيق والمصدر */
.hadith-source-info {
    color: rgba(212, 175, 55, 0.65); 
    font-size: 11.5px;
    font-weight: bold;
}

/* 🔗 زر المشاركة المطور فائق الفخامة والتفاعل */
.hadith-share-action-btn {
    background: rgba(212, 175, 55, 0.03); 
    color: #e5c158; 
    border: 1px solid rgba(212, 175, 55, 0.25); 
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: bold;
    border-radius: 6px; 
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hadith-share-action-btn:hover {
    background: #e5c158; 
    color: #0b1310; 
    border-color: #e5c158;
    box-shadow: 0 4px 15px rgba(229, 193, 88, 0.35);
    transform: translateY(-1px);
}

.share-icon-svg {
    width: 13px;
    height: 13px;
    fill: currentColor; 
    transition: transform 0.2s ease;
}

.hadith-share-action-btn:hover .share-icon-svg {
    transform: scale(1.1);
}

/* 📱 هندسة التجاوب السحرية لإبقاء الرشاقة الكاملة على الموبايل */
@media (max-width: 768px) {
    .hadith-section-title {
        font-size: 17px;
    }
    .hadith-horizontal-card {
        padding: 14px;
        margin-bottom: 10px; 
        border-radius: 10px;
    }
    .hadith-text-area {
        padding: 12px 14px;
        margin-bottom: 12px;
    }
    .hadith-main-text {
        font-size: 14px;
        line-height: 1.7;
    }
    .hadith-main-text::before, .hadith-main-text::after {
        font-size: 18px;
    }
    .hadith-share-action-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: auto; 
    background-color: #0b0b0b;
}

/* الهيرو سكشن ثابت الارتفاع لضمان ظهور العناصر التي بالأسفل فوراً */
.hiro-section {
    position: relative;
    width: 100%;
    height: 650px; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
}

/* حل مشكلة الفيديو ليظهر بالكامل وبأبعاده الأصلية في الخلفية */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* تصغير الدائرة لتكون محبوكة على أطراف المخطوطة بالظبط */
.circle-frame {
    position: relative;
    z-index: 2;
    width: 200px; /* حجم صغير ومثالي جداً ليتوسط الزخرفة الخلفية */
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 8px; /* مسافة داخلية صغيرة جداً لتلمس المخطوطة أطراف الدائرة وتملأها */
    overflow: hidden;
    border-radius: 100px;
}

/* ضبط صورة المخطوطة لتسيح وتتوهج باللون الذهبي الفخم */
.calligraphy-img {
    width: 95%; /* تملأ مساحة الدائرة بالكامل تقريباً */
    height: 95%;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid #d4af37; /* إطار ذهبي فخم وثابت */
    box-shadow: 0 0 30px #d4af37, inset 0 0 20px rgba(0,0,0,0.9);
    user-select: none;
    pointer-events: none;
}

/* التجاوب التلقائي التام مع الشاشات الصغيرة والموبايل */
@media (max-width: 600px) {
    .hiro-section {
        height: 638px;
    }
    .circle-frame {
        width: 150px;
        height: 150px;
        padding: 5px;
    }
}
.art,.hadith-badge,.hadith-section-title,.subtitle,.btn{
      font-family: 'Traditional Arabic', 'Scheherazade', serif;

}



