/* تعریف فونت وزیر متن - وزن فوق ضخیم */
@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;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/Kalame/KalamehWeb-Thin.woff2') format('woff2'),
    url('../fonts/Kalame/KalamehWeb-Thin.woff') format('woff');
    font-weight: 100; /* وزن اسلیم یا تین */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/Kalame/KalamehWeb-ExtraBold.woff2') format('woff2'),
    url('../fonts/Kalame/KalamehWeb-ExtraBold.woff') format('woff');
    font-weight: 800; /* وزن اسلیم یا تین */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/Kalame/KalamehWeb-Medium.woff2') format('woff2'),
    url('../fonts/Kalame/KalamehWeb-Medium.woff') format('woff');
    font-weight: 500; /* وزن اسلیم یا تین */
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   ۱. تعریف فونت دانا (Dana)
   ========================================================================== */
@font-face { font-family: 'Dana'; src: url('../fonts/Dana-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('../fonts/Dana-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('../fonts/Dana-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('../fonts/Dana-DemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('../fonts/Dana-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('../fonts/Dana-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('../fonts/Dana-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* ==========================================================================
   ۲. تعریف فونت ایران سنس ایکس (IRANSansX)
   ========================================================================== */
@font-face { font-family: 'IRANSansX'; src: url('../fonts/IRANSansX-Thin.woff2') format('woff2'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('../fonts/IRANSansX-UltraLight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('../fonts/IRANSansX-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('../fonts/IRANSansX-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('../fonts/IRANSansX-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('../fonts/IRANSansX-DemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('../fonts/IRANSansX-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('../fonts/IRANSansX-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('../fonts/IRANSansX-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* ==========================================================================
   ۳. تعریف فونت ایران یکان ایکس (IRANYekanX)
   ========================================================================== */
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-Thin.woff2') format('woff2'); font-weight: 100; font-style: normal; font-display: swap; }





/* ==========================================================================
   اتصال آفلاین فونت آسوم نسخه ۶ (Font Awesome 6 Free)
   ========================================================================== */

/* ۱. تعریف بیس فونت آسوم */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('../font-awesome/webfonts/fa-solid-900.woff2') format('woff2'),
    url('../font-awesome/webfonts/fa-solid-900.ttf') format('truetype');
}

/* ۲. تعریف آیکون‌های برندها (مثل اینستاگرام، یوتیوب، فیسبوک) */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../font-awesome/webfonts/fa-brands-400.woff2') format('woff2'),
    url('../font-awesome/webfonts/fa-brands-400.ttf') format('truetype');
}

/* ۳. تعریف آیکون‌های معمولی (Regular) */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../font-awesome/webfonts/fa-regular-400.woff2') format('woff2'),
    url('../font-awesome/webfonts/fa-regular-400.ttf') format('truetype');
}

/* ۴. کلاس‌های اصلی فونت آسوم برای رندر شدن در مرورگر */
.fa, .fas, .fa-solid {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}
.far, .fa-regular {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
}
.fab, .fa-brands {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
}

.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}
/* ==========================================================================
   تنظیمات پایه و ریست استایل‌ها
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-family: 'IRANSansX', Tahoma, sans-serif; /* فونت پیش‌فرض کل سایت */
}

body {
    background: radial-gradient(circle at 45% 15%, #f8f4f6 20%, #fafafa 35%, #ffffff 70%);
    background-attachment: fixed; /* ثابت نگه داشتن پس‌زمینه هنگام اسکرول برای حس لوکس‌تر */
    color: #2d3436;
    overflow-x: hidden;
    line-height: 1.7;
}

/* اورراید کردن گرادینت بدنه فقط برای این صفحه */
body.faq-page {
    background: #ffffff !important;
}

body.faq-page {
    background: #fefefe !important;
}


body.about-page {
    background-color: transparent;
    background-image: linear-gradient(180deg, #EED9E13B 0%, #FFFFFF 100%);
}


a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
    --primary-color: #d4af37; /* این متغیرها را بر اساس رنگ کلینیک تغییر می‌دهیم */
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --transition-smooth: all 0.3s ease;
}

/* ==========================================================================
   طراحی هدر اختصاصی دندانپزشکی (نسخه نهایی پیکسلی و هماهنگ با طرح نمونه)
   ========================================================================= */

.main-header {
    position: relative;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 4px;
    z-index: 999;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* ۱. بخش لوگو */
.header-right {
    display: flex;
    align-items: center;
    border-left: 1px solid #d2d3d4;
    padding-left: 25px;
}

.header-logo img {
    display: block;
    max-height: 35px;
    width: auto;
}

/* ۲. بخش منوی اصلی و زیرمنوهای هوشمند */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    font-size: 13.5px;
    font-weight: 500;
    color: #2b2b2b;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-item:hover > a,
.menu-item.active > a {
    color: #9e325a;
}

/* استایل آیکون‌های فلش فونت آسوم */
.nav-arrow {
    font-size: 10px;
    color: #777777;
    transition: transform 0.2s ease;
}

.nav-arrow-left {
    font-size: 10px;
    color: #777777;
    margin-right: auto; /* کشیدن فلش به منتهی‌الیه چپ کادر منوی لایه دوم */
}

.menu-item:hover > a .nav-arrow {
    transform: rotate(180deg); /* چرخش بسیار شیک آیکون فلش موقع باز شدن */
    color: #9e325a;
}

/* لایه اول منو باز شونده (خدمات) */
.sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background-color: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 12px;
    list-style: none;
}

.sub-menu li {
    position: relative; /* برای اینکه لایه سوم دقیقاً نسبت به همین دکمه جابجا شود */
}

.sub-menu li a {
    display: flex;
    align-items: center;
    padding: 11px 20px;
    font-size: 13px;
    color: #4a4a4a;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: right;
}

.sub-menu li:hover > a {
    background-color: #fdf8fa;
    color: #9e325a;
}

/* نمایش لایه اول با هاور روی منوی اصلی */
.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================================
   لایه سوم منو باز شونده (زیرمنوی تودرتو - کشیدن دندان عقل)
   ========================================================================= */
.deep-sub-menu {
    position: absolute;
    top: 0;
    right: 100%; /* منوی لایه سوم دقیقاً از سمت چپِ منوی لایه دوم بیرون می‌زند */
    left: auto;
    background-color: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-12px); /* انیمیشن ورود نرم افقی از راست به چپ */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    list-style: none;
    margin-right: 5px; /* یک فاصله بسیار جزیی تا به منوی قبلی نچسبد */
}

/* نمایش هوشمند لایه سوم وقتی موس روی دکمه لایه دوم (کشیدن دندان) می‌رود */
.sub-menu li:hover > .deep-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


/* ۳. بخش سمت چپ: شبکه‌های اجتماعی و پرچم‌ها */
.header-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #9e325a;
    color: #ffffff;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.icon-box img {
    display: block;
}

.icon-box i {
    font-weight: 300 !important;
}

.icon-box:hover {
    background-color: #822547;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(158, 50, 90, 0.2);
}

/* سوئیچر پرچم‌ها */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
    transition: all 0.25s ease;
    border-radius: 50%;
    overflow: hidden;
}

.lang-flag img {
    display: block;
    object-fit: cover;
    height: 24px;
    width: 24px;
    border-radius: 4px;
}

.lang-flag:hover, .lang-flag.active {
    opacity: 1;
    transform: scale(1.08);
}



/* ==========================================================================
   تنظیمات ریسپانسیو و منوی موبایل (کاملاً منطبق بر تصویر نمونه)
   ========================================================================== */

/* دکمه همبرگری در حالت دسکتاپ مخفی است */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2b2b2b;
    cursor: pointer;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* در حالت عادی منو مخفی است */
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    transition: right 0.4s ease;
}

/* لایه باز شده منو */
.mobile-menu-overlay.open {
    right: 0;
}

.mobile-menu-content {
    width: 100%;
    /*max-width: 360px;*/
    height: 100%;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* هدر منوی موبایل شامل دکمه ضربدر، پرچم‌ها و لوگو */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.menu-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #333;
    cursor: pointer;
}

.mobile-lang {
    display: flex;
    gap: 15px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #444;
}

.mobile-lang a {
    color: #777;
}

.mobile-lang a.active {
    color: #1a1a1a;
    border-bottom: 2px solid #9e325a;
}

.mobile-logo img {
    max-height: 28px;
    width: auto;
}

/* بدنه لیست منوی موبایل */
.mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.mobile-nav-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mobile-menu-item {
    border-bottom: 1px solid #f7f7f7;
}

.mobile-menu-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 25px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

/* رنگ نوار افقی زرشکی برای صفحه نخست در تصویر نمونه */
.mobile-menu-item.active-accent {
    background-color: #9e325a;
}

.mobile-menu-item.active-accent > a {
    color: #ffffff;
}

.toggle-sub {
    font-size: 11px;
    color: #555;
    transition: transform 0.2s ease;
}

/* زیرمنوها در حالت موبایل */
.mobile-sub-menu, .mobile-deep-menu {
    display: none; /* پیش‌فرض بسته بودن */
    background-color: #fafafa;
    padding-right: 20px;
    list-style: none;
}

.mobile-sub-menu li a, .mobile-deep-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 25px;
    font-size: 13px;
    color: #555;
}

/* اعمال مدیا کوئری‌ها برای سوییچ هدر دسکتاپ به موبایل */
@media (max-width: 992px) {
    .main-navigation, .header-left {
        display: none; /* پنهان کردن منوی دسکتاپ و المان‌های چپ */
    }

    .menu-toggle {
        display: block; /* ظاهر شدن دکمه سه خط */
    }

    .header-container {
        padding: 2px 10px 5px 0;
    }

    .header-right {
        border-left: none;
        padding-left: 0;
    }

    .header-logo img{
        max-height: 28px;
    }

    .header-right-group{
        gap: 100%;
    }

}


/* ==========================================================================
   طراحی بخش هیرو (نسخه ویرایش‌شده و بهینه)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 40px 0;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* -----------------------------------------
   بخش سمت راست: تصویر پزشک و امضا
   ----------------------------------------- */
.hero-visual {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 500px;
}

.hero-signature-bg {
    position: absolute;
    right: -18%;
    top: 22%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.hero-signature-bg img {
    height: auto;
}

/* تصویر دکتر (المان‌های دکوراتیو در خود فایل png لحاظ شده‌اند) */
.dr-img {
    position: relative;
    z-index: 2;
    max-width: 75%;
    height: auto;
    display: block;
}

/* -----------------------------------------
   بخش سمت چپ: متون و تایتل
   ----------------------------------------- */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    padding-top: 8%;
}

.hero-title {
    font-family: 'Kalameh', sans-serif;
    font-size: 35px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.title-divider {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.line-dark {
    width: 12px;
    height: 4.7px;
    background-color: #1a1a1a;
    border-radius: 2px;
}

.line-accent {
    width: 55px;
    height: 4.7px;
    background-color: #9e325a;
    border-radius: 2px;
}

.hero-description {
    font-family: 'IRANSansX', sans-serif;
    font-size: 15.5px;
    color: #555555;
    line-height: 1.85;
    max-width: 455px;
    text-align: justify;
    margin-bottom: 25px;
}

/* -----------------------------------------
   انیمیشن اسلایدی افقی دکمه (راست به چپ)
   ----------------------------------------- */
.whatsapp-btn {
    display: inline-block;
    width: 270px; /* افزایش جزیی عرض برای جا شدن کامل متن در حرکت افقی */
    height: 54px;
    background-color: #00c65d;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 198, 93, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-slider {
    display: flex;
    flex-direction: row; /* چیدمان افقی وضعیت‌ها کنار هم */
    width: 240%; /* اختصاص فضای کافی برای هر دو وضعیت */
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-state {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 10px;
    width: 50%; /* هر وضعیت دقیقاً نصف کل عرض پوسته را می‌گیرد */
    height: 100%;
    color: #ffffff;
    flex-shrink: 0;
    padding: 0 15px;
    box-sizing: border-box;
}

/* وضعیت دوم: سبز تیره برای تغییر رنگ موقع حرکت موس */
.state-two {
    background-color: #00a64d;
}

.btn-text {
    font-family: 'IRANSansX', sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-icon {
    font-size: 34px;
}

/* اکشن هاور افقی: انتقال اسلایدر به اندازه ۵۰٪ به سمت چپ */
.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 198, 93, 0.35);
}

.whatsapp-btn:hover .btn-slider {
    transform: translateX(50%); /* در محیط RTL مقدار مثبت دکمه را به سمت چپ هل می‌دهد */
}

@media (max-width: 992px) {
    /* ==========================================================================
       ریسپانسیو پیکسلی بخش هیرو موبایل (کاملاً مطابق تصویر نمونه)
       ========================================================================== */
    .hero-section {
        min-height: auto;
        padding: 20px 0 60px 0;
    }

    body{
        background: white !important;
    }

    .hero-container {
        flex-direction: column; /* چیدمان عمودی المان‌ها */
        gap: 30px;
        padding: 0 24px; /* تنظیم پدینگ کانتینر برای موبایل */
    }

    /* ۱. باکس تصویر بالا */
    .hero-visual {
        min-width: 100%;
        width: 100%;
        order: 1; /* اولویت اول: قرارگیری در بالاترین بخش */
    }

    .dr-img {
        max-width: 85%; /* تنظیم ابعاد تصویر متناسب با اسکرین‌شات موبایل */
        margin: 0 auto;
    }

    .hero-signature-bg {
        right: 0;
        top: 15%;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-signature-bg img {
        max-width: 110%;
        height: auto;
    }

    /* ۲. باکس محتوا پایین */
    .hero-content {
        width: 100%;
        align-items: center; /* وسط‌چین کردن تمام محتویات متنی */
        text-align: center;
        padding-top: 0;
        order: 2; /* اولویت دوم: قرارگیری زیر تصویر */
    }

    .hero-title {
        font-size: 22px; /* بهینه‌سازی سایز تایتل برای اسکرین موبایل */
        font-weight: 600;
        text-align: center;
        line-height: 1.4;
    }

    /* وسط‌چین کردن خط دو تیکه */
    .title-divider {
        justify-content: center;
        margin-top: 12px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 14.5px;
        line-height: 1.8;
        max-width: 100%;
        text-align: justify; /* چینش وسط‌چین متن بر اساس تصویر نمونه موبایل */
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* ۳. تنظیم ابعاد دکمه واتساپ موبایل */
    .whatsapp-btn {
        width: 100%; /* دکمه تمام‌عرض شیک مطابق تصویر نمونه */
        max-width: 340px; /* جلوگیری از بزرگ شدن بیش از حد در تبلت‌ها */
        height: 52px;
    }

    .slide-state {
        justify-content: center; /* وسط‌چین شدن آیکون و متن داخل دکمه در موبایل */
        gap: 8px;
        padding-left: 15%;
    }

    .btn-text {
        font-size: 13.5px;
    }

    .btn-icon {
        font-size: 26px;
    }
}


/* ==========================================================================
   سکشن خدمات (دسکتاپ + اسلایدر لمسی موبایل)
   ========================================================================== */
.services-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    /* این سکشن کم‌کم به سفید خالص تبدیل می‌شود */
}

.services-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 70px;
}

/* هدر سکشن با متن واترمارک پشت */
.services-header {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.bg-watermark {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: sans-serif;
    font-size: 110px;
    font-weight: 300;
    color: #efeded; /* بسیار محو در پس‌زمینه */
    letter-spacing: 2px;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.services-title {
    position: relative;
    font-family: 'Kalameh', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    z-index: 2;
    margin: 0;
}

/* خط تفکیک وسط همراه با لوگو مینی‌مال */
.services-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.div-line {
    width: 50px;
    height: 1.5px;
    background-color: #1a1a1a;
}

.div-icon {
    opacity: 0.8;
}

/* گرید ۳ ستونه دسکتاپ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 11fr);
    gap: 40px;
}

/* استایل عمومی کارت‌ها (حالت سفید پیش‌فرض) */
.service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02); /* سایه بسیار ملایم ژورنالی */
    border: 1px solid #fcfcfc;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.card-icon {
    max-width: 100%;
    height: auto;
    transition: all 0.4s ease;
}

.card-title {
    font-family: 'Kalameh', sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 18px;
    transition: all 0.4s ease;
}

.card-desc {
    font-family: 'IRANSansX', sans-serif;
    font-size: 14px;
    color: #666666;
    line-height: 1.75;
    margin: 0;
    text-align: center;
    transition: all 0.4s ease;
}

/* افکت هاور کارت‌ها و دکمه فعال زرشکی (دقیقاً مطابق نمونه ارسالی) */
.service-card:hover,
.service-card.active-hover {
    background-color: #9e325a; /* رنگ زرشکی کلینیک */
    box-shadow: 0 15px 45px rgba(158, 50, 90, 0.25);
    transform: translateY(-5px);
}




.service-card:hover .card-title,
.service-card.active-hover .card-title,
.service-card:hover .card-desc,
.service-card.active-hover .card-desc {
    color: #ffffff;
}

/* ==========================================================================
   ریسپانسیو موبایل: تبدیل گرید به اسلایدر روان (Scroll Snap)
   ========================================================================== */
@media (max-width: 992px) {
    .services-section {
        padding: 50px 0;
    }

    .services-container {
        padding: 0 20px;
    }

    .bg-watermark {
        font-size: 48px;
        top: -15px;
    }

    .services-title {
        font-size: 24px;
        line-height: 1.4;
        padding: 0 10px;
    }

    /* تبدیل سطر به یک باکس اسکرول شیک افقی بدون شکستن خط */
    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* فیکس شدن باکس وسط صفحه بعد از رها کردن انگشت */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 20px 10px 40px 10px;
        margin-right: -10px; /* ایجاد افکت لبه بریده برای مشخص شدن ادامه داشتن اسلایدر */
    }

    /* پنهان کردن اسکرول‌بار دسکتاپ روی موبایل برای زیبایی کار */
    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 82%; /* هر کارت ۸۲ درصد عرض صفحه موبایل را می‌گیرد تا لبه کارت بعدی پیدا باشد */
        scroll-snap-align: center; /* تراز شدن وسط کارت با وسط اسکرین */
        padding: 35px 20px;
    }
}

/* ==========================================================================
   طراحی اسلایدر دو وضعیتی مینی‌مال (دسکتاپ + موبایل)
   ========================================================================== */
.specialty-slider-section {
    width: 100%;
    padding: 30px 0 60px 0;
    user-select: none; /* جلوگیری از سلکت شدن متن در زمان درگ */
}

.specialty-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 70px; /* ایجاد فاصله یکدست از چپ و راست در دسکتاپ */
    position: relative;
}

.w-s {
    max-width: 1400px !important;
}

.specialty-slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px; /* ارتفاع استاندارد ژورنالی مطابق ویدئو */
    border-radius: 15px;
    overflow: hidden;
    cursor: grab;
}

