* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
  font-family: 'myFont';
  src: url('../fonts/RAY-EXTRABOLD.TTF');
}
@font-face {
  font-family: 'myFontBold';
  src: url('../fonts/RAY-EXTRABLACK.TTF');
}
.hero{
    font-family: 'myFontBold';

}
.pr{

    font-family: 'myFontBold';
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #f3f8f6;
    color: #173c35;
    font-family: 'myFont';
    overflow-x: hidden;
}


/* =========================
   PAGE
========================= */

.page {
    position: relative;
    width: 100%;
    min-height: 100vh;

    padding: 18px 25px;

    display: flex;
    flex-direction: column;

    gap: 15px;
}

 .page2 {
  
    padding: 18px 25px;

     flex-direction: column;

    gap: 15px;
}


/* برگ‌های تزئینی گوشه‌ی پایین‌سمت‌چپ */

.corner-leaves {
    position: fixed;
    z-index: 0;
    left: -10px;
    bottom: -10px;

    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.corner-leaves i {
    color: #cfe4d9;
    font-size: 70px;
    transform: rotate(-15deg);
    margin-left: -22px;
}

.corner-leaves i:last-child {
    font-size: 46px;
    transform: rotate(10deg) translateY(6px);
    color: #dcede3;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    min-height: 64px;
    flex-shrink: 0;

    padding: 10px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;

    position: relative;
    z-index: 999;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 22px 22px 22px 22px;

    box-shadow: 0 6px 24px rgba(30, 70, 60, .06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.logo-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #e2f0eb;
    color: #176b57;
}

nav {
    display: flex;
    gap: clamp(12px, 2vw, 28px);
}

nav a {
    text-decoration: none;
    color: #284d45;
    font-size: clamp(10px, .8vw, 13px);
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language,
.login {
    border: none;
    cursor: pointer;
}

.language {
    display: flex;
    align-items: center;
    gap: 6px;

    background: transparent;
    color: #284d45;
    font-size: 15px;
    
        
    
}

.language i {
    font-size: 8px;
    color: #8a9995;
}

.login {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 9px 17px;
    color: white;
    background: #176b57;
    border-radius: 11px;
    font-size: 13px;
    font-family: 'myFont';
}

/* دکمه همبرگری - فقط موبایل */
.menu-toggle {
    display: none;
    width: 38px;
    height: 38px;

    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 11px;

    background: #e2f0eb;
    color: #176b57;
    font-size: 16px;
    cursor: pointer;
}


/* =========================
   MAIN / HERO
========================= */

.main {
    position: relative;
    z-index: 1;

    flex: 1;
    min-height: 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    align-items: stretch;
    direction: ltr;
}

.content {
    grid-column: 1;

    direction: rtl;
    text-align: right;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 25px 40px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 12px;
    margin-bottom: 12px;

    border-radius: 20px;
    background: rgba(255, 255, 255, .8);
    color: #176b57;
    font-size: 10px;
    width: fit-content;
}

.content h1 {
    font-size: clamp(28px, 4vw, 55px);
    line-height: 1.3;
    color: #125641;
    margin-bottom: 12px;
}

.content p {
    max-width: 450px;
    color: #71817d;
    font-size: clamp(11px, 1vw, 14px);
    line-height: 2;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 11px;
    display: inline-block;
}

.btn.green {
    background: #176b57;
    color: white;
}

.btn.white {
    background: white;
    color: #176b57;
    border: 1px solid #dce8e4;
}


/* =========================
   VISUAL / IMAGE
========================= */

.visual {
    grid-column: 2;

    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;

    /* عمداً clip نمی‌شه تا برگ و حلقه بتونن از لبه بیرون بزنن */
    overflow: visible;
}

/* حلقه‌ی تزئینی دور عکس */

.ring-decor {
    position: absolute;
    z-index: 0;

    left: -8%;
    top: 50%;
    transform: translateY(-50%);

    width: 62%;
    aspect-ratio: 1;

    pointer-events: none;
}

.ring-decor svg {
    width: 100%;
    height: 100%;
}

.ring-dot {
    position: absolute;
    border-radius: 50%;
    background: #176b57;
}

.ring-dot-1 {
    width: 8px;
    height: 8px;
    left: 3%;
    top: 12%;
}

.ring-dot-2 {
    width: 6px;
    height: 6px;
    left: 8%;
    bottom: 6%;
    background: #cfe0d8;
}

.visual-media {
    margin-top: 20px;
    height: 350px;
    position: absolute;
    z-index: 1;
    inset: 0;

    overflow: hidden;
    border-radius: 160px 0px 10px 160px;

    background: #dcebe5;
}

.visual-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visual-media::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg, rgba(243, 248, 246, .35), transparent 45%);
    pointer-events: none;
}


/* کارت خدمات روی عکس */

.services-card {
    position: absolute;
    z-index: 10;

    right: 8%;
    top: 14%;

    width: min(190px, 42%);
    padding: 14px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 22px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);

    direction: rtl;
}

