/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

/* Smooth fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Service card hover effect */
.group:hover .group-hover\:bg-teal-600 {
    background-color: #0d9488;
}

.group:hover .group-hover\:text-white {
    color: #ffffff;
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Testimonial card hover */
.bg-white\/10:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.2s ease;
}
