body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* پس‌زمینه روشن‌تر */
    direction: rtl;
}

header {
    background-color: #2c3e50; /* رنگ سورمه‌ای تیره برای هدر */
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 28px;
}

nav ul {
    list-style-type: none;
    background-color: #34495e; /* رنگ سورمه‌ای تیره‌تر برای نوار ناوبری */
    margin: 0;
    padding: 10px;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
    background-color: #ffffff; /* پس‌زمینه سفید برای بخش‌های محتوا */
    color: #333;
}

section {
    margin-bottom: 30px;
    background-color: #ffffff; /* پس‌زمینه روشن برای بخش‌ها */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* سایه ملایم برای برجسته کردن بخش‌ها */
}

section h2 {
    font-size: 24px;
    color: #2c3e50; /* رنگ سورمه‌ای تیره برای عنوان بخش‌ها */
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #34495e; /* پس‌زمینه سورمه‌ای تیره برای جایگاه تصاویر */
    margin-bottom: 15px;
    text-align: center;
    line-height: 200px;
    color: #ffffff;
    font-size: 18px;
}

a {
    color: #3498db; /* رنگ آبی ملایم برای لینک‌ها */
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    margin-top: auto; /* باعث می‌شود همیشه پایین بماند */
}

footer p {
    margin: 5px;
}

h2{  display: inline-block;}
.ac{
    
    font-size: 17pt;
}
.ab{
    display: inline-block;
}
.gg{
   
}
.ad{
    font-size: 15;
}
#gg{
    margin-bottom: 100px;

}
@media (max-width: 768px) {
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
.round{

    display: inline-block;
    border-radius: 200px;
    
}
.home-button {
    font-size: 16px; /* اندازه مناسب‌تر برای متن */
    color: #ffffff; /* رنگ متن */
    background-color: #1f6396; /* رنگ تیره‌تر پس‌زمینه */
    padding: 8px 16px; /* فاصله داخلی کمتر */
    text-decoration: none; /* حذف خط زیر لینک */
    border-radius: 4px; /* گوشه‌های گردتر */
    display: inline-flex; /* برای چیدمان آیکون و متن کنار هم */
    align-items: center; /* هم‌راستا کردن آیکون و متن عمودی */
    transition: background-color 0.3s ease; /* انیمیشن تغییر رنگ پس‌زمینه */
}

.home-button i {
    margin-right: 6px; /* فاصله کمتر بین آیکون و متن */
    font-size: 14px; /* اندازه آیکون کوچکتر */
}

.home-button:hover {
    background-color: #145b82; /* رنگ تیره‌تر هنگام هاور */
}
#ff{
    display: block;
}

#fr{
    display: inline-block;
}

