
@use './abstracts/' as *;

/* 
   * Button 
   * page title
   * Swiper button
   * Slider
   * blog page
   * flat blog details
   * video
   * flat practice
   * flat about
   * flat icon practice
   * flat testimonials
   * flat case
   * flat video
   * flat brand 
   * flat best attorneys team
   * flat best awards
   * live contact faq
   * flat faq
   * flat success
   * flat counter
   * flat contact home3
   * flat practice details
   * flat attorneys details
   * flat case detail
   * flat faq page
   * flat gallery
   * flat contact page
*/

.themes-container {
    position     : relative;
    margin-left  : auto;
    margin-right : auto;
    padding-right: 15px;
    padding-left : 15px;
    width        : 1550px;
    max-width    : 100%;
}

.tf-section2 {
    padding: 118px 0;
    @include transition3;
    position     : relative;
}

.tf-section {
    padding: 120px 0;
    @include transition3;
    position     : relative;
}

/* button 
--------------------------------------------------*/
.sc-button {
    display      : inline-block;
    color        : #fff;
    background-color: var(--primary-color2);
    box-sizing   : border-box;
    padding      : 0px 34px;
    height       : 50px;
    line-height  : 50px;
    @include transition3;
    span {
        font-weight       : 700;
        font-size         : 16px;
        position          : relative;
        text-transform    : capitalize;
        @include transition3;
    }
    &:hover,
    &.active {
        border-color: transparent;
        outline: 0 none;
    }
}

.sc-button span,
.sc-button.btn-7:hover span {
    color: #fff;
}


.sc-button.btn-2:hover span {
    color: var(--primary-color2);
}

.sc-button.btn-2 {
    background-color: var(--primary-color3);
    &::after {
        background-color: var(--primary-color);
    }
}

.sc-button.btn-3 {
    background-color: var(--primary-color8);
    &::after {
        background-color: var(--primary-color3);
    }
}

.sc-button.btn-4 {
    background-color: var(--primary-color3);
    &::after {
        background-color: var(--primary-color2);
    }
}

.sc-button.btn-6 {
    background-color: var(--primary-color3);
    &::after {
        background-color: var(--primary-color8);
    }
}

.sc-button.btn-9 {
    background-color: var(--primary-color2);
    &::after {
        background-color: var(--primary-color8);
    }
}

.sc-button.btn-7 {
    &::after {
        background-color: var(--primary-color9);
    }
}

.sc-button.fl-button:hover{
    border: 1px solid var(--primary-color3);
    background-color: var(--primary-color3);
    box-shadow: 0px 14px 14px rgb(255 101 101 / 18%);
}

.btn-1 {
    background: #232629;
    z-index: 1;
    position: relative;
    border: unset !important;
    &::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        top: 0;
        left: 0;
        z-index: -1;
        background-color: var(--primary-color3);
        border: unset !important;
        transition: all 0.3s ease;
    }
}

.btn-1:hover::after {
    top: auto;
    bottom: 0;
    height: 100%;
    border: unset !important;
}

.btn-5:hover {
    background: #000 !important;
    border: 1px solid #000 !important;
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}

.btn-8 {
    background: var(--primary-color3);
    &::after {
        background-color: var(--primary-color) !important;
    }
    &:hover {
        span {
            color: var(--primary-color2);
        }
    }
}

.btn-10 {
    background: var(--primary-color3);
    &::after {
        background-color: var(--primary-color2) !important;
    }
}


