/* =========================================
   فونت‌های وزیرمتن (کاملاً آفلاین)
   مسیر: public/fonts/Vazirmatn-*.woff2
   ========================================= */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   فونت‌های دیگر (IRANSans, Yekan, B-Titr)
   مسیر: public/fonts/
   ========================================= */
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSans.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan';
    src: url('../fonts/Yekan.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'B-Titr';
    src: url('../fonts/B%20Titr%20Bold.ttf') format('truetype'),
         url('../fonts/B-Titr-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   متغیرهای رنگ و تنظیمات پایه
   ========================================= */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --success-color: #16a34a;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Vazirmatn', 'IRANSans', 'Yekan', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

/* =========================================
   کارت‌های فرم ثبت‌نام
   ========================================= */
.form-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* =========================================
   دکمه‌ها
   ========================================= */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* =========================================
   فیلدهای فرم
   ========================================= */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================
   تیتر خبر (فونت تیتر، سایز ۱۴)
   ========================================= */
.news-title {
    font-family: 'B-Titr', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 14pt;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* =========================================
   ریسپانسیو
   ========================================= */
@media (max-width: 768px) {
    .display-5 {
        font-size: 1.75rem;
    }

    .card-body {
        padding: 1.25rem;
    }
}