.team-details {

    &__media {
        position: relative;

        @media (min-width: 1200px) {
            padding-right: 16px;
        }

        .social-profile {
            gap: 30px;
            left: 30px;
            bottom: 88px;
            position: absolute;

            @media (max-width: 1300px) {
                bottom: 40px;
            }

            @media (max-width: 1199px) {
                gap: 20px;
                left: 20px;
                bottom: 30px;
            }

            @media (max-width: 380px) {
                bottom: 20px;
            }

            span {
                color: $primary;
                font-weight: 500;
                letter-spacing: 0.5em;
                text-transform: uppercase;
                transform-origin: 77px -46px;
                @include transform(rotate(90deg));
                
                @media (max-width: 1199px) {
                    font-size: 14px;
                    line-height: 22px;
                    letter-spacing: 0.3em;
                    transform-origin: 58px -29px;
                }
                
                @media (max-width: 450px) {
                    font-size: 13px;
                    line-height: 16px;
                    transform-origin: 43px -23px;
                }

                @media (max-width: 380px) {
                    font-size: 11px;
                }
            }

            ul {
                gap: 10px;
                flex-wrap: wrap;
                display: inline-flex;
                flex-direction: column;
                justify-content: center;

                @media (max-width: 380px) {
                    gap: 5px;
                }
                
                li {  
                    
                    a { 
                        border: 0;
                        padding: 0;
                        width: 40px;
                        height: 40px;
                        display: block;
                        font-size: 15px;
                        color: $primary3; 
                        line-height: 41px;
                        text-align: center;
                        transition: all .3s ease;
                        background-color: $white;
                        @include border-radius(500px);

                        @media (max-width: 1199px) {
                            width: 35px;
                            height: 35px;
                            font-size: 12px;
                        }

                        @media (max-width: 450px) {
                            width: 30px;
                            height: 30px;
                            font-size: 10px;
                            line-height: 30px;
                        }
                        
                        @media (max-width: 380px) {
                            width: 25px;
                            height: 25px;
                            line-height: 25px;
                        }

                        &::before {
                            content: inherit;
                        }
        
                        &:hover, &:focus {
                            color: $dark_white;
                            background-color: $primary;
                            @include transform(translate(5px, 0));
                        }
                    }
                }
            }
        }

        img {
            
            @media (max-width: 991px) {
                width: 100%;
            }
        }
    }

    &__content {

        h6 {
            color: $primary;
            font-size: 16px;
            font-weight: 500;
            line-height: 24px;
            margin-bottom: 20px;
            text-transform: uppercase; 

            @media (max-width: 767px) {
                margin-bottom: 10px;
            }
        }

        h2 {
            color: $dark_black;
            margin-bottom: 20px;
            
            span {
                font-family: $la;
                margin-left: 8px;
                font-size: 16px;
                font-weight: 500;
                line-height: 26px;
                color: $textcolor;
                white-space: nowrap;
            }

            @media (max-width: 1199px) {
                font-size: 42px;
                line-height: 56px; 
            }

            @media (max-width: 991px) {
                font-size: 36px;
                line-height: 50px; 
            }
            
            @media (max-width: 767px) {
                font-size: 32px;
                line-height: 46px; 
                margin-bottom: 10px;
            }

            @media (max-width: 575px) {
                font-size: 28px;
                line-height: 42px; 
            }
        }

        p {
            font-family: $la;
            margin-bottom: 30px;
        }

        ul {
            margin: 0 0 30px 0;

            li {
                font-family: $la;
                font-weight: 400;
                color: $dark_black;
                padding-left: 35px;
                position: relative;
                margin-bottom: 15px;

                &:last-child {
                    margin-bottom: 0;
                }

                &:after {
                    left: 0;
                    width: 25px;
                    content: "";
                    height: 25px;
                    color: $primary;
                    line-height: 25px;
                    font-size: 10px;
                    text-align: center;
                    position: absolute;
                    border-radius: 500px;
                    background: $dark_white;
                    font-family: "Font Awesome 5 Pro";
                }
            }
        }

        .contact-info {

            ul {
                margin: 0 0 -15px 0;
                
                @media (min-width: 576px) {
                    column-count: 2;
                    column-gap: 30px;
                }

                li {
                    padding-left: 0; 
                    font-size: 16px;
                    font-family: $la;
                    color: $textcolor;
                    line-height: 24px;
                    
                    @media (min-width: 1441px) {
                        white-space: nowrap;
                    }

                    @media (max-width: 1199px) {
                        font-size: 14px;
                        line-height: 22px;
                    }

                    &:after {
                        content: inherit;
                    }

                    span {
                        font-weight: 700;
                        color: $secondary;
                        margin-right: 8px;
                    }

                    a {
                        font-size: 16px;
                        line-height: 24px;
                        font-weight: 400;
                        color: $textcolor;

                        @media (max-width: 1199px) {
                            font-size: 14px;
                            line-height: 22px;
                        }
                    }
                }
            }
        }
    }

    hr {
        height: 1px;
        background-color: #E2E9FF;
    }

    &__block {

        h3 {
            color: $black;
            margin-bottom: 7px;

            @media (max-width: 991px) {
                font-size: 30px;
                line-height: 42px; 
            }

            @media (max-width: 767px) {
                font-size: 30px;
                line-height: 42px; 
            }

            @media (max-width: 575px) {
                font-size: 25px;
                line-height: 39px; 
            }

            @media (max-width: 480px) {
                font-size: 24px;
                line-height: 34px; 
            }
        }

        img {
            height: auto;
            max-width: 100%;
            margin-bottom: 30px;
        }

        p {
            font-family: $la;
        }

        .educational-item {
            gap: 20px;

            &__row {
                gap: 30px;
                border-bottom: 1px solid #E2E9FF;

                &:last-child {
                    border: inherit;
                    margin-bottom: 0;
                    padding-bottom: 0;
                }
            }
           
            .number {
                width: 66px;
                height: 66px;
                color: $primary;
                min-width: 66px;
                line-height: 66px;
                text-align: center;
                border-radius: 500px;
                background: #E2E9FF;

                span {
                    font-size: 24px;
                    font-weight: 600;
                    line-height: 36px;
                }
            }

            .text {

                p {
                    span {
                        color: $primary;
                    }
                }
            }
        }
    }
}

