 /* BEGIN Bold */
@font-face {
	font-family: 'IranianSansBold';
	src: url('fonts/IranianSansBold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
/* END Bold */
/* BEGIN Regular */
@font-face {
	font-family: 'IranSans';
	src: url('fonts/IranianSansRegular.ttf') format('truetype'),
		 url('fonts/IRANSans-web.woff') format('woff');
	font-weight: 900;
    font-style: normal;
    font-display: swap; /* برای بهبود تجربه بارگذاری */
}
/* END Regular */

@font-face {   
 font-family: 'Yekan';
    src: url('Yekan.eot');
    src: url('Yekan.ttf') format('truetype'),
    url('Yekan.woff') format('woff');	
   }
@font-face {
  font-family: 'Vazirmatn';
  src: url(/css/Vazirmatn-ExtraLight.woff2);
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url(/css/Vazirmatn-Light.woff2);
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url(/css/Vazirmatn-Thin.woff2);
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url(/css/Vazirmatn-Medium.woff2);
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url(/css/Vazirmatn-Bold.woff2);
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url(/css/Vazirmatn-SemiBold.woff2);
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url(/css/Vazirmatn-ExtraBold.woff2);
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url(/css/Vazirmatn-Black.woff2);
  font-weight: 900;
  font-style: normal;
}

 :root { --primary-color: #54e7e1; }
        body { 
               font-family: 'Vazirmatn',  Yekan, sans-serif; margin: 0; 
/*background-color: #020a14; linear-gradient(rgba(2, 10, 20, 0.7), rgba(2, 10, 20, 0.7)), */
overflow-x: hidden;
}

        /* Hero Section */
        .hero-section {
            height: 100vh;
            background:  url('/images/Slider.jpg') no-repeat center center / cover;
            display: flex;
            flex-direction: column;
            color: white;
            position: relative;
        }

        /* Navbar */
        .navbar { padding-top: 30px !important; }
        .nav-link { color: #fff !important; font-weight: 500; font-size: 0.95rem; margin: 0 15px; }
        
        .lang-badge {
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 8px;
            padding: 5px 15px;
            font-size: 0.9rem;
color:white;
        }

        .btn-reservation {
            border: 1px solid var(--primary-color);
            color: white;
            padding: 8px 25px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 0.9rem;
        }

        /* Hero Content */
        .hero-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
        .title-h1 { font-size: 5rem; font-weight: 1000; margin-bottom: 10px; }
        .subtitle-p { font-size: 1.5rem; color: #d1d1d1; margin-bottom: 50px; }

        /* Feature Bar (Glass Effect) */
        .feature-bar {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 20px;
            padding: 25px;
        }

        .feature-item { display: flex; align-items: center; }
        .feature-item img {
            width: 50px;
            height: 50px;
            margin-left: 15px;
            /* این خط سفیدی پشت آیکن‌ها را حذف می‌کند */
            mix-blend-mode: lighten; 
        }
        .feature-item h5 { font-size: 1.1rem; margin-bottom: 2px; }
        .feature-item p { font-size: 0.85rem; color: #a0a0a0; margin: 0; }


        /* ===== Hero Layout (برای کنترل دقیق جای متن و feature bar) ===== */
.hero-main{
  position: relative;
  min-height: 520px;          /* فضای کافی برای قرارگیری متن و باکس پایین */
  padding-top: 110px;         /* فاصله از منو (بالا عالی بود، دست نمی‌زنیم زیاد) */
  padding-bottom: 120px;      /* جا برای باکس پایین */
}

/* بلوک متن اصلی - نزدیک به محل آبی وسط تصویر */
.hero-text-wrap{
  position: relative;
  max-width: 820px;           /* مثل نمونه متن خیلی عریض نشود */
  margin-right: 550px;        /* متن از سمت راست کمی فاصله بگیرد (برای حالت RTL) */
  margin-top: 20px;           /* متن کمی پایین‌تر بیاید */
}

/* اگر خواستی دقیق‌تر: */
@media (max-width: 1199.98px){
  .hero-text-wrap{ margin-right: 120px; }
}
@media (max-width: 991.98px){
  .hero-text-wrap{
    margin-right: 0;
    max-width: 100%;
    text-align: center;
  }
}

/* ===== Feature bar: پایین-چپ مثل نمونه ===== */
.feature-wrap-left{
  position: absolute;
  left: 0;                    /* چسبیدن به سمت چپ */
  bottom: 0;               /* فاصله از پایین هدر */
  top:600px;
  z-index: 3;
  width: min(860px, 92%);     /* اندازه نزدیک نمونه (جمع‌وجور) */
}

/* در RTL وقتی left داریم مشکلی نیست، چون واقعاً می‌خواهیم چپ باشد */
.feature-bar{
  margin-left: 0;
  margin-right: auto;
}

/* برای اینکه باکس‌ها دقیق مثل نمونه فشرده‌تر شوند */
.feature-item{
  gap: 12px;
}
.feature-title{
  font-size: 1.25rem;
}
.feature-text{
  font-size: .95rem;
  opacity: .9;
}

/* موبایل: feature bar بیاد زیر متن و وسط‌چین شود */
@media (max-width: 991.98px){
  .feature-wrap-left{
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28px;
  }
  .feature-bar{ width: 100%; }
}

/* ===== About Center Section ===== */
.about-center-section{
    background: #f4f5f8;
    padding: 10px 0 88px;
    position: relative;
}

.about-collage{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "img1 img2"
        "img3 blank";
    gap: 14px;
    max-width: 640px;
    margin-left: 0;
}

.about-img,
.about-card-blank{
    overflow: hidden;
    border-radius: 24px;
    position: relative;
    min-height: 250px;
}

.about-img{
    border: 1px solid rgba(20, 34, 56, 0.12);
    box-shadow: 0 14px 30px rgba(18, 30, 52, 0.08);
    background: #dde3ee;
}

.about-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-1{ grid-area: img1; }
.about-img-2{ grid-area: img2; }
.about-img-3{ grid-area: img3; }
.about-card-blank{
    grid-area: blank;
    background: #cfd4df;
    border: 1.5px solid rgba(45, 77, 122, 0.45);
    border-radius: 38px;
    min-height: 310px;
}

.about-content-box{
    min-height: 610px;
    background: rgba(255,255,255,0.34);
    border: 1px solid rgba(35, 52, 84, 0.08);
    border-radius: 56px;
    padding: 48px 44px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-section-title-wrap{
    text-align: center;
    margin-bottom: 34px;
}

.about-section-title{
    display: inline-block;
    position: relative;
    font-size: 2.1rem;
    font-weight: 800;
    color: #2b3140;
    margin: 0;
    line-height: 1.4;
    padding: 0 22px;
}

.about-section-title::before,
.about-section-title::after{
    content: "";
    position: absolute;
    top: 54%;
    width: 80px;
    height: 2px;
    background: #d5b14b;
    transform: translateY(-50%);
}

.about-section-title::before{
    right: 100%;
    margin-right: 12px;
}

.about-section-title::after{
    left: 100%;
    margin-left: 12px;
}

.about-text{
    font-size: 1.05rem;
    line-height: 2.15;
    color: #4a5263;
    margin-bottom: 18px;
    text-align: justify;
font-weight: 500;
}

.about-more-btn{
    align-self: flex-start;
    margin-top: 14px;
    background: #0d2f57;
    color: #fff;
    border-radius: 14px;
    padding: 12px 22px;
    font-size: 0.98rem;
    font-weight: 600;
    transition: .25s ease;
}

.about-more-btn:hover{
    background: #15457d;
    color: #fff;
}

@media (max-width: 1199.98px){
    .about-content-box{
        min-height: 560px;
        padding: 38px 30px;
        border-radius: 40px;
    }

    .about-section-title{
        font-size: 1.8rem;
    }
}

@media (max-width: 991.98px){
    .about-center-section{
        padding: 56px 0 70px;
    }

    .about-collage{
        max-width: 100%;
    }

    .about-content-box{
        min-height: auto;
    }
}

@media (max-width: 575.98px){
    .about-collage{
        grid-template-columns: 1fr;
        grid-template-areas:
            "img1"
            "img2"
            "img3"
            "blank";
    }

    .about-img,
    .about-card-blank{
        min-height: 220px;
    }

    .about-card-blank{
        min-height: 240px;
        border-radius: 28px;
    }

    .about-content-box{
        border-radius: 28px;
        padding: 28px 20px;
    }

    .about-section-title{
        font-size: 1.4rem;
        padding: 0 10px;
    }

    .about-section-title::before,
    .about-section-title::after{
        width: 38px;
    }

    .about-text{
        font-size: 0.96rem;
        line-height: 2;
    }
}

/*   sayer  */
/* ===============================
   اصلاح نهایی برای چیدمان فشرده و متوازن
================================ */

/* بخش اصلی هیرو */
.hero-section {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center; /* تراز عمودی محتوا */
    position: relative;
    overflow: hidden;
}

.hero-main {
    width: 100%;
    padding-top: 0; 
    padding-bottom: 0;
    z-index: 2;
}

/* اصلاح موقعیت متن برای جلوگیری از تداخل با DNA */
.hero-text-wrap {
    max-width: 650px;
    margin-right: 60px; /* فاصله از سمت راست برای دوری از DNA */
    margin-left: auto;
    text-align: right;
    margin-top: -50px; /* کمی انتقال به بالا برای تعادل بصری */
}

.title-h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.subtitle-p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #e0e0e0;
    margin-bottom: 0;
}

/* اصلاح نوار ویژگی‌ها (پایین سمت چپ) */
.feature-wrap-left {
    position: absolute;
    bottom: 40px !important; /* چسباندن به پایین */
    left: 40px !important;   /* چسباندن به چپ */
    top: auto !important;    /* لغو مقدار قبلی */
    width: auto !important;
    max-width: 850px;
}

.feature-bar {
    padding: 12px 25px !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px);
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item img {
    width: 42px !important;
    height: 42px !important;
}

.feature-title, .feature-item h5 {
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
    color: #fff;
}

.feature-text, .feature-item p {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.7);
}

/* واکنش‌گرایی برای تبلت و موبایل */
@media (max-width: 1200px) {
    .hero-text-wrap { margin-right: 40px; max-width: 550px; }
    .title-h1 { font-size: 3rem; }
}

@media (max-width: 991px) {
    .hero-section { align-items: flex-start; padding-top: 120px; }
    .hero-text-wrap { margin: 0 auto; text-align: center; }
    
    .feature-wrap-left {
        position: relative !important;
        left: 0 !important;
        bottom: 0 !important;
        margin: 40px auto 0 !important;
        width: 90% !important;
    }
    
    .feature-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}
/* بخش اصلی هیرو */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    background-image: url("/images/Slider-1920x960.jpg");
    background-size: cover;
    background-position: 80% center; /* جابه‌جایی DNA به سمت راست برای خالی شدن سمت چپ */
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* اصلاح موقعیت متن (سمت چپ و مرکز عمودی) */
.hero-text-wrap {
    max-width: 600px;
    margin-right: auto;
    margin-left: 8%; /* فاصله مناسب از سمت چپ صفحه */
    margin-top: 180px; /* فاصله از هدر برای عدم تداخل با منو */
    text-align: right;
}

.title-h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.subtitle-p {
    font-size: 1.15rem;
    color: #d0d8e0;
    margin-bottom: 0;
}

/* نوار ویژگی‌ها در پایین سمت چپ */
.feature-wrap-left {
    margin-left: 8%;
    margin-bottom: 40px;
    max-width: 800px;
}

.feature-bar {
    background: rgba(10, 25, 47, 0.5); /* تیرگی شیشه‌ای برای خوانایی بیشتر */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 15px 20px;
}
.hero-text-wrap{
    margin-top: 210px; /* کمی پایین‌تر */
}

.feature-wrap-left{
    margin-bottom: 25px;
}

.feature-bar{
    padding: 12px 18px;
}

/* سپس در CSS اعمال کنید: */
.title-h1 {
    font-family: 'IranSans', Tahoma, sans-serif; /* نام فونت انتخابی */
    font-weight: 900; /* وزن ضخیم */
    /* بقیه استایل‌ها... */
}






.feature-wrap-left {
    position: absolute;
    left: 0;
    bottom: 25px;   /* کمی بالاتر از پایین */
    top: auto !important;
    z-index: 3;
    width: min(920px, 95%);
    margin-left: 5px;   /* کمی از چپ فاصله بگیرد */
}

.feature-bar {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 16px 22px;
    margin-left: 0;
    margin-right: auto;
}

.feature-bar .row {
    --bs-gutter-x: 100px;   /* فاصله بیشتر بین 3 ستون */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;   /* فاصله آیکن و متن داخل هر بخش */
}

.feature-item img {
    width: 46px;
    height: 46px;
    margin-left: 0;
}

.feature-title {
    font-size: 1.15rem;
}

.feature-text {
    font-size: 0.9rem;
}




/* جلوگیری از شکستن خط عنوان‌های نوار ویژگی‌ها */
.feature-title {
    white-space: nowrap !important; /* اجبار به قرارگیری در یک خط */
    font-size: 1.1rem !important;  /* تنظیم دقیق اندازه فونت برای جا شدن بهتر */
}

/* افزایش کمی عرض کل نوار و فاصله‌ها تا متن‌ها خفه نشوند */
.feature-wrap-left {
    width: min(960px, 96%) !important;
}

/* هم‌ترازی و چیدمان بهتر آیکون و متن */
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item img {
    flex-shrink: 0; /* جلوگیری از تغییر سایز آیکون */
}




/* بخش خدمات اصلی */
.services-wrapper {
    background-color: #ffffff;
}

/* کارت‌های اصلی خدمات */
.main-service-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px 24px 26px;
    box-shadow: 0 16px 40px rgba(24, 40, 72, 0.10);
    border: 1px solid rgba(24, 40, 72, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.main-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(24, 40, 72, 0.16);
}

/* دایره‌ی دور آیکون (مثل طرحی که فرستادی) */
.service-icon-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #102343;                 /* سرمه‌ای تیره */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(10, 22, 46, 0.38);
}

/* خود آیکون داخل دایره */
.service-icon-wrap img {
    max-width: 78px;
    max-height: 78px;
    display: block;
}

/* عنوان زیر آیکون */
.main-service-card h5 {
    font-size: 1.05rem;
    margin-top: 4px;
    color: #222b3d;
}

/* برای آیکون‌های زیرمجموعه (sub services) */
.sub-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #102343;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-icon img {
    max-width: 56px;
    max-height: 56px;
}

/* متن زیر آیکن‌های ریز */
#sub-services-container p {
    margin-top: 4px;
    font-size: 0.99rem;
    color: #283247;
font-weight: 100;
}
/* ایجاد ظرف عنوان خدمات برای مدیریت بهتر خط تزئینی */
.services-title-wrap {
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

/* استایل‌دهی به خط تزئینی نارنجی */
.services-title-wrap::after {
    content: "";
    position: absolute;
    bottom: -15px; /* فاصله خط از متن */
    left: 50%;
    transform: translateX(-50%);
    width: 100px;  /* طول خط */
    height: 3px;   /* ضخامت خط */
    background: #d5b14b; /* همان رنگ نارنجی/طلایی سایت */
    border-radius: 2px;
}



/* کارت‌های کلینیک */
.clinic-card {
    text-align: center;
    transition: transform 0.3s ease;
}

/* محفظه تصویر: ابعاد ثابت و گوشه‌های گرد */
.clinic-img-wrapper {
    width: 100%;
    height: 250px; /* ارتفاع ثابت برای هماهنگی */
    overflow: hidden;
    border-radius: 28px; /* گرد کردن گوشه‌ها مشابه عکس */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    border: 2px solid #fff;
}

/* تنظیم تصویر برای پر کردن فضا بدون تغییر شکل */
.clinic-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* حفظ تناسب و برش خوردن اضافه */
    transition: transform 0.4s ease;
}

/* افکت زوم هنگام هاور */
.clinic-card:hover .clinic-img-wrapper img {
    transform: scale(1.05);
}

/* متن زیر کارت */
.clinic-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
}
/*  راهنما */
/* بخش تمام صفحه با پس‌زمینه سورمه‌ای تیره */
.quick-access-section {
    width: 100%;
    background-color: #2c384e; /* رنگ پس‌زمینه دقیق مشابه تصویر */
    padding: 45px 0;
    margin: 40px 0;
}

/* آیتم‌های داخل بخش */
.quick-access-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

.quick-access-item:hover {
    transform: translateY(-5px);
}

/* محفظه آیکون‌ها */
.quick-icon-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.quick-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* متن زیر آیکون‌ها */
.quick-access-item span {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap; /* جلوگیری از شکستن چند خطی متن در سیستم‌های بزرگ */
}

/* بهینه‌سازی برای موبایل و تبلت */
@media (max-width: 768px) {
    .quick-access-section {
        padding: 30px 0;
    }
    
    .quick-icon-wrap {
        width: 60px;
        height: 60px;
    }

    .quick-access-item span {
        font-size: 0.95rem;
        white-space: normal; /* اجازه شکستن متن در موبایل برای خوانایی بهتر */
    }
}
/* اخبار */
/* =========================================
   News Section
========================================= */

.news-section {
    position: relative;
    width: 100%;
    padding: 85px 0 75px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(244, 247, 251, 0.97),
            rgba(226, 235, 245, 0.96)
        );
}