.h-s {
    height: 300px !important;
}

.specialty-slider-wrapper:active {
    cursor: grabbing;
}

/* ساختار عمومی هر اسلاید */
.specialty-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    visibility 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.specialty-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* تصویر پس‌زمینه اسلاید */
.slide-bg-image {
    width: 100%;
    /*height: 100%;*/
}

.slide-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay-content {
    position: absolute;
    inset: 0;
    display: block;
    text-align: right;
    width: 44%;
    margin-right: auto;
    margin-left: 0;
    padding-top: 140px;
    padding-right: 60px;
    padding-left: 60px;
    box-sizing: border-box;
}

/* -----------------------------------------
   انیمیشن‌های اختصاصی ورود متن
   ----------------------------------------- */
.slide-animated-title {
    font-family: 'Kalameh', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s; /* ورود با تاخیر شیک */
}

.slide-animated-desc {
    font-family: 'IRANSansX', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 500px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(25px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.35s; /* ورود بعد از عنوان */
}

/* فعال‌سازی انیمیشن‌ها زمانی که اسلاید کلاس active می‌گیرد */
.specialty-slide.active .slide-animated-title,
.specialty-slide.active .slide-animated-desc {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------
   طراحی دات‌ها (نقاط زیر اسلایدر)
   ----------------------------------------- */
.specialty-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.spec-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.spec-dot.active {
    background-color: #9e325a; /* رنگ زرشکی کلینیک */
    transform: scale(1.2);
}

/* ==========================================================================
   ریسپانسیو حالت موبایل
   ========================================================================== */
@media (max-width: 992px) {
    .specialty-container {
        padding: 0 20px; /* حفظ فاصله ایمن و ظریف از چپ و راست اسکرین در موبایل */
    }

    .specialty-slider-wrapper {
        height: 180px; /* بهینه‌سازی ارتفاع برای موبایل */
        border-radius: 18px;
    }

    .slide-overlay-content {
        width: 100%;
        padding-top: 40px; /* تنظیم ارتفاع شروع متن در موبایل */
        padding-left: 25px;
    }

    .slide-animated-title {
        font-size: 20px;
        margin-bottom: 10px;
    }


    .slide-animated-desc {
        font-size: 14px;
        line-height: 1.5;
    }
}


/* ==========================================================================
   طراحی سکشن درباره دکتر (نسخه وب و موبایل اصلاح شده)
   ========================================================================== */
.about-section {
    width: 100%;
    padding: 75px 0;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
    display: flex;
    flex-direction: row; /* در محیط RTL، آیتم اول سمت چپ و آیتم دوم سمت راست می‌نشیند */
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* بخش بصری سمت چپ (عکس و لایه‌ها) */
.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-layers-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 30rem;
}

.about-dr-img {
    position: relative;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    z-index: 5;
}

/* بخش محتوای متنی سمت راست */
.about-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.about-header {
    position: relative;
    margin-bottom: 35px;
    width: 100%;
}

.about-watermark {
    position: absolute;
    top: -55px;
    right: -10px;
    font-family: sans-serif;
    font-size: 90px;
    font-weight: 300;
    color: #efeded;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.about-title {
    position: relative;
    font-family: 'Kalameh', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #1a1a1a;
    z-index: 2;
    margin: 0;
}

.about-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.about-line {
    width: 45px;
    height: 1.5px;
    background-color: #1a1a1a;
}

.about-text-desc {
    font-family: 'IRANSansX', sans-serif;
    font-size: 16px;
    color: #444444;
    line-height: 1.95;
    margin: 0;
    text-align: justify;
}

/* ==========================================================================
   ریسپانسیو نسخه موبایل
   ========================================================================== */
@media (max-width: 992px) {
    .about-section {
        padding: 50px 0 70px 0;
    }

    .about-container {
        flex-direction: column; /* چیدمان عمودی در موبایل: متن بالا، عکس پایین */
        gap: 60px;
        padding: 0 24px;
    }

    .about-content {
        width: 100%;
        align-items: center;
        text-align: center;
        order: 1;
    }

    .about-watermark {
        font-size: 55px;
        top: -15px;
        right: 50%;
        transform: translateX(50%);
    }

    .about-title {
        font-size: 26px;
    }

    .about-divider {
        justify-content: center;
    }

    .about-text-desc {
        font-size: 14.5px;
        line-height: 1.85;
        text-align: center;
    }

    .about-visual {
        width: 100%;
        order: 2;
        padding-top: 20px;
    }

    .visual-layers-wrapper {
        max-width: 320px;
        height: 270px;
    }

}
/* ==========================================================================
   استایل پیکسلی گالری (دسکتاپ - بهینه‌شده)
   ========================================================================== */
.clinic-gallery-section {
    width: 100%;
    padding: 60px 0 100px 0;
}

.gallery-inner-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 70px; /* ایجاد فاصله هماهنگ و یکدست از چپ و راست در دسکتاپ */
}

/* باکس دکوراتیو عناوین آلبوم با لبه‌های گرد و افکت بلور روی تصویر */
.gallery-header-glass {
    position: relative;
    width: 100%;
    height: 270px;
    border-radius: 24px; /* لبه‌های گرد هماهنگ با کارت‌ها */
    overflow: hidden;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تصویر بک‌گراند داخل باکس آلبوم */
.glass-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glass-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* جلوگیری از سفید شدن لبه‌ها */
}

/* لایه متون و تب‌ها روی تصویر مات */
.gallery-tabs-content {
    position: relative;
    z-index: 5;
    display: flex;
    gap: 40px;
    direction: rtl;
}

.gallery-tab-item {
    background: none;
    border: none;
    font-family: 'IRANSansX', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gallery-tab-item:hover,
.gallery-tab-item.active {
    opacity: 1;
}

/* خط زیر تب فعال سفید رنگ */
.gallery-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

/* گرید اختصاصی کارت‌های گالری (با اعمال منفی برای بالا آمدن روی هدر) */
.gallery-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    z-index: 10;
    padding-right: 18px;
    margin-top: -80px; /* این خط تصاویر را به سمت بالا می‌کشد و روی هدر قرار می‌دهد */
}

/* استایل پیکسلی هر کارت عکس */
.clinic-gallery-card {
    width: 96%;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
    padding-bottom: 18px;
}

.clinic-gallery-card img {
    width: 350px;
    height: 270px;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

/* ==========================================================================
   نسخه موبایل و تبلت (ریسپانسیو کاملاً فیکس شده مطابق عکس ضمیمه)
   ========================================================================== */
@media (max-width: 992px) {
    .gallery-inner-container {
        padding: 0 16px; /* فاصله ظریف‌تر و شیک‌تر از طرفین در موبایل */
    }

    .gallery-header-glass {
        height: 140px; /* متناسب شدن ارتفاع باکس شیشه‌ای در موبایل */
        border-radius: 18px;
    }

    .gallery-tabs-content {
        gap: 15px; /* فشرده‌تر شدن دکمه‌ها در موبایل */
    }

    .gallery-tab-item {
        font-size: 14px;
        padding: 4px 0;
    }

    .gallery-tab-item.active::after {
        height: 2px; /* ظریف‌تر شدن خط زیر تب فعال در موبایل */
    }

    /* بازنویسی کامل گرید برای موبایل جهت جلوگیری از به‌هم‌ریختگی */
    .gallery-cards-grid {
        grid-template-columns: repeat(2, 1fr); /* دو ستونه شدن کامل */
        gap: 12px; /* ایجاد فواصل منظم بین کارت‌ها */
        padding-right: 0; /* حذف پدینگ دسکتاپ برای وسط‌چین شدن تصاویر */
        margin-top: -25px; /* تنظیم اورلپ منفی متناسب با ابعاد موبایل */
    }

    .clinic-gallery-card {
        width: 100%; /* استفاده از کل فضای ستون در موبایل */
        padding-bottom: 0; /* حذف فاصله پایینی دسکتاپ */
        box-shadow: none; /* سبک‌تر شدن لودر گرافیکی موبایل */
    }

    /* خنثی کردن ابعاد ثابت دسکتاپ و اعمال واکنش‌گرایی پیکسلی */
    .clinic-gallery-card img {
        width: 100% !important;  /* تصاویر کل عرض ستون خود را پر می‌کنند */
        height: 150px !important; /* ارتفاع متناسب با ابعاد دو ستونه موبایل */
        border-radius: 12px;     /* حفظ دقیق لبه‌های گرد مطابق اسکرین‌شات شما */
    }
}

/* ==========================================================================
   استایل سکشن نظرات و اسلایدر (نسخه دسکتاپ)
   ========================================================================== */
.comments-section {
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
}

.comments-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 70px;
    display: flex;
    flex-direction: row; /* در RTL: اسلایدر سمت چپ، متن سمت راست */
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* بخش محتوای متنی سمت راست */
.comments-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.comments-header {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

.comments-watermark {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-family: sans-serif;
    font-size: 114px;
    font-weight: 300;
    color: #f0f0f0;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.comments-title {
    position: relative;
    font-family: 'Kalameh', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #1a1a1a;
    z-index: 2;
    margin: 0;
}

.comments-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.comments-line {
    width: 45px;
    height: 1.5px;
    background-color: #1a1a1a;
}

.comments-desc {
    font-family: 'IRANSansX', sans-serif;
    font-size: 16px;
    color: #555555;
    line-height: 1.95;
    margin: 0;
    text-align: justify;
}

/* بخش اسلایدر سمت چپ */
.comments-slider-side {
    flex: 1.2;
    width: 100%;
    min-width: 0; /* فیکس کردن مشکل اورفلو Swiper در فلکس‌باکس */
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.commentsSwiper {
    width: 100%;
    padding: 15px 5px !important;
}

/* استایل دقیق پیکسلی کارت‌های سفید کامنت */
.comment-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    box-sizing: border-box;
}

.comment-text {
    font-family: 'IRANSansX', sans-serif;
    font-size: 15px;
    color: #444444;
    line-height: 1.85;
    margin: 0;
    text-align: justify;
    direction: rtl;
}

/* فوتر کارت شامل آواتار، نام و ستاره‌ها */
.comment-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    direction: rtl;
}

.user-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.user-name {
    font-family: 'IRANSansX', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #9e325a; /* رنگ تم اصلی کلینیک شما */
    margin: 0;
}

.user-service {
    font-family: 'IRANSansX', sans-serif;
    font-size: 12.5px;
    color: #777777;
}

.user-stars {
    font-size: 13px;
    letter-spacing: 2px;
}

/* استایل مینی‌مال دات‌های زیر اسلایدر */
.comments-pagination {
    position: relative !important;
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.comments-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #cccccc;
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.comments-pagination .swiper-pagination-bullet-active {
    background: #1a1a1a;
    width: 8px;
    height: 8px;
}

/* ==========================================================================
   نسخه موبایل (کاملاً منطبق بر ساختار عمودی اسکرین‌شات موبایل)
   ========================================================================== */
@media (max-width: 992px) {
    .comments-section {
        padding: 60px 0;
    }

    .comments-container {
        flex-direction: column; /* متن بالا، اسلایدر پایین */
        gap: 45px;
        padding: 0 24px;
    }

    .comments-content-side {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .comments-watermark {
        font-size: 55px;
        top: -15px;
        right: 50%;
        transform: translateX(50%);
    }

    .comments-title {
        font-size: 26px;
    }

    .comments-divider {
        justify-content: center;
    }

    .comments-desc {
        font-size: 14.5px;
        line-height: 1.85;
        text-align: center;
    }

    .comments-slider-side {
        width: 100%;
    }

    .comment-card {
        padding: 25px;
        border-radius: 18px;
    }
}

/* ==========================================================================
   استایل بنرهای اجتماعی (نسخه دسکتاپ)
   ========================================================================== */
.social-banners-section {
    width: 100%;
    padding: 35px 0 100px 0;
}

.social-banners-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 70px; /* حفظ فاصله سراسری متقارن از چپ و راست */
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    direction: rtl; /* چیدمان از راست به چپ: اول اینستاگرام، بعد یوتیوب */
}

/* استایل پایه کارت‌های بنر */
.social-banner-card {
    flex: 1;
    position: relative;
    height: 110px;
    border-radius: 24px; /* لبه‌های گرد استاندارد کل قالب */
    display: flex;
    align-items: center;
    padding: 0 45px;
    text-decoration: none;
    overflow: visible; /* بسیار مهم: اجازه می‌دهد تصاویر موکاپ از لبه‌ها بیرون بزنند */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-banner-card:hover {
    transform: translateY(-4px);
}

.instagram-card{
    justify-content: left;
}

/* کانتینر متن داخل بنر */
.banner-content {
    width: 60%; /* اختصاص فضا برای جلوه موکاپ سه‌بعدی */
    z-index: 99;
}

.banner-text {
    font-family: 'IRANSansX', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.75;
    margin: 0;
    text-align: right;
}

/* استایل تصاویر موکاپ سه‌بعدی (3D Mockup) بیرون‌زده */
.banner-mockup {
    position: absolute;
    bottom: -10px; /* خروج دکوراتیو تصویر از لبه پایینی */
    z-index: 10;
}

.banner-mockup img {
    display: block;
    height: 255px; /* بزرگ‌تر از ارتفاع کادر برای ایجاد اورلپ */
    width: auto;
    object-fit: contain;
}

/* پوزیشن دقیق موکاپ اینستاگرام (سمت چپِ کارتِ راست) */
.item-instagram {
    left: 25px;
}

/* پوزیشن دقیق موکاپ یوتیوب (سمت چپِ کارتِ چپ) */
.item-youtube {
    left: 40px;
    bottom: -5px;
}

/* ==========================================================================
   نسخه موبایل (اصلاح شده و کاملاً منطبق بر اسکرین‌شات ضمیمه)
   ========================================================================== */
@media (max-width: 992px) {
    .social-banners-section {
        padding: 60px 0 60px 0; /* کاهش پدینگ‌های بیرونی در موبایل */
    }

    .social-banners-container {
        flex-direction: column; /* چیدمان عمودی کارت‌ها روی هم */
        gap: 110px; /* فاصله بهینه بین دو کارت برای جلوگیری از تداخل تصاویر بیرون‌زده */
        padding: 20px 35px 0 40px;
    }

    .social-banner-card {
        width: 100%;
        height: 115px; /* هماهنگ با تناسبات دسکتاپ جدید شما */
        border-radius: 20px;
        padding: 0 25px;
        box-sizing: border-box;
    }

    /* کانتینر متن در موبایل */
    .banner-content {
        width: 56%; /* ایجاد فضای پهن‌تر تا متن به زیبایی در دو خط جا شود */
        flex-grow: unset; /* غیرفعال کردن فلکس اضافه */
    }

    .banner-text {
        font-size: 13.5px;
        line-height: 1.7;
    }

    /* تنظیمات پیکسلی موکاپ‌های سه‌بعدی شناور در موبایل */
    .banner-mockup {
        bottom: 0;
        height: auto;
    }

    .banner-mockup img {
        height: 165px; /* اسکیل پیکسلی تصویر متناسب با ارتفاع ۱۱۵ کادر */
    }

    /* پوزیشن اختصاصی موکاپ اینستاگرام در موبایل */
    .item-instagram {
        left: -15px;
        bottom: -20px; /* بیرون‌زدگی به سمت پایین */
    }

    /* پوزیشن اختصاصی موکاپ یوتیوب در موبایل */
    .item-youtube {
        left: -10px;
        bottom: -25px; /* بیرون‌زدگی به سمت پایین */
    }
}

/* ==========================================================================
   استایل دسکتاپ سکشن ویدیو مقایسه‌ای
   ========================================================================== */
.video-compare-section {
    width: 100%;
    padding: 60px 0;
    background-color: #ffffff;
}

.video-compare-card {
    max-width: 1155px;
    margin: 0 auto;
    /* اعمال پدینگ جانبی برای حفظ فاصله متقارن باکس از چپ و راست صفحه */


    position: relative;
    background-color: #f7f7f9; /* رنگ خاکستری محو و ملایم باکس */
    border-radius: 28px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    direction: rtl;
    overflow: visible; /* برای پترن‌های نقطه‌ای که بخشی از آن‌ها بیرون باکس قرار دارد */
}

/* ساختار پترن‌های نقطه‌چین دکوراتیو با دایره‌های CSS */
.dot-pattern {
    position: absolute;
    width: 80px;
    height: 100px;
    opacity: 0.25;
    background-image: radial-gradient(#6c757d 1.5px, transparent 1.5px);
    background-size: 8px 8px;
    z-index: 1;
    pointer-events: none;
}

/* موقعیت ۱: پشت ویدیو، بالا سمت چپ */
.dot-top-left {
    top: -20px;
    left: -20px;
}

/* موقعیت ۲: پشت ویدیو، وسط سمت راست ویدیو (داخل باکس) */
.dot-mid-right {
    top: 50px;
    left: 45%;
}

/* موقعیت ۳: گوشه پایین سمت راست، زیر متن */
.dot-bottom-right {
    bottom: -15px;
    right: 40px;
}

/* استایل کانتینر ویدیو */
.video-player-wrapper {
    position: relative;
    flex: 0 0 40%; /* ابعاد متناسب با تصویر دسکتاپ */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background-color: #000000;
    aspect-ratio: 16 / 9;
    z-index: 2;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* دکمه پلی شیشه‌ای دایره‌ای وسط ویدیو */
.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85px;
    height: 85px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(8px);
    border: 3px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.custom-play-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(1.05);
}

.custom-play-btn svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
    margin-left: -4px; /* اصلاح جزیی برای تراز شدن هندسی مثلث در مرکز دایره */
}

/* استایل بخش متنی */
.video-text-content {
    flex: 1;
    text-align: right;
    z-index: 2;
    padding-right: 20px;
}

.video-title {
    font-family: 'Kalameh', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.video-subtitle {
    font-family: 'IRANSansX', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #7a7a7a;
    margin: 0;
}

/* ==========================================================================
   نسخه موبایل (متن در بالا، ویدیو در پایین)
   ========================================================================== */
@media (max-width: 992px) {
    .video-compare-section {
        padding: 30px 0;
    }

    .video-compare-card {
        margin-left: 24px;
        margin-right: 24px;
        flex-direction: column; /* تغییر جهت چیدمان به عمودی */
        padding: 40px 24px;
        gap: 35px;
    }

    /* جابجایی ترتیبی المان‌ها در موبایل: متن اول، ویدیو دوم */
    .video-text-content {
        order: 1;
        text-align: center;
        padding-right: 0;
    }

    .video-player-wrapper {
        order: 2;
        width: 100%;
        flex: none;
    }

    .video-title {
        font-size: 22px;
        line-height: 1.6;
        text-align: center;
    }

    .video-subtitle {
        font-size: 14px;
        text-align: center;
    }

    .custom-play-btn {
        width: 65px;
        height: 65px;
    }

    .custom-play-btn svg {
        width: 24px;
        height: 24px;
    }

    /* تنظیم مجدد پوزیشن نقطه‌چین‌ها متناسب با ساختار عمودی موبایل */
    .dot-top-left {
        top: -15px;
        left: -15px;
    }

    .dot-mid-right {
        top: unset;
        bottom: 20px;
        left: -15px;
    }

    .dot-bottom-right {
        top: -15px;
        right: -15px;
        bottom: unset;
    }
}

/* ==========================================================================
   استایل اختصاصی پترن‌های سکشن دوم (دسکتاپ)
   ========================================================================== */
.sec-v2 .video-compare-card {
    margin-top: 40px; /* ایجاد یک فاصله منظم با کادر ویدیوی بالایی */
}

/* موقعیت جدید ۱: پشت ویدیو، پایین سمت چپ */
.sec-v2 .dot-v2-bottom-left {
    bottom: -20px;
    left: -20px;
}

/* موقعیت جدید ۲: پشت ویدیو، بالا سمت راستِ کادر ویدیو (وسط باکس) */
.sec-v2 .dot-v2-top-right {
    top: -20px;
    left: 45%;
}

/* ================= =========================================================
   تنظیمات پترن‌های سکشن دوم در موبایل
   ========================================================================== */
@media (max-width: 992px) {
    .sec-v2 .dot-v2-bottom-left {
        bottom: -15px;
        left: -15px;
        top: unset;
    }

    .sec-v2 .dot-v2-top-right {
        top: unset;
        bottom: 35px; /* تنظیم موقعیت پترن دوم متناسب با گرید عمودی موبایل */
        left: unset;
        right: -15px;
    }
}


/* ==========================================================================
   استایل دسکتاپ سکشن اخبار و وبلاگ (نسخه ۴ ستونه)
   ========================================================================== */
.blog-section {
    width: 100%;
    padding: 40px 0 100px 0;
    background-color: #fff;
}

.blog-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 70px; /* حفظ فاصله هماهنگ قالب از طرفین صفحه */
}

/* تبدیل گرید به ۴ ستون مساوی در دسکتاپ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px; /* تنظیم فاصله ظریف‌تر بین ۴ ستون */
    direction: rtl;
}

.blog-card {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01),
    0 10px 25px -5px rgba(0, 0, 0, 0.03),
    0 20px 40px -10px rgba(0, 0, 0, 0.04);

    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 15px;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.02),
    0 20px 35px -5px rgba(0, 0, 0, 0.05),
    0 35px 60px -10px rgba(0, 0, 0, 0.07);
}

/* کانتینر تصویر با لبه گرد ژورنالی اختصاصی شما */
.blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px; /* تنظیم ارتفاع متناسب با عرضِ کمترِ ۴ ستون */
    overflow: hidden;
    border-radius: 20px 20px 20px 75px; /* بهینه‌سازی تناسب لبه گرد پایین-چپ */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.04);
}

