/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ROOT */
html {
    font-size: 16px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

* {
    --main-color: #03995B;
    --secondary-color: #fff;
    --text: #000;
    --padding-y: 0 5% 0 5%;
    --padding-mobile: 0 5% 0 5%;
    --title: 24px;
    --paragraph: 14px;
    letter-spacing: -0.02em;
}


/* NAVEGAÇÃO */
.navigationContainer {
    padding: var(--padding-y);
    background-size: 100% 100%;
}

.navigationMobile {
    display: none;
}

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

.navigation img {
    width: 10%;
}

.navigation nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    overflow: none;
    text-align: center;
    justify-content: space-between;
}

.navigation nav ul li a {
    text-decoration: none;
    color: var(--main-color);
    font-size: 80%;
    font-weight: bold;
}

.here::before {
    content: "I";
    background-color: var(--main-color);
    margin-right: 5px;
    font-weight: 100;
}

/* HERO */

.heroContainer {
    background-image: url(./midia/hero-image.png);
    background-size: cover;
    background-position: center;
    height: 584px;
    border-radius: 0 0 150px 150px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: var(--padding-y);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1, .hero h3 {
    color: var(--secondary-color);
}

.hero h3 {
    width: 700px;
}

.hero h1 {
    font-size: 74px;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.03em;
    margin-bottom: 0;
    margin-top: 0;
}

.heroButtons {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
}

.buttonSolucoes {
    background-color: var(--main-color);
    color: var(--secondary-color);
    padding: 16px 60px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-justify: center;
    transition: 0.5s;
    cursor: pointer;
}

.buttonSolucoes:hover {
    transform: scale(1.05);
}

.buttonSolucoes:active {
    transform: scale(1);
}

.buttonCotacao {
    border: 2px solid white;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 16px 60px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-justify: center;
    transition: 0.5s;
    cursor: pointer;
}

.buttonCotacao:hover {
    transform: scale(1.05);
}

.buttonCotacao:active {
    transform: scale(1);
}

/* INFO CONTAINER */

.infoContainer {
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    margin-top: -60px;
    background-color: transparent;
}

.infoText {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 50px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    width: 900px;
    border-radius: 100px;
    background-color: var(--secondary-color);
}

.infoText div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.infoText div h2 {
    font-size: 64px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--main-color);
    margin: 0;
}

.infoText div p {
    font-size: 16px;
    font-weight: bold;
}


/* ABOUT CONTAINER */

.aboutContainer {
    padding: var(--padding-y);
    margin-top: 100px;
}

.about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.about img {
    width: 606px;
    height: auto;
}

.aboutText h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 40px;
    margin-top: -5px;
    color: var(--main-color);
}

.aboutItem {
    display: flex;
    align-items: start;
    gap: 20px;
}

.check {
    color: var(--main-color);
}

.aboutItem h4 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bolder;
}

.aboutItem p {
    margin-top: 0;
    font-size: 20px;
}

.aboutButtons {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
    cursor: pointer;
}

.buttonAbout {
    background-color: var(--main-color);
    color: var(--secondary-color);
    padding: 16px 60px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-justify: center;
    transition: 0.5s;
    cursor: pointer;
}

.buttonAbout:hover {
    transform: scale(1.05);
}

.buttonAbout:active {
    transform: scale(1);
}

.buttonContato {
    border: 2px solid var(--main-color);
    background-color: transparent;
    color: var(--main-color);
    padding: 16px 60px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-justify: center;
    transition: 0.5s;
}

.buttonContato:hover {
    transform: scale(1.05);
}

.buttonContato:active {
    transform: scale(1);
}

/* SERVIÇOS CONTAINER */

.servicosContainer {
    padding: var(--padding-y);
    margin-top: 100px;
}