/* لکه‌ها و عناصر تزئینی */
.news-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -180px;
    top: 80px;
    border-radius: 50%;
    background: rgba(84, 231, 225, 0.12);
    filter: blur(3px);
}

.news-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -150px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(213, 177, 75, 0.11);
}

.news-decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    object-fit: contain;
    opacity: 0.9;
}

.news-decoration-large {
    width: 260px;
    height: 260px;
    left: 25px;
    top: 30px;
}

.news-decoration-small {
    width: 145px;
    height: 145px;
    left: 45px;
    bottom: 25px;
    transform: rotate(-20deg);
    opacity: 0.65;
}

.news-section .container {
    position: relative;
    z-index: 3;
}

/* عنوان بخش */
.news-section-title-wrap {
    text-align: center;
    margin-bottom: 42px;
}

.news-section-title {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0 25px 17px;
    color: #2b3140;
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.5;
}

.news-section-title::after {
    content: "";
    position: absolute;
    width: 82px;
    height: 3px;
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
    background: #d5b14b;
    border-radius: 20px;
}

/* ساختار اسلایدر */
.news-slider-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    direction: ltr;
}

.news-slider-viewport {
    width: 100%;
    max-width: 1050px;
    overflow: hidden;
}

.news-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.55s ease;
    will-change: transform;
}

