:root {
    --primary-color: #1ba63f;
    --primary-light: #1ba63f;
    --primary-dark: #1ba63f;
    --secondary-color: #1ba63f;
    --accent-color: #1ba63f;
    --dark-color: #0f2f17;
    --light-color: #f8faf9;
    --success-color: #1ba63f;
    --danger-color: #F44336;
    --text-color: #0d310a;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --card-bg: #F8F7FF;
}

/* Fix for extra space and mobile menu */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix for images */
img {
    max-width: 100%;
    height: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    padding-top: 80px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 300px;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo img {
    height: 50px;
    margin-right: 12px;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

.logo span {
    color: var(--dark-color);
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 17px;
    white-space: nowrap;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
    margin: 0;
    display: block;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0; /* Prevent right section from shrinking */
}

.desktop-book-btn {
    padding: 10px 20px;
    background-color: #6a0dad;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.desktop-book-btn:hover {
    background-color: #4b007a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(106, 13, 173, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: var(--primary-color);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    transition: all 0.3s;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    order: 3;
}

.mobile-menu-btn:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-btn.active {
    transform: rotate(180deg);
    background-color: var(--primary-color);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 8px;
}

.language-btn {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    min-width: 36px;
}

.language-btn:hover, .language-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding: 20px 0;
}

/* Hero Banner Slider */
.hero-banner {
    width: 100%;
    position: relative;
    margin: 0;
    height: auto;
}

.banner-slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-content {
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    max-width: 1400px;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

/* This ensures the banner height is maintained */
.banner-slide:first-child {
    position: relative;
    visibility: visible;
    opacity: 0;
}

.banner-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0;
}

.banner-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.banner-dot.active {
    background-color: white;
}

/* About Section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
    margin: 0;
}

.about-content {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

.feature-card h4 {
    font-size: 1rem;
    color: var(--text-color);
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Schedule Section */
.schedule-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.schedule-table {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
    background: var(--bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.schedule-table th,
.schedule-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.schedule-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.schedule-table th:first-child {
    border-top-left-radius: 10px;
}

.schedule-table th:last-child {
    border-top-right-radius: 10px;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tbody tr {
    transition: background-color 0.3s;
}

.schedule-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Schedule Table Status */
.schedule-table .status {
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    width: fit-content;
    min-width: 110px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.schedule-table .status.available {
    background-color: rgba(76, 175, 80, 0.15);
    color: #2E7D32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.schedule-table .status.available:hover {
    background-color: rgba(76, 175, 80, 0.25);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.schedule-table .status.unavailable {
    background-color: rgba(244, 67, 54, 0.15);
    color: #D32F2F;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.schedule-table .status.unavailable:hover {
    background-color: rgba(244, 67, 54, 0.25);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .schedule-table {
        margin: 20px -15px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        padding: 10px 15px;
        gap: 15px;
    }
    
    .logo {
        flex: 1 1 100%;
        justify-content: center;
    }

    .logo img {
        height: 45px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }

    .header-right {
        order: 2;
        flex: 1;
        justify-content: center;
        margin: 0;
        gap: 15px;
    }

    .mobile-menu-btn {
        order: 3;
    }

    nav {
        width: 100%;
        order: 4;
    }

    .desktop-book-btn {
        padding: 8px 20px;
    }

    .schedule-section {
        padding: 40px 0;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .banner-content {
        padding: 15px;
    }
    
    .banner-content h2 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 10px 0;
    }
    
    .about-section {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .header-container {
        gap: 12px;
        padding: 8px 12px;
    }

    .logo {
        margin-bottom: 5px;
    }

    .logo img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }

    .header-right {
        gap: 12px;
    }

    .desktop-book-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .language-selector {
        gap: 6px;
    }

    .language-btn {
        padding: 4px 8px;
        min-width: 32px;
        font-size: 0.8rem;
    }

    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    .hero-banner {
        height: auto;
        overflow: visible;
    }
    
    .banner-slide {
        height: auto;
        overflow: visible;
    }
    
    .banner-slide img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .banner-content {
        padding: 12px;
    }
    
    .banner-content h2 {
        font-size: 1rem !important;
        margin-bottom: 4px;
    }
    
    .banner-content p {
        font-size: 0.6rem !important;
        line-height: 1.2;
        margin: 0;
    }
    
    .main-content {
        padding-top: 10px;
    }
    
    .about-section {
        margin-top: 0;
        padding-top: 0;
    }
}

@media (max-width: 360px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .logo img {
        height: 35px;
    }

    .desktop-book-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .language-btn {
        padding: 4px 6px;
        min-width: 30px;
        font-size: 0.75rem;
    }
}

/* Doctors Section */
.doctors-section {
    margin-bottom: 50px;
    overflow: hidden;
    padding: 0 20px;
    position: relative;
}

.doctors-grid {
    display: flex;
    gap: 20px;
}

@media (min-width: 769px) {
    .doctors-section {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .doctors-grid {
        display: flex;
        gap: 20px;
        animation: slideCards 20s linear infinite;
    }

    .doctor-card {
        flex: 0 0 calc(25% - 15px);
        min-width: 250px;
        max-width: 300px;
    }

    /* Create a continuous animation by using 100% of movement */
    @keyframes slideCards {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100% - 40px)); /* Move by full width + 2 gaps */
        }
    }

    .doctors-section:hover .doctors-grid {
        animation-play-state: paused;
    }
}

@media (max-width: 768px) {
    .doctors-grid {
        flex-direction: column;
        width: 100%;
        animation: none;
        gap: 20px;
    }

    .doctor-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

.doctor-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(123, 44, 191, 0.2);
}

.doctor-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.doctor-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, var(--card-bg), transparent);
    pointer-events: none;
}

.doctor-image img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 20px 20px 0 0;
    transition: transform 0.5s;
}

.doctor-info {
    padding: 25px;
    text-align: center;
    background: var(--card-bg);
    position: relative;
}

.doctor-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.specialization {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.education, .experience {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.4;
}

.doctor-social {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.doctor-social a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.doctor-social a:hover {
    color: var(--primary-light);
}

/* Services Section */
.services-section {
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(106, 13, 173, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(106, 13, 173, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col p {
    color: #adb5bd;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

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

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

.footer-col ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .logo {
        min-width: 280px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    nav ul {
        gap: 25px;
    }

    nav ul li a {
        font-size: 0.95rem;
    }
}

/* Tablet-specific styles */
@media (min-width: 768px) and (max-width: 1024px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: var(--bg-color);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 0;
        display: flex;
        align-items: flex-start;
        visibility: hidden;
    }

    nav.active {
        right: 0;
        visibility: visible;
    }
    
    .header-container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        gap: 15px;
    }
    
    .logo {
        flex: 0 1 auto;
        min-width: auto;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .logo img {
        height: 45px;
    }

    .logo h1 {
        font-size: 1.4rem;
        white-space: nowrap;
    }
    
    .header-right {
        flex: 0 1 auto;
        display: flex;
        align-items: center;
        gap: 15px;
        margin: 0;
        order: 2;
    }

    .language-selector {
        display: flex;
        gap: 8px;
    }

    .language-btn {
        padding: 5px 8px;
        min-width: 32px;
        font-size: 0.85rem;
    }

    .desktop-book-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .mobile-menu-btn {
        flex: 0 0 auto;
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary-color);
        color: white;
        font-size: 1.2rem;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1001;
        order: 3;
        margin-left: 10px;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 60px 0 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    nav ul li a {
        padding: 15px 25px;
        display: block;
        font-size: 1.1rem;
        width: 100%;
    }

    /* Main Content Adjustments */
    .main-content {
        padding: 40px 30px;
    }

    .section-title {
        margin-bottom: 35px;
        padding: 0 20px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* About Section */
    .about-section {
        padding: 0 30px;
        margin: 40px 0;
        gap: 25px;
    }

    .about-content {
        flex: 1 1 45%;
        padding-right: 15px;
    }

    .about-image {
        flex: 1 1 45%;
        min-width: 280px;
        height: 350px;
        margin: 0 auto;
    }

    /* Services Section */
    .services-section {
        padding: 40px 30px;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
        padding: 0 15px;
    }

    .service-card {
        padding: 25px 20px;
    }

    /* Doctors Section */
    .doctors-section {
        padding: 40px 30px;
        margin-bottom: 40px;
    }
    
    .doctors-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        padding: 0 15px;
    }

    .doctor-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .doctor-image {
        height: 250px;
    }

    /* Schedule Section */
    .schedule-section {
        padding: 40px 30px;
    }

    .schedule-table {
        margin: 20px 15px;
        border-radius: 8px;
    }

    /* Contact Section */
    .contact-section {
        padding: 40px 30px;
        gap: 25px;
    }

    .contact-info {
        flex: 1 1 45%;
        padding-right: 15px;
    }

    .contact-map {
        flex: 1 1 45%;
        min-width: 280px;
        height: 350px;
    }

    .contact-item {
        margin-bottom: 15px;
    }

    /* Footer Adjustments */
    footer {
        padding: 40px 30px 20px;
    }

    .footer-container {
        gap: 25px;
        padding: 0 15px;
    }

    .footer-col {
        flex: 1 1 calc(50% - 25px);
        min-width: 250px;
    }

    /* Notice Section */
    .notice-section {
        padding: 40px 30px;
    }

    .notice-grid {
        padding: 0 15px;
        gap: 25px;
    }

    /* CTA Section */
    .cta-section {
        padding: 40px 30px;
        margin: 40px 0;
    }

    .cta-content {
        padding: 0 15px;
    }

    /* Schedule Section Text Adjustments */
    .schedule-section .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .schedule-section .section-title p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .schedule-table th {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .schedule-table td {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .schedule-table .status {
        font-size: 0.9rem;
        padding: 5px 10px;
    }

    .schedule-table .status {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    body {
        padding-top: 0;
        overflow-x: hidden;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--bg-color);
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    /* Main wrapper to ensure content starts below header */
    .main-wrapper {
        position: relative;
        padding-top: calc(65px + 10vh); /* Header height + desired spacing */
        width: 100%;
    }

    /* Hero banner positioning */
    .hero-banner {
        width: 100%;
        position: relative;
        margin-top: 0;
        overflow: visible;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .banner-slide {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .banner-slide img {
        width: 100%;
        height: auto;
        display: block;
    }

    .banner-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px;
    }

    .banner-content h2 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .banner-content p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin: 0;
    }

    /* Navigation menu */
    nav {
        position: fixed;
        top: -100%;
        left: 0;
        right: 0;
        height: auto;
        width: 100%;
        background: var(--bg-color);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 0;
    }

    nav.active {
        top: 65px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo img {
        height: 40px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        background: var(--primary-color);
        color: white;
        border-radius: 50%;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active {
        transform: rotate(180deg);
    }
    
    nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        background: var(--bg-color);
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        padding: 0;
        position: relative;
    }

    nav ul li:not(:first-child) {
        margin-top: -22px;
    }

    nav ul li a {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        width: 100%;
        height: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        min-height: 50px;
        margin: 0;
    }

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

    nav ul li:hover {
        background-color: rgba(27, 166, 63, 0.1);
        cursor: pointer;
    }

    nav ul li a:hover {
        background-color: transparent;
    }

    nav ul li::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    nav ul li a::after {
        display: none;
    }

    /* Main Content Adjustments */
    .main-content {
        margin-top: 0;
        padding: 20px 15px;
    }

    /* Section Titles */
    .section-title {
        margin-bottom: 25px;
        text-align: left;
        padding: 0 10px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        padding-bottom: 10px;
    }

    .section-title h2::after {
        left: 0;
        transform: none;
        width: 60px;
    }

    /* About Section */
    .about-section {
        margin-top: 0;
        position: relative;
        z-index: 1;
    }

    .about-content {
        padding: 0 10px;
    }

    .about-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .about-image {
        height: auto;
        min-height: 250px;
        margin: 20px 0;
        border-radius: 15px;
        overflow: hidden;
    }

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Services Grid */
    .services-grid {
        padding: 0 10px;
    }
    
    .service-card {
        background: white;
        padding: 15px;
        border-radius: 12px;
        margin-bottom: 15px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        background-color: rgba(73, 193, 125, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .service-card > div:last-child {
        flex: 1;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        color: var(--text-color);
        text-align: left;
    }

    .service-card p {
        color: var(--text-light);
        font-size: 0.9rem;
        margin: 0;
        text-align: left;
        padding-right: 10px;
    }

    /* Doctors Section */
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .doctor-card {
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    }

    .doctor-image {
        height: 200px;
    }

    .doctor-info {
        padding: 20px;
    }

    /* Schedule Section */
    .schedule-section {
        margin: 30px 0;
        padding: 20px 10px;
        background: var(--light-color);
    }

    .schedule-table {
        margin: 0;
        padding: 0;
        background: white;
        border-radius: 8px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .schedule-table table {
        width: 100%;
        min-width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .schedule-table th {
        padding: 12px 4px;
        font-size: 0.75rem;
        white-space: normal;
        text-align: center;
        vertical-align: middle;
        line-height: 1.2;
        background-color: var(--primary-color);
        color: white;
        font-weight: 600;
    }

    .schedule-table th:nth-child(1) { width: 25%; }
    .schedule-table th:nth-child(2) { width: 25%; }
    .schedule-table th:nth-child(3) { width: 25%; }
    .schedule-table th:nth-child(4) { width: 25%; }

    .schedule-table td {
        padding: 12px 4px;
        font-size: 0.75rem;
        text-align: center;
        vertical-align: middle;
        line-height: 1.3;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        word-wrap: break-word;
    }

    .schedule-table tr:last-child td {
        border-bottom: none;
    }

    .schedule-table tr:nth-child(even) {
        background-color: rgba(0, 0, 0, 0.02);
    }

    /* Hide the specialization column on mobile */
    .schedule-table th:nth-child(2),
    .schedule-table td:nth-child(2) {
        display: none;
    }

    /* Style for the time slots */
    .schedule-table .time-slot {
        display: block;
        font-size: 0.7rem;
        color: var(--text-light);
        margin-top: 2px;
    }

    .schedule-table .status {
        padding: 4px 8px;
        font-size: 0.7rem;
        min-width: 70px;
        margin: 0 auto;
        display: inline-block;
        border-radius: 12px;
        font-weight: 500;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        white-space: nowrap;
    }

    .schedule-table .status.available {
        background-color: rgba(76, 175, 80, 0.15);
        color: #2E7D32;
        border: 1px solid rgba(76, 175, 80, 0.3);
    }

    .schedule-table .status.unavailable {
        background-color: rgba(244, 67, 54, 0.15);
        color: #D32F2F;
        border: 1px solid rgba(244, 67, 54, 0.3);
    }

    /* Contact Section */
    .contact-section {
        padding: 20px 10px;
    }

    .contact-info {
        margin-bottom: 30px;
    }

    .contact-item {
        background: white;
        padding: 15px;
        border-radius: 12px;
        margin-bottom: 15px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

    .contact-map {
        height: 300px;
        border-radius: 15px;
        overflow: hidden;
    }

    /* Footer */
    footer {
        padding: 40px 20px 20px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    .footer-col h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .hero-banner {
        height: 250px;
        margin-top: 0;
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        overflow: visible;
    }

    .banner-slide {
        height: 100%;
        width: 100%;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--dark-color);
    }

    .banner-content {
        width: 100%;
        padding: 20px 15px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }

    .banner-content h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .banner-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0;
    }

    .banner-nav {
        bottom: 15px;
    }

    .banner-dot {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    .header-container {
        width: 100%;
        padding: 12px 15px;
        position: relative;
        z-index: 1000;
    }

    nav {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }
}

/* Responsive banner heights */
@media (max-width: 1400px) {
    .hero-banner {
        aspect-ratio: auto;
        height: auto;
        max-height: none;
        overflow: visible;
    }
    
    .banner-slide {
        position: relative;
        height: auto;
        min-height: 0;
    }
    
    .banner-slide img {
        position: relative;
        height: auto;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .hero-banner {
        height: auto;
        margin-bottom: 0;
    }
    
    .banner-slide {
        height: auto;
    }
    
    .main-content {
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        margin: 0;
        overflow: visible;
    }
    
    .banner-slide {
        height: auto;
        overflow: visible;
    }
    
    .banner-slide img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .banner-content {
        position: absolute;
        bottom: 0;
        padding: 15px;
    }
    
    .main-content {
        padding-top: 15px;
    }
    
    .about-section {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: auto;
        overflow: visible;
    }
    
    .banner-slide {
        height: auto;
        overflow: visible;
    }
    
    .banner-slide img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .banner-content {
        padding: 12px;
    }
    
    .main-content {
        padding-top: 10px;
    }
    
    .about-section {
        margin-top: 0;
        padding-top: 0;
    }
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    margin-left: 5px;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
    transform: scale(1.1);
}

.social-links a.whatsapp {
    background-color: #25D366;
}

.social-links a.whatsapp:hover {
    background-color: #128C7E;
}