/*Main section styles*/
.main-section {
    padding: 6.25rem 1.87rem;
    display: flex;
    justify-content: space-between;
}

.main-section__image {
    text-align: right;
}

.main-section__welcome {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
    color: #797979;
}
.main-section__introduction {
    margin-top: 1.25rem;
    font-size: 3.75rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: #05364d;
}
.eko{
    color: green;
}
.main-section__tagline {
    color: #05364d;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.25rem;
}
.main-section__social-networks a{
    color: #8fa1aa;
    font-size: 1.25rem;
    display: inline-block;
    margin-right: 1rem;
    cursor: pointer;
}
.main-section__social-networks a:hover i{
    color: green;
    transition: all 0.4s ease 0s;
}
.main-section__action {
    margin-top: 1.87rem;
}

/*Statistics section*/
.statistics {
    padding-top: 6.25rem;
    display: flex;
}
.statistics__item {
    width: 150px;
    background-color: #f8fff8;
    text-align: center;
    padding: 0.32rem 0.625rem;
    margin-right: 1.25rem;
}
.statistics-number {
    font-size: 1.69rem;
    margin-bottom: 0.32rem;
    background: linear-gradient(90deg, #0d722b 0%, #05d821 100%);
    background-clip: text;
    color: transparent;
}
.statistics-title {
    font-size: 1rem;
    color: #797979;
    font-weight: 300;
}

/* Modal section */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: inherit;
}
.hidden {
    display: none;
    transition: all 0.3s ease-in-out;
}
.btn {
    position: fixed;
    top: 1.25rem;
    right: 12.5rem;
    border: 0;
    background: linear-gradient(to right, #13632b 0%, #32771f 51%, #118521 100%);
    font-family:  system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    color: white;
    font-size: 0.87rem;
    cursor: pointer;
    z-index: 1000;
}

.show-btn {
    background-color: #474b4f;
    padding: 0.5rem 0.7rem;
    border-radius: 0.65rem;
    transition: all 0.3s ease-in-out;
}

.show-btn:hover {
    background-color: #3a3d40;
}

.modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    max-width: 37.5rem;
    width: 100%;
    background-color: #d3f8db;
    padding: 0.93rem;
    border-radius: 0.5rem;
    z-index: 1000;
}

.modal-header > h3 {
    margin: 0;
}

.modal-header {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.close-btn {
    color: #222;
    font-size: 1.25rem;
    cursor: pointer;.btn {
    position: fixed;
    top: 1.25rem;
    right: 12.5rem;
    border: 0;
    background: linear-gradient(to right, #13632b 0%, #32771f 51%, #118521 100%);
    font-family:  system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    color: white;
    font-size: 0.87rem;
    cursor: pointer;
    z-index: 1000;
    }
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    cursor: pointer;
}

/*About me section*/
.about-me {
    padding: 6.25rem 0;
    display: flex;
    align-items: center;
}
.about-me > div {
    flex: 1;
}
.about-me__image {
    text-align: center;
}
.about-me__image img{
    width: 70%;
    border-radius: 40%;
}
.about-me__descripton {
    font-size: 0.87rem;
    font-weight: 300;
    color: #797979;
    line-height: 1.69rem;
    text-transform: uppercase;
}
.about-me__action {
    margin-top: 2.5rem;
}

/*Service section styles*/
.services{
    padding-top: 6.25rem;
}
.service__cards {
    display: flex;
    justify-content: space-between;
}
.service-card {
    flex: 0 0 30%;
    padding: 3.75rem 1.87rem;
    background-color: #f8fff8;
    margin-right: 3%;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.4s ease;
}
.service-card__title {
    color: green;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}
.service-card__description {
    font-size: 0.87rem;
    line-height: 1.68rem;
    font-weight: 300;
    color: green;
}
.service-card__link {
    font-size: 0.81rem;
    font-weight: 500;
    text-transform: uppercase;
    color: green;
    text-decoration: none;
}
.service-card:hover {
    background-color: green;
}
.service-card:hover .service-card__title,
.service-card:hover .service-card__description,
.service-card:hover .service-card__link {
    color: white;
}

/*clients section styles*/
.clients {
    padding-top: 6.25rem;
}
.client-item > div {
    flex: 1;
}

.client-item {
  display: flex;
  align-items: center;
}

.client-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.client-items {
  display: flex;
}

.client-items__2 {
    flex-direction: column;
}

.client-item__2 {
    margin: 6rem 0;
}

.client-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 1rem;
  box-sizing: border-box;
}


.client-item__video {
    width: 100%;
    text-align: center;
}
.client-item__info {
    padding-left: 3.12rem;
}
.client-item__name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}
.client-item__year {
    font-size: 0.87rem;
    font-weight: 300;
    color: #797979;
}
.client-item__review {
    font-size: 0.87rem;
    line-height: 1.68rem;
    font-weight: 300;
    color: #797979;
}
.client-item__rate {
    color: #FFD43B;
}

.location-item {
    padding-left: 5rem;
}

