
/* ===========================
   📱 NavbaR FIXES
   =========================== */

@media (max-width: 991px) {
    .navbar {
        padding: 0;
    }
    .topbar {
        padding: 0;
    }

    /* منع تغيّر ترتيب العناصر */
    .custom-navbar .container-fluid {
        flex-wrap: nowrap !important;
    }

    /* القائمة تنزل تحت بشكل ثابت */
    #navbarMain {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 0;
        z-index: 900;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    /* النص الكبير فوق */
    #navbarMain h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    /* ترتيب اللوجوهات في الموبايل */
    .navbar-brand.order-1,
    .navbar-brand.order-4 {
        width: 100px !important;
    }

    .nav-logo-right,
    .nav-logo-left {
        max-width: 100% !important;
        height: 80px;
    }
    .nav-logo-right{
        margin-right: 0px; !important;
    }
    .nav-logo-left {
        margin-left: 0px; !important;
    }

    /* ضبط القائمة */
    .navbar-nav {
        text-align: center;
        width: 100%;
    }
    .navbar-nav .container-fluid {
        padding:  0!important;
    }


    /* ===========================
       🎨 TOGGLER CUSTOM STYLE
       =========================== */
    .navbar-toggler {
        border: none !important;
        font-weight: bold;
    }

    .navbar-toggler-icon {
        background-image: none !important;
        width: 28px;
        height: 3px;
        background-color: #333;
        position: relative;
        display: block;
        border-radius: 2px;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: "";
        width: 28px;
        height: 3px;
        background-color: #333;
        position: absolute;
        left: 0;
        border-radius: 2px;
    }

    .navbar-toggler-icon::before {
        top: -8px;
    }

    .navbar-toggler-icon::after {
        top: 8px;
    }

}





/* ===========================
   🖥️ HERO SECTION  Adjustments
   =========================== */

@media (max-width: 991px) {
    .modern-hero {
        height: 350px;
    }
    .hero-search {
        max-width: 100%;
    }
    .project-intro {
        padding: 10px 0;
        text-align: center;
    }
    .project-intro p {
        color: #555;
        line-height: 1.8;
        font-size: 0.9rem;
        margin: 15px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .partner-image-wrapper img {
        max-width: 100%;
        max-height: 100%;
       margin: 0;
    }
    .partner-image-wrapper {
        height: 96px;
    }
    .database-section {
        margin-bottom: 0;
    }
    .country-card .card-body{
        padding: 10px 0 ;
    }
    .country-card img {
        height: 112px;
    }
    .country-section {
        padding: 30px 0;
    }
    .country-section .col-md-3{
        padding: 0 2px;
    }
    .h5, h5 {
        font-size: 1rem;
    }
    p ,li{
        font-size: 0.9rem;
    }
}
