/* style.css - Main Stylesheet for All Pages */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #0dcaf0;
    --accent-color: #198754;
    --dark-color: #1a5f7a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    --gradient-secondary: linear-gradient(135deg, #198754 0%, #20c997 100%);
    --gradient-dark: linear-gradient(135deg, #1a5f7a 0%, #0d6efd 100%);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
img{
    max-width: 100%;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--gradient-dark);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.accreditation {
    background: var(--gradient-secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.main-header {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    background: var(--gradient-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 1.8rem;
    color: white;
}

.logo-text h1 {
    font-size: 20px;
    margin-bottom: 0px;
    color: var(--primary-color);
}



.logo-text p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.emergency-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emergency-btn {
    background: var(--gradient-secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.emergency-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Navigation */
nav {
    background: var(--gradient-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    
    background-color: rgba(255, 255, 255, 0.15);
}

.dropdown-menu {
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: var(--shadow-hover);
    display: none;
    z-index: 100;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.dropdown-menu a {
    color: #333;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:hover {
    background-color: var(--light-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Sections */
.hero {
    background: linear-gradient(rgba(13, 110, 253, 0.85), rgba(25, 135, 84, 0.85)), url('https://images.unsplash.com/photo-1586773860418-dc22f8b874bc?ixlib=rb-4.0.3&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1170&amp;q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0 80px;
}

.department-hero {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0 60px;
    margin-bottom: 40px;
}

.department-hero h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.department-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.hero h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 10px;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Main Content */
main {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-top: 40px;
}
.img-fluid {
    max-width: 100%;
}
.contact-details p strong {
    margin-right: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--light-color);
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--gray-color);
}

/* Department Specific Styles */
.section-box {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.treatment-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.treatment-item {
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s;
}

.treatment-item:hover {
    transform: translateY(-5px);
}

.treatment-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.dept-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.dept-service-item {
    background-color: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.image-with-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 30px 0;
}

.image-with-text img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s;
}

.image-grid img:hover {
    transform: scale(1.03);
}

/* Emergency Alerts */
.emergency-alert {
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    color: white;
    text-align: center;
}

.emergency-alert h3 {
    color: white;
}

/* Departments Grid */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.department-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.department-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.department-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.department-content {
    padding: 25px;
}

.department-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.department-features {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.department-features span {
    background: var(--light-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 202, 240, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1153&amp;q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-top: 60px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 15px;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #fff;
}
.stat-card i {
    font-size: 27px;
    background-color: #0e98f7;
    color: #fff;
    border-radius: 50%;
    padding: 10px;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(rgba(240, 248, 255, 0.9), rgba(240, 248, 255, 0.9)), url('https://images.unsplash.com/photo-1586773860418-dc22f8b874bc?ixlib=rb-4.0.3&amp;auto=format&amp;fit=crop&amp;w=1200&amp;q=80');
    background-size: cover;
    background-position: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 44.2% ;
        left: 0;
        width: 100%;
        background: var(--gradient-dark);
        flex-direction: column;
        box-shadow: var(--shadow);
        z-index: 1000;
    }
    .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
}
.logo-text {
    display: none;
}
    .header-content {
        display: flex;
        gap: 15px;
        text-align: center;
        flex-direction: row;
    }
    .emergency-btn {
    background: var(--gradient-secondary);
    color: white;
    padding: 10px;
    font-size: 14px;
}

    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .image-with-text {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .header-content {
        flex-direction: row;
        gap: 15px;
        text-align: center;
    }
    
    .emergency-contact {
        margin-top: 10px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .page-content {
        padding: 25px;
    }
    
    .department-hero {
        padding: 80px 0 40px;
    }
    
    .department-hero h1 {
        font-size: 2.2rem;
    }
}