/* فونت‌ها */
@font-face {
    font-family: 'Morabba';
    src: url('../fonts/Morabba-Light.woff2') format('woff2');
    font-weight: 300;
}

@font-face {
    font-family: 'Morabba';
    src: url('../fonts/Morabba-Medium.woff2') format('woff2');
    font-weight: 500;
}

@font-face {
    font-family: 'Morabba';
    src: url('../fonts/Morabba-Bold.woff2') format('woff2');
    font-weight: bold;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/KalamehWeb-Regular.woff2') format('woff2');
    font-weight: normal;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/KalamehWeb-Bold.woff2') format('woff2');
    font-weight: bold;
}

/* متغیرهای رنگ و استایل */
:root {
    --primary-color: #1e4169;        /* آبی تیره */
    --primary-hover: #153456;        /* آبی تیره‌تر برای هاور */
    --secondary-color: #f89b35;      /* نارنجی/طلایی */
    --background-color: #ffffff;     /* پس‌زمینه سفید */
    --text-color: #333333;           /* رنگ متن اصلی */
    --text-color-light: #FFFFFF;     /* متن روشن */
    --text-color-muted: #666666;     /* متن خاکستری */
    --border-color: #e0e0e0;         /* رنگ حاشیه */
    --border-radius: 0.5rem;         /* گردی گوشه‌ها */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* سایه استاندارد */
}

/* تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: rtl;
    text-align: right;
}

body {
    font-family: 'Kalameh', system-ui, -apple-system, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* تایپوگرافی */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Morabba', sans-serif;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* منوی اصلی */
.main-header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    color: var(--text-color-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.navbar-brand {
    font-family: 'Morabba', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--text-color-light);
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-right: 1.5rem;
}

.nav-link {
    font-family: 'Kalameh', sans-serif;
    color: var(--text-color-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link.active {
    color: var(--secondary-color);
    font-weight: bold;
}

/* بخش هیرو */
.hero-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-family: 'Morabba', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-family: 'Morabba', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-color-light);
}

.hero-text {
    font-family: 'Kalameh', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* دکمه‌ها */
.btn {
    font-family: 'Kalameh', sans-serif;
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e08b25;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-color-light);
    color: var(--text-color-light);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* بخش‌های رنگی */
.feature-box {
    padding: 2rem;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.feature-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box-pink {
    background-color: #e83e8c;
}

.feature-box-blue {
    background-color: #007bff;
}

.feature-box-yellow {
    background-color: #ffc107;
}

.feature-box-green {
    background-color: #28a745;
}

/* بخش‌های محتوا */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col {
    flex: 1;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

/* کارت‌ها */
.card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img {
    width: 100%;
    height: auto;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: 'Morabba', sans-serif;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.card-text {
    color: var(--text-color-muted);
    margin-bottom: 1rem;
}

/* فرم‌ها */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Kalameh', sans-serif;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 65, 105, 0.2);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* فوتر */
footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.footer-title {
    font-family: 'Morabba', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    
    .col {
        width: 100%;
    }
    
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        margin: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* استایل‌های خاص صفحه */
.login-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.login-buttons .btn {
    min-width: 120px;
}
/* استایل‌های فوتر - قابل اضافه کردن به فایل style.css */

@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.footer {
    background-color: #0d6efd;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    position: relative;
}

.footer-link {
    display: block;
    color: #e6e6e6;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: #ffc107;
    transform: translateX(-5px);
}

.footer-link i {
    margin-left: 8px;
}

.social-icons a {
    display: inline-block;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ffc107;
    color: #0d6efd;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-info i {
    margin-left: 10px;
    width: 16px;
}

.subscription-form {
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
}

.subscription-form input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    outline: none;
}

.subscription-form button {
    background: #ffc107;
    color: #214064;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscription-form button:hover {
    background: #e0a800;
}

.footer-col {
    margin-bottom: 30px;
}