@font-face {
    font-family: 'vazirmatn';
    src: url('/assets/fonts/Vazirmatn-VariableFont_wght.ttf') format('woff2');
}

* {
    box-sizing: border-box;
    font-family: 'vazirmatn';
}

body {
    background: #E4E6ED !important;
    margin: 0;
    padding: 0;
    direction: rtl;
}


.imageeee {
    width: 92%;
    margin: auto;
    margin-top: 13px;
    height: 168.500px;
}

.imageeee img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 124px;
    border-radius: 15px;
}

.immg {
    width: 15px;
    height: 15px;
    margin-left: 8px;
    margin-top: 4px;
}

.rast {
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 8px; */
}

.nav-bala {
    width: 92%;
    border-radius: 1px 1px 15px 15px;
    height: 40px;
    background: #FFFFFF;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 25%);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-right: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

.nav-bala-right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 48%;
    padding-right: 2%;
    height: 26px;
}

.nav-bala-right a {
    color: #1E1E1E;
    text-decoration: none;
}

.tamas,
.dastresi,
.ghavanin {
    font-size: 13px;

    font-weight: 400;
    padding: 0 10px;
    border-left: 1px solid rgba(0, 0, 0, 35%);
    white-space: nowrap;
}

.etelaat {
    font-size: 13px;
    color: #1E1E1E;
    font-weight: 400;
    padding: 0 10px;
    white-space: nowrap;
}

.nav-bala-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
    padding-left: 2.5%;
}

.dark-mood {
    position: relative;
    border-radius: 30px;
    width: 62px;
    height: 30px;
    background: linear-gradient(135deg, #2b2f45, #12141f);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.dark-mood:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 6px 14px rgba(0, 0, 0, 0.32);
}

.dark-mood.dm-active {
    background: linear-gradient(135deg, #5b8def, #2f6fed);
}

.dark-mood .bakhsh-right {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    z-index: 0;
}

.dark-mood .dm-knob {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.dark-mood.dm-active .dm-knob {
    right: 35px;
}

.dark-mood .dm-knob svg circle {
    fill: #2b2f45;
}

.dark-mood.dm-active .dm-knob svg circle {
    fill: #ffd166;
}

.bakhsh-right svg {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    object-fit: cover;
}

.bakhsh-left svg {
    width: 12px;
    height: 12px;
    object-fit: cover;
}

.iran-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 12px;
    margin-top: 3px;
}

.iran-img {
    position: relative;
    cursor: pointer;
}

.flag-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 130px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 500;
}

.flag-dropdown.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.flag-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}

.flag-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.flag-option:hover {
    background: #f2f6fa;
}

.flag-option svg {
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.flag-option span {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.iran-img svg {
    width: 24px;
    height: 24px;
}

.search svg {
    width: 20px;
    height: 20px;
}

.sabtnam-container {
    width: 155px;
    height: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #00477A;
    color: #FFFFFF;
    border-radius: 5px;
}



.sabtnam-container a {
    color: #FFFFFF;
    text-decoration: none;
}

.sabtnan {
    font-size: 12px;
    font-weight: 400;
    border-left: 1px solid #FFFFFF;
    padding: 0 12px;
}

.vorod {
    font-size: 12px;
    font-weight: 400;
    padding: 0 12px;
}


.top-header {
    /* padding-top: 30px; */
    width: 92%;
    margin: 0 auto;
}

.header-box {
    width: 100%;
    height: 60px;
    margin: 0px auto 0 auto;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.header-paen {
    border-radius: 0 0 18px 18px;
    margin: 0 auto;
    width: 92%;
    height: 27px;
    background: #FFFFFF;
    color: #00477A;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 2px solid rgba(0, 0, 0, 2%);
}

.header-paen span {
    margin-right: 40px;
}

.menu {
    display: flex;
    gap: 18px;
}

.menu a {
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    color: #4a4a4a;
    white-space: nowrap;
}

.logo-wrapper {
    position: absolute;
    left: 51%;
    top: -38px;
    transform: translateX(-50%);
    text-align: center;
    z-index: 100;
}

.right {
    padding-right: 25px;
}

.left {
    padding-left: 25px;
}


.logo-wrapper span {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.6;
    color: #222;
}

.logo-wrapper svg {
    width: 150px;
    height: 155px;
}

.header-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding-right: 20px;
}

.header-hamburger span {
    width: 26px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

.container-hum {
    position: absolute;
    right: -1000px;
    transition: all 0.5s ease-in-out;
    background-color: #ffff;
    /* border-radius: 20px; */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: -233px;
    height: 100vh;
}

.container-hum.active {
    width: 50%;
    right: -30px !important;
}

.container-hum a {
    text-decoration: none;
    color: #1E1E1E;
}

#bodyy.active {
    overflow-y: hidden;
}


.container-peyvand {
    width: 92%;
    margin: 0 auto;
    /* padding: 10px 0; */
    /* background-image: url(image/5.png); */
}

/* کانتینر اصلی */
.mz-portal-wrapper {
    width: 100%;
    background: #f8f9fb;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 30px;
}

/* ستون‌ها */
.mz-portal-links {
    flex: 1;
}

.mz-portal-news {
    flex: 1.2;
}

/* عنوان‌ها */
.mz-portal-title {
    text-align: center;
    color: #00477A;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 5px;
}

.mz-portal-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #4789BB;
}

/* ================= لینک‌های مفید ================= */




.mz-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.mz-link-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0F3E91;
    color: #FFFFFF;
    text-decoration: none;
    width: 47.8%;
    height: 68px;
    text-align: center;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 400;
    transition: background-color 0.3s;
    padding: 10px;
}

.mz-link-btn:hover {
    background-color: #162e66;
}

/* ================= اطلاعیه‌ها ================= */

.mz-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mz-news-scroll {
    position: relative;
    max-height: 300px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.mz-news-scroll .mz-news-list {
    animation: mzNewsScroll 16s linear infinite;
}

.mz-news-scroll:hover .mz-news-list {
    animation-play-state: paused;
}

@keyframes mzNewsScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.mz-news-item {
    display: flex;
    border-radius: 14px;
    margin-bottom: 22px;
    position: relative;
}

.mz-news-item:hover {
    transform: translateX(-6px) scale(1.02);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 71, 122, 0.14);
}

.mz-news-item::after {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.mz-news-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

.mz-news-date {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #ACACAC;
    margin-top: 15px;
    margin-bottom: 10px;
}

.mz-news-item p {
    margin: 0;
    color: #606060;
    font-size: 16px;
    font-weight: 400;
}

/* آیکن زنگ */
.mz-news-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

/* مشاهده همه */
.mz-news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #606060;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
}


.item-svg {
    width: 70px;
    height: 78px;
    margin-left: 10px;
}


.container-body {
    display: flex;
    gap: 9px;
    margin: 25px 60px 0 35px;
    min-width: 70.3%;
    background: none;
    height: 440px;
}

.container-body2 {
    display: flex;
    gap: 9px;

    margin-inline: auto;
    background: none;
    height: 440px;
}

.container-body-right {
    width: 48%;
    height: 413.570px;
    border-radius: 15px;
}

.container-body-right2 {
    width: 59.3%;
    height: 413.570px;
    border-radius: 15px;
}


.container-body-center {
    width: 32%;
    height: 413.570px;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0px 4px 14px 0.5px rgb(200, 200, 200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.akhbar-scroll-wrapper {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.akhbar-scroll-div {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #C7D3E0 transparent;
}

.akhbar-scroll-div::-webkit-scrollbar {
    width: 5px;
}

.akhbar-scroll-div::-webkit-scrollbar-thumb {
    background: #C7D3E0;
    border-radius: 10px;
}

.tabs {
    flex-shrink: 0;
}



@keyframes akhbarScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}


.container-body-center2 {
    width: 20%;
    height: 413.570px;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0px 4px 14px 0.5px rgb(200, 200, 200);
}


.container-body-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 17.3%;
    height: 413.570px;
    background: #FFFFFF;
    border-radius: 15px;
}

.container-body-left img {
    margin-top: 10px;
    width: 90%;
    height: 200px;
    border-radius: 15px;
    border: 2px solid #1567ca;
}

.container-body-left2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 17.3%;
    height: 413.570px;
    /* background: #FFFFFF; */
    border-radius: 15px;
    /* border: 1px solid #AFAFAF; */

    gap: 10px;
}

.container-body-left2-items {
    width: 100%;
    height: 49%;
    border-radius: 15px;
    box-shadow: 0px 4px 14px 0.5px rgb(200, 200, 200);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5px;
    background: #FFFFFF;
}

.container-body-left2-items-img {
    width: 100%;
    height: 160px;
    border-radius: 15px;
}

.container-body-left2-items-img img {
    width: 100%;
    height: 100% !important;
    border-radius: 0 0 15px 15px;
}

.name {
    margin-top: 8px;
}

.name span {
    color: #00477A;
    font-size: 18px;

}

.name p {
    color: #658290;
    font-size: 12px;
}

.name-btn,
.name-btn2 {
    background: #00477A;
    color: #FFFFFF;
    width: 55%;
    height: 34px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;

}



.name-btn2 {
    margin-bottom: 12px;
    margin-top: 8px;
    margin-inline: auto;
}

.name-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #658290;
    width: 70%;
    margin-top: 0px;
}

.name-icon img {
    width: 20px;
    height: 20px;
}

.akhbar-container {
    width: 96%;
    background: #FFFFFF;
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.akhbar-container:hover {
    transform: translateX(-6px) scale(1.015);
    background: #f7fbff;
    box-shadow: 0 10px 24px rgba(0, 71, 122, 0.16);
    z-index: 2;
}

.akhbar-container::after {
    content: '↗';
    position: absolute;
    left: 6px;
    top: 19px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #00477A;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.akhbar-container:hover::after {
    opacity: 1;
    transform: scale(1);
}

.akhbar-container img {
    object-fit: cover;
    height: 80px;
    padding-right: 5px;
    border-right: 2.2px solid #6B98F0;
    border-radius: 1.3px;
}

.akhbar-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    height: 80px;
}

.akhbar-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.akhbar-btn {
    width: fit-content;
    height: 20px;
    color: #FF0936;
    border-radius: 5px;
    box-shadow: 0px 4px 14px 0.5px lightgray;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 0 8px;
}

.akhbar-onvan {
    width: 100%;
    height: 20px;
    font-size: 13px;
    font-weight: 800;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.akhbar-date {
    /* width: 5px; */
    /* width: 95%; */
    /* height: 17px; */
    color: #828282;
    font-size: 10px;
    font-weight: 400;
    text-align: justify;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;    
    -webkit-line-clamp: 2 !important;
    overflow: hidden;
}

.tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    height: 34px;
    margin: 6px auto;
}

