:root {

    --neon-green: #22be83;
    /* رنگ اصلی */
    --charcoal-black: #0F172A;
    /* رنگ نوشته ها */
    --pure-white: #FFFFFF;
    /* رنگ بک گراند */
    --light-gray: #F8F9FA;
    /* رنگ بک گراند هدرها */
    --glass-bg: rgba(255, 255, 255, 0.95);
    /* رنگ بک گراند شیشه ای */
    --border-radius: 16px;
    --card-height: 380px;

}

.head-box::after {
    background-color: #22be83 !important;
}

.design-container {
    outline: 2px solid #cdcdcd !important;
    position: relative;
    min-height: 50px;
    display: flex;
    justify-content: flex-end;
    direction: rtl;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    width: 100%;
}

html {

    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-3dlight-color: #0F172A;
    scrollbar-color: var(--neon-green) transparent;
    overflow-x: hidden;
}

body {
    background-color: var(--pure-white);
    color: var(--charcoal-black);
    font-family: 'Vazirmatn';
}

.background_img {
    position: relative;
    background-image: url("../img/bacground/shahryar.webp");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.fw-black {
    font-weight: 900;
}

.text-neon {
    color: var(--neon-green) !important;
}

.text-charcoal {
    color: var(--charcoal-black) !important;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;

}


.lang-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-dropdown-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.lang-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    min-width: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.lang-dropdown-wrapper:hover .lang-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.lang-submenu .lang-item {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
    white-space: nowrap;
}

.lang-submenu .lang-item:hover {
    background-color: #f8f9fa;
    color: #22be83;
}

/* =========================================
   استایل‌های جستجوی بازشو (Expandable Search)
   ========================================= */
.header-search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

#headerSearchBtn {
    border: 1px solid #22be83 !important;
    border-radius: 16px 0px;
    cursor: pointer;
    background: transparent;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 45px;
    height: 40px;
    position: relative;
}

#headerSearchBtn:hover {
    color: #22be83;
    background-color: rgba(34, 190, 131, 0.05);
    /* یک پس‌زمینه بسیار ملایم هنگام هاور */
}

#headerSearchInput {
    position: absolute;
    right: 100%;
    /* کادر به سمت چپ دکمه باز می‌شود */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 40px;
    /* هم‌ارتفاع با دکمه */
    opacity: 0;
    visibility: hidden;
    padding: 0;
    border: 1px solid transparent;
    outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* افکت فنری (Bouncing) نرم و شیک */
    background-color: #ffffff;
    border-radius: 16px;
    /* هماهنگ با استایل دکمه شما */
    z-index: 999;
}

/* استایل‌های مربوط به زمان اکتیو (فعال) شدن سرچ */
#headerSearchInput.search-active {
    width: 220px;
    opacity: 1;
    visibility: visible;
    padding: 0 15px;
    margin-top: 50px;
    border: 1px solid #22be83;
    box-shadow: 0 4px 15px rgba(34, 190, 131, 0.2);
    margin-right: -130px;

    @media screen and (max-width:768px) {

        margin-top: 0px !important;
        margin-right: 2px !important;
    }

}

#headerSearchInput::placeholder {
    font-size: 12px;
    color: #999;
    transition: opacity 0.3s ease;
}

#headerSearchInput:focus::placeholder {
    opacity: 0.5;
    /* کمرنگ شدن متن placeholder هنگام تایپ */
}


.logo img {
    width: 88px;
}

/* --- Dropdown Caret --- */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: 0px;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

/* --- Dropdown Menu General --- */
.dropdown-menu {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 0.5rem;
    margin-top: 0 !important;
    transition: all 0.3s ease;
    /* اضافه شدن انیمیشن نرم برای باز شدن */
}

.dropdown-item {
    color: var(--text-muted);
    text-align: right;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--charcoal-black);
    background-color: rgba(57, 255, 20, 0.1);
    /* افکت نئونی ملایم برای هاور زیرمنو */
}

/* --- Navbar General --- */
.navbar {
    width: 100%;
    position: sticky;
    top: 0;
    /* برای sticky بودن الزامی است */
    z-index: 1050;
    /* بسیار مهم: جلوگیری از افتادن سایر المان‌ها روی منو در زمان کلیک */
    background-color: var(--pure-white);
    box-shadow: 0px 0px 10px rgba(128, 128, 128, 0.356);
}

.navbar-brand {
    margin-right: 0;
}

.navbar-toggler {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* تغییر رنگ حاشیه برای دیده شدن روی پس‌زمینه سفید */
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 5px var(--neon-green);
    outline: none;
}

/* --- Nav Links & Animation --- */
.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0 10px;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.5s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background-color: var(--neon-green);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active,
.dropdown-toggle.show {
    color: var(--neon-green) !important;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
    left: 0;
}

/* --- Buttons --- */
.btn-neon {
    background-color: var(--neon-green);
    color: var(--light-gray);
    font-weight: 700;
    padding: 10px 30px;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-size: 14px;
    border: none;
}

.nav-link-dropdown-toggle .btn-neon:hover,
.btn-neon:hover {
    color: var(--charcoal-black);
    background-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.btn-outline-dark-custom {
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 8px 15px;
    font-weight: 600;
    height: 40px;
    font-size: 14px;
    border-radius: 15px 0px 15px 0px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-dark-custom:hover {
    background-color: var(--charcoal-black);
    color: var(--pure-white);
    border-color: var(--charcoal-black);
}

.btn-outline-dark-custom:hover .fa-search {
    color: var(--light-gray) !important;
}

.fa-search {
    color: var(--neon-green) !important;
}

.d-flex .btn-outline-light,
.d-flex .btn-neon {
    border-radius: 15px 0px 15px 0px !important;
}

/* ========================================= */
/* --- Responsive & Dropdown Fixes (مهم) --- */
/* ========================================= */

/* استایل دراپ‌داون در حالت دسکتاپ (فقط برای دستگاه‌هایی که موس دارند) */
@media (min-width: 992px) {
    @media (hover: hover) {
        .dropdown:hover>.dropdown-menu {
            display: block;
            margin-top: 0;
        }
    }
}

/* استایل منو و زیرمنو در حالت موبایل (حل مشکل باز و بسته نشدن) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 15px 0;
        /* فاصله دادن به منوی موبایل */
    }

    .navbar-nav .dropdown-menu {
        position: static !important;
        /* خارج کردن از حالت شناور */
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: transparent;
        /* یکپارچه شدن با پس زمینه منو */
        border: none;
        box-shadow: none;
        padding-right: 1.5rem;
        /* تورفتگی برای زیرمنوهای فارسی (راست‌چین) */
    }

    /* اطمینان از اینکه زیرمنوها در حالت عادی مخفی هستند */
    .navbar-nav .dropdown-menu:not(.show) {
        display: none !important;
    }

    /* اطمینان از عملکرد کلاس collapse بوت استرپ */
    .navbar-collapse.collapse:not(.show) {
        display: none !important;
    }
}

/* --- Hero Section --- */
.hero-section {
    background-size: cover;
    background-position: center center;
    /* تصویر را دقیقا در مرکز قرار می‌دهد */
    background-repeat: no-repeat;
    min-height: 80vh;
    /* افزایش ارتفاع برای نمایش بهتر تصویر (از 65vh به 80vh تغییر یافت) */
    display: flex;
    align-items: center;
    position: relative;
    /* اگر می‌خواهید متن روی عکس‌های روشن خواناتر باشد، می‌توانید از یک لایه تیره استفاده کنید */
    /* background-blend-mode: overlay; */
    /* background-color: rgba(0, 0, 0, 0.4); */
}
.slider-text-box {
    position: absolute;
    bottom: 20%;
    right: 25px;

    /* باکس کاملاً باریک */
    padding: 4px 12px;

     background: rgba(255, 255, 255, 0.78);  /* روشن و شفاف */
    color: #111;                             /* متن تیره برای خوانایی */
    border-radius: 8px;
    backdrop-filter: blur(2px);

    box-shadow: 0 3px 12px rgba(0,0,0,0.25);

    width: auto;
    max-width: 250px;

    text-align: right;
    line-height: 1;

    /* جلوگیری از تبدیل شدن به مربع */
    height: auto;
    min-height: unse;
}

.slider-title {
    color: #111;
}

.slider-desc {
    color: #333;
}