/* باکس تاریخ روی عکس */
.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 30px;
    font-family: 'IRANSansX', sans-serif;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
}

/* محتوای متنی کارت */
.blog-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    padding: 0 5px;
}

.blog-card-title {
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.blog-card-title a {
    font-family: 'IRANSansX', sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #9e325a;
}

.blog-excerpt {
    font-family: 'IRANSansX', sans-serif;
    font-size: 13.5px;
    color: #666666;
    line-height: 1.8;
    margin: 0 0 16px 0;
    text-align: justify;
}

.blog-more-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #9e325a;
    font-family: 'IRANSansX', sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: gap 0.3s ease;
}

.blog-more-btn:hover {
    gap: 10px;
}

/* ==========================================================================
   نسخه موبایل (تک‌ستونه تمیز بدون تداخل ابعاد دسکتاپ)
   ========================================================================== */
@media (max-width: 992px) {
    .blog-container {
        padding: 0 24px;
    }

    .blog-grid {
        grid-template-columns: 1fr; /* تبدیل به حالت تک‌ستونه در موبایل */
        gap: 40px;
    }

    .blog-card {
        gap: 14px;
    }

    .blog-image-wrapper {
        height: 220px; /* افزایش ارتفاع در موبایل برای بازگشت به ابعاد استاندارد اسکرین‌شات */
        border-radius: 20px 20px 20px 85px;
    }

    .blog-card-title a {
        font-size: 17px;
    }

    .blog-excerpt {
        font-size: 13.5px;
        line-height: 1.75;
    }
}

