html {
    scroll-behavior: smooth;
}

.sikad-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #F5B800;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-custom:hover::after {
    width: 80%;
}

/* Mobile menu slide animation */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

#mobile-menu.open {
    transform: translateX(0) !important;
}

#mobile-menu-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Fallback responsive styles if Tailwind fails */
@media (min-width: 768px) {
    .mobile-menu-btn-container {
        display: none !important;
    }

    #mobile-menu {
        display: none !important;
    }

    #mobile-menu-overlay {
        display: none !important;
    }

    .desktop-nav {
        display: block !important;
    }
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-btn-container {
        display: block !important;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    80%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pulse-animation {
    position: relative;
}

.pulse-animation::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.5);
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: -1;
}

/* Smooth hover effect for tooltip */
#whatsapp-float:hover .absolute {
    transform: translateX(0) translateY(-50%);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    #whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    #whatsapp-float a {
        width: 3.5rem;
        height: 3.5rem;
    }

    #whatsapp-float a svg {
        width: 1.75rem;
        height: 1.75rem;
    }

    /* Hide tooltip on mobile */
    #whatsapp-float .absolute:not(.pulse-animation::before) {
        display: none;
    }
}
