﻿/*====================================
-------------- 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 ----------------
====================================*/
* {
    scroll-behavior: smooth;
}

.ltr {
    direction: ltr;
}

.gray-pattern {
    background-color: #F4F5F9;
    background-image: url(../images/pattern.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.blue-pattern {
    background-color: rgba(12, 49, 72, 1);
    background-image: url(../images/pattern2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.mt-40 {
    margin-top: 10rem;
}

.pt-32 {
    padding-top: 8rem;
}

/*====================================
------- Services Showcase ------------
====================================*/
.services-showcase {
    padding: 72px 0;
}

.services-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 6px;
    background: #fff;
    border-radius: 9999px;
}

.services-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 9999px;
    color: #202535;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all .25s ease;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.services-tabs button.active,
.services-tabs button:hover {
    background: #0C3148;
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.service-panel {
    display: none;
}

.service-panel.active {
    display: block;
    animation: servicePanelFade .35s ease;
}

@keyframes servicePanelFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-heading {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 24px;
}

.services-heading h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
}

.services-heading p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    margin-top: 12px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.investment-cards-wrapper {
    position: relative;
}

.investment-cards-wrapper::before,
.investment-cards-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 2;
    pointer-events: none;
}

.investment-cards-wrapper::before {
    right: 0;
    background: linear-gradient(to left, #0C3148 10%, rgba(12, 49, 72, 0));
}

.investment-cards-wrapper::after {
    left: 0;
    background: linear-gradient(to right, #0C3148 10%, rgba(12, 49, 72, 0));
}

.investment-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow-x: auto;
    padding: 64px 48px 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.investment-cards::-webkit-scrollbar {
    display: none;
}

.services-showcase .container {
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
}

.investment-card {
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: #fff;
    border-radius: 28px;
    padding: 56px 28px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.investment-card h3 {
    color: #202535;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    line-height: 1.6;
}

.investment-card p {
    color: #596796;
    font-size: 14px;
    line-height: 1.9;
    margin-top: 12px;
    flex: 1;
}

.investment-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    right: 50%;
    bottom: -19px;
    transform: translateX(50%);
    width: max-content;
    max-width: calc(100% - 32px);
    min-height: 40px;
    padding: 8px 22px;
    border: 1.5px solid #0C3148;
    border-radius: 9999px;
    color: #0C3148;
    font-size: 14px;
    font-weight: 700;
    transition: all .25s ease;
    background: #fff;
    white-space: nowrap;
}

.investment-card a .investment-card__arrow {
    width: 9px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    transition: filter .25s ease, opacity .25s ease;
}

.investment-card a:hover {
    background: #0C3148;
    color: #fff;
}

.investment-card a:hover .investment-card__arrow {
    filter: brightness(0) invert(1);
}

.service-card-icon {
    position: absolute;
    width: 150px;
    height: 100px;
    object-fit: contain;
    top: -62px;
    right: 50%;
    transform: translateX(50%);
    pointer-events: none;
}

@media all and (max-width: 768px) {
    .services-showcase {
        padding: 40px 0 56px;
    }

    .services-tabs {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        border-radius: 9999px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 4px;
        gap: 4px;
    }

    .services-tabs::-webkit-scrollbar {
        display: none;
    }

    .services-tabs button {
        min-height: 40px;
        padding: 8px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .services-heading {
        margin-top: 28px;
        margin-bottom: 8px;
    }

    .services-heading h2 {
        font-size: 20px;
        padding: 0 8px;
    }

    .services-heading p {
        font-size: 13px;
        padding: 0 12px;
        line-height: 1.9;
    }

    .investment-cards-wrapper::before,
    .investment-cards-wrapper::after {
        display: none;
    }

    .investment-cards {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        overflow: visible;
        scroll-snap-type: none;
        padding: 48px 16px 8px;
        gap: 55px;
    }

    .investment-card {
        flex: none;
        width: 100%;
        min-height: 0;
        padding: 52px 20px 28px;
        border-radius: 20px;
        scroll-snap-align: unset;
    }

    .investment-card h3 {
        font-size: 16px;
    }

    .investment-card p {
        font-size: 13px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .service-card-icon {
        width: 110px;
        height: 78px;
        top: -44px;
    }

    .investment-card a {
        position: static;
        transform: none;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        min-height: 44px;
        margin-top: auto;
        padding: 10px 16px;
        border-color: #C9D0E0;
        border-radius: 12px;
        color: #202535;
        font-size: 13px;
        white-space: normal;
        line-height: 1.4;
    }

    .investment-card a:hover {
        background: #F4F5F9;
        color: #202535;
    }
}
/*====================================
-------------- Header -----------------
====================================*/
header {
    padding: 16px 8px;
    position: relative;
    z-index: 2000;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    transform: translateY(0);
    transition: transform .3s ease, box-shadow .3s ease;
    z-index: 9999999999;
}

.site-header.is-hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(18, 57, 81, 0.08);
}

.site-header-spacer {
    height: 64px;
}

.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (min-width: 768px) {
    .site-header-spacer {
        height: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header {
        transition: none;
    }
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.desktop-menu > li {
    position: relative;
    list-style: none;
}

.desktop-menu > li > a,
.desktop-menu-trigger {
    color: #123951;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: color .2s ease;
}

.desktop-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-chevron {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform .25s ease, margin-top .25s ease;
    opacity: .7;
    display: inline-block;
    margin-top: -4px;
}

.desktop-menu-trigger[aria-expanded="true"] > .menu-chevron,
.mobile-sub-trigger[aria-expanded="true"] > .menu-chevron {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.desktop-menu > li > a:hover,
.desktop-menu-trigger:hover {
    color: #0f2f43;
}

/* ==============================
   Desktop Mega Menu
   ============================== */
.mega-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 18px);
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e3e8f2;
    box-shadow: 0 16px 40px rgba(18, 57, 81, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 1000;
}

.has-mega.open .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-panel-simple {
    width: min(420px, calc(100vw - 48px));
    padding: 12px 16px;
}

.mega-service-item,
.mega-tech-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 8px;
    border: 0;
    border-bottom: 1px solid #eef2f8;
    background: transparent;
    color: #123951;
    text-align: right;
    cursor: pointer;
}

.mega-service-item:last-child,
.mega-tech-item:last-child {
    border-bottom: 0;
}

.mega-service-item img,
.mega-tech-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.mega-service-text {
    flex: 1;
    min-width: 0;
}

.mega-service-text h4 {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
    color: #123951;
    display: inline-block;
    position: relative;
}

.mega-service-text h4::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #123951;
    margin-left: 8px;
    vertical-align: middle;
    opacity: 0;
}

.mega-service-item:hover .mega-service-text h4::before,
.mega-tech-item.active .mega-service-text h4::before,
.mega-tech-item:hover .mega-service-text h4::before {
    opacity: 1;
}

.mega-service-item:hover .mega-service-text h4,
.mega-tech-item.active .mega-service-text h4 {
    border-bottom: 1px solid #9aa9c0;
    padding-bottom: 2px;
}

.mega-service-text p {
    color: #5b6b88;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 4px;
}

.mega-panel-tech {
    width: min(700px, calc(100vw - 48px));
    display: grid;
    /* RTL: first column sits on the right (wide content), second on the left (gray sub) */
    grid-template-columns: 1fr 200px;
    overflow: hidden;
    right: 0;
    left: auto;
}

.mega-tech-sub {
    background: #eef1f8;
    padding: 20px 16px;
}

.mega-tech-sub ul {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-tech-sub ul.active {
    display: block;
}

.mega-tech-sub li + li {
    margin-top: 14px;
}

.mega-tech-sub a {
    color: #273759;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.mega-tech-sub a:hover {
    color: #0d4f73;
}

.mega-tech-main {
    padding: 12px 14px;
}

header #download-app {
    padding: 12px 24px;
}

/*====================================
------------ Mobile Menu -------------
====================================*/
#mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    background: #123951;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 999999;
    direction: rtl;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#mobile-drawer.show {
    transform: translateX(0);
}

.mobile-drawer-header {
    height: 72px;
    min-height: 72px;
    background: #2d5f79;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
}

.mobile-drawer-header img {
    width: 118px;
    height: auto;
    filter: brightness(0) invert(1);
}

#mobile-close {
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    font-weight: 300;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.mobile-menu {
    margin: 0;
    padding: 20px 0 40px;
    list-style: none;
    overflow-y: auto;
    flex: 1;
}

.mobile-menu > li,
.mobile-submenu > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu > li > a,
.mobile-menu > .mobile-has-sub > .mobile-sub-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: 10px 24px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.7;
    text-align: right;
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mobile-sub-trigger .menu-chevron {
    border-color: #fff;
    opacity: .9;
    flex-shrink: 0;
}

.mobile-submenu {
    display: none;
    margin: 0;
    padding: 0 0 8px;
    list-style: none;
}

.mobile-has-sub.open > .mobile-submenu {
    display: block;
}

.mobile-submenu a,
.mobile-submenu > .mobile-has-sub > .mobile-sub-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: 8px 40px 8px 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    text-align: right;
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mobile-submenu .mobile-submenu a {
    padding: 6px 56px 6px 24px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    font-weight: 400;
}

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 99999;
}

#overlay.show {
    opacity: 1;
    visibility: visible;
}

@media all and (max-width: 768px) {
    /* #download-app {
        display: none !important;
    } */
}

/*====================================
---------- Hero Section --------------
====================================*/
section.hero {
    position: relative;
}

.hero-seprate {
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0 100%);
}

@media all and (max-width: 768px) {
    .hero-seprate {
        clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    }

    .hero-seprate .hero-cta {
        display: inline-flex;
        width: fit-content;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-seprate__caption {
        box-shadow: 0 12px 30px rgba(12, 49, 72, 0.08);
    }

    .ili-video__play {
        width: 56px;
        height: 56px;
    }

    #other-services .other-services-swiper {
        padding: 64px 16px 48px !important;
    }

    .ili-support.gray-pattern,
    .b2b-support.gray-pattern {
        background-color: #F4F5F9;
    }

    .ili-faq .faq-item[open],
    .b2b-faq .faq-item[open] {
        border-radius: 10px;
    }
}

@media all and (min-width: 769px) {
    .ili-support.gray-pattern,
    .b2b-support.gray-pattern {
        background: transparent;
        background-image: none;
    }
}

.curve{
    position:absolute;
    left:0;
    bottom:-160px;
    width:100%;
    line-height:0;
    z-index:-1;
}

.hero-caption {
    position: relative;
    bottom: -220px;
}

.curve svg,
.curve img{
    width:100%;
    height:auto;
    display:block;
}

/*section.hero::after {*/
/*    content: url('../images/hero-after.svg');*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: -1;*/
/*}*/

@media all and (max-width: 768px) {
    section.hero {
        clip-path: none;
        overflow: visible;
    }

    section.hero > .container {
        padding-right: 0;
        padding-left: 0;
    }

    section.hero .hero-cta {
        position: static;
        right: auto;
        transform: none;
        display: flex;
        width: fit-content;
        margin-right: auto;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .curve {
        position: relative;
        left: auto;
        bottom: auto;
        display: block;
        width: 100vw;
        margin-top: -1px;
        z-index: 0;
    }

    .curve img {
        width: 100%;
        height: auto;
    }

    .hero-caption {
        bottom: auto;
        margin: -75px 16px 0;
        z-index: 1;
        box-shadow: 0 12px 30px rgba(12, 49, 72, 0.08);
    }

    section.hero + .gray-pattern {
        margin-top: -100px;
    }
}

/*====================================
---- 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:not(.b2b-models__viewport),
    #modiriat-sarmaye {
        padding-right: 24px !important;
        padding-left: 24px !important;
    }
}

/*====================================
------- Other Services Slider --------
====================================*/
#other-services .other-services-swiper {
    overflow: visible;
    padding: 80px 32px 60px !important;
}

#other-services .swiper-wrapper {
    align-items: stretch;
}

