/* 
 * Modern Medical Design System
 * Ultra-professional styling for Everest Hospital
 */

/* ============================================
   GLASSMORPHISM & MODERN EFFECTS
   ============================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 178, 0.1);
}

.glass-card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 102, 178, 0.15),
        0 10px 20px rgba(0, 102, 178, 0.1),
        0 0 0 1px rgba(0, 102, 178, 0.05);
}

/* ============================================
   PREMIUM SHADOWS
   ============================================ */

.shadow-premium {
    box-shadow: 
        0 4px 6px rgba(0, 102, 178, 0.05),
        0 10px 20px rgba(0, 102, 178, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
}

.shadow-premium-hover:hover {
    box-shadow: 
        0 20px 40px rgba(0, 102, 178, 0.15),
        0 10px 20px rgba(0, 102, 178, 0.1),
        0 5px 10px rgba(0, 0, 0, 0.05);
}

.shadow-glow {
    box-shadow: 
        0 0 20px rgba(0, 102, 178, 0.2),
        0 0 40px rgba(0, 102, 178, 0.1);
}

/* ============================================
   MODERN GRADIENTS
   ============================================ */

.gradient-blue-modern {
    background: linear-gradient(135deg, #0066B2 0%, #0088CC 50%, #00A8E8 100%);
}

.gradient-blue-soft {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
}

.gradient-overlay {
    background: linear-gradient(180deg, rgba(0, 102, 178, 0) 0%, rgba(0, 102, 178, 0.8) 100%);
}

/* ============================================
   DOCTOR CARDS - ULTRA MODERN
   ============================================ */

.doctor-card-modern {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 102, 178, 0.08);
}

.doctor-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066B2 0%, #00A8E8 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.doctor-card-modern:hover::before {
    transform: scaleX(1);
}

.doctor-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 25px 50px rgba(0, 102, 178, 0.2),
        0 15px 30px rgba(0, 102, 178, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.doctor-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.doctor-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 102, 178, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.doctor-card-modern:hover .doctor-image-wrapper::after {
    opacity: 1;
}

.doctor-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #0066B2 0%, #0088CC 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 102, 178, 0.3);
}

/* ============================================
   DEPARTMENT CARDS - MODERN ICONS
   ============================================ */

.dept-card-modern {
    background: white;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 102, 178, 0.08);
    position: relative;
    overflow: hidden;
}

.dept-card-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 102, 178, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.dept-card-modern:hover::before {
    width: 300px;
    height: 300px;
}

.dept-card-modern:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 102, 178, 0.15),
        0 10px 20px rgba(0, 102, 178, 0.1);
    border-color: rgba(0, 102, 178, 0.2);
}

.dept-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.dept-card-modern:hover .dept-icon-modern {
    background: linear-gradient(135deg, #0066B2 0%, #00A8E8 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 102, 178, 0.3);
}

.dept-icon-modern svg,
.dept-icon-modern img {
    transition: all 0.4s ease;
}

.dept-card-modern:hover .dept-icon-modern svg,
.dept-card-modern:hover .dept-icon-modern img {
    filter: brightness(0) invert(1);
}

/* ============================================
   HEALTH PACKAGE CARDS - PREMIUM DESIGN
   ============================================ */

.package-card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 102, 178, 0.08);
    position: relative;
}

.package-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0066B2 0%, #00A8E8 50%, #0066B2 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.package-card-modern:hover::after {
    opacity: 1;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.package-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 30px 60px rgba(0, 102, 178, 0.2),
        0 15px 30px rgba(0, 102, 178, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 102, 178, 0.2);
}

.package-icon-modern {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    box-shadow: 
        inset 0 2px 4px rgba(0, 102, 178, 0.1),
        0 4px 12px rgba(0, 102, 178, 0.1);
    transition: all 0.4s ease;
}

.package-card-modern:hover .package-icon-modern {
    background: linear-gradient(135deg, #0066B2 0%, #0088CC 100%);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(0, 102, 178, 0.3);
}

.package-price-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0066B2 0%, #0088CC 100%);
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 102, 178, 0.3);
    position: relative;
    overflow: hidden;
}

.package-price-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.package-card-modern:hover .package-price-badge::before {
    left: 100%;
}

.package-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    font-weight: 700;
    font-size: 11px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.package-checklist-modern li {
    position: relative;
    padding-left: 32px;
    color: rgba(0, 102, 178, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.package-checklist-modern li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #0066B2 0%, #00A8E8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 102, 178, 0.2);
}

/* ============================================
   MODERN BUTTONS
   ============================================ */

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0066B2 0%, #0088CC 100%);
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(0, 102, 178, 0.3),
        0 2px 4px rgba(0, 102, 178, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-modern-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(0, 102, 178, 0.4),
        0 4px 8px rgba(0, 102, 178, 0.3);
}

.btn-modern-primary:hover::before {
    transform: translateX(0);
}

.btn-modern-primary:active {
    transform: translateY(0);
}

/* ============================================
   SECTION HEADERS - MODERN STYLE
   ============================================ */

.section-header-modern {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066B2 0%, #00A8E8 100%);
    border-radius: 2px;
}

.section-header-modern h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0066B2;
    margin: 0;
    letter-spacing: -0.5px;
}

/* ============================================
   FLOATING BADGES & LABELS
   ============================================ */

.floating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: rgba(0, 102, 178, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 102, 178, 0.3);
    z-index: 10;
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */

@keyframes float-up-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float-up-down 3s ease-in-out infinite;
}

@keyframes scale-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse-scale {
    animation: scale-pulse 2s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .section-header-modern h2 {
        font-size: 24px;
    }
    
    .doctor-card-modern:hover,
    .dept-card-modern:hover,
    .package-card-modern:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .dept-icon-modern {
        width: 60px;
        height: 60px;
    }
    
    .package-icon-modern {
        width: 80px;
        height: 80px;
    }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CUSTOM SCROLLBAR FOR SLIDERS
   ============================================ */

.modern-slider::-webkit-scrollbar {
    height: 6px;
}

.modern-slider::-webkit-scrollbar-track {
    background: rgba(0, 102, 178, 0.05);
    border-radius: 3px;
}

.modern-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #0066B2 0%, #00A8E8 100%);
    border-radius: 3px;
}

.modern-slider::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #004D85 0%, #0066B2 100%);
}
