*{
    box-sizing: border-box;
}
body{
    font-family: "work sans", sans-serif;
}
:root{
    --main-color: #10cab7;
    --section-color: #f6f6f6;
    --line-height: 1.6;
}
html{
    scroll-behavior: smooth;
}
/* start components */
.special-heading{
    color: #ebeced;
    text-align: center;
    font-weight:800;
    font-size: 130px;
}
.special-heading + p{
    text-transform: capitalize;
    color: black;
    text-align: center;
    margin-top: -150px;
    margin-bottom: 100px;
}
@media (max-width:768px){
    .special-heading{
        font-size: 80px;
    }
    .special-heading + p{
        margin-top: -90px;
    }
}
/* end components */

/* media sizing for container */
.container{ 
    max-width: 540px; 
}
@media (min-width: 576px) {
    .container { max-width: 540px; }
}
@media (min-width: 768px) {
    .container { max-width: 720px; }
}
@media (min-width: 992px) {
    .container { max-width: 960px; }
}
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}
/* media sizing for container */

/* header start */
.header{
    margin-bottom: 0;
    /* background-color: #10cab7; */
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: aliceblue; */
    padding:20px;
    margin: 0 auto;
}
.icon{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    width: 30px;
}
.icon span{
    margin-bottom: 5px;
    transition: all 0.3s;
}
.icon span:first-child, .icon span:last-child{
    width: 100%;
    height: 3px;
    background-color: black;
}
.icon span:nth-of-type(2){
    width: 50%;
    height: 2px;
    background-color: black;
}
.logo{
    width: 70px;
}
.header .links{
    position: relative;
    z-index: 1;
}
.header .links:hover .icon span:nth-of-type(2){
    width: 100%;
}
.header .container .links ul li a{
    text-decoration: none;
    color: black;
}
.header .container .links ul li{
    list-style: none;
    padding: 10px;
    padding-right: 80px;
    transition: 0.3s all;
}
.header .container .links ul{
    background-color: var(--section-color);
    width: 200px;
    position: absolute;
    right: 0;
    padding: 15px;
    top: 35px;
    margin: 0;
    display: none;
}
.header .container .links ul::before{
    content: '';
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent var(--section-color) transparent;
    position: absolute;
    top: -18px;
    right: 5px;
}
.header .container .links ul li:hover{
    padding-left: 20px;
}
.header .container .links ul li:not(:last-child){
    border-bottom: 1px solid black;
}
.header .container .links:hover ul{
    display: block;
}
/* header end */

/* start landing */
.landing{
    background-image: url("../img/mountain.jpeg");
    background-size: cover;      /* fills the box, crops if needed */
    background-position: center; /* keeps it centered */
    background-repeat: no-repeat;/* prevents tiling */
    height: 70vh;
    position: relative;
}
.landing .intro-text{
    width: 100%;
    height: 200px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.landing .intro-text h1{
    color: var(--main-color);
    /* padding-top: 20px; */
    margin: 0;
    /* position: absolute; */
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    font-size: 50px;
}
.landing .intro-text p{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* end landing */

/* start Features */
.features{
    background: var(--section-color);
}
.features .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding-top: 30px;  
    margin: 0 auto;
    gap: 50px;
}
.features .container .feat{
    text-align: center;
    padding: 20px;
    /* background-color: antiquewhite; */
    /* width:100%; */
}
.features .container .feat i{
    color: var(--main-color);
    font-size: 50px;
}
.features .container .feat p{
    line-height: var(--line-height);
    color: #777;
    font-size: 17px;
}
/* end Features */

/* start services */
.services .container{
    margin: 0 auto;
}
.services .services-content{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 50px;
    /* padding: 20px; */
}
.services .services-content .srv{
    width: fit-content;
    padding: 20px;
    display: flex;
}
.services .services-content .col i{
    color: var(--main-color);
    font-size: 30px;
    margin: 20px;
}
@media (max-width:1199px){
    .services .services-content .col:last-child{
        display: none;
    }
}
@media (max-width:767px){
    .services .services-content .srv{
        flex-direction: column;
        text-align: center;
    }    
    .services .services-content .srv i{
        margin: 0 auto;
    }
}
.services p{
    line-height: var(--line-height);
    font-weight: 300;
    color: #444;
}
.services img{
    width: 406px;
    position: absolute;
    top: -50px;
    border-radius: 20px;
    z-index: 2;
}
.services .col:last-child div::after{
    content: '';
    width: 200px;
    height: 720px;
    background-color: #2c4755;
    position: absolute;
    top: -115px;
    right: -80px;
    z-index: 1;
    border-radius: 10px;
}
/* end services */

/* start portfolio */
.portfolio{
    margin-top: 100px;
    background-color: var(--section-color);
    padding: 10px;
    padding-bottom: 80px;
}
.portfolio .container{
    margin: 0 auto;
}
.portfolio .portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 50px;
}
.portfolio .portfolio-content img{
    width: 100%;
}
.portfolio .text{
    padding: 20px;
    background-color: white;
    margin: 0;
} 
.portfolio .text h3{
    margin: 0;
}
.portfolio .text p{
    line-height: var(--line-height);
    color: #777;
}
@media (max-width:1200px){
    .portfolio .text{
        text-align: center;
    }
}
/* end portfolio */

