﻿
body.rtlPage .hero_area {
    background-image: unset;
    height: 70px;
    position: relative;
    background-repeat: no-repeat;
    overflow: hidden;
    direction: rtl;
    text-align: right;
    background-color: #fafafc;
    /*
            background-image: linear-gradient(100deg, #1fd678 64%, #fff 100%);
            height: 240px;
            position: relative;
            background-repeat: no-repeat;
            overflow: hidden;
            direction: rtl;
            text-align: right;*/
}

/* body.rtlPage .hero_area::after {
                background-image: unset;
            }*/

/* #header {
            border-bottom: 1px solid rgba(242, 242, 242, 0.62);
        }

        .pageInfo {
            margin: 5% 0;
        }*/


.wrp_bg {
    background-color: var(--surface-color);
    padding: 20px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    line-height: 34px;
}

.breadcrumb {
    color: #fff;
}


.pageInfo {
    z-index: 200;
    position: relative;
}

.breadcrumb_title {
    display: none;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.3rem;
    }

.breadcrumb {
    background-color: unset;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}

.fables-after-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(14, 104, 57, 0.68);
}

.bg-rules {
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.fables-after-overlay {
    position: relative;
}

.fables-header {
    /*height: 176px;*/
    height: 115px;
    padding: 33px 0;
    /*background-image: url(../images/pages-header-background.jpg);*/
    /*background-image: url(CMS/Templates/Digitf/images/pages-header-background.jpg);*/
}

body.rtlPage .hero_area::after {
    /* background-image: linear-gradient(100deg, #1fd678 64%, #fff 90%);
    width: 100%;*/
    width: 55%;
}

/*========================*/
/*show page content style*/
/*========================*/

.rtlPage #rtlDiv {
    min-height: 100vh;
    /*background-color: #f0f4f085;*/
}

#service-details {
    background-color: #f5fff5;
}

.service-details .service-box {
    background-color: var(--surface-color);
    padding: 20px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    line-height: 34px;
}

#service-details .blog-posts {
    margin: 0;
    margin-top: 0px;
    padding: 0 0 20px 0;
    margin-top: 40px;
}

.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

#wrp_fulltext {
    display: block;
    text-align: justify;
    font-size: 15px;
    padding-left: 5%;
}

.seprate_line {
    border-bottom: solid 1px #ddd;
    margin: 8px 0 22px 0;
    border-radius: 50%;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

    .service-details ul.desc_footer li {
        padding: 0;
        line-height: 24px;
        color: #757575;
        font-size: 13px;
    }

    .service-details ul li {
        padding: 5px 0;
        display: flex;
        align-items: center;
    }

    .service-details ul.desc_footer li span {
        margin-left: 6px;
        color: #0cc;
        font-size: 18px;
        font-weight: 300;
        position: relative;
        top: -1px;
    }

.contact_section .map_container {
    /*    padding-bottom: 0px;
    width: 96%;
    padding-right: 2%;
    height: 90%;*/
    margin-top: 10px;
}

    .contact_section .map_container .map-responsive {
        height: 345px;
        border: solid 2px #24d2787a;
        border-radius: 3px;
    }

.wrp_contactUs {
    margin-bottom: 40px;
    margin-top: 20px;
}


    .wrp_contactUs div:first-child {
        font-size: 20px;
        font-weight: 500;
        color: #24d278;
        margin-bottom: 10px;
    }

    .wrp_contactUs div {
        font-size: 15px;
        line-height: 40px;
    }

        .wrp_contactUs div i {
            display: inline-block;
            color: #24d278;
            margin-left: 1px;
            font-size: 17px;
            position: relative;
            top: 2px;
        }

.contact_section h2 {
    margin-bottom: 10px;
}

.wrp_searchResults h3 {
    font-size: 18px;
}

    .wrp_searchResults h3 span {
        color: #739784;
        font-weight: 500;
        font-style: italic;
    }

.wrp_searchResults .search_ul {
    list-style: none;
    margin-top: 10px;
    padding-right: 0;
}

    .wrp_searchResults .search_ul li {
        border-bottom: dashed 1px #ddd;
        font-size: 15px;
        padding: 6px 10px;
        transition: all .2s ease-in-out;
        border-radius: 4px;
    }

        .wrp_searchResults .search_ul li:hover {
            background-color: #ddd;
            transition: all .2s ease-in-out;
        }

        .wrp_searchResults .search_ul li span.num {
            color: #406649;
            font-size: 14px;
        }

        .wrp_searchResults .search_ul li span.info {
            font-size: 13px;
            margin-right: 5px;
            color: #555;
        }

        .wrp_searchResults .search_ul li a {
        }




.tab-navigation {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.4000rem 1.5rem;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 13px;
}

    .tab-btn:hover {
        background: #e9ecef;
    }

    .tab-btn.active {
        background: #0cc;
        color: white;
    }

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    align-items: center;
    justify-content: center;
}

    .tab-content.active {
        /*display: block;*/
        display: flex;
    }

/*.grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
*/
.grid-item {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    /*aspect-ratio: 1/1;*/
    cursor: pointer;
    transition: transform 0.3s ease;
    border: solid 1px #e6e6e6;
    padding: 3px;
    background-color: #f0f0f0;
    width: 80%;
}

    .grid-item:hover {
        transform: translateY(-5px);
    }

    .grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .grid-item:hover img {
        transform: scale(1.1);
    }

.about_section.showContent .img-box img {
    width: 100%;
}

figure::after {
    width: 100%;
}






.showContent.wrp_prds .detail-box h3 {
    font-size: 21px;
    direction: rtl;
}