.service {
    aspect-ratio: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 6px;

    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    text-align: center;

    transition: all .25s ease;
}

.service-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #edf8f1;
    color: #176b57;
    font-size: 13px;

    transition: all .25s ease;
}

.service:hover {
    background: #ffffff;
}

.service:hover .service-icon {
    background: #176b57;
    color: #fff;
}

.service small {
    font-size: 8.5px;
    line-height: 1.4;
    color: #176b57;
}


/* برگ شناور روی لبه عکس */

.city-leaf {
    position: absolute;
    z-index: 20;

    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #176b57;
    color: #fff;
    font-size: 26px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);

    animation: leafFloat 3.5s ease-in-out infinite;
}

@keyframes leafFloat {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 10px)); }
}


/* =========================
   BOTTOM
========================= */

.bottom {
    position: relative;
    z-index: 1;

    flex-shrink: 0;

    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 25px;

    padding: 24px 30px;
 
    direction: ltr;
}


/* STATS — سمت راست در نمایش (ستون اول در DOM) */

.stats {
    grid-column: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    direction: rtl;
    overflow: hidden;
}

.stats-title {
    margin-bottom: 10px;
}

.stats-title h2 {
    font-size: 17px;
}

.stats-title span {
    color: #8a9995;
    font-size: 9px;
}

.statsSwiper {
    width: 100%;
    overflow: hidden;
}

.stat {
    min-height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(40, 80, 70, .06);
}

.stat b {
    color: #176b57;
    font-size: 15px;
}

.stat i {
    color: #176b57;
    font-size: 15px;
}

.stat span {
    display: block;
    color: #8a9995;
    font-size: 9px;
    margin-top: 5px;
}

.stats-pagination {
    position: static !important;
    width: 100% !important;
    margin-top: 0px;

    display: flex;
    justify-content: center;
    gap: 5px;
}

.stats-pagination .swiper-pagination-bullet {
    width: 7px !important;
    height: 7px !important;
    margin: 0 !important;
    background: #b8ccc5;
    opacity: 1;
}

.stats-pagination .swiper-pagination-bullet-active {
    background: #176b57;
}


/* MAP — سمت چپ در DOM ولی سمت چپ نمایش (ستون دوم) */

.map {
    grid-column: 2;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    gap: 15px;

    direction: ltr;
}

.map-info {
    direction: rtl;
    text-align: right;
    position: relative;
    z-index: 2;
}

.map-info h2 {
    font-size: 17px;
    margin-bottom: 4px;
}

.map-info span {
    color: #899793;
    font-size: 9px;
}