/* برای موبایل‌ها تا تصویر بهتر نمایش داده شود */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        background-position: top center;
        /* در موبایل معمولا بالای تصویر مهم‌تر است */
    }
}

.container-fluid {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--pure-white);

    @media screen and (max-width:768px) {
        margin-top: -250px !important;
    }

}

.hero-subtitle {
    color: var(--light-gray);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    border-right: 4px solid var(--neon-green);
    padding-right: 15px;
}

/* --- Floating Cards (Services) --- */
.services-wrapper {
    margin-top: -80px;
    /* Pull up to overlap Hero */
    position: relative;
    z-index: 10;

    @media screen and (max-width:768px) {
        margin-top: -320px !important;
    }


}

.service-card {
    background: var(--pure-white);
    padding: 2.5rem;
    border: none;
    border-bottom: 4px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
    border-radius: 15px 0px 15px 0px;
    box-shadow: 2px 2px 11px #a6ddff63;

}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--neon-green);
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.15);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--charcoal-black);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-card:hover .icon-box {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
}

/* --- Project Section --- */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: none;
    border-radius: 15px 0px 15px 0px;
}

.project-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 15px 0px 15px 0px;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    opacity: 1;
    transition: all 0.3s;
}

.project-card:hover .project-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-tag {
    background-color: var(--neon-green);
    color: var(--charcoal-black);
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

/* --- Footer --- */
/* _______________HomePageNews______________ */
.HomePageNews {

    .Archive-botton {
        font-size: 1.2rem;
        position: relative;
        padding-right: 20px;
        color: #22be83;

        text-decoration: none;
        border-style: solid;
        border-color: #22be82e5;
        box-shadow: 2px 2px 5px rgba(128, 128, 128, 0.336);
        border-width: 0.1px 4px 0.1px 0.1px;
        /* بالا: 1، راست: 1، پایین: 1، چپ: 4 */
        background-color: var(--light-gray);
        padding: 5px 20px;
        border-radius: 16px 0px;
        font-weight: lighter;
        transition: all 0.3s;
    }

    .Archive-botton:hover {
        color: var(--light-gray);
        background-color: #22be82a4;
    }

    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        border-bottom: 2px solid #e9ecef;
        padding-bottom: 1rem;
    }

    .section-title {
        font-weight: 800;
        font-size: 1.8rem;
        position: relative;
        padding-right: 20px;
        color: var(--charcoal-black);

    }

    .section-title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 100%;
        background-color: var(--neon-green);
        border-radius: 4px;
    }

    .btn-archive {
        color: var(--charcoal-black);
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: 0.3s;
        padding: 10px;
        border-radius: 16px 0px;
        background-color: var(--charcoal-black);
        color: var(--pure-white);

        @media screen and (max-width:768px) {
            font-size: 12px;
            margin-left: 125px;
        }
    }

    .btn-archive:hover i {
        color: var(--neon-green);

    }

    .btn-archive:hover {
        color: var(--neon-green);
        box-shadow: 0px 0px 10px var(--neon-green);
    }

    .btn-archive i {
        transition: 0.3s;
        color: var(--light-gray);
        /* Using accent color for icon */
        font-size: 1.2rem;
    }


    .news-card {
        background-color: var(--pure-white);
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        transition: all 0.2s ease;
        cursor: pointer;
        /* height: 100%; */
        position: relative;
        border: 1px solid transparent;
    }

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(57, 255, 20, 0.15);
        /* Neon Green Shadow */
        border-color: var(--neon-green);
        border-radius: 15px 0px 15px 0px;
    }

    .card-img-wrapper {
        overflow: hidden;
        position: relative;
        border-radius: 15px 0px 15px 0px;
    }

    .card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
        border-radius: 15px 0px 15px 0px;
    }

    .news-card:hover .card-img {
        border-radius: 15px 0px 15px 0px;
        transform: scale(1.08);
    }

    /* --- Main Featured Card (Center) --- */
    .main-card .card-img-wrapper {
        height: 666px;
        /* Tall image for focus */
    }

    .main-card .content-overlay {
        position: absolute;
        bottom: 20px;
        right: 20px;
        left: 20px;
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        border-radius: 15px 0px 15px 0px;
        border-right: 4px solid var(--neon-green);
    }

    /* --- Side Cards (Left/Right) --- */
    .side-card {
        display: flex;
        flex-direction: column;
        margin-bottom: 24px;
        /* Spacing between stacked cards */
    }

    .side-card .card-img-wrapper {
        height: 180px;
    }

    .side-card .card-body {
        padding: 1.2rem;
    }

    .news-category {
        font-size: 0.75rem;
        font-weight: 700;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
        display: block;
    }

    .news-title {
        font-weight: 700;
        line-height: 1.5;
        margin-bottom: 0.8rem;
        color: var(--charcoal-black);
        transition: 0.3s;
    }

    .news-card:hover .news-title {
        color: var(--charcoal-black)
            /* Darker on hover */
    }

    .main-card .news-title {
        font-size: 1.4rem;
    }

    .side-card .news-title {
        font-size: 1rem;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-meta {
        font-size: 0.8rem;
        color: #888;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .date-badge {
        background-color: var(--neon-green);
        color: var(--charcoal-black);
        padding: 2px 10px;
        border-radius: 20px;
        font-weight: 700;
        font-size: 0.75rem;
    }

}

/* ------NewsSliderVC------- */

.custom-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: auto;
}

/* نگهدارنده تصویر اسلایدر */
#main-news-slider .slider-image-box {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    width: 100%;
}

/* بخش گرادیانت و متن پایین تصویر */
#main-news-slider .slider-caption {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    width: 100%;
    color: #fff;
    padding: 40px 15px 15px 15px;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
}

/* عنوان خبر */
#main-news-slider .slider-caption h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

/* ================= استایل‌های اسلایدر اصلی ================= */
.HomePageNews .slider-link {
    display: block;
    text-decoration: none;
}

.HomePageNews .slider-image-box {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.HomePageNews .slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 40px 20px 20px;
    color: #fff;
    border-radius: 0 0 12px 12px;
}

.HomePageNews .slider-caption h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

/* ================= استایل‌های بخش دو باکس پایینی ================= */
.HomePageNews .bottom-news-boxes {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.HomePageNews .box-item {
    flex: 1;
    /* در صورت نیاز به عرض دقیق ۵۰ درصد: flex: 0 0 calc(50% - 7.5px); */
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.HomePageNews .box-item-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.HomePageNews .box-item-caption {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    width: 100%;
    color: #fff;
    padding: 20px 10px 10px 10px;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
}

.HomePageNews .box-item-caption h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

#main-news-slider .bottom-news-boxes {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

#main-news-slider .box-item {
    flex: 1;
    /* در صورت تمایل به عرض ثابت ۵۰٪ می‌توانید این خط را با flex: 0 0 calc(50% - 7.5px); جایگزین کنید */
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

#main-news-slider .box-item a.box-item-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

#main-news-slider .box-item-caption {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    width: 100%;
    color: #fff;
    padding: 20px 10px 10px 10px;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
}

#main-news-slider .box-item-caption h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* تنظیمات موقعیت و ظاهر نقطه‌ها برای پشتیبانی از نسخه‌های 1 و 2 افزونه Owl */
#main-news-slider .owl-pagination,
#main-news-slider .owl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
    left: -41%;
}

#main-news-slider .owl-page,
#main-news-slider .owl-dot {
    display: inline-block;
}

#main-news-slider .owl-page span,
#main-news-slider .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.5);
    /* رنگ نقطه‌های خاموش */
    border-radius: 50%;
    transition: opacity 200ms ease;
}

#main-news-slider .owl-page.active span,
#main-news-slider .owl-dot.active span {
    background: #ffffff;
    /* رنگ نقطه‌ی فعال */
    transform: scale(1.2);
}

/* ------/NewsSliderVC------- */
/* ------NewsListVC------- */
.left-news-list {
    padding: 10px;
}

.show-all {
    display: inline-block;
    margin-bottom: 20px;
    color: #007bff;
    font-size: .95rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.show-all:hover {
    color: #0056b3;
}

/* تنظیمات فلکس برای کنار هم قرار گرفتن آیکون و متن */
.left-news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    /* حذف خط پیش‌فرض لینک */
    transition: all 0.3s ease;
    /* انیمیشن نرم برای افکت هاور */
}

/* افکت جذاب هنگام رفتن موس روی خبر */
.left-news-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    border-bottom-color: transparent;
    transform: translateX(-5px);
    /* حرکت جزئی به سمت چپ در قالب راست‌چین */
}