.servicosContainer h2 {
    font-size: 48px;
    color: var(--main-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.servicosContainer strong {
    color: var(--text);
}

.servicos {
    display: flex;
    width: 100%;
    gap: 30px;
}

.servico {
    height: 300px;
    width: 33%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 10px;
}

.aereo {
    background-image: url(./midia/servicos-aereo.png);
    background-size: cover;
    background-position: center;
}

.rodoviario {
    background-image: url(./midia/servicos-rodoviario.png);
    background-size: cover;
    background-position: center;
}

.armazen {
    background-image: url(./midia/servicos-armazen.png);
    background-size: cover;
    background-position: center;
}

.servico:hover {
    width: 50%;
    background-size: cover;
    background-position: center;
    transition: 0.4s;
}

.servico:hover > .content {
    opacity: 1;
    transition: 0.4s;
    width: 33%;
}

.servico:hover > .arrow {
    opacity: 0;
    transition: 0.3s;
}

.servico:not(:hover) > .content {
    transition: 0.4s;
    opacity: 0;
}

.servico:not(:hover) > .arrow {
    transition: 0.3s;
}

.servico:not(:hover) {
    transition: 0.4s;
}

.content {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px;
    opacity: 0;
    width: 25%;
    position: absolute;
}

.arrow {
    opacity: 1;
}

.servico h3 {
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 10px;
    margin-top: 0;
}

.aereoAnchor {
    cursor: pointer;
}

.content a {
    text-decoration: none;
    color: var(--main-color);
    font-size: 16px;
    cursor: pointer;
}

.servico p {
    color: var(--main-color);
    font-size: 40px;
    margin-bottom: 0;
}


/* NORTE A SUL CONTAINER */

.norteSulContainer {
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 15%, rgba(3,153,91,1) 15%, rgba(3,153,91,1) 85%, rgba(255,255,255,0) 85%);
    margin-top: 50px;
}

.norteSul {
    padding: var(--padding-y);
    color: var(--secondary-color);
    display: flex;
}

.norteSulImage img {
    width: 800px;
    height: auto;
}

.norteSulText {
    margin-top: 130px;
}

.norteSulText h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 48px;
    margin-bottom: 0px;
}

.norteSulText h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 20px;
    margin-top: 0;
}

.norteSulText p {
    font-size: 20px;
    width: 140%;
}

/* PROPOSITO CONTAINER */

.propositoContainer {
    padding: var(--padding-y);
}

.propositoText {
    text-align: center;
}

.propositoText h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 48px;
    margin-bottom: 0px;
}

.propositoText h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-size: 64px;
    margin-bottom: 30px;
    margin-top: 0;
    color: var(--main-color);
}

.propositoGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.propositoItem {
    text-align: center;
}

.propositoItem img {
    width: 100px;
}