/* ==========================================================================
   استایل‌های فوتر دسکتاپ (نسخه اصلاح‌شده عمیق پیکسلی)
   ========================================================================== */
.main-footer {
    width: 100%;
    background-color: #F1F1F1; /* رنگ پس‌زمینه کرم خنثی و مات بدنه فوتر */
    position: relative;
    direction: rtl;
    overflow: hidden;
    padding-top: 0;
}

/* هدر فوتر حاوی المان انحنای رو به پایین (تو رفتگی) */
.footer-curve-header {
    position: relative;
    width: 100%;
    height: 75px;
    background-color: #ffffff; /* هماهنگ با پس‌زمینه سفید بالای وبلاگ */
    color: #f1f1f1; /* پر کردن خودکار فضای داخلی پث SVG */
}

.curve-svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* پوزیشن دقیق لوگو در کانون مرکزی فرورفتگی */
.footer-logo-center {
    position: absolute;
    top: 5px; /* هدایت به داخل باکس قوس */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.f-logo-img {
    width: 52px; /* ابعاد ظریف و دقیق لوگو مطابق تصویر */
    height: auto;
    display: block;
}

/* بدنه و تراز داخلی محتوای دسکتاپ */
.footer-content-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 60px 45px 60px;
}

/* گرید بندی منظم ۵ ستونه */
.footer-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr 1fr 0.85fr 1.15fr;
    gap: 35px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* تیتر ستون‌ها */
.footer-col-title {
    font-family: 'IRANSansX', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 22px 0;
}

/* استایل لیست‌ها */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links-list li {
    display: flex;
    align-items: center;
    gap: 7px;
}

/* مربع‌های دکوراتیو کوچک صورتی رنگ کنار لینک‌ها */
.footer-links-list li::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #9e325a;
    border-radius: 1px;
}

/* حذف مربع دکوراتیو برای ستون اطلاعات تماس */
.col-contact .footer-links-list li::before {
    display: none;
}

.footer-links-list li a {
    font-family: 'IRANSansX', sans-serif;
    font-size: 13px;
    color: #555555;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links-list li a:hover {
    color: #9e325a;
}

/* مشخصات تماس */
.contact-label {
    font-family: 'IRANSansX', sans-serif;
    font-size: 13px;
    color: #000000;
    font-weight: 700;
}

.contact-val {
    font-family: 'IRANSansX', sans-serif;
    font-size: 13px;
    color: #444444;
    text-decoration: none;
}

.font-en {
    font-family: Arial, sans-serif;
}

.address-li {
    line-height: 1.8;
    margin-top: 2px;
}

/* ستون توصیفی سمت چپ برند */
.col-about {
    align-items: flex-start;
}

.footer-brand-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    color: #222222;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.footer-brand-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #777777;
    margin: 3px 0 18px 0;
}

.footer-about-text {
    font-family: 'IRANSansX', sans-serif;
    font-size: 13px;
    color: #666666;
    line-height: 1.85;
    margin: 0 0 22px 0;
    text-align: justify;
}

/* دکمه‌های سوشال مدیا زیر کادر متنی */
.footer-socials {
    display: flex;
    gap: 8px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #9e325a;
    color: #ffffff;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn:hover {
    background-color: #000000;
    transform: translateY(-3px);
}

/* ==========================================================================
   بخش کپی‌رایت کپسولی معلق (رعایت فاصله از چپ و راست مانیتور)
   ========================================================================== */
.footer-copyright-container {
    width: 100%;
    padding: 0 50px 0 50px; /* ایجاد پدینگ و فاصله پیکسلی دقیق از لبه‌های مانیتور */
    background-color: #f1f1f1;
}

.footer-copyright-bar {
    max-width: 1270px;
    margin: 0 auto;
    background-color: #691d37; /* رنگ زرشکی لوکس قالب */
    padding: 16px 24px;
    text-align: center;
    /* ایجاد ساختار کپسولی با انحنای کامل در ۴ طرف */
    border-top-right-radius: 24px; /* گوشه بالا راست */
    border-top-left-radius: 24px;  /* گوشه بالا چپ */
    border-bottom-right-radius: 0; /* پایین راست - بدون تغییر */
    border-bottom-left-radius: 0;  /* پایین چپ - بدون تغییر */
}

.footer-copyright-bar p {
    font-family: 'IRANSansX', sans-serif;
    font-size: 12.5px;
    color: #ffffff;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   نسخه اصلاح‌شده و پیکسلی حالت موبایل (بدون تغییر در ساختار دسکتاپ)
   ========================================================================== */
@media (max-width: 992px) {
    /* فعال‌سازی بدنه فوتر برای نمایش در موبایل */
    .main-footer {
        display: block !important;
        background-color: #F1F1F1;
    }

    .footer-curve-header {
        display: block !important;
        height: 60px; /* این ارتفاع را دقیقاً هم‌اندازه با ارتفاع عکس موج موبایلت فیکس کن */
        background-image: url('../images/your-mobile-wave.png'); /* آدرس عکس موج موبایل */
        background-position: center top;
        /*background-size: 100% 100%;*/
        background-repeat: no-repeat;
        background-color: #ffffff; /* رنگ بخش بالای موج */
        position: relative;
    }

    .footer-curve-header .curve-svg {
        display: none !important;
    }

    .curve-svg {
        width: 100%;
        height: 100%;
    }

    .footer-logo-center {
        position: absolute;
        top: 4px; /* این مقدار را برحسب گودی عکس موبایلت کم یا زیاد کن */
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .f-logo-img {
        width: 44px; /* سایز ظریف لوگو برای نسخه موبایل */
        height: auto;
    }

    /* ۲. پدینگ و فاصله‌های داخلی کانتینر محتوا */
    .footer-content-wrapper {
        padding: 30px 20px 40px 20px !important;
    }

    /* ۳. ساختار ۲ ستونه فوق‌العاده تمیز و منظم در موبایل */
    .footer-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* ایجاد دقیق ۲ ستون موازی */
        gap: 30px 20px !important; /* فاصله افقی و عمودی ستون‌ها */
    }

    /* تنظیم لایوت ستون‌ها به صورت ۲ تایی */
    .footer-col {
        grid-column: span 1 !important; /* هر ستون نصف عرض را می‌گیرد */
        width: 100%;
    }

    /* ستون توضیحات برند (معرفی) برای زیبایی و عدم فشردگی متن تمام‌عرض شود */
    .col-about {
        grid-column: span 2 !important;
    }

    /* ۴. سایز و فونت بهینه تایتل‌ها و لینک‌ها در موبایل */
    .footer-col-title {
        font-size: 14px !important;
        margin-bottom: 16px !important;
        font-weight: 700;
    }

    .footer-links-list {
        gap: 11px !important;
    }

    .footer-links-list li a,
    .contact-label,
    .contact-val {
        font-size: 12px !important;
    }

    .footer-about-text {
        font-size: 12.5px !important;
        line-height: 1.8;
        margin-bottom: 16px !important;
    }

    /* ۵. اصلاح نوار کپی‌رایت زرشکی در موبایل (حذف کپسول و چسبیدن به طرفین) */
    .footer-copyright-container {
        padding: 0 !important; /* از بین رفتن فاصله از چپ و راست مانیتور */
        background-color: #F1F1F1;
    }

    .footer-copyright-bar {
        max-width: 100% !important;
        border-radius: 0 !important; /* تخت شدن گوشه‌ها */
        padding: 16px 20px !important;
    }

    .footer-copyright-bar p {
        font-size: 11px !important;
        line-height: 1.7;
        text-align: center;
    }
}


/* ==========================================================================
   کانتینر اصلی سکشن سؤالات متداول (FAQ) همراه با تصویر پس‌زمینه
   ========================================================================== */
.faq-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
    overflow: hidden;
}

/* المان عکس علامت سؤال سمت راست در پس‌زمینه با افکت طوسی مات */
.faq-bg-image {
    position: absolute;
    top: 40px;
    right: -20px;
    width: 220px; /* ابعاد متناسب دسکتاپ */
    height: auto;
    z-index: 1;
    /* ترفند القای رنگ طوسی به عکس مشکی از طریق CSS */
    opacity: 0.05;
    filter: grayscale(100%);
    pointer-events: none; /* جهت جلوگیری از تداخل با کلیک کاربر روی لیست */
}

/* هدر سکشن حاوی دو تایتل متمایز */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.faq-subtitle {
    font-size: 20px;
    color: #9e325a; /* رنگ زرشکی لوکس کلینیک */
    font-weight: 500;
    display: block;
    margin-bottom: 0;
    letter-spacing: 4.5px;
    font-family: Kalameh;
}

.faq-main-title {
    font-size: 68px;
    color: #2E2C30;
    font-weight: 800;
    font-family: Kalameh;
}

/* ==========================================================================
   ساختار آکاردئون سؤالات
   ========================================================================== */
/* کانتینر اصلی دو ستونه - اصلاح شده برای دسکتاپ */
.faq-container-page {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px; /* فاصله بین آیتم‌های سؤال */
}

.faq-item {
    background-color: #F1F1F1;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #9e325a;
    box-shadow: 0 4px 15px rgba(158, 50, 90, 0.04);
}

/* دکمه فعال‌سازی و تایتل هر سؤال */
.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    cursor: pointer;
}

.faq-question-text {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    transition: color 0.3s ease;
}

/* آیکون فلش سمت چپ */
.faq-icon {
    font-size: 14px;
    color: #777777;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

/* باکس بدنه پاسخ (به صورت پیش‌فرض بسته) */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 24px 20px 24px;
    font-size: 13.5px;
    color: #555555;
    line-height: 1.85;
    text-align: justify;
    border-top: 1px solid transparent;
}

/* ==========================================================================
   استایل‌های حالت باز شده (Active)
   ========================================================================== */
.faq-item.active {
    background-color: #ffffff;
    border-color: #9e325a;
    box-shadow: 0 10px 25px rgba(158, 50, 90, 0.06);
}

.faq-item.active .faq-question-text {
    color: #9e325a;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #9e325a;
}

.faq-item.active .faq-answer-inner {
    border-top-color: #F1F1F1;
}

/* ==========================================================================
   واکنش‌گرایی موبایل
   ========================================================================== */