/* کارت خبر */
.news-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(43, 49, 64, 0.13);
    border-radius: 25px;
    box-shadow: 0 14px 32px rgba(18, 30, 52, 0.09);
    transition: all 0.35s ease;
    direction: rtl;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 38px rgba(18, 30, 52, 0.16);
}

/* تصویر خبر */
.news-card-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #dfe7f0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.06);
}

/* محتوای کارت */
.news-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px 22px 23px;
    text-align: right;
}

.news-date {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 10px;
    color: #168c8b;
    font-size: 0.82rem;
    font-weight: 700;
}

.news-card-body h3 {
    min-height: 58px;
    margin: 0 0 10px;
    color: #2b3140;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.8;
}

.news-card-body p {
    flex-grow: 1;
    margin: 0 0 20px;
    color: #687487;
    font-size: 0.92rem;
    line-height: 2;
}

/* دکمه نمایش بیشتر */
.news-more-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 21px;
    border-radius: 14px;
    background: #0d2f57;
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.news-more-btn:hover {
    background: #15457d;
    color: #ffffff !important;
    transform: translateX(-3px);
}

/* دکمه‌های چپ و راست */
.news-nav {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(13, 47, 87, 0.15);
    border-radius: 50%;
    background: #ffffff;
    color: #0d2f57;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(18, 30, 52, 0.12);
    transition: all 0.3s ease;
}

