

/* 1. استيراد الخطوط */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

/* 2. المتغيرات والألوان */
:root {
    --primary-color: #377E4F;
    --primary-dark: #2a613d;
    --primary-light: #e8f5e9;
    --accent-color: #25D366;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(55, 126, 79, 0.15);
    --shadow-lg: 0 20px 40px rgba(55, 126, 79, 0.2);
    --radius: 16px;
}

/* 3. التنسيقات العامة */
body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 4. شريط التنقل (Navbar) */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* تأثير الخط تحت الروابط */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 5. قسم الهيرو (Hero Section) */
.hero-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(55, 126, 79, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-title {
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 6. الأزرار (Buttons) */
.btn-custom-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 700;
    border: none;
    box-shadow: 0 10px 20px rgba(55, 126, 79, 0.3);
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(55, 126, 79, 0.4);
    color: var(--white);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 7. الكروت (Cards) */
.card-feature {
    border: none;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.card-feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--primary-color);
}

.card-feature .card-body {
    padding: 2rem;
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.card-feature:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(10deg);
}

/* 8. قسم الإحصائيات (Social Proof) */
.stats-section {
    background-color: var(--white);
    border-radius: 30px;
    padding: 60px 0;
    box-shadow: var(--shadow-sm);
    margin: 50px 0;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: -webkit-linear-gradient(45deg, var(--primary-color), #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 9. السلايدر (Carousel) */
.carousel-item img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.carousel-indicators button {
    background-color: var(--primary-color) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 5px;
}

/* 10. الفوتر (Footer) */
footer {
    background: linear-gradient(to bottom, #1a1a1a, #0f0f0f);
    border-top: 5px solid var(--primary-color);
}

footer h5 {
    color: var(--white);
}

footer a:hover {
    color: var(--primary-color) !important;
    padding-right: 5px;
}

/* 11. زر الواتس اب العائم */
.whatsapp-float {
    width: 65px;
    height: 65px;
    background-color: var(--accent-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    color: #FFF;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* 12. أقسام المميزات التفصيلية */
.feature-detail-section {
    padding: 80px 0;
}

.feature-detail-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border-right: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-detail-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

.feature-icon-large {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(55, 126, 79, 0.3);
}

.feature-badge {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* 13. قسم كيف يعمل */
.how-it-works {
    background: var(--white);
    border-radius: 30px;
    padding: 60px 0;
    margin: 50px 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

/* 14. قسم الدعوة للعمل */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 30px;
    padding: 60px 0;
    color: white;
    text-align: center;
    margin: 50px 0;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 15. تحسينات الموبايل */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 50px;
    }

    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--shadow-lg);
        margin-top: 10px;
    }

    .floating-img {
        display: none !important;
    }

    .feature-detail-card {
        text-align: center;
    }

    .feature-icon-large {
        margin-left: auto;
        margin-right: auto;
    }
}

