/*====================================
-------------- Fonts -----------------
====================================*/
@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/IRANSansXFaNum-Bold.woff') format('woff'),
    url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IRANSansXFaNum-Regular.woff') format('woff'),
    url('../fonts/IRANSansXFaNum-Regular.woff2') format('woff2');
}

/*====================================
------------- General ----------------
====================================*/
* {
    transition: all .3s;
}

.ltr {
    direction: ltr;
}

header {
    padding: 16px 8px;
    position: sticky;
    top: 0;
    z-index: 10000; /* بالاتر از مگامنو/محتوا */
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

section a:hover {
    background: #0c3148;
}

footer #footer-download-app a:hover,
footer #social-media a:hover {
    color: #0C3148;
    background: #fff;
}

header img.header-logo {
}

header nav ul {
}

header nav ul li {
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

/* آیکون فلش */
header nav ul li.menu-item-has-children:after,
header nav ul li.has-mega:after,
header nav ul li.has-submenu:after {
    font-family: "Font Awesome 7 Pro";
    content: '\f107';
    vertical-align: middle;
    margin-right: 5px;
    color: #7e88a6;
    transition: transform .35s ease;
    position: absolute;
    left: -20px;
    top: 0;
}

.mega-direct-link {
    font-size: 14px !important;
    padding: 14px 16px !important;
    color: #374151 !important;
}
/* ==============================
   زیرمنوی جدید — حرفه‌ای + انیمیشنی
   ============================== */

/* فقط زیرمنوهای معمولی (نه مگامنو) */
header nav > ul > li:not(.has-mega) > ul {
    position: absolute;
    right: 0;
    top: 30px;
    width: 200px;

    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 14px;
    padding: 12px 0;
    border: 1px solid rgba(255, 255, 255, 0.45);

    box-shadow: 0 0 10px rgba(61, 119, 255, 0.15),
    0 10px 25px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);

    transition: all .45s cubic-bezier(.3, 1.3, .3, 1);
    z-index: 999;
}

header nav > ul > li:not(.has-mega):hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* چرخش فلش */
header nav ul li.menu-item-has-children:hover:after {
    transform: rotate(180deg);
}

header nav ul li.has-mega.is-open:after {
    transform: rotate(180deg);
}

/* آیتم‌های زیرمنو */
header nav ul li:not(.has-mega) > ul > li {
    display: block;
    opacity: 0;
    transform: translateY(10px);
    animation: submenuItem .5s ease forwards;
}

/* انیمیشن آیتم‌ها — Stagger */
header nav ul li ul li:nth-child(1) {
    animation-delay: .1s;
}

header nav ul li ul li:nth-child(2) {
    animation-delay: .18s;
}

header nav ul li ul li:nth-child(3) {
    animation-delay: .26s;
}

header nav ul li ul li:nth-child(4) {
    animation-delay: .34s;
}

@keyframes submenuItem {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* لینک‌های زیرمنو */
header nav ul li:not(.has-mega) > ul > li a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: #222;
    position: relative;
    overflow: hidden;
    transition: color .25s ease;
}

footer #footer-top #fast-access li a,
footer #footer-top #products li a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    transition: color .25s ease;
}

/* خط زیبای انیمیشنی زیر آیتم */
header nav ul li ul li a:after,
footer #footer-top li a:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, rgb(12 49 72), rgb(89 103 150));
    transition: all .35s ease;
}

header nav ul li ul li a:hover {
    color: rgb(12 49 72);
}

header nav ul li ul li a:hover:after,
footer #footer-top li a:hover:after {
    width: 100%;
    right: 0;
}

header #download-app {
    padding: 8px 8px 8px 12px;
}

@media all and (max-width: 768px) {

}

/*Read More*/
.read-more {
    position: relative;
}