.news-nav:hover {
    background: #0d2f57;
    color: #ffffff;
}

.news-nav:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(84, 231, 225, 0.28);
}

/* نقاط پایین اسلایدر */
.news-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    direction: ltr;
}

.news-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b7c2d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-dot.active {
    width: 27px;
    border-radius: 10px;
    background: #d5b14b;
}

/* تبلت */
@media (max-width: 992px) {
    .news-card {
        flex-basis: calc((100% - 24px) / 2);
        min-width: calc((100% - 24px) / 2);
    }

    .news-decoration-large {
        left: -70px;
        opacity: 0.45;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .news-section {
        padding: 65px 0 60px;
    }

    .news-section-title {
        font-size: 1.7rem;
    }

    .news-slider-wrapper {
        gap: 10px;
    }

    .news-card {
        flex-basis: 100%;
        min-width: 100%;
        border-radius: 22px;
    }

    .news-card-image {
        height: 205px;
    }

    .news-card-body h3 {
        min-height: auto;
        font-size: 1.05rem;
    }

    .news-nav {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }

    .news-decoration-large {
        width: 180px;
        height: 180px;
        left: -80px;
        top: 170px;
        opacity: 0.25;
    }

    .news-decoration-small {
        display: none;
    }
}

/* اخبار */

/*  فوتر */
/* =========================
   Footer
========================= */

/* =========================
   Footer Full Width
========================= */

/* --- تنظیمات کلی فوتر تمام‌عرض --- */
.site-footer {
    position: relative;
    width: 100%;
    min-height: 600px; /* مطابق ارتفاع تصویر شما */
    background-color: #0d1b2a; /* رنگ رزرو */
    overflow: hidden;
    direction: rtl;
}

.site-footer .footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.site-footer .footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* تصویر را بدون دفرمه شدن فیت می‌کند */
}

