body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}
a {
    text-decoration: none;
}

.site-navbar {
    background: #fff;
    padding: 18px 0;
    box-shadow: 0 2px 10px rgba(15,23,42,.05);
}
.site-logo {
    font-size: 20px;
    font-weight: 800;
    color: #4f46e5;
}

.site-footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 24px 0;
    margin-top: 60px;
}


.hero{
    padding:90px 0;
    background:linear-gradient(135deg,#2563eb,#06b6d4);
    color:white;
    overflow:hidden;
}

.hero h1{
    font-size:52px;
    font-weight:800;
    line-height:1.5;
    margin:25px 0;
}

.hero p{
    font-size:18px;
    opacity:.9;
    line-height:2;
}

.hero-badge{
    display:inline-flex;
    gap:10px;
    background:rgba(255,255,255,.15);
    padding:10px 20px;
    border-radius:50px;
    backdrop-filter:blur(10px);
}

.hero-image{
    max-width:500px;
    animation:float 4s infinite ease-in-out;
}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0);
    }

}
.hero-search{

    margin-top:35px;

    display:flex;

    background:white;

    border-radius:60px;

    overflow:hidden;

    max-width:650px;

}

.hero-search input{

    flex:1;

    border:none;

    padding:18px 25px;

    outline:none;

}

.hero-search button{

    width:70px;

    background:#2563eb;

    border:none;

    color:white;

}

.hero-stats{

    display:flex;

    gap:50px;

    margin-top:40px;

}

.hero-stats strong{

    display:block;

    font-size:34px;

}

.hero-stats span{

    opacity:.8;

}

.category-card{

    display:block;

    background:white;

    padding:35px;

    border-radius:24px;

    text-align:center;

    box-shadow:0 10px 35px rgba(0,0,0,.05);

    transition:.35s;

    height:100%;

}

.category-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(37,99,235,.18);

}

.category-icon{

    width:75px;

    height:75px;

    margin:auto;

    background:#eef5ff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:32px;

    color:#2563eb;

    margin-bottom:20px;

}
.article-card{

    background:white;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.05);

    transition:.35s;

    height:100%;

}

.article-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(37,99,235,.15);

}

.article-image{

    width:100%;

    height:230px;

    object-fit:cover;

}

.article-content{

    padding:25px;

}

.article-category{

    background:#eef5ff;

    padding:6px 15px;

    border-radius:30px;

    display:inline-block;

    margin-bottom:15px;

    font-size:13px;

    font-weight:600;

    color:#2563eb;

}

.article-content h3{

    font-size:21px;

    font-weight:700;

    margin-bottom:15px;

    line-height:1.8;

}

.article-content p{

    color:#64748b;

    line-height:2;

    height:70px;

    overflow:hidden;

}

.article-bottom{

    margin-top:20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding-top:20px;

    border-top:1px solid #edf2f7;

}

.article-bottom a{

    font-weight:700;

    color:#2563eb;

}
.hero-banner {

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 20px 50px rgba(0,0,0,.15);

    max-width: 500px;

    margin: 0 auto;

}

