/* Importar fuente Poppins desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo general */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: white;
}

/* Encabezado con efecto parallax */
.parallax {
    background-image: url('../images/serviciosencabezado.png');
    height: 85vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.titulo {
    position: relative;
    z-index: 2;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.4); /* Fondo negro translúcido */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.titulo h1 {
    font-size: 3rem; /* Tamaño del título */
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content {
    padding: 2rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.benefit-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    margin: 0.5rem 0;
    color: #3498db;
}

.call-to-action{
    margin-top: 3rem;
    text-align: center;
}

.call-to-action h2{
    color: #108f30;
}

.GNV{
    color: #2e6cc4;
}


.call-to-action a {
    text-decoration: none;
    background-color: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.call-to-action a:hover {
    background: linear-gradient(45deg, #28a745,#3162a6);
}

@media (max-width: 768px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }
}