
/* Base Styles */
:root {
    --primary: #0a5f8b;
    --secondary: #e74c3c;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --gray: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

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

/* Header */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-info a {
    color: var(--white);
    margin-right: 15px;
}

.contact-info a:last-child {
    margin-right: 0;
}

.contact-info i {
    margin-right: 5px;
}

.social-links a {
    color: var(--white);
    margin-left: 10px;
    font-size: 16px;
}

/* Main Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 24px;
    margin: 0;
    color: var(--primary);
    font-weight: 700;
}

.logo-text p {
    font-size: 12px;
    margin: 0;
    color: var(--gray);
}

/* Add these styles to your existing style.css file */

/* Navigation Dropdown Styles */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    position: relative;
}

.main-nav > ul > li > a {
    padding: 15px 20px;
}

.main-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: all 0.3s;
}

.main-nav a:hover, 
.main-nav .current-menu-item a {
    color: var(--primary);
}

/* Dropdown menu */
.main-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    flex-direction: column;
    border-top: 2px solid var(--primary);
}

.main-nav ul ul li {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.main-nav ul ul li:last-child {
    border-bottom: none;
}

.main-nav ul ul li a {
    padding: 12px 20px;
    color: var(--gray);
    font-weight: 400;
}

.main-nav ul ul li a:hover {
    background: #f5f5f5;
    color: var(--primary);
    padding-left: 25px;
}

.main-nav li:hover > ul {
    display: flex;
}

/* Dropdown arrow indicator */
.main-nav > ul > li.has-dropdown > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s;
}

.main-nav > ul > li.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav > ul > li {
        margin-bottom: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .main-nav > ul > li.has-dropdown > a::after {
        content: '\f054';
        float: right;
    }
    
    .main-nav ul ul {
        position: static;
        box-shadow: none;
        border-top: none;
        display: none;
        padding-left: 15px;
    }
    
    .main-nav ul ul li {
        border-bottom: none;
    }
    
    .main-nav ul ul li a {
        padding: 10px 15px;
    }
    
    .main-nav li:hover > ul {
        display: none;
    }
    
    /* You might want to add JavaScript to toggle dropdowns on mobile */
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    color: var(--white);
    width: 100%;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.content-area {
    flex: 0 0 70%;
    padding-right: 30px;
}

.sidebar {
    flex: 0 0 30%;
}

/* Widgets */
.widget {
    background-color: var(--light);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

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

.service-content {
    padding: 20px;
}

.service-content h3 {
    margin-top: 0;
    color: var(--primary);
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col p {
    margin-bottom: 15px;
}

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

.footer-links a {
    color: var(--gray);
    transition: all 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .content-area, .sidebar {
        flex: 0 0 100%;
        padding-right: 0;
    }
    
    .sidebar {
        margin-top: 40px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .main-nav {
        margin-top: 15px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin-bottom: 5px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* kljkljlkj */

    .doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.doctor-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.doctor-img {
    height: 200px;
    overflow: hidden;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-img img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 20px;
    text-align: center;
}

.doctor-info h3 {
    margin: 0 0 10px;
    color: var(--primary);
}

.specialty {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 5px;
}

.qualifications {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Gallery Page Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 10px;
    background: #fff;
    text-align: center;
    font-weight: 500;
}

/* Videos Page Styles */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card h3 {
    padding: 15px;
    margin: 0;
    text-align: center;
    color: var(--primary);
}

.video-wrapper iframe {
    pointer-events: none; /* Prevents interaction until clicked */
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .doctors-grid,
    .gallery-grid,
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .doctors-grid,
    .gallery-grid,
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .doctors-grid,
    .gallery-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/*  This is */

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.doctor-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.doctor-img {
    height: 200px;
    overflow: hidden;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-img img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 20px;
    text-align: center;
}

.doctor-info h3 {
    margin: 0 0 10px;
    color: var(--primary);
}

.specialty {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 5px;
}

.qualifications {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Gallery Page Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 10px;
    background: #fff;
    text-align: center;
    font-weight: 500;
}

/* Videos Page Styles */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card h3 {
    padding: 15px;
    margin: 0;
    text-align: center;
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .doctors-grid,
    .gallery-grid,
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .doctors-grid,
    .gallery-grid,
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .doctors-grid,
    .gallery-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