.selects {
    display: flex;
    gap: 7px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.selects select {
    width: 110px;
    padding: 8px;
    border: 1px solid #e1e9e6;
    border-radius: 10px;
    background: white;
    font-size: 9px;
}

.map button {
    padding: 9px 18px;
    border: none;
    border-radius: 10px;
    background: #176b57;
    color: white;
    font-size: 10px;
    cursor: pointer;
}

.map-illustration {
    position: relative;
    flex-shrink: 0;

    width: 150px;
    height: 150px;

    margin-inline-start: auto;
}

.map-illustration svg {
    width: 100%;
    height: 100%;
}

.map-pin {
    position: absolute;
    left: 55%;
    top: 45%;
    transform: translate(-50%, -100%);

    color: #176b57;
    font-size: 20px;
}


/* =========================
   RESPONSIVE — تبلت
========================= */

@media (max-width: 1100px) {

    .content {
        padding: 20px 30px;
    }




    .services-card {
        width: min(170px, 45%);
        right: 6%;
        padding: 12px;
    }

    .bottom {
        padding: 18px 22px;
        gap: 18px;
    }

    .map-illustration {
        width: 120px;
        height: 120px;
    }
}


/* =========================
   RESPONSIVE — نمایش عمودی / موبایل بزرگ
========================= */

@media (max-width: 860px) {

    .page {
        padding: 14px 16px;
        gap: 12px;
    }

    nav {
        display: none;
    }

    nav.open {
        display: flex;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: center;
        gap: 14px;

        padding: 18px;

        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(255, 255, 255, .8);
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(30, 70, 60, .12);
    }

    nav.open a {
        font-size: 14px;
    }

    .menu-toggle {
        display: flex;
    }

    .main {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .content {
        grid-column: 1;
        text-align: center;
        align-items: center;
        padding: 10px 8px 0;
    }

    .badge {
        margin-left: auto;
        margin-right: auto;
    }

    .content p {
        margin-left: auto;
        margin-right: auto;
    }

    .buttons {
        justify-content: center;
    }

    .visual {
        grid-column: 1;
        height: 420px;
        min-height: 0;
    }

    .ring-decor {
        width: 55%;
        left: 4%;
    }

    .visual-media {
        border-radius: 32px;
    }

    .services-card {
        width: 78%;
        right: 8%;
        top: 10%;
    }

    .bottom {
        grid-template-columns: 1fr;
        border-radius: 24px;
        padding: 20px;
    }

    .stats {
        grid-column: 1;
    }

    .map {
        grid-column: 1;
        flex-direction: column;
        text-align: center;
        margin-top: 10px;
    }

    .map-info {
        text-align: center;
        width: 100%;
    }

    .selects {
        justify-content: center;
    }

    .map-illustration {
        margin-inline-start: 0;
    }

    .corner-leaves {
        display: none;
    }
}


/* =========================
   RESPONSIVE — موبایل
========================= */

@media (max-width: 520px) {

    .header {
        padding: 8px 14px;
    }

    .language-text  {
        display: none !important;
    }
    .language{
        width: 60px !important;
    }

    .login {
        padding: 8px 12px;
        font-size: 11px;
    }

    .language {
        display: none;
    }

    .content h1 {
        font-size: 30px;
    }

    .visual {
        height: 340px;
    }

    .visual-media {
        border-radius: 24px;
    }

    .ring-decor {
        width: 60%;
    }

    .services-card {
        width: 84%;
        right: 8%;
        top: 8%;
        padding: 10px;
        gap: 8px;
    }

    .service-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .service small {
        font-size: 8px;
    }

    .city-leaf {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .stat {
        min-height: 65px;
    }

    .map-illustration {
        width: 100px;
        height: 100px;
    }
}

/* خبر روی عکس */

.news-slider {
    position: absolute;
    z-index: 10;

    right: 3%;
    top: 60%;
    transform: translateY(-50%);

    width: min(300px, 80%);
    padding: 16px;

    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);

    direction: rtl;
}

.news-header {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #176b57;
}

.newsSwiper {
    width: 100%;
    overflow: hidden;
}

.news-card {
    min-height: 140px;
    padding: 16px;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    background: rgba(255, 255, 255, 0.65);
    border-radius: 18px;
}

.news-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf8f1;
    color: #176b57;
    border-radius: 13px;
    font-size: 21px;

    transition: all .3s ease;
}

.news-card:hover .news-icon {
    background: #176b57;
    color: #fff;
    transform: translateY(-3px);
}

.news-content {
    min-width: 0;
}

.news-date {
    display: block;
    margin-bottom: 6px;
    color: #8a9995;
    font-size: 9px;
}

.news-content h3 {
    margin: 0 0 7px;
    color: #244d43;
    font-size: 13px;
    line-height: 1.8;
}

.news-content p {
    margin: 0;
    color: #7b8985;
    font-size: 9px;
    line-height: 1.8;
}

.news-controls {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-pagination {
    position: static !important;
    width: auto !important;
}

.news-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #b8ccc5;
    opacity: 1;
}

.news-pagination .swiper-pagination-bullet-active {
    width: 18px;
    border-radius: 10px;
    background: #176b57;
}

.mapsvg-region {
    fill: #176b5762;
    transition: fill 0.2s ease;
    cursor: pointer;
}

.mapsvg-region:hover {
    fill: #176b57 !important;
}










 

 
.visual {
    margin-top: 0  !important;
}

.visual-media {
    top: 0  !important;
}
.page {
    padding: 18px 25px 0 !important;
    gap: 0 !important;
}


.statsSwiper {
    width: 100%;
    height: 200px;

    display: flex;
    align-items: center;
}

.statsSwiper .swiper-wrapper {
    align-items: center;
}

.statsSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   BEAUTIFUL STATS CARDS
========================= */

.statsSwiper {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.statsSwiper .swiper-wrapper {
    align-items: center;
}

.statsSwiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.stat {
    position: relative;

    width: 100%;
    height: 105px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(239, 248, 244, 0.92)
        );

    border: 1px solid rgba(23, 107, 87, 0.08);
    border-radius: 22px;

    box-shadow:
        0 8px 25px rgba(40, 80, 70, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

/* دایره‌ی تزئینی گوشه کارت */
.stat::before {
    content: "";

    position: absolute;

    width: 75px;
    height: 75px;

    left: -30px;
    bottom: -35px;

    border-radius: 50%;

    background: rgba(35, 131, 75, 0.07);
}

/* دایره‌ی کوچک بالای کارت */
.stat::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    top: 12px;
    right: 14px;

    border-radius: 50%;

    background: #b9d9ca;
}

/* آیکون */
.stat i {
    position: relative;
    z-index: 2;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 2px;

    border-radius: 12px;

    background: #e4f2eb;
    color: #176b57;

    font-size: 15px;

    box-shadow:
        0 5px 12px rgba(23, 107, 87, 0.08);

    transition: all .3s ease;
}

/* عدد */
.stat b {
    position: relative;
    z-index: 2;

    color: #176b57;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.2;
}

/* عنوان */
.stat span {
    position: relative;
    z-index: 2;

    display: block;

    margin-top: 2px;

    color: #81908b;

    font-size: 9px;
    font-weight: 500;
}

/* Hover */
.stat:hover {
    transform: translateY(-6px);

    border-color: rgba(23, 107, 87, 0.16);

    box-shadow:
        0 15px 30px rgba(40, 80, 70, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.stat:hover i {
    background: #176b57;
    color: #fff;

    transform: scale(1.08) rotate(-3deg);

    box-shadow:
        0 8px 18px rgba(23, 107, 87, 0.2);
}












.stats-pagination {
    position: static !important;
    width: 100% !important;

    margin-top: 4px !important;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.statsSwiper {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.stats-pagination {
    position: static !important;
    width: 100% !important;

    margin-top: -1px !important;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}





.header {
    width: 100%;
    min-height: 64px;
    flex-shrink: 0;

    padding: 10px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;

    position: sticky;
    top: 0;
    z-index: 9999;

    /* glass */
    background: rgba(151, 151, 151, 0.65);

    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);

    /* جدا شدن از بک سفید */
    border: 1px solid rgba(255, 255, 255, 0.75);

    border-radius: 22px;

    box-shadow:
        0 8px 30px rgba(30, 70, 60, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.main {
    position: relative;
    background-image: url('../images/1e4d7bbe-5d41-449b-b415-01f582860e84.png');
    background-size: cover;
    background-position: center;
}

.main::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(243, 248, 246, 0.95);

    z-index: 0;
    pointer-events: none;
}

.main > * {
    position: relative;
    z-index: 1;
}


.city-leaf2 {
    position: absolute;
    z-index: 20;

    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #176b57;
    color: #fff;
    font-size: 26px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);

    animation: leafFloat 3.5s ease-in-out infinite;
}

@keyframes leafFloat {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 10px)); }
}


@media (max-width: 900px) {
    .city-leaf2 {
        display: none !important;
    }
}




.cls-1 {
  fill: none;
  stroke: #fff;
  stroke-width: 6px;
  fill-rule: evenodd;
  transition: stroke 0.2s ease;
}

.cls-1:hover {
  stroke: #ff0000;
}


.footer-image {
  position: relative;
  width: 100%;
}

.footer-image > img {
  display: block;
  width: 100%;
  height: auto;
}

/* باکس روی عکس */
.footer-box {
  position: absolute;

  left: 5%;
  right: 5%;
  bottom: 25px;

  height: 55px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 18px;

  background: rgba(20, 20, 20, 0.72);

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  direction: rtl;
}

/* آیکون‌ها */
.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  text-decoration: none;

  border: 1px solid rgba(255,255,255,.3);
  border-radius: 7px;

  transition: .3s;
}

.footer-social a:hover {
  background: white;
  color: #111;
}

/* متن */
.footer-welcome {
  color: white;
  font-size: 15px;
}
.footer-box {
  position: absolute;

  left: 5%;
  right: 5%;
  bottom: 25px;

  height: 55px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 18px;

  /* شیشه‌ای */
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  direction: rtl;
}

/* متن سمت راست */
.footer-welcome {
  order: 1;

  color: white;
  font-size: 15px;

  white-space: nowrap;
}

/* آیکون‌ها سمت چپ */
.footer-social {
  order: 2;

  display: flex;
  flex-direction: row;
  gap: 8px;

  direction: ltr;
}

.footer-social a {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;

  transition: 0.3s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}




/* =========================
   CITY BOTTOM
========================= */

.city-bottom {
    width: 90%;
    max-width: 1200px;

    margin: 60px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 25px;

    direction: ltr;
}


/* =========================
   PANEL
========================= */

.city-panel {
    width: 100%;
    min-width: 0;

    padding: 25px;

    box-sizing: border-box;

    background: rgba(20, 20, 20, 0.45);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 18px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    direction: rtl;
}


/* =========================
   TITLE
========================= */

.city-panel-title {
    margin-bottom: 20px;
}

.city-panel-title h2 {
    margin: 0 0 6px;

    color: #fff;


    font-size: 22px;
}

.city-panel-title span {
    color: rgba(255, 255, 255, 0.6);


    font-size: 13px;
}


/* =========================
   SWIPER
========================= */

.city-panel .swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.city-panel .swiper-wrapper {
    height: auto !important;

    display: flex;
}

.city-panel .swiper-slide {
    height: auto;
}


/* =========================
   ONLINE SERVICES
========================= */

.online-item {
    height: 100px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    box-sizing: border-box;

    color: #fff;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 12px;

    transition: 0.3s;
}

.online-item i {
    font-size: 25px;
}

.online-item span {
    font-size: 12px;
}

.online-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}


