@charset "UTF-8";

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/IRANSansWeb(FaNum)_Black.eot');
    src: url('../fonts/eot/IRANSansWeb(FaNum)_Black.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb(FaNum)_Black.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb(FaNum)_Black.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb(FaNum)_Black.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/eot/IRANSansWeb(FaNum)_Bold.eot');
    src: url('../fonts/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb(FaNum)_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/IRANSansWeb(FaNum)_Medium.eot');
    src: url('../fonts/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/IRANSansWeb(FaNum)_Light.eot');
    src: url('../fonts/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb(FaNum)_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot');
    src: url('../fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/IRANSansWeb(FaNum).eot');
    src: url('../fonts/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb(FaNum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}
body {
    font-family: IRANSans;
    background-color: #F1F3F2;
    overflow-x: hidden;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    content: "\F282"; /* کد آیکون */
    font-family: "bootstrap-icons"; /* فونت آیکون */
    font-weight: normal;
    font-style: normal;
    border: none;
}

/* منو سوئیچر زبان */

.language-switcher {
    position: relative;
    display: inline-block;
    margin-right: 30px;
}
#languageDropdown img{
    border-radius: 50px;
    width: 20px !important;
    height: 20px;
}
#languageDropdown img{
    border-radius: 50px;
    width: 20px !important;
    height: 20px;
}
.dropdown-menu{
    --bs-dropdown-min-width: 0 !important;
}
#languageDropdown::after{
    content: "\F229" !important;

}
.language-switcher .dropdown-menu {
    width: 68px !important;
    padding: 0;
    right: 0; /* منو سمت راست container قرار بگیره */
    left: auto;
}

.language-switcher .dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 7px 26px;
}

.language-switcher .dropdown-menu img {
    width: 24px;
    height: auto;
    display: block;
}

.accordion-button::after {
    margin-left: auto !important;
    margin-right: 0 !important;
}
.d-flex.header-btn.me-auto {
    margin-left: auto;
    margin-right: 8px !important;
}
.accordion-button {
    text-align: right;
}
.contact-section {
    margin-top: 32px;
    text-align: justify;
    /* به جای height از max-height استفاده کن */
    max-height: 400px;        /* collapsed height */
    overflow: hidden;
    transition: max-height .45s ease;
}

/* بقیه استایل‌های قبلی تو همونجا بمونه */
.contact-section h2,
.contact-section h3,
.contact-section h4,
.contact-section h5,
.contact-section h6{
    margin: 16px 0 16px 0;
    font-size: 20px;
}
.contact-section ul{
    padding-right: 26px;
}
.contact-section .row{
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 16px;
    border-radius: 16px;
}
.contact-section img{
    border-radius: 16px;
    margin: 16px 0 16px 0;
}

/* وقتی باز شده بودن (فقط برای کلاس‌بندی مفید است) */
.contact-section.open {
    /* max-height را هنگام باز کردن با جاواسکریپت تنظیم می‌کنیم */
}
#toggleIcon.rotated {
    transform: rotate(180deg);
    transition: transform .3s ease;
}
#toggleIcon {
    transition: transform .3s ease;
}
.footer-shape{
    height: 44px;
    position: absolute;
    top: 113px;
}

/* کل هدر همیشه بالاتر از همه */
header {
    position: relative;
    z-index: 9999;
}
.dropdown-menu[data-bs-popper] {
    right: 0;
    width: 500px;
    text-align: right;
    line-height: 32px;
}
/* فقط آیتم‌های داخل زیرمنو */
.dropdown-menu .nav-item > a::before {
    font-family: "bootstrap-icons";
    content: "\F285";
    font-size: 14px;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
}


.nav-bmi{
    display: inline-flex;
    align-items: center; /* هم‌تراز عمودی */
    gap: 6px; /* فاصله بین آیکون و متن */
    cursor: pointer;
}

.nav-bmi img{
    width: 22px; /* دلخواه */
    height: 22px;
    object-fit: contain;
}

.page-content {
    margin: 40px 0 80px 0;
    line-height: 28px;
    text-align: justify;
}
.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6{
    font-size: 36px;
    margin-bottom: 32px;
    border-bottom: 1px solid #0208171A;
    padding-bottom: 16px;
}
/* ====== Hero Section (شامل بک‌گراند اصلی) ====== */
.hero-section {
    padding-bottom: 80px;
}
.gform-theme--foundation .gfield textarea.large {
    min-block-size: 3rem !important;
}
/* ====== Header Section ====== */

