/* لینک بارگذاری فونت وزیر در ابتدای فایل CSS */
/* اگر این خط در فایل style.css کار نکرد، آن را به تگ head در فایل های HTML اضافه کنید:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/font-vazirmatn/Vazirmatn.css"> */

@import url('https://cdn.jsdelivr.net/font-vazirmatn/Vazirmatn.css');

/* تنظیمات عمومی */
body {
    font-family: 'Vazirmatn', Tahoma, sans-serif; /* استفاده از فونت وزیر */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    direction: rtl; /* برای فارسی بودن سایت */
    text-align: right; /* تراز بندی راست چین */
}

/* ... بقیه کدهای CSS قبلی بدون تغییر ... */

/* کدهای CSS قبلی خود را از اینجا ادامه دهید */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header & Navigation */
header {
    background-color: #004d99;
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    display: inline-block;
    font-size: 1.8em;
}

nav {
    display: inline-block;
    float: left;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff9900;
}

/* Hero Section */
.hero {
    background: url('hero-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px #000;
}

.hero .slogan {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px #000;
}

.cta-button {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #cc7a00;
}

/* General Section Styling */
section {
    padding: 40px 0;
}

section h3 {
    text-align: center;
    color: #004d99;
    font-size: 2em;
    margin-bottom: 30px;
}

.introduction {
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Services Overview */
.services-overview {
    background-color: #e6f0ff;
    text-align: center;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex: 1 1 300px;
    text-align: right;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h4 {
    color: #ff6600;
    margin-top: 0;
    border-bottom: 2px solid #004d99;
    padding-bottom: 10px;
}

.more-link {
    display: inline-block;
    margin-top: 30px;
    color: #004d99;
    font-weight: bold;
    text-decoration: none;
}

.more-link:hover {
    text-decoration: underline;
}

/* Quick Contact */
.quick-contact {
    text-align: center;
}

.quick-contact p {
    font-size: 1.1em;
}

.quick-contact .phone-number {
    color: #ff6600;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none; /* برای لینک تماس */
}

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    header h1 {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    nav {
        float: none;
        text-align: center;
        display: block;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h2 {
        font-size: 2em;
    }
    
    .hero .slogan {
        font-size: 1.2em;
    }

    .service-cards {
        flex-direction: column;
    }

    .card {
        margin-bottom: 20px;
    }
}