body {
    font-family: IRANSansWeb, sans-serif !important;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
main img {
    max-width: 100%;
    height: auto;
}

.header_back_right {
    position: absolute;
    right: 0;
    top: 0
}

.header_back_left {
    position: absolute;
    left: 0;
    top: 0
}

.title-header {
    font-size: 50px;
    color: white;
    word-spacing: -5px
}

.sub-title-header {
    font-size: 18px;
    color: white;
    margin-top: 24px;
}

.header-search-wrap {
    margin-top: 30px;
    display: inline-flex;
    align-items: stretch;
    width: 30%;
    max-width: 100%;
    height: 50px;
    background: #fff;
    border-radius: 80px;
    overflow: hidden;
    border: none;
}

.header-search {
    flex: 1;
    min-width: 0;
    height: 50px;
    border: none;
    padding: 0 24px 0 20px;
    border-radius: 0;
    font-size: 1rem;
}
.header-search:focus {
    outline: none;
}

.btn-header-search {
    background: black;
    font-family: IRANSansWeb, sans-serif !important;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 80px 0 0 80px;
    width: 70px;
    min-width: 70px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section1 {
    border-radius: 80px 80px 0 0;
    background: white;
    min-height: 100px;
    background-image: linear-gradient(#FEFEFF, #D7DADA);
}

.section1-card {
    border-radius: 32px;
    box-shadow: 0px 4px 5px #8b9ba1;
    min-height: 140px;
    background-image: linear-gradient(#E5E8ED, #D4D9DA);

    align-content: center;

}

.section1-plus {
    color: white;
    background-color: #399E95;
    border-radius: 50%;
    padding: 3px 10px;
    font-size: 18px;
    position: relative;
    font-weight: bold;
    top: 0px;
    right: 0px;

}

.section1-card-title {
    font-size: 14px;
    margin-top: 10px;
    color: var(--site-text, #181c32);
}

.section1-turn {
    position: relative;
    color: var(--site-text, #181c32);
    background: #FFFFFF3D;
    border-radius: 8px;
    border: 1px solid white;
    top: 10px;
    padding: 5px 7px;
}


.section2 {
    background: #D7DADA;
    min-height: 100px;


}

.section2-right-area {
    background-image: linear-gradient(to right, #CF5827, #FFA10B);
    border-radius: 0 30px 30px 0;
}


.section2-left-area {
    background-image: linear-gradient(to right, #CF5827, #FFA10B);
    border-radius: 30px 0 0 30px;
}

.section2-right-area img {
    position: absolute;
}

.section1-row {
    padding-top: 80px;
}


.color-white {
    color: white;
}

.banner-title {
    padding-top: 30px;
    padding-right: 40px;
    font-size: 32px;
    color: white;
    text-shadow: 2px 2px 6px black;
}

.banner-sub-title {
    padding-top: 5px;
    padding-right: 40px;
    font-size: 22px;
    color: white;
    text-shadow: 2px 2px 6px black;
}


.section2-turn {
    position: relative;
    color: var(--site-text, #181c32);
    background: #FFFFFF3D;
    border-radius: 8px;
    border: 1px solid white;
    top: 15px;
    right: 40px;
    padding: 5px 7px;
}

.nav-link {
    font-size: 15px;
    color: var(--site-text, #181c32);
}

.site-header {
    padding: 1rem clamp(0.75rem, 2.5vw, 1.75rem) 0;
    position: relative;
    z-index: 100;
}

.site-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--site-surface, #fff);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 0.65rem 1.25rem;
}

.site-header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.site-header-brand img {
    border-radius: 12px;
    object-fit: contain;
}

.site-header-brand-text {
    display: none;
    flex-direction: column;
    line-height: 1.3;
}

.site-header-brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--site-brand, #399E95);
}

.site-header-brand-sub {
    font-size: 0.75rem;
    color: var(--site-text-muted, #6b7280);
}

.site-header-nav {
    gap: 0.25rem;
}

.site-header-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header-nav .nav-link:hover {
    color: var(--site-brand, #399E95);
    background-color: var(--site-brand-soft, rgba(57, 158, 149, 0.12));
}

.site-header-nav .nav-link.active {
    color: var(--site-brand, #399E95) !important;
    font-weight: 600;
    background-color: var(--site-brand-soft, rgba(57, 158, 149, 0.16));
}

.site-header-actions {
    flex-shrink: 0;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--site-brand, #399E95);
    font-family: inherit;
    color: #fff !important;
    border: none;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-login:hover {
    background: #2f8a82 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.site-navbar-toggler {
    border: 1px solid var(--site-border, #e5e7eb);
    border-radius: 10px;
    padding: 0.4rem 0.55rem;
}

.site-navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem var(--site-brand-soft, rgba(57, 158, 149, 0.25));
}

.section2-bottom-area {
    background-image: linear-gradient(to bottom, #CF5827, #FFA10B);
    border-radius: 0 0 30px 30px;
    min-height: 170px;
}


.section2-top-area {
    background-image: linear-gradient(to bottom, #CF5827, #FFA10B);
    border-radius: 30px 30px 0 0;
}

.section2-bottom-area img {
    position: absolute;
}


.banner-title2 {
    padding-top: 20px;
    padding-right: 40px;
    font-size: 25px;
    color: white;
    text-shadow: 2px 2px 6px black;
}

.banner-sub-title2 {
    padding-top: 5px;
    padding-right: 40px;
    font-size: 18px;
    color: white;
    text-shadow: 2px 2px 6px black;
}


.section2-turn2 {
    position: relative;
    color: var(--site-text, #181c32);
    background: #FFFFFF3D;
    border-radius: 8px;
    border: 1px solid white;
    top: 20px;
    padding: 5px 7px;
}

.slide-content {
    padding-left: 20px !important;
    padding-right: 10px !important;
}

.swiper-slide {
    margin-left: 27px !important;
}

.section4-card-title {
    font-size: 16px;
    margin-top: 18px;
    margin-right: 10px;
    color: var(--site-text, #181c32);
}

.section-4-city {
    position: absolute;
    left: 0;
    background: #399E9529;
    color: #399E95;
    padding: 2px 10px;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.section4-col-7 {
    position: relative;
}

.section4-sub-card-title {
    font-size: 12px;
    margin-top: 10px;
    margin-right: 10px;
    text-align: justify;
    font-weight: normal;
    color: var(--site-text, #181c32);
}

.section4-turn {
    background: #399E95;
    display: block;
    color: white;
    margin-right: 8px;
    border-radius: 8px;
    border: 1px solid white;
    padding: 5px 7px;
    width: 100%;
}

.section4-turn-icon {
    color: white;
    position: relative;
    top: 1px;
    left: 0px;
}

.swiper-navBtn {
    position: absolute !important;
    top: 80px !important;

}

.swiper-navBtn-150 {
    top: 150px !important;
}

.swiper-navBtn-left {
    right: -20px !important;
}

.swiper-navBtn-right {
    left: -18px !important;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: '' !important;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: '' !important;
}

.section4-c {
    color: #399E95;
    background: #399E9529;
    padding: 6px;
    border-radius: 5px;
}

.back_ads {
    height: 174px;
    width: 70%;
}


.section5-card-title {
    font-size: 16px;
    padding-top: 18px;
    margin-right: 10px;
    color: var(--site-text, #181c32);
}

.section-5-city {
    position: absolute;
    left: 10px;
    background: var(--site-brand-soft, #399E9529);
    color: var(--site-brand, #399E95);
    padding: 2px 10px;
    border-radius: 10px;
    margin-top: 14px;
    font-weight: bold;
}

.section5-col-7 {
    position: relative;
}

.section5-sub-card-title {
    font-size: 12px;
    margin-top: 10px;
    margin-right: 10px;
    text-align: justify;
    font-weight: normal;
    color: var(--site-text, #181c32);
}

.section5-turn {
    background: #30313C;
    display: block;
    color: white;
    margin-right: 8px;
    border-radius: 8px;
    border: 1px solid white;
    padding: 5px 7px;
    width: 95%;
}

.section5-turn-icon {
    color: white;
    position: relative;
    top: 1px;
    left: 0px;
}

.section5 {
    background-image: linear-gradient(to bottom, #D7DADA, #FFFFFF);
    min-height: 100px;
}

.section5 h2,
.section5 h2.text-center,
.section5 p.text-center {
    color: var(--site-text, #181c32);
}

.section5-slide-body {
    background-color: var(--site-surface, #ffffff);
    color: var(--site-text, #181c32);
    border-radius: 30px;
    position: relative;
    top: -45px;
}

.section5-slide-body .section5-card-title,
.section5-slide-body .section5-sub-card-title {
    color: inherit;
}

.section6 {
    background: var(--site-surface, #ffffff);
    min-height: 100px;
}

.section6-card {
    border-radius: 30px;
    box-shadow: 0 4px 5px #b1c2c8;
    background: var(--site-surface, #ffffff);
    color: var(--site-text, #181c32);
    padding: 0 1rem 1.5rem;
}

.section6-card h3,
.section6-card p {
    color: inherit;
}

.site-footer {
    padding: 0 clamp(0.75rem, 2.5vw, 1.75rem) 1.25rem;
    margin-top: 0.5rem;
}

.site-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--site-surface, #fff);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 1.5rem 1rem;
}

.site-footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
}

.site-footer-brand img {
    border-radius: 12px;
    object-fit: contain;
}

.site-footer-brand-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--site-brand, #399E95);
    line-height: 1.3;
}

.site-footer-brand-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--site-text-muted, #6b7280);
    line-height: 1.4;
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    width: 100%;
}

.site-footer-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--site-text, #374151);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.site-footer-nav a:hover {
    color: var(--site-brand, #399E95);
}

.site-footer-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
    margin: 1rem 0 0.75rem;
}

.site-footer-bottom {
    text-align: center;
}

.site-footer-bottom span {
    font-size: 0.75rem;
    color: var(--site-text-muted, #9ca3af);
}

/* Tablet */
@media (max-width: 991.98px) {
    .title-header {
        font-size: 38px;
    }
    .sub-title-header {
        font-size: 16px;
    }
    .section1-row {
        padding-top: 40px;
    }
    .section1-card-title {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
    }
    .title-header {
        font-size: 22px;
        line-height: 1.4;
        word-spacing: -1px;
    }
    .sub-title-header {
        font-size: 14px;
        margin-top: 16px;
        line-height: 1.5;
        word-spacing: 0;
    }
    header.text-center.mt-20.mb-20 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    .header-search-wrap {
        width: 100%;
        margin-top: 20px;
        height: 48px;
    }
    .header-search,
    .btn-header-search {
        height: 48px;
        font-size: 16px; /* prevents iOS zoom on focus */
    }
    .btn-header-search {
        min-width: 56px;
    }
    .header_back_left,
    .header_back_right {
        width: 60%;
        max-width: 200px;
    }
    .section1-row {
        padding-top: 20px;
    }
    .section1-card {
        min-height: 120px;
        padding: 10px;
    }
    .section1-card .col-7,
    .section1-card .col-5 {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .section1-card-title {
        font-size: 13px;
        margin-top: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .section1-turn {
        font-size: 12px;
        padding: 8px 10px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .banner-title2 {
        font-size: 18px;
        padding-right: 16px;
        padding-left: 16px;
    }
    .banner-sub-title2 {
        font-size: 14px;
        padding-right: 16px;
        padding-left: 16px;
    }
    .section2-bottom-area {
        min-height: 160px;
        padding-bottom: 20px;
    }
    .section2-turn2 {
        padding: 10px 14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .slide-content {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .section4 .row.pr-10,
    .section5 .row.pr-10 {
        padding-right: 8px;
    }
    .section4 .card .row .col-7,
    .section4 .card .row .col-5,
    .section5 .card .row .col-12 {
        padding-left: 6px;
        padding-right: 6px;
    }
    .section4-col-7 {
        padding-left: 8px;
        padding-right: 8px;
    }
    .section4-sub-card-title,
    .section5-sub-card-title {
        padding-left: 4px;
        padding-right: 4px;
    }
    .section4-card-title,
    .section5-card-title {
        font-size: 14px;
    }
    .section4-sub-card-title,
    .section5-sub-card-title {
        font-size: 11px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .section4-turn,
    .section5-turn {
        padding: 10px;
        min-height: 44px;
    }
    .swiper-navBtn,
    .swiper-navBtn-150 {
        top: 50% !important;
        transform: translateY(-50%);
    }
    .swiper-navBtn-left {
        right: 4px !important;
    }
    .swiper-navBtn-right {
        left: 4px !important;
    }
    .section6 .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
    .section6 h3 {
        font-size: 1rem;
    }
    .section6 p {
        font-size: 14px;
        line-height: 1.6;
    }
    .section2.pt-20,
    .section5.pt-20 {
        padding-top: 1.5rem !important;
    }
    .section4 .card,
    .section5 .card {
        overflow: hidden;
    }
    .section2.pt-20 h2.text-center,
    .section5.pt-20 h2.text-center {
        font-size: 1.25rem;
    }
    .section2.pt-20 p.text-center,
    .section5.pt-20 p.text-center {
        font-size: 14px;
    }
    .nav-link {
        text-align: right;
        padding: 12px 8px;
    }
    .site-header {
        padding: 0.75rem 0.5rem 0;
    }

    .site-header-inner {
        border-radius: 16px;
        padding: 0.75rem 1rem;
    }

    .site-header-nav .nav-link {
        text-align: right;
        padding: 0.65rem 0.5rem;
    }

    .site-header-actions {
        width: 100%;
        justify-content: space-between;
        padding-top: 0.5rem;
        border-top: 1px solid var(--site-border, #e5e7eb);
    }

    .site-navbar-toggler {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-login {
        flex: 1;
        justify-content: center;
    }
    .site-footer-inner {
        padding: 1rem 1rem 0.85rem;
        border-radius: 16px;
    }

    .site-footer-top {
        flex-direction: column;
        text-align: center;
    }

    .site-footer-brand {
        justify-content: center;
    }

    .site-footer-nav {
        gap: 0.5rem 1rem;
    }

    .site-footer-nav a {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .title-header {
        font-size: 20px;
    }
    .sub-title-header {
        font-size: 13px;
    }
    .header_back_left,
    .header_back_right {
        width: 50%;
    }
    .section1-card .col-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    .section1-card .col-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
}

/* فاصله و عرض صفحات سایت (لیست، جزئیات، درباره) */
.site-main {
    padding: 1rem clamp(0.75rem, 2.5vw, 1.75rem) 2rem;
}

.site-page-container,
#kt_app_content_container.site-page-container {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 2.5vw, 1.75rem);
    padding-right: clamp(1rem, 2.5vw, 1.75rem);
    background: var(--site-surface, #fff);
    color: var(--site-text, inherit);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

#kt_app_content_container.site-page-container {
    min-height: 50vh;
}

#kt_app_content_container .row.flex-nowrap {
    flex-wrap: wrap !important;
    margin-left: 0;
    margin-right: 0;
}

#kt_app_content_container .row.flex-nowrap > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (min-width: 1200px) {
    #kt_app_content_container .row.flex-nowrap {
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 575.98px) {
    .site-main {
        padding: 0.75rem 0.5rem 1.5rem;
    }

    .site-page-container,
    #kt_app_content_container.site-page-container {
        border-radius: 16px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* تم سراسری سایت — هماهنگ با Metronic (data-theme روی html) */
body.site-page {
    --site-brand: #399E95;
    --site-brand-soft: rgba(57, 158, 149, 0.16);
    --site-outer-bg: #399E95;
    --site-surface: #ffffff;
    --site-surface-2: #eff2f5;
    --site-text: #181c32;
    --site-text-muted: #6b7280;
    --site-border: #e5e7eb;
    background-color: var(--site-outer-bg) !important;
    color: var(--site-text);
}

[data-theme="dark"] body.site-page {
    --site-outer-bg: #1a3835;
    --site-surface: #1e1e2d;
    --site-surface-2: #2b2b40;
    --site-text: #ffffff;
    --site-text-muted: #92929f;
    --site-border: #323248;
    --site-brand-soft: rgba(57, 158, 149, 0.28);
    --bs-card-bg: #2b2b40;
    color-scheme: dark;
}

body.site-page .site-navbar {
    background: transparent !important;
    padding: 0;
}

body.site-page .site-header-nav .nav-link,
body.site-page .navbar-light .site-header-nav .nav-link {
    color: var(--site-text);
}

@media (min-width: 992px) {
    .site-header-brand-text {
        display: flex;
    }

    .site-header-actions {
        padding-right: 0.25rem;
    }
}

body.site-page .site-footer-brand-title {
    color: var(--site-brand);
}

body.site-page .site-footer-nav a {
    color: var(--site-text);
}

body.site-page .site-footer-brand-sub,
body.site-page .site-footer-bottom span {
    color: var(--site-text-muted);
}

body.site-page .site-footer-nav a:hover {
    color: var(--site-brand);
}

[data-theme="dark"] body.site-page .text-dark {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .text-muted {
    color: var(--bs-secondary-color) !important;
}

[data-theme="dark"] body.site-page .bg-light,
[data-theme="dark"] body.site-page .bg-white,
[data-theme="dark"] body.site-page .card.bg-light {
    background-color: var(--bs-gray-100) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section6-card {
    background: var(--bs-gray-100) !important;
    color: var(--bs-body-color) !important;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body.site-page .section6-card h3,
[data-theme="dark"] body.site-page .section6-card p {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .card:not(.bg-primary):not(.bg-success):not(.bg-danger):not(.bg-warning):not(.bg-info) {
    --bs-card-bg: #2b2b40 !important;
    background-color: #2b2b40 !important;
    color: #ffffff !important;
    border-color: #323248 !important;
}

[data-theme="dark"] body.site-page .card.shadow-sm {
    box-shadow: var(--bs-box-shadow-sm) !important;
}

[data-theme="dark"] body.site-page .site-header-inner {
    background: #2b2b40 !important;
    border: 1px solid #323248;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body.site-page .site-header-nav .nav-link,
[data-theme="dark"] body.site-page .navbar-light .site-header-nav .nav-link {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .site-header-nav .nav-link:hover,
[data-theme="dark"] body.site-page .site-header-nav .nav-link.active {
    background-color: var(--site-brand-soft) !important;
}

[data-theme="dark"] body.site-page .site-navbar-toggler {
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .text-secondary {
    color: var(--bs-secondary-color) !important;
}

[data-theme="dark"] body.site-page .nav-pills .nav-link {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .nav-link.active {
    color: var(--bs-primary) !important;
}

[data-theme="dark"] body.site-page .form-control,
[data-theme="dark"] body.site-page .form-select,
[data-theme="dark"] body.site-page .header-search {
    background-color: var(--bs-gray-200);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .header-search::placeholder {
    color: var(--bs-secondary-color);
}

[data-theme="dark"] body.site-page .header-search-wrap {
    background: var(--bs-gray-200);
}

[data-theme="dark"] body.site-page .btn-secondary {
    background-color: var(--bs-gray-300);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .btn-link {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page hr,
[data-theme="dark"] body.site-page .border-dashed,
[data-theme="dark"] body.site-page .border-gray-600 {
    border-color: var(--bs-border-color) !important;
}

[data-theme="dark"] body.site-page .badge.bg-light,
[data-theme="dark"] body.site-page .badge.bg-white {
    background-color: var(--bs-gray-300) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .accordion-item {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .accordion-button {
    background-color: var(--bs-gray-200);
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .accordion-button:not(.collapsed) {
    background-color: var(--bs-gray-300);
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .list-group-item {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .site-page-container,
[data-theme="dark"] body.site-page #kt_app_content_container.site-page-container {
    background: #1e1e2d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body.site-page .site-footer-inner {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body.site-page .site-footer-divider {
    background: linear-gradient(to left, transparent, var(--bs-border-color) 20%, var(--bs-border-color) 80%, transparent);
}

[data-theme="dark"] body.site-page .section1 {
    background: var(--site-surface);
    background-image: linear-gradient(var(--site-surface), var(--site-surface-2));
}

[data-theme="dark"] body.site-page .section1-card {
    background-image: linear-gradient(var(--bs-gray-200), var(--bs-gray-300));
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body.site-page .section1-card-title,
[data-theme="dark"] body.site-page .section4-card-title,
[data-theme="dark"] body.site-page .section5-card-title,
[data-theme="dark"] body.site-page .section4-sub-card-title,
[data-theme="dark"] body.site-page .section5-sub-card-title {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .section1-turn,
[data-theme="dark"] body.site-page .section2-turn,
[data-theme="dark"] body.site-page .section2-turn2 {
    color: var(--bs-body-color);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .section2 {
    background: var(--site-surface-2);
}

[data-theme="dark"] body.site-page .section5 {
    background-image: linear-gradient(to bottom, var(--site-surface-2), var(--site-surface));
}

[data-theme="dark"] body.site-page .section5 h2,
[data-theme="dark"] body.site-page .section5 h2.text-center,
[data-theme="dark"] body.site-page .section5 p.text-center {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section5-slide-body {
    background-color: var(--bs-gray-100) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section5-slide-body .section5-card-title,
[data-theme="dark"] body.site-page .section5-slide-body .section5-sub-card-title {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section5 .card.swiper-slide {
    background-color: var(--bs-gray-200) !important;
}

[data-theme="dark"] body.site-page .section6 {
    background: var(--site-surface);
}

[data-theme="dark"] body.site-page .section-4-city,
[data-theme="dark"] body.site-page .section4-c {
    color: var(--site-brand);
    background: var(--site-brand-soft);
}

[data-theme="dark"] body.site-page .section-5-city {
    color: var(--site-brand);
    background: var(--site-brand-soft);
}

[data-theme="dark"] body.site-page .section4-col-7.bg-white {
    background-color: var(--bs-gray-100) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section4-col-7 .section4-card-title,
[data-theme="dark"] body.site-page .section4-col-7 .section4-sub-card-title {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section2 h2.text-center,
[data-theme="dark"] body.site-page .section2 p.text-center {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page input[style*="#dddddd"],
[data-theme="dark"] body.site-page select[style*="#dddddd"],
[data-theme="dark"] body.site-page textarea[style*="#dddddd"] {
    border-color: var(--bs-border-color) !important;
    background-color: var(--bs-gray-200) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .modal-content {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .modal-header,
[data-theme="dark"] body.site-page .modal-footer {
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .dropdown-menu {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .dropdown-item {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .dropdown-item:hover {
    background-color: var(--bs-gray-200);
}

[data-theme="dark"] body.site-page .pagination .page-link {
    background-color: var(--bs-gray-200);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .pagination .page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* --- متن سراسری: صفحات داخلی، لیست‌ها، درباره، جزئیات --- */
body.site-page .site-main,
body.site-page .site-page-container,
body.site-page #kt_app_content_container.site-page-container {
    color: var(--site-text);
}

body.site-page .site-page-container :is(h1, h2, h3, h4, h5, h6, p, li, label, .fw-medium, .fw-semibold),
body.site-page #kt_app_content_container.site-page-container :is(h1, h2, h3, h4, h5, h6, p, li, label, .fw-medium, .fw-semibold) {
    color: inherit;
}

body.site-page main .section1 h2,
body.site-page main .section1 h3,
body.site-page main .section4 h2,
body.site-page main .section4 h3,
body.site-page main .section6 h2,
body.site-page main .section6 h3 {
    color: var(--site-text);
}

body.site-page .section1 .text-center,
body.site-page .section4 .text-center,
body.site-page .section6 .text-center {
    color: var(--site-text);
}

body.site-page .text-dark {
    color: var(--site-text) !important;
}

body.site-page .text-black {
    color: var(--site-text) !important;
}

body.site-page .bg-gray-300 {
    background-color: var(--site-surface-2, #e4e6ef) !important;
    color: var(--site-text);
}

body.site-page .bg-gray-300 .fw-medium,
body.site-page .bg-gray-300 .small {
    color: inherit;
}

[data-theme="dark"] body.site-page .text-black {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .site-page-container :is(h1, h2, h3, h4, h5, h6),
[data-theme="dark"] body.site-page #kt_app_content_container.site-page-container :is(h1, h2, h3, h4, h5, h6) {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .site-page-container p,
[data-theme="dark"] body.site-page .site-page-container li,
[data-theme="dark"] body.site-page .site-page-container label,
[data-theme="dark"] body.site-page .site-page-container .fw-medium,
[data-theme="dark"] body.site-page .site-page-container .fw-semibold,
[data-theme="dark"] body.site-page #kt_app_content_container.site-page-container p,
[data-theme="dark"] body.site-page #kt_app_content_container.site-page-container .fw-medium {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .bg-gray-300 {
    background-color: var(--bs-gray-200) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page main .section1 h2,
[data-theme="dark"] body.site-page main .section1 h3,
[data-theme="dark"] body.site-page main .section4 h2,
[data-theme="dark"] body.site-page main .section6 h2,
[data-theme="dark"] body.site-page main .section6 h3 {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section1 .text-center,
[data-theme="dark"] body.site-page .section4 .text-center {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .card .card-body,
[data-theme="dark"] body.site-page .card .card-body p,
[data-theme="dark"] body.site-page .card .card-body span:not(.badge) {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .nav-pills .nav-link.active {
    color: var(--bs-primary) !important;
}

[data-theme="dark"] body.site-page .btn-outline-secondary,
[data-theme="dark"] body.site-page .btn-light {
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .form-check-label {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .cursor-pointer.text-dark {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page a.text-dark {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page a.text-dark:hover {
    color: var(--bs-primary) !important;
}

/* صفحات لیست پزشکان و مراکز درمانی */
body.site-page .site-listing-page {
    color: var(--site-text);
}

body.site-page .site-listing-page .site-filter-panel,
body.site-page .site-listing-page .site-filter-toolbar {
    background-color: var(--site-surface-2, #eff2f5) !important;
    color: var(--site-text, #181c32) !important;
    border: 1px solid var(--site-border, #e5e7eb);
}

body.site-page .site-listing-page .site-filter-panel h5,
body.site-page .site-listing-page .site-filter-panel .form-label,
body.site-page .site-listing-page .site-filter-panel .form-check-label,
body.site-page .site-listing-page .site-filter-panel .nav-link,
body.site-page .site-listing-page .site-filter-toolbar .card-body,
body.site-page .site-listing-page .site-filter-toolbar span {
    color: inherit;
}

body.site-page .site-listing-page .site-filter-input-addon {
    background-color: var(--site-surface, #fff) !important;
    border-color: var(--site-border, #e5e7eb);
    color: var(--site-text-muted, #6b7280);
}

body.site-page .site-listing-page .site-filter-panel .form-control {
    background-color: var(--site-surface, #fff);
    color: var(--site-text);
    border-color: var(--site-border, #e5e7eb);
}

body.site-page .site-listing-page .site-listing-chip {
    background-color: var(--site-surface-2, #eff2f5);
    color: var(--site-text);
}

body.site-page .site-listing-page .site-listing-chip--active {
    background: linear-gradient(to bottom right, rgba(17, 84, 185, 0.5), rgba(10, 129, 162, 0.5)) !important;
}

body.site-page .site-listing-page .site-listing-chip--active .fw-bold,
body.site-page .site-listing-page .site-listing-chip--active span {
    color: #fff !important;
}

body.site-page .site-listing-page .site-filter-dropdown-btn {
    border: 1px solid var(--site-border, #ddd) !important;
    background-color: var(--site-surface, #fff) !important;
    color: var(--site-text) !important;
}

body.site-page .site-listing-page .site-filter-panel .nav-pills .nav-link {
    color: var(--site-text) !important;
    background-color: transparent !important;
    font-size: 0.95rem !important;
    border-radius: 0.75rem !important;
}

body.site-page .site-listing-page .site-filter-panel .nav-pills .nav-link.active {
    color: var(--bs-primary, #009ef7) !important;
    background-color: var(--site-surface, #fff) !important;
    border-bottom: 3px solid var(--bs-primary, #009ef7) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-toolbar,
[data-theme="dark"] body.site-page .site-listing-page .card.site-filter-panel,
[data-theme="dark"] body.site-page .site-listing-page .card.site-filter-toolbar {
    --bs-card-bg: #2b2b40 !important;
    background-color: #2b2b40 !important;
    color: #ffffff !important;
    border-color: #323248 !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel h5,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .form-label,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .form-check-label,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .nav-link,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .fw-bold,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-toolbar,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-toolbar .card-body {
    color: var(--bs-body-color, #fff) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .text-muted {
    color: var(--bs-secondary-color, #92929f) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-listing-chip:not(.site-listing-chip--active) {
    background-color: var(--bs-gray-200, #2b2b40) !important;
    color: var(--bs-body-color, #fff) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-dropdown-btn,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .form-control {
    background-color: #323248 !important;
    border-color: #474761 !important;
    color: #ffffff !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-input-addon {
    background-color: #323248 !important;
    border-color: #474761 !important;
    color: #ffffff !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .nav-pills .nav-link:not(.active) {
    color: var(--bs-gray-700, #92929f) !important;
    background-color: transparent !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .nav-pills .nav-link.active {
    color: var(--bs-primary, #009ef7) !important;
    background-color: var(--bs-gray-300, #323248) !important;
    border-bottom-color: var(--bs-primary, #009ef7) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .btn-light {
    background-color: var(--bs-gray-300) !important;
    color: var(--bs-body-color) !important;
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .site-listing-page #filtersModal .modal-content {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .site-listing-page #filtersModal .site-filter-panel {
    --bs-card-bg: #2b2b40 !important;
    background-color: #2b2b40 !important;
    color: #ffffff !important;
    border-color: #323248 !important;
}

[data-theme="dark"] body.site-page .site-listing-page #filtersModal .btn-close {
    filter: invert(1) grayscale(100%);
}

[data-theme="dark"] body.site-page .site-listing-page .dropdown-menu {
    background-color: var(--bs-body-bg);
}

[data-theme="dark"] body.site-page .site-listing-page .dropdown-item {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .site-listing-page .alert-info {
    background-color: rgba(var(--bs-info-rgb, 114, 57, 234), 0.15);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .site-listing-page .pagination .page-link {
    background-color: var(--bs-gray-200);
    color: var(--bs-body-color);
}