#other-services .other-services-swiper.swiper-lock .swiper-wrapper {
    justify-content: center;
    transform: none !important;
}

@media all and (min-width: 1024px) {
    #other-services .other-services-swiper.is-few .swiper-wrapper {
        justify-content: center;
        transform: none !important;
    }
}

#other-services .other-services-swiper.swiper-lock .swiper-pagination {
    display: none;
}

#other-services .service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    min-height: 184px;
    padding: 62px 22px 0;
    border: 2px solid #E0E2EC;
    border-radius: 14px;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 24px rgba(32, 37, 53, 0.04);
}

#other-services .service-card__image {
    position: absolute;
    top: -58px;
    left: 50%;
    width: auto;
    height: 98px;
    object-fit: contain;
    transform: translateX(-50%);
}

#other-services .service-card h3 {
    color: #202535;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

#other-services .service-card p {
    flex: 1;
    margin-top: 8px;
    color: #596796;
    font-size: 13px;
    line-height: 1.9;
}

#other-services .service-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 18px 14px -21px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: #0C3148;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .2s ease, transform .2s ease;
}

#other-services .service-card a:hover {
    background: #164967;
    transform: translateY(-2px);
}

#other-services .swiper-pagination {
    bottom: 0;
}

#other-services .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    margin: 0 3px !important;
}

