*,
*::before,
*::after {
    box-sizing: border-box;
}


:root {
    --ff-primary: 'Montserrat';
    --ff-secondary: 'Roboto', monospace;

    --fw-reg: 300;
    --fw-bold: 900;

    --clr-light: #fff;
    --clr-dark: #303030;
    /*--clr-accent: #16e0bd;*/
    /*--clr-accent: #172039;*/
    --clr-accent: black;

    --fs-h1: 3rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.25rem;
    --fs-body: 1rem;

    --bs: 0.25em 0.25em 0.75em rgba(0, 0, 0, .25),
        0.125em 0.125em 0.25em rgba(0, 0, 0, .15);
}


body {
    font-family: var(--ff-primary);
    padding-top: 0px;
}

/* header */

img {
    display: block;
    max-width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    margin-bottom: 30px;

}

#nav__logo {
    max-height: 60px;
    position: absolute;
    top: 5px;
    left: 0;
}

.nav {
    position: fixed;
    background: var(--clr-dark);
    color: var(--clr-light);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 250ms cubic-bezier(.5, 0, .5, 1);
}

.nav__list {
    list-style: none;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav__link {
    color: inherit;
    font-weight: var(--fw-bold);
    font-size: var(--fs-h2);
    text-decoration: none;
}

.nav__link:hover {
    color: var(--clr-accent);
}

.menu {
    display: flex;
    flex-direction: column;

}

.language-toggle {
    color: whitesmoke;
}

.nav-toggle {
    padding: .5em;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: absolute;
    right: 1em;
    top: 1em;
    z-index: 1000;
}

.nav-open .nav {
    transform: translateX(0);
}

.nav-open .nav-toggle {
    position: fixed;
}

.nav-open .hamburger {
    transform: rotate(.625turn);
}

.nav-open .hamburger::before {
    transform: rotate(90deg) translateX(-6px);
}

.nav-open .hamburger::after {
    opacity: 0;
}


.hamburger {
    display: block;
    position: relative;
}



.nav__link {
    text-decoration: none;
    color: var(--clr-accent);
    font-weight: bold;
    font-size: large;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    background: var(--clr-accent);
    width: 2em;
    height: 3px;
    border-radius: 1em;
    transition: transform 250ms ease-in-out;
}


.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
}

.hamburger::before {
    top: 6px;
}

.hamburger::after {
    bottom: 6px;
}

.hero__content {
    background-color: black;
    padding: 10px;
}

.hero__content>h1 {
    font-weight: 300;
}

#main__title {
    font-size: 30px;
    font-weight: bold;
    text-decoration: underline;
}

@media (min-width: 600px) {
    #nav__logo {
        top: 20px;
        height: 60px;
    }

    .nav-toggle {
        display: none;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    .nav {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        align-items: center;
        padding: 0;
    }

    .nav__list {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        gap: 2em;
        list-style-type: none;
        background-color: white;

    }

    .nav__contact {
        width: 162px;
        height: 48px;
        background-color: var(--clr-accent);
        color: #F3F9FB;
        font-weight: bold;
        border: none;
        margin-left: 1em;
        cursor: pointer;
    }

}

/* Hero section */
.hero {
    position: relative;
    background-image: url('../assets/banner2.jpg');
    background-size: cover;
    margin-top: 16px;
    margin-left: -8px;
    width: 100vw;
    height: 540px;
    color: #FFFFFF;
}

.hero__content {
    position: absolute;
    bottom: 43px;
    left: 22px;
    width: 90vw;

}


.hero__content>button {

    width: 162px;
    height: 48px;
    position: relative;
    background-color: #F3F9FB;
    color: var(--clr-accent);
    font-weight: bold;
    border: none;
    z-index: 1000;
    cursor: pointer;
    

}


@media (min-width: 600px) {
    .hero__content {

        width: max-content;
    }

}


/* Introduction section */
#bg1 {
    position: absolute;
    top: 327px;
    rotate: -30deg;
}

.introduction {
    height: 540px;
    width: 100vw;
}

