/* Start Variables */

:root {
    --section-padding: 60px;
    --main-duration: 0.5s;
    /* Colors Values */
    --main-color: #10cab7;
    --secondary-color: #2c4755;
    --section-background: #f6f6f6;
    --special-color: #ebeced;
    --main-background-color: #eee;
    --text-color: #fff;
    --text-color-2: #000;
    --text-color-4: #333;
    --text-color-5: #444;
    --text-color-6: #777;
    --special-color-2: #797979;
}

/* End Variables */

/* Start Global Rules */

* {
    --webkit-box-sizing: border-box;
    --moz-box-sizing: border-box;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-color-2, #000);
}

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

/* Small Screen */
@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 */

/* Start Components */

.special-heading {
    font-size: 100px;
    font-weight: 800;
    color: var(--special-color,#ebeced);
    margin: 0;
    text-align: center;
    letter-spacing: -4px;
}

.special-heading+p {
    text-align: center;
    margin-top: -30px;
    font-size: 20px;
    color: var(--special-color-2,#797979);
}

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

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

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

.scroller {
    position: fixed;
    top: 0;
    left: 0;
    width: 0px;
    height: 5px;
    background-color: var(--main-color, #10cab7);
    z-index: 999999;
}

.hide {
    display: none;
}
.show {
    display: block;
}
/* End Components */

/* Start Header */

.header {
    padding: 20px;
    background-color: var(--main-background-color, #eee);
}

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

.header .logo {
    width: 75px
}

.header .links {
    position: relative;
}

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

.header .links:hover {
    cursor: pointer;
}

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

.header .links .icon span {
    background-color: var(--text-color-4,#333);
    height: 2px;
    margin-bottom: 5px;
    transition: var(--main-duration , 0.5s);
}

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

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

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

.header .container .links ul {
    background-color: var(--main-color, #10cab7);
    position: absolute;
    right: 0;
    margin: 0;
    padding: 0;
    min-width: 200px;
    top: calc(100% + 24px);
    z-index: 1000;
}

.header .container .links ul::before {
    content: "";
    border-style: solid;
    border-width: 10px;
    border-color: transparent transparent var(--main-color, #10cab7) transparent;
    position: absolute;
    right: 0px;
    top: -20px;
}

.header .links ul li a {
    display: block;
    color: var(--text-color, #fff);
    transition: .5s;
    width: 100%;
    padding: 15px 30px;
}

.header .links ul li a:hover {
    padding-left: 40px;
    opacity: .75;
    background-color: rgba(255,255,255,0.5);
}

/* End Header */

/* Start Landing Section */

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

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

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

.landing .intro-text p {
    line-height: 1.8;
    color: var(--text-color-2, #000);
    font-size: 19px;
    font-weight: 500;
}

/* End Landing Section */

/* Start Features Section */

.features {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: var(--main-background-color, #eee);
}

.features .container {
    text-align: center;
}

.features .container .feat {
    padding: 20px;
}

.features .container .feat i {
    color: var(--main-color, #10cab7);
    font-size: 50px;
}

.features .container .feat h3 {
    font-weight: 800;
}

.features .container .feat p {
    color: var(--text-color-6, #777);
    line-height: 1.8;
}

/* End Features Section */

/* Start Services Section */

.services .services-content {
    margin-top: 100px;
}

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

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

.services .services-content .srv i {
    color: var(--main-color, #10cab7);
    font-size: 2em;
    flex-basis: 60px;
}

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

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

.services .services-content .srv .text p {
    color: #444;
    line-height: 1.6;
    font-weight: 300;
}

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

.services .services-content .image::before {
    content: '';
    position: absolute;
    top: -38px;
    right: -5px;
    width: 100px;
    height: calc(100% + 80px);
    background-color: var(--secondary-color, #2c4755);
    z-index: -1;
}

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

@media (max-width: 992px) {
    .services .services-content .hidden-image {
        display: none;
    }
}

/* End Services Section */

/* Stat Portfolio Section */

.portfolio {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: var(--section-background, #f6f6f6);
}

.portfolio .portfolio-content {
    margin-top: 100px;
}

.portfolio .portfolio-content .card {
    padding: 20px;
    background-color: var(--text-color, #fff);
}

.portfolio .portfolio-content .card img {
    max-width: 100%;
    border-radius: 10px;
}

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

@media (max-width: 767px) {
    .portfolio .portfolio-content .card .info {
        text-align: center;
    }
}

.portfolio .portfolio-content .card .info h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-color-5, #444);
    text-transform: capitalize;
    margin-top: 20px;
}

.portfolio .portfolio-content .card .info p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color-6, #777);
    margin-top: 20px;
}

/* End Portfolio Section */

/* Start About Section */

.about {
    padding-top: var(--section-padding);
    padding-bottom: calc(var(--section-padding + 60px));
}

.about .about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 100px 50px;
}

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

    .about .about-content .image {
        margin-bottom: 40px;
    }
}

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

.about .about-content .image::before {
    content: '';
    position: absolute;
    width: 80px;
    height: calc(100% + 80px);
    background-color: var(--special-color, #ebeced);/*#ebeced*/
    top: -40px;
    left: -20px;
    z-index: -1;
}

.about .about-content .image::after {
    content: '';
    position: absolute;
    border-left: 80px solid var(--main-color, #10cab7);
    border-bottom: 60px solid var(--main-color, #10cab7);
    height: calc(100% - 100px);
    width: 80px;
    top: -40px;
    right: -105px;
    z-index: -1;
}

@media (max-width: 991px) {

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

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

.about .about-content .text {
    flex-basis: calc(100% - 375px);
}

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

.about .about-content .text hr {
    width: 50%;
    border-color: var(--main-color, #10cab7);
}

.about .about-content .text p:last-of-type {
    line-height: 1.6;
    margin-top: 40px;
    color: var(--text-color-6, #777);
}

/* End About Section */

/* Start Contact Section */

.contact {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: var(--section-background, #f6f6f6);
}

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

.contact .info .label {
    margin: 50px 0;
    font-size: 35px;
    font-weight: 800;
    color: var(--secondary-color, #2c4755);
}

.contact .info .link {
    font-size: 35px;
    font-weight: 800;
    color: var(--main-color, #10cab7);
}

@media (max-width: 767px) {

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

.contact .info .social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.contact .info .social p {
    color: var(--text-color-5, #444);
    font-size: 16px;
}

.contact .info .social i {
    color: var(--secondary-color, #2c4755);
    cursor: pointer;
    font-size: 22px;
}

/* End Contact Section */

/* Start Footer Section */

.footer {
    padding-top: var(--section-padding);
    background-color: var(--secondary-color, #2c4755);
    color: var(--text-color, #fff);
    text-align: center;
    padding-bottom: 20px;
    font-size: 20px;
}

.footer .container span {
    color: var(--main-color, #10cab7);
    font-weight: bold;
    font-size: 25px;
}

/* End Footer Section */