.showContent.wrp_prds .detail-box .wrp_fulltext {
    text-align: justify;
    font-size: 15px;
}

.showContent.wrp_prds .align-items-end {
    direction: ltr;
}

.showContent.wrp_prds .img-box img {
    width: 330px;
    border: solid 2px #18de78;
    padding: 7px;
    background-color: #e6faf0;
    border-radius: 4px;
}

.showContent.wrp_prds .heading_container {
    border-bottom: dashed 1px #18de78;
    padding-bottom: 10px;
    direction: rtl;
    margin-bottom: 40px;
}

.showContent.wrp_prds .wrp_fulltext ul {
    margin: 20px 0 0 0;
}

    .showContent.wrp_prds .wrp_fulltext ul li {
        padding-bottom: 11px;
        border-bottom: dashed 1px #ddd;
        margin-bottom: 11px;
    }

.showContent.wrp_prds .detail-box {
    direction: ltr;
}

.showContent.wrp_prds .prd_item {
    margin-bottom: 50px;
    border-bottom: solid 1px #1bdb784d;
    padding: 50px 0;
}

.showContent.wrp_prds .align-items-end {
    direction: ltr;
    background-color: #dddddd2e;
}

/*.showContent.wrp_prds .align-items-start .img-box {
    text-align:left;
}
.showContent.wrp_prds .align-items-end .img-box {
    text-align: right;
}*/

.showContent.wrp_prds .img-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.showContent.wrp_prds .align-items-start {
    padding-top: 0px;
}

#pageContainer {
    -webkit-user-select: none; /* برای کروم و سافاری */
    -moz-user-select: none; /* برای فایرفاکس */
    -ms-user-select: none; /* برای اینترنت اکسپلورر */
    user-select: none; /* استاندارد */
}

/*#wrp_fulltext, .wrp_fulltext {
    -webkit-user-select: none;*/ /* برای کروم و سافاری */
/*-moz-user-select: none;*/ /* برای فایرفاکس */
/*-ms-user-select: none;*/ /* برای اینترنت اکسپلورر */
/*user-select: none;*/ /* استاندارد */
/*}*/

.img_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
}

.img-box {
    position: relative;
}

.prd_item .col-md-7 {
    align-self: baseline;
}

.EnText {
    font-size: 17px !important;
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

#wrp_fulltext.EnText {
    direction: ltr;
}

    #wrp_fulltext.EnText ul {
        margin-top: 15px;
    }

        #wrp_fulltext.EnText ul li {
            padding: 0 0 16px 0;
        }


.num_part {
    direction: ltr !important;
    font-family: Sans-Serif !important;
}

.rtlPage .heading_container h2 .num_part {
    font-weight: 700;
}



#scrollHint i {
    color: #19dd78;
    font-size: 130px;
    transition: all .2s ease-in-out;
}


#scrollHint {
    position: fixed;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: #666;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 9999;
}

    #scrollHint:hover {
        opacity: 1;
        transform: translateX(-50%) translateY(3px);
    }

        #scrollHint:hover i {
            color: #20995b;
            transition: all .2s ease-in-out;
        }

    /* محو شدن */
    #scrollHint.hide {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(10px);
    }

    /* انیمیشن جدید (نرم و طبیعی‌تر) */
    /*#scrollHint.animate {
        animation: gentleBounce 1.8s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    }*/

/* تعریف انیمیشن */
/*@keyframes gentleBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}*/



@media (max-width: 768px) {
    .wrp_contactUs div {
        font-size: 14px;
        line-height: 34px;
        text-align: justify;
    }

        .wrp_contactUs div:first-child {
            font-size: 16px;
            font-weight: 500;
            color: #24d278;
            margin-bottom: 6px;
        }

    .contact_section h2 {
        margin-bottom: 25px;
    }

    .fables-header {
        height: auto;
        padding: 8px 0;
        background-image: unset;
    }

    .breadcrumb {
        padding: 0.25rem 1rem;
        margin-bottom: 5px;
    }


    .rtlPage .breadcrumb h2 {
        font-size: 25px;
        margin-right: 15px;
    }


    .ih-item.square {
        margin-bottom: 30px;
    }

        .ih-item.square:hover {
            box-shadow: 6px 1px 3px rgba(109, 170, 86, 0.63);
        }

    #wrp_fulltext {
        padding: 0px;
    }

    .showContent.wrp_prds .wrp_fulltext ul {
        margin: 20px 0 0 0;
        list-style: none;
        padding: 0 0 0 8px;
    }

        .showContent.wrp_prds .wrp_fulltext ul li {
            padding-bottom: 8px;
            font-size: 13px;
            margin-bottom: 8px;
        }

    .showContent.wrp_prds .img-box img {
        width: 80%;
        margin-top: 10px;
    }

    .showContent.wrp_prds .prd_item {
        margin-bottom: 8px;
        border-bottom: solid 1px #1bdb784d;
        padding: 10px 0 23px 0;
    }
}

/* آیکون با کلاس جدا */
.icon-hint {
    color: #19dd78;
    font-size: 130px;
    transition: all .2s ease-in-out;
}

/* انیمیشن حرکت */
#scrollHint.animate {
    animation: gentleBounce 1.8s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

@keyframes gentleBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* انیمیشن رنگ — فقط روی آیکون داخل animate */
#scrollHint.animate .icon-hint {
    animation: colorPulse 1.8s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

@keyframes colorPulse {
    0%, 100% {
        color: #ee6b15;
    }

    50% {
        color: #20995b;
    }
}