/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700;900&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl; /* برای فارسی */
    background-color: #f4f7f9;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reusable Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}
.primary-btn {
    background-color: #007bff; /* رنگ اصلی */
    color: white;
}
.primary-btn:hover {
    background-color: #0056b3;
}
.secondary-btn {
    background-color: #28a745; /* رنگ دوم */
    color: white;
}
.secondary-btn:hover {
    background-color: #218838;
}
.cta-button {
    background-color: #ffc107; /* رنگ برجسته */
    color: #333;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 30px;
    font-weight: 900;
}
.cta-button:hover {
    background-color: #e0a800;
}

/* Header & Navigation */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .logo {
    font-size: 1.5em;
    font-weight: 900;
    color: #007bff;
}
.main-nav a {
    margin: 0 15px;
    font-size: 1em;
    color: #555;
}
.main-nav a:hover {
    color: #007bff;
}
.header .actions a {
    margin-right: 10px;
}

/* Home - Hero Section (Slider) */
.hero-section {
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 123, 255, 0.8)), url('https://picsum.photos/1600/600?random=100') no-repeat center center/cover;
    color: white;
    padding: 100px 5%;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 900;
}
.hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Home - Info Section */
.info-section {
    padding: 60px 5%;
    background-color: white;
    text-align: center;
}
.info-section h2 {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 40px;
}
.services-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}
.service-card {
    width: 30%;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: right;
}
.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}
.service-card h3 {
    color: #333;
    margin-bottom: 10px;
}

/* Internal Pages (Sections) */
.page-section {
    padding: 60px 0;
    margin: 20px 5%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}
.page-section h2 {
    color: #007bff;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}
.page-section .container p, .page-section .container ul {
    margin-bottom: 15px;
    text-align: justify;
}
.page-section .container h3 {
    color: #343a40;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Contact and Feedback Forms */
.contact-info {
    font-size: 1.1em;
    margin-bottom: 25px;
}
.contact-info p {
    margin-bottom: 10px;
}
.contact-info i {
    color: #007bff;
    margin-left: 10px;
}
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1em;
    box-sizing: border-box;
}
.contact-form select {
    appearance: none; /* حذف ظاهر پیشفرض در برخی مرورگرها */
    background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2069.9l-14.7-14.7c-5.4-5.4-14.2-5.4-19.6%200l-117%20117-117-117c-5.4-5.4-14.2-5.4-19.6%200L5.4%2069.9c-5.4%205.4-5.4%2014.2%200%2019.6l131.8%20131.8c2.7%202.7%206.3%204%209.8%204s7.1-1.3%209.8-4L287%2089.5c5.4-5.4%205.4-14.2%200-19.6z%22%2F%3E%3C%2Fsvg%3E') no-repeat right 15px center;
    background-size: 12px;
    padding-right: 35px; /* برای جا باز کردن برای آیکون */
}

/* Footer */
.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: right;
}
.footer-col {
    width: 20%;
    min-width: 150px;
    margin-bottom: 20px;
}
.footer h3 {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.2em;
}
.footer-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #ccc;
}
.footer-col a:hover {
    color: #007bff;
}
.licenses {
    display: flex;
    gap: 10px;
}
.license-img {
    width: 60px;
    height: 60px;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}
.social-icons a {
    display: inline-block;
    font-size: 1.5em;
    margin-left: 15px;
    color: white;
}
.copyright {
    width: 100%;
    text-align: center;
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.85em;
    color: #999;
}

/* Responsive Design (Basic) */
@media (max-width: 900px) {
    .header {
        flex-wrap: wrap;
        padding-bottom: 10px;
    }
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
    .main-nav a {
        margin: 5px 10px;
        display: inline-block;
    }
    .actions {
        order: 2;
        margin-right: 10px;
    }
    .services-container {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 90%;
        margin-bottom: 20px;
    }
    .footer-col {
        width: 45%;
    }
}
@media (max-width: 600px) {
    .hero-section h1 {
        font-size: 2em;
    }
    .footer-col {
        width: 100%;
        text-align: center;
    }
    .licenses {
        justify-content: center;
    }
}
/* اضافه کردن به انتهای styles.css */
.contact-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #444;
}
.contact-form input[type="file"] {
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 10px;
    cursor: pointer;
}