.introduction>h3 {
    margin-top: 40px;
    margin-left: 2vw;
    width: 30vw;
    text-align: center;
    color: #d3bfa3;
    background-color: black;
}

.introduction__quote {
    margin-top: 50px;
    margin-left: 5vw;
    width: 90vw;
    font-size: 30px;
}

.introduction>p:nth-of-type(2) {
    margin-top: 10px;
    margin-left: 5vw;
    font-size: 16px;
}

@media (min-width: 600px) {

    .introduction {
        height: 340px;
        width: 100vw;
    }

    .introduction>h3 {
        margin-top: 40px;
        margin-left: 165px;
        width: 150px;
        text-align: center;
        color: #d3bfa3;
        background-color: black;
    }

    .introduction__quote {
        margin-top: 50px;
        margin-left: 260px;
        width: 950px;
        font-size: 30px;
    }

    .introduction>p:nth-of-type(2) {
        margin-top: 10px;
        margin-left: 260px;
        font-size: 16px;
    }
}

/* About Us section */

.about-us {
    width: 100vw;
    margin: -8px;
    color: white;
    font-weight: bold;
    background-color: black;
}

.about-us__panel {
    display: flex;
    flex-direction: column;
    width: 10vw;
}

.about-us__panel--big {
    background-image: url('../assets/dustclearing.jpg');
    height: 679px;
    width: 100vw;
    background-size: cover;
    margin-left: 0px;
    display: flex;
    justify-content: center;
    align-items: start;
    text-align: center;
}

.about-us__panel--big>p {
    background-color: black;
    font-size: large;
    width: 80%;
}

.about-us__panel--small>p {
    background-color: black;
    width: 80%;
    font-size: large;
}

.about-us__panel--small {
    height: 338px;
    width: 100vw;
    background-size: cover;
    margin-left: 0px;
    display: flex;
    justify-content: center;
    align-items: start;
    text-align: center;
}

.about-us__panel--small:nth-of-type(2) {
    background-image: url('../assets/geotechnics.jpg');
}

.about-us__panel--small:nth-of-type(3) {
    background-image: url('../assets/aboutusSmall2.png');

    background-color: rgba(0, 0, 54.5, 0.4);
    /* Semi-transparent red */
    background-blend-mode: multiply;
}

.about-us__panel--small:nth-of-type(4) {
    background-image: url('../assets/aboutusSmall3.png');
    order: 5;
}

.about-us__panel--small:nth-of-type(5) {
    background-image: url('../assets/banner3.jpg');
    order: 4;
}