/* استایل آیکون */
.left-news-item .icon {
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.left-news-item:hover .icon {
    color: #007bff;
    /* تغییر رنگ آیکون در حالت هاور */
}

.left-news-item .news-content {
    flex-grow: 1;
}

.left-news-item .title {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.left-news-item:hover .title {
    color: #007bff;
    /* تغییر رنگ عنوان در حالت هاور */
}

.left-news-item .date {
    font-size: .8rem;
    color: #888;
}

/* ------/NewsListVC------- */
.countact-us-btn {
    height: 40px !important;
    font-size: 14px !important;
}

.btn.btn-neon.btn-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px !important;
    font-size: 14px !important;

    @media screen and (max-width:768px) {
        font-size: 12px !important;
    }

}

.btn.btn-neon:hover {
    background-color: var(--charcoal-black);
    color: var(--light-gray);
}

.btn-en {
    background-color: var(--neon-green);
    color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 0px 15px 0px;


}

.btn-en:hover {
    background-color: var(--charcoal-black);
    color: var(--light-gray);
}


.shahriar-features {
    position: relative;
    /* برای اینکه لایه پس‌زمینه نسبت به این باکس تراز شود */
    overflow: hidden;
    /* برای تمیز کردن لبه‌های تار شده */
    /* سایر استایل‌های ابعاد و فاصله */
    width: 100%;
    min-height: 400px;
}

.shahriar-features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* تنظیمات تصویر پس‌زمینه */
    background-image: url('/assets/img/bacground\ shahryar2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* برای پوشش کامل فضا */

    /* اعمال بلور */
    filter: blur(8px);
    /* عدد 8px را برای تغییر میزان تاری کم و زیاد کنید */

    /* قرار گرفتن در پشت محتوا */
    z-index: -1;
}

.shahriar-features {
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* استایل متن اصلی */
.skew-highlight {
    position: relative;
    /* برای تنظیم موقعیت لایه رنگی */
    z-index: 1;
    /* متن روی رنگ قرار بگیرد */
    display: inline-block;
    /* برای اعمال درست پدینگ */
    font-size: 2.5rem;

    @media screen and (max-width:768px) {

        font-size: 1.5rem;
    }
}

/* ساخت نوار رنگی کج در پشت متن */
.skew-highlight::before {
    content: "";
    position: absolute;
    /* تنظیمات موقعیت و اندازه */
    left: -5px;
    /* کمی بیرون زدگی از چپ */
    right: -5px;
    /* کمی بیرون زدگی از راست */
    bottom: 3px;
    /* فاصله از پایین */
    height: 35%;
    /* ارتفاع هایلایت (ضخامت ماژیک) */

    background-color: #86efac;
    /* رنگ سبز */
    z-index: -1;
    /* فرستادن به پشت متن */

    /* نکته اصلی: کج کردن نوار رنگی */
    transform: skewX(-20deg);

    /* اختیاری: نرم کردن گوشه‌ها */
    border-radius: 2px;
}



/* =========================================
کانتینر اصلی چرخش (Flip)
========================================= */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 320px;
    /* ارتفاع ثابت کارت‌ها */
    perspective: 1000px;
    /* ایجاد عمق سه‌بعدی */
    cursor: pointer;

}

/* لایه داخلی که میچرخد */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* انیمیشن نرم */
    transform-style: preserve-3d;
}

/* تریگر: با هاور شدن موس، کارت میچرخد */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* =========================================
تنظیمات مشترک رو و پشت کارت
========================================= */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* مخفی کردن پشت در حین چرخش */
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: #ffffffb7 !important; */
    border: 0.1px solid var(--light-gray);
}

/* =========================================
طراحی روی کارت (Glassmorphism - شبیه ۳ کارت سمت چپ عکس)
========================================= */
.flip-card-front {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    /* افکت ماتی شیشه */
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    border: 0.1px solid var(--light-gray);
    color: var(--light-gray);

}

/* بردر نئونی سبز هنگام هاور شدن (قبل از چرخش کامل) */
.flip-card:hover .flip-card-front {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

/* =========================================
تنظیمات مشترک رو و پشت کارت (اصلاح شده)
========================================= */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;

    /* کلید حل مشکل: مخفی کردن پشت المنت */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0 4px 15px #37ff1475; */

    /* اضافه کردن پس‌زمینه برای جلوگیری از شفافیت ناخواسته */
    top: 0;
    left: 0;
}

/* 
نکته مهم: برای اینکه مطمئن شویم پشت کارت (سفید) 
روی محتوای جلویی (شیشه‌ای) سایه نمی‌اندازد یا دیده نمی‌شود:
*/

.flip-card-front {
    z-index: 2;
    /* اولویت نمایش بالاتر در حالت عادی */
    transform: rotateY(0deg);
    /* تثبیت زاویه اولیه */
}

.flip-card-back {
    transform: rotateY(180deg);
    /* زاویه اولیه پشت کارت */
    z-index: 1;
}


.card-icon {
    font-size: 4rem;
    color: var(--glass-border);
    /* رنگ خاموش اولیه */
    margin-bottom: 20px;
    transition: 0.3s;
    /* ایجاد افکت خطی دور آیکون شبیه عکس */
    -webkit-text-stroke: 1px var(--neon-green);
    color: transparent;
}

.flip-card:hover .card-icon {
    /* پر شدن رنگ آیکون هنگام هاور */
    color: var(--neon-green);
    text-shadow: 0 0 20px var(--neon-green);
}

.flip-card-front h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-main);
}

/* =========================================
طراحی پشت کارت (Solid White - شبیه کارت سمت راست عکس)
========================================= */
.flip-card-back {
    background-color: var(--back-card-bg);
    /* سفید */
    color: var(--light-gray);
    /* متن تیره */
    transform: rotateY(180deg);
    padding: 20px;
    align-items: flex-start;
    /* راست‌چین کردن محتوا */
}

/* هدر کوچک در پشت کارت */
.back-header {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.back-header i {
    font-size: 1.8rem;
    color: #0c7a65;
    /* سبز دودی برای آیکون پشت کارت */
    margin-left: 10px;
}

.back-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--charcoal-black);
}

/* لیست اطلاعات */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: right;
}

.info-list li {
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--charcoal-black);
    position: relative;
    padding-right: 15px;
    color: var(--charcoal-black);
}

/* بولت پوینت‌های سبز کنار لیست */
.info-list li::before {
    content: '';
    position: absolute;
    color: var(--light-gray);
    right: 0;
    top: 15px;
    width: 6px;
    height: 6px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 5px #37ff1436;
}

.info-list li:last-child {
    border-bottom: none;
}






/* --- استایل بخش Services --- */
.services {
    padding: 60px 0;
    position: relative;
    width: 100%;
    background-color: var(--charcoal-black);
}

/* --- استایل کارت --- */
.services .custom-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    background: var(--charcoal-black);
    border: 1px solid rgba(57, 255, 20, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    scrollbar-width: 1px;
    scroll-behavior: smooth;
}

/* --- هدر کارت (آیکون و تیتر) --- */
.services .card-header-box {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    padding: 0 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

.services .card-icon {
    font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--neon-green);
    /* سبز نئونی */
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

.services .card-title {
    color: var(--light-gray);
    /* سفید خالص */
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- محتوای مخفی (لیست) --- */
.services .card-content {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
    padding: 10px 25px 30px 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-green) transparent;
}

/* --- استایل لیست آیتم‌ها --- */
.services .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
    border-top: 2px solid var(--neon-green);
    /* سبز نئونی */
    padding-top: 15px;
}

.services .info-list li {
    position: relative;
    padding: 8px 15px 8px 0;
    color: #1A1A1A;
    /* مشکی زغالی (برای خوانایی روی زمینه سفید) */
    font-size: 0.95rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
}

/* نقطه سبز کنار لیست */
.services .info-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--neon-green);
}

/* --- حالت Hover کارت --- */
.services .custom-card:hover {
    background-color: var(--light-gray);
    /* پس زمینه سفید شیشه‌ای */
    border-color: var(--light-gray);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* حرکت هدر به بالا */
.services .custom-card:hover .card-header-box {
    top: 30px;
    transform: translateY(0);
}

/* تغییر آیکون در هاور */
.services .custom-card:hover .card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--neon-green);
    /* سبز نئونی */
    -webkit-text-stroke: 0;
    text-shadow: none;
}

