* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

.top-bar {
    background-color: #0078a0;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.top-bar .contact-info a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}



header .logo h1 {
    margin: 0;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav ul li a {
    color: rgb(45, 61, 183);
    text-decoration: none;
    font-size: 18px;
}
h1, h2, h3 {
    font-family: 'b titr', sans-serif;
}
p {
    font-size: 20px; /* سایز فونت عنوان h1 */
    font-family: 'b nazanin', sans-serif;
}

a {
    font-family: 'IRANSans', sans-serif;
} 

#hero {
    background-color: #0078a0;
    color: white;
    text-align: center;
    padding: 50px 0;
}

#about, #services, #gallery, #contact {
    padding: 40px;
    text-align: center;
}

#about .about-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

#about .about-content img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
}

#services .services-list {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 8px;
}

#services .service-item {
    width: 22%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* ریسپانسیو */
    gap: 100px;
    justify-items: center; /* وسط چین کردن تصاویر */
    padding: 30px; /* اضافه کردن فاصله */
}

#gallery .gallery-grid img {
    width: 50%;
    height: auto;
    border-radius: 50px;
}
#gallery .gallery-grid figure figcaption {
    margin-top: 8px; /* فاصله پایین از تصویر */
    margin-bottom: 40px; /* فاصله بالا از تصویر */
    font-size: 16px; /* اندازه فونت توضیح */
    color: #333; /* رنگ متن */
}

form {
    margin-top: 20px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

form label {
    font-family: 'b titr', sans-serif; /* فونت انتخابی */
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 18px; /* اندازه فونت */
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 18px; /* اندازه فونت */
}

form button {
    background-color: #0078a0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}

footer {
    background-color: #0078a0;
    color: white;
    padding: 20px;
    text-align: center;
}