/* Page Title Inner
-------------------------------------------------------------- */
.flat-title-page {
    &.inner {
        padding: 171px 0 188px;
        position       : relative;
        background: url(./../../assets/images/slider/slider-1.jpg) center center no-repeat;
        background-size: cover;
    }
}
.overlay {
    background: linear-gradient(72.76deg, rgba(35, 38, 41, 0.9) 35.67%, rgba(39, 43, 46, 0) 66.03%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-title-heading .heading {
    line-height: 87px;
    color      : var(--primary-color);
    margin-bottom: 8px;
}

.sc-btn-button .sc-button{
    height: 40px;
    line-height: 40px;
    padding: 0 19.5px;
}

// swiper slider 
.slider.home3 .swiper-button-next,
.slider.home3 .swiper-button-prev,
.slider .swiper-button-next,
.slider .swiper-button-prev {
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    top  : 50%;
    z-index: 99;
    opacity: 0;
    @include transition3;
    background: var(--primary-color3);

    &.swiper-button-disabled {
        background: rgba(255, 255, 255, 0.031372549);
        border-color: rgba(255, 255, 255,1);
        opacity: 0;
    }
}

.slider.home3  .swiper-button-next2,
.slider .swiper-button-next {
    right: 30px; 
    left : auto; 
}

.slider.home3  .swiper-button-prev2,
.slider  .swiper-button-prev {
    right: unset; 
    left : 30px; 
}

.slider.home3:hover .swiper-button-next2,
.slider.home3:hover .swiper-button-prev2,
.slider:hover .swiper-button-next,
.slider:hover .swiper-button-prev {
    opacity: 1;
    @include transition3;
    &.swiper-button-disabled {
        opacity: 1;
    }
}

// swiper slider3 
.slider.home3 .swiper-button-next2,
.slider.home3 .swiper-button-prev2 {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    top  : 50%;
    z-index: 99;
    opacity: 0;
    @include transition3;
    background: var(--primary-color3);
    display: flex;
    align-items: center;
    justify-content: center;
    i {
        font-size: 28px;
        font-weight: 300;
        color: #fff;
    }
    &.swiper-button-disabled {
        background: rgba(255, 255, 255, 0.031372549);
        border-color: rgba(255, 255, 255,1);
        opacity: 0;
    }
}

// slider home 01
.slider {
    position: relative;
    overflow: hidden;
    .img-slider img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
    }
    .slider-item {
        position: relative;
        padding: 168px 0 192px;
        .content {
            padding-left: 15px;
            padding-right: 15px;
            .heading {
                margin-bottom: 46px;
            }
            h1 {
                cursor: text;
                text-transform: capitalize;
                color: #fff;
            }
        }
    }
    &.home2 {
        .slider-item {
            padding: 302px 0 270px;
            .overlay {
                background: linear-gradient(56.73deg, rgba(35, 38, 41, 0.9) 30.9%, rgba(39, 43, 46, 0) 63.47%);
            }
            .content {
                .heading {
                    margin-bottom: 51px;
                    h4 {
                        letter-spacing: 5.4px;
                        margin-bottom: 9px;
                    }
                    h1 {
                        margin-bottom: 28px;
                    }
                    p {
                        font-size: 16px;
                        color: var(--primary-color);
                    }
                }
                .button-1 {
                    margin-right: 29px;
                }
            }
        } 
    }
    &.home3 {
        .slider-item {
            padding: 306px 0 215px;
            .overlay {
                background: linear-gradient(56.73deg, rgba(17, 56, 57, 0.7) 33.73%, rgba(13, 45, 46, 0.3) 77.24%);

            }
            .content {
                .heading {
                    margin-bottom: 51px;
                    h4 {
                        letter-spacing: 5.4px;
                        margin-bottom: 14px;
                        margin-left: 5px;
                    }
                    h1 {
                        margin-bottom: 42px;
                        line-height: 82px;
                    }
                }
            }
        } 
    }
}

/* animation slider */
.flat-slider .signature-slider,
.flat-slider .flat-bt-slider,
.flat-slider .sub-heading ,
.flat-slider .heading  {
    transform: translateY(400px);
}

.flat-slider .signature-slider,
.flat-slider .flat-bt-slider,
.flat-slider .sub-heading,
.flat-slider .heading {
    opacity: 0;
}

.swiper-slide-active .flat-slider .signature-slider,
.swiper-slide-active .flat-slider .flat-bt-slider,
.swiper-slide-active .flat-slider .sub-heading,
.swiper-slide-active .flat-slider .heading  {
    opacity           : 1;
    visibility        : visible;
    -webkit-transition: transform 1100ms ease, opacity 1100ms ease;
    -moz-transition   : transform 1100ms ease, opacity 1100ms ease;
    -ms-transition    : transform 1100ms ease, opacity 1100ms ease;
    -o-transition     : transform 1100ms ease, opacity 1100ms ease;
    transition        : transform 1100ms ease, opacity 1100ms ease;
    transition-delay  : 1100ms;
}

.swiper-slide-active .flat-slider .signature-slider,
.swiper-slide-active .flat-slider .flat-bt-slider,
.swiper-slide-active .flat-slider .sub-heading,
.swiper-slide-active .flat-slider .heading {
    transform: translateY(0) !important;
}

.swiper-slide-active .flat-slider .heading {
    transition-delay: 800ms !important;
}

.swiper-slide-active .flat-slider .sub-heading {
    transition-delay: 550ms !important;
}

.swiper-slide-active .flat-slider .flat-bt-slider {
    transition-delay: 1100ms;
}

.swiper-slide-active .flat-slider .signature-slider {
    transition-delay: 900ms;
}

/* blog
--------------------------------------------------*/
.blog-box {
    .content {
        padding: 21px 0px 0;
        margin-bottom: 30px;
        
        h3 {
            text-transform: capitalize;
            margin-bottom : 33px;
        }
    }  
    .media {
        overflow     : hidden;
        img {
            width      : 100%;
            object-fit : cover;
        }
    }
}

.meta {
    margin-bottom: 6px;
    .user {
        margin-right: 15px;  
        &::after {
            content:'I';
            margin-left: 14px;  
            color: var(--primary-color4);
        }
    }
}

.flat-blog.home {
    padding-bottom: 90px;
}

.flat-blog.home2 {
    background: #C2976512;
    .meta {
        a {
            &:hover {
                color: var(--primary-color8);
            }
        }
    }
}

.flat-blog.home3 {
    padding-top: 123px;
    .blog-box .content h3 a {
        color: var(--primary-color2);
        &:hover {
            color: var(--primary-color9);
        }
    }
    .meta {
        a {
            &:hover {
                color: var(--primary-color9);
            }
        }
    }
}

/* Blog Page details
-------------------------------------------------------------- */
.flat-blog-details {
    .img-one {
        margin-bottom: 41px;
    }
    .post {
        .meta {
            margin-bottom: 6px;
        }
        h2 {
            font-weight: 500;
            font-size: 32px;
            margin-bottom: 33px;
            line-height: 39px;
        }
        .sc-card-article {
            margin-bottom: 40px;
            padding-bottom: 29px;
            border-bottom: 1px solid var(--primary-color6);
        }
        .text {
            margin-bottom: 40px;
            padding-left: 1px;
        }
        .post-image {
            display         : flex;
            margin-bottom   : 33.2px;
            padding         : 0px 0 0px 0;
            border-radius   : 5px;
            .thumb {
                width: 39.3%;
                padding-left: 50px;
                padding-top: 9px;
                position: relative;
                &::before {
                    content: '';
                    position: absolute;
                    width: 5px;
                    height: 130px;
                    left: 0;
                    top: 0px;
                    background: #F6F6F6;
                }          
            }
            .box-title {
                padding-right: 40px;
                h4 {
                    margin-bottom: 18px;
                    margin-left  : 2px;
                    line-height: 30px;
                }
                h3 {
                    line-height: 30px;
                }
            }
        }
        .img-box {
            display: flex;
            margin-bottom: 37px;
            .img-blog {
                margin-right: 30px;
            }
            ul {
                display: flex;
                align-items: center;
                margin-bottom: 25px;
                margin-top   : -3px;
                &:last-child {
                    margin-bottom: 0;
                }
                li {
                    i {
                        margin-right: 10px;
                        font-size: 16px;
                        color: var(--primary-color3);
                    }
                    h4 {
                        font-weight: 400;
                    }
                }
            }
        }
        .video-blog {
            margin-bottom: 45px;
        }
        .title-h3  {
            margin-bottom: 16px;
        }
        .text-2 {
            padding-left: 2px;
            margin-bottom: 40px;
        }
        .text-boder {
            border-bottom: 1px solid var(--primary-color6);
            padding-bottom: 19px;
            margin-bottom: 30px;
        }
        .infor-row {
            margin-bottom  : 53px;
            .tags {
                .title-tag {                 
                    margin-right: 29px;         
                }
                a {
                    padding: 15px 19.5px 13px;
                    font-size: 12px;
                    font-weight: 400;
                    margin-right: 6px;
                    background-color: #F6F6F6;
                    color: var(--primary-color4);
                    
                    &.active,
                    &:hover {
                        background-color: var(--primary-color3);
                        color           : #fff;
                    }
                }
            }
        }
    }
}

.blog-details {
    .post {
        padding: 0 200px;
    }
}

// video
.post-video {
    position: relative;
    a {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100px;
        height: 100px;
        background: var(--primary-color3);
        border-radius: 50%;
        text-align: center;
        line-height: 110px;
        i {
            font-size: 24px;
        }
        &:hover {
            background: var(--primary-color2);
            span {
                path {
                    fill:#fff;
                    @include transition3;
                }
            }
        }
    }
}

.ripple::before,
.ripple::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    -ms-border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    transform: translate(-50%, -50%);
    -ms-box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.04);
    -o-box-shadow: 0 0px 0 0px rgba(255, 255, 255, 0.04);
    box-shadow: 0px 0px 0px 30px rgb(255 255 255 / 10%);
    -webkit-animation: ripple 2s infinite;
    animation: ripple 2s infinite;
}