.text-content {
    overflow: hidden;
    position: relative;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* fade ساده */
.text-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;

    background: linear-gradient(to top, white, transparent);

    opacity: 1;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.text-content.expanded::after {
    opacity: 0;
}

/* دکمه */
.toggle-btn {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;

    cursor: pointer;
    background: none;
    border: none;
    color: #4352CC;
}

/* آیکن */
.arrow {
    transition: transform 0.3s ease;
}

.arrow.rotate {
    transform: rotate(180deg);
}

/*====================================
------------ Mobile Menu -------------
====================================*/
#mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw; /* تمام عرض */
    max-width: 100vw;
    height: 100dvh; /* بهتر از 100% */
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.2, .9, .2, 1);
    z-index: 999999;

    padding: 18px 18px 28px;
    direction: rtl;
    overflow-y: auto;
}

#mobile-drawer.show {
    transform: translateX(0);
}

/* جلوگیری از اسکرول بک‌گراند وقتی منو بازه */
body.no-scroll {
    overflow: hidden;
}

/* ریشه منو */
#mobile-drawer .mobile-menu {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

/* آیتم‌ها */
#mobile-drawer .mobile-menu > li {
    border-bottom: 1px solid rgba(12, 49, 72, .08);
    padding: 6px 0;
}

/* لینک‌های سطح اول */
#mobile-drawer .mobile-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 10px;
    border-radius: 14px;
    text-decoration: none;
    color: #0c3148;
    font-size: 16px;
    font-weight: 700;
}

/* hover/tap */
#mobile-drawer .mobile-menu > li > a:active {
    transform: scale(.99);
}

/* دکمه بازکننده ساب‌منو */
#mobile-drawer .mobile-sub-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 10px;
    border-radius: 14px;

    background: transparent;
    border: 0;
    cursor: pointer;

    color: #0c3148;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}

/* فلش */
#mobile-drawer .mobile-sub-arrow {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(12, 49, 72, .06);
    position: relative;
}

#mobile-drawer .mobile-sub-arrow:before {
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2px solid rgba(12, 49, 72, .55);
    border-bottom: 2px solid rgba(12, 49, 72, .55);
    transform: rotate(-45deg);
    transition: transform .25s ease;
}

/* وقتی باز شد */
#mobile-drawer .mobile-has-sub.is-open > .mobile-sub-toggle {
    background: rgba(12, 49, 72, .05);
}

#mobile-drawer .mobile-has-sub.is-open > .mobile-sub-toggle .mobile-sub-arrow:before {
    transform: rotate(135deg);
}

/* ============================
   Mobile Drawer Header
   ============================ */
#mobile-drawer .mobile-drawer-header {
    display: flex;
    justify-content: flex-end;
    padding: 6px 6px 12px;
}

#mobile-drawer .mobile-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 0;
    cursor: pointer;

    background: rgba(12, 49, 72, .08);
    color: #0c3148;
    font-size: 28px;
    line-height: 1;

    display: grid;
    place-items: center;

    transition: background .2s ease, transform .15s ease;
}

#mobile-drawer .mobile-close:active {
    transform: scale(.95);
}

#mobile-drawer .mobile-close:hover {
    background: rgba(12, 49, 72, .14);
}

/* ============================
   Submenu (Accordion Animated)
   ============================ */
#mobile-drawer .mobile-submenu {
    list-style: none;
    margin: 6px 0 10px;
    padding: 0 8px 0 0;

    max-height: 0; /* انیمیشن با JS */
    overflow: hidden;
    transition: max-height .35s ease;
}

/* کارت‌بندی و تفکیک آیتم‌های زیرمنو */
#mobile-drawer .mobile-submenu > li {
    padding: 0;
    margin: 6px 0;
}

#mobile-drawer .mobile-submenu > li > a {
    display: block;
    padding: 12px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #222;
    font-size: 14.5px;
    background: rgba(0, 0, 0, .03);
    border: 1px solid rgba(0, 0, 0, .04);
    transition: transform .18s ease, background .22s ease;
}

#mobile-drawer .mobile-submenu > li > a:active {
    transform: scale(.99);
}

/* یک جداکننده ظریف برای گروه زیرمنو */
#mobile-drawer .mobile-has-sub.is-open .mobile-submenu {
    padding-top: 6px;
}

/* ============================
   Overlay
   ============================ */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 99999;
}

#overlay.show {
    opacity: 1;
    visibility: visible;
}

