* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: 'Poppins';
}

:root {
    --bg-color: #fcf9eb;
    --second-bg-color: #f4f1e3;
    --text-color: black;
    --main-color: #636b2f;
}

html {
    font-size: 60%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    word-wrap: break-word;
}

.bx-menu {
    cursor: pointer;
}

.header {
    position: fixed;
    gap: 0;
    height: 96px;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1rem 5%;
    background: rgba(248, 245, 231, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-img {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img img {
    max-width: 60px;
    width: 100%;
    height: 64px;
    margin-right: 15px;
    padding-right: 10px;
    align-items: center;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    flex-shrink: 0;
}


#menu-icon {
    font-size: 3.5rem;
    color: var(--main-color);
    display: none;
}

.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    align-items: center;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    margin-right: 30px;
}

.logo:hover {
    transform: scale(1.1);
}

span {
    background: linear-gradient(270deg,
            #636b2f 10%,
            #274703 100%);
    background-clip: text;
    color: transparent;
}

.navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
    margin: 1.5rem;
}

.navbar a:hover {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

.gradient-btn img {
    /* Ajuste o tamanho da imagem conforme necessário */
    height: 23px;
    display: block;
}

.service-info {
    text-align: center;
}

.service-info img {
    margin: 10px;
    width: 60px;
    height: 60px;
}


.gradient-btn {
    font-size: 1.7rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: linear-gradient(270deg,
            #636b2f 10%,
            #274703 100%);
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    color: white;
    border: none;
    text-wrap: nowrap;
    max-width: 10%;
    width: auto;
    min-width: fit-content;
    display: inline-flex;
    gap: 8px;
    overflow: visible;
}

.gradient-btn:hover {
    transform: scale(1.05);
}

section {
    min-height: auto;
    padding: clamp(3rem, 10vw, 10rem) clamp(2rem, 15vw, 15%);
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 15vw, 15rem);
    background-color: var(--second-bg-color);
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    padding-top: 5rem;
}

.home-content h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
}

.home-content h3 {
    margin: 1rem 0;
    font-size: clamp(2rem, 4vw, 4rem);
}

.home-content h2 {
    margin: 1rem 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    word-wrap: break-word;
}

.home-content p {
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    font-weight: 500;
    line-height: 1.8;
    word-wrap: break-word;
}

.home-img img {
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
    width: 100%;
    max-width: 30dvh;
    min-width: 30dvh;
    margin-top: 50px;
}

.home-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
        0 0 50px var(--main-color),
        0 0 100px var(--main-color);
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 0.5rem;
    transition: 0, 3s ease-in-out;
    height: 50px;
    width: 50px;
}

.social-icons a:hover {
    color: white;
    background-color: var(--main-color);
    transform: scale(1.2)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}

.btn-group i {
    margin-left: 5px;
}


.btn-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 3rem;
    font-size: 1.8rem;
    color: white;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0, 3s ease-in-out;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color),
        0 0 50px var(--main-color);
}

.btn-group a:nth-of-type(2) {
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover {
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: rgb(0, 0, 0);
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 10vw, 10rem);
    background-color: var(--second-bg-color);
}

.about-img img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
    min-width: 0;
}

.about-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
        0 0 50px var(--main-color),
        0 0 100px var(--main-color)
}

.about-content h2 {
    font-size: clamp(3rem, 7vw, 7rem);
    text-align: center;
    word-wrap: break-word;
}

.about-content p {
    font-size: clamp(1.6rem, 1.8vw, 1.8rem);
    max-width: 600px;
    width: 100%;
    word-wrap: break-word;
}

hr {
    border: none;
    height: 0px;
    background-color: #ddd;
    margin: 20px 0;
}


.about-content .btn {
    margin: 3rem 0;
}

::-webkit-scrollbar {
    width: 20px;


}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-track {
    background-color: var(--bg-color);
    border-radius: 10px;
}


.heading {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin: 1rem 0;
    word-wrap: break-word;
}


.services {
    background-color: var(--bg-color);
    color: white;

}

.services p {
    color: var(--text-color);
    align-items: center;
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    display: flex;
    justify-content: left;
    max-width: 100%;
    text-align: left;
    margin: 30px;
    word-wrap: break-word;
}

.ajuda {
    background-color: var(--second-bg-color);
}

.ajuda h1 {
    color: var(--text-color);
    font-size: clamp(2.5rem, 4vw, 4rem);
    text-align: center;
    margin-bottom: 20px;
    word-wrap: break-word;
}
.ajuda1 {
    background-color: var(--bg-color);
}

