/* Custom Styles for MediGuide */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #2E3192 0%, #C1272D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2E3192;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C1272D;
}

/* Loading animation */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2E3192;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulse animation for buttons */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(193, 39, 45, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(193, 39, 45, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(193, 39, 45, 0);
    }
}

/* Hero Section Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Parallax effect for hero images */
.hero-parallax {
    transition: transform 0.3s ease-out;
}

/* Backdrop blur support */
.backdrop-blur-sm {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Hero overlay animation */
@keyframes overlayPulse {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.75;
    }
}

.hero-overlay {
    animation: overlayPulse 4s ease-in-out infinite;
}
