/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Configurações globais */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Container responsivo */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #0073b6;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header h3 {
    font-size: 1.2rem;
    font-weight: normal;
}

/* Seção "Sobre" */
.about {
    padding: 40px 0;
    background-color: #f1f1f1;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0073b6;
}

.about p {
    font-size: 1.3rem;
    color: #555; 
    font-weight: bold;
}

/* Seção "Serviços" */
.services {
    padding: 40px 0;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0073b6;
}

.service-cards {
    display: flex;
    flex-wrap: wrap; /* Permitir quebra de linha */
    gap: 20px; /* Espaçamento entre os cards */
    justify-content: center;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: calc(33.333% - 20px); /* Largura padrão para 3 colunas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 1rem;
    color: #555;
}

/* Seção "Contato" */
.contact {
    padding: 40px 0;
    background-color: #0073b6;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact .btn {
    display: inline-block;
    background-color: white;
    color: #0073b6;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact .btn:hover {
    background-color: #f1f1f1;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    font-size: 1rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .card {
        width: calc(50% - 20px); /* 2 colunas para telas médias */
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%; /* 1 coluna para telas pequenas */
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem; 
    }

    .header h3 {
        font-size: 1rem;
    }

    .about h2, .services h2, .contact h2 {
        font-size: 1.5rem;
    }
}