/* =========================
   NEWS
========================= */

.city-news {
    min-height: 100px;

    padding: 15px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    gap: 15px;

    color: #fff;

    text-decoration: none;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 12px;

    transition: 0.3s;
}

.city-news:hover {
    background: rgba(255, 255, 255, 0.16);
}

.city-news-icon {
    width: 50px;
    min-width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.1);

    border-radius: 10px;

    font-size: 20px;
}

.city-news h3 {
    margin: 0 0 5px;


    font-size: 14px;
}

.city-news p {
    margin: 0 0 5px;

    color: rgba(255, 255, 255, 0.65);


    font-size: 11px;

    line-height: 1.7;
}

.city-news small {
    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;
}


/* =========================
   PAGINATION
========================= */

.online-pagination,
.news-pagination2 {
    margin-top: 15px;

    text-align: center;
}

.city-panel .swiper-pagination-bullet {
    background: #fff;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
.footer-welcome{
    display: none;
}
    .city-bottom {
        width: 92%;

        grid-template-columns: 1fr;

        gap: 20px;
    }

}


/* =========================
   CITY BOTTOM
========================= */

.city-bottom {
    width: 90%;
    max-width: 1200px;

    margin: 40px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 22px;

    direction: ltr;
}


/* =========================
   PANEL
========================= */