#other-services .swiper-pagination-bullet-active {
    width: 20px !important;
    background-color: #596796 !important;
}

@media all and (max-width: 768px) {
    #other-services .other-services-swiper {
        padding: 80px 24px 60px !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%;
}

@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, footer #services li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

footer #fast-access li:last-child, footer #products li:last-child, footer #services 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 #footer-download-app .footer-app-more {
    flex: 0 0 auto;
    white-space: nowrap;
}

footer #footer-download-app .footer-app-more__icon {
    flex-shrink: 0;
    display: block;
}

@media all and (min-width: 769px) {
    footer #footer-download-app .footer-app-more {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    footer #footer-download-app .footer-app-more span,
    footer #footer-download-app .footer-app-more .fa-arrow-left-long {
        display: none;
    }
}

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,
    #services ul {
        height: 0;
        overflow: hidden;
        transition: height 0.35s ease;
    }

    /* کلیک‌پذیر بودن عنوان */
    #fast-access h5,
    #products h5,
    #services h5 {
        cursor: pointer;
        position: relative;
        padding-right: 24px;
    }

    /* آیکون Font Awesome */
    #fast-access h5::after,
    #products h5::after,
    #services 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,
    #services:after {
        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;
}

.contact-breadcrumb {
    background: #F4F5F9;
    color: #596796;
    font-size: 14px;
    padding: 12px 0;
    text-align: right;
    border-bottom: 1px solid rgba(224, 226, 236, 0.7);
}

.contact-breadcrumb a {
    color: inherit;
}

section.contact-page-desc {
    padding: 40px 0;
}

