* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;

}

#whatsapp {
    cursor: pointer;
    width: 40px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    animation: pulse 1.5s infinite;
    transition: transform 0.3s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

html {
    background-color: #FFFFFF;
}

img {
    border-radius: 10px;
}

button:hover,
.arrow:hover,
footer a:hover {
    cursor: pointer;
    transition: 0.5s;
}

ul {
    list-style: none;
}

header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;

}


nav ul {
    display: flex;
    gap: 1rem;
}

nav ul a {
    border-bottom: 2px solid transparent;
    font-size: 18px;
    padding: 2px 7px;
    text-decoration: none;
    color: #000;
    transition: 0.3s;

}

.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
    display: none;

}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #000;

    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 11px;
}


.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.hamburger.active span:nth-child(2) {
    transform: rotate(-45deg);
    top: 11px;
}


.sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: white;
    padding: 3rem 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
}

.sidebar.active {
    right: 0;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin: 1.5rem 0;
}

.sidebar ul a {
    font-size: 1.5rem;
    text-decoration: none;
    color: #000;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.473);
    height: 100%;
    width: 100%;
    display: none;
    z-index: 1000;
}

.overlay.active {
    display: block;
}

#contactus {
    color: #fff;
    padding: 20px 30px;
    background-color: #425473;
    transition: 0.3s;
}

#contactus:hover {
    background-color: #000;

}

.container {
    padding: 5rem 0;
}

main {
    padding: 1.5rem 5rem;
    min-height: 100vh;
    margin: auto;
}

#first {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: url(../assets/office.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.blue {
    color: #425473;
}

h1 {
    font-size: 4.3vw;
    line-height: 4vw;
}

h3 {
    font-size: 2vw;
    font-weight: 100;
}

#logo img {
    width: 70px;
}


#mission {
    padding: 2rem 1.5rem;
    background-color: #000;
    color: #FFFFFF;
    width: 65%;
}

.about-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;

}

.about-section>div {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 5vw 0;
}

#container-services {
    padding: 5rem 0;
}

.image {
    width: 60%;
}

.image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-title {
    flex: 1;
    font-weight: 700;

}

#contact-form h1 {
    margin-bottom: 20px;
}
select {
    border-radius: 0.3rem;
    padding: 15px;
    font-size: 16px;
    border: none;
    background-color: #f1f1ef;
    width: 100%;
    box-sizing: border-box;
    appearance: none; /* Optional: for more consistent look across browsers */
    -webkit-appearance: none;

    cursor: pointer;
    -moz-appearance: none;
}
select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem; /* Space for arrow */
}
select:hover, select:active, select:focus {
    border: none;
    outline: none;
}

.about-title,
#container-services h1 {
    margin-bottom: 4rem;
}

.about-text {
    max-width: 65%;
    flex: 2;
    padding-left: 60px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.links {
    padding: 20px 30px;
    background-color: #425473;
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
}

.links:hover {
    background-color: #000;

}

#about p,
.quote-layout p {

    font-size: 20px;
}

#quote-author {

    font-weight: 900;
    text-align: end;
}

.quote-layout h1 {
    font-size: 5vw;
    line-height: 5vw;
}

#presentation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3.5vw;
    margin: 0 auto;
    padding: 7rem 5rem;
}

#presentation .quote-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.quote-layout {

    gap: 1.5vw;
    padding-left: 2rem;
    align-items: start;
}

#presentation aside {
    width: 100%;
    height: 100%;
}

.img-presentation {
    width: 100%;
    height: 800px;
    display: block;
}

.img-presentation img {
    width: 100%;
    height: 100%;
    object-fit: cover;


}


.reviews-section {
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
    padding: 5rem 0;
}

.reviews-section>div {

    width: 55%;
    padding: 30px;
}

.reviews-section h1 {
    text-align: center;
}

.reviews-section h1 {
    margin-bottom: 3rem;
}

.review>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reviews-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    width: 100%;
    gap: 20px;
    padding: 1rem 0;
}

.review {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 4rem;
    border-radius: 10px;
}



.review p {
    font-size: 1.2rem;
}


.subheading,
.review h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#buttons {
    display: flex;
}

#prevBtn,
#nextBtn {
    font-size: 2.5rem;
    color: #FFFFFF;
    position: relative;
    top: -5px;
}

.arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #425473;
    border: none;
    outline: none;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    padding-bottom: 10px;
    width: 100%;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.footer-content {
    padding: 3rem 5rem 2.5rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}


footer li {
    font-size: 18px;
    margin: 20px 0;
}

footer a {
    padding-bottom: 7px;
    color: #FFFFFF;
}

footer a:hover {
    color: #a1a0a0;
}

footer p,
ul li,
a {
    color: #FFFFFF;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

#copy {
    font-size: 0.85rem;
    color: #aaa;
}