.city-panel {
    min-width: 0;

    padding: 22px;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(36, 166, 91, 0.15);

    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.07);

    direction: rtl;
}


/* =========================
   TITLE
========================= */

.city-panel-title {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.city-panel-title h2 {
    margin: 0 0 5px;

    color: #222;


    font-size: 21px;
    font-weight: 700;
}

.city-panel-title span {
    color: #888;


    font-size: 12px;
}

.city-panel-title > i {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #176b57;

    background: #eaf8f0;

    border-radius: 11px;

    font-size: 18px;
}


/* =========================
   SWIPER
========================= */

.city-panel .swiper {
    width: 100%;

    overflow: hidden;
}

.city-panel .swiper-wrapper {
    height: auto !important;
}

.city-panel .swiper-slide {
    height: auto;
}


/* =========================
   ONLINE SERVICES
========================= */

.online-item {
    height: 105px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color: #333;

    text-decoration: none;

    background: #f7fbf8;

    border: 1px solid #e1f0e6;

    border-radius: 13px;

    transition: all .25s ease;
}

.online-item i {
    color: #176b57;

    font-size: 24px;
}

.online-item span {

    font-size: 12px;
}

.online-item:hover {
    color: #fff;

    background: #176b57;

    border-color: #176b57;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(36, 166, 91, .2);
}

.online-item:hover i {
    color: #fff;
}


/* =========================
   NEWS
========================= */

.city-news {
    min-height: 105px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 10px;

    box-sizing: border-box;

    color: #222;

    text-decoration: none;

    background: #f8fbf9;

    border: 1px solid #e2eee6;

    border-radius: 13px;

    transition: .25s;
}

.city-news:hover {
    border-color: #176b57;

    box-shadow:
        0 6px 18px rgba(36, 166, 91, .12);
}


/* عکس خبر */

.city-news > img {
    width: 115px;
    height: 85px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 9px;
}


/* محتوای خبر */

.city-news-content {
    min-width: 0;

    flex: 1;
}

.city-news-content h3 {
    margin: 0 0 5px;

    color: #222;


    font-size: 20px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.city-news-content p {
    margin: 0 0 7px;

    color: #777;


    font-size: 11px;

    line-height: 1.7;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.city-news-content span {
    color: #176b57;


    font-size: 10px;
}

.city-news-content span i {
    margin-left: 4px;
}


/* =========================
   PAGINATION
========================= */

.online-pagination,
.news-pagination2 {
    margin-top: 13px;

    text-align: center;
}

.city-panel .swiper-pagination-bullet {
    width: 7px;
    height: 7px;

    background: #c8ddd0;

    opacity: 1;
}

.city-panel .swiper-pagination-bullet-active {
    width: 18px;

    border-radius: 10px;

    background: #176b57;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .city-bottom {
        width: 92%;

        grid-template-columns: 1fr;

        gap: 18px;

        margin: 30px auto;
    }

    .city-panel {
        padding: 18px;
    }

    .city-news > img {
        width: 95px;
        height: 75px;
    }

}


.img-f{
height: auto !important;
}

@media (max-width: 768px) {
    .img-f{
height: auto !important;
}

}

.back-to-top {
    position: fixed;

    left: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(36, 166, 91, 0.25);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.92);

    color: #176b57;

    font-size: 17px;

    cursor: pointer;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: all 0.3s ease;

    z-index: 9999;
}


/* وقتی نمایش داده می‌شود */
.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* هاور */
.back-to-top:hover {
    color: #fff;

    background: #176b57;

    border-color: #176b57;

    transform: translateY(-3px);

    box-shadow: 0 8px 22px rgba(36, 166, 91, 0.25);
}


/* موبایل */
@media (max-width: 768px) {

    .back-to-top {
        left: 15px;
        bottom: 15px;

        width: 42px;
        height: 42px;

        border-radius: 10px;
    }

}




.header {
   /* شیشه‌ای */
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  direction: rtl;
}



h2{
    font-family: 'myFontBold' 
}


@media (max-width: 768px) {
    .login {
        display: none;
    }
    .header {
        border-radius: 20px;
    }
}



.fff{
    font-family: 'myFont';
    
}




@media (min-width: 768px) {

.city-bottom {
    position: relative;
    z-index: 2;
}

.footer-image {
    position: relative;
    margin-top: -160px;
    z-index: 1;
}

.footer-image .img-f {
    display: block;
    width: 100%;
    height: auto;
}



}

button{
    font-family: 'myFont';
}

 
.selects button {
    width: 100%;
}
select{
    font-family: 'myFont';
 
}



/* =========================================
   📱 iPhone Style Bottom Navigation
========================================= */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {

    .mobile-bottom-nav {

        position: fixed;

        left: 12px;
        right: 12px;
        bottom: 12px;

        height: 68px;

        z-index: 999999;

        display: flex;

        align-items: center;
        justify-content: space-around;

        padding: 7px 8px;

        direction: rtl;

        /* Glass */
        background: rgba(255, 255, 255, 0.48);

        border: 1px solid rgba(255, 255, 255, 0.75);

        border-radius: 24px;

        backdrop-filter:
            blur(25px)
            saturate(180%);

        -webkit-backdrop-filter:
            blur(25px)
            saturate(180%);

        box-shadow:
            0 12px 35px rgba(20, 70, 55, 0.16),
            0 3px 10px rgba(20, 70, 55, 0.06),
            inset 0 1px 0 rgba(255,255,255,.9);

    }


    /* آیتم */

    .bottom-nav-item {

        position: relative;

        flex: 1;

        height: 54px;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 3px;

        color: #71817d;

        text-decoration: none;

        font-size: 8px;

        border-radius: 18px;

        transition:
            color .25s ease,
            transform .25s ease;

    }


    /* آیکون */

    .bottom-nav-icon {

        width: 35px;
        height: 30px;

        display: flex;

        align-items: center;
        justify-content: center;

        border-radius: 13px;

        font-size: 15px;

        transition:
            all .3s cubic-bezier(.2,.8,.2,1);

    }


    /* آیتم فعال */

    .bottom-nav-item.active {

        color: #176b57;

    }

    .bottom-nav-item.active .bottom-nav-icon {

        background: #176b57;

        color: white;

        transform:
            translateY(-5px)
            scale(1.08);

        box-shadow:
            0 7px 18px rgba(23,107,87,.22);

    }


    /* متن فعال */

    .bottom-nav-item.active > span:last-child {

        font-weight: 700;

        transform: translateY(-2px);

    }


    /* حالت لمس */

    .bottom-nav-item:active {

        transform: scale(.92);

    }


    /* نور بالای نوار */

    .mobile-bottom-nav::before {

        content: "";

        position: absolute;

        top: 0;

        left: 20%;

        right: 20%;

        height: 1px;

        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(255,255,255,.95),
                transparent
            );

    }


    /* فضای پایین صفحه */

    body {

        padding-bottom: 90px;

    }


    /* همبرگر هدر دیگر لازم نیست */

 

    /* منوی بالایی مخفی */

    #mainNav {

        display: none !important;

    }

}