@media (min-width: 769px) {
    section.contact-page-desc {
        padding: 48px 0 40px;
    }

    .contact-card {
        padding: 28px 32px;
        border-radius: 16px;
    }

    .contact-map #map,
    #map {
        height: 560px;
        margin-top: 0;
    }

    #info-box {
        width: 340px;
        left: 24px;
        bottom: 24px;
    }

    .info-body {
        font-size: 14px;
    }

    .info-title {
        font-size: 15px;
    }
}

/*====================================
----------- Contact Ways -------------
====================================*/
.contact-card {
    border-radius: 16px;
    background: #F4F5F9;
    border: 1px solid #E8EAF1;
    padding: 20px 18px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/*====================================
--------------- Map ------------------
====================================*/
.contact-map #map,
#map {
    position: relative;
    height: 600px;
    border-radius: 16px;
    border: 1px solid #DFE4EE;
    overflow: hidden;
    z-index: 0;
}

/* پنل ثابت پایین-چپ با انیمیشن */
#info-box {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 320px;
    max-width: calc(100% - 32px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    overflow: hidden;
    transform: translateY(18px);
    opacity: 0.92;
    transition: transform 260ms ease, opacity 260ms ease;
    font-family: IRANSansX;
}

#info-box.bump {
    transform: translateY(0);
    opacity: 1;
}

#info-box.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px);
}

.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 8px;
    gap: 10px;
}

.info-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.info-title {
    font-weight: 800;
    font-size: 14px;
    margin: 0;
    color: #202535;
}

.info-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

#info-box .btn {
    border: 0;
    background: transparent;
    padding: 0 4px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #596796;
}

#info-box .btn:hover {
    color: #202535;
}

.btn-primary {
    background: #111;
    color: #fff;
}

.info-body {
    padding: 4px 14px 14px;
    font-size: 13px;
    line-height: 1.9;
    color: #596796;
}

.muted {
    color: rgba(0, 0, 0, 0.62);
}

#info-box .row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

#info-box .row span {
    flex: 1;
    min-width: 0;
}

#info-box .row strong {
    font-weight: 800;
}

.fade-swap {
    animation: fadeSwap 220ms ease;
}

@keyframes fadeSwap {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.map-routing {
    background: #0C3148;
    padding: 12px 16px;
    border-radius: 75px;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin-top: 12px;
    font-weight: bold;
    font-size: 14px;
}

#map .info-body i {
    background: #F1F2F7;
    border-radius: 75px;
    width: 22px;
    height: 22px;
    font-size: 11px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #152C44;
    margin-top: 2px;
}

#map .map-routing i {
    font-size: 16px;
    color: #fff;
    background: none;
    border-radius: unset;
    width: auto;
    height: auto;
    margin-top: 0;
}

.map-btn {
    background: #344052;
    padding: 12px 16px;
    border-radius: 75px;
    color: #fff !important;
    text-align: center;
    margin-top: 16px;
    font-weight: bold;
    display: inline-block;
    font-family: IRANSansX;
}

.map-btn.active {
    color: #344052 !important;
    background: #fff;
}

.contact-map .leaflet-control-zoom {
    border: 0 !important;
    box-shadow: 0 4px 16px rgba(12, 49, 72, 0.12) !important;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 16px !important;
    margin-right: 16px !important;
}

.contact-map .leaflet-control-zoom a {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    color: #0C3148 !important;
    border-bottom-color: #E0E2EC !important;
}

@media (max-width: 768px) {
    .contact-breadcrumb {
        font-size: 12px;
        padding: 10px 0;
    }

    section.contact-page-desc {
        padding: 22px 0;
    }

    .contact-card {
        border-radius: 14px;
        padding: 18px 16px;
    }

    .contact-map #map,
    #map {
        height: 420px;
        border-radius: 14px;
    }

    #info-box {
        left: 12px;
        right: auto;
        bottom: 12px;
        width: min(280px, calc(100% - 72px));
        border-radius: 12px;
    }

    .info-header {
        padding: 12px 12px 6px;
    }

    .info-body {
        padding: 2px 12px 12px;
        font-size: 12px;
        line-height: 1.85;
    }

    .info-logo {
        width: 24px;
        height: 24px;
    }

    .info-title {
        font-size: 13px;
    }

    .map-routing {
        padding: 10px 14px;
        font-size: 13px;
        margin-top: 10px;
    }

    .contact-map .leaflet-control-zoom {
        margin-bottom: 12px !important;
        margin-right: 12px !important;
    }

    .contact-map .leaflet-control-zoom a {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
    }

    .contact-support img {
        width: 180px;
    }
}