/* احترام به prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    #mobile-drawer, #overlay, #mobile-drawer .mobile-submenu {
        transition: none !important;
    }
}

/*====================================
---------- Hero Section --------------
====================================*/
section.hero {
    background-color: #F4F5F9;
    background-image: url("../images/hero-pattern.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0 100%);
}

@media all and (max-width: 768px) {
    section.hero {
        clip-path: none;
    }

    section.hero .hero-cta {
        position: relative;
        right: 50%;
        transform: translateX(50%);
    }
}

/*====================================
---- Modiriat Sarmaye Section --------
====================================*/
#modiriat-sarmaye .ms-carousel .ms-carousel-item {
    padding: 92px 32px 32px 32px;
    border: 2px solid #e0e2ec;
    border-radius: 14px;
}

.swiper {
    width: 100%;
    height: 100%;
    padding-right: 84px !important;
    padding-left: 84px !important;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    object-fit: cover;
}

span.swiper-pagination-bullet-active {
    width: 80px !important;
    height: 12px !important;
    border-radius: 6px !important;
    background-color: #596796 !important;
}

.swiper-pagination-bullet {
    width: 15px !important;
    height: 12px !important;
    border-radius: 6px !important;
    background-color: #CACFDF !important;
    opacity: 1 !important;
}

@media all and (max-width: 768px) {
    .swiper, #modiriat-sarmaye {
        padding-right: 24px !important;
        padding-left: 24px !important;
    }
}

/*====================================
---- Poosheshha Section --------
====================================*/
#poosheshha {
    background-color: #F4F5F9;
    background-image: url("../images/hero-pattern.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 96px 0;
}

/*====================================
--------- Numbers Section ------------
====================================*/
#numbers {
    background-color: #0C3148;
    background-image: url("../images/numbers-pattern.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 104px;
    padding-bottom: 104px;
}

#numbers .numbers-items {
    align-items: center;
}

#numbers .numbers-items div.number-item {
    position: relative;
}

#numbers .numbers-items div.number-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -80%;
    top: 50%;
    transform: translate(50%, -50%);
    width: 1px;
    height: 80%;
    background: rgba(224, 226, 236, 0.2);
    pointer-events: none;
}

#numbers .numbers-items .num-icons {
    position: relative;
    margin: 0 auto;
    width: 64px;
    height: 64px;
    background: #D22027;
    border-radius: 50%;
    box-shadow: 0 0 80px 0 #D22027;
}

#numbers .numbers-items .num-icons img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#numbers .numbers-items span {
    text-align: center;
    color: #fff;
    display: block;
}

#numbers .numbers-items span#miliard:after {
    content: "هزار میلیارد\Aتومان"; /* خط جدید با \A */
    white-space: pre; /* \A را به عنوان خط جدید قبول می‌کند */
    font-size: 10px;
    font-weight: normal;
    display: inline-block;
    line-height: 1.5;
}

@media all and (max-width: 768px) {
    #numbers .numbers-items div.number-item:not(:last-child)::after {
        content: none;
    }
}

/*====================================
------- Recent Posts Section ---------
====================================*/
.posts-items {
    position: relative;
}

.posts-items:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #E0E2EC;
    position: absolute;
    bottom: -25%;
}

.posts-items:first-child:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #E0E2EC;
    position: absolute;
    top: -25%;
}

#posts img {
    border-radius: 5px;
    width: 152px;
    height: auto;
}

#posts a:hover {
    background: none;
}

@media all and (max-width: 768px) {
    .posts-items .post-details {
        position: absolute;
        right: 196px;
        bottom: 96px;
    }

    .posts-items:after {
        bottom: -10%;
    }
}

/*====================================
-------------- Footer ----------------
====================================*/
footer #fast-access li, footer #products li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

footer #fast-access li:last-child, footer #products li:last-child {
    margin-bottom: 0;
}

footer #contact-us li {
    font-size: 14px;
    margin-bottom: 12px;
}

footer #contact-us li:last-child {
    margin-bottom: 0;
}

footer #contact-us i {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    padding: 4px;
    width: 20px;
    height: 20px;
    font-size: 12px;
}