.tab {

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #FFFFFF;
    border-radius: 10px;
    height: 30px;
}

/* رنگ‌ها */
.tab:nth-child(1) {
    width: 40%;
    margin-left: -30px;
    background: #FF6B35;
    cursor: pointer;
}

/* همه */
.tab:nth-child(2) {
    margin-left: -30px;
    width: 40%;
    background: #2D9CDB;
    cursor: pointer;
}

/* اطلاعیه */
.tab:nth-child(3) {
    margin-left: -30px;
    width: 40%;
    background: #2D9CDB;
    cursor: pointer;

}

/* اخبار */
.tab:nth-child(4) {
    width: 40%;
    background: #6FCF97;
    cursor: pointer;

}

/* مصوبات */

/* 1️⃣ راست صاف، چپ کج */
.right-flat {

    clip-path: polygon(100% 0,
            100% 0%,
            100% 100%,
            30% 100%,
            10% 0%);
}

/* 2️⃣ و 3️⃣ هر دو طرف کج */
.both-slanted {

    clip-path: polygon(0% 0%,
            73% 0,
            93% 100%,
            30% 100%,
            10% 0%);
}

/* 4️⃣ چپ صاف، راست کج */
.left-flat {

    clip-path: polygon(0% 0%,
            73% 0%,
            93% 100%,
            0% 100%,
            0% 0%);
}

.swiper {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    z-index: 1;
}

.swiper-slide {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    max-width: 100%;
    height: 100%;
    width: auto !important;
    object-fit: fill;
    margin-inline: auto;
    display: block;
}

.marquee {
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 8px;
    direction: ltr;
    border-radius: 0 0 18px 18px;
    text-align: center;
}

.marquee span {
    display: inline-block;
    padding-right: 100%;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

.swiper-horizontal {

    &.swiper-rtl .swiper-button-next,
    &.swiper-rtl~.swiper-button-next,
    &~.swiper-button-prev,
    .swiper-button-prev {
        color: white;
    }
}

.container-pasokh {
    width: 92%;
    background: #E4E6ED;
    height: 210px;
    margin: 0 auto;
    border-radius: 15px;
}

.bakhshha {

    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

}


.samt-right {
    margin-left: -40px;
}


.samt-right svg {

    width: 100%;
    height: 210px;
}

.samt-left svg {
    width: 100%;
    height: 210px;
}

.container-modiran {
    width: 92%;
    margin: 0px auto;
}


.section {
    padding: 20px 20px;
    position: relative;
    background: #ffffff;
    width: 100%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 25px; */
}

.title {
    text-align: center;
    font-size: 23px;
    font-weight: 700;
    color: #00477A;
    margin-bottom: 35px;
}



/* ===== Slider ===== */
.slider-wrapper {
    overflow: hidden;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;

}

.slider {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
    width: 92%;
}


/* ===== Arrows ===== */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: #1f4f8a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.arrow {
    margin-top: 45px;
}

.arrow.left1 {
    right: 10px;
}

.arrow.right2 {
    left: 10px;
}

.container-omomi {
    width: 92%;
    margin: 0px auto;
}

.stdprx-container {
    width: 100%;
    margin: 0px auto;
    background: #f7f8fa;
    border-radius: 18px;
    padding: 24px 28px 30px;
}

/* Header */
.stdprx-header {
    text-align: center;
    margin-bottom: 28px;
}

.stdprx-header span {
    font-size: 23px;
    font-weight: 700;
    color: #00477A;
    padding-bottom: 6px;
    border-bottom: 2px solid #0b3c74;
}

/* Layout */
.stdprx-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Timeline */
.stdprx-timeline {
    flex: 1.2;
    position: relative;
}

.stdprx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.stdprx-list::before {
    content: "";
    position: absolute;
    right: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #bfc9d3;
}

.stdprx-item {
    position: relative;
    padding-right: 36px;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 400;
    color: #4789BB;
    line-height: 1.9;
}

.stdprx-item::before {
    content: "";
    position: absolute;
    right: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #bfc9d3;
    z-index: 2;
}

.stdprx-item.active::before {
    background: #e74c3c;
    border: 3px solid #fff;
}

/* Buttons */
.stdprx-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stdprx-btn {
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 13px;
    cursor: pointer;
    width: 105px;
    height: 30px;

}

.stdprx-btn.archive {
    background: #545658;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 400;
}

.stdprx-btn.live {
    background: #F84D4D;
    color: #FFFFFF;
    margin-right: 10px;
    font-size: 15px;
    font-weight: 400;
}

/* TV */
.stdprx-tv {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stdprx-screen {
    background: #0b3c74;
    padding: 14px;
    border-radius: 26px;
    width: 420px;
    max-width: 100%;
    position: relative;
}

.stdprx-screen svg {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    display: block;
}

/* Play */
.stdprx-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    background: rgba(11, 60, 116, 0.9);
    border-radius: 50%;
}

.stdprx-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff;
}

/* Stand */
.stdprx-stand {
    width: 90px;
    height: 12px;
    background: #0b3c74;
    border-radius: 0 0 12px 12px;
    margin-top: 8px;
}



.container-galery {
    width: 92%;
    background: #ffff;
    margin: 10px auto;
    border-radius: 15px;
}





.gallery-section {
    padding: 40px 60px;
    width: 100%;
}

.gallery-title {
    text-align: center;
    font-size: 23px;
    font-weight: 700;
    color: #00477A;
    margin-bottom: 40px;

}

.gallery-title::after {
    content: "";
    width: 90px;
    height: 3px;
    background: #1f4f7a;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.gallery-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 100%;
}

.gallery-card1 {
    width: 360px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 16px;
}

.card1-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.card1-title {
    padding-bottom: 5px;
    font-size: 15px;
    color: #2D3748;
    border-bottom: 2px solid #005098;
}

.jahatha {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.jahat {
    text-align: center;
    width: 26px;
    height: 26px;
    background: #1f4f7a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.image-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-box img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 13px;
    padding: 10px 12px;
    line-height: 1.8;
}

.left-ksks {
    padding: 10px 25px;
    border-radius: 7px;
    position: absolute;
    bottom: 16px;
    left: 31% !important;
    text-decoration: none;
    color: white;
    background-color: rgb(0, 53, 119);
    /* clip-path: polygon(0% 0%, 83% 0%, 100% 100%, 0% 100%, 0% 0%); */
    font-size: 14px;
    cursor: pointer !important;
}

.hum-logo {
    display: none;
    width: 100%;
    height: 100%;
}



@media (max-width: 1325px) {

    .hum-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 100;
        margin-left: 60px;
        margin-top: 3px;
    }

    .container-hum {
        box-shadow: 1px 1px 15px 0 rgba(0, 0, 0, 80%);
    }

    .rast {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        padding: 15px 20px;
    }

    .nav-bala {
        justify-content: space-around;
        align-items: center;
    }

    .nav-bala-right {
        display: none;
    }


    .container-hum.active {
        width: 100%;
        right: 0;
        z-index: 1000;
    }




    .header-box {
        justify-content: space-between;
    }

    /* منوی اصلی مخفی */
    .menu {
        margin-top: 35px;
        display: none;
        position: absolute;
        top: 85px;
        right: 0px;
        background: #fff;
        flex-direction: column;
        width: 96.5%;
        padding: 15px 20px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .15);

    }


    .header-hamburger {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }




}


/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {

    .container-body {
        width: 92%;
        margin-left: auto !important;
        margin-right: auto !important;
        /* margin-bottom: -40px; */
    }

    .container-pasokh {
        width: 92%;
        background: #E4E6ED;
        height: 125px;
        border-radius: 15px;
    }

    .bakhshha {
        height: 130px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .card1 {
        min-width: 40%;
    }

    @media (max-width: 900px) {
        .gallery-wrapper {
            flex-direction: column;
            align-items: center;
        }

        .card1 {
            padding-top: 0;
        }

    }
}

@media (max-width: 1295px) {
    .left-ksks {
        left: 12% !important;
    }

    .left-jsjs {
        left: 38% !important;
    }
}

@media (max-width: 1205px) {
    .gallery-wrapper {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .card1 {
        min-width: 100%;
    }

    .arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}




@media (max-width:927px) {

    /* .container {
        margin-top: 850px;
    } */

    .samt-right {
        margin-left: -30px;
    }

    .container-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 92%;
        gap: 28px;
        /* margin: auto;
        margin-top: -30px;
        margin-bottom: 20px; */
    }

    .container-body-right {
        width: 100%;
    }



    .container-body-center {
        width: 100%;
    }

    .tabs {
        margin: 3px auto;
    }

    .container-body-left {
        width: 100%;
        /* margin-bottom: 800px; */
    }

    .container-body-left img {
        width: 50%;
        height: 50%;
    }

    .name-icon img {
        width: 20px;
        height: 20px;

    }

    .name-icon {
        margin-top: 4px;
    }

    .hamburger {
        display: flex;
        padding: 0 12px;
    }

    .nav-bala-right {
        position: absolute;
        top: 50px;
        right: 4%;
        background: #FFFFFF;

        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        display: none;
        z-index: 1000;
    }

    .nav-bala-right.active {
        display: flex;
        width: 88.5%;
        margin: 0 auto;
    }

    .tamas,
    .dastresi,
    .ghavanin,
    .etelaat {
        border: none;
        padding: 10px 0;
        width: 100%;
        font-size: 14px;
    }

    /* .container-hum {
        margin-top: 400px;
        margin-left: auto;
        margin-right: auto;
    } */

    .mz-portal-wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap-reverse;
    }


    .container-peyvand {
        width: 92%;
        margin: 10px auto;
    }

    .slider {
        width: 90%;
    }

    .card1 {
        justify-content: center;
        align-items: center;

    }

    .card1-bala {
        margin: 0;
    }

    .card1-p-class {
        margin: 0;
        justify-content: center;
        align-items: center;
        text-align: center;

    }

    .buttons {
        margin: 0;
    }

    .stdprx-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .stdprx-tv {
        width: 100%;
    }

}

