/* ===================== القاعدة العامة ====================== */
body {
    padding-top: 80px;
    /* نفس ارتفاع الـ navbar */
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    margin: 0;
}

/* ===================== بانر الصفحة ====================== */

.hero-banner {
    padding-top: 120px;
    height: 300px;
    background-color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
    animation: fadeInDown 1s ease-in-out;
    margin: 0;
}

/* Responsive Banner */
@media (max-width: 768px) {
    .hero-banner {
        height: 220px;
        padding-top: 100px;
    }

    .hero-banner h1 {
        font-size: 1.8rem;
    }
}

/* ===================== قسم "من نحن" ====================== */
.about-intro {
    padding: 60px 15px;
    background-color: #f8f9fa;
}

.about-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: auto;
    direction: rtl;
    text-align: start;
}

.about-box h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0d6efd;
}

.about-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* Responsive About */
@media (max-width: 768px) {
    .about-box {
        padding: 20px;
    }

    .about-box h1 {
        font-size: 1.8rem;
    }

    .about-box p {
        font-size: 1rem;
    }
}

/* ===================== إحصائيات وخدمات (لو هتستخدمها) ====================== */
.stats {
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    padding: 50px 20px;
    margin-top: 50px;
}

.stats .stat-box h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stats .stat-box p {
    font-size: 1.1rem;
    color: #fff;
}

.features .feature-box {
    background-color: #fff;
    border: 1px solid #ddd;
    transition: transform 0.3s, box-shadow 0.3s;
}

.features .feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.features h5 {
    font-weight: bold;
    color: #0d6efd;
    margin-top: 10px;
}

.features p {
    color: #555;
}

/* ===================== Animation Reveal ====================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== مسافة إضافية لو حبيت ====================== */
.page-section {
    padding-top: 100px;
}














/* Responsive */
@media (max-width: 768px) {
    .about-box {
        padding: 20px;
    }

    .about-box h1 {
        font-size: 1.8rem;
    }

    .about-box p {
        font-size: 1rem;
    }

    .about-intro {
        padding-top: 120px;
        /* أكتر شوية عشان الموبايل */
    }
}


.hero-banner {
    padding-top: 120px;
    /* تعويض للـ navbar الثابت */
    height: 300px;
    margin-top: 100px;
    background-color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
    animation: fadeInDown 1s ease-in-out;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-banner {
        height: 220px;
        padding-top: 100px;
    }

    .hero-banner h1 {
        font-size: 1.8rem;
    }
}