/* تغییر رنگ تیتر به مشکی */
.services .custom-card:hover .card-title {
    color: var(--neon-green);
    /* سبز نئونی */
    padding-top: 0px;
}

.services .info-list li {
    position: relative;
    padding: 8px 15px 8px 0;
    color: #1A1A1A;
    /* مشکی زغالی (برای خوانایی روی زمینه سفید) */
    font-size: 0.95rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
}

/* نقطه سبز کنار لیست */
.services .info-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--neon-green);
}

/* --- حالت Hover کارت --- */
.services .custom-card:hover {
    background-color: var(--light-gray);
    /* پس زمینه سفید شیشه‌ای */
    border-color: var(--light-gray);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    scroll-behavior: smooth;
}

/* حرکت هدر به بالا */
.services .custom-card:hover .card-header-box {
    top: 30px;
    transform: translateY(0);
}

/* تغییر آیکون در هاور */
.services .custom-card:hover .card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--neon-green);
    /* سبز نئونی */
    -webkit-text-stroke: 0;
    text-shadow: none;
}

/* تغییر رنگ تیتر به مشکی */
.services .custom-card:hover .card-title {
    color: var(--neon-green);
    margin-top: -5px;
    font-size: 1.2rem;
}

/* نمایش محتوا */
.services .custom-card:hover .card-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- اسکرول بار اختصاصی --- */
.services .card-content::-webkit-scrollbar {
    width: 4px;
}

.services .card-content::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.services .card-content::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    /* سبز نئونی */
    border-radius: 4px;
}



/* --- Header Styling --- */
.Multimedia-new {

    .section-header {
        position: relative;
    }

    .section-header h2 {
        font-weight: 900;
        color: var(--charcoal-black);
        font-size: 2.5rem;
        position: relative;
        display: inline-block;
        z-index: 1;

        @media screen and (max-width:768px) {

            font-size: 1.5rem;
        }

    }

    /* المان تزئینی زیر تیتر */
    .section-header h2::after {
        content: '';
        position: absolute;
        bottom: 5px;
        right: -10px;
        width: 100%;
        height: 15px;
        background-color: var(--neon-green);
        opacity: 0.4;
        z-index: -1;
        transform: skewX(-15deg);
    }

    /* --- Card Styling --- */
    .media-card {
        background-color: var(--light-gray);
        border-radius: var(--border-radius);
        padding: 30px 20px;
        text-align: center;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid transparent;
        height: 100%;
        z-index: 1;
    }

    /* نوار نئونی که در هاور پر می‌شود */
    .media-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0%;
        background-color: var(--neon-green);
        opacity: 0.05;
        transition: all 0.4s ease;
        z-index: -1;
    }

    /* آیکون باکس */
    .icon-wrapper {
        width: 80px;
        height: 80px;
        background-color: var(--pure-white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px auto;
        font-size: 2rem;
        color: var(--charcoal-black);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        transition: all 0.4s ease;
        position: relative;
    }

    /* دایره کوچک تزئینی کنار آیکون */
    .icon-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 20px;
        background-color: var(--neon-green);
        border-radius: 50%;
        border: 3px solid var(--light-gray);
        transition: all 0.4s ease;
    }

    .card-title {
        font-weight: 800;
        font-size: 1.25rem;
        margin-bottom: 10px;
        color: var(--charcoal-black);
    }

    .card-text {
        color: var(--charcoal-black);
        font-size: 0.9rem;
        margin-bottom: 25px;
        font-weight: 300;
    }

    /* دکمه مخفی */
    .btn-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 25px;
        background-color: var(--charcoal-black);
        color: var(--neon-green);
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* --- Hover Effects --- */
    .media-card:hover .card-title {
        color: white !important;
    }

    .media-card:hover {
        transform: translateY(-10px);
        background-color: var(--pure-white);
        border-color: var(--neon-green);
        box-shadow: 0 15px 40px rgba(26, 26, 26, 0.08);
        color: var(--light-gray);
    }

    .media-card:hover::before {
        height: 100%;
        /* پر شدن پس زمینه */
        opacity: 1;
        /* تبدیل شدن به رنگ سالید نئون */
    }

    /* حالت خاص هاور: وقتی پس زمینه سبز می‌شود، رنگ متن باید تغییر کند */
    .media-card:hover .icon-wrapper {
        background-color: var(--charcoal-black);
        color: var(--neon-green);
        transform: scale(1.1);
    }

    .media-card:hover .icon-wrapper::after {
        background-color: var(--pure-white);
        /* دایره کوچک سفید می‌شود */
        border-color: var(--neon-green);
    }

    .media-card:hover .card-title {
        color: var(--charcoal-black);
        /* روی سبز نئون، مشکی خواناست */
    }

    .media-card:hover .card-text {
        color: var(--charcoal-black);
        font-weight: 500;
    }

    .media-card:hover .btn-action {
        opacity: 1;
        transform: translateY(0);
        background-color: var(--charcoal-black);
        color: var(--pure-white);
    }

    .media-card:hover .btn-action:hover {
        color: #49ff9bd2;
        box-shadow: 4px 2px 5px #0f0f0f86;

    }

    /* جلوگیری از همرنگ شدن کامل در هاور برای خوانایی بهتر */
    .media-card:hover::before {
        background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green) 100%);
        opacity: 1;
    }

}



.main-footer {
    background-color: var(--charcoal-black);
    border-top: 1px solid var(--glass-border);
    padding-top: 60px;
    margin-top: 50px;
    font-size: 0.9rem;
}

.footer-logo-area img {
    max-width: 220px;
    margin-bottom: 20px;
}

.footer-heading {
    color: var(--neon-green);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--text-main);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--neon-green);
    transform: translateX(-5px);
}

.footer-links a i {
    font-size: 0.6rem;
    margin-left: 8px;
    color: var(--neon-green);
}

.contact-info li {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--neon-green);
    margin-left: 10px;
    margin-top: 5px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    height: 200px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
    /* Dark Map Style */
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: 0 0 15px var(--neon-green);
}

.copyright-bar {
    background-color: var(--charcoal-black);
    padding: 20px 0;
    margin-top: 60px;
    border-top: 1px solid #ffffff0d;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-green);
}







/* --- Footer --- */


/* پروژه های درحال اجرا  */