@media (max-width: 768px) {

    .mobile-bottom-nav {
        position: sticky;

        bottom: 10px;

        left: auto;
        right: auto;

        width: calc(100% - 20px);
        max-width: 500px;

        margin: 15px auto 10px;

        height: 68px;

        display: flex;
        align-items: center;
        justify-content: space-around;

        padding: 6px;

        box-sizing: border-box;

        z-index: 9999;

        direction: rtl;

        background: rgba(255,255,255,.55);

        border: 1px solid rgba(255,255,255,.8);

        border-radius: 24px;

        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);

        box-shadow:
            0 10px 35px rgba(23,60,53,.15),
            inset 0 1px 0 rgba(255,255,255,.9);
    }

    body {
        padding-bottom: 0;
    }
}




/* حذف مربع/هایلایت آبی هنگام لمس در موبایل */

* {
    -webkit-tap-highlight-color: transparent;
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

button:focus,
button:active,
a:focus,
a:active {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}





@media (max-width: 768px) {

    .menu-toggle {
        display: flex !important;
    }

    #mainNav {
        display: none !important;
    }

    #mainNav.open {
        display: flex !important;
    }

}

/* =========================
   FIXED HEADER
========================= */

.header {
    position: fixed !important;

    top: 10px;
    left: 25px;
    right: 25px;

    width: auto;

    z-index: 99999;

    /* ظاهر */
    background: rgba(204, 204, 204, 0.75) !important;

    border: 1px solid rgba(255, 255, 255, 0.4);

    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;

    box-shadow: 0 6px 24px rgba(30, 70, 60, .10);
}