/* start about */
.about .container{
    padding-bottom: 150px;
}
.about .container{
    margin: 0 auto;
}
.about .container .about-content div{
    padding: 20px;
}
.about .image{
    width: 400px;
    position: relative;
}
.about .image img{
    width: 100%;
    border-radius: 10px;
    height: 550px;
}
.about .image::after{
    content: '';
    width: 100px;
    height: 450px;
    border-left: var(--main-color) 80px solid;
    border-bottom: var(--main-color) 80px solid;
    position: absolute;
    top: -15px;
    right: -125px;
    z-index: -1;
}
.about .image::before{
    content: '';
    width: 100px;
    height: 650px;
    border-radius: 10px;
    position: absolute;
    background-color: #f8f3f3;
    top: -50px;
    left: -30px;  
    z-index: -1;
}
.about-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.about-container .text{
  flex: 1;
  margin-left: 150px;
}
.about hr{
    border-color: var(--main-color);
    width: 50%;
    margin-left: 0;
}
.about .container .about-container .text p:first-child{
    font-weight: bold;
    margin-bottom: 100px;
    padding-top: 60px;
    line-height: 2;
}
.about .container .about-container .text p:last-child{
    color: #777;
    line-height: 2;
}
@media (max-width:991px){
    .about-container{
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .about .image{
        width: fit-content;
        /* margin: 10px; */
        /* margin-left: 150px; */
    }
    .about-container .text{
        margin-left: 0;
    }
}
@media (max-width:776px){
    .about .image, .about-container .text{
        margin-left: -20px;
    }
    .about .image::after, .about .image::before{
        display: none;
    }

}
/* end about */

/* start contact */
.contact{
    background-color: var(--section-color);
    padding-top: 1px;
    padding-bottom: 150px;
}
.contact .container{
    margin: 0 auto;
}
.contact .contact-container h1:nth-of-type(1){
    padding-left: 200px;
    font-weight: 800;
}
.contact .contact-container h1:nth-of-type(2){
    padding-left: 250px;
    color: var(--main-color);
    font-weight:1200;
}
.contact .contact-container p{
    padding-left: 300px;
    color: #777;
}
.contact .contact-container i{
    color: #777;
}
@media (max-width:768px){
    .contact .contact-container h1:nth-of-type(1),
    .contact .contact-container h1:nth-of-type(2),
    .contact .contact-container p{
        padding-left: 0;
        text-align: center;
    }
}
/* end contact */

/* start footer */
.footer{
    background-color: #2c4755;
}
.footer .container{
    padding: 20px;
    margin: 0 auto;
    text-align: center;
    color: white;
}
.footer .container span{
    color: var(--main-color);
}
/* end footer */