/* استایل بخش اصلی */
.projects-section {
    background-color: var(--pure-white);


    .section-title {
        color: var(--charcoal-black);
        font-weight: 800;
        position: relative;
        display: inline-block;
    }

    /* خط زیر عنوان نئونی */
    .section-title::after {
        content: '';
        position: absolute;
        bottom: 5px;
        right: -10px;
        width: 100%;
        height: 15px;
        background-color: var(--neon-green);
        opacity: 0.4;
        z-index: -1;
        transform: skewX(-15deg);
    }

    /* --- استایل کارت‌های چرخشی (Flip Cards) --- */
    .flip-card {
        background-color: transparent;
        height: var(--card-height);
        perspective: 1000px;
        /* ایجاد عمق سه بعدی */
        margin-bottom: 30px;
        cursor: pointer;
    }

    .flip-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        /* انیمیشن نرم */
        transform-style: preserve-3d;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }

    .flip-card-front,
    .flip-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* --- جلوی کارت --- */
    .flip-card-front {
        background-color: var(--pure-white);
    }

    .project-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .flip-card:hover .project-img {
        transform: scale(1.1);
        /* زوم شدن عکس هنگام هاور */
    }

    .front-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, var(--charcoal-black), transparent);
        padding: 30px 20px 20px;
        text-align: right;
    }

    .project-name-front {
        color: var(--pure-white);
        font-weight: 700;
        font-size: 1.2rem;
        margin: 0;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .status-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: var(--neon-green);
        color: var(--charcoal-black);
        padding: 5px 12px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: bold;
        box-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
        z-index: 2;
    }

    /* --- پشت کارت --- */
    .flip-card-back {
        background-color: var(--glass-bg);
        /* استفاده از متغیر شیشه‌ای */
        color: var(--charcoal-black);
        transform: rotateY(180deg);
        padding: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        backdrop-filter: blur(10px);
        /* افکت بلور برای حالت شیشه‌ای */
    }

    .project-icon {
        font-size: 3rem;
        color: var(--charcoal-black);
        margin-bottom: 15px;
        text-shadow: 2px 2px 0px var(--neon-green);
    }

    .back-title {
        font-size: 1.3rem;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .back-desc {
        font-size: 0.9rem;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    /* نوار پیشرفت سفارشی */
    .progress-container {
        width: 100%;
        margin-bottom: 25px;
        text-align: right;
    }

    .progress-label {
        font-size: 0.8rem;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
    }

    .progress {
        height: 8px;
        background-color: #e9ecef;
        border-radius: 10px;
        overflow: hidden;
    }

    .progress-bar {
        background-color: var(--neon-green);
        box-shadow: 0 0 8px var(--neon-green);
        /* درخشش نوار */
    }

    /* دکمه نئونی */
    .btn-neon {
        background-color: transparent;
        color: var(--charcoal-black);
        border: 2px solid var(--charcoal-black);
        padding: 8px 25px;
        border-radius: 50px;
        font-weight: bold;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .btn-neon:hover {
        background-color: var(--neon-green);
        border-color: var(--neon-green);
        box-shadow: 0 0 15px var(--neon-green);
        color: var(--light-gray);
    }
}

/* فوتر */

.fluid-footer {
    background-color: var(--charcoal-black);
    color: var(--text-main);
    position: relative;
    margin-top: 100px;
    padding: 10px;
    text-align: justify, right;


    /* --- جداکننده موج‌دار (SVG Wave) --- */
    .footer-wave {
        position: absolute;
        top: -100px;
        /* ارتفاع موج */
        left: 0;
        width: 100%;
        height: 100px;
        line-height: 0;
        direction: ltr;
        /* اصلاح جهت SVG */
    }

    .footer-wave svg {
        display: block;
        width: 100%;
        height: 100%;
        fill: var(--charcoal-black);
    }

    .logo-footer {
        display: flex;
        align-items: center;
        justify-content: center;

    }

    .logo-footer img {
        width: 198px;
        /* filter: brightness(20); */
    }

    /* --- افکت‌های نوری پس‌زمینه --- */
    .glow-spot {
        position: absolute;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
    }

    .glow-left {
        bottom: 0;
        left: -100px;
    }

    .glow-right {
        top: 0;
        right: -50px;
    }

    /* --- استایل ستون‌ها و محتوا --- */
    .footer-content {
        position: relative;
        z-index: 1;
        padding-top: 2rem;
    }

    .brand-section h2 {
        font-weight: 900;
        letter-spacing: 0px;
        color: #fff;
        font-size: 1.5rem;
    }

    .brand-desc {
        color: var(--light-gray);
        line-height: 1.8;
        font-size: 0.95rem;
        margin-top: 1rem;
        text-align: justify;
    }

    /* --- لینک‌های مدرن (بدون بولت) --- */
    .modern-list {
        list-style: none;
        padding: 0;
    }

    .modern-list li {
        margin-bottom: 15px;
        text-align: justify;
    }

    .modern-list a {
        color: var(--pure-white);
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        margin-right: -20px !important;
    }

    .modern-list a i {
        font-size: 0.8rem;
        margin-left: 10px;
        opacity: 0;
        transform: translateX(10px);
        transition: all 0.3s ease;
    }

    .modern-list a:hover {
        padding-right: 5px;
        color: var(--neon-green) !important;
    }

    .modern-list a:hover i {
        opacity: 1;
        transform: translateX(0);
    }

    /* --- استایل تماس با ما (Glassy) --- */
    .contact-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 20px;
        padding: 15px;
        background: var(--charcoal-black);
        border: 1px solid #ffffff0d;
        border-radius: 12px;
        transition: 0.3s;
    }

    .contact-item:hover {
        background: var(--charcoal-black);
        border-color: rgba(57, 255, 20, 0.3);
    }

    .contact-icon {
        font-size: 1.4rem;
        color: var(--neon-green);
        margin-left: 15px;
        margin-top: 2px;
    }

    /* --- آمار شبکه‌ای (Grid Stats) --- */
    & .stats-card {
        background-color: var(--bg-card);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 2px 10px #7b82e225 inset;
        border: 1px solid var(--border-color);
        background: var(--charcoal-black);
        /* margin-right: -80px; */
        color: var(--pure-white);
        height: 220px;
        width: 270px;
        /* margin-top: -120px; */
        margin-right: 0px;
    }

    .social-media {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 28px;
    }

    .map-shahryar {
        margin-left: -40px !important;
    }
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-row:last-child {
    border-bottom: none;
}

.stats-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.stats-value {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1rem;

    /* برای نمایش بهتر اعداد انگلیسی/فارسی */
}

/* --- نقشه گرد (Circular/Soft Map) --- */
.soft-map {
    width: 90%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

.soft-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(90%);
    transition: 0.5s;
}

.soft-map:hover iframe {
    filter: grayscale(0%) invert(0%);
}

/* --- بخش انتهایی --- */
.bottom-bar {
    background-color: var(--bg-darker);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    margin: 50px 0 0 0;
}

.social-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--charcoal-black);
    color: var(--pure-white);
    text-decoration: none;
    margin: 0 5px;
    transition: 0.3s;
}

.social-circle:hover {
    background: var(--neon-green);
    color: var(--pure-white);
    box-shadow: 0 0 15px var(--neon-green);
    transform: rotate(360deg);
}


/* تغییر رنگ آیکون هنگام هاور کردن روی لینک */
.dropdown-item:hover i {
    color: var(--neon-green) !important;
    /* رنگ آبی بوت‌استرپ */
    transition: color 0.3s ease;
}