.site-footer .footer-overlay {
    position: relative;
    z-index: 5;
    padding: 80px 0 40px;
}

/* --- چیدمان گرید --- */
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 1fr; /* ستون تماس پهن‌تر، وسط باریک، لینک‌ها نرمال */
    gap: 30px;
    align-items: start;
}

/* --- استایل متون و عناوین --- */
.site-footer .footer-title-wrap {
    margin-bottom: 25px;
}

.site-footer h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.site-footer .footer-title-line {
    display: block;
    width: 80px;
    height: 3px;
    background: #d5b14b;
    margin-top: 10px;
}

.site-footer .footer-item {
    margin-bottom: 20px;
}

.site-footer .footer-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: #54e7e1; /* رنگ فیروزه‌ای مشابه لوگو */
    font-weight: 700;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

/* --- ساعت کاری (زیر ایمیل) --- */
.site-footer .footer-working-hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-working-hours p {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-footer .clock-icon {
    margin-left: 5px;
    color: #d5b14b;
}

/* --- ستون لینک‌ها (سمت چپ) --- */
.site-footer .footer-links-col {
    text-align: left; /* تراز چپ برای لینک‌ها */
}

.site-footer .footer-links-col .footer-title-line {
    margin-left: auto;
    margin-right: 0; /* خط زیر عنوان در سمت چپ هم راست‌چین باشد یا برعکس؟ معمولا هماهنگ با متن */
}

.site-footer .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links-list li {
    margin-bottom: 12px;
}

.site-footer .footer-links-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: 0.3s;
}

