/* Department Page Specific Styles */

/* Department Header */
.department-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.department-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.department-icon {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
}

.department-icon i {
    font-size: 4rem;
    color: white;
}

.department-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.department-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.department-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Department Services */
.department-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.department-services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-item i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* Department Doctors */
.department-doctors {
    padding: 80px 0;
}

.department-doctors h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 3rem;
    font-weight: 700;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.doctor-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.doctor-image i {
    font-size: 3rem;
    color: white;
}

.doctor-card h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.specialty {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.qualification {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.experience {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.doctor-specialties span {
    background: #e3f2fd;
    color: #2c5aa0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Department Equipment */
.department-equipment {
    padding: 80px 0;
    background: #f8f9fa;
}

.department-equipment h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 3rem;
    font-weight: 700;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.equipment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.equipment-item i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.equipment-item h3 {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.equipment-item p {
    color: #666;
    line-height: 1.5;
}

/* Department CTA */
.department-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: #2c5aa0;
}

.cta-buttons .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #2c5aa0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .department-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .department-content h1 {
        font-size: 2.5rem;
    }
    
    .department-content p {
        font-size: 1.1rem;
    }
    
    .department-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .department-header {
        padding: 100px 0 60px;
    }
    
    .department-content h1 {
        font-size: 2rem;
    }
    
    .department-content p {
        font-size: 1rem;
    }
    
    .department-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat .number {
        font-size: 2rem;
    }
    
    .service-item,
    .doctor-card,
    .equipment-item {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Animation for department pages */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item,
.doctor-card,
.equipment-item {
    animation: slideInUp 0.6s ease-out;
}

/* Department-specific color variations */
.department-header.cardiology {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.department-header.dermatology {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
}

.department-header.gynecology {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
}

.department-header.pediatrics {
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
}

.department-header.orthopedics {
    background: linear-gradient(135deg, #1dd1a1 0%, #55a3ff 100%);
}

.department-header.general-medicine {
    background: linear-gradient(135deg, #a55eea 0%, #26de81 100%);
}

/* Print styles */
@media print {
    .department-header {
        background: #f8f9fa !important;
        color: #333 !important;
    }
    
    .department-icon {
        background: #e9ecef !important;
        color: #333 !important;
    }
    
    .cta-buttons {
        display: none;
    }
}
