@charset "UTF-8";
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/eot/IRANSansWeb.eot');
    src: url('../fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'), url('../fonts/woff2/IRANSansWeb.woff2') format('woff2'), url('../fonts/woff/IRANSansWeb.woff') format('woff'), url('../fonts/ttf/IRANSansWeb.ttf') format('truetype')
}

body {
    font-family: IRANSans;
}

a{
    text-decoration: none;
}


ul{
    direction: rtl;
    text-align: right;
}
.vertical-align{
    display : flex;
    align-items : center;
}

/* حالت کوچک‌شده هدر */
header.shrink.sticky-top{
    transition: ease-in 1s;
}
header.shrink .navbar-brand {
    width: 50px;
        transition: ease-in 0.5s;
}
header.shrink .navbar{
    padding: 0;
        transition: ease-in 0.5s;
}
header.shrink .nav-link {
    font-size: 0.9rem;
        transition: ease-in 0.5s;
}
header{
    box-shadow: -2px 6px 10px -4px rgba(161,161,161,1);
    -webkit-box-shadow: -2px 6px 10px -4px rgba(161,161,161,1);
    -moz-box-shadow: -2px 6px 10px -4px rgba(161,161,161,1);
    background: #fff;
        transition: ease-in 0.5s;
}
header .dropdown-toggle::after {
    display: inline-block;
    margin-right: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-left: .3em solid transparent;
    border-bottom: 0;
    border-right: .3em solid transparent;
}
header .header-icon a{
    padding: 10px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: inline-flex;
    text-align: center;
    justify-content: center;
    font-size: 18px;
    color: #A90000;
    border:1px solid ;
}
header .header-icon a:first-child{
  margin-left: 32px;
}

header nav .nav-item{
    margin-left: 32px;
}
header nav .nav-item:first-child{
    margin-right: 32px;
}


.navbar .nav-link {
    font-weight: bold;
}

.navbar-nav {
    width: 100%;
}

.dropdown {
    position: static; /* خیلی مهم */
}

.dropdown-menu.mega-vertical {
    position: absolute;
    left: 0;
    right: 0;
    top: 73%;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: none;
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.mega-menu-categories {
    width: 250px;
    background-color: #f1f1f1;
    padding: 1rem;
    border-left: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.mega-menu-categories a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.3s;
    cursor: pointer;
}

.mega-menu-categories a:hover,
.mega-menu-categories a.active {
    background-color: #e0e0e0;
}

.mega-submenu-wrap {
    flex-grow: 1;
    background-color: #fff;
    padding: 1rem;
}

.mega-submenu {
    display: none;
}

.mega-submenu.active {
    display: block;
}

.mega-submenu a {
    display: block;
    color: #343a40;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.mega-submenu a:hover {
    color: #0d6efd;
}

@media (max-width: 991.98px) {
    .dropdown-menu.mega-vertical {
        position: static !important;
        width: 100% !important;
        box-shadow: none;
        display: block !important;
    }
}

footer{
    background: #F2F2F2;
    padding-top: 16px;
}
footer .amirandoor-contact{
    background: #fff;
    padding: 16px;
    margin-bottom: 32px;
    border-radius: 10px;
    box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
}
footer .footer-btn{
    text-align: right;
    padding-top: 20px;
}
footer .footer-btn a:last-child{
    background: #313131;
    color: #fff;
    padding: 10px 32px;
}
footer .footer-btn a:last-child:hover{
    background: transparent;
    color: #313131;
    border: 1px solid #313131;
}
footer .footer-btn a:first-child{
    background: transparent;
    color: #313131;
    border: 1px solid #313131;
    padding: 10px 32px;
    margin-right: 16px;
}
footer .footer-btn a:first-child:hover{
    background: #313131;
    color: #fff;
    border: 1px solid #313131;
}
footer .footer-content{
    border-bottom: 1px solid #a1a1a1;
}
footer .footer-content span{
    display: block;
    text-align: right;
}
footer .footer-content ul{
    padding-right: 12px;
    line-height: 32px;
    font-size: 14px;
    margin-top: 16px;
}
footer .footer-content ul li a{
 color: #a1a1a1;
}
footer .footer-content ul li a:hover{
    color: #000;
}
footer .contact-us{
    text-align: right;
    padding: 16px 0 0 0;
}
footer .contact-us p{
    font-size: 14px;
}
footer .contact-us i{
    font-size: 20px;
    margin-left: 8px;
}
footer .contact-us .social-media {
    list-style: none;
    padding: 0;
    display: flex;
    direction: ltr;
}
footer .contact-us .social-media li{
    background: #fff;
    border-radius: 10px;
    margin-left: 8px;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 7px;
}
footer .contact-us .social-media li:hover{
    box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
}
footer .contact-us .social-media li a{
  color: #000;
}
footer .contact-us .social-media li a i{
    margin-left: auto;
}
footer .contact-us-details{
    list-style: none;
    padding-right: 0 !important;
    line-height: 40px !important;
}
footer .contact-us-details li a{
    color: #000 !important;
}
footer .contact-us-details i{
    font-size: 20px;
    color: #000;
    margin-left: 8px;
}
.copyright{
    text-align: center;
    padding: 10px;
    font-size: 14px;
}
.copyright a{
    color: #000;
}
.copyright a i {
    margin-left: 4px;
}
/* Offcanvas اندازه و اسکرول */
.offcanvas {
    width: 85%;
    max-width: 420px;
}

/* لیست موبایل */
.mobile-nav { margin: 0; padding: 0; }
.mobile-nav li { list-style: none; }

.mobile-nav > li { border-bottom: 1px solid rgba(0,0,0,0.08); }
.mobile-nav a {
    display: block;
    padding: 12px 14px;
    text-decoration: none;
}

/* زیرمنوها به صورت آکاردئون */
.mobile-nav li ul {
    display: none;
    padding: 0 0 8px 0;
    margin: 0;
    border-right: 2px solid rgba(0,0,0,0.05); /* برای RTL */
    margin-right: 10px;
}
.mobile-nav li.open > ul {
    display: block;
}

/* دکمه باز/بسته زیرمنو */
.mobile-nav .submenu-toggle {
    border: none;
    background: transparent;
    margin-inline-start: auto; /* انتهای ردیف (RTL/LC) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.mobile-nav .menu-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.mobile-menu a{
    color: black;
}
.container-fluid.mobile-menu {
    background: #F5F5F7;
    height: 56px;
    padding-top: 10px;
    display: none;
}
.container-fluid.mobile-menu a img{
    width: 40px;
    float: left;
}
.mobile-menu .mobile-menu-toggle svg{
    margin-top: 10px;
}
/* آیکون چرخش */
.mobile-nav li.open > .menu-row .submenu-toggle i {
    transform: rotate(180deg);
    transition: transform .2s ease;
}
.mobile-nav .submenu-toggle i {
    transition: transform .2s ease;
}

/* زیباسازی جزئی */
.mobile-menu .offcanvas-title { font-weight: 700; }
.mobile-menu .offcanvas-header .btn-close {
    margin-left: auto;margin-right: 20px;
}
