body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

header h1 {
    color: #333;
    margin: 0;
}

.language-switcher {
    position: relative;
}

.language-switcher select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 1em;
    cursor: pointer;
}

.language-switcher select:focus {
    outline: none;
    border-color: #007bff;
}

h1, h2, h3 {
    color: #333;
}

h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.3em;
}

h3 {
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 0.3em;
}

p, li {
    margin-bottom: 1em;
    text-align: justify;
}

ul {
    padding-left: 20px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    font-weight: bold;
}

/* RTL specific styles */
body.rtl {
    direction: rtl;
    font-family: "Noto Sans Arabic", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

body.rtl .container {
    text-align: right;
}

body.rtl p, body.rtl li {
    text-align: right;
}

body.rtl ul {
    padding-left: 0;
    padding-right: 20px;
}