/*====================================
-------- Reporting Landing -----------
====================================*/
section.reporting-section {
    background-color: #F1F2F7;
    background-image: url("../images/hero-pattern.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    margin-top: 50px;
}

section.reporting-section .reporting-items {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

section.reporting-section .reporting-items a{
    background: #fff;
    padding: 10px 15px;
    border-radius: 75px;
    white-space: nowrap;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

@media (max-width: 768px) {
    section.reporting-section .reporting-items {
        margin-top: 20px;
    }

    .reporting-items a {
        display: none;
    }

    .reporting-items a:nth-child(-n+3) {
        display: block;
        width: 100%;
    }

    .reporting-show-more-btn {
        display: block;
        margin: 20px auto 0 auto;
        padding: 10px 30px;
        background: #344052;
        border-radius: 75px;
        color: #fff;
    }
}

@media (min-width: 769px) {
    .reporting-show-more-btn {
        display: none;
    }
}

/*====================================
--------- 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;
}

/*====================================
------ Main Page --------
====================================*/
.info-box {
    padding: 64px 24px 48px 24px;
    text-align: center;
    position: relative;
}

.info-box img {
    margin: 0 auto;
    position: absolute;
    top: 0;
    right: 50%;
    transform: translate(50%, -50%);
    height: auto;
    object-fit: contain;
}

.info-box a {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translate(50%, 50%);
}

#mainpage_counter {
    background-color: rgba(241, 242, 247, 1);
    background-image: url("../images/pattern.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 56px 0;
    border-radius: 32px;
    text-align: center;
}

#mainpage_counter .numbers-items div.number-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -40%;
    top: 50%;
    transform: translate(50%, -50%);
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

#mainpage_counter .numbers-items div.number-item {
    position: relative;
}

/*#mainpage_steps {*/
/*    max-width: 1120px;*/
/*}*/

#mainpage_steps .mainpage-steps__card {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#mainpage_steps div.steps_items {
    position: relative;
    flex: 1;
    text-align: center;
}

#mainpage_steps div.steps_items:not(:last-child):after {
    content: url(../images/arrow-left.svg);
    position: absolute;
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
}

@media all and (min-width: 769px) {
    #mainpage_steps .mainpage-steps__card {
        flex-direction: row;
        justify-content: space-between;
        gap: 32px;
        padding: 40px 80px;
    }
}

@media all and (max-width: 768px) {
    .info-box {
        padding: 56px 20px 40px;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(12, 49, 72, 0.06);
    }

    .info-box img {
        width: 72px;
    }

    .info-box a {
        width: calc(100% - 40px);
        max-width: 220px;
        text-align: center;
        display: inline-block;
    }

    #mainpage_counter {
        padding: 36px 16px;
        border-radius: 24px;
    }

    #mainpage_counter .numbers-items div.number-item:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 50%;
        top: auto;
        bottom: -20px;
        transform: translateX(-50%);
        width: 64px;
        height: 1px;
        background: rgba(0, 0, 0, 0.12);
    }

    #mainpage_steps {
        margin-left: 16px;
        margin-right: 16px;
        padding: 28px 16px 24px;
        border-radius: 24px;
        width: auto;
        max-width: none;
    }

    #mainpage_steps .mainpage-steps__card {
        margin-top: 20px;
        padding: 32px 20px;
        border-radius: 16px;
        border: 1px solid #E0E2EC;
        gap: 28px;
    }

    #mainpage_steps div.steps_items {
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 28px;
    }

    #mainpage_steps div.steps_items:last-child {
        padding-bottom: 0;
    }

    #mainpage_steps div.steps_items span {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }

    #mainpage_steps div.steps_items h6 {
        margin-top: 12px;
        font-size: 15px;
    }

    #mainpage_steps div.steps_items p {
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.9;
    }

    #mainpage_steps div.steps_items:not(:last-child):after {
        content: url(../images/arrow-down.svg);
        left: 50%;
        top: auto;
        bottom: -20%;
        transform: translateX(-50%);
        opacity: 1;
    }

}

/*====================================
--------- Partners Logos -------------
====================================*/
.partners-wrapper {
    position: relative;
    background: #0C3148;
    border-radius: 9999px;
    overflow: hidden;
}

.partners-wrapper::before,
.partners-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 2;
    pointer-events: none;
}