/* دسته بندی  */
.category-cards {

    .navbar-custom {
        background-color: var(--charcoal-black);
    }

    .breadcrumb-item a:hover {
        color: var(--neon-green);
    }

    .HomePagelink a {

        color: var(--neon-green) !important;
    }

    .breadcrumb-item a {
        text-decoration: none;
        color: var(--charcoal-black);
    }

    .navbar-brand {
        color: #fff !important;
        font-weight: bold;
        display: none;
    }

    /* استایل کارت خبر (Card Component) */
    .news-card {
        border: none;
        border-radius: 15px;
        background: var(--pure-white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        overflow: hidden;
        height: 100%;
        /* هم‌اندازه شدن کارت‌ها */
    }

    .news-card:hover {
        transform: translateY(-8px);
        /* افکت بلند شدن کارت */
        box-shadow: 0 15px 30px rgba(0, 166, 90, 0.15);
        /* سایه سبز ملایم */
    }

    .card-img-wrapper {
        position: relative;
        height: 200px;
        overflow: hidden;
    }

    .card-img-top {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .news-card:hover .card-img-top {
        transform: scale(1.1);
        /* زوم شدن تصویر هنگام هاور */
    }

    /* برچسب دسته‌بندی روی عکس */
    .category-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background-color: var(--neon-green);
        color: var(--pure-white);
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: bold;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .card-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .card-title {
        font-weight: 700;
        color: var(--charcoal-black);
        margin-bottom: 10px;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .card-text {
        color: #555;
        font-size: 0.9rem;
        margin-bottom: 20px;
        flex-grow: 1;
        /* باعث می‌شود دکمه‌ها در یک راستا قرار گیرند */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* محدود کردن متن به 2 خط */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* قسمت اطلاعات پایین کارت */
    .card-meta {
        border-top: 1px solid var(--light-gray);
        padding-top: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        color: var(--text-grey);
    }

    .card-meta span {
        color: var(--neon-green);
    }

    .read-more-btn {
        color: var(--neon-greenn);
        font-weight: bold;
        text-decoration: none;
        transition: color 0.2s;
    }

    .read-more-btn:hover {
        color: var(--charcoal-black);
    }

    /* صفحه‌بندی (Pagination) سفارشی */
    .pagination .page-link {
        color: var(--dark-navy);
        border: none;
        margin: 0 5px;
        border-radius: 8px;
        font-weight: bold;
    }

    .pagination .page-item.active .page-link {
        background-color: var(--neon-green);
        color: var(--pure-white);
        box-shadow: 0 4px 10px rgba(0, 166, 90, 0.4);
    }

    .section-title {
        font-weight: bold;
        color: #1a1a1a;
        position: relative;
        z-index: 1;
        padding: 0 5px;
        text-align: center;

        /* --- تغییرات برای وسط چین شدن --- */
        display: block;
        /* تغییر از inline-block به block */
        width: -moz-fit-content;
        /* برای فایرفاکس */
        width: fit-content;
        /* باعث می‌شود عرض کادر به اندازه متن جمع شود */
        margin: 0 auto;
        /* کادر را در وسط صفحه قرار می‌دهد */
    }

    .section-title::after {
        content: '';
        position: absolute;
        left: -5px;
        right: -5px;
        bottom: 8px;
        height: 14px;
        background-color: #80f0ad;
        z-index: -1;
        transform: skewX(-20deg);
        opacity: 0.9;
        width: 100%;
        /* حالا 100% عرضِ متن (fit-content) را می‌گیرد */
    }
}






/* --- General Layout & Cards --- */
.news-article-card,
.widget-card,

.comment-form-card {
    background-color: #f6f7ff23 !important;
    border-radius: var(--border-radius) !important;
    padding: 10px;
}


.make-it-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .make-it-sticky {
        position: relative;
        z-index: 999;
        padding: 15px;
    }
}


/* تنظیمات نگهدارنده عکس برای مخفی کردن سرریز زوم */
/* 
  ۱. تنظیمات نگهدارنده اصلی (استفاده از Flexbox برای کنار هم قرار دادن)
*/
.news-gallery .inner-post-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

/* 
  ۲. تنظیمات کادر هر تصویر یا ویدیو (ایجاد مربع و نقاب برش)
*/
.news-gallery .jg-entry {
    display: block;
    width: calc(24% - 0px);
    aspect-ratio: 1 / 1;
    overflow: hidden !important;
    border-radius: 15px;
    position: relative;
    text-decoration: none;
}

/* تنظیمات نگهدارنده کاور ویدیو */
.news-gallery .video-thumb-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 
  ۳. تنظیمات عکس‌ها (پر کردن مربع و تعریف انیمیشن)
*/
.news-gallery .jg-entry img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* کشیده نشدن عکس و پر کردن فضای مربع */
    display: block;
    transition: transform 0.4s ease;
    /* انیمیشن نرم برای زوم */
    transform: scale(1);
    /* اندازه استاندارد اولیه */
}

/* تنظیم موقعیت آیکون پخش ویدیو */
.news-gallery .video-thumb-wrapper .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #ffffff;
    font-size: 2rem;
    pointer-events: none;
    /* تاثیری نگرفتن از کلیک موس */
}

/* 
  ۴. اعمال افکت زوم در حالت هاور
*/
.news-gallery .jg-entry:hover img {
    transform: scale(1.2);
    /* بزرگ‌نمایی به میزان 20 درصد */
}

/* 
  ۵. واکنش‌گرایی برای موبایل و تبلت
*/
@media (max-width: 768px) {
    .news-gallery .jg-entry {
        /* در صفحات کوچکتر ۲ عکس در هر ردیف قرار می‌گیرد */
        width: calc(50% - 7.5px);
    }
}

@media (max-width: 480px) {
    .news-gallery .jg-entry {
        /* در گوشی‌های خیلی کوچک ۱ عکس در هر ردیف */
        width: 100%;
    }
}

/* استایل لایه اصلی (Modal Wrapper) */
#custom-image-modal {
    display: none;
    /* پیش‌فرض مخفی */
    position: fixed;
    z-index: 99999;
    padding-top: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.85);
    /* پس‌زمینه دودی */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0
}

/* لایه تاریک و ذره‌بین */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* سیاهی نیمه شفاف */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    border-radius: inherit;
    /* هماهنگی با گردی گوشه عکس‌ها */
}

/* نمایش لایه هنگام هاور */
.news-article-card .zoom-wrapper:hover .hover-overlay {
    opacity: 1;
}

/* استایل آیکون ذره‌بین */
.hover-overlay i {
    font-size: 2.5rem;
    color: #fff;
    pointer-events: none;
}

/* --- استایل‌های لایت‌باکس (Modal) --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomOpen 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #bbb;
}

#lightboxCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 1.1rem;
}

@keyframes zoomOpen {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


.rounded-custom {
    border-radius: var(--border-radius);
}

/* --- Typography & Header --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--charcoal-black);
    font-weight: 700;
}

.post-title {
    font-size: 1.50rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 0.9rem;
}

.custom-badge {
    background-color: rgba(21, 222, 92, 0.1);
    /* 10% opacity of neon green */
    color: var(--neon-green);
    margin: 0 5px;
    padding: 0.5em 1em;
    border-radius: 8px;
    font-weight: 500;
}

/* --- Article Body Styles --- */
.article-content {
    font-size: 1.1rem;
    color: var(--charcoal-black);
    text-align: justify;
}

/* Link Style */
.article-content a {
    color: var(--charcoal-black);
    text-decoration: none;
    border-bottom: 2px solid var(--neon-green);
    transition: all 0.3s ease;
    font-weight: 600;
}

.article-content a:hover {
    background-color: var(--neon-green);
    color: var(--pure-white);
}

/* Blockquote Style */
.article-content blockquote {
    position: relative;
    background: var(--light-gray);
    padding: 2rem 2rem 1rem 4rem;
    margin: 2rem 0;
    border-right: 4px solid var(--neon-green);
    border-radius: 8px;
    font-style: italic;
}

.quote-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2rem;
    color: #cbd5e1;
}

.article-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--charcoal-black);
    font-weight: bold;
}

/* Table Style */
/* 1. استفاده از html و body برای بالا بردن زور کد (Priority) */
html body .table.custom-table tbody tr:nth-child(even) td {
    /* 2. استفاده از رنگ سالید (غیر شیشه‌ای) برای اطمینان از دیده شدن */
    /* این رنگ، نسخه بسیار روشن همان آبی سرمه‌ای شماست */
    background-color: #eef2f9 !important;

    /* اگر باز هم کار نکرد، این خط را فعال کنید تا مطمئن شوید کد وصل است (تست قرمز) */
    /* background-color: red !important; */
}

/* برای اینکه وقتی موس روی ردیف می‌رود، رنگ سبز شما اولویت داشته باشد */
html body .table.custom-table tbody tr:hover td {
    background-color: rgba(21, 222, 92, 0.2) !important;
}

.custom-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 0.1px solid var(--charcoal-black);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.custom-table th,
.custom-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: right;
}

/* --- بخش اصلی درخواست شما --- */
/* تغییر رنگ پس‌زمینه ردیف‌های زوج */
.custom-table tbody tr:nth-child(even) {
    background-color: #08379610 !important;
    /* رنگ تغییر جزئی */
}

.custom-table thead th {
    background-color: var(--charcoal-black);
    color: var(--pure-white);
    border: none;
    padding: 1rem;
    font-weight: 500;
}

.custom-table tbody td {
    padding: 1rem;
    /* border-bottom: 1px solid var(--border-color); */
    border: 0.1px solid #55555586;
    vertical-align: middle;
}

.custom-table tbody tr:last-child td {
    border-bottom: none;
}

.custom-table tbody tr:hover {
    background-color: rgba(21, 222, 92, 0.05);
}

/* --- Footer Tags & Share --- */
.tag-link {
    display: inline-block;
    background-color: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    text-decoration: none;
    transition: 0.2s;
}

.tag-link:hover {
    background-color: var(--neon-green);
    color: white;
}

.btn-icon {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0;
    line-height: 33px;
    text-align: center;
    color: var(--charcoal-black);
    border-color: #cbd5e1;
    margin-left: 5px;
}

.btn-icon:hover {
    background-color: var(--neon-green);
    border-color: var(--neon-green);
    color: white;
}

/* --- Gallery Section --- */
.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item .overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* --- Comments Section --- */
.custom-btn {
    background-color: var(--neon-green);
    border: none;
    color: var(--pure-white);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 16px 0px;
}

.custom-btn:hover {
    background-color: var(--charcoal-black);
    color: var(--pure-white);
}

.form-control:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 0 4px rgba(21, 222, 92, 0.15);
}

.comment-item {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.comment-item.reply {
    margin-right: 3rem;
    /* Indent for reply in RTL */
    background-color: var(--pure-white);
    border-right: 3px solid var(--neon-green);
}

.avatar {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--charcoal-black);
    font-size: 1.2rem;
}

.admin-avatar {
    background-color: var(--charcoal-black);
    color: var(--neon-green);
}

.comment-date {
    font-size: 0.8rem;
    color: var(--charcoal-black);
}

.reply-btn {
    font-size: 0.85rem;
    color: var(--neon-green-hover);
    /* Darker readable green */
    text-decoration: none;
    font-weight: 600;
}

