/* Define the BNazanin font using @font-face */
@font-face {
    font-family: 'BNazanin';
    src: url('../fonts/BNazanin.eot'); /* IE9 compatibility */
    src: url('../fonts/BNazanin.eot?#iefix') format('embedded-opentype'),
         url('../fonts/BNazanin.ttf') format('truetype'); /* Standard TrueType format */
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Improves performance by displaying text with a fallback font first */
}

:root {
    --primary-color: #4287f5;
    --secondary-color: #28A745;
    --accent-color: #DC3545;
    --text-color: #333;
    --light-bg: #F8F9FA;
    --dark-bg: #343A40;
    --white: #FFFFFF;
    --gray:#CCCCCC; /* Changed to match body background */
    --border-color: #CED4DA;
    --header-height-desktop: 70px; /* Approximate height */
    --nav-height-desktop: 50px; /* Approximate height (includes padding) */
    --header-height-mobile: 60px; /* Approximate height for smaller header on mobile */
    --footer-height: 80px; /* Estimate footer height - adjust if needed */
}

* {
    /* Apply BNazanin as the primary font for everything */
    font-family: 'BNazanin', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--gray);
    color: var(--text-color);
    line-height: 1.6;
    /* Adjusted padding-top for desktop for header + nav */
    padding-top: calc(var(--header-height-desktop) + var(--nav-height-desktop));
    /* Added padding-bottom for fixed footer */
    padding-bottom: var(--footer-height);
    overflow-x: hidden; /* Prevent horizontal scroll due to off-screen menu */
}

header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between; /* Space out title and menu button */
    align-items: center;
    height: var(--header-height-desktop); /* Fixed height for desktop header */
}

.header-logo { /* Style for the logo */
    height: 50px; /* Adjust as needed */
    width: auto;
    margin-left: 15px; /* Space between logo and title */
}

header h1 {
    margin: 0;
    font-size: 1.8rem; /* Adjusted for clarity */
    flex-grow: 1; /* Allows title to take available space */
    text-align: right; /* Align title to the right for RTL */
}

header h1 a {
    color: var(--white);
    text-decoration: none;
}

/* Mobile Menu Button (Hamburger) */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    background-color: transparent; /* Transparent background */
    color: var(--white);
    border: none;
    font-size: 1.8rem; /* Larger icon */
    cursor: pointer;
    z-index: 1001; /* Above header and nav */
    padding: 0; /* Remove padding */
    order: -1; /* Place it at the beginning on LTR layout to appear on the right in RTL */
}

.menu-toggle .menu-text {
    font-size: 0.9rem; /* Smaller text next to icon */
    margin-right: 5px; /* Space between icon and text */
    vertical-align: middle;
}
.menu-toggle .fa-bars {
    vertical-align: middle; /* Align icon vertically */
}


.nav {
    background-color: var(--dark-bg);
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: var(--header-height-desktop); /* Position right below the header */
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: var(--nav-height-desktop); /* Fixed height for desktop nav */
    display: flex; /* Use flex for menu items */
    justify-content: center;
    align-items: center;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure ul takes full width */
}

.nav li {
    margin: 0 15px;
    position: relative;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-submenu ul {
    display: none;
    position: absolute;
    background-color: var(--dark-bg);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    right: 0; /* Align submenu to the right for RTL */
    flex-direction: column;
    border-radius: 5px;
    padding: 10px 0;
}

.nav-submenu:hover ul {
    display: flex;
}

/* Main content wrapper to handle padding */
.content-wrapper {
    padding: 20px 0; /* Add vertical padding */
}

.container {
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add horizontal padding */
    display: grid; /* Use CSS Grid for layout */
    grid-template-columns: 1fr 1fr 1fr; /* Three columns for desktop */
    gap: 30px;
    direction: rtl; /* Ensure overall container is RTL */
}

.col {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem; /* Consistent font size */
    text-align: right;
}

.col p {
    text-align: right; /* Ensure paragraphs are right-aligned */
}

.contact-icons {
    display: flex; /* Use flex to align icons */
    gap: 15px; /* Space between icons */
    justify-content: flex-end; /* Align icons to the right */
    margin-bottom: 20px;
}


.contact-icons img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.contact-icons img:hover {
    transform: translateY(-5px);
}

/* Specific styling for input and select to override general styles if needed */
.fc, /* Apply to the search input field */
#category-select /* Apply to the dropdown */
{
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    /* Direction for search input is handled by JS based on input language */
    /* Direction for category select remains RTL */
    direction: rtl;
    text-align: right;
}

/* Overrides for specific form elements if they exist (based on your contactus.html/login.php) */
form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    text-align: right;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    direction: ltr; /* Ensure these specific inputs are LTR */
    text-align: left;
}


form p {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: justify;
}

.button1 {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    width: auto;
    display: block;
    margin: 20px auto 0;
}

.button1:hover {
    background-color: #218838;
}