.propositoItem h3 {
    font-size: 40px;
    margin-bottom: 0;
    margin-top: 10px;
    color: var(--main-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.propositoItem p {
    font-size: 20px;
    margin: 0;
}

/* TIMELINE CONTAINER */

  
    
.timelineContainer {
    padding: var(--padding-y);
    margin-top: 100px;
    margin-bottom: 0px;
    background-size: 100% 100%;
}


  .timeline {
    margin: 20px auto;
    padding: 20px 20px 20px 80px;
    width: 800px
  }

  .timelineTitle {
    text-align: center;
    padding: 0 20%;
  }

  .timelineTitle h2 {
    font-size: 60px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--main-color);
    margin-bottom: 0;
  }

  .timelineTitle p {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  /* Card container */
  .card {
    position: relative;
    max-width: 700px;
  }
  
  /* setting padding based on even or odd */
  .card:nth-child(odd) {
    padding: 30px 0 30px 30px;
  }
  .card:nth-child(even) {
    padding: 30px 30px 30px 0;
    text-align: right;
  }
  /* Global ::before */
  .card::before {
    content: "";
    position: absolute;
    width: 50%;
    border: dashed #03995B;
  }
  
  /* Setting the border of top, bottom, left */
  .card:nth-child(odd)::before {
    left: 0px;
    top: -4.5px;
    bottom: -4.5px;
    border-width: 5px 0 5px 5px;
    border-radius: 50px 0 0 50px;
  }
  
  /* Setting the top and bottom to "-5px" because earlier it was out of a pixel in mobile devices */
  @media only screen and (max-width: 400px) {
    .card:nth-child(odd)::before {
      top: -5px;
      bottom: -5px;
    }
  }
  
  /* Setting the border of top, bottom, right */
  .card:nth-child(even)::before {
    right: 0;
    top: 0;
    bottom: 0;
    border-width: 5px 5px 5px 0;
    border-radius: 0 50px 50px 0;
  }
  
  /* Removing the border if it is the first card */
  .card:first-child::before {
    border-top: 0;
    border-top-left-radius: 0;
  }
  
  /* Removing the border if it is the last card  and it's odd */
  .card:last-child:nth-child(odd)::before {
    border-bottom: 0;
    border-bottom-left-radius: 0;
  }
  
  /* Removing the border if it is the last card  and it's even */
  .card:last-child:nth-child(even)::before {
    border-bottom: 0;
    border-bottom-right-radius: 0;
  }
  
  /* Information about the timeline */
  .info {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  }
  
  /* Title of the card */
  .title {
    color: var(--main-color);
    position: relative;
    margin: 0;
  }
  
  /* Timeline dot  */
  .title::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 999px;
    border: 3px solid #03995B;
  }
  
  /* text right if the card is even  */
  .card:nth-child(even) > .info > .title {
    text-align: right;
  }
  
  /* setting dot to the left if the card is odd */
  .card:nth-child(odd) > .info > .title::before {
    left: -45px;
  }
  
  
  .card:nth-child(even) > .info > .title::before {
    right: -45px;
  }


/* FOOTER */

.footerOne {
    background-image: url(./midia/footer-bg.png);
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: var(--padding-y);
    padding-top: 50px;
    padding-bottom: 50px;
}

.footerLogo img {
    height: 50px;
}

.footerText h2 {
    font-size: 60px;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 0;
}

.footerText p {
    font-size: 20px;
    color: var(--secondary-color);
}

.footerTwo {
    background-color: #001A2A;
    padding: var(--padding-y);
    padding-top: 50px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--secondary-color);
    gap: 460px;
}

.footerTwo h3 {
    font-size: 36px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footerTwo p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 50px;
}