.partners-wrapper::before {
    right: 0;
    background: linear-gradient(to left, #0C3148 10%, rgba(12, 49, 72, 0));
}

.partners-wrapper::after {
    left: 0;
    background: linear-gradient(to right, #0C3148 10%, rgba(12, 49, 72, 0));
}

.partners-scroll {
    overflow: hidden;
    padding: 20px 48px;
    direction: ltr;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: partners-marquee var(--partners-duration, 30s) linear infinite;
}

@media (hover: hover) {
    .partners-wrapper:hover .partners-track {
        animation-play-state: paused;
    }
}

.partners-group {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

@keyframes partners-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.partners-scroll .partner-logo {
    flex-shrink: 0;
}

.partners-scroll .partner-logo img {
    height: 28px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    pointer-events: none;
}

.partners-scroll .partner-divider {
    display: block;
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .partners-scroll {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .partners-scroll::-webkit-scrollbar {
        display: none;
    }

    .partners-track {
        animation: none;
    }

    .partners-group[aria-hidden="true"] {
        display: none;
    }
}

@media all and (max-width: 768px) {
    .partners-wrapper {
        background: transparent;
        border-radius: 0;
        margin-inline: -1rem;
    }

    .partners-wrapper::before,
    .partners-wrapper::after {
        display: none;
    }

    .partners-scroll {
        padding: 8px 16px;
    }

    .partners-track,
    .partners-group {
        gap: 28px;
    }

    .partners-scroll .partner-logo {
        overflow: visible;
        height: 20px;
    }

    .partners-scroll .partner-logo img {
        height: 20px;
        opacity: 1;
        transform: none;
        /* رنگ‌آمیزی لوگوهای سفید به #0C3148؛ ترفند drop-shadow+translateY در Safari آیفون رندر نمی‌شود */
        filter: brightness(0) saturate(100%) invert(11%) sepia(50%) saturate(1100%) hue-rotate(159deg) brightness(101%) contrast(88%);
    }

    .partners-scroll .partner-divider {
        display: none;
    }
}

/*====================================
------------- ILI Video --------------
====================================*/
.ili-video {
    position: relative;
    max-width: 706px;
}

.ili-video__media {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid #E6EAF2;
    box-shadow: 0 12px 40px rgba(32, 37, 53, 0.12);
}

.ili-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    background: #0C3148;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
    z-index: 2;
}

.ili-video__play:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.ili-video__play-icon {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-style: solid;
    border-width: 9px 0 9px 14px;
    border-color: transparent transparent transparent #fff;
}

.ili-video.is-playing .ili-video__play {
    opacity: 0;
    pointer-events: none;
}

.ili-video.is-playing .ili-video__media {
    object-fit: contain;
    background: #000;
}

/*====================================
-------- ILI Features Section --------
====================================*/
.ili-features__grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .ili-features__grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2.5rem;
    }

    .ili-features__item {
        flex: 0 0 calc((100% - 5rem) / 3);
        max-width: calc((100% - 5rem) / 3);
    }
}

/*====================================
-------- B2B Features Section --------
====================================*/
.b2b-features {
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    padding: 58px 0 64px;
    color: #fff;
    background-color: #0C3148;
    background-image:
        linear-gradient(rgba(12, 49, 72, 0.88), rgba(12, 49, 72, 0.88)),
        url("../images/pattern.svg");
    background-position: center;
    background-size: cover;
}

.b2b-features__title {
    color: #fff;
}

.b2b-features__description {
    color: rgba(255, 255, 255, 0.72);
}

.b2b-features__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 46px;
    margin: 46px auto 0;
    max-width: 1040px;
}

.b2b-feature {
    position: relative;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.b2b-feature:nth-child(4) {
    grid-column: 2 / span 2;
}

.b2b-feature:nth-child(5) {
    grid-column: 4 / span 2;
}

.b2b-feature:nth-child(1)::after,
.b2b-feature:nth-child(2)::after,
.b2b-feature:nth-child(4)::after {
    content: "";
    position: absolute;
    top: 28px;
    left: 0;
    width: 1px;
    height: 54px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.22) 18%,
        rgba(255, 255, 255, 0.22) 82%,
        transparent
    );
}

.b2b-feature__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #D7192D;
    box-shadow:
        0 0 0 10px rgba(215, 25, 45, 0.06),
        0 0 28px 10px rgba(215, 25, 45, 0.35);
}

.b2b-feature__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.b2b-feature h3 {
    position: relative;
    z-index: 1;
    margin-top: 17px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .b2b-features {
        margin-top: 48px;
        padding: 44px 0 48px;
    }

    .b2b-features__description {
        max-width: 440px;
        margin-right: auto;
        margin-left: auto;
        line-height: 1.9;
    }

    .b2b-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 12px;
        margin-top: 36px;
        max-width: 360px;
    }

    .b2b-feature,
    .b2b-feature:nth-child(4),
    .b2b-feature:nth-child(5) {
        grid-column: auto;
    }

    .b2b-feature:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 160px;
    }

    .b2b-feature:nth-child(1)::after,
    .b2b-feature:nth-child(2)::after,
    .b2b-feature:nth-child(4)::after {
        display: none;
    }

    .b2b-feature__icon {
        width: 52px;
        height: 52px;
        box-shadow:
            0 0 0 10px rgba(215, 25, 45, 0.08),
            0 0 30px 12px rgba(215, 25, 45, 0.4);
    }

    .b2b-feature__icon img {
        width: 30px;
        height: 30px;
    }

    .b2b-feature h3 {
        max-width: 150px;
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.7;
    }
}

/*====================================
-------- B2B Models Section ----------
====================================*/
.b2b-models {
    padding: 70px 0 82px;
    background: #fff;
}

.b2b-models__header {
    margin: 0 auto 42px;
    text-align: center;
}

.b2b-models__header h2 {
    line-height: 1.6;
}

.b2b-models__header p {
    line-height: 2;
}

.b2b-models-slider {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
}

.b2b-models__list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.b2b-models__pagination {
    display: none;
}

