/* Start Global Variables */
:root {
    --main-color: #10cab7;
    --secondary-color: #2c4755;
    --main-padding: 60px;
    --main-duration: 0.3s;
}

/* End Global Variables */

/* Start Global Styles */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    font-family: "Work Sans", "Arial", sans-serif;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Small */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

/* Medium */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

/* Large */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/* End Global Styles */
/* Start Components Styles */
.special-header {
    font-size: 100px;
    font-weight: 800;
    color: #ebeced;
    margin: 0;
    text-align: center;
    letter-spacing: -4px;
}

.special-header+p {
    margin: -30px 0 0 0;
    font-size: 20px;
    color: #797979;
    text-align: center;
}

@media (max-width: 767px) {
    .special-header {
        font-size: 70px
    }

    .special-header+p {
        margin: -20px 0 0 0;
        font-size: 15px;
    }

}

/* End Components Styles */
/* Start Header */
.header {
    padding: 20px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}

.header .logo {
    width: 60px;
}

.header .links {
    position: relative;
}

.header .links:hover .menu-icon span:nth-child(2) {
    width: 100%;
}

.header .links .menu-icon {
    width: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header .links .menu-icon span {
    background-color: #333;
    margin-bottom: 5px;
    height: 2px;
}

.header .links .menu-icon span:first-child {
    width: 100%;
}

.header .links .menu-icon span:nth-child(2) {
    width: 80%;
    transition: var(--main-duration);
}

.header .links .menu-icon span:last-child {
    width: 100%;
}

.header .links .navigation {
    background-color: #f6f6f6;
    list-style: none;
    position: absolute;
    right: 0;
    min-width: 200px;
    padding: 0;
    margin: 0;
    top: calc(100% + 15px);
    display: none;
}

.header .links:hover .navigation {
    display: block;
}

.header .links .navigation::before {
    content: "";
    border-width: 10px;
    border-color: transparent transparent #f6f6f6 transparent;
    border-style: solid;
    position: absolute;
    right: 5px;
    top: -20px;
}

.header .links .navigation li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    transition: var(--main-duration);
}

.header .links .navigation li a:hover {
    padding-left: 20px;
}

.header .links .navigation li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

/* End Header */

