/* Main section */
.main-banner {
    background: url(../images/background-img.png) no-repeat top center;
    background-position: center;
    background-size: cover;
    min-height: 890px;
}
#main {
    padding: 7.5rem 1.87rem;
    display: flex;
    justify-content: space-between;
}
.main-image{
    text-align: right;
}
.main-info__welcome {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
    color: #79797979;
    letter-spacing: 2px;
}
.main-info__intro{
    color: #05364e;
    font-size: 3.125rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}
.main-info__position {
    color: #05364d;
    font-size: 1.375rem;
    font-weight: 300;
    margin-top: 0.3125rem;
    margin-bottom: 1.875rem;
}
.main-info__social {
    color: #05363E;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.25rem;
}
.main-info__social a {
    margin-right: 1rem;
    color: #8FA1AA;
    font-size: 1.25rem;
    cursor: pointer;
    display: inline-block;
}
.main-info__social a:hover i{
    color: blue;
}

.main-info__action {
    margin-top: 1.875rem;
}

/* Statistics section */
.statistic {
    padding-top: 6.25rem;
    display: flex;
}

.statistic-item {
    text-align: center;
    background-color: #F8FAFF;
    padding: 0.3125rem 0.9375rem;
    border-radius: 5px;
    margin-right: 1.25rem;
    width: 140px;
}

.statistic-number {
    font-size: 1.6875rem;
    margin-bottom: 0.31rem;
    background: linear-gradient(90deg, #1345e6 0%, #ed239f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.statistic-title {
    font-size: 1rem;
    color: #797979;
    font-weight: 300;
}

/* About-me section */
.about-me {
    padding: 6.25rem 0;
    display: flex;
    align-items: center;
}
.about-me > div {
    flex: 1;
}
.about-me img {
    width: 90%;
}
.about-me button {
    margin-top: 2.5rem;
}

/* Services section */
.service {
    padding-top: 6.25rem;
}
.service-items {
    display: flex;
    justify-content: space-between;
}
.service-item {
    text-align: center;
    padding: 3.75rem 1.875rem;
    background: #f8faff;
    margin-right: 3%;
    box-sizing: border-box;
    transition: all 0.4s ease 0s;
}
.service-item:hover {
    background: #5f30ff;
}
.service-item:hover .service-item__description,
.service-item:hover .service-item__link,
.service-item:hover .service-item__title {
    color:#fff;
}

/* Clients Section */
.clients {
    padding-top: 6.25rem;
}
.clients-info {
    display: flex;
    align-items: center;
}
.clients-info > div {
    flex: 1;
}
.client-picture img{
    width: 100%;
}
.client-name {
    color: #05364d;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}
.client-job {
    font-size: 0.875rem;
    font-weight: 300;
    color: #797979;
    margin-bottom: 1.875rem;
}
.client-opinion {
    padding-left: 3.125rem;
}
.client-star {
    margin-top: 1.875rem;
}
.client-star i {
    color: #ffd804;
}
.client-star .disabled {
    color: #aeb9be;
}

/* Portfolio styles */
.portfolio {
    padding: 6.25rem 0;
}
.portfolio-filters {
    list-style: none;
    padding-left: 0px;
    margin-top: 5.625rem;
}
.portfolio-filters li {
    display: inline-block;
    margin-right: 2.5rem;
    font-size: 0.8125rem;
    font-weight: 400;
    text-transform: uppercase;
}
.portfolio-filters li.active {
    color: rgb(19,69,230,0.9);
}
.portfolio-filters li:hover {
    color: rgb(19,69,230,0.9);
    cursor: pointer;
}
.portfolio-items {
    position: relative;
}
.portfolio-item {
    display: inline-block;
    position: relative;
    width: 50%;
    padding: 0.625rem;
    box-sizing: border-box;
}
.portfolio-item1{
    padding-left: 0px;
}
.portfolio-item2 {
    position: absolute;
    top: 0;
    right: 0;
}
.portfolio-item3 {
    position: absolute;
    bottom: 0;
    right: 0;
}
.portfolio-item img {
    width: 100%;
}
.portfolio-item__overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    transition: all 0.4s ease 0s;
}
.portfolio-item__info {
    position: absolute;
    bottom: 44px;
    left: 80px;
    color: #ffffff;
    visibility: hidden;
    opacity: 0;
}
.portfolio-item__info a {
    text-decoration: none;
    color: #ffffff;
}
.portfolio-item:hover .portfolio-item__overlay {
    left: 20px;
    top: 20px;
    visibility: visible;
    background: rgb(19,69,230,0.9);
}
.portfolio-item:hover .portfolio-item__info {
    visibility: visible;
    left: 60px;
    bottom: 24px;
    z-index: 2;
    opacity: 1;
}

/* Blog Styles */
.blog-items {
    margin-top: 3.125rem;
    display: flex;
    justify-content: space-between;
}
.blog-item {
    margin-right: 3%;
    box-sizing: border-box;
    background: #f8faff;
    overflow: hidden;
}
.blog-item__image {
    overflow: hidden;
}
.blog-item:hover {
    box-shadow: 0px 10px 20px rgba(5,54,77,0.1);
    background-color: white;
}
.blog-item__image img{
    width: 100%;
    vertical-align: middle;
    transition: all 0.4s ease 0s;
}
.blog-item:hover img {
    transform: scale(1.1)
}
.blog-item__author:hover,
.blog-item__date:hover {
    color: #1345e6;
    cursor: pointer;
}
.blog-item__info {
    padding: 1.875rem;
}
.blog-item__main-info span {
    margin-right: 1.875rem;
    font-size: 0.87rem;
    font-weight: lighter;
}
.blog-item__main-info span i {
    margin-right: 0.625rem;
}
.blog-item__title:hover {
    cursor: pointer;
}
.blog-item__description {
    line-height: 1.6875rem;
}
.blog-item__link:hover {
    color: #ed239f;
}

/* Partners Section */
#partners {
    padding: 6.25rem 0;
    display: flex;
    justify-content: space-between;
}
.partner {
    padding: 0 1.875rem;
}