@media (min-width: 600px) {
    .about-us {
        width: 100vw;
        margin: -8px;
        color: white;
        font-weight: bold;
        background-color: black;
    }

    .about-us__panel {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: repeat(2, 1fr);
        width: 10vw;
    }

    .about-us__panel--big {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        background-image: url('../assets/dustclearing.jpg');
        width: 50vw;
        height: 679px;
        background-size: cover;
        margin-left: 0px;
        display: flex;
        justify-content: center;
        align-items: start;
        text-align: center;
    }

    .about-us__panel--big>p {
        background-color: black;
        font-size: large;
        width: 80%;
    }

    .about-us__panel--small>p {
        background-color: black;
        width: 80%;
        font-size: large;
    }

    .about-us__panel--small {
        width: 25vw;
        height: 338px;
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .about-us__panel--small:nth-of-type(2) {
        background-image: url('../assets/geotechnics.jpg');
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .about-us__panel--small:nth-of-type(3) {
        background-image: url('../assets/aboutusSmall2.png');
        grid-column: 3 / 4;
        grid-row: 2 / 3;
        background-color: rgba(0, 0, 54.5, 0.4);
        /* Semi-transparent red */
        background-blend-mode: multiply;
    }

    .about-us__panel--small:nth-of-type(4) {
        background-image: url('../assets/aboutusSmall3.png');
        grid-column: 4 / 5;
        grid-row: 1 / 2;
    }

    .about-us__panel--small:nth-of-type(5) {
        background-image: url('../assets/banner3.jpg');
        grid-column: 4 / 5;
        grid-row: 2 / 3;
    }


}


/* Services section */
.services {
    height: 1000px;
}

.services__info {
    margin-top: 40px;

    width: 100vw;

}

.services__info>h3 {
    color: #d3bfa3;
    background-color: black;
    width: fit-content;
    padding: 0.2em 0.4em;

}

.services__info>h2 {
    width: 90vw;
}


.services__list {
    display: flex;
    margin-top: 50px;
    gap: 20px;
    text-align: center;
    flex-direction: column;
}

.service__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service__item>p {
    margin-top: 0;
    width: 80%;
}

@media (min-width: 600px) {
    .services {
        height: 380px;
    }

    .services__info {
        margin-top: 80px;
        margin-left: 165px;
        width: 80vw;

    }

    .services__info>h3 {
        color: #d3bfa3;
    }


    .services__list {
        display: flex;
        margin-top: 50px;
        gap: 20px;
        text-align: center;
        flex-direction: row;
    }

    .service__item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .service__item>p {
        margin-top: 0;
        width: 80%;
    }
}


/* Strategies section */
.strategies {
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 100vw;
    margin: -8px;

}

.strategies__item {
    background-size: cover;

}


@media (max-width: 600px) {
    .strategies__item {
        height: 700px;
    }
}


.strategies__item:nth-of-type(1) {
    background-image: url('../assets/excavator.png');
    order: 2;
}



.strategies__item:nth-of-type(2) {
    background-image: url('../assets/longterm.png');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #d3bfa3;
    order: 1;
}

.strategies__item:nth-of-type(3) {
    order: 3;
}

.strategies__item:nth-of-type(4) {
    order: 3;
}

.strategies__item:nth-of-type(2)>div {
    font-size: large;
    background-color: black;
    width: 95%;
    padding: 2%;
    height: 90%;

}

.strategies__item:nth-of-type(3)>div {

    width: 95%;
    padding: 2%;

}

#assessment {
    text-align: center;
}

ul li {
    margin-bottom: 10px;
}


.strategies__item:nth-of-type(3) {
    background-image: url('../assets/connecting.png');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.strategies__item:nth-of-type(3)>div {

    color: white;
    font-size: large;
    background-color: black;

    padding: 2%;
}


.strategies__item:nth-of-type(4) {
    background-image: url('../assets/banner4.jpg');
}

@media (min-width: 600px) {
    .strategies {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: 1113px;
        width: 100vw;
        margin: -8px;

    }

    .strategies__item {
        background-size: cover;

    }

    .strategies__item:nth-of-type(1) {
        background-image: url('../assets/excavator.png');
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .strategies__item:nth-of-type(2) {
        background-image: url('../assets/longterm.png');
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #d3bfa3;
    }

    .strategies__item:nth-of-type(2)>div {
        font-size: large;
        background-color: black;
        width: 90%;
        padding: 2%;
    }

    #assessment {
        text-align: center;
    }

    ul li {
        margin-bottom: 10px;
    }


    .strategies__item:nth-of-type(3) {
        background-image: url('../assets/connecting.png');
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .strategies__item:nth-of-type(3)>div {

        color: white;
        font-size: large;
        background-color: black;

        padding: 2%;
    }


    .strategies__item:nth-of-type(4) {
        background-image: url('../assets/banner4.jpg');
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}




/* Our Mission section */
.mission {
    background-image: url('../assets/banner5.jpg');
    background-size: cover;
    height: 800px;
    position: relative;
    margin-left: -8px;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
    display: flex;
    justify-content: center;
    align-items: flex-start;

}

.mission>div {
    color: black;
    width: 80%;
    height: 40%;
    margin-top: 50px;
}

#trading>h2 {
    background-color: black;
    color: #d3bfa3;
    width: 110px;
    text-align: center;
}

#trading>div {
    background-color: black;
    width: 400px;
    padding: 10px;
    color: white;
    line-height: 1.5;
    font-size: 20px;
    text-indent: 20px;

}

@media (min-width: 600px) {

    .mission {
        background-image: url('../assets/banner5.jpg');
        background-size: cover;
        height: 680px;
        position: relative;
        margin-left: -8px;
        width: 100vw;
        background-color: rgba(255, 255, 255, 0.8);
        background-blend-mode: lighten;
        display: flex;
        justify-content: center;
        align-items: flex-start;

    }

    .mission>div {
        color: black;
        width: 80%;
        height: 40%;
        margin-top: 90px;
    }

    #trading>h2 {
        background-color: black;
        color: #d3bfa3;
        width: 110px;
        text-align: center;
    }

    #trading>div {
        background-color: black;
        width: 700px;
        color: white;
        line-height: 1.5;
        font-size: 20px;
        text-indent: 20px;

    }

}