.ajuda1 h1 {
    color: var(--text-color);
    font-size: clamp(2.5rem, 4vw, 4rem);
    text-align: center;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.ajuda h2 {
    color: var(--text-color);
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    text-align: center;
    margin-bottom: 60px;
    word-wrap: break-word;
}
.ajuda1 h2 {
    color: var(--text-color);
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    text-align: center;
    margin-bottom: 25px;
    word-wrap: break-word;
}

.ajuda h3 {
    color: var(--text-color);
    font-size: 2.5rem;
    text-align: center;
    margin-top: 60px;
}

.ajuda p {
    color: var(--text-color);
    align-items: center;
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    display: flex;
    justify-content: left;
    max-width: 100%;
    text-align: left;
    margin: 30px;
    word-wrap: break-word;
}
.ajuda1 p {
    color: var(--text-color);
    align-items: center;
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    display: flex;
    justify-content: left;
    max-width: 100%;
    text-align: left;
    margin: 30px;
    word-wrap: break-word;
}


.services h2 {
    color: var(--text-color);
    font-size: clamp(2.5rem, 4vw, 4rem);
    word-wrap: break-word;
}

.services h3 {
    color: var(--text-color);
    font-size: clamp(2rem, 3vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    word-wrap: break-word;
}

.services h4 {
    color: var(--text-color);
    font-size: 2.5rem;
    text-align: center;
    margin-top: 60px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 50px;
    padding: 50px;
    justify-content: center;
    row-gap: 5rem;
    width: 100%;
    max-width: 100px;
    margin: 0 auto;
    /* Centraliza o container horizontalmente */
}

.service-box {
    display: flex;
    background-color: #7a843a;
    min-height: 150px;
    height: 220px;
    width: 400px;
    margin: 2px;
    border-radius: 3rem;
    border: 5px solid transparent;
    transition: 0.3s ease-in-out;
}

.service-box:hover {
    background: #6d753e;
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}

.service-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 5rem;

}

.service-info h4 {
    font-size: 2rem;
    margin: 2rem 0;
    font-weight: 700;
}

.service-info p {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.7;
}

.service-info i {
    font-size: 8rem;
}


.projects h2 {

    margin-bottom: 5px;
}

.projects p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.8;
    word-wrap: break-word;
}

.projects {

    background-color: var(--bg-color);
}

.projects-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    gap: 3rem;
    row-gap: 5rem;
}
.projects-box1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
    row-gap: 5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    gap: 1rem;
    padding: 25px;
    overflow: hidden;
    box-shadow: 0 0 5px var(--main-color);
    transition: 0.3s ease;
    min-width: 0;
    flex: 1 1 300px;
    max-width: 100%;
    word-wrap: break-word;
}

.project-card:hover {
    box-shadow: 0 0 25px var(--main-color),
        0 0 50px var(--main-color);
    transform: scale 1.02;
}

.project-card img {
    margin-top: 5%;
    width: 50%;
    border-radius: 2rem;
    object-fit: cover;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    word-wrap: break-word;
}

.project-card p {
    font-size: clamp(1.4rem, 1.6vw, 1.6rem);
    word-wrap: break-word;
}

.contact {
    background-color: var(--bg-color);
}

.contact h2 {
    margin-bottom: 3rem;
    color: var(--text-color);
    word-wrap: break-word;
}

.contact p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    font-weight: 500;
    line-height: 1.8;
    word-wrap: break-word;
}

.contact form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 5rem 0;
    text-align: center;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 2rem;
    border: none;
    margin: 1.5rem 0;
    resize: none;
}

.input-goup-2 {
    text-align: center;
}

.input-goup-2 :hover {
    cursor: pointer;

}

.contact_1 input {
    width: 100%;
    padding: 0;
    display: block;
    gap: 10rem;
    background-color: white;
    border: 100%;
    z-index: 1000;
}

.footer {
    background-color: rgb(255, 255, 255, 0.8);
    padding: 50px 0;
}

.footer .social-icons {
    text-align: center;
}

.footer ul {
    text-align: center;
    font-size: 1.8rem;
}

.footer ul li {
    display: inline-block;
    margin-left: 20px;
}

.footer ul li a {
    color: black;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}

.footer ul li a:hover {
    border-bottom: 3px solid var(--main-color);
}

.faq {
    background-color: var(--second-bg-color);
    display: flex;
    flex-direction: column;
}

.faq h1 {
    font-size: clamp(1.6rem, 2vw, 2rem);
    display: flex;
    justify-content: left;
    margin-top: 35px;
    margin-bottom: 35px;
    width: 95%;
    word-wrap: break-word;
}

.faq h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 5rem;
    word-wrap: break-word;
    text-align: center;
}

.project-card-faq {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #dbe2b1;
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    padding: 3rem 2rem;
    overflow: hidden;
    box-shadow: 0 0 5px var(--main-color);
    transition: 0.3s ease;
    min-width: 0;
    word-wrap: break-word;
}

