/* =========================================
   1. POLISHED NAVIGATION (Fixed scattered look)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #2c3e50;
    white-space: nowrap;
}

/* =========================================
   2. MOBILE OVERHAUL (The "Total Mess" Fix)
   ========================================= */
@media (max-width: 768px) {
    /* Shrink the giant logos */
    .logo-landscape, .logo-portrait {
        max-width: 180px !important; /* Forces logo to be smaller on phones */
        height: auto;
    }

    /* Fix text overwhelming the screen */
    h1 {
        font-size: 1.6rem !important;
        padding: 0 10px;
    }

    .arabic-sub {
        font-size: 1.1rem !important;
    }

    /* Stack the Navigation properly */
    .nav-container {
        flex-direction: row; /* Keeps logo and hamburger on one line */
        height: 60px;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        display: none;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    /* The Hamburger placement */
    .hamburger {
        display: flex !important;
    }

    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }
}

/* =========================================
   3. DESKTOP POLISH (Corporate Feel)
   ========================================= */
.section {
    padding: 80px 20px;
}

.header-wrapper {
    padding-top: 120px; /* Prevents navbar from covering content */
    background-color: #f8f9fa;
}

.partner-slogan {
    font-style: italic;
    color: #c0392b;
    font-weight: 500;
    margin-top: 10px;
}

.card {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #c0392b;
}