.stat b{
    font-size: 20px;

}
.stat span{
    font-size: 12px;

}
    .header {
        width: 90% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        text-align: center;
    }






/* =========================================
   CITY BOTTOM - STACKED PANELS
========================================= */

.city-bottom {
    width: min(1100px, 92%);
    margin: 50px auto;

    display: flex;
    flex-direction: column;
    gap: 24px;

    direction: rtl;
}


/* =========================================
   PANEL
========================================= */

.city-panel {
    width: 100%;
    min-width: 0;

    padding: 24px;

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(23, 107, 87, 0.10);
    border-radius: 24px;

    box-shadow:
        0 10px 35px rgba(23, 107, 87, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    direction: rtl;

    transition: .3s ease;
}

.city-panel:hover {
    box-shadow:
        0 15px 40px rgba(23, 107, 87, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}


/* =========================================
   TITLE
========================================= */

.city-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.city-panel-title h2 {
    margin: 0 0 5px;

    color: #173c35;

    font-family: 'myFontBold';
    font-size: 21px;
}

.city-panel-title span {
    color: #8a9995;
    font-size: 11px;
}

.city-panel-title > i {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #176b57;

    background:
        linear-gradient(
            135deg,
            #e5f6ef,
            #d5eee5
        );

    border: 1px solid rgba(23, 107, 87, 0.08);

    border-radius: 14px;

    font-size: 18px;

    box-shadow:
        0 6px 15px rgba(23, 107, 87, 0.08);
}


/* =========================================
   SWIPER
========================================= */

.city-panel .swiper {
    width: 100%;
    overflow: hidden;
}

.city-panel .swiper-wrapper {
    height: auto !important;
}

.city-panel .swiper-slide {
    height: auto;
}


/* =========================================
   ONLINE SERVICES
========================================= */

.online-item {
    height: 115px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    color: #176b57;
    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            #f9fdfb,
            #edf8f3
        );

    border: 1px solid #deeee6;
    border-radius: 18px;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease,
        color .25s ease;
}

.online-item i {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #e1f2ea;
    color: #176b57;

    font-size: 20px;

    transition: .25s ease;
}

.online-item span {
    font-size: 11px;
}


/* hover */

.online-item:hover {
    color: white;

    background:
        linear-gradient(
            135deg,
            #2fa884,
            #176b57
        );

    border-color: transparent;

    transform: translateY(-5px);

    box-shadow:
        0 12px 25px rgba(23, 107, 87, 0.18);
}

.online-item:hover i {
    background: rgba(255, 255, 255, 0.18);
    color: white;

    transform: scale(1.08);
}


/* =========================================
   NEWS
========================================= */

.city-news {
    min-height: 125px;

    padding: 12px;

    display: flex;
    align-items: center;

    gap: 16px;

    color: #173c35;
    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            #fbfdfc,
            #f1f8f5
        );

    border: 1px solid #e1eee7;
    border-radius: 18px;

    transition: .25s ease;
}