.b2b-model-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 142px;
    padding: 22px 30px;
    border: 1px solid rgba(12, 49, 72, 0.08);
    border-radius: 14px;
    color: #142334;
    background: #fff;
    box-shadow: 0 8px 28px rgba(12, 49, 72, 0.1);
}

.b2b-model-card > div {
    min-width: 0;
    text-align: right;
}

.b2b-model-card > img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.b2b-model-card h3 {
    margin-bottom: 8px;
    color: #102236;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
}

.b2b-model-card p {
    color: #687384;
    font-size: 13px;
    line-height: 2;
}

.b2b-model-card--more {
    grid-template-columns: 92px minmax(0, 1fr) auto;
}

.b2b-model-card--more > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 36px;
    color: #102236;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease;
}

.b2b-model-card--more > a:hover {
    color: #d7192d;
}

.b2b-model-card--more > a span {
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

/* Mobile: horizontal slider */
@media (max-width: 767px) {
    .b2b-models {
        padding: 50px 0 48px;
        overflow-x: hidden;
    }

    .b2b-models__header {
        margin-bottom: 0;
    }

    .b2b-models__header p {
        line-height: 1.9;
    }

    .b2b-models-slider {
        margin-top: 44px;
    }

    /* One full card per slide, inset on both sides. Top padding for the
       overhanging icon, bottom padding for the card shadow. */
    .b2b-models__viewport.swiper {
        width: 100vw;
        max-width: 100vw;
        height: auto !important;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 46px 26px 24px !important;
        overflow: hidden;
    }

    .b2b-models__viewport.swiper .b2b-models__list.swiper-wrapper {
        flex-direction: row;
        gap: 0;
        align-items: stretch;
    }

    .b2b-models__viewport.swiper .b2b-model-card.swiper-slide {
        width: 100%;
        height: auto;
        margin: 0;
        box-sizing: border-box;
    }

    .b2b-models-slider .b2b-models__pagination,
    .b2b-models-slider .b2b-models__pagination.swiper-pagination,
    .b2b-models-slider .b2b-models__pagination.swiper-pagination-lock {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto !important;
        margin: 28px 0 0;
        padding: 0;
        gap: 8px;
        transform: none !important;
    }

    .b2b-models__pagination .swiper-pagination-bullet {
        width: 9px !important;
        height: 9px !important;
        margin: 0 !important;
        border-radius: 9999px !important;
        background: #CBD1E0 !important;
        opacity: 1 !important;
        transition: width .2s ease, background-color .2s ease;
    }

    .b2b-models__pagination .swiper-pagination-bullet-active {
        width: 24px !important;
        height: 9px !important;
        border-radius: 9999px !important;
        background: #3E4C7A !important;
    }

    .b2b-model-card,
    .b2b-model-card--more {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        grid-template-columns: none;
        width: 100%;
        min-height: 0;
        height: 100%;
        padding: 60px 18px 26px;
        border: 0;
        border-radius: 16px;
        text-align: center;
        box-shadow: 0 12px 34px rgba(16, 34, 54, .1);
    }

    .b2b-model-card > img {
        position: absolute;
        top: -42px;
        left: 50%;
        width: 72px;
        height: 72px;
        transform: translateX(-50%);
    }

    .b2b-model-card > div {
        text-align: center;
    }

    .b2b-model-card h3 {
        margin-bottom: 14px;
        font-size: 17px;
        line-height: 1.6;
    }

    .b2b-model-card p {
        font-size: 13px;
        line-height: 2;
    }

    .b2b-model-card--more > a {
        justify-content: center;
        margin: 16px 0 0;
        font-size: 13px;
    }
}

/*====================================
--------- Other Funds Modal ----------
====================================*/
.funds-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 100000;
}

.funds-modal.show {
    opacity: 1;
    visibility: visible;
}

.funds-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(240, 241, 246, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.funds-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    max-height: calc(100vh - 48px);
    transform: translateY(16px);
    transition: transform .3s ease;
}

.funds-modal.show .funds-modal__dialog {
    transform: translateY(0);
}

.funds-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.funds-modal__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #102236;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
}

.funds-modal__title i {
    color: #102236;
    font-size: 18px;
}

.funds-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    color: #fff;
    background: #C9CEDD;
    font-size: 20px;
    line-height: 1;
    transition: background-color .2s ease;
}

.funds-modal__close:hover {
    background: #A9B0C6;
}

.funds-modal__body {
    overflow-y: auto;
    padding: 26px 24px;
    border-radius: 20px;
    background: #E9EBF3;
    scrollbar-width: thin;
    scrollbar-color: #8C94A8 transparent;
}

.funds-modal__body::-webkit-scrollbar {
    width: 4px;
}

.funds-modal__body::-webkit-scrollbar-thumb {
    border-radius: 9999px;
    background: #8C94A8;
}

.funds-modal__list {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 54px;
    row-gap: 26px;
}

.funds-modal__item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 8px;
    align-items: center;
}

.funds-modal__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border: 1px solid rgba(16, 34, 54, 0.18);
    border-radius: 8px;
    color: #102236;
    background: #fff;
    font-size: 14px;
}

