* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--section-bg-color) 0%, #e8f4f8 100%);
    min-height: 100vh;
    position: relative;
}

div#wrapwrap {
    background: white !important;
}


.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="hospitalBg" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23f0f8ff;stop-opacity:0.8"/><stop offset="50%" style="stop-color:%23e8f4f8;stop-opacity:0.6"/><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:0.4"/></linearGradient></defs><rect width="1200" height="800" fill="url(%23hospitalBg)"/><g opacity="0.1"><circle cx="200" cy="150" r="80" fill="%235bc1ac"/><circle cx="800" cy="300" r="60" fill="%2300bfa5"/><circle cx="1000" cy="600" r="100" fill="%235a6f80"/><rect x="100" y="400" width="200" height="150" rx="20" fill="%235bc1ac"/><rect x="900" y="100" width="150" height="200" rx="15" fill="%2300bfa5"/></g></svg>') center/cover;
    z-index: -1;
}

.main-container {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--hospital-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--white-color);
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.2;
    transform: scale(1.2);
}

.card-1 { background-color: #e0f7fa; }
.card-1 .card-icon { background: linear-gradient(135deg, #00bcd4, #0097a7); }

.card-2 { background-color: #e3f2fd; }
.card-2 .card-icon { background: linear-gradient(135deg, #2196f3, #1976d2); }

.card-3 { background-color: #ffebee; }
.card-3 .card-icon { background: linear-gradient(135deg, #e91e63, #c2185b); }

.card-4 { background-color: #fce4ec; }
.card-4 .card-icon { background: linear-gradient(135deg, #ff4081, #e91e63); }

.card-5 { background-color: #f3e5f5; }
.card-5 .card-icon { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }

.card-6 { background-color: #fff8e1; }
.card-6 .card-icon { background: linear-gradient(135deg, #ffc107, #f57c00); }

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 0.95rem;
    color: var(--p-color);
    line-height: 1.5;
    font-weight: 400;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

@media (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .hospital-name {
        font-size: 0.9rem;
        margin-left: 0;
        margin-top: 10px;
        display: block;
        text-align: center;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}