
:root {
    --primary: #2a9d8f;
    --secondary: #264653;
    --accent: #e9c46a;
    --light-bg: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=2053') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header .department-icon {
    font-size: 60px;
    margin-bottom: 15px;
    color: white;
}

.page-header .breadcrumb {
    font-size: 16px;
}

.page-header .breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.page-header .breadcrumb span {
    margin: 0 10px;
    opacity: 0.5;
}

/* Section Styles */
.section-padding {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.section-title {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title span {
    color: var(--primary);
}

/* Department Accordion */
.department-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-section {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(42, 157, 143, 0.2);
    transition: all 0.3s ease;
}

.accordion-section.active {
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.15);
    border-color: var(--primary);
}

.accordion-header {
    background: white;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.accordion-section.active .accordion-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.accordion-header i {
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s;
}

.accordion-section.active .accordion-header i {
    color: white;
}

.accordion-header h3 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
}

.accordion-section.active .accordion-header h3 {
    color: white;
}

.accordion-arrow {
    font-size: 16px;
    color: var(--primary);
    transition: transform 0.3s;
}

.accordion-section.active .accordion-arrow {
    transform: rotate(180deg);
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: white;
}

.accordion-section.active .accordion-content {
    max-height: 800px;
}

.content-inner {
    padding: 25px;
    border-top: 1px solid rgba(42, 157, 143, 0.1);
}

/* Doctor Grid */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    /* margin-top: 20px; */
}

.doctor-card {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-image {
    height: 200px;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

.doctor-info {
    padding: 15px;
    text-align: center;
}

.doctor-info h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.doctor-info .qualification {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.doctor-info .experience {
    color: #666;
    font-size: 13px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-item {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.service-item:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.service-item i {
    font-size: 20px;
    color: var(--primary);
    width: 30px;
}

.service-item:hover i {
    color: white;
}

.service-item span {
    font-size: 15px;
    font-weight: 500;
}

/* Facilities Grid */
.facilities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.facility-item {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.facility-item:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.facility-item i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.facility-item:hover i {
    color: white;
}

.facility-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 28px;
    color: var(--primary);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item div {
    flex: 1;
}

.info-item .label {
    font-size: 13px;
    color: #666;
    margin-bottom: 3px;
}

.info-item .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-box {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-box .number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-box .label {
    font-size: 13px;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 50px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn.primary {
    background: white;
    color: var(--primary);
}

.cta-btn.primary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
    line-height: 1.2;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: var(--primary);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .accordion-header {
        padding: 15px 20px;
    }
    
    .accordion-header h3 {
        font-size: 18px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section h2 {
        font-size: 26px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .accordion-header {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .accordion-header i {
        font-size: 20px;
    }
    
    .accordion-header h3 {
        font-size: 16px;
    }
    
    .service-item {
        padding: 12px;
    }
    
    .service-item i {
        font-size: 18px;
    }
    
    .service-item span {
        font-size: 14px;
    }
    
    .facility-item i {
        font-size: 24px;
    }
}
