/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: hsl(18, 95%, 55%);
    --second-color: hsl(42, 98%, 52%);
    --first-gradient: linear-gradient(90deg,
            #046561);
    --first-gradient-lighten: linear-gradient(90deg,
            #7a9695);
    --title-color: hsl(255, 12%, 12%);
    --text-color: hsl(225, 12%, 24%);
    --text-color-light: hsl(255, 4%, 70%);
    --body-color: hsl(0, 0%, 100%);
    --container-color: hsl(0, 0%, 100%);
    --white-color: hsl(0, 0%, 100%);
    --black-color: hsl(255, 20%, 10%);
    --gray-border: hsl(255, 6%, 90%);
    --black-border: hsl(255, 10%, 20%);
    --border-color: hsl(228, 99%, 98%);


    --hue: 245;
    /* --first-color: hsl(var(--hue), 55%, 55%); */
    /* --first-color-light: hsl(var(--hue), 55%, 65%);
  --first-color-alt: hsl(var(--hue), 50%, 50%);
  --title-color: hsl(var(--hue), 30%, 95%);
  --text-color: hsl(var(--hue), 20%, 80%);
  --text-color-light: hsl(var(--hue), 20%, 70%); */
    --body-color: #1B1839;
    /* --container-color: hsl(var(--hue), 40%, 20%); */

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Syne", sans-serif;
    --biggest-font-size: 3rem;
    --big-font-size: 1.5rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;


    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Montserrat", sans-serif;
    --big-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
    :root {
        --big-font-size: 3.5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.footer {
    padding-block: 5rem 1rem;
}

.section__title,
.section__subtitle {
    text-align: center;
}

.section__title {
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
}

.section__subtitle {
    display: block;
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--second-color);
    margin-bottom: .5rem;
}

.main {
    overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header {
    /* position: fixed; */
    width: 100%;
    top: 0%;
    left: 0%;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: background-color .4s;
}

.nav {
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    column-gap: .25rem;
}

.nav__logo span {
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    transition: color .4s;
}

.nav__logo i {
    color: var(--first-color);
    font-size: 1.5rem;
}

.nav__toogle,
.nav__close {
    font-size: 1.5rem;
    color: var(--white-color);
    cursor: pointer;
    transition: color .4s;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--black-color);
        width: 80%;
        height: 100%;
        padding: 7.5rem 3.5rem 0;
        border-left: 2px solid var(--black-border);
        transition: right .4s;
    }


}

.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
}

.nav__link {
    position: relative;
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
}

.nav__link::after {
    content: '';
    width: 0;
    height: 2px;
    background-color: var(--white-color);
    position: absolute;
    left: 0%;
    bottom: -.5rem;
    transition: width .4s;
}

.nav__link:hover::after {
    width: 70%;

}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

/* Show menu */
.show-menu {
    right: 0;
}

/* Change background header */
/* .bg-header {
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, .1);

}

.bg-header .nav__logo span,
.bg-header .nav__toogle,
.bg-header .nav__link {
  color: var(--title-color);
}
 */

/* ACTIVE LINK */
.active-link::after {
    width: 60%;
}


.background-clip {
    position: absolute;
    right: 0%;
    bottom: 0%;
    z-index: -1;
}

@media (min-aspect-ratio:16/9) {
    .background-clip {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio:16/9) {
    .background-clip {
        width: auto;
        height: 100%;
    }
}


/* Dark overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* Adjust darkness here */
    z-index: -1;
}