/* --- Sidebar Widget --- */
.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    background-color: #f6f7ff23 !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid rgb(185 185 185 / 28%);

}

.list-unstyled.recent-posts {
    background-color: #fff;
    padding: 5px;
    border-radius: 16px 0px;

}

.list-unstyled.recent-posts li {
    border: 1px solid #d1e3ff49;
    border-radius: 8px;
    transition: all 0.3s;
}


.list-unstyled.recent-posts li:hover {
    background-color: #9fccff1c;
}

.list-unstyled.recent-posts li:hover a {
    color: rgb(75, 75, 75) !important;
}

.widget-title {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--neon-green);
}

/* --- Breadcrumb --- */
.breadcrumb {
    font-size: 14px;
    margin: 20px 0px 20px 0;

}

.breadcrumb-item a {
    color: var(--charcoal-black);
    text-decoration: none;
    padding: 0 10px 0px 0px;
    transition: all 0.3ms;
}

.breadcrumb-item a:hover {
    color: #22be83;
    font-weight: bold;
}

.breadcrumb-item.active {
    color: var(--charcoal-black);
    font-weight: 600;
}

/* استایل جداکننده برای آیتم‌های بردکرامب */
.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin-right: 10px;
    padding-left: 10px;
    color: #6c757d;
    /* رنگ خاکستری یا دلخواه */
    font-weight: normal;
}

/* حذف جداکننده پیش‌فرض بوت استرپ (در صورت وجود) */
.breadcrumb-item+.breadcrumb-item::before {
    content: none;
}

/* استایل آخرین آیتم (سرمه‌ای) */
.breadcrumb-item.active {
    color: #001f3f;
    /* رنگ سرمه‌ای */
    font-weight: bold;
}



