/* Animación de flotación para el logo */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


/* Aplicar animaciones al logo */
.logo-float {
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite;
}

/* Animaciones de entrada */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1.5s ease-out;
}

.animate-fade-in-up {
    animation: fade-in-up 1.5s ease-out 0.5s both;
}

/* Estilos para los botones */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem; /* px-6 py-3 en móviles */
    border-radius: 0.5rem; /* rounded-lg */
    font-size: 1rem; /* text-base en móviles */
    font-weight: 600; /* font-semibold */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-lg */
}

.btn-primary {
    background-color: #89a600; /* Verde personalizado */
    color: white;
}

.btn-primary:hover {
    background-color: #7a9500; /* Verde más oscuro */
    transform: scale(1.05); /* Efecto de escala */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* hover:shadow-xl */
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #89a600; /* Borde verde */
    color: white;
}

.btn-secondary:hover {
    background-color: #89a600; /* Fondo verde */
    color: white;
    transform: scale(1.05); /* Efecto de escala */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* hover:shadow-xl */
}

/* Ajustes para pantallas medianas y grandes */
@media (min-width: 768px) {
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem; /* px-8 py-4 */
        font-size: 1.125rem; /* text-lg */
    }
}




/* Animación de flotación suave para los iconos */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Efecto de hover en las cards */
.service-card {
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: #89a600;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Resaltar las cards de Planes y Servicios Particulares */
.service-card.highlight {
    border-color: #89a600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.service-card.highlight:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


.service-card:hover {
    border-color: #89a600 !important;
    transform: translateY(-5px);
}

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
}