/*=============== HOME ===============*/
.bg__background_img {
    position: relative;
    width: 100%;
    height: 500px;
    /* full screen */
    background-image: url("../img/about-us.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

.home__content {
    row-gap: 2.5rem;
}

.home__data {
    text-align: center;
}

.home__title {
    color: var(--white-color);
    font-size: 2rem;
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
}

.home__description {
    margin-bottom: 2.5rem;
    color: var(--white-color);
    font-weight: var(--font-bold);
}

.home__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.home__info {
    display: flex;
    justify-content: center;
    column-gap: 4.5rem;
}

.home__info-title {
    color: var(--second-color);
    font-size: var(--big-font-size);
    font-weight: var(--font-bold);
    margin-bottom: .5rem;
}

.home__info-description {
    font-size: var(--small-font-size);
    color: var(--white-color);
}

.home__images {
    position: relative;
    justify-self: center;
}


.home__lines {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

.home__title_h3 {
    color: var(--white-color);
}

/*=============== BUTTON ===============*/
.button {
    background: var(--first-gradient);
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    padding: 1rem 2rem;
    transition: box-shadow .4s;
}

/* .button {
  display: inline-flex;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 2rem;
  transition: box-shadow .4s;
} */

.button:hover {
    box-shadow: 0 8px 32px hsla(18, 95%, 55%, .3);
    color: var(--white-color);
}

.button__link {
    display: flex;
    align-items: center;
    column-gap: .25rem;
    color: var(--first-color);
}

.button__link span {
    font-weight: var(--font-semi-bold);
}

.button__link i {
    font-size: 1.5rem;
    transition: transform .4s;
}

.button__link:hover i {
    transform: translateX(.25rem);
}

/*=============== ABOUT ===============*/
.about__container {
    row-gap: 8rem;
}

.about__data {
    text-align: center;
}

.about__list-item {
    display: flex;
    column-gap: .5rem;
    color: var(--title-color);
}

.about__list i {
    font-size: 1.5rem;
    color: var(--first-color);
}

.about__images {
    position: relative;
    justify-self: center;
}


.about__img-2 {
    width: 350px;
    margin-right: 2.5rem;
    border-radius: 10px;
}

.about__description {
    font-size: .9rem;
    color: var(--white-color);
    max-width: 800px;
    font-weight: var(--font-medium);
}

/*=============== PROJECTS ===============*/
.projects {
    background-color: var(--white-color);
}

.projects .section__title {
    color: var(--white-color);
}

.projects__container {
    padding-block: 1.5rem 3rem;
}

.projects__card {
    background-color: #FAF5EF;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: border-color .4s;
}

.projects__card:hover {
    border-color: var(--first-gradient);
}

.projects__data {
    padding: 1.5rem 1rem 3rem;
}

.project__title {
    font-size: var(--h2-font-size);
    margin-block: .5rem;
}

.projects__date {
    display: flex;
    font-weight: var(--font-medium);
    color: var(--title-color);
    margin-bottom: 1.5rem;
}

.pojects__title {
    font-size: calc(var(--h3-font-size) + .2rem);
}

/*=============== proven ===============*/
.proven__container {
    row-gap: 8rem;
}

.proven__data {
    text-align: center;
}



.proven__list-item {
    display: flex;
    column-gap: .5rem;
    color: var(--title-color);
}

.proven__list i {
    font-size: 1.5rem;
    color: var(--first-color);
}

.proven__images {
    position: relative;
    justify-self: center;
}


.proven__img-2 {
    width: 350px;
    margin-right: 2.5rem;
    border-radius: 10px;
}

.proven__description {
    font-size: .9rem;
    color: var(--white-color);
    max-width: 800px;
    font-weight: var(--font-medium);
}

/*=============== LOGOS ===============*/
.logos__container {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
}

.logos__img img {
    height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logos__img img:hover {
    opacity: 0.6;
}

/*=============== FOOTER ===============*/
.footer__container {
    row-gap: 2.5rem;
}

.footer__logo {
    color: var(--white-color);
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    margin-bottom: .75rem;
}

.footer__logo i {
    font-size: 1.25rem;
}

.footer__description,
.footer__link {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    color: var(--white-color);
}

.footer__content,
.footer__links {
    display: grid;
}

.footer__content {
    grid-template-columns: repeat(2, max-content);
    gap: 2.5rem 4rem;
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
    color: var(--white-color);
}

.footer__links {
    row-gap: .5rem;
}

.footer__link {
    color: var(--white-color);
    transition: .3s;
}

.footer__link:hover {
    color: var(--first-color);
}

.footer__social {
    display: flex;
    column-gap: 1rem;
}

.footer__social-link {
    font-size: 1.25rem;
    color: var(--text-color);
    transition: .3s;
}

.footer__social-link:hover {
    color: var(--title-color);
}

.footer__info,
.footer__privacy {
    display: flex;
}

.footer__info {
    padding-bottom: 6rem;
    margin-top: 5.5rem;
    flex-direction: column;
    text-align: center;
    row-gap: 1.5rem;
}

.footer__copy,
.footer__privacy {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color);
}

.footer__privacy {
    justify-content: center;
    column-gap: 1.25rem;
}

.footer {
    background-color: #0E0F11;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: .6rem;
    border-radius: .5rem;
    background-color: hsl(228, 8%, 76%);
}

::-webkit-scrollbar-thumb {
    border-radius: .5rem;
    background-color: hsl(228, 8%, 64%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(228, 8%, 54%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -30%;
    background-color: #25D366;
    box-shadow: 0 8px 12px hsla(228, 66%, 45%, .1);
    display: inline-flex;
    padding: .35rem;
    border-radius: 1rem;
    color: var(--title-color);
    font-size: 3rem;
    z-index: var(--z-tooltip);
    transition: .3s;
}

.scrollup:hover {
    transform: translateY(-.25rem);
    /* color: var(--first-color); */
}

/* Show Scroll Up*/
.show-scroll {
    bottom: 8rem;
}


/*=============== BREAKPOINTS ===============*/
/* Desktop/Laptop View */
@media screen and (min-width: 992px) {
    .logos__container {
        grid-template-columns: repeat(4, 1fr); /* 4 items per row */
        justify-items: center;                 /* Center the images */
        gap: 1.5rem;                            /* Reduce spacing */
    }

    .logos__img img {
        width: 120px; /* optional: adjust size for better spacing */
    }
}



@media screen and (max-width: 350px) {
    .footer__content {
        gap: 2.5rem;
    }
}

/* Mobile View */
@media screen and (max-width: 576px) {
    .logos__container {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 1rem;
    }
}


/* Hide home__description on screens below 768px */
@media (max-width: 768px) {
    .home__title_h3 {
        margin-top: 80px;
    }

    .comingdown {
        padding-top: 100px;
    }

    .about__images {
        margin-bottom: 50px;
    }

    .contact__button {
        margin-bottom: 50px;
    }

    .good {
        margin-bottom: 50px;
    }


    .footer__container {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }

    .footer__content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .footer__content div {
        text-align: left;
    }

    .footer__logo,
    .footer__description {
        text-align: left;
    }

    .bg__background_img {
        height: 40vh;
    }

    .home__title {
        text-align: center;
        padding-right: 250px;
        padding-top: 100px;
        width: 570px;
        font-size: var(--h1-font-size);
    }

    .proven__images {
        margin-bottom: 50px;
    }

    .section__subtitle {
        padding-top: 80px;
    }
}







/* For large devices */
@media screen and (min-width: 1150px) {
    .container {
        margin-inline: auto;
    }

    .section {
        padding-block: 7rem 2rem;
    }

    .nav {
        height: calc(var(--header-height) + 2rem);
    }

    .nav__toogle,
    .nav__close {
        display: none;
    }

    .nav__menu {
        width: initial;
    }

    .nav__list {
        flex-direction: row;
        align-items: center;
        column-gap: 3rem;
        margin-right: 10rem;
    }

    .nav__menu a {
        color: var(--white-color);
    }

    /* .bg__header .nav__link {
    color: var(--text-color);
  }

  .bg-header .active-link,
  .bg-header .nav__link:hover {
    color: var(--black-color);
  }

  .bg-header .button,
  .bg-header .button:hover {
    color: var(--white-color);
  } */


    .home__data {
        text-align: initial;
    }


    .home__buttons {
        justify-content: initial;
        column-gap: 3rem;

    }

    .home__info {
        justify-content: initial;
        column-gap: 5.5rem;
    }

    .home__info-description {
        font-size: var(--normal-font-size);
    }

    .home__img-1 {
        width: 550px;
        margin-left: 0;
    }

    .home__img-2 {
        width: 5000px;
        border-width: 10px;
        left: -7rem;
        bottom: -8rem;
    }

    .home__lines {
        object-position: center;
    }

    .about__container {
        grid-template-columns: repeat(2, 480px);
        column-gap: 9rem;
        padding-block: 3rem 2rem;
    }


    .about__img-1 {
        width: 370px;
        border-width: 10px;
        top: -9rem;
        left: 11rem;
    }

    .about__img-2 {
        width: auto;
        height: 450px;
        object-fit: cover;
        border-radius: 10px;
    }

    .about__data,
    .about__data :is(.section__title, .section__subtitle) {
        text-align: initial;
    }

    .about__list {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 3.5rem;
    }

    .projects__container {
        grid-template-columns: repeat(3, 350px);
        column-gap: 2rem;
        padding-block: 5rem 4rem;
    }

    .projects__card {
        border-width: 3px;
    }

    .projects__data {
        padding: 2rem 1.5rem 2rem;
    }

    .proven__container {
        grid-template-columns: repeat(2, 480px);
        column-gap: 9rem;
        padding-block: 3rem 2rem;
    }


    .proven__img-1 {
        width: 370px;
        border-width: 10px;
        top: -9rem;
        left: 11rem;
    }

    .proven__img-2 {
        width: auto;
        height: 430px;
        object-fit: cover;
        border-radius: 10px;
    }

    .proven__data,
    .proven__data :is(.section__title, .section__subtitle) {
        text-align: initial;
    }

    .proven__list {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 3.5rem;
    }

    .logos__container {
        grid-template-columns: repeat(4, max-content);
        justify-content: center;
        gap: 5rem;
    }

    .logos__img img {
        height: 100px;
    }

}

@media screen and (min-width: 1023px) {
    .footer__container {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: start;
    }

    .footer__content {
        justify-self: end;
    }


    .footer__content {
        grid-template-columns: repeat(4, max-content);
    }

    .footer__title {
        margin-bottom: 1.5rem;
    }

    .footer__link {
        row-gap: 1rem;
    }

    .footer__info {
        flex-direction: row;
        justify-content: space-between;
        padding-bottom: 2rem;
    }

    .show-scroll {
        bottom: 3rem;
        right: 3rem;
    }

}




html, body {
    overflow-x: hidden !important;
}