footer #footer-download-app a {
    font-size: 12px;
    background: #0C3148;
    border-radius: 8px;
    height: 40px;
    padding: 0 12px;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer #social-media a {
    background: #0C3148;
    border-radius: 8px;
    align-content: center;
    padding: 8px;
    width: 40px;
    height: 40px;
}

footer #social-media i {
    vertical-align: middle;
    font-size: 18px;
}

@media all and (max-width: 768px) {
    footer #footer-download-app a {
        flex: none;
    }

    #fast-access ul,
    #products ul {
        height: 0;
        overflow: hidden;
        transition: height 0.35s ease;
    }

    /* کلیک‌پذیر بودن عنوان */
    #fast-access h5,
    #products h5 {
        cursor: pointer;
        position: relative;
        padding-right: 24px;
    }

    /* آیکون Font Awesome */
    #fast-access h5::after,
    #products h5::after {
        font-family: "Font Awesome 7 Pro";
        content: "\f107";
        position: absolute;
        left: 24px;
        top: 0;
        font-size: 18px;
        transition: transform 0.3s ease;
        font-weight: 300;
    }

    /* چرخش در حالت باز */
    .open h5::after {
        transform: rotate(180deg);
    }

    #fast-access:after, #products:after,
    #products:before {
        content: '';
        background: rgba(224, 226, 236, 0.2);
        width: 100%;
        height: 1px;
        display: block;
    }
}

/*====================================
--------- Poosheshha Sabet -----------
====================================*/
.poosheshha-sabet ul li {
    margin-top: 24px;
}

.poosheshha-sabet ul li:first-child {
    margin-top: 0;
}

.poosheshha-sabet ul li:before {
    content: '\f00c';
    font-family: "Font Awesome 7 Pro";
    color: #D22027;
    margin-left: 8px;
}

/*====================================
---------------- FAQ -----------------
====================================*/
.icon {
    font-family: "Font Awesome 7 Pro";
    content: '\f107';
}

details > summary .icon::before {
    font-family: "Font Awesome 7 Pro";
    content: "\f107";
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.faq-item {
    background: #ffffff;
    transition: background-color .25s ease;
}

.faq-item[open] {
    background: #F4F5F9;
    border-color: transparent;
    border-radius: 12px;
}

.faq-item summary,
.faq-item > div {
    background: transparent;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item .icon {
    font-family: "Font Awesome 7 Pro";
    display: inline-block;
    transform: rotate(0deg);
    transition: transform .25s ease;
    font-size: 1rem;
}

.faq-item[open] .icon {
    transform: rotate(180deg);
}

/*====================================
--------------- Table ----------------
====================================*/
.table {
    background-color: #E0F9F7;
    background-image: url("../images/table-pattern.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 80px;
}

.table-swiper {
    padding: 0 !important;
}

.table tr:nth-child(even) {
    background: #fff;
}

.table tr:nth-child(odd) {
    background: #F4F5F9;
}

.table th {
    background: #fff;
}

.table .swiper-button-next, .table .swiper-button-prev {
    position: absolute;
    top: unset !important;
    bottom: -60px !important;
    background: #06273B;
    border-radius: 50px;
    width: 32px;
    height: 32px;
}

.table .swiper-button-prev {
    left: 45px !important;
    right: unset !important;
}

.table .swiper-button-next svg, .table .swiper-button-prev svg {
    color: #fff;
    height: 18px;
}

.table th {
    font-size: 14px;
    color: #596796;
    font-weight: bold;
    text-align: center;
}

.table td {
    color: #2E354D;
    font-size: 16px;
    font-weight: bold;
}

.table td, .table th {
    padding: 16px 24px;
}

.table .special {
    border: 2px solid #5467FF;
}

.table .swiper-slide td {
    color: #188665;
}

.table .x {
    color: #D22027 !important;
}

.table .minus {
    color: #969FC0 !important;
}

@media all and (max-width: 768px) {
    .table .swiper-button-next, .table .swiper-button-prev {
        display: none;
    }

    .table td, .table th {
        padding: 16px 10px;
    }

    .table td {
        font-size: 10px;
        height: 65px;
    }

    .table th {
        font-size: 8px;
    }

    .table .swiper-pagination {
        position: absolute;
        bottom: -40px !important;
    }

    .table {
        padding: 80px 10px;
    }
}

/*====================================
--------- Poosheshha Steps -----------
====================================*/
#psh-steps {
    border: 3px solid #E0E2EC;
    border-radius: 16px;
    padding: 32px 56px;
    z-index: 999999999;
    background: #fff;
}

#psh-steps div {
    width: 140px;
    position: relative;
}

#psh-steps div:after {
    content: url("../images/steps-arrow.png");
    position: absolute;
    top: 50%;
    left: -50%;
    transform: translateY(-50%);
}

