body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.hero {
    background: url('hero-image.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
}

.about, .services, .cta, .contact {
    padding: 20px;
    text-align: center;
}

.services .service {
    margin: 10px 0;
}

.cta button {
    background: #28A745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

footer nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #5f5e5e;
}

.card p, .card ul {
    font-size: 1em;
    color: #464545;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    margin: 5px 0;
}

.contact-info {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1em;
}

.contact-info p {
    margin: 10px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 5px 0;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    flex: 1;
    min-width: 50%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 400px; /* Altura fixa para telas maiores */
    object-fit: cover; /* Garante que as imagens sejam cortadas proporcionalmente */
    display: block;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 300px; /* Reduz a altura para telas menores */
        width: 100%; /* Garante que a largura não ultrapasse o contêiner */
    }
}

.carousel-slide:not(.active) {
    display: none;
}
