/* Custom styles for Med Life Medical Center */

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

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

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

::-webkit-scrollbar-thumb {
    background: #bdf0d8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8ae0b8;
}

/* Selection color */
::selection {
    background-color: #bdf0d8;
    color: #0f2030;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #28a872;
    outline-offset: 2px;
}

/* Navbar transition */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled #nav-bg {
    opacity: 1;
}

/* Mobile menu animations */
#mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Subtle hover effects on cards */
.group:hover .w-14 {
    transform: scale(1.1);
}

/* Gradient text utility (if needed) */
.gradient-text {
    background: linear-gradient(135deg, #0f2030 0%, #28a872 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
    }
}