@media only screen and (max-width: 991px){
    /* main section */
    .main-image {
        display: none;
    }
    .main > div {
        width: 100%;
    }

    /* statistics section */
    .statistic {
        padding-top: 1rem;
        text-align: center;
        justify-content: center;
    }

    /* about-me section */
    .about-me img {
        display: none;
    }
    .about-me > div {
        width: 100%;
    }
    .about-me {
        padding: 1.5rem 0;
    }

    /* services section */
    .service {
            padding: 1.5rem;
        }
    .service-item {
        width: 45%;
        margin-bottom: 20px;
    }

    /* Clients section */
    .clients-info > div {
        width: 100%;
        float: none;
    }
    .clients {
        padding: 1.5rem 0;
    }

    /* blogs section */
    .blogs {
        padding: 1.5rem 0;
    }
    .blog-item {
        width: 45%;
        margin-bottom: 20px;
    }
    /* partners section */
    #partners {
        padding: 1.5rem 0;
    }
    .partner {
        display: block;
        padding: 0;
        text-align: center;
        margin-bottom: 10px;
    }
}












@media only screen and (max-width: 767px){
    /* Main Section */
    .main-image {
        display: none;
    }
    .main-banner {
        background: none;
        min-height: auto;
    }
    .main-info__action {
        display: none;
    }
    .main-info__intro {
        font-size: 2.8rem;
    }
    /* statistics section */
    .statistic-item {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
        box-sizing: border-box;
    }


    /* services section */
    .service-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1.25rem;
    }

    /* blogs section */
    .blog-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1.25rem;
    }


    /* portfolio section */
    .portfolio-item {
        width: 100%;
    }
    .portfolio {
        padding: 1.5rem;
    }
    .portfolio-item2,
    .portfolio-item3 {
        position: static;
    }
}