@media (max-width:768px) {

    /* .container {
        margin-top: 805px;
    } */

    .header-paen span {
        display: none;
    }

    .container-pasokh {
        width: 92%;
        background: none;
        height: 105px;
        border-radius: 15px;
        /* margin-top: -23px;
        margin-bottom: -30px; */
    }

    .bakhshha {
        height: 110px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;

    }

    .lefttt {
        display: none;
    }

    .wrapper {
        flex-direction: row !important;
    }

    .righttt {
        width: 80% !important;
        margin-top: 0 !important;
    }

    .map {
        width: 600px !important;
    }

    @media (min-width: 769px) and (max-width: 992px) {

        .stdprx-body {
            gap: 24px;
        }

        .stdprx-screen {
            width: 340px;
        }

        .stdprx-item {
            font-size: 14px;
        }

    }

    @media (max-width: 550px) {
        .map {
            width: 450px !important;
        }
    }

    @media (max-width:425px) {

        .nav-bala-left {
            width: 100%;
        }

        .container-body {
            height: 100px;
            width: 92%;
            margin-left: auto;
            margin-right: auto;
            /* margin-bottom: 55px; */
        }

        /* .header-container {
            margin-bottom: 340px;
        } */

        .container {
            /* margin-top: 860px; */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }


        .mz-link-btn {
            width: 47.8%;
            height: 68px;
        }

        .header-paen span {
            margin: 0 7px;
            font-size: 11px;
            font-weight: 500;
        }



        .container-peyvand {
            width: 92%;
            margin-top: -15px;

        }

        .mz-portal-links {
            width: 100%;
        }

        .mz-links-grid {
            width: 100%;
        }

        .mz-link-btn {
            display: flex;
            flex-wrap: wrap;
            flex: 0 0 100%;
            font-size: 12px;
            font-weight: 400;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .container-modiran {
            width: 92%;
            /* margin-bottom: 410px; */
            border-radius: 15px;
        }

        /* .container-omomi {
            margin-bottom: 390px;
        } */

        .section {
            width: 100%;
        }

        .slider-wrapper {
            width: 90%;

        }

        .slider {
            width: 90%;
        }

        .card1 {
            gap: 15px;
            justify-content: center;
            align-items: center;

        }

        .card1-bala {
            margin: 0;
        }

        .card1-p-class {
            margin: 0;
            justify-content: center;
            align-items: center;
            text-align: center;

        }

        .buttons {
            margin: 0;
        }

        /* .stdprx-container {
            margin-top: -400px;
        } */

        .stdprx-actions {
            white-space: nowrap;
        }

        .stdprx-body {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .stdprx-tv {
            width: 100%;
        }

        /* .container-galery {
            margin-top: -400px;
        } */

        .gallery-section {
            width: 100%;
        }

        .gallery-card1 {
            width: 130%;
        }

        .container-pasokh {
            /* margin-top: -72px; */
            background: none;

        }

        .samt-right {
            margin-left: -15px;
        }

        .akhbar-onvan {
            font-size: 10px;
            font-weight: 700;
        }

        .tabs {
            width: 80%;
        }


        .map {
            width: 350px !important;
        }


    }

}

@media (max-width:425px) {
    /* .container {
        margin-top: 910px;
    } */
}

@media (max-width:375px) {
    /* .container {
        margin-top: 880px;
    } */
}

@media (max-width:320px) {
    /* .container {
        margin-top: 860px;
    } */
}




/* بحش نقشه  */

.container-naghshe {
    width: 100%;
}

.shoar-sal {
    width: 235px;
    height: 100px;
    position: absolute;
    left: 0.7%;
    top: 7%;
    display: flex;
}


.wrapper {
    width: 92%;
    flex-direction: row-reverse;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    height: 380px;
}

/* ---------- LEFT ---------- */
.lefttt {
    width: 38%;
    height: 380px;
    position: relative;
}

.lefttt img {
    width: 100%;
    height: 100%;
}

.lefttt::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left,
            #ffffff 0%,
            #ffffffef 10%,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(255, 255, 255, 0) 100%);


}

.lefttt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- RIGHT ---------- */
.righttt {
    width: 50%;
    padding: 0px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.title {
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: bold;
    color: #163c73;
    position: relative;
    display: inline-block;
}

/* ---------- MAP ---------- */
.map {
    width: 820px;
}

.city {
    fill: #d9d9d9;
    stroke: #b0b0b0;
    stroke-width: 1;
    cursor: pointer;
    transition: .3s;
}

.city:hover {
    fill: #9bbfe5;
}

.city.active {
    fill: #2f6fb2;
}

.city-name {
    font-size: 12px;
    fill: #333;
    pointer-events: none;
    text-anchor: middle;
}

@media (max-width:1295px) {
    .left-ksks {
        left: 30% !important;
    }
}


@media (max-width:1200px) {
    /* .wrapper {
        flex-direction: column-reverse;
    } */

    .map {
        width: 600px;
    }

    .left {
        width: 400px;
        height: 360px;
        border-radius: 20px;
    }

    .left::after {
        background: none;
    }

    .left-jsjs {
        left: 37% !important;
    }

    .left-ksks {
        left: 26% !important;
    }
}

@media (max-width:927px) {

    .map {
        width: 500px;
    }

    .mz-news-more {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        padding-inline: 20px;
    }
}



.left-jsjs {
    padding: 7px 24px;
    position: absolute;
    border-radius: 7px;
    font-size: 14px;
    bottom: 16px;
    left: 42%;
    text-decoration: none;
    color: white;
    background-color: #005098;
    clip-path: polygon(100% 0, 100% 0%, 100% 100%, 30% 200%, 2% 0%);
}

.mainaiai {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    max-width: 1400px;
    margin: 10px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}









/* بخش های دیگه سایت و همچنین فوتر */




@font-face {
    font-family: Byecan;
    src: url(BYekan/BYekan+.ttf);
}

/* body {
    background-color: #E4E6ED;
    font-family: Byecan;
    margin: 0;
    padding: 0;
} */

.continer-samane {
    width: 90%;
    margin: 1px auto;
}

.section1-samane {
    width: 100%;
    display: flex;
    margin-top: 90px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.top-section1-samane {
    width: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid #00477A;
    height: 54px;
    border-radius: 3px;
}

.top-section1-samane h3 {
    width: 160px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
    color: #00477A;
    border-radius: 3px;
    border-bottom: 3px solid #00477A;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.step {
    background: #ffffff;
    padding: 10px 22px;
    border-radius: 10px;

    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
}

.step.active {
    background: #FF9716;
    color: #ffffff;
}

.line {
    position: relative;
    width: 70px;
    height: 2px;
    background: #cbd5e1;
    margin: 0 6px;
}

.dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;

    border: 1px solid #4789BB;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot-in-dot {
    width: 11px;
    height: 11px;
    background-color: #4789BB;
    border-radius: 50%;
}

.section2-samane {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    background-color: #FFFFFF;
    box-shadow: 0 10px 24px #02061750;
    margin: 50px auto;
    border-radius: 12px;

}

.immg2 {
    width: 45px;
    height: 45px;
}

.section2-samane p {
    width: 40%;
    color: #545658;
    direction: rtl;
    padding: 10px;
}







.x9z-portal-wrapper {
    direction: rtl;
    padding: 40px 20px;
}

.x9z-portal-grid {
    max-width: 1155px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.x9z-portal-card1 {
    width: 206px;
    height: 175px;
    border: 1px solid #005098;
    border-radius: 22px;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF
}

.x9z-portal-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.x9z-portal-title {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.9;
    max-width: 170px;
}







.box {
    background-color: white;
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    width: 100%;
    text-align: right;
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #1a3b5d;
    /* margin-top: 70px; */
    text-align: center;
    border-bottom: 2px solid #163c73;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.3;
}

.list li {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-right: 25px;
}

.list li::before {
    content: "•";
    color: #3498db;
    font-size: 28px;
    position: absolute;
    right: 0;
    top: -8px;
}

.list li:last-child {
    margin-bottom: 0;
}


.section4-samane {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


.footer {
    width: 100%;
    background-color: #f8fafc;
    background-size: cover;
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
}

.top-top-footer ul {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.top-top-footer ul li {
    list-style: none;
}

.top-top-footer {
    color: white;
    padding: 40px 0px;
}

.bottom-top-footer {
    display: flex;
    justify-content: center;
    gap: 235px;
    color: white;
}

.bottom-top-footer h3 {
    border-bottom: 3.5px solid #0094FF;
    border-radius: 2px;
    padding-bottom: 10px;
    width: 70px;
    text-align: right;
    white-space: nowrap;
    transition: 0.5s;
}

.alwwww {
    width: 165px;
    height: 165px;
}

ul li {
    list-style: none;
}

.f1-foote ul,
h3 {
    padding: 0;
    direction: rtl;
}

.f2-foote ul,
h3 {
    padding: 0;
    direction: rtl;
}

.f3-foote ul,
h3 {
    padding: 0;
    direction: rtl;
}

.f1-foote ul li {
    margin-bottom: 15px;
}

.f3-foote ul li {
    margin-bottom: 15px;
}

.bottom-top-footer>div {
    direction: rtl;
}

.bottom-top-footer li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.bottom-footer {
    width: 100%;
    height: 60px;
    flex-direction: row-reverse;
    gap: 5px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0A2459;
}

.top-top-footer ul li:not(:last-child) {
    border-left: 2px solid rgba(143, 143, 143, 0.701);
    padding-left: 15px;
}


.llskj {
    width: 31px;
    height: 31px;
    background-color: rgba(217, 217, 217, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}












/* معاونین استانداری */




.section2-moavenin {
    width: 70%;
    padding: 40px 0px;
    background-color: white;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.main-jaahg {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.main-jaahg>div {
    width: 90%;

    background-color: #E4EDF5;
    border-right: 4px solid #4A90E2;
    border-radius: 7px;
}

.mainnnnnia {
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    margin: 10px 20px;
}

.h55u {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    padding: 2px 10px;
    background-color: #4A90E2;
    color: white;
    border-radius: 17px;
    height: 35px;

}



/* هاور ها */



.bottom-top-footer h3:hover {
    width: 90px;
    cursor: pointer;
}

.x9z-portal-card1:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 4px rgb(158, 158, 158);

}

.shadowwboxx {
    transition: 0.5s;
}

.shadowwboxx:hover {
    box-shadow: 0px 3px 3px rgba(154, 154, 255, 0.642);
}

.kojihg p {
    text-align: justify;
}



/* ریسپانسیو */


@media(max-width:1050px) {
    .steps-container {
        flex-direction: column;
        gap: 13px;
    }

    .kojihg {
        flex-direction: column;
    }

    .section4-samane {
        flex-direction: column;
    }

    .top-top-footer {
        display: none;
    }

    .bottom-top-footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .box {
        padding: 30px 17px;
    }

    .section2-samane p {
        width: 80%;
    }

    .section2-moavenin {
        width: 100%;
    }

    .jree5rt7 {
        justify-content: space-between;
    }
}









.icx-footer-root {
    background: #ffffff;
    padding: 60px 0;

    direction: rtl;
}

.icx-footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 112px;
}

.icx-footer-col {
    display: flex;
    flex-direction: column;
}

.icx-footer-title {

    font-weight: 600;
    margin-bottom: 22px;
    font-size: 1.5rem;
    color: #1e293b;
    transition: color 0.3s ease;

}

.icx-footer-list {
    list-style: none;
    direction: ltr;
}

.icx-footer-list li{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.icx-footer-link {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 1rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.icx-footer-link:hover {
    color: #111827;
}


.icx-footer-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 200px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.9;
}

.icx-footer-icon {
    font-size: 15px;
    color: #374151;
    margin-top: 4px;
}

.icx-footer-social {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.icx-footer-social-link {
    font-size: 20px;
    color: #374151;
    transition: transform 0.2s ease, color 0.2s ease;
}

.icx-footer-social-link:hover {
    color: #000;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .icx-footer-wrap {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .icx-footer-wrap {
        grid-template-columns: 1fr;
    }
}



.iconostandari {
    width: 140px !important;
    height: 140px !important;
    margin: 10px auto !important;
    position: relative !important;
}


.iconostandari::after {
    content: "" !important;
    position: absolute !important;
    top: -20% !important;
    left: -60% !important;
    width: 40% !important;
    height: 140% !important;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 45%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.85) 55%,
            transparent 100%) !important;
    transform: rotate(15deg) !important;
    animation: icx-shine-move 5s infinite !important;
}

@keyframes icx-shine-move {
    0% {
        left: -60%;
    }

    12% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.email-input {
    width: 90%;
    margin-inline: auto;
}

.email-input input {
    padding: 5px;
    margin: 2px auto;
    border-radius: 10px;
    border: none;
    border: 2px solid #00477A;
    text-align: right;
    width: 100%;
    height: 40px;
}

.peyvand-top-img-container {
    width: 100%;
    height: 83px;
    /* border: 1px solid black; */
    margin-inline: auto;
    border-radius: 12px;
    margin-bottom: 9px;
    padding-inline: 8px;
}

.peyvand-img-container {
    width: 100%;
    height: 100px;
    /* border: 1px solid black; */
    margin-inline: auto;
    border-radius: 10px;
}

.peyvand-top-img-container img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #00477A;
}

.peyvand-img-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;

    margin: 10px auto;
}

.peyvand-img-left,
.peyvand-img-right {
    width: 49%;
    height: 100px;
    /* border: 1px solid black; */
    border-radius: 10px;
}

.peyvand-img-left img,
.peyvand-img-right img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.tabs-container {
    width: 100%;
    /* max-width: 800px; */
    margin: auto;
    direction: rtl;
    font-family: sans-serif;
    border-radius: 15px;
}

/* --- نوار تب‌ها --- */
.tabs10 {
    display: flex;
    position: relative;
    background: #ffffff;
    border-bottom: 2px solid #dbe2ee;
    border-radius: 15px 15px 0 0;
    width: 40%;
}

/* --- دکمه‌های تب --- */
.tab-button {
    flex: 1;
    padding: 14px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #23406c;
    transition: color 0.25s ease;
    position: relative;
}

.tab-button:hover {
    color: #003c8f;
}

.tab-button.active {
    color: #003c8f;
}

/* --- خط تاکید زیر تب --- */
.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    width: 50%;
    background: #003c8f;
    border-radius: 3px 3px 0 0;
    transition: transform 0.3s ease;
}

/* --- محتوای تب‌ها --- */
.tab-content {
    display: none;
    padding: 20px;
    background: #ffffff;
    height: fit-content;
    padding: 8px;
    border-radius: 0 0 15px 15px;
}

.tab-content.active {
    display: block;
}

/* --- کارت خبر سازمانی --- */
.news-card1 {
    display: flex;
    gap: 16px;
    background: #f7f9fc;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #e0e6f1;
    margin-bottom: 8px;
}

.news-right {
    width: 130px;
    height: 108px;
    flex-shrink: 0;
}

.news-image {
    width: 100%;
    height: 100%;
    /* height: auto; */
    border-radius: 8px;
}

.news-left {
    display: flex;
    flex-direction: column;
}

.news-summary {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 6px;
    color: #003c8f;
}

.news-title {
    font-size: 15px;
    margin-bottom: 8px;
    color: #222;
}

.news-description {
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
}

.news-date {
    margin-top: auto;
    font-size: 13px;
    color: #777;
}

.title-peyvand {
    height: 40px;
    width: 100%;
    background: #283f92;
    /* padding: 0; */
    font-size: 10px;
    margin: 0;
    color: #ffff;
    border-radius: 15px 15px 0 0;
    display: flex;
    padding-inline: 10px;
    align-items: center;
    margin-bottom: 7px;
}

.mobile-nav-item a {
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.news-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    scrollbar-width: thin;
    background: url(./image/5.png);
    background-color: #f6f6f6;
    border-radius: 0 0 10px 10px;
}

.header-box {
    height: 80px;
    margin: -25px auto 0 auto;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.header-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding-right: 20px;
}

.header-hamburger span {
    width: 26px;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.desktop-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 25px;
}

.menu-right a {
    font-size: 13px !important;
}

.menu-right,
.menu-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu-left {
    gap: 10px !important;
}

.menu-item {
    position: relative;
    cursor: pointer;
}


.immg {
    width: 15px;
    height: 15px;
    margin-left: 0px;
    margin-top: -3px;
}

.menu-item>.rast>a {
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    color: #4a4a4a;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 5px;
    padding: 10px 6px;
    transition: color 0.3s ease;
}

.ai-menu-item {
    margin-right: 4px;
}

.ai-menu-item>.rast {
    display: flex;
    align-items: center;
    gap: 2px;
    background: linear-gradient(135deg, #FF8A3D, #FF6B00);
    border-radius: 12px;
    padding: 4px 6px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-menu-item:hover>.rast {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.45);
}

.ai-menu-item .immg {
    display: none;
}

.ai-menu-item>.rast>a {
    color: #fff !important;
    padding: 6px 2px;
    font-weight: 700;
}

.ai-menu-item:hover>a {
    color: #fff;
}

.ai-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 12px;
    white-space: nowrap;
}

.ai-badge svg {
    animation: aiSparkle 2.4s ease-in-out infinite;
}

@keyframes aiSparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.2) rotate(15deg);
        opacity: 0.7;
    }
}

