/* ====== المتغيرات الجديدة ====== */
:root {
    --primary-dark: #1A2B4C;
    --primary: #2B5C8A;
    --primary-light: #4A90D9;
    --secondary: #27AE60;
    --gold: #E8A838;
    --gold-dark: #D4952A;
    --white: #FFFFFF;
    --light-bg: #F5F7FA;
    --gray-light: #E8ECF0;
    --gray: #8A94A6;
    --dark-text: #1A2B4C;
    --muted-text: #6B7A8A;
    --shadow: 0 4px 20px rgba(26, 43, 76, 0.10);
    --shadow-hover: 0 8px 30px rgba(26, 43, 76, 0.18);
    --border-radius: 16px;
    --transition: 0.3s ease;
}

/* ====== الخطوط ====== */
@font-face {
    font-family: 'Manchette Fine';
    src: url('../fonts/ManchetteFine-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Manchette Fine';
    src: url('../fonts/ManchetteFine-Black.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Manchette Fine';
    src: url('../fonts/ManchetteFine-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Manchette Fine';
    src: url('../fonts/ManchetteFine-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Manchette Fine';
    src: url('../fonts/ManchetteFine-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* ====== إعدادات عامة ====== */
body {
    font-family: 'Manchette Fine', 'Neo Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px;
    background: var(--white);
    color: var(--dark-text);
    direction: rtl;
}

/* ====== الروابط ====== */
a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}
a:hover {
    color: var(--primary-light);
}

/* ====== الأزرار ====== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    border-radius: 30px;
    padding: 12px 32px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    border-radius: 30px;
    padding: 12px 32px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 168, 56, 0.35);
    color: var(--white);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 30px;
    padding: 12px 32px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ====== البطاقات ====== */
.card {
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
    background: var(--white);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-light);
    font-weight: 700;
    padding: 20px 24px;
}

/* ====== النافبار ====== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(26, 43, 76, 0.08);
    padding: 12px 0;
}
.navbar-brand {
    color: var(--primary-dark) !important;
    font-weight: 900;
    font-size: 1.4rem;
}
.navbar-brand i {
    color: var(--gold);
}
.navbar .nav-link {
    color: var(--dark-text);
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 30px;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    background: rgba(43, 92, 138, 0.06);
}

/* ====== الهيرو ====== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding:0px 0 0px;
    background: url('../images/hero.jpg') no-repeat center center;
    background-size: cover;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

/* ====== تنسيق العنوان ====== */
.hero-title {
    display: block;
    margin-bottom: 20px;
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
}

/* السطر الأول - لون #15BCB5 */
.hero-title .line1 {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: #15BCB5;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* السطر الثاني - أبيض */
.hero-title .line2 {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* ====== النص الوصفي - أبيض مع خلفية #1F2136 ====== */
.hero-subtitle {
    display: inline-block;
    font-size: 1.2rem;
    color: #FFFFFF;
    font-weight: 400;
    line-height: 1.8;
    background: #1F2136;
    padding: 12px 30px;
    border-radius: 12px;
    max-width: 850px;
    margin: 10px auto 0;
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ====== تنسيق الأزرار ====== */
.hero-section .btn-gold {
    background: var(--gold, #E8A838);
    border-color: var(--gold, #E8A838);
    color: #FFFFFF;
    border-radius: 0px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
}
.hero-section .btn-gold:hover {
    background: var(--gold-dark, #D4952A);
    border-color: var(--gold-dark, #D4952A);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

.hero-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
    background: rgba(0, 0, 0, 0.2);
}
.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
    transform: translateY(-3px);
    color: #FFFFFF;
}

/* ====== أيقونات في الأزرار ====== */
.hero-section .btn i {
    margin-left: 10px;
    font-size: 1.1rem;
}

/* ====== تنسيق الأزرار في حالة التصغير ====== */
@media (max-width: 768px) {
    .hero-title .line1,
    .hero-title .line2 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        padding: 10px 20px;
    }
    .hero-section .btn-gold,
    .hero-section .btn-outline-light {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title .line1,
    .hero-title .line2 {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    .hero-section {
        padding: 100px 0 60px;
        min-height: 70vh;
    }
}

/* ====== الأقسام ====== */
.section-title {
    font-weight: 900;
    color: var(--dark-text);
    position: relative;
    margin-bottom: 16px;
    font-size: 2.2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 4px;
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}
.section-subtitle {
    color: var(--muted-text);
    font-size: 1.1rem;
    font-weight: 300;
}

/* ====== الفوتر ====== */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 24px 0;
}
footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
footer a:hover {
    color: var(--gold);
}
.footer-link {
    color: var(--gold) !important;
}
.footer-link:hover {
    color: var(--gold-dark) !important;
}




/* ====== زر سجل جمعيتك الآن - مستطيل بخلفية #834080 ====== */
.hero-section .btn-register {
    background: #834080;
    border: none;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(131, 64, 128, 0.35);
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
}
.hero-section .btn-register:hover {
    background: #6E336C;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(131, 64, 128, 0.45);
    color: #FFFFFF;
}

/* ====== زر عن المشروع - مستطيل بخلفية #57B9B5 ====== */
.hero-section .btn-about {
    background: #57B9B5;
    border: none;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(87, 185, 181, 0.35);
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
}
.hero-section .btn-about:hover {
    background: #45A09C;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(87, 185, 181, 0.45);
    color: #FFFFFF;
}

/* ====== أيقونات في الأزرار ====== */
.hero-section .btn i {
    margin-left: 10px;
    font-size: 1.1rem;
}

/* ====== تنسيق الأزرار في حالة التصغير ====== */
@media (max-width: 768px) {
    .hero-section .btn-register,
    .hero-section .btn-about {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section .btn-register,
    .hero-section .btn-about {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
}


/* ====== الهيدر الجديد ====== */
#mainNavbar {
    background: linear-gradient(to left, #352855, #292F4B);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ====== روابط النافبار ====== */
#mainNavbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

#mainNavbar .navbar-nav .nav-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

#mainNavbar .navbar-nav .nav-link.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.10);
}

/* ====== زر تسجيل الدخول ====== */
#mainNavbar .btn-nav {
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 500;
    transition: 0.3s ease;
    font-size: 0.9rem;
}

#mainNavbar .btn-nav:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ====== زر جمعية جديدة ====== */
#mainNavbar .btn-nav-primary {
    background: #57B9B5;
    border: none;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(87, 185, 181, 0.3);
}

#mainNavbar .btn-nav-primary:hover {
    background: #45A09C;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(87, 185, 181, 0.45);
}

/* ====== زر القائمة (للجوال) ====== */
#mainNavbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

#mainNavbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ====== تعديل القائمة المنسدلة عند التصغير ====== */
@media (max-width: 991.98px) {
    #mainNavbar .navbar-collapse {
        background: linear-gradient(to bottom, #352855, #292F4B);
        padding: 20px;
        border-radius: 12px;
        margin-top: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    #mainNavbar .navbar-nav .nav-link {
        text-align: center;
        padding: 10px 16px;
    }
    
    #mainNavbar .d-flex {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    #mainNavbar .btn-nav,
    #mainNavbar .btn-nav-primary {
        width: 100%;
        text-align: center;
    }
}

/* ====== إزالة الـ shadow من الأزرار في حالة التصغير ====== */
@media (max-width: 576px) {
    #mainNavbar {
        padding: 8px 0;
    }
    
    #mainNavbar .navbar-brand img {
        height: 35px;
    }
}


/* ====== قسم نبذة عن المشروع ====== */
.about-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/about.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 60px 0;
}

/* ====== تراكب محسّن ====== */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 43, 76, 0.6), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-section .about-content {
    max-width: 750px;
}

/* ====== تحسين وضوح العنوان ====== */
.about-section .title-wrapper {
    display: inline-block;
    background: rgba(124, 51, 124, 0.85);
    padding: 12px 35px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-section .about-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #FFFFFF !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1.2;
}

/* ====== النصوص ====== */
.about-section .about-content .lead {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8;
    color: #FFFFFF !important;
    text-shadow: 0 2px 25px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
}

.about-section .about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #FFFFFF !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
}

/* ====== الفاصل ====== */
.about-section .divider {
    background: var(--gold, #E8A838) !important;
    height: 4px;
    border-radius: 4px;
}

/* ====== تنسيق الموبايل ====== */
@media (max-width: 768px) {
    .about-section {
        min-height: 100vh;
        background-attachment: scroll;
        padding: 40px 0;
    }
    
    .about-section .title-wrapper {
        padding: 10px 20px;
    }
    
    .about-section .about-content h2 {
        font-size: 2.2rem;
    }
    
    .about-section .about-content .lead {
        font-size: 1.1rem;
        padding: 12px 16px;
    }
    
    .about-section .about-content p {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
}

@media (max-width: 576px) {
    .about-section .title-wrapper {
        padding: 8px 16px;
    }
    
    .about-section .about-content h2 {
        font-size: 1.6rem;
    }
    
    .about-section .about-content .lead {
        font-size: 1rem;
        padding: 10px 14px;
    }
    
    .about-section .about-content p {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
}


/* ====== قسم الأهداف ====== */
.goals-section {
    background: #f2f2f2;  /* خلفية بيضاء */
    padding: 80px 0;
}

.goals-section h2 {
    color: #1A2B4C;  /* لون غامق للعنوان */
    font-weight: 900;
}

/* ====== الفاصل ====== */
.goals-section .divider {
    background: var(--gold, #E8A838) !important;
    height: 4px;
    border-radius: 4px;
}

/* ====== البطاقات (كما هي) ====== */
.goal-card {
    border-radius: 16px;
    padding: 40px 30px;
    transition: 0.4s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.goal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

/* ====== البطاقة الأولى والثالثة (بنفسجي) ====== */
.goal-card-purple {
    background: linear-gradient(180deg, #151522 0%, #50154F 100%);
}

/* ====== البطاقة الثانية (أزرق-أخضر) ====== */
.goal-card-teal {
    background: linear-gradient(180deg, #151522 0%, #1E7D79 100%);
}

/* ====== النصوص ====== */
.goal-card h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFFFF !important;
}

.goal-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 0;
}

/* ====== تنسيق الموبايل ====== */
@media (max-width: 768px) {
    .goals-section {
        padding: 50px 0;
    }
    
    .goal-card {
        padding: 30px 20px;
        min-height: 180px;
    }
    
    .goal-card h5 {
        font-size: 1.2rem;
    }
    
    .goal-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .goals-section {
        padding: 40px 0;
    }
    
    .goal-card {
        padding: 25px 16px;
        min-height: 160px;
    }
    
    .goal-card h5 {
        font-size: 1.1rem;
    }
    
    .goal-card p {
        font-size: 0.85rem;
    }
}

/* ====== قسم المميزات ====== */
.features-section {
    background: #FFFFFF;
    padding: 80px 0;
}

.features-section h2 {
    color: #834080;
    font-weight: 900;
}

/* ====== الفاصل ====== */
.features-section .divider {
    background: var(--gold, #E8A838) !important;
    height: 4px;
    border-radius: 4px;
}

/* ====== بطاقات المميزات ====== */
.feature-card {
    background: #151621;
    border-radius: 16px;
    padding: 30px 20px;
    transition: 0.4s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(131, 64, 128, 0.2);
}

/* ====== الأيقونات ====== */
.feature-card i {
    color: #834080 !important;
    font-size: 2.5rem;
    margin-bottom: 8px;
    transition: 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.08);
}

/* ====== النصوص ====== */
.feature-card p {
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* ====== تنسيق الموبايل ====== */
@media (max-width: 768px) {
    .features-section {
        padding: 50px 0;
    }
    
    .feature-card {
        padding: 25px 16px;
        min-height: 140px;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: 40px 0;
    }
    
    .feature-card {
        padding: 20px 12px;
        min-height: 120px;
    }
    
    .feature-card i {
        font-size: 1.6rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
}



/* ====== قسم خطوات التقديم ====== */
.steps-section {
    background: #F2F2F2;
    padding: 60px 0;
    width: 100%;
}

.steps-section h2 {
    color: #00BBB4;
    font-weight: 900;
}

/* ====== الفاصل ====== */
.steps-section .divider {
    background: var(--gold, #E8A838) !important;
    height: 4px;
    border-radius: 4px;
}

/* ====== حاوية الخطوات ====== */
.steps-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== الحاوية الرئيسية ====== */
.steps-section .d-flex {
    gap: 0;
}

/* ====== حاوية كل خطوة ====== */
.step-wrapper {
    flex: 1 1 auto;
    min-width: 140px;
    max-width: 220px;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ====== بطاقات الخطوات ====== */
.step-card {
    background: linear-gradient(180deg, #793B76 0%, #0C060C 100%);
    border-radius: 16px;
    padding: 20px 16px 18px;
    min-height: 150px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 8px;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
}

/* ====== أيقونة الخطوة ====== */
.step-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.step-icon img {
    max-width: 100%;
    height: auto;
    transition: 0.3s ease;
}

.step-card:hover .step-icon img {
    transform: scale(1.08);
}

/* ====== عنوان الخطوة ====== */
.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #00BBB4;
    margin-bottom: 0;
    text-align: center;
}

/* ====== نص الخطوة ====== */
.step-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: #27283A;
    margin-bottom: 0;
    line-height: 1.6;
    text-align: center;
    padding: 0 4px;
}

/* ====== حاوية السهم ====== */
.step-arrow-wrapper {
    flex: 0 0 60px;
    display: flex;
    align-items: flex-end;  /* محاذاة من الأسفل */
    justify-content: center;
    padding: 0 4px;
    min-height: 150px;  /* نفس ارتفاع البطاقة */
    padding-bottom: 8px;  /* محاذاة مع أسفل البطاقة */
}

/* ====== السهم ====== */
.step-arrow {
    opacity: 0.5;
    transition: 0.3s ease;
    display: block;
    margin-bottom: 0;
}

.step-arrow:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* ====== تنسيق الأجهزة المتوسطة (تابلت) ====== */
@media (max-width: 992px) {
    .step-wrapper {
        min-width: 120px;
        max-width: 180px;
    }
    
    .step-card {
        min-height: 130px;
        padding: 16px 12px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
    }
    
    .step-title {
        font-size: 0.9rem;
    }
    
    .step-desc {
        font-size: 0.8rem;
    }
    
    .step-arrow-wrapper {
        flex: 0 0 50px;
        min-height: 130px;
    }
}

/* ====== تنسيق الشاشات الصغيرة (جوال) ====== */
@media (max-width: 768px) {
    .steps-section {
        padding: 40px 0;
    }
    
    .steps-section .container-fluid {
        padding: 0 12px;
    }
    
    .step-wrapper {
        min-width: 100px;
        max-width: 50%;
        flex: 1 1 45%;
        padding: 0 6px;
    }
    
    .step-card {
        min-height: 110px;
        padding: 14px 10px;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
    }
    
    .step-title {
        font-size: 0.85rem;
    }
    
    .step-desc {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    .step-arrow-wrapper {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .step-wrapper {
        min-width: 80px;
        flex: 1 1 45%;
        padding: 0 4px;
    }
    
    .step-card {
        min-height: 95px;
        padding: 10px 6px;
    }
    
    .step-icon {
        width: 38px;
        height: 38px;
    }
    
    .step-icon img {
        max-width: 80%;
    }
    
    .step-title {
        font-size: 0.75rem;
    }
    
    .step-desc {
        font-size: 0.7rem;
        line-height: 1.4;
    }
}


/* ====== قسم الأسئلة الشائعة ====== */
.faq-section {
    background: #FFFFFF;
    padding: 80px 0;
}

.faq-section h2 {
    color: #25263A;
    font-weight: 900;
}

/* ====== الفاصل ====== */
.faq-section .divider {
    background: var(--gold, #E8A838) !important;
    height: 4px;
    border-radius: 4px;
}

/* ====== تنسيق الأسئلة ====== */
.faq-section .accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faq-section .accordion-button {
    background: #F5F6F8;
    color: #25263A;
    font-weight: 600;
    padding: 16px 24px;
    border: none;
    border-radius: 12px !important;
    transition: 0.3s ease;
    font-size: 1rem;
}

.faq-section .accordion-button:hover {
    background: #EDEEF0;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #E1E1E1;  /* لون خلفية السؤال المختار */
    color: #25263A;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2325263A' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transition: 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2325263A' class='bi bi-chevron-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

.faq-section .accordion-body {
    background: #FFFFFF;
    color: #4A5568;
    padding: 20px 24px;
    line-height: 1.8;
    font-size: 0.95rem;
    border-top: 1px solid #F0F0F0;
}

/* ====== تنسيق الموبايل ====== */
@media (max-width: 768px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-section .accordion-button {
        font-size: 0.9rem;
        padding: 14px 18px;
    }
    
    .faq-section .accordion-body {
        font-size: 0.85rem;
        padding: 16px 18px;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-section .accordion-button {
        font-size: 0.85rem;
        padding: 12px 14px;
    }
    
    .faq-section .accordion-body {
        font-size: 0.8rem;
        padding: 14px 14px;
    }
}


/* ====== قسم التواصل ====== */
.contact-section {
    background: #F5F6F8;
    padding: 80px 0;
}

.contact-section h2 {
    color: #25263A;
    font-weight: 900;
}

/* ====== الفاصل ====== */
.contact-section .divider {
    background: var(--gold, #E8A838) !important;
    height: 4px;
    border-radius: 4px;
}

/* ====== حقول النموذج ====== */
.contact-input {
    background: #FFFFFF;
    border: 1px solid #E1E4E8;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: 0.3s ease;
    color: #25263A;
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
}

.contact-input:focus {
    border-color: #00BBB4;
    box-shadow: 0 0 0 3px rgba(0, 187, 180, 0.15);
    outline: none;
}

.contact-input::placeholder {
    color: #9AA3B3;
    font-weight: 300;
}

/* ====== زر الإرسال ====== */
.btn-contact {
    background: #00BBB4;
    border: none;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s ease;
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
}

.btn-contact:hover {
    background: #009E98;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 187, 180, 0.35);
    color: #FFFFFF;
}

/* ====== الفوتر ====== */
.footer {
    background: #1A1F2E;
    color: rgba(255, 255, 255, 0.6);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-link {
    color: #00BBB4;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #E8A838;
    background: rgba(232, 168, 56, 0.08);
    transform: translateY(-2px);
}

.footer-link i.fa-crown {
    margin-left: 4px;
    font-size: 0.9rem;
}

.footer-link i.fa-external-link-alt {
    font-size: 0.6rem;
    opacity: 0.6;
    margin-right: 4px;
}

/* ====== تنسيق الموبايل ====== */
@media (max-width: 768px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-input {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .btn-contact {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 20px 0;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-input {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .btn-contact {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
}



/* ====== عداد الزوار ====== */
.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 187, 180, 0.12);
    padding: 4px 14px 4px 10px;
    border-radius: 30px;
    border: 1px solid rgba(0, 187, 180, 0.15);
    font-size: 0.85rem;
    color: #00BBB4;
    font-weight: 500;
    transition: 0.3s ease;
}

.visitor-counter:hover {
    background: rgba(0, 187, 180, 0.18);
    border-color: rgba(0, 187, 180, 0.25);
}

.visitor-counter i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.visitor-counter #visitorCount {
    font-weight: 700;
    font-size: 1rem;
    color: #00BBB4;
    min-width: 20px;
    text-align: center;
}

.visitor-counter .visitor-label {
    color: #7A8499;
    font-weight: 300;
    font-size: 0.75rem;
}

/* ====== الفوتر ====== */
.footer {
    background: #1A1F2E;
    color: rgba(255, 255, 255, 0.6);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 300;
}

.footer-link {
    color: #00BBB4;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #E8A838;
    background: rgba(232, 168, 56, 0.08);
    transform: translateY(-2px);
}

.footer-link i.fa-crown {
    color: #E8A838;
    margin-left: 4px;
    font-size: 0.85rem;
}

.footer-link i.fa-external-link-alt {
    font-size: 0.6rem;
    opacity: 0.6;
    margin-right: 4px;
}

/* ====== تنسيق الموبايل ====== */
@media (max-width: 768px) {
    .footer {
        padding: 16px 0;
    }
    
    .visitor-counter {
        font-size: 0.75rem;
        padding: 3px 10px 3px 8px;
    }
    
    .visitor-counter #visitorCount {
        font-size: 0.85rem;
        min-width: 16px;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
        padding: 2px 6px;
    }
}

@media (max-width: 576px) {
    .footer .d-flex {
        flex-direction: column;
        gap: 8px !important;
    }
    
    .visitor-counter {
        font-size: 0.7rem;
        padding: 2px 10px 2px 8px;
    }
    
    .visitor-counter #visitorCount {
        font-size: 0.8rem;
        min-width: 14px;
    }
}


/* ====== زر مشترك جديد ====== */
.hero-section .btn-subscriber {
    background: #793B76;
    border: none;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(121, 59, 118, 0.35);
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
}

.hero-section .btn-subscriber:hover {
    background: #5E2D5B;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(121, 59, 118, 0.45);
    color: #FFFFFF;
}

/* ====== زر مشترك جديد في الهيدر ====== */
#mainNavbar .btn-nav-subscriber {
    background: #793B76;
    border: none;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(121, 59, 118, 0.3);
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
}

#mainNavbar .btn-nav-subscriber:hover {
    background: #5E2D5B;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(121, 59, 118, 0.45);
}

/* ====== تعديل زر جمعية جديدة ====== */
#mainNavbar .btn-nav-primary {
    background: #00BBB4;
    border: none;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 187, 180, 0.3);
    font-family: 'Manchette Fine', 'Neo Sans Arabic', sans-serif;
}

#mainNavbar .btn-nav-primary:hover {
    background: #009E98;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 187, 180, 0.45);
}

/* ====== تنسيق الموبايل ====== */
@media (max-width: 991.98px) {
    #mainNavbar .navbar-collapse {
        background: linear-gradient(to bottom, #352855, #292F4B);
        padding: 20px;
        border-radius: 12px;
        margin-top: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    #mainNavbar .navbar-nav .nav-link {
        text-align: center;
        padding: 10px 16px;
    }
    
    #mainNavbar .d-flex {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    #mainNavbar .btn-nav,
    #mainNavbar .btn-nav-primary,
    #mainNavbar .btn-nav-subscriber {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    #mainNavbar {
        padding: 8px 0;
    }
    
    #mainNavbar .navbar-brand img {
        height: 35px;
    }
}