.can-help {

    ~ .cta-banner {
        z-index: 1;
        position: relative;

        &:after {
            top: 0;
            left: 0;
            width: 100%;
            z-index: -1;
            content: "";
            position: absolute;
            background: $dark_white;
            height: calc(100% - 93px);
            
            @media (max-width: 1199px) {
                height: calc(100% - 70px);
            }
            
            @media (max-width: 991px) {
                height: calc(100% - 101px);
            }
            
            @media (max-width: 767px) {
                height: calc(100% - 90px);
            }
            
            @media (max-width: 506px) {
                height: calc(100% - 100px);
            }
            
            @media (max-width: 365px) {
                height: calc(100% - 120px);
            }
        }
    }

    &.services-two {
        z-index: 1;
        position: relative;
        padding-bottom: 370px;

        &:after {
            left: -869px;
            z-index: -1;
            content: "";
            bottom: -323px;
            position: absolute;
            width: 2102.51px;
            height: 1068.22px;
            background-size: auto;
            animation: scale 3s linear infinite;
            background-image: url(assets/img/services/services-two-overly.png);
        }

        @media (max-width: 991px) {
            padding-bottom: 320px;
        }

        @media (max-width: 767px) {
            padding-bottom: 250px;
        }

        ~ .cta-banner {
            
            &:after {
                content: inherit;
            }
        }
        
        .can-help {

            &__content {
   
                .title {

                    @media (min-width: 1200px) {
                        max-width: 611px;
                    }
                }

                .description {
            
                    @media (min-width: 1200px) {
                        max-width: 520px;
                    }
                }
            }
        }
    }

    &.can-help-home-3 {
        padding-top: 375px;
        
        .contaner {
            z-index: 1;
            position: relative;
        }

        &:after {
            z-index: -1;
            left: -857px;
            content: "";
            bottom: -283px;
            position: absolute;
            width: 2102.51px;
            height: 1068.22px;
            background-size: auto;
            animation: scale 3s linear infinite;
            background-image: url(assets/img/home-3/can-help-home-3-bg.png);
        }

        @media (max-width: 1300px) {
            padding-top: 320px;
        }

        @media (max-width: 1199px) {
            padding-top: 240px;
        }

        @media (max-width: 1199px) {
            padding-top: 180px;
        }

        @media (max-width: 767px) {
            padding-top: 130px;
        }

        @media (max-width: 480px) {
            padding-top: 80px;
        }

        ~ .cta-banner {
            
            &:after {
                content: inherit;
            }
        }
        
        .can-help {

            &__content {
   
                .title {

                    @media (min-width: 1200px) {
                        max-width: 611px;
                    }
                }

                .description {
            
                    @media (min-width: 1200px) {
                        max-width: 520px;
                    }
                }
            }
        }
    }

    &.can-help-home-1 {
        z-index: 1;
        position: relative;

        .can-help {

            &-background {
                top: 0;
                left: 0;
                width: 100%;
                z-index: -1;
                position: absolute;
                background-size: cover;
                height: calc(100% - 240px);
                background-position: center;
                background-repeat: no-repeat;
    
                &:after {
                    top: 0;
                    left: 0;
                    width: 100%;
                    z-index: -1;
                    height: 100%;
                    content: "";
                    position: absolute;
                    background: rgba(4, 33, 63, 0.8);
                }
            }

            &__content {

                .title {
   
                    @media (min-width: 1200px) {
                        max-width: 614px;
                    }
                }

                .description {

                    @media (min-width: 1200px) {
                        max-width: 550px;
                    }
                }

                .theme-btn {

                    &:hover, &:focus {

                        .color-white {
                            color: $red !important;
                        }
                    }
                }
            }
        }

        .contact-form {
            box-shadow: 0px 10px 30px rgba(4, 33, 63, 0.05);
        }
    }

    &__content {
        
        @media (min-width: 1200px) {
            max-width: 696px;
        }

        .title {
            
            @media (max-width: 1199px) {
                font-size: 42px;
                line-height: 56px; 
            }

            @media (max-width: 991px) {
                font-size: 36px;
                line-height: 50px; 
            }

            @media (max-width: 767px) {
                font-size: 32px;
                line-height: 46px; 
            }

            @media (max-width: 575px) {
                font-size: 28px;
                line-height: 38px; 
            }
        }

        .description {
            
            @media (min-width: 1200px) {
                max-width: 666px;
            }
        }

        .help-text {

            a {
                display: block;
                color: $primary;
                font-size: 24px;
                line-height: 36px;
                font-weight: 600;

                @media (max-width: 991px) {
                    font-size: 18px;
                    line-height: 24px;
                }
                
                span {
                    font-weight: 400;
                }

                &:hover, &:focus {
                    color: $primary1;
                }
            }
        }

        &-btn-group {
            gap: 30px;

            .theme-btn {
                gap: 15px;
                width: 100%;
                border-radius: 4px;
                padding: 20.5px 22px;
                background: transparent;
                border: 1.5px solid rgba(64, 105, 255, 0.3);

                &:after {
                    content: inherit;
                }

                .icon {
                    color: $primary;

                    i {
                        margin: 0;
                        font-size: 50px;
                    }
                }
                
                .text {
                    
                    span {
                        font-size: 15px;
                        line-height: 20px;
                        @include transition(.4s);
                    }
                    
                    h5 {
                        @include transition(.4s);
                    }
                }

                &:hover, &:focus {
                    
                    .text {
                    
                        span, h5 {
                            color: $primary !important;
                        }
                    }
                }
            }
        }
    }

    .contact-form {
        background: $white;
        @include border-radius(4px);

        &__header {

            .sub-title {
                font-size: 16px;
                line-height: 24px;
            }

            .title {
                
                @media (max-width: 991px) {
                    font-size: 30px;
                    line-height: 42px; 
                }

                @media (max-width: 767px) {
                    font-size: 30px;
                    line-height: 42px;
                }

                @media (max-width: 767px) {
                    font-size: 26px;
                    line-height: 38px;
                }
            }
        }

        .single-personal-info {
            margin-bottom: 20px;
        }

        input, textarea {
            width: 100%;
            outline: none;
            font-size: 15px;
            font-family: $la;
            max-width: 100%;
            font-weight: 400;
            line-height: 26px;
            border-radius: 4px;
            padding: 10.5px 20px;
            background-color: $white;
            box-sizing: border-box;
            border: 1.5px solid rgba(14, 30, 54, 0.2);

            &::placeholder {
                color: $textcolor;
                font-size: 15px;
                font-weight: 400;
                font-family: $la;
                line-height: 26px;
            }
        }

        textarea {
            resize: none;
            height: 120px;
        }

        .theme-btn {
            margin-top: -8px;
        }
    }
}

.progress-bar__wrapper {

    .single-progress-bar {
        position: relative;

        &:last-child {
            margin-bottom: 0;
        }

        .progress {
            height: 10px;
            border-radius: 30px;
            
            &-bar {
                width: 0;
                border-radius: 30px;
                animation: progress 1.5s ease-in-out forwards;
                
                .placeholder {
                    z-index: 1;
                    width: 40px;
                    height: 40px;
                    bottom: 6px;
                    color: $primary;
                    font-size: 14px;
                    font-weight: 500;
                    position: absolute;
                    margin-left: -40px;
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-image: url(assets/img/team-details/comment.png);

                    &:after {
                        top: 4px;
                        right: 2px;
                        z-index: -1;
                        width: 36px;
                        height: 20px;
                        content: "";
                        background: #FFF;
                        position: absolute;
                        border-radius: 7px;
                    }

                    opacity: 0;
                    animation: show 0.35s forwards ease-in-out 0.5s;
                }
            }
        }
    }
}