@media (max-width: 992px) {
    .faq-section {
        margin: 50px auto;
    }

    .faq-bg-image {
        width: 180px;
        top: 80px;
        right: -10px;
        opacity: 0.03; /* محوتر شدن در موبایل جهت خوانایی بهتر متن */
    }

    .faq-main-title {
        font-size: 22px;
    }

    .faq-trigger {
        padding: 16px 18px;
    }

    .faq-question-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .faq-answer-inner {
        padding: 0 18px 16px 18px;
        font-size: 12.5px;
    }
}

/* ==========================================================================
           کانتینر اصلی سکشن بیوگرافی
           ========================================================================== */
.doctor-profile-section {
    width: 100%;
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    margin-top: 50px;
}

/* بنر عریض و فانتزی پشت سر */
.profile-banner-wrapper {
    width: 100%;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.profile-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* لایه رنگی بنفش/زرشکی ملایم روی بنر اصلی برای هماهنگی با تم تمپلیت */
.profile-banner-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(158, 50, 90, 0.25), rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

/* ==========================================================================
   بخش اطلاعات، متن و عکس پزشک
   ========================================================================== */
.profile-content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: -80px; /* بالا کشیدن کل محتوا روی بنر */
    position: relative;
    z-index: 5;
    padding: 0 40px;
}

/* سمت راست: نام، جزییات، متن معرفی و شبکه‌های اجتماعی */
.profile-info-side {
    flex: 1;
    padding-top: 100px; /* تراز شدن با بخش پایینی عکس */
    padding-right: 40px;
    /* ایجاد فضای خالی ثابت در سمت چپ برای اینکه عکسِ مطلق روی متن نیفتد */
    margin-right: 360px;
}

/* پوزیشن‌دهی ردیف تایتل‌ها */
.profile-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%; /* گرفتن کل عرض کانتینر برای پوزیشن‌دهی صحیح */
}

.profile-name {
    font-size: 26px;
    font-weight: 500;
    color: #111111;
    font-family: Kalameh;
}

.profile-divider {
    font-size: 24px;
    color: #111111;
    font-weight: 300;
}

.profile-en-name {
    font-size: 16px;
    color: #888888;
    font-weight: 400;
    padding-top: 4px;
}

/* متن توضیحات بیوگرافی */
.profile-bio-text {
    font-size: 15px;
    color: #444444;
    line-height: 2;
    text-align: justify;
    margin-bottom: 25px;
    max-width: 800px;
}

/* آیکون‌های مینی‌مال سوشال مدیا سمت چپ تایتل در دسکتاپ */
.profile-socials {
    display: flex;
    gap: 15px;
    margin-right: auto;
}

.social-link {
    color: #9e325a; /* رنگ امضای زرشکی لوکس */
    font-size: 16px;
    transition: transform 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    color: #111111;
}

/* ==========================================================================
   سمت چپ: کامپوننت عکس پزشک (مطلق شده برای عدم آسیب به لایوت)
   ========================================================================== */
.profile-image-side {
    position: absolute;
    right: -10px;  /* دقیقاً چسبیده به پدینگ چپ کانتینر اصلی */
    top: 0;      /* شروع موقعیت از بالای کانتینر محتوا */
    flex-shrink: 0;
    z-index: 10;
}

.doctor-avatar-wrapper {
    /* ابعاد بزرگ‌تر روی دسکتاپ در همان نقطه (بدون تغییر بقیه اجزا) */
    width: 465px;
    height: 320px;
    overflow: hidden;
}

.doctor-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ==========================================================================
   نسخه موبایل (بدون آسیب و تغییر ساختار شما)
   ========================================================================== */
@media (max-width: 992px) {
    .profile-banner-wrapper {
        height: 160px;
        border-radius: 12px;
    }

    .profile-content-container {
        flex-direction: column;
        align-items: center;
        margin-top: -60px; /* تنظیم اورلپ روی موبایل */
        padding: 0 15px;
    }

    .profile-image-side {
        position: relative; /* برگشتن به حالت نسبی روی موبایل برای چیدمان ستونی */
        right: auto;
        top: auto;
        order: 1; /* اول عکس پزشک بالا قرار گیرد */
        margin-bottom: 20px;
    }

    .doctor-avatar-wrapper {
        /* ابعاد بزرگ‌تر روی موبایل در همان مرکز سکشن */
        width: 280px;
        height: 220px;
        border-radius: 18px;
        border-width: 4px;
    }

    .profile-info-side {
        order: 2; /* متن و بقیه اجزا زیر عکس چیده شوند */
        padding: 0;
        text-align: center;
        width: 100%;
        margin-right: 0; /* حذف مارجین دسکتاپ روی موبایل */
    }

    .profile-title-row {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
        text-align: center;
    }

    .profile-name {
        font-size: 22px;
        font-family: Kalameh;
    }

    .profile-divider {
        display: none; /* حذف خط جداکننده افقی در لایوت عمودی موبایل */
    }

    .profile-en-name {
        font-size: 14px;
        color: #a0a0a0;
    }

    .profile-socials {
        margin-right: 0;
        justify-content: center;
        margin-top: 10px;
        gap: 20px;
    }

    .profile-bio-text {
        font-size: 14px;
        line-height: 1.8;
        text-align: center; /* تراز وسط در موبایل طبق تصویر نمونه */
        color: #555555;
    }
}

/* ==========================================================================
   استایل‌های اختصاصی سکشن راه‌های ارتباطی (دسکتاپ)
   ========================================================================== */
.contact-section {
    width: 100%;
    max-width: 1310px;
    margin: 60px auto;
    padding: 0 20px;
}

/* تایتل بخش همراه با خط دکوراتیو زیر آن مطابق نمونه */
.contact-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.contact-main-title {
    font-size: 24px;
    font-weight: 800;
    color: #111111;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.contact-title-wrapper::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #9e325a; /* رنگ امضای کلینیک */
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

/* کانتینر اصلی لایوت دو ستونه */
.contact-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* باکس راه‌های ارتباطی در دسکتاپ - چیدمان به صورت ردیف‌های افقی شیک */
.contact-info-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* هر آیتم ارتباطی */
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fafafa;
    border-radius: 16px;
    border-right: 4px solid #9e325a; /* خط عمودی رنگی کنار آیکون‌ها */
}

/* باکس دور آیکون‌ها */
.contact-icon-box {
    display: flex;
    padding-bottom: 20px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden; /* جلوگیری از بیرون زدن عکس از لبه‌های باکس */
}

.contact-custom-img {
    width: 130px;
    height: auto;
    object-fit: contain; /* فیت شدن کامل عکس بدون کشیدگی ناموزون */
    display: block;
}



/* باکس متون درون هر آیتم */
.contact-text-box h3 {
    font-size: 16px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 5px;
}

.contact-text-box h3 span {
    color: #9e325a;
}

.contact-text-box p,
.contact-link-data {
    font-size: 14px;
    color: #666666;
    text-decoration: none;
    line-height: 1.6;
}

.contact-link-data:hover {
    color: #9e325a;
}

/* باکس لوکیشن و نقشه */
.contact-map-wrapper {
    width: 550px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ==========================================================================
   نسخه موبایل کاملاً مجزا و ردیفی (طبق خواسته شما)
   ========================================================================== */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column; /* تفکیک نقشه و آیتم‌ها به دو ردیف مجزا */
        gap: 30px;
    }

    /* ردیف مجزای اطلاعات ارتباطی - چیدمان منظم خطی */
    .contact-info-grid {
        width: 100%;
        gap: 15px;
    }

    .contact-item {
        padding: 12px 15px;
        border-radius: 12px;
    }




    /* ردیف مجزای نقشه روی موبایل */
    .contact-map-wrapper {
        width: 100%; /* گرفتن کل عرض صفحه در ردیف خودش */
        height: 280px; /* تنظیم ارتفاع مناسب موبایل */
        border-radius: 16px;
    }
}
/* ==========================================================================
   استایل‌های بخش سوالات متداول (دسکتاپ) - اصلاح شده
   ========================================================================== */
.faq-section-Contact {
    width: 100%;
    max-width: 1310px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.faq-main-title {
    font-size: 24px;
    font-weight: 800;
    color: #111111;
    display: inline-block;
    position: relative;
}

.faq-title-wrapper::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #9e325a;
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

/* کانتینر اصلی دسکتاپ (کنار هم در یک ردیف) */
.faq-section-Contact .faq-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 50px;
    align-items: flex-start;
    width: 100%;
}

/* سمت باکس سوالات در دسکتاپ */
.faq-accordion-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 145px; /* این فقط برای دسکتاپ بماند */
}

/* استایل عمومی آیتم‌های آکاردئون */
.accordion-item {
    background: #f7f3f5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    cursor: pointer;
}

.accordion-title {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
}

.accordion-icon {
    font-size: 14px;
    color: #111111;
}

/* وضعیت فعال آکاردئون */
.accordion-item.active {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.accordion-item.active .accordion-header {
    background-color: #9e325a;
}

.accordion-item.active .accordion-title,
.accordion-item.active .accordion-icon {
    color: #ffffff;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 200px;
}

.accordion-content p {
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
}

/* دکمه‌های اجتماعی پایین سوالات */
.faq-social-row {
    margin-top: 25px;
    text-align: center;
}

.faq-social-text {
    font-size: 14px;
    color: #9e325a;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.faq-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background-color: #9e325a;
    transition: opacity 0.2s;
}

.faq-btn:hover {
    opacity: 0.9;
}

/* سمت تصویر گرافیکی یکپارچه Group-52.png */
.faq-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-unified-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   نسخه موبایل کاملاً تفکیک‌شده و فیت (دقیقاً مطابق طرح ارسالی)
   ========================================================================== */
@media (max-width: 992px) {

    /* شکستن لایوت به حالت ستونی افقی برای موبایل */
    .faq-section-Contact .faq-container {
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* حذف مارجین ۱۴۵ پیکسلی دسکتاپ و تنظیم عرض کامل برای باکس سوالات */
    .faq-accordion-side {
        width: 100% !important;
        margin-top: 0 !important; /* خنثی کردن فاصله مسخره دسکتاپ در موبایل */
        order: 1;
    }

    .accordion-title {
        font-size: 15px;
    }

    /* تنظیمات باکس تصویر در ردیف دوم موبایل */
    .faq-image-side {
        width: 100% !important;
        order: 2;
        margin-top: 20px;
    }

    /* فیت شدن تصویر یکپارچه تمیز شما بدون زدن بیرون از کادر */
    .faq-unified-img {
        max-width: 100% !important; /* بهره‌گیری کامل از عرض دستگاه */
        width: 100%;
        height: auto;
    }
}


/* ==========================================================================
   استایل‌های بخش فرم تماس (دسکتاپ)
   ========================================================================== */
.contact-form-section {
    width: 100%;
    max-width: 1310px;
    margin: 60px auto;
    padding: 0 20px;
}

/* کانتینر اصلی افقی در دسکتاپ */
.contact-form-section .form-main-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* سمت تصویر یکپارچه Group-117.png */
.form-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-unified-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* سمت کادر فرم تماس */
.form-card-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* کارت اصلی سفید رنگ فرم */
.contact-custom-card {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

/* هدر فرم با تصویر زمینه پترن اختصاصی شما */
.card-pattern-header {
    width: 100%;
    height: 90px;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.form-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #111111;
    position: relative;
    padding-bottom: 6px;
}

.form-card-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 3px;
    background-color: #9e325a;
    margin: 5px auto 0 auto;
    border-radius: 2px;
}

/* بدنه و ورودی‌های فرم */
.main-contact-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ردیف دوتایی نام و تلفن */
.form-row-inputs {
    display: flex;
    gap: 15px;
}

.form-row-inputs .form-group-item {
    flex: 1;
}

/* استایل عمومی اینپوت‌ها و تکست‌اریا */
.form-group-item input,
.form-group-item textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2dbdf;
    background-color: #fafbfc;
    border-radius: 10px;
    font-size: 14px;
    color: #333333;
    outline: none;
    transition: all 0.25s ease;
}

.form-group-item input:focus,
.form-group-item textarea:focus {
    border-color: #9e325a;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(158, 50, 90, 0.05);
}

/* هماهنگ کردن جهت متن‌ها با ساختار RTL */
.form-group-item input::placeholder,
.form-group-item textarea::placeholder {
    color: #aaaaaa;
    text-align: right;
}

.form-group-item textarea {
    resize: vertical;
}

/* باکس شبیه‌ساز کپچا */
.captcha-placeholder-row {
    display: flex;
    justify-content: center;
    margin: 5px 0;
}

.g-recaptcha-mock {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    padding: 10px 15px;
    width: 100%;
    max-width: 300px;
}

.g-recaptcha-mock label {
    font-family: Roboto, helvetica, arial, sans-serif;
    font-size: 14px;
    color: #000000;
    flex: 1;
}

.g-recaptcha-mock img {
    width: 32px;
    height: 32px;
}

/* دکمه ارسال پهن و جذاب سکشن */
.form-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #9e325a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-submit-btn:hover {
    background-color: #822547;
}

/* ==========================================================================
   نسخه موبایل (دو ردیف کاملاً تفکیک شده روی هم)
   ========================================================================== */
