.header {
    padding-top: calc(35px + 4.5rem);
    padding-bottom: 1.5rem;
    width: 100%;
    height: 100vh;
    background-image: url(../img/pattern.png);
    background-repeat: no-repeat;
    background-size: cover
}

.header p {
    margin-bottom: 1.5rem
}

.header .container {
    height: 100%
}

.header .row,.section-testimonials>div,.section-testimonials>div>div {
    height: 100%;
    align-items: center
}

.header h1 {
    font-size: 2.75rem
}

.header hr {
    margin: 1.5rem 0;
    width: 27%;
    border: none;
    border-top: 7px solid var(--primary-color);
    border-radius: 1rem
}

.header .image {
    position: relative;
    margin-left: auto;
    width: 400px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    height: 400px;
    box-shadow: 0 8px 15px rgba(0,0,0,.2)
}

.header .image::before {
    content: "";
    display: block;
    position: absolute;
    border-radius: 50%;
    left: 3%;
    top: 3%;
    right: 3%;
    bottom: 3%;
    width: 94%;
    height: 94%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.section-companies .section-title,.section-skills .section-title {
    text-align: center
}

.section-title>.row {
    align-items: center
}

.section-title h4 {
    font-size: 1.25rem;
    font-weight: 400
}

.section-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin: .75rem 0
}

.section {
    padding: 4rem 0
}

.section-blogs,.section-skills,.section-testimonials {
    background: var(--background-light-color)
}

.projects,.skills {
    margin-top: 2rem
}

.skills>.row>div {
    margin-top: 1rem;
    padding: 1rem
}

.skills h4 {
    font-size: 1.25rem;
    font-weight: 400;
    padding: 0
}

.skills p {
    margin-top: 1rem
}

.skills i {
    font-size: 1.5rem;
    margin-right: .75rem
}

.projects>div>div {
    width: 100%;
    border-radius: 12px;
    background-size: cover;
    float: left;
    transition: all 0.5s;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center
}

.projects>div>div .content {
    transition: all 0.5s;
    opacity: 0;
    width: 100%;
    height: 100%;
    background: #00000070;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

.projects>div>div .content * {
    font-size: 1.25rem
}

.projects>div>div .content i {
    font-size: 2rem
}

.projects>div>div:hover .content {
    opacity: 1
}

.projects>div>div:hover {
    box-shadow: 0 0 20px #00000025
}

.projects>div>div+div {
    margin-top: 1rem
}

.projects>div:nth-of-type(1)>div:nth-of-type(1),.projects>div:nth-of-type(2)>div:nth-of-type(2),.projects>div:nth-of-type(3)>div:nth-of-type(1),.projects>div:nth-of-type(4)>div:nth-of-type(2) {
    height: 230px
}

.projects>div:nth-of-type(1)>div:nth-of-type(2),.projects>div:nth-of-type(2)>div:nth-of-type(1),.projects>div:nth-of-type(3)>div:nth-of-type(2),.projects>div:nth-of-type(4)>div:nth-of-type(1) {
    height: 320px
}

.section-testimonials .card-container {
    padding: 1rem;
    height: 100%
}

.section-testimonials .card {
    background: #fff;
    border-radius: .75rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 8px 15px rgba(0,0,0,.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center
}

.section-testimonials .card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto
}

.section-testimonials .card p {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    color: var(--primary-dark-color);
    border-bottom: 1px solid #f7f7f7;
    flex-grow: 1
}

.section-testimonials .card h4 {
    font-size: 13pt
}

.section-testimonials .card small {
    font-weight: lighter;
    font-size: 10pt
}

.clients {
    position: relative
}

.clients .slider>div {
    display: flex
}

.clients .next,.clients .prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 1.25px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 5px;
    transition: all 0.5s;
    cursor: pointer
}

.clients .prev {
    left: -2.5rem
}

.clients .next {
    right: -2.5rem
}

.clients .next i,.clients .prev i {
    font-size: 30px!important
}

.clients .next:hover,.clients .prev:hover {
    background: #000;
    color: #fff
}

.companies {
    margin-top: 4rem
}

.companies .slider>div {
    padding: 0 1rem;
    text-align: center;
    background: red
}

.companies img {
    /* height:28px; */
}

.blogs {
    margin-top: 1rem
}

.blogs .card {
    background: #fff;
    border-radius: .75rem;
    box-shadow: 0 0 10px #0000000d
}

.blogs .card img {
    width: 100%;
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
    height: 175px
}

.blogs .card .content {
    padding: 1rem
}

.blogs .card h4 {
    font-size: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.blogs .card p {
    margin: 1rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    word-break: break-all
}

.blogs .card small {
    display: flex;
    align-items: center;
    font-size: .7rem
}

.blogs .card small i {
    margin-right: .25rem
}

.section {
    background: transparent
}

.section:nth-child(even) {
    background: var(--background-light-color)
}

@media (max-width: 992px) {
    .header {
        min-height:100vh;
        height: unset
    }

    .section-blogs .blogs {
        margin: 1rem -7.5px!important
    }

    .header .container .row {
        flex-direction: column-reverse;
        justify-content: center;
        height: auto
    }

    .header .container .row>div:first-of-type {
        margin: 1.5rem .5rem 0 .5rem
    }

    .header .image {
        width: 300px;
        height: 300px;
        margin: 0 auto
    }

    .header h1 {
        font-size: 2rem
    }

    .section-blogs,.section-projects,.section-testimonials {
        padding: 4rem .5rem
    }

    .section-testimonials .col-md-4 {
        padding: .5rem
    }

    .projects>div {
        width: 100%;
        margin-bottom: 1rem;
        display: none
    }

    .projects>div>div {
        height: 250px!important
    }

    .projects>div:nth-of-type(1),.projects>div:nth-of-type(2) {
        display: block
    }

    .section-testimonials .col-md-4 {
        margin-top: 1rem
    }

    .section-testimonials .card-container {
        padding: 0
    }

    .clients {
        overflow: hidden
    }

    .clients .next,.clients .prev,.projects>div:nth-of-type(2)>div:nth-last-of-type(2) {
        display: none
    }

    .blogs .card {
        margin-bottom: 1rem
    }

    .section-blogs {
        margin-bottom: -1rem
    }

    .blogs .card h4 {
        white-space: inherit
    }
}