/* Drilling section */
.drilling {
    display: flex;
    flex-direction: column;
    height: 1600px;
    width: 100vw;
    margin: -8px;

}



@media (max-width: 600px) {
    .drilling__item {
        background-size: cover;
        height: 400px;
    }
}

.drilling__item:nth-of-type(1) {
    background-image: url('../assets/rigworker.jpg');
    order: 2;
}

.drilling__item:nth-of-type(2) {
    background-image: url('../assets/longterm.png');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #d3bfa3;
    order: 3;

}

.drilling__item:nth-of-type(2)>div {
    font-size: large;
    background-color: black;
    width: 80%;
    padding: 2%;
}

#drilling_work {
    text-align: center;
}



.drilling__item:nth-of-type(3) {
    background-image: url('../assets/connecting.png');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 0;
}

.drilling__item:nth-of-type(3)>div {

    color: white;
    font-size: large;
    background-color: black;
    width: 80%;
    padding: 2%;
}


.drilling__item:nth-of-type(4) {
    background-image: url('../assets/dustsupression.jpg');
    order: 4;
}


@media (min-width: 600px) {
    .drilling {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: 1113px;
        width: 100vw;
        margin: -8px;

    }

    .drilling__item {
        background-size: cover;
    }

    .drilling__item:nth-of-type(1) {
        background-image: url('../assets/rigworker.jpg');
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .drilling__item:nth-of-type(2) {
        background-image: url('../assets/longterm.png');
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #d3bfa3;
    }

    .drilling__item:nth-of-type(2)>div {
        font-size: large;
        background-color: black;
        width: 80%;
        padding: 2%;
    }

    #drilling_work {
        text-align: center;
    }



    .drilling__item:nth-of-type(3) {
        background-image: url('../assets/connecting.png');
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .drilling__item:nth-of-type(3)>div {

        color: white;
        font-size: large;
        background-color: black;
        width: 80%;
        padding: 2%;
    }


    .drilling__item:nth-of-type(4) {
        background-image: url('../assets/dustsupression.jpg');
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

}


/* Address section */
.address {
    display: flex;
    height: 400px;
    margin-left: -8px;
    width: 90vw;
}

.address__item:nth-of-type(1) {
    background-image: url('../assets/banner2.jpg');
    background-size: cover;


}

.address__item:nth-of-type(2) {
    background-image: url('../assets/mapa.png');
    background-size: cover;

}

@media (max-width: 600px) {
    .address__item:nth-of-type(3) {
        background-image: url('../assets/ouraddress.png');
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-around;
        height: 400px;
    }
}



.address__item:nth-of-type(3)>* {
    margin-left: 40px;
    width: 100vw;
}

@media (min-width: 600px) {
    .address {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: 901px;
        margin-left: -8px;
        width: 100vw;
    }

    .address__item:nth-of-type(1) {
        background-image: url('../assets/banner2.jpg');
        background-size: cover;
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .address__item:nth-of-type(2) {
        background-image: url('../assets/mapa.png');
        background-size: cover;
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .address__item:nth-of-type(3) {
        background-image: url('../assets/ouraddress.png');
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-around;
    }

    .address__item:nth-of-type(3)>* {
        margin-left: 80px;
        width: 500px;
    }
}

/* Inquiry section */
.inquiry {
    height: 650px;
    background-image: url('../assets/inquiry.png');
    color: white;
    display: flex;
    margin-left: -8px;
    width: 100vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;

}



.inquiry>* {
    height: 80%;
}

.formside {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

}

#formside__title>h3 {
    color: #b29063;
    margin-top: 2em;
}

#formside__title>h2 {
    margin-top: -0.5em;
}

.inquiry__grid {
    display: flex;
    gap: 1em;
    margin-bottom: 2em;
}

.inquiry__grid>* {
    width: 100%;
}

.inquiry__grid--left>*,
.inquiry__grid--right>* {
    margin-top: 1em;
    line-height: 2em;
    width: 100%;
}

#inquiry__countries {
    height: 2.5em;
}

#subscribe {
    margin-bottom: 2em;
}