.funds-modal__item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.funds-modal__item-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.funds-modal__item-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #C4CAD8;
}

.funds-modal__item-title {
    color: #102236;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.7;
    white-space: nowrap;
    transition: color .2s ease;
}

.funds-modal__item:hover .funds-modal__item-title {
    color: #d7192d;
}

.funds-modal__item-desc {
    grid-column: 2;
    color: #687384;
    font-size: 13px;
    line-height: 1.9;
}

@media (max-width: 767px) {
    .funds-modal {
        padding: 20px 16px;
    }

    .funds-modal__dialog {
        max-width: 420px;
        max-height: calc(100vh - 40px);
    }

    .funds-modal__header {
        margin-bottom: 14px;
    }

    .funds-modal__title {
        font-size: 15px;
    }

    .funds-modal__body {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .funds-modal__list {
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 22px;
    }

    .funds-modal__item-title {
        font-size: 14px;
    }

    .funds-modal__item-desc {
        font-size: 12px;
    }
}

/*====================================
--------- Contact Request Modal -------
====================================*/
.contact-request-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 100001;
}

.contact-request-modal.show {
    opacity: 1;
    visibility: visible;
}

.contact-request-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(240, 241, 246, .76);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-request-modal__dialog {
    position: relative;
    width: min(100%, 816px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(12, 49, 72, .18);
    transform: translateY(14px) scale(.985);
    transition: transform .25s ease;
    scrollbar-width: thin;
}

.contact-request-modal.show .contact-request-modal__dialog {
    transform: translateY(0) scale(1);
}

.contact-request-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-request-modal__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #202535;
    font-size: 16px;
    font-weight: 800;
}

.contact-request-modal__title i {
    color: #202535;
    font-size: 18px;
}

.contact-request-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #aeb6d0;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.contact-request-modal__close:hover {
    background: #8f99bb;
    transform: rotate(8deg);
}

.contact-request-modal__close:focus-visible,
.contact-request-form__submit:focus-visible,
.contact-request-form input:focus-visible,
.contact-request-form textarea:focus-visible {
    outline: 3px solid rgba(83, 111, 255, .2);
    outline-offset: 2px;
}

.contact-request-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 10px;
    padding: 36px 24px;
    border-radius: 14px;
    background: #e9ebf3;
}

.contact-request-form__field {
    position: relative;
    display: block;
}

.contact-request-form__field--wide {
    grid-column: 1 / -1;
}

.contact-request-form__field > span {
    position: absolute;
    z-index: 1;
    top: -11px;
    right: 16px;
    padding: 0 5px;
    color: #8290b3;
    background: linear-gradient(to bottom, #e9ebf3 52%, #fff 52%);
    font-size: 13px;
    line-height: 22px;
    pointer-events: none;
}

.contact-request-form__field > span b {
    color: #8290b3;
    font-weight: 400;
}

.contact-request-form input,
.contact-request-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #c3cbdd;
    border-radius: 8px;
    color: #202535;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-request-form input {
    height: 48px;
    padding: 0 16px;
}

.contact-request-form textarea {
    min-height: 96px;
    padding: 14px 16px;
    line-height: 1.9;
    resize: vertical;
}

.contact-request-form input:hover,
.contact-request-form textarea:hover {
    border-color: #9faac3;
}

.contact-request-form input:focus,
.contact-request-form textarea:focus {
    border-color: #536fff;
    box-shadow: 0 0 0 2px rgba(83, 111, 255, .08);
    outline: none;
}

.contact-request-form__honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.contact-request-form__feedback {
    min-height: 24px;
    margin-top: 12px;
    color: #596796;
    font-size: 13px;
    line-height: 1.8;
}

.contact-request-form__feedback.is-success {
    color: #177245;
}

.contact-request-form__feedback.is-error {
    color: #c11d24;
}

.contact-request-form__actions {
    display: flex;
    justify-content: flex-start;
}

.contact-request-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 157px;
    min-height: 48px;
    padding: 11px 28px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #d22027;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.contact-request-form__submit:hover {
    background: #b8181e;
    transform: translateY(-1px);
}

.contact-request-form__submit:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.contact-request-form__submit i {
    display: none;
    font-size: 18px;
}

.contact-request-form.is-submitting .contact-request-form__submit span {
    display: none;
}

.contact-request-form.is-submitting .contact-request-form__submit i {
    display: inline-block;
}

@media (max-width: 640px) {
    .contact-request-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .contact-request-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 20px 16px;
        border-radius: 18px;
    }

    .contact-request-modal__header {
        margin-bottom: 18px;
    }

    .contact-request-form__fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 30px 14px;
    }

    .contact-request-form__field--wide {
        grid-column: auto;
    }

    .contact-request-form__actions {
        justify-content: stretch;
    }

    .contact-request-form__submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-request-modal,
    .contact-request-modal__dialog,
    .contact-request-modal__close,
    .contact-request-form__submit {
        transition: none;
    }
}