/* Estilos para el botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;  /* Siempre a 20px del borde inferior */
    right: 20px;   /* Siempre a 20px del borde derecho */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img {
    width: 60px;   /* Ajusta el tamaño del icono */
    height: auto;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Efecto hover */
.whatsapp-float:hover {
    transform: scale(1.1); /* Aumenta el tamaño al pasar el mouse */
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #001f3f;
    padding: 15px 30px;
    color: white;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Estilos Generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Encabezado */
.header {
    text-align: center;
    padding: 20px;
    background-color: #001f3f;
    color: white;
}

.service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background-color: white;
    margin: 20px auto;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}


/* Contenido */
.service-content {
    flex: 1;
    padding: 20px;
}

.service-content h2 {
    color: #001f3f;
}

.service-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Botón */
.toggle-btn {
    background-color: #001f3f;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.toggle-btn:hover {
    background-color: #FFD700;
    color: #001f3f;
}

/* Información adicional */
.extra-content {
    display: none;
    line-height: 1.6;
    opacity: 0;
    max-height: 0.5;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    background-color: #f9f9f9;
    padding: 0 10px;
    border-radius: 5px;
}

/* Imagen */
.service-image {
    flex: 1;
    display: flex;
    justify-content: center; /* Centra las imágenes */
}

.service-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.footer {
    background-color: #001f3f;
    color: white;
    text-align: center;
    padding: 10px;
    position: absolute;
    width: 98.7%;
}
/* ========== RESPONSIVE (Adaptación para móviles) ========== */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .menu {
        flex-direction: column;
        gap: 10px;
    }

    .hero h2 {
        font-size: 20px;
        text-align: left;
        max-width: 80%;
    }
}