.menu-item:hover>a,
.menu-item.active>a {
    color: #00477A;
}

.menu-item.active .arrow-mobile-nav {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

#khadmat::after {
    content: '▼';
    font-size: 8px;
    margin-right: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.mega-menu {
    position: absolute;
    top: 67px;
    right: -85%;
    width: 1200px;
    /* margin: 0 auto; */
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #dcdcdc;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.35s ease;
    z-index: 99;
}

/* باز شدن با CSS Hover */
.menu-item.has-mega:hover .mega-menu,
.menu-item.has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item.has-mega:hover>a,
.menu-item.has-mega:focus-within>a {
    color: #00477A;
}

.categories {
    width: 28%;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid #e6e6e6;
    max-height: 400px;
    overflow-y: auto;
}

.categories li {
    padding: 18px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    color: #333;
}

.categories li:last-child {
    border-bottom: none;
}

.categories li:hover {
    background: linear-gradient(90deg, #f0f4ff, #e8edff);
    color: #3b4bff;
}

.categories li.active {
    background: linear-gradient(90deg, #e3e9ff, #dae2ff);
    font-weight: 500;
    color: #3b4bff;
    position: relative;
}

.categories li.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #283f92;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.categories li .category-text {
    margin-left: 10px;
}

.categories li .arrow10 {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #666;
    stroke-width: 2px;
    transition: transform 0.3s ease-in-out;
    opacity: 0.8;
}

.categories li.active .arrow10 {
    stroke: #3b4bff;
    opacity: 1;
    transform: rotate(180deg);
}

.submenus {
    width: 72%;
    position: relative;
    padding: 30px 40px;
    background: transparent;
}

.submenu {
    display: none;
    position: absolute;
    inset: 0;
    padding: 35px;
    font-size: 16px;
    animation: submenuAnim 0.35s ease-out both;
    opacity: 0;
    transform: translateX(15px) scale(0.98);
    filter: blur(3px);
    overflow: auto;
    scrollbar-width: thin;
}

.submenu.active {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

.submenu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.submenu-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    text-decoration: none;
}

.submenu-item:hover {
    background: #fff;
    border-color: #ccc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.submenu-item .gerd {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3f5bc1;
    margin-left: 5px;
    flex-shrink: 0;
}

.submenu-text {
    color: #444;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* ==================== زیرمنوی تودرتو (دسته > دسته > زیرمجموعه) ==================== */
/* این پنل خودش نباید اسکرول بخورد؛ فقط زیرمجموعه‌ها (سمت چپ) اسکرول مستقل دارند */
.submenu.submenu-nested {
    padding: 0;
    overflow: hidden;
}

.nested-mega {
    display: flex;
    height: 100%;
}

.nested-categories {
    width: 230px;
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-left: 1px solid #e6e6e6;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
}

.nested-categories li {
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13.5px;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.nested-categories li:last-child {
    border-bottom: none;
}

.nested-categories li:hover {
    background: linear-gradient(90deg, #f0f4ff, #e8edff);
    color: #3b4bff;
}

.nested-categories li.active {
    background: linear-gradient(90deg, #e3e9ff, #dae2ff);
    font-weight: 500;
    color: #3b4bff;
}

.nested-categories li .category-text {
    margin-left: 8px;
}

.nested-categories li .arrow10 {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #666;
    stroke-width: 2px;
    transition: transform 0.3s ease-in-out;
    opacity: 0.8;
    flex-shrink: 0;
}

.nested-categories li.active .arrow10 {
    stroke: #3b4bff;
    opacity: 1;
    transform: rotate(180deg);
}

.nested-submenus {
    flex: 1;
    position: relative;
    height: 100%;
}

.nested-submenu {
    display: none;
    position: absolute;
    inset: 0;
    padding: 35px;
    font-size: 16px;
    animation: submenuAnim 0.35s ease-out both;
    opacity: 0;
    transform: translateX(15px) scale(0.98);
    filter: blur(3px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.nested-submenu.active {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

@keyframes submenuAnim {
    from {
        opacity: 0;
        transform: translateX(15px) scale(0.98);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transition: right 0.4s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.close-mobile-menu {
    font-size: 24px;
    cursor: pointer;
    color: red;
}

.mobile-nav-item {
    margin-bottom: 5px;
}

.mobile-nav-title {
    padding: 12px 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: flex-start;
    gap: 6px;
}

.arrow-mobile-nav {
    font-size: 18px;
    margin-top: -3px;
    color: gray;
}

.mobile-nav-title:hover {
    background-color: #f9f9f9;
    color: #00477A;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background: #fcfcfc;
    padding-right: 15px;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
    margin: 0;
}

.mobile-submenu.active {
    max-height: 500px;
    /* padding-top: 15px;
    padding-bottom: 15px; */
}

.arrow-mobile-nav {
    transition: transform 0.3s ease;
}

.arrow-mobile-nav.rotate {
    transform: rotate(180deg);
}

.mobile-submenu li {
    list-style: none;
    padding: 8px 10px;
    font-size: 13px;
    border-bottom: 1px dashed #eee;
}

.mobile-submenu li a {
    text-decoration: none;
    color: #555;
}

.mobile-submenu li a:hover {
    color: #00477A;
}

.ai-div {
    background: #0094FF;
    height: fit-content;
    white-space: none;
    width: 150px;
    height: 25px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    rotate: -90deg;
    color: white;
}

@media (max-width: 1325px) {

    .header-box {
        justify-content: space-between;
    }

    .header-hamburger {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .desktop-menu {
        display: none;
    }
}

@media (max-width: 1130px) {
    .shoar-sal {
        width: 22%;
    }
}

@media (max-width: 600px) {
    .shoar-sal {
        width: 44%;
        height: 60px;
        top: 17%;
    }
}

/* .container-body-left{
        width: 17.9%;
    } */

@media (max-width: 1325px) {
    .nav-bala {
        justify-content: space-around;
        align-items: center;
    }

    .nav-bala-right {
        display: none;
    }

    .header-box {
        justify-content: space-between;
    }

    .header-hamburger {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .desktop-menu {
        display: none;
    }

}

@media (max-width: 927px) {
    .nav-bala-right {
        position: absolute;
        top: 50px;
        right: 4%;
        background: #FFFFFF;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        display: none;
        z-index: 1000;
    }

    .tamas,
    .dastresi,
    .ghavanin,
    .etelaat {
        border: none;
        padding: 10px 0;
        width: 100%;
        font-size: 14px;
    }
}

@media (max-width: 425px) {
    .nav-bala-left {
        width: 100%;
    }
}

.swiper-slide img {
    width: 100%;
}

/* .container-body-right {
        width: 80%;
    } */

.container-body-center2 {
    width: 20%;
    /* padding: 10px; */
}

@media (max-width:1200px) {
    .left {
        width: 400px;
        height: 360px;
        border-radius: 20px;
    }
}

@media (max-width:425px) {

    .nav-bala-left {
        width: 100%;
    }

    .icx-footer-wrap {
        flex-direction: column;
        gap: 10px;
    }

    .container-body-right {
        width: 100%;
        height: 200px;
        /* margin-top: -500px; */
    }
}

@media (max-width:375px) {
    .container-body-right {
        width: 100%;
        /* margin-top: -470px; */
    }
}

@media (max-width:320px) {
    .container-body-right {
        width: 100%;
        /* margin-top: -470px; */
    }
}


.widget-icon {
    width: 60px;
    height: 60px;
    background: skyblue;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.widget-icon:hover {
    width: 70px;
    height: 70px;
    box-shadow: 1px 1px 5px 5px #c2c2c2;
}

.widget-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.widget-icon img:hover {
    width: 50px;
    height: 50px;
}




/* chatbox style */


.chat-box {
    border-radius: 10px;
    width: 380px;
    height: 660px;
    background: none;
    margin: 20px auto;
    position: fixed;
    bottom: -1000px;
    left: 55px;
    transition: 0.5s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 15%);
    z-index: 999999999999999999999;
}

.chat-header {
    width: 100%;
    height: 80px;
    background: #79807f;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
}

.onvan-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.title-name {
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF;
}

.title-text {
    font-size: 12px;
    color: #FFFFFF;
    opacity: 0.8;
}

.header-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-right: 10px;
}

.header-img svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    color: white;
}

.header-close {
    background: rgb(0 0 0 / 10%);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 0 10px;
}

.header-close:hover {
    cursor: pointer;
    background: rgb(0 0 0 / 25%);
}

.header-close svg {
    width: 40px;
    height: 40px;
    color: white;
}

.chat-body {
    background: #f3f3f3 url(assets/images/bgchat.png);
    width: 100%;
    height: 528px;
}

.sadra {
    width: 100%;
    background: rgba(211, 211, 211, 0.400);
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    box-shadow: 0px 0px 5px 0.2px #c1c1c1;
    color: rgb(0, 0, 0, 30%);
    position: absolute;
    bottom: 55px;

}

.chat-footer {
    background: white;
    height: 52px;
    border-radius: 0 0 10px 10px;
}

.chat-footer form {
    display: flex;
}

.sanjagh input {
    display: none;
}

.chat-footer-right {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    height: 50px;
    gap: 5px;
    margin-right: 10px;
}

.mice {
    width: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 23px;
}

.mice svg {
    width: 100%;
    height: 100%;
}

.payam-footer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.payam-footer input {
    border: none;
    width: 88%;
    padding: 15px;
    outline: none;
}

.payamsvg svg {
    width: 20px;
    height: 20px;
}

.chat-footer-left {
    width: 10%;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.sanjagh {
    width: 20px;
    height: 23px;
}

.sanjagh label {
    cursor: pointer;
}

.sanjagh img {
    cursor: pointer;
}

.chat-box.active {
    bottom: 0px;
    visibility: visible;
    opacity: 1;
}

.send-container,
.recive-container {
    margin: 0 auto;
}

.send-box {
    width: 100%;
    color: #FFFFFF;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.send-box p {
    direction: ltr;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 350px;
    background: #2c7be6;
    padding: 20px;
    border-radius: 20px 20px 20px 5px;
    font-size: 13px;
    font-weight: 700;
    margin: 15px;
    box-shadow: 0px 0px 5px 1px #c1c1c1;

}

.send-mosalas {
    width: 0;
    height: 0;
    border-right: 1px solid #2c7be6;
    border-left: 12px solid transparent;
    border-bottom: 15px solid #2c7be6;
    /* border-radius: 2px; */
    position: absolute;
    bottom: 15px;
    left: 9px;
}

.recive-box {
    width: 100%;
    color: #444444;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.recive-box p {
    direction: ltr;
    max-width: 350px;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 20px 20px 5px 20px;
    font-size: 13px;
    font-weight: 700;
    margin: 15px;
    box-shadow: 0px 0px 5px 0.2px #c1c1c1;
}

.recive-mosalas {
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-left: 12px solid #FFFFFF;
    border-top: 15px solid transparent;
    /* border-radius: 2px; */
    position: absolute;
    bottom: 15px;
    right: 4px;
}

@media (max-width:768px) {
    .chat-box {
        /* top: -20px; */
        width: 100%;
        /* right: 0; */
        border-radius: 0 0 0 0;
    }

    .chat-header {
        border-radius: 0;
    }

    .chat-footer {
        border-radius: 0;
    }

    .chat-body {
        height: 94%;
    }

    .sadra {
        bottom: -40px;
    }
}


.search-middle {
    width: 500px;
    margin-top: 10px;
    max-height: calc(100% - 60px);
}

.search-middle-top input[type="text"] {
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px 8px 30px;
    border-radius: 6px;
    outline: none;
    border: none;
    background-color: white;
}

.search-middle-top {
    position: relative;
}

.search-middle-top svg {
    position: absolute;
    top: 3px;
    left: 3px;
}

.search-middle-bottom {
    background-color: white;
    padding: 16px;
    border-radius: 16px;
    margin-top: 10px;
}

.search-middle-bottom-child {
    padding: 50px 0;
}

.nav-bar-bottom {
    padding-top: 10px;
    border-top: 1px solid #e6e6e6;
}

.nav-item-new-mail {
    border: 1px solid rgb(250, 185, 64);
    transition: all 0.2s;
    height: 62px !important;
}

.nav-item-new-mail:hover {
    background-color: rgb(255, 235, 199);
    transition: all 0.2s;
}

.nav-item-new-mail svg {
    background-color: rgb(255, 235, 199);
    border-radius: 8px;
}

.remove-border {
    border: none !important;
}


.nav-item-new-mail.remove-border:hover {
    background-color: transparent;
    transition: all 0.2s;
}

.sidebar-extended {
    width: 216px;
    height: 100%;
    padding: 0 0 6px 0;
    border-left: 1px solid #e6e6e6;
    transition: width 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-extended-top {
    margin-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
}

.sidebar-extended-pages {
    display: flex;
    flex-direction: column;
    padding: .5rem;
    font-size: 13px;
    font-weight: 450;
}

.sidebar-extended-pages-link {
    padding: 4px 8px 4px 8px;
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    width: 100%;
    min-height: 32px;
    display: flex;
    align-items: center;
    min-width: 0;
    position: relative;
}

.sidebar-extended-pages-link-active {
    background-color: #119e9923 !important;
    position: relative;
    padding-right: 20px;
}

.sidebar-extended-pages-link-active::before {
    content: "";
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 8px;
    background-color: #119e99;
}

.sidebar-extended-pages-link:hover {
    background-color: #8080802b;
    transition: all 0.2s;
}

.sidebar-extended-pages-link-item {
    padding: 4px 8px 4px 8px;
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    width: 100%;
    min-height: 32px;
    display: flex;
    align-items: center;
    min-width: 0;
    position: relative;
    padding-right: 20px !important;
}

.sidebar-extended-pages-link-item-active {
    background-color: #119e9923 !important;
    position: relative;
    padding-right: 20px;
}

.sidebar-extended-pages-link-item-active::before {
    content: "";
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 8px;
    background-color: #119e99;
}

.sidebar-extended-pages-link-item:hover {
    background-color: #8080802b;
    transition: all 0.2s;
}

.chat-extra-options {
    position: absolute;
    font-size: 26px;
    border: none;
    background-color: transparent;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: fit-content;
    width: fit-content;
    padding: 2px;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.2s;
}

.chat-extra-options:hover {
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    transition: all 0.2s;
}

.chat-extra-options svg {
    height: 20px;
    width: 20px;
}

.sidebar-extended-pages-link-active {
    background-color: #119e9923 !important;
    position: relative;
    padding-right: 20px;
}

.sidebar-extended-pages-link-active::before {
    content: "";
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 8px;
    background-color: #119e99;
}

.sidebar-extended-pages-link:hover {
    background-color: #8080802b;
    transition: all 0.2s;
}

.sidebar-extended-pages-link:hover .chat-extra-options {
    opacity: 1;
}

.welcome-box-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.welcome-box {
    width: 900px;
    height: 525px;
    overflow: hidden;
    padding: 8px;
    border-radius: 8px;
    background-color: #DEF2F1;
    gap: 8px;
    display: flex;
}

.welcome-box-right {
    width: 30%;
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: start;
    justify-content: space-between;
    background-color: rgb(255, 255, 255);
    gap: 8px;
    border-radius: 8px;
    padding: 8px 8px 16px;
    overflow: hidden;
    height: 100%;
}

.welcome-box-left {
    width: 70%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    padding: 16px;
}

.right-back-button-container {
    width: 100%;
    min-height: 40px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: start;
    justify-content: flex-start;
}

.right-back-button {
    padding: 10px;
    border-radius: 50%;
    transition: all 0.2s;
}

.right-back-button svg {
    height: 20px !important;
    width: 20px !important;
}

.right-back-button:hover {
    background-color: rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
    cursor: pointer;
}

.right-back-button-copy {
    color: #119e99;
}

.right-desc-img {
    height: 50px;
    width: 90px;
}

.right-desc-img img {
    width: 100%;
    height: 100%;
}

.right-desc {
    width: 100%;
    gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.right-desc-1 {
    font-size: 15px;
    font-weight: 700;
    color: #3c454f;
}

.right-desc-2 {
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
}

.right-skip-steps {
    color: #119e99;
    cursor: pointer;
    flex-direction: column;
}

.left-select-items {
    border: 1px solid rgb(211, 207, 215);
    border-radius: 12px;
    padding: 8px 16px;
    width: 100%;
    display: flex;
    transition: all 0.2s;
    cursor: pointer;
    margin-bottom: 10px;
}

.left-select-items-right {
    margin-left: 8px;
}

.left-next-button {
    position: absolute;
    bottom: 20px;
    left: 16px;
    padding: 6px 20px;
    background-color: rgb(250, 185, 64) !important;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    text-decoration: none;
}

.left-back-button {
    position: absolute;
    bottom: 20px;
    left: 16px;
    padding: 6px 20px;
    border: 1px solid rgb(250, 185, 64);
    color: rgb(250, 185, 64);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

#nextBtn {
    position: absolute;
    bottom: 10px;
    left: 16px;
    padding: 6px 20px;
    background-color: rgba(250, 185, 64, 0.396);
    border: 1px solid rgba(250, 185, 64, 0.396);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

#backBtn {
    position: absolute;
    bottom: 10px;
    left: 95px;
    padding: 6px 20px;
    border: 1px solid rgb(250, 185, 64);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    color: rgb(250, 185, 64);
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.next-button-container {
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2 ease-in-out;
}

.left-select-items:hover {
    border-color: #119e99;
    transition: all 0.2s;
}

.left-select-items input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #119e99;
    cursor: pointer;
}

.left-select-items:has(input[type="radio"]:checked) {
    border-color: #119e99;
    box-shadow: 0 0 5px rgba(17, 158, 153, 0.25);
    transition: all 0.2s;
}

.left-select-items input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #119e99;
    cursor: pointer;
}

.left-select-items:has(input[type="checkbox"]:checked) {
    border-color: #119e99;
    box-shadow: 0 0 5px rgba(17, 158, 153, 0.25);
    transition: all 0.2s;
}

.welcome-join-company-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.welcome-join-company-parent {
    border: 1px solid rgb(211, 207, 215);
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.welcome-join-company-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.new-top-logo {
    display: flex;
    width: 100%;
    gap: 10px;
}

.new-top-logo-right {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(#119e999c, rgba(250, 185, 64, 0.621) 67%);
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    color: rgb(255, 255, 255);
}

.new-top-logo-left {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.new-top-logo-left input[type="file"] {
    display: none;
}

.new-top-logo-left label {
    padding: 10px 14px;
    border: 1px solid rgb(250, 185, 64);
    color: rgb(250, 185, 64);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.new-top-logo-left label:hover {
    background-color: rgba(250, 185, 64, 0.104);
    transition: all 0.2s;
}

.new-top-logo-left label span {
    font-weight: bold;
}

.new-top-logo-left .file-info {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.new-top-logo-left .file-info span {
    display: block;
    margin: 6px 0;
    font-weight: normal;
    font-size: 0.75rem;
}

.new-middle {
    width: 100%;
    font-size: 14px;
}

.new-middle-item {
    width: 100%;
    /* padding: 0 10px; */
    position: relative;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.new-middle-item input {
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.219);
    z-index: 10;
    position: relative;
    transition: all 0.2s;
    font-size: 16px;
}

.new-middle-item input:focus {
    border: 1px solid #119e99 !important;
    transition: all 0.2s;
    outline: none;
}

.new-middle-item input:focus~.input-label-text {
    top: -11px;
    transition: all 0.2s;
    z-index: 11;
    color: #119e99;
    font-size: 12px;
}

.new-middle-item input:valid~.input-label-text {
    top: -11px;
    z-index: 11;
    font-size: 12px;
}

.new-middle-item input:hover {
    border: 1px solid rgba(0, 0, 0, 0.57);
    transition: all 0.2s;
}








.new-middle-item select {
    width: 100%;
    height: 100% !important;
    padding: 10px 20px;
    background: transparent;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.219);
    z-index: 10;
    position: relative;
    transition: all 0.2s;
    font-size: 15px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.new-middle-item select:focus {
    border: 1px solid #119e99 !important;
    transition: all 0.2s;
    outline: none;
}

.new-middle-item select:focus~.input-label-text {
    transition: all 0.2s;
    color: #119e99;
}

.new-middle-item input:focus~.input-label-text {
    top: -11px;
    transition: all 0.2s;
    z-index: 11;
    color: #119e99;
    font-size: 12px;
}

.new-middle-item input:valid~.input-label-text {
    top: -11px;
    z-index: 11;
    font-size: 12px;
}

.top-text-select {
    height: 100%;
    width: 100%;
}

.top-text-select .input-label-text {
    top: -11px;
    z-index: 11;
    font-size: 12px;
}


.new-middle-item select:hover {
    border: 1px solid rgba(0, 0, 0, 0.57);
    transition: all 0.2s;
}

/* .select-chev svg {
    transition: all 0.1s;
}

.select-chev:focus-within svg {
    transform: rotate(180deg);
    transition: all 0.1s;
} */



#panelOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 9999;
}

#panelOverlay.active {
    opacity: 1;
    visibility: visible;
}

#panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 60%;
    background: #f9fafb;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
    transition: bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1), height 0.3s ease;
    display: flex;
    flex-direction: column;
    touch-action: none;
    z-index: 10000;
    direction: ltr;
}

#panel.open {
    bottom: 0;
}

#handle {
    width: 100px;
    height: 6px;
    background: #ccc;
    border-radius: 3px;
    margin: 12px auto 4px;
    cursor: grab;
}

#panelClose {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 6%);
    border-radius: 50%;
    color: #555;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

#panelClose:hover {
    background: rgb(0 0 0 / 14%);
    transform: rotate(90deg);
}

#panel .content {
    flex: 1;
    overflow: hidden;
    padding: 0 16px 16px;
    display: contents;
    direction: ltr;
}

.satna-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: inherit;
}

.satna-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 4px 14px;
    border-bottom: 1px solid #eef1f4;
}

.satna-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #17b7a6, #0d8f82);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 143, 130, 0.35);
}

.satna-title-wrap {
    display: flex;
    flex-direction: column;
}

.satna-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e1e1e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.satna-online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.satna-status {
    font-size: 12px;
    color: #8a8a8a;
    margin-top: 2px;
}

.satna-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 2px;
    background: radial-gradient(circle at 100% 0%, #f3fbfa 0%, #ffffff 55%);
}

.satna-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}

.satna-msg-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #17b7a6, #0d8f82);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.satna-bubble {
    background: #eef8f7;
    border: 1px solid #dcf1ee;
    color: #333;
    font-size: 14px;
    line-height: 1.9;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    max-width: 88%;
}

.satna-chat-input {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eef8f7;
    border: 1px solid #dcf1ee;
    border-radius: 18px;
    padding: 8px 10px;
    margin-top: 8px;
}

.satna-chat-input input {
    flex: 1;
    border: none;
    outline: none;
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
}

.satna-chat-input input::placeholder {
    color: #a9a9a9;
}

.satna-icon-btn {
    border: none;
    background: transparent;
    color: #6b7280;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.satna-icon-btn:hover {
    background: rgba(13, 143, 130, 0.12);
    color: #0d8f82;
}

.satna-send-btn {
    border: none;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #17b7a6, #0d8f82);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(13, 143, 130, 0.35);
    transition: transform 0.2s ease;
}

.satna-send-btn:hover {
    transform: scale(1.08);
}

#panel.expanded {
    bottom: 0;
    height: 100%;
}



/* ============ Layout Grid ============ */
.cb2-wrapper {
    width: 92.5%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 8px;
    align-items: start;
}

/* ============ Shared Card ============ */
.cb2-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
    transition: box-shadow .35s ease, transform .35s ease;
    border: 1px solid rgba(15, 62, 145, .05);
}

.cb2-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 20px;
    background: #2648b2;
    position: relative;
}

.cb2-card-head::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 60px at 90% 0%, rgba(255, 255, 255, .18), transparent 60%);
    pointer-events: none;
}

