/*=============== 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/img3.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__img-1 {
    width: 250px;
    margin-left: 3.5rem;
}

.home__img-2 {
    width: 150px;
    border: 5px solid var(--black-color);
    position: absolute;
    left: 0;
    bottom: -3.5rem;
}

.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);
}

/*=============== 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);
}


/*=============== VALUE ===============*/
.value__container {
    row-gap: 3rem;
}

.value__description {
    font-size: var(--small-font-size);
    margin-bottom: 2rem;
}

.value__accordion {
    display: grid;
    row-gap: 1.5rem;
}

.value__accordion-item {
    background-color: var(--body-color);
    border: 2px solid var(--border-color);
    border-radius: .5rem;
    padding: 1rem .75rem;
}

.value__accordion-header {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.value__accordion-icon {
    background-color: var(--first-color-lighten);
    padding: 5px;
    border-radius: .25rem;
    font-size: 18px;
    color: var(--first-color);
    margin-right: .75rem;
    transition: .3s;
}

.value__accordion-title {
    font-size: var(--small-font-size);
}

.value__accordion-arrow {
    display: inline-flex;
    background-color: var(--first-color-lighten);
    padding: .25rem;
    color: var(--first-color);
    border-radius: 2px;
    font-size: 10px;
    margin-left: auto;
    transition: .3s;
}

.value__accordion-arrow i {
    transition: .4s;
}

.value__accordion-description {
    font-size: var(--smaller-font-size);
    padding: 1.25rem 2.5rem 0 2.7rem;
}

.value__accordion-content {
    overflow: hidden;
    height: 0;
    transition: all .25s ease;
}

/*Rotate icon and add shadows*/
.accordion-open {
    box-shadow: 0 12px 32px hsla(228, 66%, 45%, .1);
}

.accordion-open .value__accordion-icon {
    box-shadow: 0 4px 4px hsla(228, 66%, 45%, .1);
}

.accordion-open .value__accordion-arrow {
    box-shadow: 0 2px 4px hsla(228, 66%, 45%, .1);
}

.accordion-open .value__accordion-arrow i {
    transform: rotate(-180deg);
}

.faq {
    font-size: var(--h1-font-size);
}

/*=============== SUBSCRIBE ===============*/
.subscribe {
  padding: 2.5rem 0;
}

.subscribe__container {
  background-color: var(--body-color);
  padding: 3rem 2rem;
  border-radius: 1.25rem;
  border: 6px solid var(--first-color-lighten);
  text-align: center;
}

.subscribe__title {
  font-size: var(--h2-font-size);
  color: #fff;
  margin-bottom: 1rem;
}

.subscribe__description {
  color: hsl(228, 90%, 92%);
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}

.subscribe__button:hover {
  background-color: var(--first-color);
}

/*=============== 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 */
y @media (max-width: 480px) {
    .container {
        margin-inline: 1rem;
        padding: 0;
        width: 100%;
    }

    .grid {
        width: 100%;
        overflow-x: hidden;
    }

   
}




@media (max-width: 768px) {
    .home__title {
        text-align: center;
        padding-right: 250px;
        padding-top: 100px;
        width: 570px;
        font-size: var(--h1-font-size);
    }

    .bg__background_img {
        height: 40vh;
    }

    .section__subtitle {
        padding-top: 80px;
    }

    .subscribe__button {
  border: 2px solid #fff;
  background: var(--first-color);
  font-size: var(--small-font-size);
  border-radius: 40px;
}

.footer__logo,
    .footer__description {
        text-align: left;
    }
    


}




/* 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: 350px;
        border-width: 10px;
        left: -7rem;
        bottom: -8rem;
    }

    .home__lines {
        object-position: center;
    }

    .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;
    }


    .value__accordion-title {
        font-size: var(--normal-font-size);
    }

    .value__accordion-item {
        padding: 1.25rem 1.25rem 1.25rem 1rem;
        width: 700px;
        align-items: center;
        justify-self: center;
    }

    .value__accordion-description {
        padding-bottom: 1rem;
        font-size: var(--small-font-size);
    }

    .subscribe__container {
    padding: 4rem 10rem 4.5rem;
    justify-content: center;
    width: 900px;
    border-radius: 2rem;
    border: 12px solid var(--first-color-light);
  }

  .subscribe__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .subscribe__description {
    font-size: var(--normal-font-size);
    padding: 0 8rem;
  }

  .subscribe__button {
    font-size: var(--normal-font-size);
  }

  .subscribe__description {
    width: 700px;
  }

  
  .subscribe__button {
  border: 2px solid #fff;
  background: var(--first-color);
  font-size: var(--small-font-size);
  width: 300px;
  border-radius: 40px;
}

.subscribe__bu {
    width: 700px;
     justify-content: center;
  align-items: center;
  display: flex;
}
   
    

}

@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;
}