body {
    font-family: 'Shabnam-Normal', Tahoma, sans-serif;
    direction: rtl;
    padding-bottom: 40px;
    background-color: #f9fafb;
    color: #111827;
}

.container {
    max-width: 600px;
    margin: auto;
    margin-top: 30px;
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #1f2937;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    gap: 10px;
}

input[type="text"] {
    font-family: 'Shabnam-Normal';
    padding: 10px;
    width: 100%;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

input[type="submit"] {
    font-family: 'Shabnam-Normal';
    padding: 10px 25px;
    font-size: 16px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #1d4ed8;
}

.result {
    background-color: #f3f4f6;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.result h2 {
    margin-top: 0;
    color: #047857;
    font-size: 18px;
}

.result p {
    margin: 8px 0;
    line-height: 1.7;
    font-size: 15px;
}

.english {
    direction: ltr;
    font-family: sans-serif;
    font-size: 15px;
    color: #374151;
}

.not-found {
    text-align: center;
    color: #b91c1c;
    font-weight: bold;
    font-size: 18px;
}

/* ریسپانسیو برای موبایل */
@media screen and (max-width: 480px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 20px;
    }

    input[type="text"],
    input[type="submit"] {
        width: 100%;
        font-size: 15px;
    }

    .result p {
        font-size: 14px;
    }

    .english {
        font-size: 14px;
    }
}
.site-header {
    background-color: #10a0ce;
    color: white;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-title img {
    height: 40px;
    width: auto;
}

.head-text {
    font-size: 18px;
    font-weight: bold;
}


.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
    color: #040404;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* موبایل */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        width: 100%;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu.active {
        display: block;
    }

    .header-container {
        flex-direction: row;
        align-items: flex-start;
    }
}
.leftltr{
      direction: ltr;
}