.event {
    width: 100%;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    justify-content: center;
    height: 60px;
}

.event h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    line-height: 1.8;
}
/* Navbar */
header nav {
    box-shadow: 0px 0px 50px rgba(165.07,165.07,165.07,0.15);
    direction: ltr;
}

header .navbar-nav .nav-link {
    color: #0f172a;
    font-weight: 400;
    padding: 10px 16px;
}

header .navbar-nav .nav-link:hover,
header .navbar-nav .nav-link.active {
    color: #f97316;
}
.navbar .dropdown:hover > .dropdown-menu {
    text-align: left;
}
/* Buttons */
.header-btn a {
    border: 1px solid #CBD5E1;
    width: 150px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    transition: all 0.3s ease;
}

.header-btn a:last-child {
    background: #f97316;
    color: #fff;
    margin-left: 10px;
}

.header-btn a:hover {
    background: #0056b3;
    color: #fff;
}
img.heading-line{
    width: auto;
    display: flex;
    justify-content: center;
    margin: auto auto 12px auto;
}
footer {
    background: #fff;
    padding-top: 73px;
    direction: rtl;
}

footer .col-lg-4,footer .col-lg-2 {
    direction: ltr;
}
footer p{
    text-align: justify;
    font-size: 14px;
    color: #020817;
    line-height: 30px;
    background: #A6DDE130;
    padding: 24px;
    border-radius: 16px;
    direction: ltr;
    margin-top: 12px;
}
footer a:hover {
    color: #0d6efd;
}
footer .footer-logo{
    display: inline-flex;
}
footer .social-icons{
    display: inline-flex;
    float: left;
}
footer .social-icons a:hover {
    color: #0d6efd !important;
}
footer .short-links  ul {
    padding-left: 0;
    line-height: 40px;
    font-size: 14px;
    list-style: none;
    margin-top: 32px;
}
footer .short-links  ul li{
    background: #A6DDE130;
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 10px;
}
footer .short-links ul li .bi-arrow-left::before {
    content: "\F138" !important;
}
footer .short-links  ul li i{
    float: right;
    font-size: 20px;
}
footer .short-links  ul a{
    text-decoration: none;
    color: #1B2D54;
}
footer a.arrow-top{
    position: absolute;
    top: 108px;
    z-index: 10000;
}
footer a.arrow-top img{
    width: 40px;
    padding-top: 8px;
}
section.address {
    background: #29B1BB;
    color: #fff;
    padding: 24px 0 24px 0;
    direction: ltr;
}
section.address i{
    color: #FF6A00;
    margin-right: 10px;
    font-size: 20px;
}
section.address span{
    color: #000 !important;
    background: #a6dde1;
    padding: 10px;
    border-radius: 8px;
    margin-right: 26px;
    font-size: 16px;
    display: inline-block;
    font-family: initial;
}
.footer-cat span {
    display: block;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2bbecb; /* رنگ تیتر مثل عکس */
}
.footer-shape-wrapper {
    position: absolute;
    top: -114px;
    right: 135px;
    width: 200px;
    height: 174px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

footer svg{
    transform: rotate(90deg);
}
.footer-cat ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* سه ستونه */
    gap: 20px; /* فاصله بین باکس‌ها */
}

.footer-cat ul li a {
    display: block;
    background: #f1fafb;
    padding: 19px;
    text-align: center;
    border-radius: 16px;
    font-size: 16px;
    color: #0e2b4a;
    transition: 0.2s;
    text-decoration: none;
}

.namad img{
    margin: 32px 0 16px 0;
    display: block;
}
.footer-cat ul li a:hover {
    background: #e6f5f6;
}

footer span{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #29B1BB;

}
footer form{
    margin-bottom: 52px;
    position: relative;
}
footer input.form-control {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 16px;
    font-size: 14px;
}

footer button.btn-primary {
    background-color: #f97316;
    border: none;
    position: absolute;
    top: 9px;
    left: 0;
}
section.copyright{
    color: #334155;
    font-size: 12px;
    font-weight: 300;
    background-color: #f8fafc;
    padding: 16px;
    text-align: center;
}
footer div.short-way-list{
    padding-right: 48px;
}
footer div.services-list{
    border-left: 1px solid #E2E8F0;
    margin-left: 73px;
}

