/* Start Variables */
:root {
    /* colors  */
    --primary-color: #10cab7;
    --secondary-color: #2c4755;
    --third-color: #ebeced;
    --fourth-color: #797979;;
    --fifth-color: #24484F;
    --sixth-color: #333;
    --seventh-color: #ddd;
    --eighth-color: #f6f6f6;
    /* paddings & margins  */
    --section-padding: 60px;
    --transition-primary-duration: .3s;
}
/* End Variables */
/* Start Global Rules */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-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 Screens */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}
/* Medium Screens */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}
/* Large Screens */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
}
/* End Global Rules */
/* Start Components */
.special-heading {
    color: var(--third-color,#ebeced);
    font-size: 100px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -3px;
    margin: 0;
}
.special-heading + p {
    margin: -30px 0 0;
    font-size: 20px;
    text-align: center;
    color: var(--fourth-color,#797979);
}
@media (max-width: 767px) {
    .special-heading {
        font-size: 60px;
    }
    .special-heading + p {
        margin-top: -20px;
    }
}
/* End Components */
/* Start Header */
.header {
    padding: 20px;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .brand {
    color: var(--primary-color);
    text-transform: capitalize;
    font-weight: bold;
    font-size: 22px;
}
.header .links {
    position: relative;
}
.header .links:hover .icon span:nth-child(2) {
    width: 100%;
}
.header .links .icon {
    width: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.header .links .icon span {
    background-color: var(--sixth-color,#333);
    margin-bottom: 5px;
    height: 2px;
}
.header .links .icon span:first-child,
.header .links .icon span:last-child {
    width: 100%;
}
.header .links .icon span:nth-child(2) {
    width: 60%;
    transition: var(--transition-primary-duration,.3s);
}
.header .links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--eighth-color,#f6f6f6);
    position: absolute;
    right: 0;
    min-width: 200px;
    top: calc(100% + 15px);
    display: none;
    z-index: 1;
}
.header .links:hover ul {
    display: block;
}
.header .links ul li a {
    display: block;
    text-decoration: none;
    color: var(--sixth-color,#333);
    padding: 15px;
    transition: var(--transition-primary-duration,.3s);
}
.header .links ul li a:hover {
    padding-left: 25px;
}
.header .links ul li:not(:last-child) a {
    border-bottom: 1px solid var(--seventh-color,#ddd);
}
.header .links ul::after {
    content: "";
    border-width: 10px;
    border-color: transparent transparent var(--eighth-color,#f6f6f6) transparent;
    border-style: solid;
    position: absolute;
    top: -20px;
    right: 5px;
}
/* End Header */
/* Start Landing */
.landing {
    background-image: url(../images/landing.jpg);
    background-size: cover;
    height: calc(100vh - 74px);
    position: relative
}
.landing .intro-text {
    text-transform: capitalize;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    max-width: 100%;
    transform: translate(-50%, -50%);
}
.landing .intro-text h1 {
    margin: 0;
    color: var(--primary-color,#10cab7);
    font-weight: bold;
    font-size: 50px;
}
.landing .intro-text p {
    font-size: 19px;
    line-height: 1.8;
    margin: 19px 0;
}
.landing .intro-text p span {
    text-transform: lowercase;
}
/* End Landing */
/* Start Featutes */
.features {
    padding-top: var(--section-padding,60px);
    padding-bottom: var(--section-padding,60px);
    background-color: var(--eighth-color,#f6f6f6);
}
.features .container.grid {
    grid-gap: 20px;
}
.features .feat {
    text-align: center;
    padding: 20px;
}
.features .feat i {
    color: var(--primary-color,#10cab7);;
}
.features .feat h3 {
    font-weight: 800;
    font-size: 22px;
    text-transform: capitalize;
    margin: 30px 0;
}
.features .feat p::first-letter {
    text-transform: uppercase;
}
.features .feat p {
    color: #777;
    line-height: 1.8;
    font-size: 18px;
    margin: 19px 0;
}
/* End Featutes */
/* Start Services */
.services {
    padding-top: var(--section-padding,60px);
    padding-bottom: var(--section-padding,60px);
}
.services .services-content.grid {
    grid-gap: 30px;
    margin-top: 100px;
}
.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(--primary-color,#10cab7);;
    flex-basis: 60px;
}
.services .services-content .srv .text {
    flex: 1;
}
.services .services-content .srv .text h3 {
    margin-bottom: 20px;
}
.services .services-content .srv .text p {
    color: #444;
    font-weight: 300;
    line-height: 1.6;
}
.services .services-content .image {
    text-align: center;
    position: relative;
}
.services .services-content .image::before {
    content: "";
    background-color: var(--secondary-color,#2c4755);
    width: 100px;
    height: calc(100% + 100px);
    position: absolute;
    top: -50px;
    right: 0;
    z-index: -1;
}
.services .services-content .image img {
    width: 260px;
}
@media (max-width: 1199px) {
    .services .services-content .image {
        display: none;
    }
}
/* End Services */
/* Start Portfolio */
.portfolio {
    padding-top: var(--section-padding,60px);
    padding-bottom: var(--section-padding,60px);
    background-color: var(--eighth-color,#f6f6f6);
}
.portfolio .portfolio-content.grid {
    grid-gap: 30px;
    margin-top: 100px;
}
.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 p {
    color: #777;
    line-height: 1.6;
    margin-top: 16px;
}
/* End Portfolio */
/* Start About */
.about {
    padding-top: var(--section-padding,60px);
    padding-bottom: calc(var(--section-padding) + 60px);
}
.about .about-content {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media (max-width: 991px) {
    .about .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 60px;
    }
}
.about .about-content .image::before {
    content: "";
    background-color: var(--third-color,#ebeced);
    width: 100px;
    height: calc(100% + 80px);
    position: absolute;
    top: -40px;
    left: -20px;
    z-index: -1;

}
.about .about-content .image::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -150px;
    z-index: -1;
    width: 120px;
    height: 300px;
    border-left: 80px solid var(--primary-color,#10cab7);;
    border-bottom: 80px solid var(--primary-color,#10cab7);;
}
@media (max-width: 991px) {
    .about .about-content .image::before,
    .about .about-content .image::after {
        display: none;
    }
}
.about .about-content .image img {
    max-width: 100%;
}
.about .about-content .text {
    flex-basis: calc(100% - 500px);
}
.about .about-content .text p {
    line-height: 2;
}
.about .about-content .text p:first-of-type {
    font-weight: 800;
    margin-bottom: 50px;
}
.about .about-content .text hr {
    width: 50%;
    display: inline-block;
    border-color: var(--primary-color,#10cab7);;
}
.about .about-content .text p:last-of-type {
    color: #777;
    margin-top: 16px;
}
/* End About */
/* Start Contact */
.contact {
    padding-top: var(--section-padding,60px);
    padding-bottom: var(--section-padding,60px);
    background-color: var(--eighth-color,#f6f6f6);
}
.contact .info {
    padding-top: var(--section-padding,60px);
    padding-bottom: var(--section-padding,60px);
    text-align: center;
}
.contact .info .label {
    font-size: 35px;
    font-weight: 800;
    color: var(--secondary-color,#2c4755);
    letter-spacing: -2;
    margin-bottom: 15px;
}
.contact .info .link {
    display: block;
    font-size: 35px;
    font-weight: 800;
    color: var(--primary-color,#10cab7);;
    text-decoration: none;
}
.contact .info .social {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-size: 16px;
}
.contact .info .social i {
    margin-left: 10px;
    color: var(--secondary-color,#2c4755);
}
@media (max-width: 767px) {
    .contact .info .label, 
    .contact .info .link {
        font-size: 25px;
    }
}
/* End Contact */
/* Start footer */
.footer {
    background-color: var(--secondary-color,#2c4755);
    color: white;
    padding: 30px 10px;
    text-align: center;
    font-size: 18px;
}
.footer span {
    color: var(--primary-color,#10cab7);
    font-weight: bold;
}
/* End footer */