body {
    margin: 0;
    font-family: 'Oswald', sans-serif; 
    line-height: 1.6;
    color: #333; 
    background-color: #f8f8f8; 
}


h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif; 
    text-align: center;
}

p {
    font-family: Arial, sans-serif; 
    text-align: center;
}


h1, h2, h3 { 
    color: #333; 
}

h4 {
    color: #555; 
    max-width: 800px;
    margin: 0 auto 20px auto;
    padding: 0 15px;
}





.header-image-section {
    position: relative;
    width: 100%;
    height: 400px; 
    background-image: url('../images/testesite.jpg'); 
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;

    
    &::before { 
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); 
        z-index: 1; 
    }
}


.header-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}



.main-title-overlay {
    position: relative; 
    z-index: 2;
    color: #FFFFFF;
    font-size: 3.5em; 
    font-weight: 700; 
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9); 
    margin: 0; 
    padding: 0 20px;
    max-width: 90%;
    line-height: 1.2;
}


.content-below-image {
    padding: 20px;
    background-color: #f0f0f0;
    text-align: center;
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px; 
}


.red-section {
    background-color: red;
    color: white; 
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 20px; 
}

.red-section h1, .red-section p {
    color: white; 
}
.red-section h1 {
    font-size: 2.2em;
    margin-bottom: 5px;
    margin-top: 10px;
}
.red-section p {
    font-size: 1.1em;
    margin-bottom: 5px;
}



a[href*="whatsapp.png"] { 
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    
}
a[href*="whatsapp.png"] img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}
a[href*="whatsapp.png"]:hover img {
    transform: scale(1.1);
}



.services-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
    margin-bottom: 20px; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    position: relative;
    font-size: 2.5em;
    margin-bottom: 20px;
    color:black; 
}
.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: black;
}

.section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;  
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33% - 40px); 
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: red; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; 
    font-size: 3em; 
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-red {
    background-color: #e60000;
    color: #fff;
    border: 2px solid #e60000;
}

.btn-red:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}


@media (max-width: 992px) {
    .header-image-section {
        height: 350px;
    }
    .main-title-overlay {
        font-size: 2.8em;
    }
    .red-section h1 {
        font-size: 1.8em;
    }
    .red-section p {
        font-size: 1em;
    }
    .service-card {
        flex: 1 1 calc(50% - 30px); 
    }
}

@media (max-width: 768px) {
    .header-image-section {
        height: 280px;
    }
    .main-title-overlay {
        font-size: 2.2em;
        padding: 0 15px;
    }
    .content-below-image {
        font-size: 1em;
    }
    .red-section h1 {
        font-size: 1.5em;
    }
    .red-section p {
        font-size: 0.9em;
    }
    .service-card {
        flex: 1 1 90%; 
    }
    .icon-circle {
        width: 120px;
        height: 120px;
        font-size: 2.5em;
    }
    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.6em;
    }
    h4 {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .header-image-section {
        height: 220px;
    }
    .main-title-overlay {
        font-size: 1.8em;
        padding: 0 10px;
    }
    .content-below-image {
        font-size: 0.9em;
    }
    .red-section h1 {
        font-size: 1.3em;
    }
    .red-section p {
        font-size: 0.8em;
    }
    .whatsapp-fixed-button img {
        width: 50px;
        height: 50px;
    }
    .services-section {
        padding: 20px 10px;
    }
    .service-card {
        padding: 20px;
    }
}