.trabalheConoscoFooter {
    padding: 16px 90px;
    background-color: var(--main-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
}



/* SCROLL ANIM */

.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animation.active {
    opacity: 1;
    transform: translateY(0);
}



/* RESPONSIVE */

@media only screen and (max-width: 600px) {



    

    /* ROOT */
    html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    body {
        padding: 0;
        margin: 0;
        font-size: 12px;
        width: 100%;
        max-width: 600px;
        overflow-x: hidden;
    }

    /* NAVIGATION MOBILE */
    .navigationContainer {
        padding: var(--padding-mobile);
        display: flex;
        height: 50px;
    }
    
    .navigation {
        display: none;
    }

    /* Configuração do menu mobile */
    .navigationMobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px;
        position: relative;
    }

    /* Estilização do logotipo */
    .navigationMobile img {
        width: 120px; /* Ajuste conforme necessário */
    }

    /* Ícone do menu hambúrguer */
    .navigationMobile div p {
        font-size: 30px;
        cursor: pointer;
        color: var(--main-color);
        margin: 0;
        user-select: none;
    }

    /* Oculta o menu por padrão */
    .navigationMobile nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 10px;
        background: white;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 10px;
        width: 150px;
    }

    /* Exibe o menu quando ativo */
    .navigationMobile nav.active {
        display: block;
    }

    /* Estilização dos links do menu */
    .navigationMobile nav p {
        margin: 0;
        padding: 10px 15px;
        text-align: left;
    }

    .navigationMobile nav p a {
        text-decoration: none;
        color: var(--main-color);
        font-size: var(--paragraph);
        font-weight: bold;
        display: block;
    }




    /* HERO MOBILE */

    .heroContainer {
        padding: var(--padding-mobile);
        height: 260px;
        border-radius: 0 0 50px 50px;
    }

    .hero h1 {
        font-size: 20px;
        font-family: 'Poppins', sans-serif;
        font-weight: 900;
        letter-spacing: -0.02em;
    }

    .hero h3 {
        font-size: 10px;
        width: 400px;
    }

    .heroButtons {
        gap: 30px;
    }

    .buttonSolucoes {
        padding: 10px 30px;
        font-size: 12px;
        text-align: center;
    }

    .buttonCotacao {
        padding: 10px 30px;
        font-size: 12px;
        text-align: center;
    }


    /* INFO CONTAINER MOBILE*/


    .infoContainer {
        margin-top: -20px;
    }


    .infoText {
        gap: 12px;
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
        width: fit-content;
        border-radius: 50px;
        background-color: var(--secondary-color);
        padding: 10px 16px;
    }

    .infoText div {
        gap: 6px;
    }

    .infoText div h2 {
        font-size: var(--title);
    }
    
    .infoText div p {
        font-size: 8px;
    }



    /* ABOUT CONTAINER */

    .aboutContainer {
        padding: var(--padding-mobile);
        margin-top: 50px;
    }

    .about {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .about img {
        width: 100%
    }

    .aboutText h3 {
        font-size: var(--title);
    }

    .aboutItem h4 {
        font-size: 16px;
        margin-top: 0;
        margin-bottom: 10px;
        font-weight: bolder;
        text-wrap: wrap;
    }
    
    .aboutItem p {
        margin-top: 0;
        font-size: var(--paragraph);
        text-wrap: wrap;
    }

    .check {
        margin-right: -10px;
    }

    .aboutButtons {
        gap: 20px;
    }


    .buttonAbout {
        padding: 10px 30px;
        font-size: 10px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .buttonContato {
        padding: 10px 30px;
        font-size: 10px;
        text-align: center;
    }


    /* SERVIÇOS CONTAINER MOBILE */

    .servicosContainer {
        padding: var(--padding-mobile);
        margin-top: 50px;
        width: calc(100% - 5%);
    }

    .servicosContainer h2 {
        font-size: var(--title);
    }

    .servicos {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .servico {
        width: 90%;
    }

    .servico:hover {
        width: 90%;
    }

    .content {
        width: 310px
    }

    .content a {
        width: 100%;
    }

    .servico:not(:hover) > .content {
        opacity: 0;
    }

    .servico:hover > .content {
        width: 310px;
        transition: 0.4s;
        opacity: 1;
    }

    /* NORTE A SUL CONTAINER MOBILE */

    .norteSulContainer {
        background-color: var(--main-color);
    }

    .norteSulImage img {
        display: none;

    }

    .norteSulText {
        margin-top: 0;
    }

    .norteSulText h2 {
        margin-top: 20px;
        font-size: var(--title);
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .norteSulText h5 {
        font-size: 16px;
    }

    .norteSulText p {
        font-size: var(--paragraph);
        width: 100%;
    }


    /* PROPOSITO CONTAINER MOBILE */

    .propositoContainer {
        margin-top: 50px;
    }


    .propositoItem img {
        width: 50px;
        height: 50px;
    }

    .propositoText h3 {
        font-size: 18px;
    }

    .propositoText h2 {
        font-size: var(--title);
    }

    .propositoItem h3 {
        font-size: 18px;
        margin-top: 0;
    }

    .propositoItem p {
        font-size: var(--paragraph);
    }

    .propositoGrid {
        display: flex;
        flex-direction: column;
    }

    .propositoItem {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .propositoItem div {
        background-color: #f2f2f2;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 3px 3px 5px 0 #dddddd;
    }



    /* TIMELINE CONTAINER MOBILE */

    .timelineContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .timeline {
        width: 300px;
        padding: var(--padding-mobile);
    }

    .timelineTitle h2 {
        font-size: var(--title);
    }

    .timelineTitle p {
        font-size: var(--paragraph);
        width: 300px;
    }


    /* FOOTER MOBILE */

    .footerOne {
        background-position: center;
        background-size: cover;
    }

    .footerLogo img {
        width: 70px;
        height: auto;
    }


    .footerTwo {
        gap: 30px;
        display: flex;
        flex-direction: column;
    }

    .footerText h2 {
        font-size: 18px;
    }

    .footerText p {
        font-size: var(--paragraph);
    }

    .footerTwo h3 {
        font-size: var(--title);
    }

    .footerTwo p {
        font-size: var(--paragraph);
    }

}