@import '../../../scss/base';
.react-heading,
.rs-dual-heading{
    &.title-border-yes{
        .title{
            border-bottom: 1px solid #BCBCFF;
            padding-bottom: 20px;
        }
        
    }
    position: relative;
    .title-inner{
        position: relative;
        z-index: 1;
        & > span {
            font-size: 16px;
            font-family: var(--titleFont);
            line-height: 24px;
            color: var(--primaryColor);
        }
        .sub-text{            
            margin: 0 0 16px;
            display: inline-block !important;
            color: var(--primaryColor);
            font-size: 16px;            
            line-height: 16px;
            font-family: var(--bodyFont);
            font-weight: 500;            
            z-index: 1;
            &.title-upper{
                text-transform: uppercase;
            }
        }
        &.yes{
            .title{
                color: rgba(0, 0, 0, 0.5);                
                color: #333;
                -webkit-text-stroke: 1px #BCBCFF;
                -webkit-text-fill-color: #F2F2FF;
            }

        }        
        .title{
            color:var(--titleColor);   
            margin-top: 8px;
            margin-bottom: 10px;
            z-index: 1;
            &.title-upper{
                text-transform: uppercase;
            }            
            span{
                font-weight: 100;
                position: relative;
                z-index: 1;
            }
        }       

    }

    span.watermark {         
        font-size: 150px;
        position: absolute;
        left: 0;
        top: 0;
        z-index: -1;
        text-transform: uppercase;
        font-family: var(--titleFont);
        font-weight: 700;
        background: linear-gradient(180deg, #0C0A0A 0%, rgba(12, 10, 10, 0) 100%);
        opacity: 0.06;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        height: 95px;
        display: flex;
        align-items: center;
        -webkit-text-stroke: 1px #000000;
    }

    .rt-button{
        margin-top: 40px;
        a{
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: max-content;
            max-width: max-content;
            padding: 14px 34px;
            border-radius: 4px;
            transition: 0.3s;
            font-weight: 500; 
            font-size: 16px;   
            color: var(--whiteColor);
            background: var(--primaryColor);
            border: 1px solid transparent;
            -webkit-transition: all 0.3s ease 0s;
            -moz-transition: all 0.3s ease 0s;
            -ms-transition: all 0.3s ease 0s;
            -o-transition: all 0.3s ease 0s;
            transition: all 0.3s ease 0s;
            &:hover {
                color: var(--primaryColor);
                background: transparent;
                border: 1px solid var(--primaryColor);
            }
            i {
                display: inline-block;
                margin-left: 10px;
            }
            svg{
                fill: var(--whiteColor);
                margin-left: 10px;
                height: 27px;
                width: 27px;
            }
        }
    } 

    &.big{
        .description{
            p{
                font-size: 20px;
                line-height: 32px;
            }
        }
    }
    &.style4{
        .title-inner{
            .title{
                margin-bottom: 8px;
            }
            .title-img{
                margin-bottom: 12px;
            }
        }
    }
    &.style5{
        .sub-text{
            display: inline-block;
        }
    }
    &.style2{
        position: relative;
        padding-bottom: 15px;        
      
        &:after{
            content: "";
            position: absolute;
            background: var(--secondaryColor);
            width: 60px;
            height: 2px;
            left: 0;
            bottom: 0;
            z-index: 1;
            -webkit-transition: all 0.3s ease 0s;
            -moz-transition: all 0.3s ease 0s;
            -ms-transition: all 0.3s ease 0s;
            -o-transition: all 0.3s ease 0s;
            transition: all 0.3s ease 0s;
        }
        &.center{
            &:after{
                transform: translateX(-50%);
                left: 50%;
            } 
        }
        &.right{
            &:after{
                left:auto;
                right: 0;
            } 
        }
        h2{
            margin-bottom: 12px;
        }
        .description{
            p {
                margin-bottom: 12px;
                font-weight: 500;
            }
        }
        &.Lite{
            &:after{
                background: #fff !important;
            }
        }
    }
    &.style3{
        position: relative;
        padding-bottom: 12px;
        h2{
            margin-bottom: 12px;
        }
        .description{
            position: relative;
            padding-left: 80px;
            &:after{
                content: "";
                position: absolute;
                border: 0;
                width: 60px;
                height: 2px;
                background: var(--primaryColor);
                z-index: 9;
                margin-left: 0;
                left: 0;
                top: 14px;
            }
            p{
                margin-bottom: 12px;
                font-weight: 500;
            }
        }
        &.Lite{
            .description{
                &:after{
                    background: #fff !important;
                }
            }
        }
    }
    &.style1{
        position: relative;
        padding-bottom: 12px;
        h2{
            margin-bottom: 12px;
        }
        .description{
            position: relative;
            padding-right: 80px;
            &:after{
                content: "";
                position: absolute;
                border: 0;
                width: 60px;
                height: 2px;
                background: var(--primaryColor);
                z-index: 9;
                margin-left: 0;
                right: 0;
                top: 14px;
            }
            p{
                margin-bottom: 12px;
                font-weight: 500;
            }
        }
        &.Lite{
            .description{
                &:after{
                    background: #fff !important;
                }
            }
        }
    }
    &.style8{
        position: relative;
        padding-bottom: 12px;
        margin-bottom: 10px;     
        .title-inner{
            padding-left: 25px;
            position: relative;
            display: inline-block;
            .sub-text{
                margin-bottom: 5px;
            }
            &:after{
                content: "";
                position: absolute;
                border: 0;
                width: 2px;
                height: 100%;
                background: var(--primaryColor);
                z-index: 9;
                margin-left: 0;
                left: 0;
                top: 0;          
            }
        }
        .description{
            padding-left: 25px;
            position: relative;
            &:after{
                content: "";
                position: absolute;
                border: 0;
                width: 2px;
                height: 100%;
                background: var(--primaryColor);
                z-index: 9;
                margin-left: 0;
                left: 0;
                top: 0;          
            }
        }
        h2{
            margin-bottom: 5px;
        }
        &.text-center{
            .description{
                padding-top: 15px;
                padding-left: 0px;
                &:after{
                    display: none;
                }
            }
        }
        &.Lite{
            .title-inner{
                &:after{
                    background: #fff;        
                }
            }
            .description{
                &:after{
                    background: #fff !important;
                }
            }
        }
    }
    &.style6{
        .title-inner{
            position: relative;
            padding-bottom: 12px;
            h2{
                margin-bottom: 12px;
            }
            .sub-text{
                position: relative;
                padding-left: 14px;
                
                &:after{
                    content: "";
                    position: absolute;
                    background: var(--primaryColor);
                    width: 2px;
                    height: 14px;
                    left: 0;
                    top: 1px;
                    z-index: 1;
                }
                p{
                    margin-bottom: 12px;
                }
            }
        }
        &.text-center,
        &.text-right{
            .title-inner{
                .sub-text{
                    display: inline-block;
                }
            }
        }
        &.text-center{
            .sub-text{
                position: relative;
                padding-left: 0px;
                padding-top: 60px;
                color: var(--secondaryColor);
                &:after{
                    content: '';
                    width: 77px;
                    height: 2px;
                    position: absolute;
                    left: 50%;
                    top: 0;
                    margin-top: -1px;
                    width: 2px;
                    height: 50px;
                }
            }
        }
        &.Lite{
            .sub-text{
                &:after{
                    background: #fff !important;
                }
            }
        }
        &.dark{
            .sub-text{
                &:after{
                    background: #232023 !important;
                }
            }
        }
    }
    &.style4{
        &.left{
            .title-inner{
               .sub-text{
                    padding-left: 43px;
                    &:before{
                        left: 0;
                    }
                }   
            }            
        }

        &.right{
            .title-inner{
               .sub-text{
                    padding-right: 43px;
                    &:after{
                        right: 0;
                    }
                }   
            }
            
        }
        .title-inner{
                       
            position: relative;
            padding-bottom: 12px;
            h2{
                margin-bottom: 12px;
                display: block;
            }
            .sub-text{
                position: relative;
                color: var(--secondaryColor);
                display: inline-block;
                &:before,
                &:after{
                    content: "";
                    position: absolute;
                    border: 0;
                    width: 35px;
                    height: 2px;
                    background: var(--primaryColor);
                    z-index: 9;
                    margin-left: 0;
                    left: -20px;
                    top: 12px;
                }
                &:before{
                    left: -40px;
                }
                &:after{
                    
                    left: auto;
                    right: -40px;
                }
                p{
                    margin-bottom: 12px;
                    font-weight: 500;
                }
            }
        }
        &.Lite{
            .sub-text{
                &:before,
                &:after{
                    background: #fff !important;
                }
            }
        }
        &.text-center,
        &.text-right{
            .title-inner{
                .sub-text{
                    display: inline-block;
                }
            }
        }
    }
    &.style7{
        .title-inner{
            position: relative;
            padding-bottom: 12px;
            h2{
                margin-bottom: 12px;
            }
            .sub-text{
                position: relative;
                padding-right: 65px;
                display: inline-block;
                color: var(--secondaryColor);
                &:after{
                    content: "";
                    position: absolute;
                    border: 0;
                    width: 50px;
                    height: 2px;
                    background: var(--primaryColor);
                    z-index: 9;
                    margin-left: 0;
                    right: 0;
                    top: 12px;
                }
                p{
                    margin-bottom: 12px;
                }
            }
            &.Lite{
                .sub-text{
                    &:after{
                        background: #fff !important;
                    }
                }
            }
            &.text-center,
            &.text-right{
                .title-inner{
                    .sub-text{
                        display: inline-block;
                    }
                }
            }
        }
    }  
    
    &.style9{  
        .title-img {
            img{
                position: relative;
            }
        }     
        .title-inner{          
            .title-img.top{
                margin-bottom: 15px;
            }
        }
        .title-upper{
            margin-bottom: 5px;
        }
        .bottom-line{
            .title{
                margin-bottom: 8px;
                position: relative;
                padding-bottom: 20px;
                &:after{
                    content: "";
                    position: absolute;
                    border: 0;
                    width: 80px;
                    height: 2px;
                    background: var(--primaryColor);
                    z-index: 9;
                    margin-left: 0;
                    bottom: 0;
                    left: 0;
                }
            }
        }
        &.text-center{
            .bottom-line {
                .title{
                    &:after{
                        transform: translateX(-50%);
                        left: 50%;
                    }
                }
            }
        }
    }
    &.style10{
        &.text-center{
            text-align: left !important;
            .title-inner{
                text-align: center;
            }
        }
        &.text-right{
            text-align: left !important;
            .title-inner{
                text-align: right;
            }
        }
        .title-inner{
            transform: rotate(-90deg) translatex(-50%);
            display: inline-block;
            transform-origin: left center 0;
            .title{
                white-space: nowrap;
                position: relative;
                top: 40px;
                left: 10px;
                margin-bottom: 0;
            }
        }
        .description{
            transform: rotate(-90deg);
            display: inline-block;
        }      
    }
    &.style11{
        text-align: right !important;
        &.text-center{
            text-align: right !important;
            .title-inner{
                text-align: center;
            }
        }
        &.text-right{
            text-align: right !important;
            .title-inner{
                text-align: right;
            }
        }
        .title-inner{
            transform: rotate(90deg);
            display: inline-block;
        }
        .description{
            transform: rotate(90deg);
            display: inline-block;
        }      
    }
    &.style12{
        .sub-text{
            display: inline-block;
            position: relative;
            &:before{
                content: "";
                position: absolute;
                background: #086ad8;
                left: -15px;
                top: 0px;
                z-index: 1;
                width: 2px;
                height: 14px;
            }
            &:after{
                content: "";
                position: absolute;
                background: #086ad8;
                right: -15px;
                top: 0px;
                z-index: 1;
                width: 2px;
                height: 14px;
            }
        }
    }
     &.style13{
        .title-inner{
            .sub-content {
                display: inline-flex;
                align-items: center;
            }
            .sub-text{
                position: relative;
                display: unset;
                padding: 0 10px;
                margin-bottom: 0;
            }
            .title span.watermark{
                -webkit-text-fill-color: transparent;
                -webkit-text-stroke-width: 1px;
                -webkit-text-stroke-color: #777777;
                opacity: .1;
            }
        } 

    }
}
.rs-animated-heading,
.rs-dual-heading{
    .title{
        span{
            display: inline;
        }
    }
}

.rs-animated-heading{
    .title-inner{
        .title,
        .title .cd-headline{
            color:var(--titleColor);
            line-height: 52px;
        }
        .title{  
            margin-bottom: 10px;
            &.title-upper{
                text-transform: uppercase;
            }
            .cd-headline{                
                font-weight: 700;
                margin-left: 10px;
                color: var(--secondaryColor);
                p{
                    margin-bottom: 0;
                }
            }
        }
    }
    .cd-words-wrapper{
        text-align: center;
    }
}


.title-no-margin h4.title {
    margin-bottom: 5px;
}
.title-no-margin h3.title {
    margin-bottom: 3px !important;
    font-size: 20px;
}

.list-style{
    padding: 0;
    margin: 0;
    list-style: none;
    li{
        position: relative;
        padding-left: 32px;
        margin-bottom: 5px;
        &:before{
            content: "\f0a9";
            font-family: FontAwesome;
            position: absolute;
            left: 0;
            top: 0;
            font-size: 20px;
        }
    }
}
.no-padding {
    padding: 0 !important;
}

.rt-features-list.separator_yes{
    position: relative;
}
.rt-features-list.separator_yes:after{
    position: absolute;
    content: "";
    width: 1px;
    height: 14px;
    background: #F36464;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}


//Tilte Underline
span.title_underline {
    position: relative;
    &::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 7px;
        background: #f2277e;
        bottom: 22px;
        left: 0;
        z-index: -1;
    }
}