.hero-banner img {

    height: 340px;

    object-fit: cover;

}
.hero{

    position:relative;

    overflow:hidden;

    padding:90px 0;

    background:linear-gradient(135deg,#eef6ff,#ffffff);

}

.hero-shape{

    position:absolute;

    border-radius:50%;

    background:#2563eb10;

}

.shape1{

    width:450px;

    height:450px;

    top:-180px;

    right:-120px;

}

.shape2{

    width:300px;

    height:300px;

    left:-120px;

    bottom:-120px;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 20px;

    border-radius:50px;

    background:#eaf2ff;

    font-weight:700;

    color:#2563eb;

}

.hero h1{

    font-size:58px;

    font-weight:900;

    margin:30px 0 20px;

    line-height:1.4;

    color:#0f172a;

}

.hero h1 span{

    display:block;

    color:#2563eb;

}

.hero p{

    font-size:18px;

    line-height:2;

    color:#64748b;

    max-width:520px;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    margin-bottom:45px;

}

.btn-primary-custom{

    padding:16px 35px;

    background:#2563eb;

    color:white;

    border-radius:60px;

    font-weight:700;

    transition:.3s;

}

.btn-primary-custom:hover{

    background:#1d4ed8;

    transform:translateY(-4px);

    color:white;

}

.btn-search-custom{

    padding:16px 30px;

    background:white;

    border-radius:60px;

    border:2px solid #dbeafe;

    color:#2563eb;

    font-weight:700;

}

.hero-features{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

}

.feature-card{

    width:140px;

    background:white;

    border-radius:20px;

    padding:22px;

    text-align:center;

    box-shadow:0 15px 45px rgba(0,0,0,.06);

    transition:.3s;

}

.feature-card:hover{

    transform:translateY(-8px);

}

.feature-card i{

    font-size:30px;

    color:#2563eb;

    display:block;

    margin-bottom:12px;

}

.doctor-wrapper{

    position:relative;

    height:650px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.circle-bg{

    position:absolute;

    width:520px;

    height:520px;

    background:linear-gradient(180deg,#60a5fa,#2563eb);

    border-radius:50%;

}

.doctor-image{

    position:relative;

    width:470px;

    z-index:3;

}

.heart-card{

    position:absolute;

    top:130px;

    left:40px;

    width:120px;

    height:120px;

    background:white;

    border-radius:30px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:55px;

    color:#2563eb;

    box-shadow:0 20px 45px rgba(0,0,0,.08);

    z-index:4;

}

.stats-card{

    position:absolute;

    bottom:20px;

    display:flex;

    gap:45px;

    background:white;

    padding:22px 40px;

    border-radius:24px;

    box-shadow:0 25px 60px rgba(0,0,0,.08);

    z-index:4;

}

.stats-card strong{

    display:block;

    font-size:32px;

    color:#2563eb;

}

.stats-card small{

    color:#64748b;

}
/* استایل‌های مربوط به هدر و منو */
.nav-links {
    gap: 25px; /* ایجاد فاصله بین گزینه‌های فهرست */
    align-items: center;
}

.nav-links a {
    color: #1e293b; /* رنگ متن لینک‌ها */
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #2563eb; /* تغییر رنگ به آبی (هم‌رنگ دکمه‌ها) هنگام قرار گرفتن موس */
}
/* کانتینر اسکرول افقی */
.categories-scroll-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 4px 16px 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* سفارشی‌سازی ظاهر اسکرول‌بار */
.categories-scroll-wrapper::-webkit-scrollbar {
    height: 5px;
}

.categories-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.categories-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.categories-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0284c7;
}

/* کارت‌های فشرده افقی (Chips) */
.category-chip {
    flex: 0 0 auto; /* جلوگیری از جمع شدن کارت‌ها */
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.25s ease;
    min-width: 170px;
}

.category-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
    border-color: #0284c7;
    color: #0284c7;
}

.chip-icon {
    width: 38px;
    height: 38px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.chip-info {
    display: flex;
    flex-direction: column;
}

.chip-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
}

.chip-count {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}
.site-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #1e293b;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 12px 20px 18px;
    border-top: 1px solid #f1f5f9;
}
.mobile-nav.show {
    display: flex;
}
.mobile-nav a {
    padding: 10px 0;
    color: #334155;
    font-weight: 500;
    border-bottom: 1px solid #f8fafc;
}
/* ==========================================
   اصلاح کشیدگی Hero در دسکتاپ و مانیتورهای عریض
   ========================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: linear-gradient(135deg, #eef6ff, #ffffff);
}

/* محدود کردن حداکثر عرض کانتینر برای جلوگیری از کشیدگی در مانیتورهای بزرگ */
.hero .container {
    max-width: 1200px; /* جلوگیری از پخش شدن بیش از حد المان‌ها */
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px; /* تعدیل اندازه فونت برای متناسب شدن با تصویر */
    font-weight: 900;
    margin: 20px 0 15px;
    line-height: 1.4;
    color: #0f172a;
}

.hero h1 span {
    display: block;
    color: #2563eb;
}

.hero p {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
    max-width: 480px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

/* --- بخش تصویر پزشک و کارت‌ها --- */
.doctor-wrapper {
    position: relative;
    height: 420px; /* کاهش ارتفاع از ۶۵۰ به ۴۲۰ برای جمع‌وجور شدن */
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-bg {
    position: absolute;
    width: 360px; /* تعدیل سایز دایره */
    height: 360px;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    border-radius: 50%;
}

.doctor-image {
    position: relative;
    width: 330px; /* تعدیل سایز تصویر پزشک */
    height: auto;
    z-index: 3;
}

.heart-card {
    position: absolute;
    top: 40px;
    right: 20px; /* جهت‌دهی صحیح برای RTL */
    width: 75px;
    height: 75px;
    background: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    color: #2563eb;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    z-index: 4;
}

.stats-card {
    position: absolute;
    bottom: 0px;
    display: flex;
    gap: 30px;
    background: white;
    padding: 15px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
    z-index: 4;
}

.stats-card strong {
    display: block;
    font-size: 22px;
    color: #2563eb;
    text-align: center;
}

.stats-card small {
    color: #64748b;
    font-size: 13px;
}

/* --- تنظیمات موبایل و تبلت --- */
@media (max-width: 991px) {
    .hero {
        text-align: center;
        padding: 40px 0;
    }

    .hero p {
        margin: 0 auto 25px auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .doctor-wrapper {
        margin-top: 30px;
        height: 380px;
    }

    .circle-bg {
        width: 300px;
        height: 300px;
    }

    .doctor-image {
        width: 280px;
    }

    .heart-card {
        top: 20px;
        right: 10%;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .stats-card {
        padding: 12px 20px;
        gap: 20px;
    }
}
/* ==========================================
   استایل‌های اختصاصی صفحه همه دسته‌بندی‌ها
   ========================================== */

.category-page-card {
    transition: all 0.3s ease-in-out;
    border-color: #e2e8f0 !important;
}

.category-page-card:hover {
    transform: translateY(-8px);
    border-color: #2563eb !important;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.12) !important;
}

.category-page-icon {
    width: 65px;
    height: 65px;
    background-color: #e0f2fe;
    color: #2563eb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.category-page-card:hover .category-page-icon {
    background-color: #2563eb;
    color: #ffffff;
    transform: scale(1.05);
}

.category-card-arrow {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.category-page-card:hover .category-card-arrow {
    opacity: 1;
    transform: translateX(-4px);
}