.info-text {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

footer {
    background-color: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 20px;
    /* Removed margin-top as it's now fixed */
    font-size: 0.9rem;
    /* Fixed position properties */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000; /* Ensure it stays above other content if necessary */
    height: var(--footer-height); /* Set height based on variable */
    display: flex; /* Use flex to vertically center content if needed */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
}

.footer .afoot {
    color: var(--white);
    text-decoration: none;
}

.footer h3 {
    margin: 0;
    font-size: 1.1rem;
}

.fa {
    padding: 15px;
    font-size: 25px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
}

.fa:hover {
    opacity: 0.8;
}

.fa-instagram {
    background: #E1306C;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        /* Adjust body padding-top for mobile fixed header */
        padding-top: var(--header-height-mobile);
        /* Adjust body padding-bottom for mobile fixed footer */
        padding-bottom: var(--footer-height);
    }

    header {
        height: var(--header-height-mobile); /* Shorter header on mobile */
        padding: 10px 15px;
        justify-content: space-between; /* Ensure space between logo/title and toggle */
    }

    .header-logo {
        height: 40px; /* Smaller logo on mobile */
        margin-left: 10px; /* Adjust margin */
    }

    header h1 {
        font-size: 1.1rem; /* Slightly smaller title on mobile */
        text-align: right; /* Keep title aligned to right for RTL */
    }

    .menu-toggle {
        display: flex; /* Show menu button on small screens (flex to align icon and text) */
        align-items: center;
        position: absolute; /* Position relative to header */
        left: 15px; /* Position on the left for RTL layout */
        top: 50%; /* Center vertically */
        transform: translateY(-50%);
        order: initial; /* Reset order if it was set */
    }

    .nav {
        position: fixed;
        top: 0; /* Nav slides over the content from top:0 */
        right: -250px; /* Hidden off-screen to the right, will slide in from right */
        width: 250px;
        height: 100%;
        padding-top: var(--header-height-mobile); /* Adjusted to account for header height for the menu items themselves */
        background-color: var(--dark-bg);
        transition: right 0.3s ease-in-out;
        z-index: 999;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        flex-direction: column; /* Stack menu items vertically */
        align-items: flex-start;
        display: flex; /* Ensure it's always flex, but hidden by 'right' property */
        overflow-y: auto; /* Enable scrolling for long menus */
    }

    .nav.open {
        right: 0; /* Slide in from the right */
    }

    /* Important: Remove default padding from the main UL in the mobile nav */
    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0; /* Ensure no default padding on the UL itself */
    }

    .nav li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav li:last-child {
        border-bottom: none;
    }

    .nav a {
        padding: 15px 20px; /* Keep padding for individual links for tap area */
    }

    .nav-submenu ul {
        position: static; /* Submenu items become part of the main menu flow */
        background-color: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        width: 100%;
        padding: 0; /* Ensure no padding on nested ULs */
    }

    /* --- ORDERING BLOCKS FOR MOBILE (using grid-template-areas or order) --- */
    .container {
        grid-template-columns: 1fr; /* Single column layout on mobile */
        gap: 20px; /* Slightly smaller gap on mobile */
        padding: 0 15px; /* Adjust horizontal padding */
    }

    /* Assign grid areas or use order property for mobile */
    .col-info-text { /* The Apple/Bazaar badges block */
        order: 2;
    }
    .col-search-category { /* The search input and category select block */
        order: 1;
    }
    .col-contact-tags { /* The social media/contact/tags block */
        order: 3;
    }

    .col h4 {
        font-size: 1.1rem;
        color:black;
    }
    .col p {
        font-size: 0.95rem; /* Smaller paragraphs on mobile */
    }

    .contact-icons img {
        width: 45px; /* Slightly smaller contact icons */
        height: 45px;
    }
}
It seems like you added a new style. I copied my main style sheet to provide it for you. This is the main one. The problem is in this version.
I want to simplify padding in the main menu for mobile and I want to ensure that it has no indent or padding.
Also, there is no need for `top: 70px;` for the `.nav` in the desktop version. Because `padding: 10px 0;` already handles the `top`.

Final points to consider:
1. Simplify padding in the main menu for mobile, and make sure it has no indent or padding.
2. Remove `top: 70px;` for the `.nav` in the desktop version because `padding: 10px 0;` handles the `top`.
3. Check all `padding-top` and `margin-top` values to avoid blank space.
4. I want the footer to be responsive for mobile.
5. In the desktop version, the `header` and `nav` are fixed, and they have specific heights `var(--header-height-desktop)` and `var(--nav-height-desktop)`. I want the `body` `padding-top` to be the sum of these two variables.
6. The `header` `h1` should have `font-size: 1.8rem;` (it's currently `1.3rem`).
7. The `col h4` should have `font-size: 1.2rem;` (it's currently `1.1rem`).
8. The `contact-icons img` should have `width: 55px;` and `height: 55px;` (it's currently `45px`).