/*Portfoio section styles*/
.portfolio {
    padding: 6.25rem 0;
}
.portfolio-filters {
    list-style: none;
    padding-left: 0;
    margin-top: 5rem;
}
.portfolio-filters li {
    display: inline-block;
    margin-right: 2.5rem;
    font-size: 0.81rem;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
}
.portfolio-filters li:hover,
.portfolio-filters li.active {
    color: green;
    transition: all 0.3s ease-in-out;
}
.portfolio-items {
    margin-top: 3.125rem;
    position: relative;
    box-sizing: border-box;
}
.portfolio-item-1 {
    position: absolute;
    vertical-align: top;
}
.portfolio-item-2 {
    position: absolute;
    top: 0;
    left: 0;
}
.portfolio-item-3 {     
    position: absolute;
    top: 0;
    left: 0;
}
.portfolio-item{
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 49%;
    padding-left: 0;
}
.portfolio-item__image {
    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: white;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    transition: all 0.4s ease 0s;
}
.portfolio-item__info a{
    color: white;
    text-decoration: none;
}
.portfolio-item:hover .portfolio-item__overlay {
    visibility: visible;
    background: rgb(0, 128, 0, 0.95);
    top: 20px;
    left: 20px;
}
.portfolio-item:hover .portfolio-item__info {
    visibility: visible;
    bottom: 24px;
    left: 60px;
    opacity: 1;
}

/*blog section styles*/
.blog {
    padding-top: 6.25rem;
}
.blog-items {
    margin-top: 3.125rem;
    display: flex;
    justify-content: space-between;
}
.blog-item {
    box-sizing: border-box;
    margin-right: 3%;
    overflow: hidden;
}
.blog-item:hover .blog-item__image img {
    transform: scale(1.1);
    transition: all 0.4s ease 0s;
}
.blog-item:hover {
    box-shadow: 0px 10px 20px rgb(5 54 77 /10%);
    transition: all 0.4s ease 0s;
}
.blog-item:hover .blog-item__info {
    background-color: white;
}
.blog-item__image {
    overflow: hidden;
}
.blog-item__image img {
    width: 100%;
    vertical-align: middle;
}
.blog-item__info {
    background-color: #f8faff;
    padding: 1.87rem;
    color: #797979;
}
.blog-item__main-info span {
    font-size: 0.87rem;
    margin-right: 0.93rem;
    font-weight: lighter;
}
.blog-item__info i {
    margin-right: 0.31rem;
}
.blog-item__title {
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.93rem;
    color: #05364d;
    font-weight: 700;
}
.blog-item__description {
    line-height: 1.68rem;
    font-weight: lighter;
    font-size: 0.93rem;

}
.blog-item__learn-more {
    font-size: 0.81rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #05364d;
    cursor: pointer;
}

.blog-item__learn-more:hover {
    color: green;
}
/*partners section styles*/
.partners {
    padding-top: 6.25rem;
    display: flex;
    justify-content: space-between;
}
.partner {
    padding: 0 1.87rem;
}

@media only screen and (max-width: 991px) {
    /*main section*/
    .main-section__image {
        display: none;
    }
    .main-section > div {
        width: 100%;
    }
    /*statistics section*/
    .statistics {
        padding-top: 1rem;
        text-align: center;
        justify-content: center;
    }
    /*About me section*/
    
    .about-me {
        padding:  1.5rem 0;
    }
    .about-me > div {
        width: 100%;
    }
    .about-me__image {
        display: none;
    }
    /*servises section*/
    .services {
        padding: 1.5rem 0;
    }
    .service__cards {
        flex-wrap: wrap;
    }
    .service-card {
        flex-basis: 45%;
        margin-bottom: 1.25rem;
    }
    /*clients section*/
    .clients {
        padding: 1.5rem 0;
    }

    .client-item > div {
        width: 100%;
        float: none;
    }
    /*blog section*/
    .blog {
        padding: 1.5rem 0;
    }
    .blog-items {
        flex-wrap: wrap;
    }
    .blog-item {
        flex-basis: 45%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    /*location section*/
    .location-items {
        display: flex;
        justify-content: center;
    }
    .location-item {
        flex-direction: column;
    }

    /*partners section*/
    .partners {
        padding: 1.5rem 0;
        flex-direction: column;
    }
    .partner {
        padding: 0;
        text-align: center;
        margin-bottom: 10px;
    }
}


@media only screen and (max-width: 767px) {
    /*main section*/
    .main-section__action {
        display: none;
    }

    /*statistics section*/
    .statistics {
        flex-direction: column;
    }
    .statistics__item {
        align-self: center;
        margin-bottom: 20px;
        box-sizing: border-box;
    }
    /*servises section*/
    .services {
        padding: 1.5rem 0;
    }
    .service-card {
        flex-basis: 100%;
        margin-right: 0
    }
    /*portfolio*/
    .portfolio {
        padding: 1.5rem;
    }
    .portfolio-item {
        width: 100%;
    }
    .portfolio-item-1,
    .portfolio-item-2,
    .portfolio-item-3 {
        position: relative;
    }

    .location {
        display: none;
    }

    /*blog section*/
    .blog-item {
        flex-basis: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .btn {
 
    top: 0.5rem;
    right: 6rem;
    }
}
@media only screen and (max-width:400px)  {
    .container {
        width: 98%;
    }
    .main-section__info > h4 { 
        margin-top: 20px;
        font-size: 0.6rem;
    }
    .main-section__info > h1 { 
        margin: 10px 0;
        font-size: 2.5rem;
    }
    .main-section__info > h3 {
        margin: 0;
        font-size: 1rem;
    } 
    .statistics {
        flex-direction: row;
    }
    video {
        height: 200px;    
    }
    .client-item {
        display: block;
    }
    .client-item > div {
        width: 300px;
    }
    .footer {
        padding: 1rem 0;
    }
}