/* General */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f8f8f8;
    overflow-x: hidden;
    position: relative;
}

/* Contenedor del Fondo Animado */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Líneas de Construcción */
.line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: rgba(200, 200, 200, 0.2);
    animation: moveLines 8s infinite linear;
}

/* Se crean múltiples líneas en distintas posiciones */
.line:nth-child(1) { top: 10%; animation-duration: 10s; }
.line:nth-child(2) { top: 30%; animation-duration: 12s; }
.line:nth-child(3) { top: 50%; animation-duration: 14s; }
.line:nth-child(4) { top: 70%; animation-duration: 16s; }
.line:nth-child(5) { top: 90%; animation-duration: 18s; }

/* Animación de movimiento */
@keyframes moveLines {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


/* Header */
.header {
    padding: 20px;
}

.logo {
    width: 150px;
}

.description {
    font-size: 16px;
    margin: 10px 0;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: white;
    border-radius: 5px;
}

.btn.blue { background-color: #008CBA; }
.btn.red { background-color: #FF5733; }
.btn.gray { background-color: #666; }
.btn.green { background-color: #28a745; }
.btn.yellow { background-color: #FFC107; }
.btn.black { background-color: #000; }

/* Sección de Servicios */
.services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.service-card {
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.service-card img {
    width: 100%;
}

.service-content {
    padding: 15px;
}

/* Responsivo */
@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
    }
    .services {
        flex-direction: column;
    }
    .service-card {
        width: 90%;
        margin: auto;
    }
}