#psh-steps div:last-child:after {
    content: none;
}

#steps-overlay {
    background: #EAECF2;
    border-radius: 20px;
    width: 100%;
    height: 210px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15%;
    z-index: -1;
}

@media all and (max-width: 768px) {
    #psh-steps div:after {
        content: url("../images/step-arrow-mobile.png");
        left: 50%;
        transform: translateX(-50%);
        bottom: -50%;
        top: unset;
    }
}

/*====================================
--------------- Calc -----------------
====================================*/
.calc {
    background-color: #F4F5F9;
    background-image: url("../images/table-pattern.png");
    padding: 80px;
    border-radius: 16px;
}

.calc .calc-text {
    background: #F4F5F9;
    padding: 24px;
}

@media all and (max-width: 768px) {
    .calc {
        padding: 40px 0;
    }

    .calc-wrapper {
        background: none;
        box-shadow: none;
    }

    .calc .calc-text {
        padding: 0;
    }

    .calc-chart {
        background: rgba(255, 255, 255, .5);
        padding: 24px;
        border-radius: 16px;
    }
}

/*====================================
------------ Page Desc ---------------
====================================*/

section.page-desc {
    background-color: #F4F5F9;
    background-image: url("../images/hero-pattern.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 20px 0;
}

/*====================================
--------------- Map ------------------
====================================*/
#map, #shoab_map {
    margin-top: 100px;
    height: 600px;
    border-radius: 16px;
    border: 1px solid #DFE4EE;
}

/* پنل ثابت پایین-چپ با انیمیشن */
#shoab-info-box,
#company-info-box {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    z-index: 1000;
    overflow: hidden;

    /* حالت پیش‌فرض: جمع شده */
    transform: translateY(18px);
    opacity: 0.92;
    transition: transform 260ms ease, opacity 260ms ease;

    font-family: IRANSansX;
}

/* وقتی آپدیت شد، یک “پاپ” نرم بخوره */
#company-info-box.bump,
#shoab-info-box.bump {
    transform: translateY(0);
    opacity: 1;
}

.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 10px 12px;
    gap: 10px;
}

.info-title {
    font-weight: 800;
    font-size: 14px;
    margin: 0;
}

.info-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn {
    border: 0;
    padding: 0 8px;
    font-size: 16px;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(0.97);
}

.btn-primary {
    background: #111;
    color: #fff;
}

.info-body {
    padding: 12px;
    font-size: 13.5px;
    line-height: 1.9;
}

.muted {
    color: rgba(0, 0, 0, 0.62);
}

.row {
    margin-bottom: 4px;
}

.row strong {
    font-weight: 800;
}

/* انیمیشن تغییر محتوا: Fade + Slide */
.fade-swap {
    animation: fadeSwap 220ms ease;
}

@keyframes fadeSwap {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* موبایل: کمی کوچیک‌تر */
@media (max-width: 768px) {
    #map {
        margin-top: 0;
        margin-bottom: -4rem;
    }

    #info-box {
        width: 100%;
    }
}

.map-routing {
    background: #344052;
    padding: 12px 16px;
    border-radius: 75px;
    color: #fff !important;
    display: block;
    text-align: center;
    margin-top: 16px;
    font-weight: bold;
}

#map i {
    background: #F1F2F7;
    border-radius: 75px;
    width: 18px;
    height: 18px;
    font-size: 10px;
    vertical-align: middle;
    line-height: 18px;
    color: #152C44;
}

#map .map-routing i {
    font-size: 18px;
    vertical-align: middle;
    color: #fff;
    background: none;
    border-radius: unset;
    width: unset;
    height: unset;
    line-height: unset;
}