.site-footer .footer-links-list a:hover {
    color: #54e7e1;
    padding-left: 5px;
}

/* --- ریسپانسیو --- */
@media (max-width: 991px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .site-footer .footer-middle-col { display: none; }
}

@media (max-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .site-footer .footer-links-col { text-align: center; }
    .site-footer .footer-label { justify-content: center; }
    .site-footer .footer-title-line { margin: 10px auto 0; }
}




/* ==========================================
   استایل نهایی و تمام‌عرض فوتر
   ========================================== */
/* --- اصلاح نهایی فوتر برای حذف اسکرول و نمایش تمام‌عرض --- */
.site-footer {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #0c192c;
    background-image: url('/images/footer.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    direction: rtl;
    color: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

.site-footer .footer-overlay {
    background: rgba(12, 25, 44, 0.7);
    padding: 80px 0 75px 0;
    width: 100%;
    box-sizing: border-box;
}

/* تنظیم گرید برای تراز شدن دقیق ستون‌ها */
.site-footer .footer-grid {
    display: flex; /* تغییر به فلکس برای کنترل بهتر فاصله‌ها */
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer .footer-col {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
}

/* اصلاح تراز خط طلایی زیر عنوان‌ها */
.site-footer .footer-title-wrap {
    margin-bottom: 25px;
    text-align: right;
}

.site-footer .footer-title-line {
    display: block;
    width: 60px;
    height: 3px;
    background-color: #d5b14b;
    margin-top: 8px;
    margin-right: 0; /* اطمینان از چسبیدن به راست */
}

/* استایل لینک‌ها برای تراز بودن */
.site-footer .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

/* استایل ساعت کاری برای تراز شدن با باکس */
.site-footer .footer-working-hours {
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-right: 4px solid #54e7e1; /* تغییر رنگ تم به فیروزه‌ای برای تنوع */
    border-radius: 5px;
    display: inline-block; /* برای اینکه باکس به اندازه متن باشد */
    width: 100%;
}




.about-collage {
    position: relative;
    min-height: 560px;
    width: 100%;
}

/* تصویر اصلی بزرگ */
.about-img {
    position: absolute;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    background: #fff;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* تصویر اول - بزرگ و سمت چپ */
.about-img-1 {
    top: 70px;
    left: 0;
    width: 58%;
    height: 390px;
    z-index: 3;
}

/* تصویر دوم - بالا سمت راست */
.about-img-2 {
    top: 0;
    right: 20px;
    width: 38%;
    height: 250px;
    z-index: 2;
}

/* تصویر سوم - پایین سمت راست */
.about-img-3 {
    bottom: 20px;
    right: 0;
    width: 42%;
    height: 260px;
    z-index: 4;
}

/* باکس سفید/تزئینی وسط */
.about-card-blank {
    position: absolute;
    top: 255px;
    right: 140px;
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.10);
    z-index: 1;
}

/* ریسپانسیو */
@media (max-width: 991px) {
    .about-collage {
        min-height: 700px;
    }

    .about-img-1 {
        width: 62%;
        height: 360px;
    }

    .about-img-2 {
        width: 40%;
        height: 220px;
    }

    .about-img-3 {
        width: 45%;
        height: 230px;
    }
}

@media (max-width: 768px) {
    .about-collage {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .about-img,
    .about-card-blank {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        height: 220px;
    }

    .about-card-blank {
        display: none;
    }

    .about-img-1 {
        grid-column: span 2;
        height: 280px;
    }
}



/* آمار بازدید در یک ردیف افقی */
.site-footer .footer-visitor-stats {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 25px 0 0 !important;
    padding: 15px 0 5px !important;
    direction: rtl !important;
    box-sizing: border-box !important;
}

/* چهار آیتم کنار یکدیگر */
.site-footer .footer-visitor-stats .visitor-stat-item {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    padding: 12px !important;
    box-sizing: border-box !important;

    background: rgba(255, 255, 255, 0.08);
    border-right: 3px solid #4ddbd5;
    border-radius: 8px;
}

/* جلوگیری از بزرگ‌شدن محتوای داخلی */
.site-footer .visitor-stat-item > div {
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.site-footer .visitor-stat-item strong,
.site-footer .visitor-stat-item span {
    white-space: nowrap !important;
}

.site-footer .visitor-stat-icon {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 768px) {
    .footer-visitor-stats {
        flex-wrap: wrap !important;
        justify-content: center;
    }

    .footer-visitor-stats .visitor-stat-item {
        flex: 0 0 calc(50% - 6px);
        width: calc(50% - 6px);
    }
}

@media (max-width: 480px) {
    .footer-visitor-stats .visitor-stat-item {
        flex: 0 0 100%;
        width: 100%;
    }
}


/* حذف خط زیر لینک کارت‌ها در تمام حالت‌ها */
.clinic-card,
.clinic-card:link,
.clinic-card:visited,
.clinic-card:hover,
.clinic-card:focus,
.clinic-card:active {
    text-decoration: none !important;
    color: inherit;
}

/* حذف خط زیر عنوان داخل لینک */
.clinic-card h2,
.clinic-card h3,
.clinic-card span,
.clinic-card p {
    text-decoration: none !important;
}