.cb2-card-head i {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .16);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
}

.cb2-card-head h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;
}

/* ============ LEFT COLUMN: Newsletter + Gallery ============ */
.cb2-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-body {
    padding: 0px 20px 10px 20px;
}

.newsletter-body p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 2;
    text-align: justify;
}

.nl-field {
    position: relative;
    margin-bottom: 10px;
}

.nl-field i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #9FB3CC;
    font-size: 13px;
}

.nl-field input {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #F7FAFD;
    padding: 0 5px 0 5px;
    font-size: 13px;
    color: var(--ink);
    outline: none;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.nl-field input::placeholder {
    color: #B3C0D1;
}

.nl-field input:focus {
    border-color: var(--blue-2);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(45, 156, 219, .14);
}

.nl-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF8A3D, #FF6B00);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(15, 62, 145, .25);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.nl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(15, 62, 145, .32);
    filter: brightness(1.05);
}

.nl-btn i {
    font-size: 12px;
}

/* Gallery card — static single image, no slider */
.gallery-card-body {
    position: relative;
}

.gallery-img-wrap {
    position: relative;
    height: 219px;
    overflow: hidden;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
    transform: scale(1.2);
}

/* .gallery-card:hover .gallery-img-wrap img{
    transform:scale(1.05);
  } */

