/* ==========================================================================
   Dentistry Center — استایل سفارشی
   مکمل بوت‌استرپ ۵ (RTL). رنگ‌ها و فاصله‌ها با متغیرهای CSS کنترل می‌شوند.
   ========================================================================== */

:root {
    --dc-primary: #2563d6;      /* آبی اصلی */
    --dc-primary-dark: #1b3b8f; /* آبی تیره برای بنر اپلیکیشن */
    --dc-primary-700: #1d4ed8;
    --dc-ink: #1f2a44;          /* رنگ متن اصلی */
    --dc-muted: #7b8499;        /* متن خاکستری */
    --dc-line: #e8edf5;         /* خطوط و حاشیه‌ها */
    --dc-soft: #f4f7fc;         /* پس‌زمینه ملایم */
    --dc-soft-2: #eef3fb;
    --dc-star: #f5a623;         /* رنگ ستاره امتیاز */
    --dc-shadow: 0 10px 30px rgba(31, 42, 68, .06);
    --dc-shadow-lg: 0 18px 50px rgba(31, 42, 68, .10);
    --dc-radius: 16px;
}

* {
    font-feature-settings: "ss01";
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dc-ink);
    background: #fff;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

/* اعداد فارسی بهتر دیده می‌شوند با وزن متوسط */
.fa-num { font-variant-numeric: tabular-nums; }

/* ---------- دکمه‌ها ---------- */
.btn-dc-primary {
    background: var(--dc-primary);
    border-color: var(--dc-primary);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    padding: .55rem 1.4rem;
}
.btn-dc-primary:hover {
    background: var(--dc-primary-700);
    border-color: var(--dc-primary-700);
    color: #fff;
}
.btn-dc-outline {
    background: #fff;
    border: 1.5px solid var(--dc-line);
    color: var(--dc-ink);
    border-radius: 10px;
    font-weight: 600;
    padding: .55rem 1.4rem;
}
.btn-dc-outline:hover {
    border-color: var(--dc-primary);
    color: var(--dc-primary);
}
.btn-dc-soft {
    background: var(--dc-soft-2);
    color: var(--dc-primary);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: .5rem 1rem;
    font-size: .9rem;
}
.btn-dc-soft:hover { background: #e1ebfb; color: var(--dc-primary-700); }

/* ==========================================================================
   هدر / نوبار
   ========================================================================== */
.dc-navbar {
    background: #fff;
    border-bottom: 1px solid var(--dc-line);
    padding-block: .6rem;
}
.dc-brand { display: flex; align-items: center; gap: .55rem; }
.dc-brand-icon {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: var(--dc-soft-2);
    color: var(--dc-primary);
    border-radius: 10px;
    font-size: 1.2rem;
}
.dc-brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.2; color: var(--dc-ink); }
.dc-brand-sub  { font-size: .68rem; color: var(--dc-muted); font-weight: 500; }

.dc-navbar .nav-link {
    color: var(--dc-ink);
    font-weight: 500;
    font-size: .95rem;
    padding-inline: .85rem;
}
.dc-navbar .nav-link:hover,
.dc-navbar .nav-link.active { color: var(--dc-primary); }

/* ==========================================================================
   بخش هیرو
   ========================================================================== */
.dc-hero {
    background:
        radial-gradient(120% 120% at 0% 0%, #eaf1fd 0%, #f6f9ff 45%, #ffffff 100%);
    overflow: hidden;
}
.dc-hero-title {
    font-weight: 800;
    font-size: clamp(1.9rem, 4.5vw, 3.1rem);
    line-height: 1.35;
    color: var(--dc-ink);
}
.dc-hero-title .accent { color: var(--dc-primary); }
.dc-hero-lead {
    color: var(--dc-muted);
    font-size: 1.05rem;
    max-width: 30rem;
}
.dc-hero-img-wrap {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--dc-shadow-lg);
}
.dc-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* جعبه جستجوی روی هیرو */
.dc-search-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--dc-shadow-lg);
    padding: 1rem;
}
.dc-search-input {
    border: 1.5px solid var(--dc-line);
    border-radius: 12px;
    padding: .85rem 1rem;
    height: auto;
}
.dc-search-input:focus {
    border-color: var(--dc-primary);
    box-shadow: 0 0 0 .2rem rgba(37, 99, 214, .12);
}
.dc-result {
    display: flex; align-items: center; gap: .85rem;
    padding: .7rem .35rem;
    border-bottom: 1px solid var(--dc-line);
}
.dc-result:last-child { border-bottom: 0; }
.dc-result-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    object-fit: cover; flex: 0 0 auto;
    background: var(--dc-soft-2);
}
.dc-result-name { font-weight: 700; font-size: .98rem; }
.dc-result-meta { color: var(--dc-muted); font-size: .82rem; }
.dc-result-loc  { color: var(--dc-muted); font-size: .85rem; white-space: nowrap; }

