@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;400;700;900&family=Raleway:wght@100;400;700;900&display=swap');

/* Setting the variables for css
Call the variables using var(--variable) */
:root{
    --color1: #177e89;
    --color1rgb: 23, 126, 137;
    --color2: #084c61;
    --color2rgb: 8, 76, 97;
    --color3: #db3a34;
    --color3rgb: 219, 58, 52;
    --color4: #ffc857;
    --color5: #323031;
    --color5rgb: 50, 48, 49;
    --color6: #F0EFED;
    --color6rgb: 240, 239, 237;
    --color7: #E7E5E1;
    --color7rgb: 231, 229, 225;
    --font1: 'Raleway', sans-serif;
    --font2: 'Lato', sans-serif;
    --shadow: 0px 5px 5px 1px rgba(var(--color5rgb), 0.5);
    --max-width: 1500px;
}

html {
    scroll-behavior: smooth;
}

* {
    color: var(--color5);
    font-family: var(--font2);
    border: 0;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1, h2, h3 {
    font-family: var(--font1);
}

.btn-dark {
    background-color: var(--color3);
    border: none;
    color: var(--color6);
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    width: fit-content;
    transition: 0.3s;
    font-weight: bold;
    cursor: pointer;
}

.btn-dark:hover {
    filter: brightness(85%);
}

.btn-light {
    background: transparent;
    border: 1px solid var(--color3);
    color: var(--color3);
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    width: fit-content;
    transition: 0.3s;
    font-weight: bold;
    cursor: pointer;
}

.btn-light:hover {
    filter: brightness(65%);
}

.paragraph {
    font-weight: 400;
}

.highlight-container, .highlight {
    position: relative;
  }
  
.highlight-container {
    display: inline-block;
}
.highlight-container:before {
    content: " ";
    display: block;
    height: 90%;
    width: 100%;
    margin-left: -3px;
    margin-right: -3px;
    position: absolute;
    background: var(--color4);
    transform: rotate(2deg);
    top: -1px;
    left: -1px;
    border-radius: 20% 25% 20% 24%;
    padding: 10px 3px 3px 10px;
}

/* Setting default body style */
body {
    background-color: white;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Navigation */
header {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 150px;
    transition: 0.4s;
    transition-timing-function: ease;
}

header.sticky {
    background: rgba(var(--color6rgb), 0.8);
    backdrop-filter: blur(5px);
    padding: 10px 150px;
    box-shadow: 0px 5px 10px 1px rgba(var(--color5rgb), 0.1);
}

header .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .menu a {
    font-size: 1em;
    font-weight: bolder;
    text-decoration: none;
    margin: 0 30px;
    padding: 0 10px;
    transition: 0.3s;
    transition-property: color;
}

header .menu a:hover {
    color: var(--color3);
}

header .btn {
    font-size: 25px;
    cursor: pointer;
    display: none;
}

.brand img {
    position: relative;
    top: 2px;
    max-width: 500px;
    min-width: 200px;
    height: auto;
    width: 20vw;
    opacity: 0.95;
}

/* Landing */
.landing {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.landing h1 {
    font-size: 4em;
    font-weight: 900;
    margin: 0 auto;
}

.landing p {
    font-size: 1.5em;
    width: 55rem;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 30px;
}

.landing button {
    margin-top: 10px;
    margin-left: 20px;
}

.landing-projects {
    min-height: 40vh;
    text-align: center;
}

.landing-projects-img {
    width: 25em;
    text-shadow: var(--shadow);
}

.landing-projects-text {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.landing-projects-text h1 {
    font-size: 5em;
    margin-right: 0.4em;
    background: -webkit-linear-gradient(0deg, var(--color4), var(--color3), var(--color4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-projects-text h2 {
    font-size: 2.2em;
    font-weight: 400;
}

.landing-projects button {
    margin: 4em auto;
}

.landing-picture {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 56.25vw;
    max-height: 90vh;
    overflow: hidden;
}

.landing-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* About */
.about {
    position: relative;
    background-color: var(--color5);
    display: flex;
    align-items: center;
    text-align: left;
}

.about-text {
    width: 70%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    margin-top: 2em;
    margin-bottom: 2em;
}

.about-text span {
    color: var(--color3);
}

.about-text h1 {
    color: var(--color6);
    font-size: 3em;
    margin-bottom: 1.5em;
}

.about-text p {
    color: var(--color6);
    font-size: 1.2em;
    width: 70%;
    line-height: 2;
}

.about-more {
    height: fit-content;
    background-color: var(--color6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1em 0;
}

.about-more-div {
    height: 100vh;
    min-height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    max-width: var(--max-width);
}

.about-more-div img {
    max-width: 40%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.about-more-div video {
    max-width: 40%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.about-more-div-text {
    display: flex;
    flex-direction: column;
    max-width: 40%;
    font-size: 1.2em;
}

.about-more-div-text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-more-div-text button {
    margin-top: 30px;
}

/* Works */
.works {
    background-color: var(--color5);
    /* padding: 5em; */
}

.works-heading {
    font-size: 3.5em;
    font-weight: bolder;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 0.8em;
    border-bottom: 1px solid var(--color3);
    color: var(--color6);
    padding-top: 1em;
}

.works-child {
    align-items: center;
    text-align: center;
}

.works-child i {
    font-size: 2.5em;
    margin: 1em;
    color: var(--color5);
    text-shadow: -1.5px 0 var(--color3), 0 1.5px var(--color3), 0 -1.5px var(--color3), 1.5px 0 var(--color3);
}

.works-child h3 {
    font-size: 2em;
    margin-bottom: 0.5em;
    color: var(--color6);
}

.works-child p {
    line-height: 1.6;
    color: var(--color6);
    margin: 0 auto;
    margin-bottom: 1em;
    max-width: 850px;
}

.works-child-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

.works-child-gallery img {
    width: 25vw;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    padding: 0 1.5px;
    transition: 0.5s ease-in-out;
}

.works-child-gallery img:hover {
    transform: scale(0.99);
    opacity: 0.5;
}

.works-gallery-heading {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    min-height: 30vh;
    height: fit-content;
    margin: 0 auto;
    margin-bottom: 1.5px;
    padding: 4em 0;
    background-color: var(--color6);
}

.works-gallery-heading h1 {
    font-size: 3.5em;
    font-weight: bolder;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 0.8em;
    border-bottom: 1px solid var(--color3);
}

.works-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

.works-gallery img {
    width: 12.5vw;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    padding: 0 1.5px;
    transition: 0.5s ease-in-out;
}

.works-gallery img:hover {
    transform: scale(0.99);
    opacity: 0.5;
}

/* Partners Section */
.partners {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    max-width: var(--max-width);
    margin: 0 auto;
    margin-top: 10em;
}

.partners h1 {
    margin-bottom: 1em;
}

.partners span {
    color: var(--color3);
}

.partners-logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 5em;
}

.logo-wrapper {
    width: 15%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1em;
}

.logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.certificates {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100vw;
    gap: 5px;
}

.certificates img {
    height: 100%;
    width: 23vw;
    box-shadow: var(--shadow);
    align-self: center;
}

/* Contact Section */
footer {
    margin-top: 5em;
    background-color: var(--color5);
}

footer span {
    color: var(--color6);
}

.contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    min-height: 60vh;
}

.contact-col-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 60vh;
}

.contact-heading {
    font-size: 3.5em;
    font-weight: bolder;
    width: fit-content;
    padding-bottom: 0.8em;
    border-bottom: 1px solid var(--color3);
    margin-top: 0.5em;
}

.contact-col-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50vh;
}

.contact-col-2 i {
    margin: 1em;
    color: var(--color3);
}

.contact-col-2 span {
    margin-left: 1em;
    font-weight: 400;
    transition: 0.3s;
}

.contact-col-2 span:hover {
    color: var(--color3);
}

.contact-social {
    margin: 1em;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    font-size: 2em;
}

.contact-social i {
    border-radius: 60px;
    width: 60px;
    height: 60px;
    padding: 15px;
    text-align: center;
    border: 1px solid var(--color3);
    transition: 0.3s;
    color: var(--color6);
}

.contact-social i:hover {
    color: var(--color6);
    background-color: var(--color3);
    transform: scale(1.1);
}

footer h2 {
    font-weight: 100;
    font-size: 0.8em;
    text-align: center;
    padding-bottom: 5em;
    color: var(--color6);
}

/* Styling for tablet devices */
@media (max-width: 1200px) {
    header {
        padding: 25px 50px;
    }

    header.sticky {
        padding: 15px 50px;
    }

    header .brand {
        opacity: 1;
    }
    
    /* Landing */
    .landing h1 {
        font-size: 5vw;
    }
    
    .landing p {
        width: 90vw;
    }

    .landing-projects-text {
        flex-direction: column;
    }

    .landing-projects-img {
        width: 40vw;
    }

    /* About */
    .about {
        height: fit-content;
    }

    .about-text {
        width: 90%;
        margin: 3em auto;
    }
    
    .about-text h1 {
        font-size: 5vw;
        margin-bottom: 1em;
    }
    
    .about-text p {
        font-size: 1em;
        width: 90%;
    }

    .about-more-div {
        flex-direction: column;
    }

    .about-more-div img {
        max-width: 90%;
    }

    .about-more-div video {
        max-width: 90%;
    }

    .about-more-div-text {
        min-width: 90%;
        font-size: 1em;
    }

    .about-more-div-text h1 {
        font-size: 2em;
    }

    .works-child-gallery img {
        width: 40vw;
        margin: 0;
    }

    .works-gallery-heading img {
        width: 40vw;
        margin: 0;
    }
}

/* Styling for mobile devices */
@media (max-width: 1060px) {
    header {
        padding: 25px 25px;
    }

    header.sticky {
        padding: 10px 25px;
    }

    header .btn {
        display: block;
    }

    header .menu {
        position: fixed;
        background: rgba(var(--color6rgb), 1);
        flex-direction: column;
        min-width: 400px;
        height: 100vh;
        top: 0;
        right: 0;
        padding: 80px 50px;
        right: -120%;
        transition: 0.5s;
        transition-property: right;
    }

    header .menu.active {
        right: 0;
    }

    header .menu .close-btn {
        position: absolute;
        top: 0;
        left: 0;
        margin: 25px;
    }

    header .menu a {
        display: block;
        font-size: 20px;
        margin: 20px;
        padding: 0 15px;
    }

    /* About */
    .about-text p {
        text-align: justify;
    }

    .about-more-div-text {
        margin: 1em;
    }

    /* Works */
    .works-child p {
        padding: 1em;
    }

    .works-child-gallery img {
        width: 50vw;
    }

    .works-gallery img {
        width: 25vw;
    }

    /* Partners */
    .logo-wrapper {
        width: 25%;
        height: fit-content;
    }
    .partners-logo {
        margin-bottom: 2em;
        row-gap: 20px;
    }

    /* Contact */
    .contact {
        padding: 5em 0;
    }
}