/* Navigation Link Styles */
.nav-link {
    position: relative;
    color: #374151;
    text-decoration: none;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #dc2626;
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Apply floating animation to boxes */
.service-box,
.bg-white.p-6.rounded-2xl,
.bg-gray-100.p-8.rounded-2xl,
.bg-white.p-8.rounded-2xl,
.bg-white.p-4.rounded-xl,
.contact-content,
.contact-toggle {
    transition: all 0.3s ease-in-out;
}

.service-box:hover,
.bg-white.p-6.rounded-2xl:hover,
.bg-gray-100.p-8.rounded-2xl:hover,
.bg-white.p-8.rounded-2xl:hover,
.bg-white.p-4.rounded-xl:hover,
.contact-content:hover,
.contact-toggle:hover {
    animation: float 2s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Phone Button Styles */
.phone-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #dc2626;
    color: white;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.phone-button:hover {
    background-color: #b91c1c;
    transform: scale(1.05);
}

/* Active Navigation Link */
.nav-link.active::after {
    width: 100%;
}