@media (max-width: 992px) {
    .contact-form-section .form-main-container {
        flex-direction: column !important; /* تبدیل فرم و عکس به حالت زیر هم */
        gap: 40px !important;
    }

    /* قرارگیری تصویر خانم دکتر در ردیف بالا یا پایین به انتخاب لایوت موبایل شما */
    .form-image-side {
        width: 100% !important;
        order: 2; /* تصویر می‌رود زیر فرم قرار می‌گیرد */
    }

    .form-unified-img {
        max-width: 100% !important;
    }

    .form-card-side {
        width: 100% !important;
        order: 1; /* فرم بالا قرار می‌گیرد */
    }

    .contact-custom-card {
        max-width: 100%; /* استفاده از عرض کامل دستگاه روی موبایل */
    }

    /* اینپوت‌های نام و تلفن روی موبایل زیر هم بیایند تا کج و کوله نشوند */
    .form-row-inputs {
        flex-direction: column;
        gap: 18px;
    }
}


/* ==========================================================================
   استایل‌های اسلایدر/هیرو درباره ما (دسکتاپ)
   ========================================================================== */
.about-hero-section {
    width: 100%;
    min-height: 650px;
    position: relative;
    overflow: hidden;
    direction: rtl;
    display: flex;
    align-items: center;
    padding: 0;
}

.about-hero-container {
    width: 100%;
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* تصویر پس‌زمینه bn9 در سمت چپ پایین با فیلتر درخواستی */
.hero-bg-pattern {
    position: absolute;
    top: 35rem;
    left: -12rem;
    width: 620px;
    height: auto;
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
    filter: brightness(100%) contrast(100%) saturate(0%) blur(0px) hue-rotate(0deg);
}

/* سمت راست: محتوا */
.hero-content-side {
    flex: 1;
    max-width: 635px;
    z-index: 3;
}

.hero-main-title {
    font-size: 60px;
    font-weight: 900;
    color: #2E2C30;
    margin-top: 7rem;
    margin-bottom: 10px;
    line-height: 1.3;
    font-family: Kalameh;
}

.hero-description-text {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.hero-signature-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    padding-left: 65px;
}

.hero-sig-img {
    max-width: 180px;
    height: auto;
    opacity: 0.8;
}

/* سمت چپ: پکیج کامپوننت تصویر */
.hero-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.hero-image-wrapper {
    position: relative;
    width: 550px;
    height: 430px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* لایه‌های هاله و پس‌زمینه پشتی خانم دکتر */
.hero-spacer-layer {
    position: absolute;
    width: 420px;
    max-width: 450px;
    border-radius: 50px;
}

/* هاله اول: de6b7f0 */
.spacer-back {
    height: 350px;
    background-image: linear-gradient(180deg, #A83863 0%, #702133 100%);
    bottom: 10px;
    z-index: 1;
    opacity: 0.9;
}

/* هاله دوم: bbfbc2a */
.spacer-front {
    height: 350px;
    bottom: 40px;
    left: 6rem;
    background-image: linear-gradient(180deg, rgba(158, 50, 90, 0.4) 0%, #9e325a 100%);
    z-index: 2;
    opacity: 0.4;
}

/* عکس اصلی پزشک */
/* عکس اصلی پزشک */
.hero-doctor-img {
    width: 100%;
    height: auto;
    max-width: 550px;
    position: absolute;
    z-index: 3;
    display: block;
    pointer-events: none; /* مانع تداخل کادر عکس با المان‌های روی آن می‌شود */
}

/* دایره متنی چرخنده بالا سمت راست */
.scrolling-text-circle {
    position: absolute;
    top: 30px; /* تراز دقیق تر بر اساس کادر سفید */
    right: 0;
    width: 120px;
    height: 120px;
    background-color: #ffffff;
    border-radius: 50% !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 99 !important; /* تضمین بالاتر بودن از لایه عکس و هاله‌ها */
    pointer-events: none;
    overflow: visible !important;
}

/* نقطه زرشکی ثابت دقیقاً در مرکز دایره */
.circle-center-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #a83863;
    border-radius: 50%;
    z-index: 12;
}

.scrolling-text-circle svg {
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
    display: block !important;
}

.hero-rotating-text {
    font-family: 'Kalameh', Tahoma, sans-serif !important;
    font-size: 40px !important;
    font-weight: 400;
    fill: #a83863 !important;
    letter-spacing: 2px;
    white-space: nowrap;
    direction: ltr !important; /* تغییر جهت موقت SVG برای رندر بی نقص متون ترکیبی فارسی و انگلیسی */
}

.scrolling-text-circle textPath {
    fill: #a83863 !important;
}

.scrolling-text-circle textPath {
    font-family: 'Kalameh', Tahoma, sans-serif;
    font-size: 40px;
    font-weight: 400;
    fill: #a83863 !important; /* رنگ زرشکی متن چرخنده */
}


/* پچ یا باکس تجربه ۱۴ سال */
.experience-badge {
    position: absolute;
    bottom: 45px;
    left: -2.3rem;
    background: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 6;
    opacity: .93;
}

.badge-text {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
}

.highlight-years {
    color: #9e325a;
    position: relative;
    display: inline-block;
}

/* افکت خط انحنای متحرک لوپ زیر ۱۴ سال با pseudo-element */
.highlight-years::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 10' preserveAspectRatio='none'%3E%3Cpath d='M0,5 Q12,0 25,5 T50,5' stroke='%239e325a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation: signatureLineLoop 2s ease infinite;
}

/* انیمیشن محو و پدیدار شدن خط انحنای امضا به صورت لوپ چند ثانیه‌ای */
@keyframes signatureLineLoop {
    0%, 100% { opacity: 0; transform: scaleX(0); transform-origin: right; }
    15%, 70% { opacity: 1; transform: scaleX(1); transform-origin: right; }
    85% { opacity: 0; transform: scaleX(0); transform-origin: left; }
}

/* ==========================================================================
   نسخه موبایل کاملاً اختصاصی (دقیقاً شبیه به تصویر نمونه)
   ========================================================================== */
@media (max-width: 992px) {
    .about-hero-section {
        padding: 30px 0 60px 0;
    }

    .about-hero-container {
        flex-direction: column !important;
        gap: 35px !important;
        text-align: center;
        display: flex !important;
    }

    /* پترن پس‌زمینه bn9 در موبایل مخفی یا بسیار کوچک در جای مناسب */
    .hero-bg-pattern {
        width: 180px;
        top: auto;
        bottom: -40px;
        left: -40px;
        opacity: 0.06;
    }

    /* تصویر پزشک و هاله‌ها در موبایل اول قرار می‌گیرند (Order: 1) */
    .hero-image-side {
        width: 100% !important;
        order: 1 !important;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .hero-image-wrapper {
        width: 100%;
        max-width: 320px;
        height: 340px;
        margin: 0 auto;
    }

    /* تنظیم مجدد هاله‌های رنگی متناسب با ابعاد جدید کامپوننت در موبایل */
    .hero-spacer-layer {
        width: 100% !important;
        max-width: 290px;
    }

    .spacer-back {
        height: 270px;
        bottom: 0px;
    }

    .spacer-front {
        height: 270px;
        bottom: 20px;
        left: 2.5rem;
    }

    .hero-doctor-img {
        max-width: 320px;
        bottom: 0;
    }

    /* دایره متنی در موبایل کوچک‌تر شده و در موقعیت بالا-راست فیکس می‌شود */
    .scrolling-text-circle {
        width: 110px; /* کمی کوچکتر برای لایوت موبایل */
        height: 110px;
        top: 20px; /* فیکس شدن در گوشه بالای عکس در موبایل */
        right: -10px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    }

    .circle-center-dot {
        width: 9px;
        height: 9px;
    }

    .scrolling-text-circle textPath {
        font-size: 25px; /* افزایش سایز فونت SVG برای خوانایی کامل روی موبایل */
    }

    /* پچ باکس تجربه ۱۴ سال در موبایل */
    .experience-badge {
        bottom: 40px;
        left: -1rem;
        padding: 8px 16px;
        border-radius: 10px;
        z-index: 10;
    }

    .badge-text {
        font-size: 13px;
    }

    /* متون و محتوا در موبایل زیر تصویر قرار می‌گیرند (Order: 2) */
    .hero-content-side {
        width: 100% !important;
        max-width: 100%;
        order: 2 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .hero-main-title {
        font-size: 36px;
        margin-top: 0;
        margin-bottom: 12px;
        text-align: center;
    }

    .hero-description-text {
        font-size: 15px;
        text-align: center;
        line-height: 1.8;
        color: #666666;
        margin-bottom: 25px;
    }

    /* قرارگیری امضا به صورت کاملاً وسط‌چین در انتهای کار */
    .hero-signature-wrapper {
        justify-content: center;
        padding-left: 0;
        margin-top: 5px;
        width: 100%;
    }

    .hero-sig-img {
        max-width: 150px;
    }
}


/* ==========================================================================
   استایل‌های سکشن ماموریت و فلسفه کاری (دسکتاپ)
   ========================================================================== */
.mission-philosophy-section {
    width: 100%;
    padding: 0 0 80px 0;
    direction: rtl;
    z-index: 999;
    position: relative;
}

.mission-container {
    width: 100%;
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-main-title {
    font-family: 'Kalameh', Tahoma, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #2E2C30;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

/* شبکه سه ستونه کارت‌ها */
.mission-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* استایل بدنه کارت‌ها */
.philosophy-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.01);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(168, 56, 99, 0.06);
}

.card-title {
    font-family: 'Kalameh', Tahoma, sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #2E2C30;
    margin-bottom: 15px;
}

/* دیوایدر ظریف وسط کارت با آیکون دندان */
.card-divider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
    width: 100%;
}

.divider-line {
    flex: 1;
    height: 1px;
}

/* پیاده‌سازی خط‌چین‌های ریز تصویر */
.dots-left, .dots-right {
    border-bottom: 1.5px dotted #cccccc;
}

/* در کارت دوم و سوم خط چین‌ها کمی صورتی ملایم یا خاکستری ست شدند */
.continuous {
    border-bottom: 1.5px dotted #de6b7f;
    opacity: 0.6;
}

.card-tooth-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.card-description {
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
    text-align: justify;
    text-align-last: center; /* تراز تمیز متن پاراگراف از وسط */
}

/* ==========================================================================
   نسخه موبایل (تبدیل به لایوت عمودی زیر هم کاملاً ست شده)
   ========================================================================== */
@media (max-width: 992px) {
    .mission-philosophy-section {
        padding: 40px 0 50px 0;
    }

    .mission-main-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    /* تبدیل گرید ۳ ستونه به تک ستونه عمودی روی موبایل */
    .mission-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 450px;
        margin: 0 auto;
    }

    .philosophy-card {
        padding: 35px 25px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-description {
        font-size: 14.5px;
    }
}

/* ==========================================================================
   استایل‌های اختصاصی سکشن بیوگرافی (کلاس‌های لوکال جدید dr-bio)
   ========================================================================== */
.dr-bio-section {
    width: 100%;
    padding: 0 0 100px 0;
    direction: rtl;
    position: relative;
}

.dr-bio-container {
    width: 100%;
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* ستون متنی */
.dr-bio-content-col {
    flex: 1;
    max-width: 650px;
}

.dr-bio-title {
    font-family: 'Kalameh', Tahoma, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #2E2C30;
    margin-bottom: 0;
    border-style: solid;
    border-width: 0px 5px 0px 0px;
    padding: 5px 20px 0 20px;
    border-color: #A83863;
}

.dr-bio-description {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 0;
    border-style: solid;
    border-width: 0px 5px 0px 0px;
    padding: 5px 20px 5px 20px;
    border-color: #EED9E1;
}

/* لیست مدارک */
.dr-bio-diploma-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-style: solid;
    border-width: 0px 5px 0px 0px;
    padding: 5px 20px 5px 20px;
    border-color: #EED9E1;
}

.dr-bio-diploma-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dr-bio-icon-holder {
    color: #a83863; /* رنگ زرشکی نمادها */
    font-size: 14px;
    flex-shrink: 0;
}

.dr-bio-diploma-text {
    font-size: 15.5px;
    font-weight: 600;
    color: #333333;
}

/* ستون تصویر */
.dr-bio-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* فریم نگهدارنده ساده بدون هیچ استایل، بوردر یا متن کدی اضافه */
.dr-bio-img-frame {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.dr-bio-main-pic {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   ریسپانسیو نسخه موبایل (تراز زیر هم شبیه نمونه ارسالی)
   ========================================================================== */
@media (max-width: 992px) {
    .dr-bio-section {
        padding: 50px 0;
    }

    /* تغییر جهت ردیف به ستون: تصویر بالا، متن پایین */
    .dr-bio-container {
        flex-direction: column !important;
        gap: 35px !important;
        text-align: center;
    }

    .dr-bio-image-col {
        width: 100%;
        order: 1; /* تصویر اول قرار می‌گیرد */
    }

    .dr-bio-img-frame {
        max-width: 340px; /* اندازه بهینه تصویر در موبایل */
    }

    .dr-bio-content-col {
        width: 100%;
        max-width: 100%;
        order: 2; /* متون زیر تصویر قرار می‌گیرند */
        padding: 0 10px;
    }

    .dr-bio-title {
        font-size: 26px;
        text-align: center;
        margin-bottom: 0;
    }

    .dr-bio-description {
        font-size: 15px;
        text-align: justify;
        text-align-last: center;
    }

    .dr-bio-diploma-list {
        margin-top: 25px;
        text-align: right;
    }

    .dr-bio-diploma-list li {
        justify-content: right;
        width: 100%;
    }

    .dr-bio-diploma-text {
        font-size: 14.5px;
    }
}

.dr-resume-container,
.dr-resume-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Kalameh;
}

/* بخش اصلی سکشن */
.dr-resume-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px;
    background-color: #ffffff;
    color: #222222;
}

/* بخش هدر و عنوان اصلی */
.dr-resume-header {
    text-align: center;
    margin-bottom: 30px;
}

.dr-resume-main-title {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
}

.dr-resume-subtitle {
    font-size: 18px;
    color: #444444;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* خط جداکننده دکوراتیو وسط شبیه به لوگوی داخل عکس */
.dr-resume-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 40px 0;
}

.dr-resume-line {
    height: 2px;
    width: 70px;
    background-color: #a33867;
}

.dr-resume-center-logo {
    width: 22px;
    height: 22px;
    border: 2px solid #a33867;
    transform: rotate(45deg);
    border-radius: 4px;
    position: relative;
}
.dr-resume-center-logo::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #a33867;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

/* چیدمان ستونی دسکتاپ */
.dr-resume-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
}

.dr-resume-col {
    flex: 1;
    min-width: 0;
}

/* عنوان هر ستون */
.dr-resume-col-title {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    text-align: center;
    margin-bottom: 20px;
}

/* مجموعه کامپوننت آکاردئون کاملا ایزوله */
.dr-resume-acc-item {
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
}

/* هدر آکاردئون در حالت بسته */
.dr-resume-acc-header {
    width: 100%;
    background-color: #ebdce2; /* رنگ کرم/صورتی ملایم بکگراند آیتم‌های بسته */
    border: none;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: right;
    transition: background-color 0.25s ease;
}

.dr-resume-acc-header:hover {
    background-color: #e2cbd4;
}

.dr-resume-acc-title {
    font-size: 13.5px;
    font-weight: 400;
    font-family: 'IRANSansX', Tahoma, sans-serif;
    color: #222222;
    line-height: 1.5;
    padding-left: 10px;
}

/* فلش سمت چپ با CSS خالص */
.dr-resume-acc-arrow {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid #222222;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

/* پنل داخلی متن مخفی */
.dr-resume-acc-panel {
    max-height: 0;
    overflow: hidden;
    background-color: #fffbfe;
    border: 1px solid transparent;
    border-top: none;
    border-radius: 0 0 6px 6px;
    transition: max-height 0.25s ease-out, border-color 0.25s ease;
}

.dr-resume-acc-content {
    padding: 15px;
    font-size: 15px;
    color: #222222;
    font-family: 'IRANSansX', Tahoma, sans-serif;
    line-height: 1.8;
    text-align: justify;
}

/* استایل‌های حالت باز شده و فعال (is-active) */
.dr-resume-acc-item.is-active .dr-resume-acc-header {
    background-color: #a33867; /* رنگ زرشکی اختصاصی تصویر */
}

.dr-resume-acc-item.is-active .dr-resume-acc-title {
    color: #ffffff;
}

.dr-resume-acc-item.is-active .dr-resume-acc-arrow {
    border-right-color: #ffffff;
    transform: rotate(-90deg); /* چرخش نوک فلش به سمت پایین */
}

.dr-resume-acc-item.is-active .dr-resume-acc-panel {
    border-color: #ebdce2;
    background-color: #fffbfb;
}

/* واکنش‌گرایی برای نسخه موبایل دقیقا شبیه تصویر دوم */
@media screen and (max-width: 768px) {
    .dr-resume-grid {
        flex-direction: column;
        gap: 30px;
    }

    .dr-resume-col-title {
        margin-bottom: 14px;
        text-align: right;
        padding-right: 4px;
        font-size: 15px;
        font-family: 'IRANSansX', Tahoma, sans-serif;
    }

    .dr-resume-main-title {
        font-size: 24px;
    }

    .dr-resume-container {
        padding: 20px 12px;
    }
}


.dr-awards-section,
.dr-awards-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* کانتینر اصلی سکشن همراه با بک‌گراند محو سمت چپ */
.dr-awards-section {
    width: 100%;
    position: relative;
    background-color: #ffffff;
    padding: 60px 16px;
    overflow: hidden;
}

/* تصویر محو پس‌زمینه در سمت چپ سکشن با فیلتر خاکستری */
.dr-awards-section::before {
    content: '';
    position: absolute;
    left: -50px;
    bottom: -50px;
    width: 450px;
    height: 450px;
    background-image: url('../images/bn9.webp'); /* تصویر محو کف */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    opacity: 0.12; /* میزان محو بودن */
    filter: grayscale(100%); /* فیلتر خاکستری */
    pointer-events: none;
    z-index: 1;
}

.dr-awards-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* --- ستون راست: محتوای متنی و لیست افتخارات --- */
.dr-awards-content-col {
    flex: 1;
    min-width: 0;
}

/* عنوان اصلی سکشن به همراه خط عمودی زرشکی در سمت چپ یا راست آن */
.dr-awards-main-title {
    font-size: 26px;
    font-family: Kalameh;
    font-weight: 500;
    color: #000000;
    position: relative;
    padding-right: 15px;
}

/* خط عمودی زرشکی کنار عنوان */
.dr-awards-main-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background-color: #a33867;
    border-radius: 2px;
}

/* ساختار لیست موارد */
.dr-awards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-style: solid;
    border-width: 0px 5px 0px 0px;
    padding: 5px 20px 5px 20px;
    border-color: #EED9E1;
}

/* هر ردیف از افتخارات */
.dr-awards-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0e4e9; /* خطوط جداکننده ملایم بین آیتم‌ها */
    gap: 20px;
}

