* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f9f2e9;
    color: #003a42;
}

header {
    background-color: #f9f2e9;
    ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    position: relative;
}

header img {
    height: 40px;
}

nav {
    display: none;
    flex-direction: column;
    gap: 16px;
    background-color: #f9f2e9;
    ;
    position: absolute;
    top: 70px;
    right: 20px;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 1000;
}

nav a {
    padding: 10px 16px;
    text-decoration: none;
    color: #00796b;
    font-weight: bold;
    display: block;
}

nav a:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #00796b;
}

.carousel {
    width: 100%;
    height: 400px;
    background: url('slider-1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.carousel h1 {
    font-size: 2.5em;
}

.section {
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.section p {
    color: #00796b;
    margin-bottom: 30px;
}

.solutions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.solution-card {
    flex: 1;
    min-width: 250px;
    max-width: 100%;
    background: #004d40;
    color: white;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.solution-card:nth-child(1) {
    background-color: #00796b;
}

.solution-card:nth-child(2) {
    background-image: url('block-1.png');
}

.solution-card:nth-child(3) {
    background-image: url('block-2.png');
}

.onde-atuamos img {
    max-width: 200px;
    margin-top: 20px;
}

.onde-atuamos .prefeituras {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.city-bg {
    background: url('bg-footer-1.png') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    padding: 0 10px;
    text-align: center;
}

footer {
    background-color: #f9f2e9;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

footer h3 {
    color: #004d40;
    margin-bottom: 10px;
}

footer p,
footer a {
    color: #003a42;
    font-size: 0.9em;
}

@media (min-width: 768px) {
    .carousel h1 {
        font-size: 3em;
    }

    .section h2 {
        font-size: 2.5em;
    }

    .city-bg {
        font-size: 1.5em;
    }

    footer {
        flex-direction: row;
        justify-content: center;
        gap: 128px;
        text-align: left;
    }

    nav {
        display: flex !important;
        position: static;
        flex-direction: row;
        background-color: transparent;
        border: none;
        padding: 0;
        gap: 30px;
    }

    .menu-toggle {
        display: none;
    }

    .onde-atuamos .prefeituras {
        display: flex;
        flex-direction: row;
        gap: 32px;
        align-items: center;
        justify-content: center;
    }
}