/*--------------------------------------------------------------
# slideshow
--------------------------------------------------------------*/

.image-of-slideshow .carousel-item image{
    width: 100%;
    height: auto;
}

.carousel-indicators li{
    width: 50px;
    height: 4px;
    background-color: var(--company-color);
}

@media screen and (max-width: 749.9px) {
    .carousel-caption {
        display: none;
    }
}

@media screen and (min-width: 750px) {

    .carousel-caption {
        text-align: left;
        bottom: 10%;
        right: 0;
        left: 0;
    }

    .carousel-item .carousel-caption h4{
        /*letter-spacing: 1.5px;*/
        /*font-size: 2rem;*/
        direction: rtl;
        width: fit-content;
        background-color: rgba(196,3,21,0.9);
        padding: 10px 30px;
        float: left;
        margin: 0 !important;
        text-transform: uppercase;
    }

    .carousel-item .carousel-caption p{
        /*letter-spacing: 1px;*/
        word-spacing: 2px;
        float: left;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 15px;
        margin-left: 25px;
        margin-top: -10px;
        font-size: 14pt;
    }

}

.carousel-item{
    transition: transform 2s ease, opacity .5s ease-out
}

.carousel-control-next, .carousel-control-prev {
    border: none !important;
    width: 50px;
    height: 50px;
    top: 50%;
    background-color: #00000060;
}

/*--------------------------------------------------------------
# logo
--------------------------------------------------------------*/

.logo {
    /*width: 200px;*/
    position: absolute;
    /*top: 19px;*/
    /*left: 39px;*/
}
.logo #white-logo{
    width: 85%;
    height: auto;
    margin-top: 45px;
    margin-bottom: 20px;
}

.logo #red-logo{
    width: 100%;
    height: auto;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 700;
    padding: 0;
    line-height: 1px;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    text-align: right;
}

.section-title h2::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--company-color);
    margin: 4px 10px;
}

.section-title p {
    color: color-mix(in srgb, #444444, transparent 50%);
    margin: 5px 0 0 0;
    font-size: 16px;
    font-weight: 500;
}

/*--------------------------------------------------------------
# Brands Section
--------------------------------------------------------------*/
.brands .title {
    border-bottom: 1px solid #e2e2e2;
    padding: 15px;
    width: fit-content;
}

.brands .owl-carousel .item img {
    width: 80%;
    height: auto;
    margin: 0 auto;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .title {
    border-bottom: 1px solid #e2e2e2;
    padding: 15px;
    width: fit-content;
}
.about .about-img {
    position: relative;
    /*border-radius: 20px;*/
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.about .about-img img {
    /*border-radius: 20px;*/
}

.about .experience-badge {
    position: absolute;
    bottom: -30px;
    left: 20px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 160px;
}

.about .experience-badge h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: var(--company-color);
}

.about .experience-badge p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #282828;
}

.about .projects-badge {
    position: absolute;
    top: 40px;
    right: 0;
    background-color: var(--company-color);
    padding: 20px;
    border-radius: 10px 0 0 10px;
    text-align: center;
    min-width: 160px;
}

.about .projects-badge h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: #ffffff;
}

.about .projects-badge p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #ffffff;
}

.about .description {
    text-align: justify;
    font-size: 12pt;
    line-height: 30px;
    margin-top: 30px;
    margin-left: 20px;
}

.about .feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about .feature-item .feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: color-mix(in srgb, var(--company-color), transparent 85%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .feature-item .feature-icon i {
    font-size: 28px;
    color: var(--company-color);
}

.about .feature-item .feature-content h4 {
    font-size: 1.25rem;
    margin: 20px 0;
}

.about .feature-item .feature-content p {
    margin-bottom: 0;
    color: color-mix(in srgb, #444444, transparent 25%);
}

.about .check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about .check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: color-mix(in srgb, #444444, transparent 25%);
}

.about .check-list li i {
    color: var(--company-color);
    font-size: 1.2rem;
}

.about .btn-primary {
    background-color: var(--company-color);
    border: none;
    padding: 10px 30px;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    /*letter-spacing: 2px;*/
    color: #ffffff;
    transition: all 0.3s ease;
}

.about .btn-primary:hover {
    background-color: color-mix(in srgb, var(--company-color), transparent 20%);
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .about .experience-badge {
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        padding: 15px;
        min-width: 140px;
    }

    .about .experience-badge h2 {
        font-size: 2.8rem;
    }

    .about .experience-badge p {
        font-size: 0.8rem;
    }

    .about .projects-badge {
        top: 15px;
        right: 15px;
        padding: 15px;
        min-width: 140px;
        border-radius: 10px;
    }

    .about .projects-badge h2 {
        font-size: 2rem;
    }

    .about .projects-badge p {
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .about .experience-badge {
        padding: 12px;
        min-width: 120px;
    }

    .about .experience-badge h2 {
        font-size: 2.2rem;
    }

    .about .experience-badge p {
        font-size: 0.75rem;
    }

    .about .projects-badge {
        padding: 12px;
        min-width: 120px;
    }

    .about .projects-badge h2 {
        font-size: 1.8rem;
    }

    .about .projects-badge p {
        font-size: 0.7rem;
    }
}

/*--------------------------------------------------------------
#  Smart Part
--------------------------------------------------------------*/
#smartPic {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
}

@media (max-width: 991.9px) {
    #smartPic {
        position: unset;
    }
}

@media (min-width: 992px) and (max-width: 1200px){
    #constructions > .row {
        padding: 0;
    }
}