.dr-awards-item:last-child {
    border-bottom: none;
}

/* بخش متنی داخل هر آیتم */
.dr-awards-text-group {
    flex: 1;
}

.dr-awards-item-title {
    font-size: 15px;
    font-weight: 400;
    font-family: Kalameh;
    color: #111111;
    margin-bottom: 6px;
    line-height: 1.6;
}

.dr-awards-item-desc {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    font-family: 'IRANSansX', Tahoma, sans-serif;
}

/* المان هندسی تصویر عدد (لوزی شکل) */
.dr-awards-number-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dr-awards-number-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- ستون چپ: تصویر کامپوزیت پزشک و لوزی‌ها --- */
.dr-awards-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.dr-awards-main-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
}

/* ------------------------------------------- */
/* استایل‌های ریسپانسیو کاملاً منطبق بر نسخه موبایل */
/* ------------------------------------------- */
@media screen and (max-width: 992px) {
    .dr-awards-container {
        flex-direction: column;
        gap: 40px;
    }

    /* در موبایل ابتدا عکس نمایش داده می‌شود و سپس متن‌ها زیر آن می‌آیند */
    .dr-awards-image-col {
        order: 1;
        width: 100%;
    }

    .dr-awards-content-col {
        order: 2;
        width: 100%;
    }

    .dr-awards-main-title {
        text-align: center;
        padding-right: 0;
        font-size: 20px;
    }

    /* جابجا کردن خط دکوراتیو به حالت افقی زیر عنوان در موبایل */
    .dr-awards-main-title::before {
        display: none;
    }

    .dr-awards-main-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background-color: #a33867;
        margin: 10px auto 0 auto;
        border-radius: 2px;
    }

    .dr-awards-item {
        flex-direction: row; /* حفظ چیدمان افقی عدد و متن در ردیف */
        text-align: right;
    }
}

@media screen and (max-width: 480px) {
    .dr-awards-section::before {
        width: 250px;
        height: 250px;
        left: -20px;
        bottom: -20px;
    }

    .dr-awards-item-title {
        font-size: 14px;
    }

    .dr-awards-item-desc {
        font-size: 12px;
    }
}


/* ریسیت موضعی کانتینر برای جلوگیری از تداخل با استایل‌های همگانی */
.dr-research-section,
.dr-research-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* کانتینر اصلی با پس‌زمینه محو در سمت چپ */
.dr-research-section {
    width: 100%;
    position: relative;
    padding: 60px 16px 40px 16px;
    overflow: hidden;
}

/* تصویر محو کف پشت سکشن قبلی و فعلی با فیلتر خاکستری */
.dr-research-section::before {
    content: '';
    position: absolute;
    left: -80px;
    top: -40px;
    width: 480px;
    height: 480px;
    background-image: url('bn9.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    opacity: 0.09;
    filter: grayscale(100%);
    pointer-events: none;
    z-index: 1;
}

.dr-research-container {
    width: 100%;
    max-width: 950px; /* کادر مقالات طبق تصویر جمع‌تر و شکیل‌تر است */
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* هدر سکشن */
.dr-research-header {
    text-align: center;
    margin-bottom: 35px;
}

.dr-research-main-title {
    font-family: 'Kalameh', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

/* خط دکوراتیو وسط هدر */
.dr-research-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.dr-research-line {
    height: 2px;
    width: 60px;
    background-color: #a33867;
}

.dr-research-center-logo {
    width: 20px;
    height: 20px;
    border: 2px solid #a33867;
    transform: rotate(45deg);
    border-radius: 4px;
    position: relative;
}

.dr-research-center-logo::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #a33867;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

/* --- ساختار آکاردئون اختصاصی مقالات --- */
.dr-research-acc-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 50px;
}

.dr-research-acc-item {
    border-radius: 8px;
    overflow: hidden;
    background-color: #ebdce2; /* پیش‌فرض دکمه‌های بسته */
    transition: background-color 0.25s ease;
}

.dr-research-acc-header {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: right;
}

.dr-research-acc-title {
    font-family: 'IRANSansX', sans-serif;
    font-size: 14.5px;
    font-weight: bold;
    color: #222222;
    line-height: 1.6;
}

/* آیکون فلش سمت چپ */
.dr-research-acc-arrow {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid #222222;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-right: 15px;
}

/* پنل بازشو محتوا */
.dr-research-acc-panel {
    max-height: 0;
    overflow: hidden;
    background-color: #fffbfe;
    border: 1px solid transparent;
    border-top: none;
    border-radius: 0 0 8px 8px;
    transition: max-height 0.25s ease-out, border-color 0.25s ease;
}

.dr-research-acc-content {
    padding: 20px;
    font-family: 'IRANSansX', sans-serif;
    font-size: 13.5px;
    color: #222222;
    line-height: 1.8;
}

/* ساب‌تایتل برجسته ژورنال در عکس (مثال: Journal of Dentistry) */
.dr-research-journal-badge {
    display: block;
    font-weight: bold;
    text-align: left;
    direction: ltr;
    margin-bottom: 12px;
    color: #000000;
    font-size: 14px;
}

.dr-research-bullets {
    list-style-type: none;
    padding-right: 5px;
}

.dr-research-bullets li {
    position: relative;
    padding-right: 18px;
    margin-bottom: 8px;
    text-align: justify;
}

.dr-research-bullets li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: #a33867;
    font-size: 18px;
    line-height: 1;
    top: -2px;
}

/* استایل‌های وضعیت فعال آکاردئون (Active) */
.dr-research-acc-item.is-active {
    background-color: #a33867; /* رنگ زرشکی پنل فعال */
}

.dr-research-acc-item.is-active .dr-research-acc-title {
    color: #ffffff;
}

.dr-research-acc-item.is-active .dr-research-acc-arrow {
    border-right-color: #ffffff;
    transform: rotate(-90deg); /* مایل به سمت پایین */
}

.dr-research-acc-item.is-active .dr-research-acc-panel {
    border-color: #ebdce2;
    background-color: #fffbfb;
}


/* --- ستون باکس‌های تَب‌مانند پایینی (۴ باکس دسته‌بندی) --- */
.dr-categories-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    width: 70%;
    margin-top: 20px;
    margin-right: 8rem;
}

