/* --- فونت‌ها (بدون تغییر) --- */
@font-face {
    font-family: 'iranyekan';
    font-style: normal;
    font-weight: bold;
    src: url('font/fonts/woff/iranyekanwebboldfanum.woff') format('woff');
}
@font-face {
    font-family: 'iranyekan';
    font-style: normal;
    font-weight: 300;
    src: url('font/fonts/woff/iranyekanweblightfanum.woff') format('woff');
}
@font-face {
    font-family: 'iranyekan';
    font-style: normal;
    font-weight: normal;
    src: url('font/fonts/woff/iranyekanwebregularfanum.woff') format('woff');
}

/* --- تنظیمات کلی و متغیرها --- */
:root {
    --primary-color: #0d3c61;
    --secondary-color: #00a896;
    --background-color: #f8f9fa;
    --text-color: #343a40;
    --heading-color: #212529;
    --white-color: #ffffff;
    --light-gray: #e9ecef;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'iranyekan', sans-serif !important;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    text-align: right;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: bold;
    color: var(--heading-color);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

/* --- دکمه‌ها --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: #0a2e4a;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(13, 60, 97, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}


/* --- هدر و نویگیشن --- */
.header {
    background-color: var(--white-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--heading-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-left: 10px;
}

/* --- بخش اصلی (Hero) --- */
.hero {
    background: linear-gradient(rgba(13, 60, 97, 0.85), rgba(13, 60, 97, 0.85)), url('image/background.jpg') no-repeat center center/cover;
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
}
.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white-color);
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* --- بخش توضیحات (Info Section) --- */
.info-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 80px 20px;
}

.info-card {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex-basis: 40%;
}
.info-image {
    width: 100%;
    border-radius: 8px;
}

.info-content {
    flex-basis: 55%;
}
.info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.info-content p {
    font-size: 1.1rem;
}

/* --- بخش ویژگی‌ها (Features) --- */
.features-section {
    padding: 80px 0;
    background-color: #eef2f5;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* --- بخش چطور کار می‌کند --- */
.how-it-works-section {
    padding: 80px 20px;
}
.steps-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}
.step {
    text-align: center;
    flex-basis: 200px;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 15px;
    border: 4px solid var(--light-gray);
}
.step p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- بخش سوالات متداول (FAQ) --- */
.faq-section {
    padding: 60px 20px;
}
.faq-item {
    background-color: var(--white-color);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
}
.faq-item summary {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 20px;
    cursor: pointer;
    outline: none;
    display: block;
}
.faq-item p {
    padding: 0 20px 20px;
    margin: 0;
    border-top: 1px solid var(--light-gray);
}

/* --- بخش فراخوان (CTA) --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--white-color);
}
.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.cta-section .btn-primary {
    background-color: var(--white-color);
    color: var(--primary-color);
}
.cta-section .btn-primary:hover {
    background-color: var(--light-gray);
}


/* --- فوتر --- */
.footer {
    background-color: var(--heading-color);
    color: var(--light-gray);
    padding: 30px 0;
    text-align: center;
}
.footer p {
    margin: 5px 0;
}

/* --- طراحی واکنش‌گرا (Responsive) --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .info-section {
        flex-direction: column;
        text-align: center;
    }
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .nav {
        flex-direction: column;
        gap: 15px;
    }
}