#submit-btn {
    margin-bottom: 4em;
    width: 8em;
    height: 2.5em;
    text-align: center;
    background-color: #b29063;
    border-radius: 0%;
    box-shadow: none;
    outline: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 600px) {
    .inquiry {
        height: 1200px;
    }

    #CordGeol {
        width: 70vw;
        margin-bottom: 10%;
    }
}

@media (min-width: 600px) {

    .inquiry {
        height: 650px;
        background-image: url('../assets/inquiry.png');
        color: white;
        display: flex;
        margin-left: -8px;
        width: 100vw;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 3em;

    }

    .inquiry>* {
        height: 80%;
    }

    .formside {
        display: flex;
        flex-direction: column;
        justify-content: space-around;

    }

    #formside__title>h3 {
        color: #b29063;
    }

    #formside__title>h2 {
        margin-top: -0.5em;
    }

    .inquiry__grid {
        display: flex;
        gap: 1em;
        margin-bottom: 2em;
    }

    .inquiry__grid>* {
        width: 100%;
    }

    .inquiry__grid--left>*,
    .inquiry__grid--right>* {
        margin-top: 1em;
        line-height: 2em;
        width: 100%;
    }

    #inquiry__countries {
        height: 2.5em;
    }

    #subscribe {
        margin-bottom: 2em;
    }

    #submit-btn {
        margin-bottom: 4em;
        width: 8em;
        height: 2.5em;
        text-align: center;
        background-color: #b29063;
        border-radius: 0%;
        box-shadow: none;
        outline: none;
        border: none;
    }

}


/* Footer section */

footer {
    height: 490px;
}

.footer__columns {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

#last_logo{
    margin-left: -10%;
}

@media (max-width: 600px){
    .left_column > p{
        display: none;
    }
}



.footer__columns>.left_column {
    display: flex;
    width: 90%;
    align-items: center;
    color: #1f2a44;
    flex-direction: column;
    gap: 1em;
    margin-top: 2em;
    
}

.footer__columns>.right_column {

    display: flex;
    margin-top: 2em;
    width: 50%;
    justify-content: space-around;
    align-items: center;
    color: #1f2a44;

}

hr.solid {
    border-top: 1px solid #1f2a44;
    width: 100%;
    padding: 0%;
    margin-top: 2em;
}

.subscription{
    margin-left: 10%;
}

@media (min-width: 600px) {
    footer {
        height: 300px;
    }

    .footer__columns {
        display: flex;
        align-items: center;
        flex-direction: row;
    }

    #last_logo {
        height: 50%;
        width: 100%;
    }

    .footer__columns>.left_column {
        display: flex;
        width: 50%;
        align-items: center;
        flex-direction: row;
        color: #1f2a44;
        gap: 1em;
        margin-top: 2em;
        margin-left: 5%;
    }

    .footer__columns>.right_column {

        display: flex;
        margin-top: 2em;
        width: 50%;
        justify-content: space-around;
        align-items: center;
        color: #1f2a44;
    }

    hr.solid {
        border-top: 1px solid #1f2a44;
        width: 100%;
        padding: 0%;
        margin-top: 2em;
    }

    .subscription{
    margin-left: 0%;
}
}