/* Custom styles for Advanced Internal Medicine */

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

/* Service card hover glow */
.service-card:hover {
    border-color: rgba(123, 211, 176, 0.4);
    box-shadow: 0 20px 60px -15px rgba(11, 29, 58, 0.1);
}

/* Subtle floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

/* Staggered float for stat cards */
.hero-card:nth-child(1) { animation: float 4s ease-in-out 0s infinite; }
.hero-card:nth-child(2) { animation: float 4s ease-in-out 0.5s infinite; }
.hero-card:nth-child(3) { animation: float 4s ease-in-out 1s infinite; }
.hero-card:nth-child(4) { animation: float 4s ease-in-out 1.5s infinite; }

@media (prefers-reduced-motion: no-preference) {
    .hero-card {
        animation: float 4s ease-in-out infinite;
    }
}

/* Scroll reveal animations (below fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Header scroll state */
.header-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(11, 29, 58, 0.08);
}

/* Input focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(123, 211, 176, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F0FBF7;
}
::-webkit-scrollbar-thumb {
    background: #A8E6CF;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7BD3B0;
}