@media (min-width: 1200px){
    #constructions > .row {
        padding: 30px 0;
    }
}

/*--------------------------------------------------------------
#  Product Part
--------------------------------------------------------------*/
.nav-tabs {
    border: 0;
    margin-top: 17px;
    margin-bottom: 17px;
}
.category a {
    padding: 17px 8.5px;
    margin: 0 4px;
    font-size: 20px;
    color: #666666;
}
.category a:hover {
    border-bottom: 3px solid #999999;
}
.category a.active {
    color: var(--company-color);
    border-bottom: 3px solid var(--company-color);
}
.tab-content {
    padding-top: 3px;
}
.tab-pane {
    opacity: 0;
    transform: translateY(20%);
    transition: all 0.7s ease;
}

.tab-pane.active.show {
    opacity: 1;
    transform: translateY(0);
}
#casement {
    position: relative;
}
.imageProduct {
    background-color: #000;
}
.casement {
    opacity: 0.6;
    background-image: url("../image/casement.webp");
    background-size: cover;       /* تصویر کل div رو پر کنه */
    background-position: center;  /* تصویر وسط‌چین باشه */
    height: 670px;
}
#casement .textProduct {
    position: absolute;
    top: 21%;
    left: 15%;
    right: 5%;
}
.textProduct .textBox {
    background-color: rgba(255,255,255,0.3);
    padding: 4rem;
    color: #fff;
}
.textProduct h4 {
    text-align: right;
    color: #fff;
}
.textProduct p {
    text-align: justify;
    color: #fff;
    line-height: 35px;
    font-size: 13pt;
    margin: 0;
}
.textProduct .more {
    color: #fff;
    font-size: 10pt;
    float: right;
    margin-top: 15px;
    position: relative;
    transition: .5s;
}
.textProduct .more:hover {
    color: var(--company-color);
}
.textProduct .more:after {
    content: '';
    width: 9px;
    height: 9px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    display: inline-block;
    border-bottom-left-radius: 3px;
    transform: rotate(45deg);
    position: absolute;
    top: 4px;
    left: -15px;
    transition: .4s;
    margin-top: 2px;
}
.textProduct .more:hover::after {
    border-left: 2px solid var(--company-color) !important;
    border-bottom: 2px solid var(--company-color) !important;
    left: -20px;
}
#sliding .textProduct {
    position: absolute;
    top: 21%;
    right: 15%;
    left: 5%;
}
.sliding {
    opacity: 0.6;
    background-image: url("../image/sliding.webp");
    background-size: cover;       /* تصویر کل div رو پر کنه */
    background-position: center;  /* تصویر وسط‌چین باشه */
    height: 670px;
}

/*--------------------------------------------------------------
#  part2-explain
--------------------------------------------------------------*/
.title-of-explain{
    margin-top: 8rem;
    direction: rtl;
}

.title-of-explain p{
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    color: #313131;
}

/*--------------------------------------------------------------
# part3-cols-product
--------------------------------------------------------------*/
.cols-of-product {
    padding: 30px 20px;
    transition: ease-in-out 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
    text-align: center;
}