/* ============ CENTER COLUMN: News/Announcements ============ */
.cb2-center {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
    border: 1px solid rgba(15, 62, 145, .05);
    display: flex;
    flex-direction: column;
}

.news-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 22px;
    border-bottom: 1px solid var(--line);
}

.news-tabs2 {
    display: inline-flex;
    background: #F1F5FA;
    padding: 5px;
    border-radius: 14px;
    gap: 4px;
    position: relative;
}

.news-tab-btn {
    border: none;
    background: transparent;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color .3s ease;
    white-space: nowrap;
}

.news-tab-btn.active {
    color: #fff;
}

.news-tab-slider {
    position: absolute;
    top: 5px;
    left: -4px;
    height: calc(100% - 10px);
    width: 120px;
    background: linear-gradient(120deg, var(--navy), var(--blue));
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(15, 62, 145, .28);
    transition: left .35s cubic-bezier(.4, 0, .2, 1), width .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 1;
}

.news-count-pill {
    font-size: 11.5px;
    color: rgb(255, 138, 61);
    background: var(--blue-soft);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-count-pill i {
    font-size: 9px;
}

.news-list2 {
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 400px;
    overflow-y: auto;
}

.news-list2::-webkit-scrollbar {
    width: 5px;
}

.news-list2::-webkit-scrollbar-thumb {
    background: #D7E3F0;
    border-radius: 10px;
}

.news-card2 {
    display: flex;
    gap: 16px;
    border-radius: 16px;
    padding: 12px;
    position: relative;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.news-card2:hover {
    background: #F8FAFD;
    border-color: var(--line);
    transform: translateX(-4px);
    box-shadow: 0 12px 24px rgba(15, 62, 145, .08);
}

.news-card2 .thumb {
    width: 110px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.news-card2 .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card2:hover .thumb img {
    transform: scale(1.1);
}

.news-card2 .thumb .cat-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 71, 122, .85);
    color: #fff;
    font-size: 9.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(2px);
}

.news-card2 .content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card2 .content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.news-card2 .content p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card2 .meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #9AA9BC;
}

