/* Específico para a home */
h2 {
    color: #125ca8; /* Cor de destaque para títulos */
    text-align: center;
    margin: 40px 0; /* Aumentando a margem para mais espaçamento */
    font-size: 36px; /* Aumentando o tamanho da fonte */
}

/* Centralização dos parágrafos e espaçamento entre eles */
div p {
    color: #000000;
    font-size: 18px; /* Aumenta a legibilidade */
    line-height: 1.6;
    margin-bottom: 10px; /* Ajusta o espaçamento entre os parágrafos */
}

/* Centraliza o conteúdo da home */
.container-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}

.description p {
    font-size: 20px;
    color: #555;
    line-height: 1.8;
    text-align: center;
    max-width: 800px; /* Define a largura máxima para manter o texto mais compacto */
    margin: 40px auto;


}

.features {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #004485;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 16px;
}

.call-to-action {
    margin-top: 30px;
    margin-bottom: 30px;  /* Adiciona espaço abaixo dos botões */
    display: flex;
    justify-content: center;
    gap: 20px;
}

.call-to-action .button {
    background-color: #0056b3;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.call-to-action .button:hover {
    background-color: #003d80;
}

.contact {
    margin-top: 50px;
    text-align: center;
}

.contact a {
    color: #0056b3;
    text-decoration: underline;
}


footer {
    margin-top: 40px;
    padding: 20px;
    background-color: #f1f1f1;
    text-align: center;
    color: #777;
}

footer a {
    color: #0056b3;
    text-decoration: none;
}

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

.container-home {
    animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-container {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 400px; /* Isso limita a altura total da área da imagem */
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
}

.hero-overlay-title {
    position: absolute;
    top: 50%; /* Centraliza verticalmente */
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza horizontalmente */
    text-align: center;
    color: white;
}

.hero-overlay-title h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra no texto para melhor contraste */
}

.hero-overlay-title p {
    font-size: 24px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9); /* Sombra mais forte para melhor destaque */
    color: #ffffff; /* Cor branca */
}

@media (max-width: 768px) {
    .hero-overlay-title h1 {
        font-size: 32px;
    }

    .hero-overlay-title p {
        font-size: 18px;
    }

    .features {
        flex-direction: column;
    }

    .feature-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo preto com 50% de transparência */
}
.hero-buttons {
    margin-top: 20px; /* Espaçamento acima dos botões */
}

.hero-buttons .button {
    background-color: #004485;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px; /* Tamanho da fonte ajustado */
    font-weight: bold; /* Negrito para destaque */
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s; /* Transição suave ao passar o mouse */
    margin: 0 15px; /* Espaçamento entre os botões */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra suave */
}

.hero-buttons .button:hover {
    background-color: #003d80; /* Cor mais escura ao passar o mouse */
    transform: translateY(-3px); /* Efeito de "levantar" o botão */
}

.hero-buttons .button:active {
    background-color: #002b5c; /* Cor mais escura ao clicar */
    transform: translateY(0); /* Remove o efeito ao clicar */
}