/* Desktop Large */
@media (min-width: 1200px) {


    /* نمایش زیرمنو با هاور */
    .navbar .dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* حالت پیش‌فرض بسته */
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
        margin-top: 0;
        text-align: right;

    }
    section.address span {
        font-size: 13px;
    }
}

/* Small Desktop / Laptop */
@media (max-width: 1200px) and (min-width: 992px) {


    .footer-cat ul li a {
        font-size: 10px;
    }
    footer .short-links ul {
        padding-left: 0;
    }
    section.address span {
        font-size: 12px;
        display: block;
    }
    .navbar-nav.mb-2.mb-lg-0 {
        padding-right: 0;
        font-size: 14px;
    }
    .header-btn a {
        border: 1px solid #CBD5E1;
        width: 120px;
        border-radius: 50px;
        text-decoration: none;
        text-align: center;
        padding: 10px;
        transition: all 0.3s ease;
        font-size: 14px;
    }
    .navbar .dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* استایل نرم‌تر باز شود */
    .navbar .dropdown-menu {
        margin-top: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
        text-align: right;
        width: 300px;
    }

}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .big-article {
        padding-top: 16px;
    }
    .col-12.col-sm-12.col-lg-2.short-links {
        margin-top: 32px;
        margin-bottom: 32px;
    }
    .namad img {
        margin: 32px 0 16px 0;
        display: inline-flex;
    }
    section.address span {
        font-size: 10px;
        display: block;
        width: auto;
    }
    footer .social-icons {
        width: 100%;
    }
    footer span {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 16px;
        color: #29B1BB;
        display: block;
    }
}

/* Mobile */

@media (max-width: 768px) {
    section.address span {
        font-size: 10px;
        display: block;
        width: auto;
    }
    footer .social-icons {
        width: 100%;
    }
    .event {
        justify-content: center;
        padding: 20px;
        text-align: center;
    }

    .event h2 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .container,.container-fluid{
        padding: 0 16px 0 16px;
    }
    a.menu-icon{
        font-size: 32px;
        color: #020817;
        margin-left: 16px;
    }
    header .header-logo{
        margin-left: auto;
    }
    header .consult-btn {
        background: #f97316;
        color: #fff;
        text-decoration: navajowhite;
        padding: 10px;
        border-radius: 50px;
        width: 140px;
        text-align: center;
    }
    footer .d-flex.align-items-center.gap-3{
        justify-content: center;
        width: 100%;
    }
    section.copyright {
        margin-top: 32px;
    }
    .btn-close.text-reset {
        margin-left: 0;
        margin-right: auto;
    }
    .offcanvas-body ul{
        line-height: 32px;
    }
    .offcanvas-body ul li.has-children ul.show{
        background: #eee;
        padding-left: 0 !important;
        padding-right: 17px;
        border-radius: 10px;
    }
    .offcanvas-body ul li a {
        color: #020817;
        text-decoration: none;
    }
    .offcanvas-body ul li a i{
        float: left;
    }
    .offcanvas-body a.btn{
        background: #f97316;
        color: #fff;
        border-radius: 50px;
        padding: 10px;
        margin-bottom: 16px;
    }
    .offcanvas-body a.btn:last-child{
        background: transparent;
        color: #000;
        border: 1px solid #CBD5E1;
        border-radius: 50px;
        padding: 10px;
    }
    .mobile-header .container-fluid {
        display: flex;
        align-items: center; /* وسط‌چین کردن عمودی همه آیتم‌ها */
    }


    .mobile-header .menu-icon i {
        font-size: 28px;
        align-items: center;
        line-height: 1; /* خط زیر آیکون حذف می‌شود */
        display: inline-block; /* حالت استاندارد آیکون */
        vertical-align: middle; /* هم‌تراز عمودی */
    }
    footer div.services-list {
        border-left: none;
        margin-right: 30px;
    }
    section.address span {
        color: #000 !important;
        background: #a6dde1;
        padding: 10px;
        border-radius: 8px;
        font-size: 14px;
        margin-right: 0;
        font-weight: normal;
    }
    section.portfolio .owl-nav .owl-next {
        display: none;
    }
}

