/* Custom Styles for EHI Cleaning Service */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #1e3a8a; /* Deep Blue (Navy) */
    --secondary: #0d9488; /* Teal */
    --accent: #f59e0b; /* Amber/Gold */
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden; /* Prevents horizontal scroll on animations */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Nav Link Underline Animation */
.nav-link {
    position: relative;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

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

/* Split Hero Section Image Polish */
#home img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

#home img:hover {
    transform: scale(1.03);
}

/* Floating Info Card Animation */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

/* Mobile Menu Transition Fix */
#mobile-menu {
    transition: all 0.4s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 500px; /* High enough to contain all links */
    opacity: 1;
    padding: 1.5rem 1rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Service Card Hover Effect */
.group:hover .group-hover\:bg-teal {
    background-color: var(--secondary);
    color: white;
}

/* Custom Table/Pricing Hover */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Neo Tech Credit Hover */
footer a.font-black:hover {
    letter-spacing: 0.1em;
}

/* Spinner for WhatsApp Button */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}