.news-card2 .meta i {
    font-size: 10px;
    color: var(--blue-2);
}

.news-card2 .go-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(6px);
    transition: .3s ease;
    font-size: 12px;
}

.news-card2:hover .go-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--navy);
    color: #fff;
}

.news-footer2 {
    padding: 16px 22px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: center;
}

.news-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    padding: 9px 20px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    transition: .25s ease;
}

.news-more-btn:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* ============ RIGHT COLUMN: Links ============ */
.cb2-right {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
    border: 1px solid rgba(15, 62, 145, .05);
}

.links-body {
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-item {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    height: 86px;
    box-shadow: 0 3px 10px rgba(15, 62, 145, .07);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), box-shadow .35s ease;
}

.link-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease, filter .5s ease;
}

.link-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
}

.link-item:hover img {
    transform: scale(1.06);
}

.link-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(15, 62, 145, .08);
    pointer-events: none;
}

/* ============ Responsive ============ */
@media (max-width:1180px) {
    .cb2-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .cb2-right {
        grid-column: span 2;
    }
}

@media (max-width:820px) {
    .cb2-wrapper {
        grid-template-columns: 1fr;
    }

    .cb2-right {
        grid-column: span 1;
    }

    .news-card2 .thumb {
        width: 88px;
        height: 74px;
    }
}

@media (max-width:480px) {
    .news-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-tabs2 {
        width: 100%;
    }

    .news-tab-btn {
        flex: 1;
    }

    .news-count-pill {
        align-self: flex-end;
    }
}

:root {
    --navy: #0095ff;
    --navy-deep: #003057;
    --blue: #0F3E91;
    --blue-2: #2D9CDB;
    --blue-soft: #EAF2FB;
    --ink: #1F2937;
    --muted: #6B7A8D;
    --line: #E7EDF4;
    --bg: #EEF2F7;
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-1: 0 10px 30px rgba(15, 62, 145, .08);
    --shadow-2: 0 18px 45px rgba(15, 62, 145, .14);
}

/* ---------- دکمه‌ی «نصب اپلیکیشن» — پیل شیشه‌ای هم‌رده با دکمه‌ی AI ---------- */
.install-app-menu-item {
    margin-right: 4px;
}

.install-app-menu-item>.rast {
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #2FA9E0, #0D6FB8);
    border-radius: 12px;
    padding: 4px 6px;
    box-shadow: 0 4px 14px rgba(13, 111, 184, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.install-app-menu-item:hover>.rast {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 111, 184, 0.45);
}

.install-app-menu-item .immg {
    display: none;
}

.install-app-menu-item>.rast>a {
    color: #fff !important;
    padding: 6px 2px;
    font-weight: 700;
}

.install-app-menu-item:hover>a {
    color: #fff;
}

.install-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 12px;
    white-space: nowrap;
}

.install-badge svg {
    width: 11px;
    height: 11px;
    animation: installPulse 2.4s ease-in-out infinite;
}

@keyframes installPulse {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(-1.5px);
        opacity: .75;
    }
}

/* ---------- مودال نصب اپلیکیشن ---------- */
.install-app-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.install-app-overlay.open {
    opacity: 1;
    visibility: visible;
}

.install-app-modal {
    position: relative;
    width: 100%;
    max-width: 340px;
    background: #fff;
    border-radius: 22px;
    padding: 28px 26px 26px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.install-app-overlay.open .install-app-modal {
    transform: translateY(0) scale(1);
}

.install-app-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f2f4f7;
    color: #4b5563;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.install-app-close:hover {
    background: #e5e8ec;
    transform: rotate(90deg);
}

.install-app-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 18px;
}

.install-app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00609c, #00477A);
    color: #fff;
}

.install-app-brand-text {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.install-app-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 18px;
}

.install-app-qr-box {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 18px;
    background: #f7f9fb;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 9px 9px #e7f1ee;
}

.install-app-qr-box img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 8px;
    display: block;
}

.install-app-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.9;
    margin: 0 0 18px;
}

.install-app-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: #9ca3af;
    font-size: 12px;
}

.install-app-divider::before,
.install-app-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.install-app-copy-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.install-app-copy-btn:hover {
    background: #f7f9fb;
    border-color: #d1d5db;
}

.install-app-copy-btn.copied {
    background: #ecfdf5;
    border-color: #34d399;
    color: #059669;
}

@media (max-width: 420px) {
    .install-app-modal {
        padding: 24px 18px 20px;
    }
}

.container-modiran {
    width: 92%;
    margin: 0px auto;
}

/* ---------- هدر بخش ---------- */
.modiran-head {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.modiran-head-text {
    text-align: center;
    max-width: 640px;
}

.modiran-eyebrow {
    display: inline-block;
    color: #9CA3AF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modiran-head .title {
    margin: 0 0 10px;
}

.modiran-sub {
    font-size: 13.5px;
    color: #9CA3AF;
    line-height: 1.9;
    margin: 0 0 6px;
}

/* ---------- نوار تب‌ها (مینیمال، بدون قاب) ---------- */
.manager-tabs {
    position: relative;
    display: flex;
    gap: 30px;
    margin: 30px 0 46px;
    width: 100%;
    justify-content: center;
    /* flex-wrap: wrap; */
}

.tab-indicator-bg {
    display: none;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 0 12px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    color: #9CA3AF;
    transition: color .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.tab-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: .65;
    transition: opacity .2s ease;
}

.tab-btn:hover {
    color: #111827;
}

.tab-btn.active {
    color: #111827;
    font-weight: 700;
    border-bottom-color: #111827;
}

.tab-btn.active svg {
    opacity: 1;
}

/* ---------- محتوای تب‌ها ---------- */
/* 

.tab-content.active {
    display: block;
}




.card1 {
    background: transparent;
    border: none;
    border-top: 1px solid #eef0f2;
    text-align: center;
    width: 100%;
    height: auto;
    justify-content: flex-start;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 28px 6px 24px;
    transition: opacity .2s ease;
}

.card1:hover {
    opacity: .82;
}

.card1-bala {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    gap: 14px;
    width: 100%;
}

.cart1-onvan {
    white-space: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.cart1-p-class {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12.5px;
    font-weight: 500;
    margin-right: 0;
    max-width: 210px;
}

/* ===== محتوای کارت ===== */


.tab-content {
    display: none;
    width: 100%;
    animation: fade .35s;
}

.manager-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 28px;
    width: 100%;
}

.card1 img {
    border: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.cart1-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f5f7;
    color: #9CA3AF;
    border: none;
}

.cart1-avatar svg {
    width: 32px;
    height: 32px;
}

.card1 h3 {
    font-size: 14.5px;
    color: #111827;
    font-weight: 700;
    margin: 0;
}

.badge {
    display: inline-block;
    background: transparent;
    color: #9CA3AF;
    padding: 0;
    border-radius: 0;
    font-size: 11.5px;
    font-weight: 500;
    border: none;
}

.card1 p {
    font-size: 12px;
    font-weight: 400;
    color: #9CA3AF;
    line-height: 1.8;
    margin: 2px 0 4px;
}

.buttons {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    margin-right: 0;
    margin-top: 6px;
    gap: 18px;
}

.buttons button {
    border: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    flex: none;
    color: #6B7280;
    transition: color .2s ease;
}

.buttons .btn-solid {
    color: #111827;
}

.buttons .btn-solid:hover {
    color: #000;
}

.buttons .btn-outline {
    color: #9CA3AF;
}

.buttons .btn-outline:hover {
    color: #111827;
}

/* ---------- کارت «مشاهده بیشتر» ---------- */
.more-card {
    border: none;
    border-top: 1px solid #eef0f2;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity .2s ease;
    background: transparent;
    min-height: 100%;
    padding: 28px 6px 24px;
}

.more-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.more-card i {
    font-size: 22px;
    margin-bottom: 10px;
    color: #9CA3AF;
}

.more-card h3 {
    font-size: 13.5px;
    color: #111827;
    font-weight: 700;
    margin: 0 0 4px;
}

.more-card p {
    font-size: 12px;
    color: #9CA3AF;
    margin: 0;
}

.more-card:hover {
    opacity: .6;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:1200px) {
    .manager-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:768px) {
    .manager-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .manager-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        /* flex-wrap: nowrap;21 */
        gap: 22px;
    }
}

@media(max-width:500px) {
    .manager-grid {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        font-size: 13px;
    }
}

*/

/* =======================================================================
   LTR support (English version) — overrides explicit RTL declarations.
   The Persian/Arabic versions are unaffected (they don't set dir="ltr").
   ======================================================================= */
html[dir="ltr"] body {
    direction: ltr;
}

html[dir="ltr"] .section2-samane p,
html[dir="ltr"] .x9z-portal-wrapper,
html[dir="ltr"] .f1-foote ul,
html[dir="ltr"] .f2-foote ul,
html[dir="ltr"] .f3-foote ul,
html[dir="ltr"] .bottom-top-footer>div,
html[dir="ltr"] .icx-footer-root,
html[dir="ltr"] .tabs-container {
    direction: ltr;
}

