/* --- استایل‌های صفحه درباره ما (About Us) --- */

/* استایل Hero Section با H1 */
.hero-section {
    grid-column: 1 / -1; /* بخش هیرو کل عرض را بگیرد */
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 40px;
    background-color: #e0f2f7; /* پس‌زمینه آبی روشن */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1); /* سایه ملایم */
}

.hero-section h1 {
    font-size: 2.8em; /* اندازه بزرگتر برای H1 */
    color: #005b96; /* رنگ آبی تیره */
    margin-bottom: 20px;
    line-height: 1.3; /* فاصله خطوط */
}

.hero-section p {
    font-size: 1.25em;
    color: #333;
    max-width: 800px; /* محدود کردن عرض پاراگراف اصلی */
    margin: 0 auto; /* وسط چین کردن */
}

/* استایل برای بخش‌های محتوایی */
main section {
    grid-column: 1 / -1; /* به طور پیش‌فرض همه بخش‌ها کل عرض را بگیرند */
    margin-bottom: 30px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

main section h2 {
    font-size: 2.2em;
    color: #005b96;
    margin-bottom: 25px;
    border-bottom: 3px solid #87cefa; /* خط جداکننده زیر H2 */
    padding-bottom: 12px;
    text-align: center;
}

main section h3 {
    font-size: 1.8em;
    color: #007bff;
    margin-top: 30px;
    margin-bottom: 15px;
}

main section h4 {
    font-size: 1.4em;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* استایل متن مقاله */
.article-text {
    line-height: 1.8;
    color: #444;
    font-size: 1.1em;
    text-align: justify; /* تراز متن از دو طرف */
}

.article-text ul {
    list-style: disc; /* نشانگر دیسک برای لیست‌ها */
    padding-right: 40px; /* تورفتگی لیست */
    margin-top: 15px;
    margin-bottom: 15px;
}

.article-text ul li {
    margin-bottom: 10px;
}

.article-text strong {
    color: #005b96; /* رنگ برجسته برای کلمات کلیدی */
}

/* استایل بخش تماس در فوتر */
footer .contact-info {
    text-align: center;
    padding: 30px 0;
    background-color: #e0f2f7; /* پس‌زمینه آبی روشن */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

footer .contact-info h4 {
    font-size: 1.8em;
    color: #005b96;
    margin-bottom: 15px;
}

footer .contact-info p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
}

/* دکمه Call to Action در فوتر */
.cta-button-footer {
    display: inline-block;
    padding: 12px 25px;
    background-color: #28a745; /* رنگ سبز */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button-footer:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* استایل‌های کلی برای بخش فوتر (اگر قبلا تعریف نشده) */
footer {
    background-color: #333; /* رنگ پس‌زمینه تیره */
    color: #ccc;
    padding: 30px 15px 15px; /* کمی فضای پایین */
    margin-top: 40px;
    border-radius: 0 0 8px 8px; /* گوشه‌های پایین گرد */
    font-size: 0.9em;
    text-align: center;
}

footer .social-links {
    margin-top: 15px;
    margin-bottom: 20px;
}

footer .social-links a {
    margin: 0 10px;
    color: #87cefa; /* رنگ آبی روشن برای لینک‌ها */
    text-decoration: none;
    font-weight: bold;
}

footer .social-links a:hover {
    color: white;
    text-decoration: underline;
}

footer .copyright {
    margin-top: 15px;
    font-size: 0.85em;
    opacity: 0.8;
}

/* واکنش‌گرایی (Responsive Design) - تنظیمات برای موبایل و تبلت */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 1.1em;
    }
    main section h2 {
        font-size: 1.8em;
    }
    .article-text {
        font-size: 1em;
    }
    footer .contact-info h4 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 5px auto;
        padding: 0 10px;
    }
    main {
        grid-template-columns: 1fr; /* تک ستونی در موبایل */
    }
    .main-content-wrapper {
        grid-template-columns: 1fr;
    }
    /* اطمینان از اینکه همه بخش‌ها کل عرض را می‌گیرند */
    main section, .hero-section, footer .contact-info {
        grid-column: 1 / -1;
        padding: 20px;
    }
    .hero-section {
        padding: 30px 15px;
    }
    .hero-section h1 {
        font-size: 1.8em;
    }
    .hero-section p {
        font-size: 1em;
    }
    main section h2 {
        font-size: 1.6em;
    }
    .article-text ul {
        padding-right: 25px;
    }
    .cta-button-footer {
        font-size: 1em;
        padding: 10px 20px;
    }
    footer {
        font-size: 0.8em;
    }
}

/* استایل‌های هدر و ناوبری (مطمئن شوید اینها در فایل style.css شما وجود دارند) */
header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 15px 30px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    border-radius: 8px 8px 0 0; /* گوشه‌های بالای گرد */
}
header .logo h1 {
    color: #005b96;
    font-size: 1.8em;
    margin: 0;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end; /* راست چین کردن آیتم‌های منو */
}
nav ul li {
    margin-left: 25px; /* فاصله بین آیتم‌ها */
}
nav ul li:last-child {
    margin-left: 0;
}
nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #87cefa;
}

/* استایل‌های عمومی دیگر (body, .container) */
body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f1ea; /* رنگ پس‌زمینه کاغذ قدیمی */
    margin: 0;
}
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0; /* padding اصلی در header/footer/sections */
    background-color: #fff; /* پس‌زمینه سفید برای محتوا */
    box-shadow: 0 0 15px rgba(0,0,0,0.1); /* سایه جعبه‌ای */
    border-radius: 8px;
    overflow: hidden; /* برای اطمینان از اینکه محتوای داخلی گردی گوشه‌ها را خراب نمی‌کند */
}
main {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ساختار پیش‌فرض سه ستونی */
    gap: 25px; /* فضای بین ستون‌ها */
    padding: 0 20px; /* padding کناری برای main */
    margin-bottom: 20px; /* فضای پایین main */
}
/* اطمینان از اینکه بخش‌های main کل عرض را می‌گیرند */
main > section, main > div {
    grid-column: 1 / -1;
}