.ripple::before {
    content: "";
    position: absolute;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.ripple::after {
    content: "";
    position: absolute;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#comments {
    .title-comment {
        margin-bottom: 14px;
    }
    .comment-list {
        .comment-01 {
            border-bottom: 1px solid var(--primary-color6);
            padding-bottom: 40px;
            margin-bottom: 47px;
            &:last-child {
                margin: 0;
                border: unset;
                padding-bottom: 35px;
            }
        }
        .comment-avatar {
            width: 29%;
            padding-top: 3px;
        }
        .comment-content {
            .comment-author {
                margin-bottom: 18px;
            }
        }
    }
    .title-comment2 {
        margin-bottom: 16px;
    }
    .comment-form {
        fieldset {
            position     : relative;
            overflow     : hidden;
            width        : 100%;
            margin-bottom: 11px;

            &.name,
            &.email {
                float: left;
                width: 50%;
            }
            &.email {
                padding-left: 10px;
            }
            &.name {
                padding-right: 10px;
            }          
        }
        .style-text {
            width: 50%;
            float: left;
            &.style-text2 {
                width: 51.6%;
                float: left;
            }
            &.style-text3 {
                width: 48.4%;
                float: left;
            }
        }
        
        .phone-wrap,
        .name-wrap {
            padding-right: 15px;
        }
        .email-wrap,
        .site-wrap {
            padding-left: 15px;
        } 
        textarea  {
            padding: 7px 19px 17px ;
        }
        .text-call {
            text-transform: capitalize;
            margin-top: 21px;
            margin-bottom: 50px; 
            padding-right: 200px; 
            &::before {
                content: '*';
                color: #B14233;
                margin-left: 1px;
            }
        }
        .button {
            padding: 15.5px 35px;
        }
    }
}

// flat practice
.flat-practice {
    padding-bottom: 122px;
    .swiper-container {
        cursor:e-resize;
    }
    .practice-box {
        &:hover {
            .box-img {
                .icon-practice {
                    opacity: 1;
                    z-index: 99;
                    top: 50%;
                    transition-delay: 0.5s;
                }
                &::before {
                    transform: scale(1, 1);
                    transform-origin: center;
                }
            }
            .content h3 a{
                color: var(--primary-color3);
            }
        }
        .box-img {
            .icon-practice {
                top: 0%;
                transform: translate(-50%,-50%);
                left: 50%;
                opacity: 0;
                @include transition5;
            }
            &::before {
                content: '';
                @include absolute;
                background: rgba(177, 66, 51, 0.5);
                width: 100%;
                height: 100%;
                @include transition3;
                z-index: 1;
                transform: scale(0, 0);
                transition: transform 1000ms ease;
            }
        }
        .content {
            padding: 18px 0px 0 0px;
            margin-bottom: 0px;
            margin-left: -2px;
            align-items: center;
            h1 {
                color: var(--primary-color3);
                @include transition3;
            }
            h3 {
                text-transform: unset;
                margin-bottom: 0;
                span {
                    margin-left: 6px;
                }
            }
            p {
                line-height: unset;
                margin: 6px 0 11px 5px ;
                @include transition3;
            }
            .sc-btn-button {
                .sc-button {
                    background: #F6F6F6;
                    height: 46px;
                    line-height: 46px;
                    padding: 1px 14px 0;
                    i {
                        color: var(--primary-color2);
                        font-size: 20px;  
                    }
                    &:hover {
                        i {
                            animation: 0.3s link-icon linear;
                            color: var(--primary-color);
                        }
                    }
                }
            }  
        }
    }
    &.page {
        padding-bottom: 90px;
        .practice-box {
            margin-bottom: 16px;
        }
    }  
}

// practice home2
.flat-practice {
    &.home2 {
        padding: 0;
        margin-top: -73px;
        position: relative;
        z-index: 9;
        .wrap-practice {
            background-image: url(../images/backgroup-secsion/bg-practice.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            .practice-box  {
                @include transition3;
                width: calc(33.334% - 0px);
                background: #232629E5;
                padding: 37px 28px;
                .content {
                    margin: 0;
                    padding: 0;
                    h1 {
                        color: var(--primary-color8);
                    }
                }
                .sc-btn-button {
                    .sc-button {
                        background: var(--primary-color2);
                        @include transition3;
                        i {
                            @include transition3;
                            color: var(--primary-color);                      
                        }              
                    }
                }
                &:hover {
                    background: #C29765E5;
                    .content {
                        h3 a{
                            color: var(--primary-color);
                        }
                        p,
                        h1 {
                            color: var(--primary-color);
                        }
                    }
                    .sc-btn-button {
                        .sc-button {
                            background: var(--primary-color);
                            i {
                                color: var(--primary-color8);
                            }
                        }
                    }
                }
            }
        }
    }
}

// flat about
.flat-about {
    position: relative;
    padding-bottom: 120px;
   .mark-a {
       position: absolute;
       top: -10.8%;
       right: 9%;
       font-size: 530px;
       font-weight: 700;
       color: #B1423312;
   }
    .image-wrapper {
        .image-1 {
            transform: translate(0px, 0px);
            transition: transform 300ms ease;
            transform-origin: top; 
        }
        .image-2 {
            transform: translate(10px, 0px);
            transition: transform 300ms ease;
        }
        &:hover {
            .image-2,
            .image-1 {
                transform: translate(5px,0);
            }
        }

    }
    .about-box {
        padding: 52px 0px 0 68px;
        h2 {
            line-height: 58px;
            margin-bottom: 14px;
        }
        h4 {
            margin-left: 2px;
            padding-bottom: 27px;
            margin-bottom: 40px;
            border-bottom: 1px solid #23262912;
        }
        p {
            padding-right: 15px;
            margin-bottom: 40px;
        }
        .img-author {
            border-radius: 50%;
            width: 50px;
            height: 50px;
            position: relative;
            overflow: hidden;
            margin-right: -29px;
            padding: 0;
            &::before {
                content: '';
                @include absolute;
                background: rgba(177, 66, 51, 0.5);
                width: 100%;
                height: 100%;
                @include transition3;
                z-index: 1;
                transform: scale(0, 0);
                transition: transform 1000ms ease; 
                border-radius: 50%;
            }
            &:hover {
                z-index: 9;
                &::before  {
                    transform: scale(1, 1);
                    transform-origin: center;
                }
            }
        }
        .img-signature {
            margin-left: 20px;
        }
    }
    // home 2
    &.home2 {
        padding: 120px 0;
        .mark-a {
            font-size: 341px;
            font-weight: 700;
            top: -6px;
            right: 19.3%;
            z-index: 1;
            color: #C297651A;
        }
        .about-box {
            padding: 52px 0px 0 0px;
            margin-left: -2px;
            z-index: 9;
            position: relative;
            h2 {
                margin-bottom: 34px;
            }
            h4 {
                border-bottom: unset;
                margin-bottom : 18px;
                padding: 0;
            }
            p {
                border-bottom : 1px solid #23262912;
                padding-right: 85px;
                padding-bottom: 20px;
                margin-bottom : 60px;
            }
        }
    }
    // page
    &.page {
        padding-top: 180px;
        padding-bottom: 118px;
        .mark-a {
            color: #B142331A;
            top: 54px
        }
    }
}

// flat icon practice
.flat-icon-practice {
    background: #B1423312;
    padding-bottom: 90px;
    .wrapper-icon {
        height: 100px;
        margin-bottom: 30px;
        .box-icon {
            position: relative;
            justify-content: center;
            background-color: #fff;
            width: 100px;
            margin-right: 3px;
            z-index: 9;
            @include transition3;
            svg {
                fill:  #B14233;
                @include transition6;
            }
        }
        .content {
            padding: 0px 29px 0 24px;
            background-color: #fff;
            width: 267px;
            @include transition3;
            h3 {
                @include transition3;
            }
            i {
                @include transition3;
                font-size: 20px;
                color: var(--primary-color4);
                z-index: 999999;
            }
        }
        &:hover {
            .box-icon {
                background-color: var(--primary-color3) !important;
                svg {
                    fill:  #fff;
                    transform: rotateY(180deg);
                }
            }
            .content {
                background-color: var(--primary-color3) !important;
                h3 {
                    color: var(--primary-color);
                    z-index: 999;
                }
                i {
                    animation: 0.4s link-icon linear;
                    color: var(--primary-color);
                }
            }   
        }
        &.active {
            .box-icon {
                background-color: var(--primary-color3) !important;
                svg {
                    fill:  #fff;
                }
            }
            .content {
                background-color: var(--primary-color3) !important;
                h3 {
                    color: var(--primary-color);
                }
                i {
                    color: var(--primary-color);
                }
            } 
        }
    }
    &.page {
        background: unset;
        .wrapper-icon {
            .box-icon,
            .content {
                background: #FAF2F1;
            }
        }
    }
}

// flat icon practice 2
.flat-icon-practice2 {
    .wrapper-icon {
        border: 1px solid var(--primary-color6);
        padding: 28px 20px 39px 29px;
        margin-bottom: 30px;
        @include transition3;
        .box-icon {
            position: relative;
            margin-bottom: 42px;
            svg {
                fill:  #C29765;
                @include transition6;
            }
        }
        .content {
            h3 {
                margin-bottom: 13px;
                margin-left: 1px;
                @include transition3;
            }
            p {
                @include transition3;
            }
        }
        &:hover {
            background-color: var(--primary-color8);
            .box-icon {
                svg {
                    fill:  #fff;
                    transform: rotateY(180deg);
                }
            }
            .content {
                p,
                h3 {
                    color: var(--primary-color);
                }
            }
        }
        &.active {
            background-color: var(--primary-color8);
            .box-icon {
                svg {
                    fill:  #fff;
                }
            }
            .content {
                p,
                h3 {
                    color: var(--primary-color);
                }
            }
        }

    }
    .row-boder {
        border-bottom: 1px solid #23262912;
        padding-bottom: 30px;
    }
}

.flat-icon-practice2 {
    &.home3 {
        padding-bottom: 80px;
        .wrapper-icon {
            .box-icon {
                svg {
                    fill:  var(--primary-color9);
                }
            }
            &:hover {
                background-color: var(--primary-color9);
                .box-icon {
                    svg {
                        fill:  #fff;
                    }
                }
            }
            &.active {
                background-color: var(--primary-color9);
                .box-icon {
                    svg {
                        fill:  #fff;
                    }
                }
            }
        }
    }
}

// flat testimonials
.flat-testimonials {
    padding-top: 98px;
    .testimonial-post {    
        padding-bottom: 54px;
        border-bottom: 1px solid #23262912;
        h1 {
            font-weight: 400;
            font-size: 236px;
            color: #B1423312;
            margin-bottom: 8px;
        }
        .texts {
            font-size: 32px;
            line-height: 52px;
            color: var(--primary-color4);
            padding: 0 100px;
            margin-bottom: 33px;
        }
        .reviews {
            justify-content: center;
            margin-bottom: 12px;
            .star {
                    margin-right: 30px;
                    margin-left: 3px;
                i {
                    font-size: 11px;
                    margin-right: -0.5px;
                    color: #FCC65D;
                }
            }
        }
        h3 {
            font-family: 'Lora';
        }
    }
    // home 3
    &.home3 {
        padding-top: 118px;
        padding-bottom: 114px;
        .testimonial-post {
            padding: 1px 25px;
            border-bottom: unset;
            .box-img {
                position: relative;
                display: table;
                border: 5px solid #F6F6F6;
                border-radius: 50%;
                padding: 10px;
                margin-left: auto;
                margin-right: auto;
                margin-bottom: 20px;
                .mark-img {
                    top: 38%;
                    right: -8px;
                }
                img {
                    border-radius: 50%;
                    @include transition3;
                }
            }
            .content {
                .text-testi {
                    line-height: 42px;
                    font-size: 24px;
                    margin-bottom: 35px;
                }
            }
        } 
        .img-user {
            &:hover {
                background: rgba(255,255,255,0.05);
                -webkit-transform: scale(0.93);
                -moz-transform: scale(0.93);
                -ms-transform: scale(0.93);
                transform: scale(0.93);
                @include transition3;
            }
        }
        &.page-h3 {
            padding-top: 0;
        }
        &.page-testi {
            padding-bottom: 91px;
            .testimonial-post {
                margin-bottom: 23px;
            }
        }
    }
    &.page {
        background: #B1423312;
        padding-top: 82px;
        padding-bottom: 115px;
        .testimonial-post {
            padding-bottom: 0;
            border-bottom: unset;
        }         
    }
}


// flat case
.flat-case {
    .swiper-container {
        cursor:e-resize;
    }
    .case-box {
        .media {
            margin-bottom: 10px;
        }
        .content {
            background-color: #B1423312;
            padding: 21px 29px 23px;
            @include transition3;
            p {
                margin-bottom: 4px;
                color: var(--primary-color3);
                @include transition3;
            }
            .inner {
                @include transition5;
            }
        }
        &:hover {
            .content {
                background-color: var(--primary-color3);
                a {
                    color: var(--primary-color);      
                }
                p {
                    color: var(--primary-color);
                }
                .inner {
                    -webkit-transform: translateY(-10px);
                    transform        : translateY(-10px);  
                }
            }
        }
    }
    &.home2 {
        background-image: url(../images/backgroup-secsion/bg-case.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        .overlay {
            background: #232629CC;
        }
        .case-box {
            .content {
                background-color: var(--primary-color2);
                h3 a {
                    color: var(--primary-color);
                }
                p {
                    color: var(--primary-color8);
                }
            }
            &:hover {
                .content {
                    background-color: var(--primary-color8);
                    a {
                        color: var(--primary-color);      
                    }
                    p {
                        color: var(--primary-color);
                    }
                }
            }
        } 
    }
    &.home3 {
        .case-box {
            .content {
                background: #2326290D;
                h3 a {
                    color: var(--primary-color2);
                }
                p {
                    color: var(--primary-color9);
                }
            }
            &:hover {
                .content {
                    background-color: var(--primary-color9);
                    a {
                        color: var(--primary-color);      
                    }
                    p {
                        color: var(--primary-color);
                    }
                }
            }
        } 
    }
    &.page {
        .case-box {
            margin-bottom: 30px;
        }
    }
}

// flat video
.flat-video {
    .overlay {
        background: linear-gradient(82.76deg, rgba(35, 38, 41, 0.9) 49.67%, rgba(39, 43, 46, 0) 92.03%);
    }
    padding-top: 159px;
    padding-bottom: 282px;
    background-image: url(../images/backgroup-secsion/bg-video.jpg);
    background-repeat: no-repeat;
    background-size: cover;
   
    h1 {
        font-size: 82px;
        line-height: 99px;
        margin-bottom: 61px;
    }
    .post-video {
        a {
            top : 130.5%;
            left: 50%;
            transform: translate(-50%, 0%);
            path {
                @include transition3; 
            }
            &:hover {
                background-color: var(--primary-color);
                path {
                    fill: var(--primary-color3);
                }
            }
        }
    }
    &.home2 {
        .post-video {
            a {
                background-color: var(--primary-color8);
                &:hover {
                    background-color: var(--primary-color);
                   
                    path {
                        fill: var(--primary-color8);
                        
                    }
                }
            }
        }
    }
    &.home3 {
        .post-video {
            a {
                background-color: var(--primary-color9);
                &:hover {
                    background-color: var(--primary-color);
                    path {
                        fill: var(--primary-color9);
                    }
                }
            }
        }
    }
}

// flat brand
.flat-brand {
    padding: 0px 0 120px;
    .brand-slider {
        border-top: 1px solid #16222F12;
        padding-top: 60px;
    }
    &.home2 {
        background: #C2976512;
    }
}
  
// flat best attorneys team
.flat-best-attorneys {
    padding-bottom: 90px;
    .heading-section.style-sc {
        margin: 0;
        h5 {
            margin-bottom: 7px;
        }
        .title-style {
            line-height: 58px;
            padding-bottom: 9px;
            margin-bottom: 21px;
            &::before {
                bottom: 0;
                left: 0px;
                background-color: var(--primary-color8);
                width: 50px;
                height: 2px;
                transform: translateX(0%);
            }
        }
        p {
            margin-bottom: 50px;
        }  
    }
    .wrapper-best {
        margin-top: 2px;
        .box-img {
            a {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background-color: var(--primary-color);
                width: 46px;
                height: 46px;
                text-align: center;
                z-index: 99;
                opacity: 0;
                i {
                    @include transition3; 
                    font-size: 18px;
                    color: var(--primary-color8);
                    line-height: 46px;
                }
                &:hover {
                    i {
                        color: var(--primary-color3);
                    }
                }
            }
        }
        .content {
            padding: 26px 0 20px;
            h3 {
                margin-bottom: 3px;
                transition: all 0.3s ease;
                &:hover {
                    color: var(--primary-color8);
                }
            }
        }
        &:hover a {
            top: 50%;
            @include transition6; 
            opacity: 1; 
        }
    } 
    // home 3
    &.home3 {
        padding-bottom: 119px;
        .wrapper-best {
            .box-img {
                a {
                    i {
                        color: var(--primary-color9);
                    }
                    &:hover {
                        i {
                            color: var(--primary-color3);
                        }
                    }
                }
            }
            .content {
                h3 {
                    &:hover {
                        color: var(--primary-color9);
                    }
                }
            }
        }
        .button-best {
            margin-top: 30px;
            a {
                background-color: var(--primary-color9);
            }
        }
    } 
    &.page {
        padding-bottom: 98px;
        .wrapper-best {
            margin-top: 0px;
            .box-img a i {
                color: var(--primary-color3);
            }
        }
        .button-best {
            margin-top: 30px;
        }
    }
    &.page2 {
        padding-bottom: 118px;
        &.style {
            padding-bottom: 90px;
        }
        .row-boder {
            border-bottom: 1px solid var(--primary-color6);
            padding-bottom: 30px;
        }
    }
}

// flat best awards
.flat-best-awards {
    padding-bottom: 0;
    .heading-section.style-sc {
        margin: 0;
        h5 {
            margin-bottom: 7px;
        }
        .title-style {
            line-height: 58px;
            padding-bottom: 9px;
            margin-bottom: 21px;
            &::before {
                bottom: 0;
                left: 0px;
                background-color: var(--primary-color9);
                width: 50px;
                height: 2px;
                transform: translateX(0%);
            }
        }
        p {
            margin-bottom: 50px;
        }  
    }
    .row-boder {
        padding-bottom: 43px;
        border-bottom: 1px solid var(--primary-color6);
    }
    .heading-section .title-style::before {
        background-color: var(--primary-color9);
    }
    .wrap-awards {
        padding-top: 3px;
        .box-awards {
            margin-right: 81px;
            img {
                transition: all 0.3s ease;
            }
            &:last-child {
                margin-right: 0;
            }
            &:hover img {
                filter: sepia(0.5);
            }
        }
    } 
    &.page {
        padding-bottom: 102px;
    }
}

// flat contact faq
.flat-contact-faq {
    background: linear-gradient(90deg, #f6f6f6 50%, #fbfbfb 50%);
    padding-bottom: 120px;
    .wrap-contact {
        padding-right: 15px;
        #comments .comment-form .text-call {
            padding-right: 0;
        }
        .button {
            background-color: var(--primary-color8);
            border: 1px solid var(--primary-color8);
            &:hover {
                background-color: var(--primary-color3);
                border: 1px solid var(--primary-color3); 
            }
        }
    }
    .wrap-faq {
        padding-left: 15px;
        .texts {
            padding-right: 20px;
            margin-bottom: 19px;
        }
    }
}

.flat-contact-faq {
    .flat-accordion {
        .flat-toggle {
            border: 1px solid #F0F0F0;
            border-bottom: unset;
            &:last-child {
                border-bottom: 1px solid #F0F0F0;
            }
            
            .toggle-title {
                padding: 16px 29px 14px 29px;
                background-color: var(--primary-color) ;
                cursor          : pointer;
                .btn-toggle {
                    float: right;
                    &::after {
                        content    : '\f107';
                        font-family: "Font Awesome 5 Pro";
                        font-weight: 500;
                        color      : #E8E8E8;
                        font-size: 14px;
                    }
                }
                &.active {
                    background-color: var(--primary-color8);
                    border-bottom: 1px solid var(--primary-color8);
                    color: var(--primary-color);
                    .btn-toggle::after {
                        color      : var(--primary-color);
                    }
                } 
            }
            .toggle-content {
                padding: 20px 33px 19px 29px;
                display         : none;
                background-color: var(--primary-color);
            }
            
        }
    }
}

// flat faq
.flat-faq {
    padding-bottom: 0px;
    background: unset;
    .wrap-faq {
        padding-left: 1px;
        padding-top: 58px;
    }
    .flat-accordion .flat-toggle .toggle-title.active {
        background-color: var(--primary-color9);
        border-bottom: 1px solid var(--primary-color9);
    }
}

// flat success
.flat-success {
    padding-bottom: 98px;
    .hover-c {
        @include transition5;
        &:hover {
            .mark-c {
                z-index: -1;
            }
        }
    }
    .mark-c {
        top: 0;
        left: -11px;
        font-size: 750px;
        font-weight: 400;
        line-height: 507px;
        mix-blend-mode: multiply; 
        @include transition3;
    }
    .wrap-image {
        padding-right: 70px;
        .box-img {
            .image-1 {
                padding-left: 50px;
                margin-bottom: 30px;
                position: relative;
                @include transition3;
                &:hover {
                    filter: drop-shadow(2px 4px 6px #C29765);
                }
            }
            .image-2 {
                @include transition3;
                &:hover {
                    filter: drop-shadow(2px 4px 6px #C29765);
                    position: relative;
                }
            }
        }
        .image-3 {
            margin-top: 65px;
            z-index: -2;
        }
    }
    .wrap-success {
        padding-top: 40px;
        h5 {
            margin-bottom: 16px;
            margin-left: 1px;
        }
        h2 {
            line-height: 58px;
            padding-right: 110px;
            margin-bottom: 16px;
        }
        p {
            margin-bottom: 40px;
        }
        .wrap-ordinal {
            flex-wrap: wrap;
            .box-ordinal {
                width: 270px;
                height: 50px;
                margin-bottom: 10px;
                .number {
                    background: #F6F0E9;
                    color: var(--primary-color8);
                    font-size: 24px;
                    font-weight: 400;
                    width: 19%;
                    height: 50px;              
                    justify-content: center;    
                }
                .content {
                    background: #C2976512; 
                    padding-left: 18px;
                    width: 81%;  
                    height: 50px;            
                }
            }
        }
    } 
}

.flat-success {
    &.home3 {
        padding-bottom: 107px;
        .wrap-image {
            .box-img {
                .image-1 {
                    &:hover {
                        filter: drop-shadow(2px 4px 6px #165153);
                    }
                }
                .image-2:hover {
                    filter: drop-shadow(2px 4px 6px #165153);
                }
            }
        }
        .wrap-success {
            .wrap-ordinal {
                .box-ordinal {
                    .number {
                        color: var(--primary-color9); 
                        background: #DEE6E6;
                        z-index: 9;   
                    }
                    .content {
                        background: #16515312;       
                    }
                }
            }
        } 
    }
}

// flat counter
.flat-counter {
    padding-bottom: 120px;
    .count-row {
        border-bottom: solid 1px #16222F12;
    }
    .counter-box {
        text-align    : center;
        position      : relative;
        padding-bottom: 60px;
        &::after{
            content         : "";
            width           : 100%;
            height          : 1px;
            position        : absolute;
            right           : 0;
            bottom          : -0.5px;
            background-color: var(--primary-color8);
            transform       : scale(0, 1);
            transform-origin: center center;
            transition      : transform 500ms ease;
        }
        .number {
            color        : var(--primary-color2);
            font-size    : 72px;
            font-weight  : 400;
            margin-bottom: 23px;
            padding-left : 3px;
            &::before {
                content     : '\f067';
                font-family : 'Font Awesome 5 Pro';
                font-size   : 32px;
                margin-right: 2px;
                font-weight: 100;
            }
        }
        h4 {
            color: var(--primary-color4);
        }
    }
}

.flat-counter .counter-box:hover::after{
    transform       : scale(1, 1);
    transform-origin:center center;   
}

@property --v2 {
    syntax: "<integer>";
    initial-value: 5;
    inherits: true;
}

.flat-counter .counter-box .number-style {
  counter-reset: v2 var(--v2);
}

.flat-counter .counter-box .number-style::after {
    content:  'K';
}

.flat-counter .counter-box .number-style.number-one::after {
    content:  "." counter(v2) "K";
}

// flat-contact home3
.flat-contact {
    background-image: url(../images/backgroup-secsion/bg-contact-home3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    .overlay {
        background: linear-gradient(263.74deg, rgba(19, 63, 65, 0.95) 19.75%, rgba(35, 38, 41, 0.95) 88.97%);
        transform: matrix(-1, 0, 0, 1, 0, 0);
    }
    .wrap-contact {
        padding-right: 70px;
        .heading-section2 {
            border-bottom: 1px solid #FFFFFF12;
            padding-bottom: 43px;
            margin-bottom : 58px;
            h2 {
                margin-bottom: 12px;
            }
            h5,
            p {
                color: #FFFFFF80;
            }
        }
        
        .box-title {
            padding-left: 5px;
            .title-phone {
                font-size: 36px;
                font-weight: 700;
                margin-bottom: 10px;
            }
            h1 {
                font-size: 82px;
                color: #FFFFFF80;
                margin-bottom: 10px;
            }
        }    
    }
    #comments {
        padding-top: 3px;
        .comment-form .text-call {
            color: var(--primary-color);
            padding-right: 0;
        }
        textarea,
        input {
             border: 1px solid #FFFFFF1A;
             background: unset;
             color: var(--primary-color);
             &::placeholder {
                color: #FFFFFF80;
             }
        }
        button {
            background-color: var(--primary-color9);
            border: 1px solid var(--primary-color9);
            &:hover {
                background-color: var(--primary-color3);
                border: 1px solid var(--primary-color3); 
            }
        }
     }
}

// flat practice details
.flat-practice-details {
    .img-wrap {
        margin-bottom: 33px;
    }
    .post {
        padding: 0 200px 0 200px;
        .practice-box {
            margin-left: -2px;
            margin-bottom: 29px;
            .content {
                align-items: center;
                h1 {
                    color: var(--primary-color3);
                    margin-top: 3px
                }
                h3 {
                    font-size: 32px;
                    font-weight: 700;
                    span {
                        margin-left: 7px;
                    }
                }
                p {
                    margin-left: 4px;
                }
            }
        }
        .text-box {
            margin-bottom: 44px;
            padding-left: 3px;
        }
        .text-one {
            margin-bottom: 38px;
            padding-left: 3px;
        }
        .title-check {
            padding-left: 3px;
            margin-bottom: 47px;
        }
        .title2-h3 {
            margin-bottom: 24px;
        }
        .flat-best-attorneys.page {
            padding: 0 0 31px;
            .wrapper-best a {
                top: 59.4%;
                left: 57%;
            }
        }
        
        .flat-faq .flat-accordion .flat-toggle .toggle-title.active {
            background-color: var(--primary-color3);
            border-bottom: 1px solid var(--primary-color3);
        }
        
    }
    &.practice-sidebar {
        padding-top: 104px;
        .post {
            padding: 0;
            .text-box {
                margin-bottom: 39px;
            }
            .img-sidebar {
                margin-bottom: 41px;
            }
            .text-02 {
                margin-bottom: 44px;
            }
        }
        .side-bar {
            .widget.style-4.home {
                padding: 45px 50px 50px;
                margin-bottom: 0;
                background: unset;
                background-image: url(../images/backgroup-secsion/bg-pratice-sidebar.jpg);
                background-repeat: no-repeat;
                background-size: cover;
                position: relative;
                .overlay {
                    background: #232629E5;
                }
                .respond-comment {
                    position: relative;
                    p {
                        padding-right: 30px;
                    }
                }
            }
        }
    }
}

.side-bar {
    .flat-icon-practice {
        margin-top: 16px;
        margin-bottom: 30px;
        padding: 0;
        .wrapper-icon {
            margin-bottom: 10px;
            .box-icon {
                margin-right: 0;
            }
            .content {
                padding: 0px 29px 0 27px;
                width: 270px;
            }
            &:hover {
                .content {
                    padding: 0px 26px 0 23px;
                    width: 267px;
                    transform: translateX(3px);    
                }
            }
        }
    }
}

// flat attorneys details
.flat-attorneys-information {
    padding-bottom: 45px;
    .wrap-information {
        padding-top: 57px;
      
        .title-information {
            margin-bottom: 36px;
            h2 {
                margin-bottom: 2px;
            }
        }
        .box-information {
            border-bottom: 1px solid var(--primary-color6);
            padding-bottom: 15px;
            margin-bottom: 62px;
            .inner-1 {
                width: 52.6%; 
            }
            h4 {
                margin-bottom: 7px;
            }
            .information {
                margin-bottom: 5px;
            }
        }
        .wrap-phone {
            h3 {
                color: #272B2E4D;
            }
            h2 {
                margin-top: -23px;
                margin-left: 28px;
            }
        }
    }
}

.flat-attorneys-details {
    padding-bottom: 120px;
    .post {
        .title-h3 {
            margin-bottom: 14px;
        }
        .text-box {
            margin-bottom: 35px;
        }
        .tf-check {
            margin-bottom: 42px;
            .wrap-check.style2 {
                width: 52%;
            }
        }
        .wrap-progress {
            margin-bottom: 47px;
        }
        .flat-faq .wrap-faq {
            padding-top: 0;
            .flat-accordion .flat-toggle .toggle-title.active {
                background-color: var(--primary-color3);
                border-bottom: 1px solid var(--primary-color3);
            }
        }
    }
    .side-bar {
        padding-top: 5px;
        .widget {
            padding: 44px 50px 34px 50px;
            .widget-title {
                margin-bottom: 26px;
            }
            .box-sub-title {
                margin-bottom: 6px;
                h4 {
                    margin-bottom: 6px;
                }               
            } 
            &.widget2 {
                padding: 46px 50px 35px 50px;
            }
            &.widget3 {
                padding: 46px 50px 50px 50px;
                .widget-title {
                    margin-bottom: 30px;
                }
            }
            .box-img img:hover {
                filter: sepia(0.5);
            }
            .icon-social {
                a {
                    font-size: 14px;
                    margin-right: 41px;
                    color: rgba(35, 38, 41, 0.3);
                    &:hover {
                        color: var(--primary-color3);
                    }
                }
            }
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}

// flat case detail
.flat-case-details {
    .post {
        .img-sidebar {
            margin-bottom: 41px;
        }
        .sub-title {
            margin-bottom: 6px;
            margin-left: -2px;
        }
        .title-case {
            margin-bottom: 32px;
        }
        .tf-check {
            margin-left: 3px;
            margin-bottom: 46px;
        }
        .img-box2 {
            margin-bottom: 46px;
        }
        .style-text {
            margin-bottom: 32px;
            
        }
        .flat-faq .wrap-faq {
            padding-top: 0;
            margin-top: -2px;
        }
        .flat-faq .flat-accordion .flat-toggle .toggle-title.active {
            background-color: var(--primary-color3);
            border-bottom: 1px solid var(--primary-color3);
        }
    }
    .side-bar {
        .widget {
            padding: 46px 50px 35px 50px;
            margin-bottom: 50px;
            .widget-title {
                margin-bottom: 26px;              
            }
            .box-sub-title {
                margin-bottom: 5px;
                h4 {
                    margin-bottom: 7px;
                }
            }
        }
        .flat-icon-practice {
            margin-bottom: 0;
        }
    }
}

// flat faq page
.flat-faq-page {
    padding-top: 115px;
    padding-bottom: 120px;
    .post {
        .title-h3 {
            margin-bottom: 14px;
        }
        .text-2 {
            padding-left: 0px;
            margin-bottom: 39px;
        }
        .flat-faq {
            .wrap-faq {
                padding-top: 0;
                margin-bottom: 46px;
                &.style {
                    margin-bottom: 0;
                }
            }
            .flat-accordion .flat-toggle .toggle-title.active {
                background-color: var(--primary-color3);
                border-bottom: 1px solid var(--primary-color3);
            }
        }
    }
    .flat-practice-details.practice-sidebar {
        padding-top: 5px;
        .side-bar {
            .widget.style-4.home {
                margin-bottom: 30px;
            }
        }
    }
}

// flat gallery
.flat-gallery {
    .wrap-gallery {
        margin-bottom: 30px;	
        position: relative;	
        perspective: 500px; 
        .post {
            width: 100%;
            height: 100%;	
            padding: 5% 8%;
            position: absolute;
            content: "";
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotateY(90deg) rotateX(45deg);
            transform-origin: 50%;
            background: #B1423380;	
            opacity: 0;
            transition: all 0.4s ease-in;
            .title {
                position: absolute;
                bottom: 8.7%;
                left  : 8%;
                color: #fff;
                p {
                    text-align: left;
                }
            }
            img {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -0%) ;
                @include transition5; 
            }
        }
        &:hover .post {
            transform: translate(-50%, -50%) rotateY(0deg) rotateX(0deg);
            opacity: 1;
            img {
                transition-delay: 0.4s;
                transform: translate(-50%, -50%) ;
            }
        } 
    }
}

// flat contact page
.tf-map {
    .map-content {
        width: 100%;
        height: 850px;
    }
    .wrap-map {
        background: var(--primary-color3);
        padding: 46px 50px 35px;
        margin-top: -169%;
        h3 {
            color: var(--primary-color);
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 48px;
            &::after {
                content: "";
                width: 50px;
                height: 2px;
                left: 0;
                bottom: 0;
                position: absolute;
                background-color: var(--primary-color);
            }
            span {
                margin-left: 6px;
            }
        }
        .inner {
            margin-bottom: 5px;
            p {
                color: #FFFFFFB2;
            } 
            h4 {
                color: var(--primary-color);
                margin-bottom: 7px;
            }
        }
    }
}

.flat-contact-page {
    padding-top: 113px;
    .text {
        margin-bottom: 40px;
    }
    #comments .comment-form .text-call {
        padding-right: 600px;
    }
}
  




  

