:root {
    --primary-color: #1e3a8a;       /* آبی سرمه‌ای صدفی */
    --primary-light: #3b82f6;       /* آبی روشن */
    --primary-dark: #0f172a;        /* رنگ تیره عمیق */
    --accent-color: #06b6d4;        /* فیروزه‌ای نئونی */
    --accent-gold: #f59e0b;         /* طلایی شاخص برای سرویس طلا */
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body {
    direction: rtl;
    text-align: right;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.8;
}

/* Header & Navbar */
.navbar-sadafy {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-light) !important;
    background-color: #eff6ff;
}

.btn-primary-sadafy {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-sadafy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
}

.btn-outline-sadafy {
    border: 2px solid var(--primary-light);
    color: var(--primary-light) !important;
    border-radius: 10px;
    padding: 0.55rem 1.3rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-sadafy:hover {
    background: var(--primary-light);
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 10% 20%, rgba(239, 246, 255, 0.8) 0%, rgba(248, 250, 252, 1) 90%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Cards & Service Boxes */
.service-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-light);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #b45309;
}

.service-tax {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0284c7;
}

/* Article Cards */
.article-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.06);
}

.article-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.article-badge {
    background: #eff6ff;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Footer */
.footer-sadafy {
    background-color: var(--primary-dark);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    margin-bottom: 0.6rem;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}