/* Start Landing Section */
.landing {
    background-image: url(../images/landing.jpg);
    background-size: cover;
    height: calc(100vh - 74px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing .intro-text {
    text-align: center;

}

.landing .intro-text h1 {
    margin: 0;
    font-weight: bold;
    font-size: 50px;
    color: var(--main-color);
}

.landing .intro-text p {
    max-width: 100%;
    line-height: 1.8;
}

/* End Landing Section */

/* Start Features Section */
.features {
    padding: var(--main-padding) 0;
    background-color: #f6f6f6;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.features .container .feature {
    padding: 5px;
    text-align: center;
}

.features .container .feature i {
    color: var(--main-color);
}

.features .container .feature h3 {
    font-weight: bold;
    margin: 20px 0;
}

.features .container .feature p {
    font-size: 16px;
    color: #777;
    line-height: 1.8;
    margin: 0;
}

/* End Features Section */

/* Start Services Section */
.services {
    padding: var(--main-padding) 0;
}

.services .services-contant {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.services .services-contant .service {
    display: flex;
    margin-bottom: 30px;
}


.services .services-contant .service i {
    color: var(--main-color);
    flex-basis: 60px;
}

.services .services-contant .service .text {
    flex: 1;
    margin-left: 20px;
}

.services .services-contant .service .text h3 {
    margin-top: 0;
}

.services .services-contant .service .text p {
    color: #444;
    font-weight: 300;
    line-height: 1.6;
    min-height: 200px;
    margin: 0;
}

.services .services-contant .image {
    text-align: center;
    position: relative;
}

.services .services-contant .image::before {
    content: "";
    position: absolute;
    width: 100px;
    height: calc(100% + 100px);
    background-color: var(--secondary-color);
    top: -50px;
    right: -30px;
    z-index: -1;
}

.services .services-contant .image img {
    width: 320px;
    filter: grayscale(0.8);
}


@media (max-width: 767px) {
    .services .services-contant .service {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .services .services-contant .service .text {
        margin-left: 0;
    }

    .services .services-contant .service .text p {
        min-height: auto;
    }

    .services .services-contant {
        gap: 0;
    }
}

@media (max-width: 1199px) {
    .services .services-contant .image {
        display: none;
    }


}

/* End Services Section */

/* Start Portfolio Section */
.portfolio {
    padding: var(--main-padding) 0;
    background-color: #f6f6f6;
}

.portfolio .portfolio-contant {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio .portfolio-contant .card {
    border-radius: 5px;
    background-color: #fff;
}

.portfolio .portfolio-contant .info {
    padding: 20px;
}

.portfolio .portfolio-contant img {
    width: 100%;
}

.portfolio .portfolio-contant .card h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.portfolio .portfolio-contant .card p {
    margin: 0;
    color: #777;
    line-height: 1.6;
}

.show-more-button button {
    display: block;
    margin: 40px auto 0 auto;
    padding: 15px 30px;
    border: none;
    background-color: var(--main-color);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--main-duration);
}

.show-more-button button:hover {
    background-color: #0daea7;
}

/* End Portfolio Section */

/* Start About Section */
.about {
    padding: var(--main-padding) 0;
}

.about .about-contant {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about .about-contant .image {
    text-align: center;
    position: relative;
    width: 250px;
    height: 375px;
}

.about .about-contant .image::before {
    content: "";
    position: absolute;
    width: 80px;
    height: calc(100% + 60px);
    background-color: #ebeced;
    top: -30px;
    left: -20px;
    z-index: -1;
}

.about .about-contant .image::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 280px;
    border-bottom: 80px solid var(--main-color);
    border-left: 80px solid var(--main-color);
    top: -30px;
    right: -130px;
    z-index: -1;
}

.about .about-contant .image img {
    width: 100%;
    filter: grayscale(0.8);
}

.about .about-contant .text {
    padding: 20px;
    flex-basis: calc(100% - 500px);
}

.about .about-contant .text p:first-of-type {
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.6;
}

.about .about-contant .text hr {
    width: 50%;
    display: inline-block;
    border-color: var(--main-color);
}

.about .about-contant .text p:last-of-type {
    color: #777;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .about .about-contant {
        flex-direction: column;
        align-items: center;
    }

    .about .about-contant .image {
        margin-bottom: 30px;
    }

    .about .about-contant .image::after {
        display: none;
    }

    .about .about-contant .image::before {
        display: none;
    }

    .about .about-contant .text {
        text-align: center;
    }
}

/* End About Section */

/* Start Contact Section */
.contact {
    padding: var(--main-padding) 0;
    background-color: #f6f6f6;
}

.contact .info {
    padding: 60px 0;
    text-align: center;
}

.contact .info .label {
    font-weight: 800;
    font-size: 40px;
    color: var(--secondary-color);
    margin: 0;
}

.contact .info .link {
    display: block;
    font-weight: 800;
    font-size: 35px;
    margin: 20px 0;
    color: var(--main-color);
    text-decoration: none;
    transition: var(--main-duration);
}

.contact .info .link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact .info .social {
    font-size: 20px;
}

.contact .info .social i {
    color: var(--main-color);
    font-size: 20px;
    transition: var(--main-duration);
}

.contact .info .social i:hover {
    color: var(--secondary-color);
}

@media (max-width: 767px) {
    .contact .info .label {
        font-size: 25px;
    }

    .contact .info .link {
        font-size: 20px;
    }

    .contact .info .social {
        font-size: 15px;
    }

    .contact .info .social i {
        font-size: 15px;
    }
}

/* End Contact Section */

/* Start Footer */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer span {
    font-weight: bold;
    color: var(--main-color);
}

/* End Footer */