@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb(FaNum).eot');
    src: url('../fonts/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),
    url('../fonts/IRANSansWeb(FaNum).woff2') format('woff2'),
    url('../fonts/IRANSansWeb(FaNum).woff') format('woff'),
    url('../fonts/IRANSansWeb(FaNum).ttf') format('truetype');
}

body {
    direction: rtl;
    padding: 0;
    margin: 0;
    font-family: 'IRANSansWeb';
    font-size: 14px;
    color: #333333;
    background: linear-gradient(to bottom, #d3d3d3, #f5f5f5);
}
header{
    height: 125px !important;
}
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}


.section-rotate {
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding-top: 4rem;
    background: 0 0
}
.section-rotate .section-inner {
    position: absolute;
    z-index: -2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}
.section-inner:after{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
    background: #343A40;
}
@media (min-width:992px) {
    .section-rotate {
        min-height: 685px;
    }
    .section-rotate .section-inner {
        overflow: hidden;
        background: inherit
    }
    .section-rotate .section-inner+.container {
        position: relative;
        z-index: 0
    }
    .section-rotate .section-inner-bg {
        position: absolute;
        width: 100%;
        height: 100%
    }
}

@media (min-width:1200px) {
    .section-rotate .section-inner {
        top: -40%;
        width: 100%;
        height: 100%;
        transform: rotate(-16deg);
        border-bottom-left-radius: 4rem;
    }
}
.design-service ul li {
    list-style: none;
    padding-bottom: 15px;
}

.menu-user ul {
    list-style: none;
}

.menu-user a {
    color: #686e71;
}

.menu-user a:hover {
    color: #333333;
}

.details-card {
    border-radius: 15px;
}

.details-card:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    border: 0px;
}

.carousel .item {
    color: #747d89;
    min-height: 325px;
    text-align: center;
    overflow: hidden;
}
.carousel .thumb-wrapper {
    padding: 25px 15px;
    background: #fff;
    border-radius: 6px;
    text-align: center;
    position: relative;
}
.carousel .item .img-box {
    height: 120px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}
.carousel .item img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.carousel .item h4 {
    font-size: 18px;
}
.carousel .item h4, .carousel .item p, .carousel .item ul {
    margin-bottom: 5px;
}
.carousel .thumb-content .btn {
    color: #7ac400;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    background: none;
    border: 1px solid #7ac400;
    padding: 6px 14px;
    margin-top: 5px;
    line-height: 16px;
    border-radius: 20px;
}
.carousel .thumb-content .btn:hover, .carousel .thumb-content .btn:focus {
    color: #fff;
    /*background: #7ac400;*/
    box-shadow: none;
}
.carousel .thumb-content .btn i {
    font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
}
.carousel .item-price {
    font-size: 13px;
    padding: 2px 0;
}
.carousel .item-price strike {
    opacity: 0.7;
    margin-right: 5px;
}
.carousel-control-prev, .carousel-control-next {
    height: 44px;
    width: 40px;
    /*background: #7ac400;*/
    margin: auto 0;
    border-radius: 4px;
    opacity: 0.8;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    /*background: #78bf00;*/
    opacity: 1;
}
.carousel-control-prev i, .carousel-control-next i {
    font-size: 36px;
    position: absolute;
    top: 50%;
    display: inline-block;
    margin: -19px 0 0 0;
    z-index: 5;
    left: 0;
    right: 0;
    color: #fff;
    text-shadow: none;
    font-weight: bold;
}
.carousel-control-prev i {
    margin-left: -2px;
}
.carousel-control-next i {
    margin-right: -4px;
}
.carousel-indicators {
    bottom: -50px;
}
.carousel-indicators li, .carousel-indicators li.active {
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 50%;
    border: none;
}
.carousel-indicators li {
    background: rgba(0, 0, 0, 0.2);
}
.carousel-indicators li.active {
    background: rgba(0, 0, 0, 0.6);
}
.carousel .wish-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99;
    cursor: pointer;
    font-size: 16px;
    color: #abb0b8;
}
.carousel .wish-icon .fa-heart {
    color: #ff6161;
}

.services-section img {
    margin: auto;
    display: block;
}

.fade-up-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* nav bar */
header {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    text-align: right;
}
nav{
    width: 100%;
}
.dropdown-menu-custome {
    width: 100%;
    top: 46px;
    text-align: right;
}

.nav-item:hover > .dropdown-menu {
    display: block;
}
.dropdown-item{
    text-align: right !important;
}
.dropleft .dropdown-toggle::before {
    display: none;
}

.dropleft .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: 0;
    margin-right: 0.125rem;
}
.dropleft .dropdown-toggle::after {
    display: none;
    margin-right: 0.255em;
    vertical-align: 0.255em;
}

.dropleft .dropdown-toggle::after {
    display: none;
    margin-left: 0.255em;
    margin-top: 0.355em;
    vertical-align: 1.255em;
    content: " ";
    border-top: 0.3em solid transparent;
    border-right: 0.3em solid;
    border-bottom: 0.3em solid transparent;
    float: left;
}
.dropleft .dropdown-toggle:empty::after {
    margin-right: 0;
}
.dropleft .dropdown-toggle::after {
    vertical-align: 0;
}
.fa-arrow-left{
    margin-left: 0.255em;
    margin-top: 0.655em;
    font-size: 9px;
}
@media (min-width: 992px) {
    .mega-content {
        width: 700px;
    }
}


/* search */
.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child){
    border-top-left-radius:0;
    border-bottom-left-radius:0;
}
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
    border-top-right-radius:0;
    border-bottom-right-radius:0;
}

.nav-scroller {
    z-index: 2;
    overflow-y: hidden;
}
.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow:hidden;
    color: rgba(255, 255, 255, .75);
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.custom-dropdown .dropdown-menu {
    display: none !important;
}
.custom-dropdown.show .dropdown-menu {
    display: block !important;
}

.custom-dropdown .dropdown-menu {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding-bottom: 20px;
}

@media (max-width: 767.98px) {
    .custom-dropdown .dropdown-menu {
        padding-bottom: 60px;
    }
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

@media (max-width: 991.98px) {
    .mobile-fullscreen {
        position: fixed;
        top: 120px; /* یا اندازه‌ی ارتفاع navbar */
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #343a40; /* یا هر رنگ دلخواه */
        z-index: 9999;
        overflow-y: auto;
        padding: 1rem;
    }
    .navbar-toggler {
        border: none !important;
        box-shadow: none !important; /* برای حذف خط دور دکمه در فوکوس */
    }
}