.map-btn {
    background: #344052;
    padding: 12px 16px;
    border-radius: 75px;
    color: #fff !important;
    display: block;
    text-align: center;
    margin-top: 16px;
    font-weight: bold;
    display: inline-block;
    font-family: IRANSansX;
}

.map-btn.active {
    color: #344052 !important;
    background: #fff;
}

/*====================================
-------- Reporting Landing -----------
====================================*/
/*Table*/
.reporting-section .table-wrapper{
    width:100%;
    margin:auto;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #e5e7eb;
}

/* هدر */
.reporting-section .table-header{
    display:grid;
    grid-template-columns:80px 1fr 120px;
    background:#f3f4f6;
    border-bottom:1px solid #e5e7eb;
    font-weight:700;
    color:#1f2937;
}

.reporting-section .table-header div{
    padding:16px;
    text-align:center;
}

/* بدنه با اسکرول */
.reporting-section .table-body{
    max-height:610px; /* تعداد ردیف قابل نمایش */
    overflow-y:auto;
}

/* هر ردیف */
.reporting-section .table-row{
    display:grid;
    grid-template-columns:80px 1fr 120px;
    align-items:center;
    min-height:52px;
    border-bottom:1px solid #e5e7eb;
}

/* رنگ یکی در میان */
.reporting-section .table-row:nth-child(even){
    background:#f7f8fb;
}

.reporting-section .table-row:nth-child(odd){
    background:#ffffff;
}

.reporting-section .table-row div{
    padding:14px 16px;
}

.reporting-section .row-number{
    text-align:center;
    color:#374151;
}

.reporting-section .file-name{
    text-align:right;
    color:#1f2937;
}

.reporting-section .download{
    display:flex;
    justify-content:center;
    align-items:center;
}

/* آیکون دانلود */
.reporting-section .download-btn{
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    text-decoration:none;
    color:#374151;
    transition:.2s;
}

.reporting-section .download-btn:hover{
    background:#eef2ff;
}

/* اسکرول */
.reporting-section .table-body::-webkit-scrollbar{
    width:8px;
}

.reporting-section .table-body::-webkit-scrollbar-track{
    background:#f1f1f1;
}

.reporting-section .table-body::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:20px;
}

.reporting-section .table-body::-webkit-scrollbar-thumb:hover{
    background:#94a3b8;
}
/*====================================
--------- About Us Landing -----------
====================================*/
section.namaye-charisma {
    margin-top: 64px;
    padding: 64px 0;
    background: #0C3148 url("../images/namaye-charima-pattern.png") no-repeat right 50px center;
}

.swiper-slide-last-year .dot {
    background-color: #F0BA13;
}

.swiper-slide-last-year .date {
    color: #F0BA13;
    transform: translateY(2px);
}

.swiper-slide-last-year .text {
    color: white;
}

section#heyat-modire {
    background-color: #F4F5F9;
    background-image: url("../images/hero-pattern.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 64px 0;
    margin-top: 50px;
}

/*====================================
----------- Bime Zendegi -------------
====================================*/
#mazaya-bime-zendegi, .section-secondary-bg {
    background-color: #F4F5F9;
    background-image: url("../images/table-pattern.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 104px;
    padding-bottom: 104px;
}

.section-primary-bg {
    background-color: #0C3148;
    background-image: url("../images/numbers-pattern.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 104px;
    padding-bottom: 104px;
}

.section-primary-bg .section-line-sep {
    width: 100%;
    height: 2px;
    background: #d22027;
    border-radius: 50px;
}

/*====================================
------------- Mega Menu --------------
====================================*/
/* =========================
MEGA MENU
========================= */

.has-mega {
    position: relative;
}

.mega-panel {
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    width: 980px;
    background: #fff;
    border-radius: 22px;
    box-shadow: -14px 14px 0 rgba(26, 10, 59, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(50%, 10px);
    transition: .25s ease;
    z-index: 999;
    border: 1px solid rgba(223, 228, 238, 1);
}

.has-mega.is-open > .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(50%, 0);
}

.mega-wrapper {
    display: flex;
    min-height: 500px;
}

li.mega-group {
    display: block;
}

/* =========================
SIDEBAR
========================= */

.mega-sidebar {
    width: 50%;
    border-left: 1px solid rgba(0, 0, 0, .08);
    padding: 24px;
}

.mega-group + .mega-group {
    margin-top: 28px;
}

.mega-group-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111827;
    display: block;
}