/* Modal Background */
.image-modal {
    display: none;
    /* مخفی پیشفرض */
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

/* تصویر مودال */
.image-modal-content {
    margin: auto;
    margin-top: auto;
    display: block;
    max-width: 90%;
    height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    margin-top: 5rem;
}

/* افکت نمایش */
.image-modal-content:hover {
    transform: scale(1.02);
}

/* دکمه ضربدر */
.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.image-modal-close:hover {
    color: #ff4444;
}




.category-cards {

    .navbar-custom {
        background-color: var(--charcoal-black);
    }

    .breadcrumb-item a:hover {
        color: var(--neon-green);
    }

    .HomePagelink a {

        color: var(--neon-green) !important;
    }

    .breadcrumb-item a {
        text-decoration: none;
        color: var(--charcoal-black);
    }

    .navbar-brand {
        color: #fff !important;
        font-weight: bold;
        display: none;
    }

    /* استایل کارت خبر (Card Component) */
    .news-card {
        border: none;
        border-radius: 15px;
        background: var(--pure-white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        overflow: hidden;
        height: 100%;
        /* هم‌اندازه شدن کارت‌ها */
    }

    .news-card:hover {
        transform: translateY(-8px);
        /* افکت بلند شدن کارت */
        box-shadow: 0 15px 30px rgba(0, 166, 90, 0.15);
        /* سایه سبز ملایم */
    }

    .card-img-wrapper {
        position: relative;
        height: 200px;
        overflow: hidden;
    }

    .card-img-top {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .news-card:hover .card-img-top {
        transform: scale(1.1);
        /* زوم شدن تصویر هنگام هاور */
    }

    /* برچسب دسته‌بندی روی عکس */
    .category-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background-color: var(--neon-green);
        color: var(--pure-white);
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: bold;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .card-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .card-title {
        font-weight: 700;
        color: var(--charcoal-black);
        margin-bottom: 10px;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .card-text {
        color: #555;
        font-size: 0.9rem;
        margin-bottom: 20px;
        flex-grow: 1;
        /* باعث می‌شود دکمه‌ها در یک راستا قرار گیرند */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* محدود کردن متن به 2 خط */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* قسمت اطلاعات پایین کارت */
    .card-meta {
        border-top: 1px solid var(--light-gray);
        padding-top: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        color: var(--text-grey);
    }

    .card-meta span {
        color: var(--neon-green);
    }

    .read-more-btn {
        color: var(--neon-greenn);
        font-weight: bold;
        text-decoration: none;
        transition: color 0.2s;
    }

    .read-more-btn:hover {
        color: var(--charcoal-black);
    }

    /* صفحه‌بندی (Pagination) سفارشی */
    .pagination .page-link {
        color: var(--dark-navy);
        border: none;
        margin: 0 5px;
        border-radius: 8px;
        font-weight: bold;
    }

    .pagination .page-item.active .page-link {
        background-color: var(--neon-green);
        color: var(--pure-white);
        box-shadow: 0 4px 10px rgba(0, 166, 90, 0.4);
    }

    .section-title {
        font-weight: bold;
        color: #1a1a1a;
        position: relative;
        z-index: 1;
        padding: 0 5px;
        text-align: center;

        /* --- تغییرات برای وسط چین شدن --- */
        display: block;
        /* تغییر از inline-block به block */
        width: -moz-fit-content;
        /* برای فایرفاکس */
        width: fit-content;
        /* باعث می‌شود عرض کادر به اندازه متن جمع شود */
        margin: 0 auto;
        /* کادر را در وسط صفحه قرار می‌دهد */
    }

    .section-title::after {
        content: '';
        position: absolute;
        left: -5px;
        right: -5px;
        bottom: 8px;
        height: 14px;
        background-color: #80f0ad;
        z-index: -1;
        transform: skewX(-20deg);
        opacity: 0.9;
        width: 100%;
        /* حالا 100% عرضِ متن (fit-content) را می‌گیرد */
    }
}



/* =========================================
   استایل‌های بخش نظرات (Comments Section)
   ========================================= */

/* تنظیمات کلی و فرمت‌بندی پایه */
.comments-container {
    direction: rtl;
    text-align: right;

    max-width: 800px;
    margin: 0 auto;
    color: #334155;
}

ul[id^="comments-list-"] {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

/* =========================================
   طراحی فرم ارسال نظر
   ========================================= */
div[id^="form-container-"] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.input-form {
    position: relative;
    margin-bottom: 20px;
}

.validate-input,
input[id^="comment-captcha-"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;

    font-size: 14px;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.validate-input:focus,
input[id^="comment-captcha-"]:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea.validate-input {
    resize: vertical;
    min-height: 120px;
}

/* دکمه‌های فرم */
form[id^="comment-form-"] button[type="submit"] {
    background: #22be83;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 16px 0px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s;
}

form[id^="comment-form-"] button[type="submit"]:hover {
    background: #2563eb;
}

form[id^="comment-form-"] button[type="submit"]:active {
    transform: scale(0.98);
}

button[id^="cancel-reply-"] {
    background: #ef4444;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 10px;
    transition: background 0.2s;
}

button[id^="cancel-reply-"]:hover {
    background: #dc2626;
}

/* مدیریت خطاها */
.error-input-border {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.error-msg-top {
    display: none;
    position: absolute;
    top: -22px;
    right: 5px;
    color: #ef4444;
    font-size: 12px;
    font-weight: bold;
    background: #fee2e2;
    padding: 2px 8px;
    border-radius: 4px;
    animation: fadeInDown 0.3s ease;
}

.error-msg-top.show {
    display: inline-block;
}

/* =========================================
   طراحی کارت نظرات
   ========================================= */
.comment-card {
    display: flex;
    gap: 16px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    margin-bottom: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comment-avatar-box img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    padding: 2px;
}

.comment-body-box {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-date {
    font-size: 12px;
    color: #64748b;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 20px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 16px;
    white-space: pre-wrap;
}

/* =========================================
   بخش پایین نظر (واکنش‌ها و دکمه پاسخ)
   ========================================= */
.comment-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    flex-wrap: wrap;
}

.reply-btn-style,
.show-replies-btn {
    background: transparent;
    border: none;
    color: #64748b;

    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    padding: 0;
}

.reply-btn-style:hover {
    color: #3b82f6;
}

.show-replies-btn {
    color: #8b5cf6;
    margin-right: auto;
    /* انتقال به سمت چپ در RTL */
}

.show-replies-btn:hover {
    color: #7c3aed;
}

/* سیستم لایک و دیس‌لایک */
.reaction-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #94a3b8;
    user-select: none;
}

.reaction-wrapper input[type="radio"] {
    display: none;
    /* مخفی کردن رادیو باتن اصلی */
}

.reaction-wrapper i {
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

.reaction-wrapper label:hover i {
    transform: scale(1.2) translateY(-2px);
    color: #64748b;
}

/* استایل حالت فعال واکنش‌ها */
.reaction-wrapper input[value="like"]:checked~i,
.like-count.active {
    color: #10b981;
    font-weight: bold;
}

.reaction-wrapper input[value="dislike"]:checked~i,
.dislike-count.active {
    color: #ef4444;
    font-weight: bold;
}

/* =========================================
   نظرات تودرتو (پاسخ‌ها)
   ========================================= */
.reply-list {
    list-style: none;
    margin: 0 45px 0 0;
    /* ایجاد فاصله از راست برای نمایش ساختار درختی */
    padding: 0;
    position: relative;
    display: none;
    /* پیش‌فرض مخفی تا زمانی که روی دکمه کلیک شود */
}

/* خط اتصال درختی برای پاسخ‌ها */
.reply-list::before {
    content: '';
    position: absolute;
    right: -25px;
    top: 0;
    bottom: 20px;
    width: 2px;
    background: #e2e8f0;
    border-radius: 2px;
}

.reply-list li {
    position: relative;
}

/* خط افقی کوچک برای هر پاسخ */
.reply-list li::before {
    content: '';
    position: absolute;
    right: -25px;
    top: 40px;
    width: 20px;
    height: 2px;
    background: #e2e8f0;
}

.reply-list .comment-card {
    background: #fcfcfc;
    border-color: #e2e8f0;
    padding: 16px;
}

/* =========================================
   انیمیشن‌ها و واکنش‌گرایی (Mobile)
   ========================================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .comment-card {
        flex-direction: column;
        padding: 15px;
    }

    .comment-avatar-box {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .comment-avatar-box img {
        width: 40px;
        height: 40px;
    }

    .reply-list {
        margin: 0 15px 0 0;
    }

    .reply-list::before {
        right: -10px;
    }

    .reply-list li::before {
        right: -10px;
        width: 10px;
    }
}

li {
    list-style: none;
}


/* Modern Search Box - White & Light Green */

.search-box {
    position: relative;
    max-width: 520px;
    margin: 40px auto;
}

.search-box input {
    width: 100%;
    height: 60px;
    border-radius: 40px;
    border: none;
    background: #ffffff;
    padding: 0 65px 0 25px;
    font-size: 16px;
    color: #333;
    transition: all .35s ease;
    box-shadow: 4px 2px 10px #cae3ed, 2px 0px 10px #ebebeb inset;
}

.search-box input::placeholder {
    color: #8fa89a;
}

.search-box input:focus {
    outline: none;
    border-color: #22be83;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.15);
    transform: translateY(-1px);
}

/* Search Button */

.btn-search-style {
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #22be83;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .35s ease;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.25);
}

.btn-search-style:hover {
    background: linear-gradient(135deg, #22be83, #2e7d32);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.35);
}

/* Icon */
.btn-search-style i {
    pointer-events: none;
}

/* Mobile */
@media(max-width:768px) {

    .search-box {
        max-width: 100%;
        margin: 30px 0;
    }

    .search-box input {
        height: 55px;
        font-size: 15px;
    }

    .btn-search-style {
        width: 44px;
        height: 44px;
    }

}

.MainInner {
    background-color: #f6f7ff23 !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid rgb(185 185 185 / 28%);
    padding: 10px;
}




::selection {
    background: var(--neon-green);
    color: var(--pure-white);
}


/* پس‌زمینه تزئینی شناور */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: floatShape 10s infinite alternate ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--neon-green);
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #1e9a6b;
    bottom: 20%;
    left: -100px;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* هدر شیک و مدرن */
.hero-about {
    position: relative;
    padding: 0px;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(248, 249, 250, 0) 100%);
    border-bottom: 1px solid rgba(34, 190, 131, 0.2);
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
    text-align: right;
    color: var(--light-gray);
}

.hero-title span {
    color: var(--neon-green);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--neon-green);
    border-radius: 2px;
    opacity: 0.3;
}

/* بخش داستان ما با افکت همپوشانی */
.story-section {
    padding: 100px 0;
    position: relative;
}

.glass-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border-right: 4px solid var(--neon-green);
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--neon-green), transparent);
    opacity: 0.2;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* کارت‌های شیشه‌ای خیره‌کننده */
.values-section {
    padding: 40px 0px;
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: var(--card-height);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(34, 190, 131, 0.05));
    z-index: -1;
}

.glass-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(34, 190, 131, 0.15);
    border-color: rgba(34, 190, 131, 0.3);
}

.icon-glow {
    width: 90px;
    height: 90px;
    background: var(--pure-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 25px rgba(34, 190, 131, 0.2);
    position: relative;
    transition: all 0.4s ease;
}

.icon-glow::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--neon-green);
    animation: rotate 10s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover .icon-glow::after {
    opacity: 1;
}

.glass-card:hover .icon-glow {
    background: var(--neon-green);
}

.icon-glow i {
    font-size: 36px;
    color: var(--neon-green);
    transition: all 0.4s ease;
}

.glass-card:hover .icon-glow i {
    color: var(--pure-white);
    transform: scale(1.1);
}

/* نوار آمار با کنتراست بالا */
.stats-strip {
    background-color: var(--charcoal-black);
    padding: 60px 0;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    background-image: radial-gradient(circle at top right, rgba(34, 190, 131, 0.15), transparent 40%);
}

.stat-item h3 {
    color: var(--neon-green);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(34, 190, 131, 0.4);
}

.stat-item p {
    color: var(--pure-white);
    font-size: 1.1rem;
    opacity: 0.8;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}





/* استایل هدر */
.page-header {
    background-color: var(--light-gray);
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.page-header h1 {
    font-weight: 800;
    color: var(--charcoal-black);
}

.text-neon {
    color: var(--neon-green);
}

/* استایل کارت‌های شیشه‌ای */
.contact-card {
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    min-height: var(--card-height);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(34, 190, 131, 0.1);
}

/* استایل آیکون‌ها */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(34, 190, 131, 0.1);
    color: var(--neon-green);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.info-item:hover .icon-box {
    background-color: var(--neon-green);
    color: var(--pure-white);
}

.info-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* استایل فرم تماس */
.form-control {
    border-radius: 10px;
    padding: 12px 20px;
    border: 1px solid #E2E8F0;
    background-color: var(--light-gray);
    color: var(--charcoal-black);
    transition: all 0.3s;
}

.form-control:focus {
    background-color: var(--pure-white);
    border-color: var(--neon-green);
    box-shadow: 0 0 0 0.25rem rgba(34, 190, 131, 0.15);
}

.btn-custom {
    background-color: var(--neon-green);
    color: var(--pure-white);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #1da06e;
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 190, 131, 0.2);
}


.box-inner-page {
    box-shadow: none !important;
}








/* --------------------------------------------------- */
/* استایل‌های مدرن برای کلمات کلیدی (برچسب‌ها) انتهای خبر */
/* --------------------------------------------------- */
.modern-article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    /* فاصله بین عنوان و لیست تگ‌ها */
    width: 100%;
}

.modern-article-tags .tags-label {
    font-weight: 700;
    color: #475569;
    /* رنگ خاکستری تیره */
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.modern-article-tags .tags-label i {
    color: #94a3b8;
    /* رنگ آیکون */
    font-size: 1.1rem;
    margin-left: 8px;
    /* فاصله آیکون FontAwesome با متن در حالت راست‌چین */
}

.modern-article-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* فاصله بین خود تگ‌ها */
}

.modern-article-tags .modern-tag-link {
    display: inline-flex;
    align-items: center;
    background-color: #f8fafc;
    /* پس‌زمینه بسیار روشن و خنثی */
    color: #64748b;
    /* رنگ متن */
    padding: 6px 14px;
    border-radius: 6px;
    /* گوشه‌های کمی گرد استاندارد */
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    /* حاشیه ظریف */
    transition: all 0.2s ease-in-out;
}

/* افکت هاور هنگام قرار گرفتن موس روی تگ */
.modern-article-tags .modern-tag-link:hover {
    background-color: #eff6ff;
    /* آبی بسیار روشن */
    color: #2563eb;
    /* تغییر رنگ متن به آبی لینک */
    border-color: #bfdbfe;
    /* تغییر رنگ حاشیه */
    transform: translateY(-2px);
    /* حرکت ظریف به سمت بالا */
}