/* ==========================================================================
   نوار آمار
   ========================================================================== */
.dc-stats {
    background: #fff;
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
}
.dc-stat { display: flex; align-items: center; gap: .8rem; padding: 1.1rem .5rem; }
.dc-stat-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--dc-soft-2); color: var(--dc-primary);
    flex: 0 0 auto; font-size: 1.15rem;
}
.dc-stat-num { font-weight: 800; font-size: 1.25rem; line-height: 1; }
.dc-stat-label { color: var(--dc-muted); font-size: .85rem; }
.dc-stat + .dc-stat { border-right: 1px solid var(--dc-line); }
@media (max-width: 767.98px) {
    .dc-stat + .dc-stat { border-right: 0; }
}

/* ==========================================================================
   ویژگی‌ها (آیکون‌های وسط صفحه)
   ========================================================================== */
.dc-feature { text-align: center; padding: 1rem; }
.dc-feature-icon {
    width: 70px; height: 70px; border-radius: 50%;
    display: grid; place-items: center; margin-inline: auto;
    background: var(--dc-soft-2); color: var(--dc-primary);
    font-size: 1.7rem; margin-bottom: 1rem;
}
.dc-feature-title { font-weight: 700; margin-bottom: .35rem; }
.dc-feature-text { color: var(--dc-muted); font-size: .92rem; }

/* ==========================================================================
   عنوان بخش‌ها
   ========================================================================== */
.dc-section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.75rem; gap: 1rem;
}
.dc-section-title { font-weight: 800; font-size: 1.5rem; margin: 0; }
.dc-section-link { color: var(--dc-primary); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.dc-section-link:hover { color: var(--dc-primary-700); }

.dc-section-soft { background: var(--dc-soft); }

/* ==========================================================================
   کارت پزشک ویژه
   ========================================================================== */
.dc-doc-card {
    background: #fff;
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dc-doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dc-shadow);
    border-color: #d6e2f7;
}
.dc-doc-avatar {
    width: 84px; height: 84px; border-radius: 50%;
    object-fit: cover; margin-inline: auto; margin-bottom: .85rem;
    border: 3px solid var(--dc-soft-2);
    background: var(--dc-soft-2);
}
.dc-doc-name { font-weight: 700; font-size: 1rem; margin-bottom: .15rem; }
.dc-doc-spec { color: var(--dc-muted); font-size: .85rem; }
.dc-doc-city { color: var(--dc-muted); font-size: .82rem; }
.dc-doc-rate { font-weight: 700; font-size: .9rem; margin: .55rem 0 .85rem; }
.dc-doc-rate .star { color: var(--dc-star); }