.mega-tab-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-tab-btn {
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: .2s ease;
    font-size: 14px;
    color: #374151;
}

.mega-tab-btn:hover {
    background: #f3f4f6;
}

.mega-tab-btn.active {
    background: #eef2ff;
    color: #111827;
    font-weight: 700;
}

/* =========================
CONTENT
========================= */

.mega-content {
    flex: 1;
    padding: 30px;
    background: #F3F5F9;
    border-radius: 22px 0 0 22px;
}

.mega-content-panel {
    display: none;
}

.mega-content-panel.active {
    display: block;
}

.mega-content-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
}

.mega-content-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-content-panel li {
    display: block;
}

.mega-content-panel li a {
    display: block;
    padding: 14px;
    border-radius: 14px;
    text-decoration: none;
    color: #111827;
    transition: .2s ease;
}

.mega-content-panel li a:hover {
    transform: translateY(-2px);
}

.mega-panel ul,
.mega-panel li {
    position: static !important;
}

.mega-panel .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: static !important;
    width: auto !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mega-group > .sub-menu {
    display: block !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

.has-mega .sub-menu {
    display: block !important;
}

.mega-tab-btn {
    position: relative;
    padding: 14px 16px;
    border-radius: 14px;
    transition: .2s ease;
}

.mega-tab-btn.active {
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
}

.mega-tab-btn.active::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 999px;
    background: #0f172a;
}

/* =========================
MOBILE
========================= */
@media (max-width: 991px) {
    .mega-panel {
        width: 100vw;
        right: 50%;
        transform: translateX(50%);
    }

    .mega-wrapper {
        flex-direction: column;
    }

    .mega-sidebar {
        width: 100%;
        border-left: 0;
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }

    .mega-content-panel ul {
        grid-template-columns: 1fr;
    }
}

/*====================================
------------- App Download --------------
====================================*/

.downloadAppWrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* خود باکس */
.downloadPopup {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 280px;
    z-index: 9999;

    /* حالت بسته: کلاً از صفحه حذف */
    display: none;
}

/* مثلث کوچولو بالا */
.downloadPopup::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 16px;
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, .92);
    transform: rotate(45deg);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

.downloadPopup__inner {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 18px;
    padding: 14px 14px 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

/* هدر */
.downloadPopup__header {
    text-align: right;
    margin-bottom: 10px;
}

.downloadPopup__title {
    font-size: 13px;
    font-weight: 800;
    color: #101828;
    line-height: 1.2;
}

.downloadPopup__subtitle {
    font-size: 11px;
    color: #667085;
    margin-top: 4px;
}

/* QR */
.downloadPopup__qr {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, .06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.downloadPopup__qr img {
    width: 168px;
    height: 168px;
    object-fit: contain;
}

/* دکمه‌ها */
.downloadPopup__actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.downloadPopup__btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;

    background: #111827;
    color: #fff;
    transition: transform .15s ease, opacity .15s ease, visibility .15s ease;
}

.downloadPopup__btn:hover {
    transform: translateY(-1px);
    opacity: .92;
}

/* متن پایین */
.downloadPopup__hint {
    margin-top: 10px;
    font-size: 11px;
    color: #475467;
    text-align: center;
}

/* حالت باز */
.downloadPopup.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* موبایل: اندازه بهتر */
@media (max-width: 420px) {
    .downloadPopup {
        width: 260px;
    }

    .downloadPopup__qr img {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 768px) {
    .downloadPopup.is-open {
        display: block;
        animation: popupIn .18s ease-out both;
    }
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/*====================================
------- Bime Nameha Landing ----------
====================================*/
.bime-nameha h4 {
    position: relative;
}
.bime-nameha h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: rgba(210, 32, 39, 1);
    border-radius: 22px;
    position: absolute;
    top: 40%;
    right: -15px;
}