.text {
    padding: 8px 12px;
    text-align: center;
    width: 100%;
    bottom: 8px;
}

.prev:hover,
.next:hover {
    background-color: rgb(0, 0, 0);
}

h4 a {
    text-decoration: none;
    margin: 5px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 6rem;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card img {
    width: 100%;
    height: auto;
    display: block;
}

.service-card h2 {
    text-decoration: underline;
    color: black;
}

.content h2 {
    margin: 1rem 0;
}

.service-card p {
    font-size: 16px;
    color: #333;
}

.service-card .content {
    padding: 16px;

}


#contact-form {
    display: flex;
    padding-top: 5rem;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-left,
.contact-right {
    flex: 1;
    min-width: 300px;
}


.contact-left p {
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-left label {
    font-weight: 900;
    display: block;
    margin-top: 20px;
    font-size: 16px;
}

.contact-left a,
.contact-left span {
    color: #000;
    display: block;
    margin-top: 5px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 5rem;
}

.social-icons img {
    width: 25px;
}


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


label {

    font-size: 14px;
}

input,
textarea {
    border-radius: 0.3rem;
    padding: 15px;
    font-size: 16px;
    border: none;
    background-color: #f1f1ef;
    width: 100%;
    box-sizing: border-box;
}

.name-fields {
    display: flex;
    gap: 10px;
}

.name-fields input {
    width: 100%;
}

button {
    width: 120px;
    padding: 15px 20px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 0.3rem;
}

button:hover {
    background-color: #000;
}

.legal h1 {

    margin: 3rem 0;
}

.legal h2 {
    margin: 10px 0;
}

.legal ul li {
    color: #000;
}

.legal ul {
    margin: 1.5rem 0;

}


.boxes {
    margin: 3rem 0;
}
/* Animação fade + zoom */
.fade-in {
    animation: fadeZoomIn 0.4s ease-out forwards;
}

@keyframes fadeZoomIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.fade-out {
    animation: fadeZoomOut 0.3s ease-in forwards;
}

@keyframes fadeZoomOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;
    color: #fff;
    max-width: 450px;
    padding: 3rem ;
    z-index: 1000;
       font-weight: 300;
}

.social-icons2 img {
    width: 40px;
    filter: invert(100%)
}

#popup h2 {
 
    margin-bottom: 30px;
}

#close {
    font-weight: 900;
    display: block;
    cursor: pointer;
    position: absolute;
    font-size: 20px;
    top: 20px;
    right: 20px;
}

#close:hover {
    color: #c4c4c4;
}

/* Responsive */

@media (max-width: 1200px) {

    #mission {
        width: fit-content;
    }

    main {
        padding: 1.5rem 2rem;
    }

    #presentation {
        padding: 7rem 2rem;
    }


    .footer-content {
        align-items: start;
        padding: 5rem 2rem;
    }

    nav {
        display: none;
    }

    h1,
    .quote-layout h1 {
        font-size: 7vw;
        line-height: 6vw;
    }

    .hamburger {
        display: block;
    }



    .reviews-section>div {
        width: 100%;
        padding: 3rem 2rem;
    }


}

@media (max-width: 768px) {
    .links {
        display: block;
        width: fit-content;
    }

    .about-section>div {
        display: flex;
        flex-direction: column;
    }

    .about-text {
        padding-left: 0;
        max-width: 100%;

    }

    .image {
        width: 100%;
    }




    .name-fields {
        flex-direction: column;
    }

    main {
        flex-direction: column;
    }


    nav ul {
        flex-direction: column;
        align-items: center;
    }

    h1,
    h2,
    h3 {
        text-align: left;
    }

    .about-section>div {
        display: flex;
        flex-direction: column;
    }

    .review {

        padding: 1.5rem;
    }

    .review>div {
        flex-direction: column;
        align-items: start;
    }


    #mission h1 {
        font-size: 6vw;
        line-height: 6vw;
    }

    h1,
    .quote-layout h1 {
        font-size: 60px;
        line-height: 60px;
    }

    #presentation {
        grid-template-columns: 1fr;
    }

    .img-presentation {
        padding-top: 2rem;
        order: 2;
        /* move image below */
    }

    .quote-layout {
        padding: 3rem 0;
        order: 1;
        /* move quote above */
    }

    #about p,
    .quote-layout p {
        text-align: justify;
        font-size: 15px;
    }
}




@media (max-width: 500px) {
    .img-presentation {
        width: 100%;
        height: auto;
        display: block;
    }

    .img-presentation img {
        width: 100%;
        height: 100%;
        object-fit: cover;


    }

    h1,
    .quote-layout h1 {
        font-size: 50px;
        line-height: 50px;
    }
}