/* اسلایدر افقی کارت‌ها */
.dc-doc-scroller {
    display: flex; gap: 1rem; overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .5rem;
    scrollbar-width: thin;
}
.dc-doc-scroller > * { scroll-snap-align: start; }
.dc-doc-scroller::-webkit-scrollbar { height: 6px; }
.dc-doc-scroller::-webkit-scrollbar-thumb { background: #d6e2f7; border-radius: 99px; }
.dc-doc-slide { flex: 0 0 auto; width: 220px; }
@media (max-width: 575.98px) { .dc-doc-slide { width: 78%; } }

.dc-scroll-btn {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--dc-line); background: #fff;
    color: var(--dc-primary); display: grid; place-items: center;
    box-shadow: var(--dc-shadow); flex: 0 0 auto; cursor: pointer;
}
.dc-scroll-btn:hover { background: var(--dc-primary); color: #fff; border-color: var(--dc-primary); }

/* ==========================================================================
   بنر اپلیکیشن
   ========================================================================== */
.dc-app-banner {
    background: linear-gradient(135deg, var(--dc-primary-dark) 0%, var(--dc-primary-700) 100%);
    border-radius: 22px;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.dc-app-title { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.dc-app-sub { color: rgba(255,255,255,.85); }
.dc-app-feature { color: rgba(255,255,255,.92); font-size: .9rem; text-align: center; }
.dc-app-feature i { font-size: 1.3rem; display: block; margin-bottom: .35rem; }
.dc-store-btn {
    display: inline-flex; align-items: center; gap: .6rem;
    background: #fff; color: var(--dc-ink);
    border-radius: 12px; padding: .55rem 1.1rem; font-weight: 600;
    min-width: 170px;
}
.dc-store-btn i { font-size: 1.6rem; }
.dc-store-btn small { display: block; font-size: .65rem; color: var(--dc-muted); font-weight: 500; }
.dc-store-btn:hover { background: #f1f5fc; color: var(--dc-ink); }
.dc-phone-img { max-width: 100%; filter: drop-shadow(0 25px 40px rgba(0,0,0,.3)); }

/* ==========================================================================
   کارت مقاله
   ========================================================================== */
.dc-article {
    background: #fff;
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    overflow: hidden;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}
.dc-article:hover { transform: translateY(-4px); box-shadow: var(--dc-shadow); }
.dc-article-thumb { aspect-ratio: 16 / 11; width: 100%; object-fit: cover; background: var(--dc-soft-2); }
.dc-article-body { padding: 1rem; }
.dc-article-title { font-weight: 700; font-size: .98rem; line-height: 1.7; margin-bottom: .6rem; }
.dc-article-meta { color: var(--dc-muted); font-size: .8rem; display: flex; align-items: center; gap: .35rem; }

/* ==========================================================================
   آموزش‌های ویژه پزشکان
   ========================================================================== */
.dc-course {
    background: #fff;
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
}
.dc-course-icon {
    width: 64px; height: 64px; border-radius: 14px;
    display: grid; place-items: center; margin-inline: auto; margin-bottom: 1rem;
    background: var(--dc-soft-2); color: var(--dc-primary); font-size: 1.5rem;
}
.dc-course-title { font-weight: 700; margin-bottom: .4rem; font-size: 1rem; }
.dc-course-text { color: var(--dc-muted); font-size: .88rem; margin-bottom: 1rem; }

/* ==========================================================================
   تجربیات پزشکان (CTA)
   ========================================================================== */
.dc-cta-box {
    background: var(--dc-soft);
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    padding: 2rem;
}
.dc-cta-illus {
    width: 90px; height: 90px; border-radius: 18px;
    display: grid; place-items: center;
    background: #fff; border: 1px solid var(--dc-line);
    color: var(--dc-primary); font-size: 2.2rem; flex: 0 0 auto;
}

/* ==========================================================================
   نوار اعتماد (trust)
   ========================================================================== */
.dc-trust { display: flex; align-items: center; gap: .85rem; padding: 1rem .5rem; }
.dc-trust-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: grid; place-items: center; flex: 0 0 auto;
    background: var(--dc-soft-2); color: var(--dc-primary); font-size: 1.25rem;
}
.dc-trust-title { font-weight: 700; font-size: .95rem; }
.dc-trust-text { color: var(--dc-muted); font-size: .82rem; }

/* ==========================================================================
   فوتر
   ========================================================================== */
.dc-footer {
    background: #0f1b33;
    color: #cdd6e8;
    padding-block: 3rem 1.5rem;
}
.dc-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.1rem; }
.dc-footer a { color: #cdd6e8; font-size: .9rem; display: inline-block; padding: .25rem 0; }
.dc-footer a:hover { color: #fff; }
.dc-footer-brand { font-weight: 800; color: #fff; font-size: 1.1rem; }
.dc-footer-about { color: #97a4bf; font-size: .88rem; line-height: 2; }
.dc-footer-contact { display: flex; align-items: center; gap: .6rem; color: #cdd6e8; font-size: .9rem; padding: .3rem 0; }
.dc-footer-contact i { color: var(--dc-primary); }
.dc-social {
    width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.07); color: #cdd6e8;
}
.dc-social:hover { background: var(--dc-primary); color: #fff; }
.dc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 2rem; padding-top: 1.25rem;
    color: #8492ad; font-size: .82rem; text-align: center;
}

/* ==========================================================================
   ریسپانسیو عمومی
   ========================================================================== */
@media (max-width: 991.98px) {
    .dc-hero-img-wrap { margin-bottom: 1.5rem; }
}