.dr-category-card {
    flex: 1;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    box-shadow: 0px 4px 30px -10px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dr-category-icon-wrapper {
    width: 55px;
    height: 55px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dr-category-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.25s ease;
    filter: brightness( 100% ) contrast( 0% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );
}

.dr-category-card-title {
    font-family: 'IRANSansX', sans-serif;
    font-size: 13px;
    color: #666666;
    font-weight: bold;
    line-height: 1.5;
    transition: color 0.25s ease;
}

/* وضعیت هوور و باکس فعال (صورتی ملایم با آیکون تیره مایل به زرشکی طبق عکس) */
/* وقتی موس روی کارت میره یا کارت فعاله، بک‌گراند و مقیاس عوض میشه */
.dr-category-card:hover,
.dr-category-card.is-active {
    background-color: #F8D4E2 !important;
    transform: scale(1.05);
}

/* تغییر اصلی اینجاست: وقتی کارتِ مادر هوور یا فعال شد، فیلترِ عکسِ فرزند حذف میشه */
.dr-category-card:hover .dr-category-icon-wrapper img,
.dr-category-card.is-active .dr-category-icon-wrapper img {
    opacity: 1;
    filter: grayscale(0%) !important;
}


.dr-category-card:hover .dr-category-card-title,
.dr-category-card.is-active .dr-category-card-title {
    color: #a33867; /* رنگ متن زرشکی در حالت فعال/هوور */
}


/* ------------------------------------------- */
/* استایل‌های نسخه موبایل (ریسپانسیو کاملاً هماهنگ) */
/* ------------------------------------------- */
@media screen and (max-width: 768px) {
    .dr-research-main-title {
        font-size: 26px;
    }

    .dr-research-acc-title {
        font-size: 13px;
    }

    /* تبدیل گرید ۴ باکسی به ساختار ۲ در ۲ در نسخه موبایل */
    .dr-categories-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-right: 3rem;
    }

    .dr-category-card {
        padding: 16px 10px;
    }

    .dr-category-card-title {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .dr-research-section::before {
        width: 260px;
        height: 260px;
        left: -40px;
        top: -20px;
    }
}



/* ریسیت موضعی برای جلوگیری از هرگونه تداخل با کدهای همگانی پروژه */
.dr-services-section,
.dr-services-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* کانتینر اصلی سکشن خدمات */
.dr-services-section {
    width: 100%;
    padding: 60px 16px;
    position: relative;
    overflow: hidden;
}

.dr-services-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- هدر بخش خدمات --- */
.dr-services-header {
    text-align: center;
    margin-bottom: 45px;
}

.dr-services-main-title {
    font-family: 'Kalameh', Tahoma, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
}

/* خط دکوراتیو وسط هدر مابین دو خط زرشکی */
.dr-services-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.dr-services-line {
    height: 2px;
    width: 60px;
    background-color: #a33867;
}

.dr-services-center-logo {
    width: 20px;
    height: 20px;
    border: 2px solid #a33867;
    transform: rotate(45deg);
    border-radius: 4px;
    position: relative;
}

.dr-services-center-logo::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #a33867;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

/* --- گرید کارت‌های خدمات (ساختار ۲ در ۲ دسکتاپ) --- */
.dr-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

/* استایل اختصاصی کارت‌های خدمات با لبه‌های نرم و سایه ملایم */
.dr-services-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f8f8f8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dr-services-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(163, 56, 103, 0.06);
}

/* بخش محتوای متنی کارت (راست‌چین) */
.dr-services-card-content {
    flex: 1;
    text-align: right;
}

.dr-services-card-title {
    font-family: 'IRANSansX', Tahoma, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 14px;
}

/* لیست ویژگی‌های خدمات داخل کارت */
.dr-services-card-list {
    list-style-type: none;
    padding: 0;
}

.dr-services-card-list li {
    font-family: 'IRANSansX', Tahoma, sans-serif;
    font-size: 13.5px;
    color: #555555;
    line-height: 1.8;
    position: relative;
    padding-right: 15px;
    margin-bottom: 8px;
    text-align: justify;
}

.dr-services-card-list li:last-child {
    margin-bottom: 0;
}

/* بالت نقطه‌ای زرشکی رنگ قبل از هر خط متن */
.dr-services-card-list li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: #a33867;
    font-size: 16px;
    top: -1px;
}

/* بخش آیکون تصویری کارت خدمات (سمت چپ) */
.dr-services-card-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dr-services-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ------------------------------------------- */
/* استایل‌های ریسپانسیو کاملاً منطبق بر نسخه موبایل */
/* ------------------------------------------- */
@media screen and (max-width: 992px) {
    /* تبدیل گرید دو ستونه به تک ستونه عمودی زیر هم */
    .dr-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 600px;
        margin: 0 auto;
    }

    /* در موبایل آیکون به بالای متون منتقل شده و چینش وسط‌چین می‌شود */
    .dr-services-card {
        flex-direction: column;
        align-items: center;
        padding: 24px;
        text-align: center;
    }

    .dr-services-card-icon {
        order: 1; /* آیکون ابتدا در بالا قرار می‌گیرد */
        margin-bottom: 15px;
        width: 90px;
        height: 90px;
    }

    .dr-services-card-content {
        order: 2;
        width: 100%;
        text-align: center;
    }

    .dr-services-card-title {
        font-size: 17px;
        text-align: center;
    }

    .dr-services-card-list li {
        text-align: center;
        padding-right: 0;
    }

    /* حذف بالت‌های سمت راست در حالت وسط‌چین موبایل برای زیبایی داک */
    .dr-services-card-list li::before {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .dr-services-main-title {
        font-size: 26px;
    }

    .dr-services-card-title {
        font-size: 16px;
    }

    .dr-services-card-list li {
        font-size: 12.5px;
    }
}

/* ریسیت موضعی برای جلوگیری از تداخل */
.dr-blog-section,
.dr-blog-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* کانتینر اصلی بخش وبلاگ */
.dr-blog-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 16px 40px 16px;
    position: relative;
}

.dr-blog-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- گرید کارت‌های وبلاگ (۴ ستونه در دسکتاپ) --- */
.dr-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

/* استایل اختصاصی کارت مقالات */
.dr-blog-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dr-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(163, 56, 103, 0.08);
}

/* بخش تصویر کارت همراه با بج مقالات */
.dr-blog-image-wrapper {
    width: 100%;
    padding-top: 68%; /* تناسب ابعاد تصاویر دقیقاً مشابه عکس */
    position: relative;
    background-color: #f7f7f7;
    overflow: hidden;
    border-radius: 20px 20px 20px 75px;
}

.dr-blog-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* بج زرشکی رنگ روی تصویر */
.dr-blog-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #a33867;
    color: #ffffff;
    font-family: 'IRANSansX', sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

/* محتوای متنی داخل کارت */
.dr-blog-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: right;
}

/* عنوان مقاله */
.dr-blog-title {
    font-family: 'Kalameh', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #111111;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px; /* تراز شدن ارتفاع عناوین در یک خط */
}

/* متا دیتا (تاریخ و دیدگاه) */
.dr-blog-meta {
    display: flex;
    gap: 15px;
    font-family: 'IRANSansX', sans-serif;
    font-size: 11px;
    color: #999999;
    margin-bottom: 12px;
}

/* خلاصه‌ی متن مقاله */
.dr-blog-excerpt {
    font-family: 'IRANSansX', sans-serif;
    font-size: 12.5px;
    color: #555555;
    line-height: 1.7;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- باکس وضعیت لودینگ انتهای صفحه --- */
.dr-blog-loading-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dr-blog-loading-box.is-visible {
    opacity: 1;
    visibility: visible;
}

/* آیکون لودینگ چرخان مینی‌مال */
.dr-blog-spinner {
    width: 24px;
    height: 24px;
    border: 2.5px solid #ebdce2;
    border-top: 2.5px solid #a33867;
    border-radius: 50%;
    animation: drBlogSpin 0.8s linear infinite;
}

.dr-blog-loading-text {
    font-family: 'IRANSansX', sans-serif;
    font-size: 13px;
    color: #a33867;
    font-weight: bold;
}

@keyframes drBlogSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ------------------------------------------- */
/* استایل‌های نسخه موبایل (تک‌ستونه زیر هم) */
/* ------------------------------------------- */
@media screen and (max-width: 1024px) {
    .dr-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media screen and (max-width: 650px) {
    /* تبدیل ساختار به تک ستونه دقیقاً مشابه عکس موبایل */
    .dr-blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 450px;
        margin: 0 auto;
    }

    .dr-blog-card {
        border-radius: 20px;
    }

    .dr-blog-title {
        font-size: 17px;
        height: auto;
        -webkit-line-clamp: unset;
    }

    .dr-blog-excerpt {
        font-size: 13px;
        -webkit-line-clamp: unset;
    }
}

/* ریسیت موضعی برای هماهنگی با قالب PWA شما */
.dr-article-layout,
.dr-article-layout * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* کانتینر اصلی صفحه مقاله */
.dr-article-layout {
    width: 100%;
    background-color: #ffffff;
    padding: 30px 16px 60px 16px;
}

.dr-article-container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* --- ستون سمت راست: محتوای اصلی مقاله --- */
.dr-article-main-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* آدرس بار / Breadcrumb بالای مقاله */
.dr-article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'IRANSansX', sans-serif;
    font-size: 13px;
    color: #777777;
    margin-bottom: 20px;
}

.dr-article-breadcrumb a {
    color: #777777;
    text-decoration: none;
    transition: color 0.2s;
}

.dr-article-breadcrumb a:hover {
    color: #a33867;
}

.dr-article-breadcrumb span.separator {
    color: #cccccc;
    font-size: 11px;
}

.dr-article-breadcrumb span.current {
    color: #a33867;
    font-weight: bold;
}

/* باکس اصلی محتوای متنی مقاله */
.dr-article-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* مشخصات متای ابتدای مقاله */
.dr-article-meta-header {
    display: flex;
    gap: 20px;
    font-family: 'IRANSansX', sans-serif;
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.85;
}

.dr-article-main-title {
    font-family: 'Kalameh', sans-serif;
    font-size: 26px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* هدر بنر رنگی بالای مقاله */
.dr-article-header-banner {
    background-color: #a33867;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
}

/* تصویر اصلی درون مقاله */
.dr-article-main-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* باکس فهرست محتوا */
.dr-article-toc {
    background-color: #702133;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #eeeeee;
}

.dr-article-toc-title {
    font-family: 'Kalameh', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
}

/* استایل‌های متون و عناوین داخل مقاله */
.dr-article-body h2 {
    font-family: 'Kalameh', sans-serif;
    font-size: 20px;
    color: #111111;
    margin: 35px 0 15px 0;
    position: relative;
    padding-right: 12px;
}

.dr-article-body h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background-color: #a33867;
    border-radius: 2px;
}

.dr-article-body p {
    font-family: 'IRANSansX', sans-serif;
    font-size: 15px;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.dr-article-body ul {
    margin-bottom: 20px;
    padding-right: 20px;
}

.dr-article-body ul li {
    font-family: 'IRANSansX', sans-serif;
    font-size: 14.5px;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* --- ستون سمت چپ: سایدبار فیکس (فقط دسکتاپ) --- */
.dr-article-sidebar-col {
    width: 380px;
    position: sticky;
    top: 20px; /* فاصله از بالای صفحه هنگام اسکرول */
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

/* باکس پیشرفت مطالعه و فرم ثبت نام */
.dr-sidebar-widget {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* هدر درصد پیشرفت همراه با پروگرس بار دایره ای */
.dr-progress-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #716d6d;
    margin-bottom: 20px;
}

.dr-progress-circle-wrapper {
    position: relative;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dr-progress-circle-svg {
    transform: rotate(-90deg);
    width: 54px;
    height: 54px;
}

.dr-progress-circle-bg {
    fill: none;
    stroke: #ebdce2;
    stroke-width: 3.5;
}

.dr-progress-circle-bar {
    fill: none;
    stroke: #a33867;
    stroke-width: 3.5;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s;
}

.dr-progress-percentage {
    position: absolute;
    font-family: 'IRANSansX', sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #111111;
}

.dr-progress-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dr-progress-label {
    font-family: 'Kalameh', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #111111;
}

.dr-progress-author {
    font-family: 'IRANSansX', sans-serif;
    font-size: 11px;
    color: #888888;
}

/* فرم ثبت نام سایدبار */
.dr-sidebar-form-title {
    font-family: 'Kalameh', sans-serif;
    font-size: 20px;
    font-weight: 500;
    background-color: #9595ad;
    padding: 20px 20px 20px 20px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-df9e079);
    border-radius: 15px 15px 15px 15px;
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
}

.dr-sidebar-input {
    width: 100%;
    height: 46px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 0 15px;
    font-family: 'IRANSansX', sans-serif;
    font-size: 13px;
    color: #333333;
    margin-bottom: 12px;
    outline: none;
    text-align: right;
    transition: border-color 0.2s;
}

.dr-sidebar-input:focus {
    border-color: #a33867;
}

/* باکس شبیه‌ساز کامپوننت کپچا */
.dr-captcha-mock {
    background-color: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dr-captcha-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dr-captcha-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.dr-captcha-text {
    font-family: sans-serif;
    font-size: 13px;
    color: #333333;
}

.dr-captcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dr-captcha-logo svg {
    width: 26px;
    height: 26px;
}

.dr-captcha-logo span {
    font-size: 8px;
    color: #9b9b9b;
    font-family: sans-serif;
    margin-top: 2px;
}

.dr-sidebar-submit-btn {
    width: 100%;
    height: 46px;
    background-color: #a33867;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Kalameh', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dr-sidebar-submit-btn:hover {
    background-color: #822a51;
}

/* ------------------------------------------- */
/* استایل‌های واکنش‌گرا (موبایل و تبلت) */
/* ------------------------------------------- */
@media screen and (max-width: 1024px) {
    /* پنهان شدن سایدبار در نسخه موبایل دقیقاً مطابق ویدیو */
    .dr-article-sidebar-col {
        display: none;
    }

    .dr-article-container {
        flex-direction: column;
        gap: 0;
    }

    .dr-article-card {
        padding: 20px;
    }

    .dr-article-main-title {
        font-size: 20px;
    }
}