.project-card-faq h3 {
    font-size: clamp(1.6rem, 2vw, 2rem);
    word-wrap: break-word;
    max-width: 60%;
    margin-bottom: 10px;
}

.project-card-faq p {
    font-size: clamp(1.4rem, 1.6vw, 1.6rem);
    word-wrap: break-word;
    max-width: 60%;
}



.footer .copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    margin: 10px;
    padding: 20px;
}

/* Tablet and below */
@media(max-width: 1024px) {
    #menu-icon {
        display: block;
    }

    .header {
        padding: 2rem 5%;
        gap: 1rem;
        height: auto;
        min-height: 80px;
    }

    .logo {
        font-size: clamp(1.8rem, 3vw, 3rem);
    }

    .logo-img {
        flex-shrink: 0;
    }

    .logo-img img {
        max-width: 50px;
        height: 50px;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        width: 90%;
        padding: 1rem 3rem;
        background: rgba(248, 245, 231, 0.9);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }

    .navbar.active {
        display: block;
    }

    .gradient-btn {
        font-size: 1.4rem;
        padding: 0.8rem 1.5rem;
        max-width: 200px;
    }

    .home {
        flex-direction: column-reverse;
        margin: 5rem 0;
        gap: 3rem;
    }

    .home-content {
        align-items: center;
        text-align: center;
        padding-top: 2rem;
    }


    .about {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }

    .about-content {
        align-items: center;
    }

    .about-content p {
        text-align: center;
    }

    .about-img img {
        width: 100%;
        max-width: 300px;
    }

    .projects-box1 {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        width: 100%;
        max-width: 500px;
    }

    .contact form {
        flex-direction: column;
    }

    .projects-box {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media(max-width: 767px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 1.5rem 3%;
        gap: 0.5rem;
        height: auto;
        min-height: 70px;
    }

    .logo {
        font-size: 1.6rem;
        margin-right: 10px;
    }

    .logo-img {
        flex-shrink: 0;
    }

    .logo-img img {
        max-width: 40px;
        height: 40px;
        margin-right: 8px;
    }

    .gradient-btn {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
        max-width: 160px;
    }

    .gradient-btn img {
        height: 18px;
    }

    section {
        padding: 3rem 5%;
    }

    .home {
        gap: 2rem;
        margin: 3rem 0;
    }

    .home-content {
        padding-top: 1rem;
    }


    .social-icons a {
        font-size: 2.5rem;
        padding: 0.8rem;
        margin: 2rem 0.3rem;
        height: 45px;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1.6rem;
    }

    .about {
        gap: 2rem;
    }

    .about-img img {
        max-width: 250px;
    }

    .projects-box1 {
        gap: 2rem;
        row-gap: 3rem;
    }

    .project-card {
        padding: 20px;
        flex: 1 1 100%;
    }

    .services p,
    .ajuda p {
        margin: 20px 10px;
        font-size: 1.6rem;
    }

    .services h2,
    .ajuda h1 {
        font-size: 2.5rem;
    }

    .services h3,
    .ajuda h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .faq h2 {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .project-card-faq {
        padding: 2rem 1.5rem;
    }

    .projects-box {
        gap: 2rem;
        row-gap: 3rem;
    }

    .contact p {
        padding: 0.5rem;
        font-size: 1.6rem;
    }

    .footer {
        padding: 30px 0;
    }

    .footer ul li {
        margin-left: 10px;
        display: block;
        margin-bottom: 10px;
    }
}

/* Very small mobile */
@media(max-width: 500px) {
    html {
        font-size: 50%;
    }

    .header {
        padding: 1rem 2%;
    }

    .gradient-btn {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
        max-width: 140px;
          align-items: center;      /* centraliza verticalmente */
  justify-content: center;  /* centraliza horizontalmente */
    }

    .gradient-btn img {
        height: 16px;
    }

    section {
        padding: 2rem 3%;
    }

    .about-img img {
        max-width: 200px;
    }

    .project-card {
        padding: 15px;
    }

    form div {
        max-width: 100%;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="number"],
    form textarea {
        padding: 15px;
        font-size: 18px;
    }
}


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

form div {
    margin-bottom: 15px;
    width: 100%;
    max-width: 400px;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--main-color-);
    box-sizing: border-box;
    font-size: 16px;
    box-shadow: 0 0 40px var(--main-color);
}

form textarea {
    height: 100px;
}

@media (max-width: 500px) {
    form div {
        max-width: 100%;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="number"],
    form textarea {
        padding: 15px;
        font-size: 18px;
    }
}

form textarea#message {
    height: 250px;
    background-color: white;
}

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

.container h1 {
    font-size: 8rem;
    font-weight: 700;
    margin-top: 25%;

}

.container p {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.8;
}