.ih-item {
    position: relative;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
.ih-item,
.ih-item * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.ih-item a {
    color: #333;
}
.ih-item a:hover {
    text-decoration: none;
}
.ih-item img {
    width: 100%;
    height: 100%;
}

.ih-item.square {
    position: relative;
    width: 274px;
    height: 178px;
    /*border: 0.5px solid #fff;*/
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.ih-item.square .info {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ih-item.square.effect3 {
    overflow: hidden;
}

.ih-item.square.effect3 .img {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
.ih-item.square.effect3 .info {
    height: 60px;
    /*background: rgba(51, 51, 51, 0.87);*/
    opacity: 0;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
.ih-item.square.effect3 .info h3 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    font-size: 17px;
    padding: 10px 10px 0 4px;
    margin: 4px 0 0 0;
}
.ih-item.square.effect3 .info p {
    font-style: italic;
    font-size: 12px;
    position: relative;
    color: #bbb;
    padding: 5px;
    text-align: center;
}
.ih-item.square.effect3 a:hover .info {
    visibility: visible;
    opacity: 1;
}

.ih-item.square.effect3.bottom_to_top .info {
    top: auto;
    /*-webkit-transform: translateY(100%);*/
    /*-moz-transform: translateY(100%);*/
    /*-ms-transform: translateY(100%);*/
    /*-o-transform: translateY(100%);*/
    /*transform: translateY(100%);*/
}
.ih-item.square.effect3.bottom_to_top a:hover .img {
    /*-webkit-transform: translateY(-50px);*/
    /*-moz-transform: translateY(-50px);*/
    /*-ms-transform: translateY(-50px);*/
    /*-o-transform: translateY(-50px);*/
    /*transform: translateY(-50px);*/
    opacity:1;
    filter: brightness(40%);
    /*transition: all ease-in-out 0.3s;*/
}

.ih-item.square.effect3.bottom_to_top a:hover .info {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

@media (max-width: 1154px) {
    .image-of-product .col-md-3 .ih-item {
        width: 100%;
        height: 65%;
    }
}

@media (max-width: 776px) {
    .image-of-product .col-md-3 .ih-item {
        width: 70%;
        height: 100%;
        margin: 0 auto;
    }
}


@media (min-width: 768px) {
    .image-of-product .col-md-3 .ih-item {
        width: 100%;
        height: 60%;
        margin: 0 auto;
    }
}

/*--------------------------------------------------------------
# part4-constructions
--------------------------------------------------------------*/
#constructions{
    /*padding-top: 0;*/
}
section {
    padding-top: 100px;
    padding-bottom: 20px;
    overflow: hidden;
}

.section-header {
    text-align: center;
    padding-bottom: 70px;
}

.section-header h2 {
    font-size: 30px;
    font-weight: 400;
    position: relative;
    /*color: #1f2d65;*/
    display: inline-block;
    border-color: #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding: 15px;
}

/*.section-header h2::before {*/
/*    margin: 0 0 1px 0;*/
/*}*/

/*.section-header h2::before, .section-header h2::after {*/
/*    content: "";*/
/*    width: 50px;*/
/*    height: 2px;*/
/*    display: inline-block;*/
/*    background: #1f2d65;*/
/*}*/

.section-header p {
    margin: 0 auto 0 auto;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    color: #313131;
}

@media (min-width: 1199px){
    .section-header p {
        max-width: 80%;
    }
}


.constructions .card-item {
    border: 1px solid rgba(82, 86, 94, 0.2);
    /*border: 1px solid rgba(82, 86, 94, 0.13);*/
    background: #fff;
    position: relative;
    border-radius: 0;
    height: 100%;
}

.constructions .card-item .card-bg {
    min-height: 369px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.constructions .card-item .card-body {
    direction: rtl;
    text-align: right;
    padding: 20px;
}

.constructions .card-item h5 {
    /*font-weight: 700;*/
    /*font-size: 20px;*/
    margin-bottom: 15px;
    color: #494949;
}

.constructions .card-item p {
    color: #6C6C6C;
    margin: 0;
    line-height: 30px;
    font-size: 14px;
    text-align: justify;
}

/*--------------------------------------------------------------
# part5-Alt Services Section
--------------------------------------------------------------*/
.alt-services .img-bg {
    background-size: cover;
    background-position: center center;
    min-height: 400px;
}

.alt-services h3 {
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    text-align: right;
    font-size: 30px;
    font-weight: 400;
    /*color: #1f2d65;*/
    display: inline-block;
    border-bottom: 1px solid #e2e2e2;
    /*padding: 15px;*/
    margin-top: 2rem;
}

.alt-services p{
    margin: 0 auto 0 auto;
    text-align: justify;
    line-height: 30px;
    font-size: 16px;
    color: #313131;
}


.alt-services .icon-box {
    margin-top: 50px;
    direction: rtl;
    text-align: right;
}

.alt-services .icon-box i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-left: 25px;
    font-size: 28px;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    line-height: 0;
    box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    transition: 0.3s;
    direction: rtl;
}

.alt-services .icon-box:hover i {
    background-color: var(--company-color);
    color: #fff;
}

.alt-services .icon-box h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.alt-services .icon-box h4 a {
    color: #000;
    transition: 0.3s;
}

.alt-services .icon-box h4 a:hover {
    color: var(--company-color);
}

.alt-services .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# part6-Our Projects Section
--------------------------------------------------------------*/

.portfolio-container .portfolio-item{
    margin-bottom: 2rem!important;
}

.projects .portfolio-content {
    position: relative;
    overflow: hidden;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.projects .portfolio-content img {
    transition: 0.3s;
}

.projects .portfolio-content .portfolio-info {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    /*transition: all linear 0.3s;*/
}

.projects .portfolio-content .portfolio-info h4 {
    font-size: 14px;
    padding: 5px 10px;
    font-weight: 400;
    color: #fff;
    display: inline-block;
    background-color: var(--company-color);
}

.projects .portfolio-content .portfolio-info p {
    position: absolute;
    bottom: 10px;
    text-align: center;
    display: inline-block;
    left: 0;
    right: 0;
    font-size: 16px;
    /*font-weight: 600;*/
    color: #fff;
}

.projects .portfolio-content .portfolio-info .preview-link,
.projects .portfolio-content .portfolio-info .details-link {
    position: absolute;
    left: calc(50% - 40px);
    font-size: 26px;
    top: calc(50% - 14px);
    color: #fff;
    transition: 0.3s;
    line-height: 1.2;
}

.projects .portfolio-content .portfolio-info .preview-link:hover,
.projects .portfolio-content .portfolio-info .details-link:hover {
    color: var(--company-color);
}

.projects .portfolio-content .portfolio-info .details-link {
    left: 50%;
    font-size: 34px;
    line-height: 0;
}

.projects .portfolio-content:hover .portfolio-info {
    opacity: 1;
}

.projects .portfolio-content:hover img {
    transform: scale(1.1);
    cursor: pointer;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    /*background:url("../image/bg.jpg");*/
    background-color: #6a6a6a;
    background-size: cover;
    font-size: 14px;
    padding: 80px 0 0 0;
    position: relative;
    direction: rtl;
    text-align: right;
}

.footer::before {
    content: "";
    background-color: #6a6a6a;
    position: absolute;
    inset: 0;
}

.footer .footer-content .footer-info {
    margin-bottom: 30px;
}

.footer .footer-content .footer-info h4 {
    font-size: 22px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}

.footer .footer-content .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    color: #fff;
}

.footer .footer-content .footer-info p a {
    color: rgba(255,255,255,0.7);
}

.footer .footer-content .footer-info p a i {
    color: var(--company-color);
    margin-left: 0.5rem;
}

.footer .footer-content .footer-info p a .callTel {
    direction: ltr;
    unicode-bidi: bidi-override;
    text-align: left;
}

.footer .footer-content .footer-info p a:hover {
    color: #fff;
}

.social-links .fa-instagram::before {
    content: "\f16d";
    font-family: " font-awesome4.7.0";
}

.social-links .fa-telegram::before {
    content: "\f2c6";
    font-family: " font-awesome4.7.0";
}

.social-links .fa-whatsapp::before {
    content: "\f232";
    font-family: " font-awesome4.7.0";
}

.footer .footer-content .social-links a {
    font-size: 18px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    line-height: 1;
    margin-right: 8px;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.footer .footer-content .social-links a:hover {
    background: var(--company-color);
    text-decoration: none;
}

.footer .footer-content .footer-links {
    margin-bottom: 30px;
}

.footer .footer-content .footer-links h4{
    color: #fff;
    position: relative;
    padding-bottom: 12px;
    font-size: 22px;
}


.footer .footer-content .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    /*padding-left: 0;*/
}

.footer .footer-content .footer-links ul li {
    /*padding: 8px 0;*/
    border-bottom: 1px solid #cdcdcd9e;
    padding: 0.75rem 0;
}

.footer .footer-content .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-content .footer-links ul a {
    color: rgba(255,255,255,0.7);
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}

.footer .footer-content .footer-links ul a:hover {
    color: #fff;
}

.footer .footer-content .footer-links p{
    color: rgba(255,255,255,0.7);
    text-align: justify;
}


.footer .footer-legal .copyright {
    /*padding-top: 30px;*/
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}


.footer .sign {
    /*border-top: 1px solid #cdcdcd;*/
    font-size: 0.8rem;
    /*opacity: 0.5;*/
    padding: 2rem 0;
    text-align: center;
    direction: ltr;
}

.sign p {
    direction: ltr;
    line-height: 30px;
    color: rgba(255,255,255,0.7);
}

#note {
    text-align: left;
    font-size: 11px;
    margin: 0;
    display: inline-block;
}

#note a {
    color: #fff;
}

#note a:hover {
    color: var(--company-color);
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: var(--company-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--company-color), transparent 20%);
    color: #fff;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

#logoutForm {
    padding: 0;
}

#logoutForm a {
    border-top: none;
}