html[dir="ltr"] .install-app-title,
html[dir="ltr"] .satna-name,
html[dir="ltr"] .satna-status,
html[dir="ltr"] .box,
html[dir="ltr"] .bottom-top-footer h3,
html[dir="ltr"] .email-input input {
    text-align: left;
}

/* ================== English (LTR) overrides ==================
   The layout is authored RTL-first with several explicit
   `direction: rtl` / `text-align: right` rules. These selectors
   mirror them for the English build without touching the
   Persian/Arabic (RTL) experience at all. ================== */
html[dir="ltr"] body {
    direction: ltr;
}

html[dir="ltr"] .section2-samane p,
html[dir="ltr"] .x9z-portal-wrapper,
html[dir="ltr"] .f1-foote ul,
html[dir="ltr"] .f2-foote ul,
html[dir="ltr"] .f3-foote ul,
html[dir="ltr"] .bottom-top-footer>div,
html[dir="ltr"] .icx-footer-root,
html[dir="ltr"] .tabs-container {
    direction: ltr;
}

html[dir="ltr"] .box,
html[dir="ltr"] .bottom-top-footer h3,
html[dir="ltr"] .email-input input {
    text-align: left;
}

/* ================== صفحه «آشنایی با شهرستان» ================== */
.county-page {
    max-width: 1265px;
    margin: 28px auto 56px;
    padding: 0 16px;
}

.county-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy-deep) 100%);
    border-radius: 15px;
    padding: 34px 36px;
    color: #fff;
    box-shadow: var(--shadow-2);
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
}

.county-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% -10%, rgba(45, 156, 219, .45), transparent 55%);
    pointer-events: none;
}

.county-hero .breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.county-hero .breadcrumb a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.county-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.county-hero h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}

.county-hero p {
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
    max-width: 640px;
    line-height: 1.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.county-video-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-1);
    padding: 18px;
    margin-bottom: 26px;
}

.county-video-card .video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0b1c33;
}

.county-video-card video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #0b1c33;
}

.county-video-card .video-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.county-video-card .video-caption h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.county-video-card .video-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
}

.county-video-card .video-tag svg {
    width: 13px;
    height: 13px;
}

.county-desc-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-1);
    padding: 30px 32px;
}

.county-desc-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.county-desc-card h2::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--blue-2), var(--blue));
    display: inline-block;
}

.county-desc-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 2.1;
    margin: 0 0 16px;
}

.county-desc-card p:last-child {
    margin-bottom: 0;
}

.county-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 24px 0 28px;
}

.county-stat {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    padding: 18px 14px;
    text-align: center;
}

.county-stat .num {
    font-size: 20px;
    font-weight: 800;
    color: var(--blue);
    display: block;
    margin-bottom: 4px;
}

.county-stat .lbl {
    font-size: 12.5px;
    color: var(--muted);
}

@media (max-width: 760px) {
    .county-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .county-hero h1 {
        font-size: 22px;
    }

    .county-desc-card {
        padding: 22px 18px;
    }
}

/* ======================================================================
   ری‌استایل «مدیران ستادی» — تب‌ها + کارت‌های پروفایل
   این بلوک رو انتهای style.css اضافه کن (باید از قوانین قبلی .manager-tabs
   و .card1 پایین‌تر باشه تا override بشه). به --blue / --blue-2 / --navy-deep
   و بقیه‌ی متغیرهای :root همون فایل وابسته‌ست، پس چیز اضافه‌ای لازم نداره.
   ====================================================================== */

/* ---------- نوار تب‌ها ---------- */
.manager-tabs {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(15, 62, 145, .06);
    margin-bottom: 28px;
    width: fit-content;
    max-width: 100%;
}

.tab-indicator-bg {
    display: none;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .2s ease;
}

.tab-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    transition: transform .25s ease;
}

.tab-btn:hover {
    color: var(--blue);
    background: var(--blue-soft);
}

.tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue-2), var(--blue) 70%);
    box-shadow: 0 10px 22px rgba(15, 62, 145, .28);
}

.tab-btn.active svg {
    transform: scale(1.05);
}

/* ---------- گرید کارت‌ها ---------- */
.manager-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 20px;
}

@media (max-width: 500px) {
    .manager-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- کارت مدیر ---------- */
.card1 {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow-1);
    padding: 15px 10px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card1:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.card1:hover::before {
    opacity: 1;
}

.card1-bala {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
}

.cart1-img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--blue-2), var(--blue));
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(15, 62, 145, .18);
}

.cart1-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    display: block;
}

.cart1-onvan h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 8px;
}

.cart1-onvan .badge {
    display: inline-flex;
    align-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.cart1-p-class {
    flex: 1;
    margin-bottom: 18px;
}

.cart1-p-class p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
    margin: 0;
}

/* ---------- دکمه‌ها ---------- */
.card1 .buttons {
    display: flex;
    gap: 8px;
}

.card1 .buttons button {
    flex: 1;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .25s ease, color .25s ease;
}

.card1 .btn-outline {
    background: #fff;
    color: var(--blue);
    border: 1.5px solid var(--line);
}

.card1 .btn-outline:hover {
    border-color: var(--blue-2);
    background: var(--blue-soft);
}

.card1 .btn-solid {
    background: var(--blue);
    color: #fff;
    border: none;
    box-shadow: 0 8px 18px rgba(15, 62, 145, .22);
}

.card1 .btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 62, 145, .3);
}

/* ---------- کارت «مشاهده بیشتر» ---------- */
.more-card {
    background: linear-gradient(160deg, var(--blue-soft), #fff);
    border: 1.5px dashed var(--blue-2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px 20px;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease, border-style .3s ease;
}

.more-card:hover {
    transform: translateY(-6px);
    border-style: solid;
    box-shadow: var(--shadow-2);
}

.more-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.more-card i,
.more-card svg {
    width: 34px;
    height: 34px;
    color: var(--blue);
}

.more-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
}

.more-card p {
    font-size: 12.5px;
    color: var(--muted);
    margin: 0;
}


@media (max-width:700px) {
    .imageeee{
        display: none;
    }

    .nav-bala{
        margin-bottom: 40px;
        justify-content: space-between;
    }
    
    .nav-bala-left{
        width: 98%;
        justify-content: space-between;
        margin-inline: auto;
        padding-right: 10px;
    }
}
/* ==========================================================================
   منوی همبرگری ریسپانسیو (بازطراحی کامل) — Mobile Hamburger Menu
   ========================================================================== */

.mm-no-scroll {
    overflow: hidden !important;
}

.mm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13, 23, 42, .5);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 1000;
}

.mm-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(420px, 90vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 1001;
    transition: right .38s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -18px 0 45px rgba(15, 23, 42, .18);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    padding: 0;
    display: flex;
    flex-direction: column;
    direction: rtl;
    font-family: 'vazirmatn', sans-serif;
}

.mobile-menu-overlay.active {
    right: 0;
}

/* ---------- نوار بالای منو ---------- */
.mm-topbar {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line, #E7EDF4);
}

.mm-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mm-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.mm-brand-text {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blue, #0F3E91);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.close-mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: #f1f4f9;
    color: #4b5768;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.close-mobile-menu:hover {
    background: #fde8e8;
    color: #d33;
    transform: rotate(90deg);
}


/* ---------- بدنه ناوبری ---------- */
.mm-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px 34px;
}

.mm-link,
.mm-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 12px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #26313f;
    text-decoration: none;
    cursor: pointer;
    text-align: right;
    transition: background .2s ease, color .2s ease;
}

.mm-link:hover,
.mm-link:active,
.mm-trigger:hover {
    background: var(--blue-soft, #EAF2FB);
    color: var(--blue, #0F3E91);
}

.mm-link-icon,
.mm-trigger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--blue, #0F3E91);
    opacity: .85;
}

.mm-link-icon svg,
.mm-trigger-icon svg {
    width: 100%;
    height: 100%;
}

.mm-link-text,
.mm-trigger-text {
    flex: 1;
    min-width: 0;
}

.mm-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #97a2b3;
    transition: transform .28s ease, color .2s ease;
}

.mm-item.is-open > .mm-trigger {
    background: var(--blue-soft, #EAF2FB);
    color: var(--blue, #0F3E91);
}

.mm-item.is-open > .mm-trigger .mm-chevron {
    transform: rotate(180deg);
    color: var(--blue, #0F3E91);
}

/* ---------- پنل آکاردئونی (بدون نیاز به محاسبه ارتفاع در JS) ---------- */
.mm-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.mm-item.is-open > .mm-panel {
    grid-template-rows: 1fr;
}

.mm-panel-inner {
    overflow: hidden;
    min-height: 0;
}

/* ---------- سطح دوم (دسته‌های زیرمجموعه‌ی خدمات) ---------- */
.mm-item--sub {
    margin: 1px 0;
}

.mm-trigger--sub {
    font-size: 13.5px;
    font-weight: 600;
    padding: 12px 10px;
    color: #3b4657;
}

.mm-item--sub > .mm-panel > .mm-panel-inner {
    padding: 2px 0 6px 0;
    margin-right: 10px;
    padding-right: 14px;
    border-right: 2px solid var(--line, #E7EDF4);
}

/* ---------- سطح سوم (زیردسته‌های شرح وظایف واحدها) ---------- */
.mm-item--sub2 {
    margin: 1px 0;
}

.mm-trigger--sub2 {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 8px;
    color: #4b5768;
}

.mm-item--sub2 > .mm-panel > .mm-panel-inner {
    padding: 2px 0 4px 0;
    margin-right: 8px;
    padding-right: 12px;
    border-right: 2px dashed var(--line, #E7EDF4);
}

/* ---------- فهرست لینک‌های پایانی ---------- */
.mm-list {
    list-style: none;
    margin: 0;
    padding: 2px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mm-list li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #4a5568;
    font-size: 12.8px;
    font-weight: 500;
    line-height: 1.5;
    transition: background .2s ease, color .2s ease;
}

.mm-list li a::before {
    content: '';
    width: 5px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blue-2, #2D9CDB);
    opacity: .75;
}

.mm-list li a:hover,
.mm-list li a:active {
    background: #f2f6fb;
    color: var(--blue, #0F3E91);
}

/* ---------- آیتم ویژه‌ی هوش مصنوعی ---------- */
.mm-link--ai {
    margin-top: 10px;
    background: linear-gradient(135deg, #FF8A3D, #FF6B00);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 107, 0, .28);
}

.mm-link--ai .mm-link-icon {
    color: #fff;
    opacity: 1;
}

.mm-link--ai:hover {
    background: linear-gradient(135deg, #FF7A24, #F25C00);
    color: #fff;
    transform: translateY(-1px);
}

.mm-ai-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, .28);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 3px 9px;
    border-radius: 999px;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 380px) {
    .mobile-menu-overlay {
        width: 100vw;
    }
}