/* start variables */
:root {
    --main-color: #10cab7;
    --sec-color: #2c4755;
    --padding-sec: 60px;
    --background-sec: #f6f6f6;
    --margin-sec: 100px;
    --main-duration: 0.3s;

}

/* end variables */

/* start global rules */
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Work Sans", "sans-serif";
}

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

/* small screen "mobile first"*/
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

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

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

/* end global rules */

/* component start */
.special-heading {
    color: #ebeced;
    font-size: 100px;
    text-align: center;
    font-weight: 800px;
    letter-spacing: -3px;
    margin: 0;

}

.special-heading+p {
    /* next selector */
    margin: -30px 0 0;
    font-size: 20px;
    text-align: center;
    color: #797979;

}

@media (max-width: 767px) {
    .special-heading {
        font-size: 50px;
    }

    .special-heading+p {
        margin-top: -20px;
    }

}

/* component end */

/* start header */
.header {
    padding: 20px;
}

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

.header .logo {
    width: 60px;
}

.header .links {
    position: relative;
}

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

}

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

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

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

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

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

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

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

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

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

.header .links ul a:hover {
    padding-left: 25px;

}

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

/* end header */

/* landing start  */
.landing {
    background-image: url(../images/cover.jpg);
    background-size: cover;
    height: calc(100vh - 64px);
    position: relative;
}

.landing .intro-text {
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    width: 320px;
    max-width: 100%;
}

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

.landing .intro-text p {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.8;
}

/* landing end */

/* features start  */
.features {
    padding-top: var(--padding-sec);
    padding-bottom: var(--padding-sec);
    background-color: var(--background-sec);

}

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

.features .feet {
    padding: 20px;
    text-align: center;
}

.container .feet i {
    color: var(--main-color);
    font-size: 35px;

}

.features .feet h3 {
    font-weight: 800px;
    margin: 30px 0;

}

.features .feet p {
    line-height: 1.8;
    color: #777;
    font-size: 20px;
}

/* features end  */

/* services start */
.services {
    padding-top: var(--padding-sec);
    padding-bottom: var(--padding-sec);
}

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

}

.services .services-content .srv {
    display: flex;
    margin-bottom: 40px;

}

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

}

.services .services-content .srv i {
    color: var(--main-color);
    flex-basis: 60px;
    font-size: 30px;


}

.services .services-content .srv .text {
    flex: 1;
}

.services .services-content .srv .text h3 {
    margin: 0px 0 20px
}

.services .services-content .srv .text p {
    color: #777;
    font-weight: 300px;
    line-height: 1.8;

}

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

.services .services-content .image::before {
    content: "";
    position: absolute;
    right: 0;
    background-color: var(--sec-color);
    width: 80px;
    height: 125%;
    top: -12%;
    right: 19px;
    z-index: -1;
}

.services .services-content .image img {
    width: 260px;
}

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

}

/* services end */

/* portfolio start  */
.portfolio {
    padding-top: var(--padding-sec);
    padding-bottom: var(--padding-sec);
    background-color: var(--background-sec);
}

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

}

.portfolio .portfolio-content .card {
    background-color: white;
}

.portfolio .portfolio-content .card img {
    max-width: 100%;
}

.portfolio .portfolio-content .card .info {
    padding: 20px;
}

.portfolio .portfolio-content .card .info h3 {
    margin: 0;
}

.portfolio .portfolio-content .card .info p {
    color: #777;
    line-height: 1.8;
    margin-bottom: 0;
}

/* portfolio end */

/* about start */
.about {
    padding-top: var(--padding-sec);
    padding-bottom: 130px;
}

.about .about-content {
    margin-top: var(--margin-sec);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

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

}

.about .about-content .image {
    position: relative;
    width: 250px;
    height: 375px;
}

@media (max-width:991px) {
    .about .about-content .image {
        margin: 0 auto 50px;
    }

}

.about .about-content .image img {
    max-width: 100%;
}

.about .about-content .image::before {
    content: "";
    position: absolute;
    background-color: #685f5f85;
    width: 100px;
    height: 129%;
    z-index: -1;
    top: -56px;
    right: 179px;
}

.about .about-content .image::after {
    top: -40px;
    content: "";
    position: absolute;
    width: 120px;
    height: 300px;
    border-left: 80px solid var(--main-color);
    border-bottom: 80px solid var(--main-color);
    z-index: -1;
    right: -150px;
}

@media (max-width:991px) {

    .about .about-content .image::before,
    .about .about-content .image::after {
        display: none;
    }

}

.about .about-content .text {
    flex-basis: 506px;

}

.about .about-content .text p:first-of-type {
    font-weight: bold;
    line-height: 2;
    margin-bottom: 40px;


}

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


}

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

/* about end */
/* contact start */
.contact {
    padding-top: var(--padding-sec);
    padding-bottom: var(--padding-sec);
    background-color: var(--background-sec);
}

.contact .info {
    padding-top: var(--padding-sec);
    padding-bottom: var(--padding-sec);
    text-align: center;
}

.contact .info .label {
    font-size: 40px;
    font-weight: 800;
    color: var(--sec-color);
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.contact .info .link {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--main-color);
    text-decoration: none;
}

.contact .info .social {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    font-size: 18px;
}

.contact .info .social i {
    margin-left: 10px;
    color: var(--sec-color);
}

.contact .info .social a {
    color: var(--sec-color);
    text-decoration: none;
}

@media (max-width:767px) {

    .contact .info .link,
    .contact .info .label {
        font-size: 25px;

    }

}

/* contact end */
/* footer start  */
.footer {
    background-color: var(--sec-color);
    padding: 30px 10px;
    text-align: center;
    font-size: 20px;

}

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

/* footer end  */