/* General styles */ body { font-family: 'Inter', sans-serif; } /* Navigation styles */ nav { transition: all 0.3s ease-in-out; } /* Navigation links */ .nav-link { position: relative; color: #374151; /* Updated from #4a4a4a to match the new provided color */ font-weight: 500; text-decoration: none; padding-bottom: 4px; /* Added from new styles */ transition: color 0.3s ease; } .nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: #dc2626; /* Red underline color */ transition: width 0.3s ease-in-out; } .nav-link:hover { color: #e31e24; } .nav-link:hover::after { width: 100%; } /* Active Navigation Link */ .nav-link.active::after { width: 100%; } /* Phone button */ .phone-button { display: inline-flex; /* Added from new styles */ align-items: center; /* Added from new styles */ background-color: #dc2626; /* Updated from #e31e24 to match new styles */ color: white; padding: 0.5rem 1rem; border-radius: 0.5rem; /* Updated to match new styles */ font-weight: 500; transition: all 0.3s ease; /* Updated to match new styles */ } .phone-button:hover { background-color: #b91c1c; /* Updated from #c81e1e to match new styles */ transform: scale(1.05); /* Added from new styles */ } /* Mobile menu button (hamburger) */ .mobile-menu-button { color: #4a4a4a; } /* Mobile menu styling */ .mobile-menu { width: 100%; background-color: #ffffff; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); position: absolute; top: 100%; left: 0; z-index: 40; transition: all 0.3s ease-in-out; } .mobile-menu .nav-link { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid #e5e7eb; color: #4a4a4a; font-size: 1.1rem; text-align: left; transition: background-color 0.3s ease; } .mobile-menu .nav-link:hover { background-color: #f3f4f6; color: #e31e24; } /* Ensure the menu is hidden by default and shown when toggled */ .mobile-menu.hidden { display: none; } /* 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); } /* Responsive adjustments */ @media (min-width: 768px) { .mobile-menu { display: none !important; /* Ensure mobile menu is not visible on larger screens */ } }