/* Custom Vanilla CSS extending Tailwind */

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Custom Hover Effects for Cards */
.hover-card-up {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-card-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Glassmorphism utility */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Custom Hero overlay gradient */
.hero-overlay {
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.85) 0%, rgba(13, 148, 136, 0.70) 100%);
}

.service-card {
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    border-top-color: #14b8a6; /* accent-500 */
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-icon-bg {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-bg {
    background-color: #0ea5e9; /* medical-500 */
    color: white;
}

/* Form Styles Override for Aesthetics */
.modern-input {
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.modern-input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