.city-news:hover {
    border-color: rgba(23, 107, 87, 0.2);

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(23, 107, 87, 0.09);
}


/* عکس خبر */

.city-news > img {
    width: 150px;
    height: 100px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 13px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.08);
}


/* محتوای خبر */

.city-news-content {
    min-width: 0;
    flex: 1;
}

.city-news-content h3 {
    margin: 0 0 7px;

    color: #244d43;

    font-family: 'myFontBold';
    font-size: 14px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.city-news-content p {
    margin: 0 0 8px;

    color: #7b8985;

    font-size: 10px;
    line-height: 1.9;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.city-news-content span {
    color: #176b57;
    font-size: 9px;
}


/* =========================================
   PAGINATION
========================================= */

.online-pagination,
.news-pagination2 {
    margin-top: 14px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.city-panel .swiper-pagination-bullet {
    width: 7px;
    height: 7px;

    margin: 0 !important;

    background: #c7ddd3;
    opacity: 1;
}

.city-panel .swiper-pagination-bullet-active {
    width: 20px;

    border-radius: 10px;

    background: #176b57;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .city-bottom {
        width: 94%;
        margin: 30px auto;

        gap: 18px;
    }

    .city-panel {
        padding: 17px;

        border-radius: 20px;
    }

    .city-panel-title {
        margin-bottom: 15px;
    }

    .city-panel-title h2 {
        font-size: 18px;
    }

    .city-panel-title span {
        font-size: 9px;
    }

    .city-panel-title > i {
        width: 38px;
        height: 38px;

        border-radius: 12px;

        font-size: 15px;
    }

    .online-item {
        height: 100px;

        border-radius: 15px;
    }

    .online-item i {
        width: 40px;
        height: 40px;

        font-size: 17px;

        border-radius: 12px;
    }

    .online-item span {
        font-size: 9px;
    }

    .city-news {
        min-height: 100px;

        padding: 9px;

        gap: 10px;

        border-radius: 15px;
    }

    .city-news > img {
        width: 95px;
        height: 78px;

        border-radius: 10px;
    }

    .city-news-content h3 {
        font-size: 11px;
    }

    .city-news-content p {
        font-size: 8.5px;
        line-height: 1.7;
    }

    .city-news-content span {
        font-size: 8px;
    }
}



.buttons .btn {
    padding: 16px 32px;
    min-width: 170px;
    min-height: 58px;

    font-size: 15px;

    border-radius: 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    box-shadow: 0 8px 20px rgba(23, 107, 87, 0.12);

    transition: .25s ease;
}

.buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(23, 107, 87, 0.18);
}

.buttons .btn i {
    font-size: 18px;
}
.buttons .btn {
    padding: 14px 28px;
    min-width: 150px;

    font-size: 14px;

    border-radius: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 52px;
}

.buttons .btn i {
    font-size: 16px;
}

.buttons .btn.green,
.buttons .btn.white {
    background: linear-gradient(135deg, #2fa884 0%, #176b57 100%);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(23, 107, 87, 0.18);
}



@media (max-width: 373px) {
    .language-dropdown{
        display: none !important;
    }
}

.pr {
    word-spacing: 2px !important;
}


.footer-mobile {
    display: none !important;
}

.footer-desktop {
    display: block !important;
    height: 340px !important;
}

@media (max-width: 768px) {
    .footer-desktop {
        display: none !important;
    }

    .footer-mobile {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }
}
@media (max-width: 768px) {
    .footer-social {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
    }
}