/* CSS Variables for Golden Logo Theme */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #666666;
    --text-color: #000000;
    --light-bg: #FFFFFF;
    --white: #ffffff;
    --black: #000000;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #999999;
    --cream-color: #e9dfc7;
    --light-yellow: #FFFCCB;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --black-gradient: linear-gradient(135deg, #000000 0%, #333333 50%, #666666 100%);
    --black-gradient-vertical: linear-gradient(180deg, #000000 0%, #333333 50%, #666666 100%);
    --black-gradient-radial: radial-gradient(circle, #333333 0%, #000000 50%, #666666 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f4e8;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    padding-top: 80px; /* Add padding to account for fixed navbar */
    margin: 0;
    padding-bottom: 0; /* Ensure no bottom padding */
    min-height: 100vh;
    position: relative;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
        touch-action: manipulation;
    }
    
    /* Improve touch targets */
    button, 
    .btn, 
    .nav-link, 
    .service-card,
    .testimonial-card {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* Better form inputs for mobile */
    input, 
    select, 
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
        touch-action: manipulation;
    }
    
    /* Improve scrolling performance */
    .nav-menu,
    .services-grid,
    .testimonials-grid {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Improve mobile navigation */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    /* Ensure proper spacing on mobile */
    body {
        padding-top: 100px !important; /* Reduced padding for mobile navbar */
    }
    
    /* Ensure hamburger is always visible on mobile */
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 1001 !important;
        position: relative !important;
    }
    
    /* Force hamburger to be clickable */
    .hamburger * {
        pointer-events: none;
    }
    
    /* Ensure hamburger button itself is always clickable */
    .hamburger {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    /* Additional mobile menu fixes */
    .hamburger {
        background: var(--primary-color) !important;
        border: 2px solid var(--primary-color) !important;
        border-radius: 8px !important;
        padding: 12px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Reduce animations on mobile for better performance */
    .service-card,
    .testimonial-card,
    .gallery-item,
    .stat-item {
        animation: none !important;
        transition: transform 0.2s ease !important;
    }
    
    /* Optimize hover effects for touch devices */
    .service-card:hover,
    .testimonial-card:hover,
    .gallery-item:hover {
        transform: none !important;
    }
    
    /* Improve mobile scrolling */
    .main-content {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* Single Page Application Styles */
.main-content {
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.main-content section {
    display: none;
}

.main-content section.active {
    display: block;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #f9f4e8 !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #f9f4e8 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    position: relative;
}

.nav-logo {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    max-width: 200px;
    min-width: 160px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo-image {
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}


.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
    height: 100%;
}

.nav-item {
    margin: 0 8px;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    position: relative;
    font-size: 0.95rem;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.nav-link.active {
    color: #ffffff;
    background: #8B6B47;
    font-weight: 600;
    border: 2px solid #8B6B47;
}

.appointment-btn {
    background: #2C5F2D;
    color: #ffffff !important;
    border-radius: 0 15px 15px 0;
    padding: 12px 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #2C5F2D;
    white-space: nowrap;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: transparent;
    border: none;
    outline: none;
}

/* Mobile Hamburger Menu - Clean and Simple */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .nav-menu {
        display: none !important;
    }
    
    /* Show hamburger button */
    .hamburger, #hamburger-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        background: #2C5F2D !important;
        border-radius: 8px !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 9999 !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
        transition: all 0.3s ease !important;
    }
    
    /* Hamburger bars */
    .hamburger .bar, #hamburger-menu .bar {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background: #ffffff !important;
        margin: 3px 0 !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    
    /* Mobile menu when active */
    .nav-menu.active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(44, 95, 45, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 9998 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Mobile menu items */
    .nav-menu.active .nav-item {
        margin: 15px 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .nav-menu.active .nav-link {
        display: block !important;
        padding: 20px !important;
        font-size: 1.5rem !important;
        color: #ffffff !important;
        text-decoration: none !important;
        border-radius: 10px !important;
        transition: all 0.3s ease !important;
        width: 80% !important;
        margin: 0 auto !important;
    }
    
    .nav-menu.active .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        transform: scale(1.05) !important;
    }
    
    .nav-menu.active .appointment-btn {
        background: #ffffff !important;
        color: #2C5F2D !important;
        font-weight: 700 !important;
    }
    
    /* Hamburger animation when active */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0 !important;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
}

/* Additional mobile menu visibility rule - removed duplicate */

/* Mobile navbar styling */
@media (max-width: 768px) {
    .navbar {
        background: #f9f4e8 !important;
        border-bottom: 2px solid var(--primary-color) !important;
    }
    
    .nav-container {
        height: 85px !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 20px !important;
        position: relative !important;
    }
    
    .nav-logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1002 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        padding: 8px 15px !important;
        border-radius: 10px !important;
        height: 55px !important;
        max-width: 160px !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Hamburger styles are now defined in the main mobile menu CSS above */
    
    /* Nav menu styles are now defined in the main mobile menu CSS above */
    
    /* Nav item and nav link styles are now defined in the main mobile menu CSS above */
    
    /* Appointment button styles are now defined in the main mobile menu CSS above */
}

/* Bar styles are now defined in the main mobile menu CSS above */

/* Mobile hamburger bar styling - now defined in main mobile menu CSS above */
    
    /* Navbar styles are now defined in the main mobile menu CSS above */
    
    /* Mobile responsive styles are now defined in the main mobile menu CSS above */

/* Hamburger animation styles are now defined in the main mobile menu CSS above */

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 30px 0 20px;
    min-height: 40vh;
    display: flex;
    align-items: flex-start;
    border-bottom: 3px solid var(--primary-color);
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
}

/* Background Slideshow */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    filter: brightness(0.9);
}

.background-slide.active {
    opacity: 1;
}

/* Hero Overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px 20px 60px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40vh;
    gap: 40px;
}

.hero-left {
    flex: 1;
    text-align: left;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Clinic Carousel */
.clinic-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Floating Action Icons */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.location-btn {
    background: var(--primary-color);
    animation-delay: 0s;
}

.call-btn {
    background: var(--secondary-color);
    animation-delay: 0.5s;
}

.whatsapp-btn {
    background: #25D366;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile responsive for floating actions */
@media (max-width: 768px) {
    .floating-actions {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 650;
    margin-bottom: 30px;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 4px 4px 8px rgba(0,0,0,0.9), 0 0 20px rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9), 0 0 15px rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 50px;
    line-height: 1.9;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9), 0 0 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Enhanced button styles for hero */
.hero-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.hero-buttons .btn {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.section-header p {
    font-size: 1.2rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f9f4e8;
    color: #000;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 100px;
    align-items: start;
}

.about-image-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 30px;
    padding-left: 80px;
    transition: none;
    animation: none;
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.about-image {
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    padding: 70px;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 700px;
    width: 100%;
    margin-right: 60px;
    transition: none;
    animation: none;
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.doctor-about-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: none;
    border: none;
    min-height: 600px;
    object-fit: cover;
    display: block;
    transition: none !important;
    animation: none !important;
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
    opacity: 1;
    visibility: visible;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #000;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: justify;
}

.qualifications {
    margin-top: 30px;
}

.qualifications h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.qualifications ul {
    list-style: none;
}

.qualifications li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #000;
}

.qualifications i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-color);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    color: #000;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f9f4e8;
    color: var(--text-color);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

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

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    display: block;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    color: #2C2C2C;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.service-features {
    text-align: left;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.feature-item i {
    color: #2C5F2D;
    margin-right: 10px;
    font-size: 1.1rem;
}

.service-image-container {
    width: 100%;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.service-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

.service-card:hover .service-main-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.service-card p {
    color: #000000;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: none;
}

.service-card {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: serviceCardAppear 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes serviceCardAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Hidden Services */
.hidden-service {
    display: none;
    opacity: 0;
    transform: scale(0.8) translateY(50px);
}

.hidden-service.show {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: serviceCardAppear 0.6s ease forwards;
}

/* Read More Button */
.services-read-more {
    text-align: center;
    margin-top: 40px;
}

.read-more-btn {
    background: linear-gradient(135deg, #2c2c2c 0%, #404040 100%);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.read-more-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.read-more-icon {
    transition: transform 0.3s ease;
}

.read-more-btn.expanded .read-more-icon {
    transform: rotate(180deg);
}

/* Service Detail Sections */
.service-detail {
    padding: 100px 0;
    background: white;
    color: #000;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.service-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    gap: 20px;
}

.back-btn {
    background: linear-gradient(135deg, #2c2c2c 0%, #404040 100%);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

.service-detail-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-detail-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-detail-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #000;
}

.service-detail-text h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.service-detail-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.service-detail-text li {
    padding: 8px 0;
    font-size: 1.1rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail-text li i {
    color: var(--primary-color);
    font-size: 1rem;
}

.service-detail-image {
    text-align: center;
}

.service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f9f4e8;
    color: var(--text-color);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

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

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    text-shadow: none;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.rating {
    display: flex;
    gap: 5px;
}

.rating i {
    color: #ffc107;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #f9f4e8;
    color: var(--text-color);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #000;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0 0 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Rating Section */
.rating-section {
    padding: 80px 0;
    background: #f9f4e8;
    color: var(--text-color);
}

.rating-content {
    text-align: center;
}

.rating-content h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
}

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

.rating-item {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.rating-stars i {
    color: #ffc107;
    font-size: 1.5rem;
}

.rating-item p {
    font-size: 1.1rem;
    color: #e8f4fd;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #404040 100%);
    color: white;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: #2c2c2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
}

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

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-details p {
    color: #fff;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

.contact-details a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, #2c2c2c 0%, #404040 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid var(--primary-color);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* CTA Section */
.cta-section {
    padding: 40px 0;
    background: #f9f4e8;
    color: #000;
    text-align: center;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #333;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: #2C5F2D;
    color: #ffffff;
    border: 2px solid #2C5F2D;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: #1E3F1F;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: #1E3F1F;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #2C5F2D;
    border: 2px solid #2C5F2D;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.cta-buttons .btn-secondary:hover {
    background: #2C5F2D;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: #2C5F2D;
}

/* Footer */
.footer {
    background: #636B2F;
    color: white;
    padding: 20px 0 20px;
    border-top: 3px solid var(--primary-color);
    margin: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    display: block;
    visibility: visible;
    opacity: 1;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #2c5f2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Ensure no white space below footer */
.footer:last-child {
    margin-bottom: 0;
}

/* Remove any potential white space after footer */
body > *:last-child {
    margin-bottom: 0;
}

/* Ensure footer is always visible and properly positioned */
.footer {
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure no gaps between sections */
section {
    margin: 0;
}

/* Specific section spacing - keep internal padding but remove external margins */
.testimonials {
    margin-top: 0;
    margin-bottom: 0;
}

.gallery {
    margin-top: 0;
    margin-bottom: 0;
}

.rating-section {
    margin-top: 0;
    margin-bottom: 0;
}

.contact {
    margin-top: 0;
    margin-bottom: 0;
}

.cta-section {
    margin-top: 0;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .nav-menu {
        display: none;
    }
    
    /* Show hamburger menu */
    .hamburger {
        display: flex !important;
        z-index: 1001;
    }
    
    /* Mobile navigation styles are handled above in the mobile-specific section */

    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-content {
        padding: 40px 30px;
        width: 100%;
        min-height: 50vh;
    }

    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 1px;
        gap: 15px;
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }
    
    .hero-description {
        font-size: 1.2rem;
        text-align: center;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .background-slide {
        filter: blur(0.5px) brightness(0.6);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        display: block;
    }
    
    .about-text {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .about-image-section {
        order: -1;
        align-items: center;
        padding-left: 0;
        margin-bottom: 30px;
    }
    
    .about-image {
        padding: 30px;
        max-width: 100%;
        margin-right: 0;
        margin: 0 auto;
    }
    
    .doctor-about-image {
        min-height: 300px;
        width: 100%;
        object-fit: cover;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 30px;
        display: grid;
    }
    
    .stat-item {
        padding: 15px 10px;
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    .qualifications {
        margin-top: 20px;
    }
    
    .qualifications h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .qualifications li {
        padding: 8px 0;
        font-size: 1rem;
    }
    
    .services {
        padding: 60px 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        display: grid !important;
    }
    
    .service-card {
        padding: 25px 20px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
        display: block !important;
        background: white !important;
    }
    
    .service-image {
        height: 180px;
        margin-bottom: 20px;
        width: 100%;
        display: block !important;
    }
    
    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block !important;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
        display: block !important;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
        display: block !important;
    }
    
    .service-features {
        margin-bottom: 20px;
        display: block !important;
    }
    
    .feature-item {
        margin-bottom: 8px;
        font-size: 0.9rem;
        display: flex !important;
        align-items: center;
    }
    
    .feature-item i {
        margin-right: 8px;
        color: #2C5F2D;
        display: inline-block !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .rating-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    /* Force hamburger to be visible on small mobile devices */
    .hamburger, #hamburger-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: #2C5F2D !important;
        border-radius: 8px !important;
        padding: 10px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        width: 44px !important;
        height: 44px !important;
        justify-content: center !important;
        align-items: center !important;
        border: 2px solid #2C5F2D !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        z-index: 1001 !important;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 70px;
        position: relative !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .nav-logo {
        padding: 4px 10px;
        max-width: 140px;
        height: 45px;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 6px !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    }

    .logo-image {
        max-height: 35px;
    }

    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    /* Enhanced mobile hamburger for small screens - already defined above */
    
    /* Ensure hamburger bars are visible */
    .hamburger .bar, #hamburger-menu .bar {
        background: #ffffff !important;
        width: 20px !important;
        height: 2px !important;
        margin: 3px 0 !important;
        border-radius: 2px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Remove duplicate bar styles */
    
    /* Ensure hamburger bars are visible on small screens */
    .hamburger .bar, #hamburger-menu .bar {
        background: #ffffff !important;
        width: 20px !important;
        height: 2px !important;
        margin: 3px 0 !important;
        border-radius: 2px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure hamburger is always visible on mobile - already defined above */
    
    /* Force hamburger to be visible on small screens - already defined above */

    .hero {
        padding: 120px 0 60px;
        margin-top: 70px;
    }

    .hero {
        padding: 60px 0 30px;
    }
    
    .hero-content {
        padding: 0px 20px;
        width: 100%;
        min-height: 40vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
        gap: 10px;
        flex-direction: column;
    }
    
    .hero-logo {
        height: 50px;
    }

    .hero-content h2 {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
        padding: 0 5px;
    }
    
    .background-slide {
        filter: blur(0px) brightness(0.5);
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly minimum size */
    }
    
    .service-card,
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .qualifications h3 {
        font-size: 1.2rem;
    }
    
    .qualifications li {
        font-size: 0.95rem;
        padding: 6px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Touch-friendly improvements */
    .nav-link,
    .btn,
    .service-card,
    .testimonial-card {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Better spacing for mobile */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }
    
    /* About section mobile fixes */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text {
        order: 2;
        width: 100%;
    }
    
    .about-image-section {
        order: 1;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .about-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 20px;
    }
    
    .doctor-about-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
    }
    
    /* Mobile fixes for Our Expert Medical Team section - More Specific Rules */
    .page-header {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #f9f4e8 !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .page-header h1 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        position: relative !important;
        z-index: 11 !important;
    }
    
    /* Force visibility for specific inline styles */
    .page-header[style*="margin-top: 70px"] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #f9f4e8 !important;
        margin-top: 70px !important;
    }
    
    .page-header h1[style*="color: #000 !important"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        font-size: 1.8rem !important;
        margin: 0 auto !important;
        padding: 20px 0 !important;
    }
    
    .about-hero {
        padding: 20px 0 !important;
        width: 100% !important;
    }
    
    .about-hero-content {
        width: 100% !important;
        padding: 0 10px !important;
        max-width: 100% !important;
    }
    
    .about-hero-text {
        width: 100% !important;
    }
    
    /* Override all inline styles for team member cards */
    .about-hero-text > div[style*="margin"] {
        margin: 15px 0 !important;
        padding: 0 10px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .about-hero-text > div > div[style*="background"] {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Doctor information mobile layout - Override inline styles */
    .about-hero-text > div > div > div[style*="flex: 1"] {
        flex: none !important;
        padding-right: 0 !important;
        width: 100% !important;
        order: 2 !important;
    }
    
    /* Doctor images mobile layout - Override inline styles */
    .about-hero-text > div > div > div[style*="flex: 0 0 450px"] {
        flex: none !important;
        width: 100% !important;
        order: 1 !important;
        text-align: center !important;
    }
    
    /* Override all image styles */
    .about-hero-text img[style*="width: 100%"] {
        width: 100% !important;
        max-width: 300px !important;
        height: 250px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        margin: 0 auto !important;
    }
    
    /* Specific fix for Dr. Rohit Lalit image - prevent cutting */
    .about-hero-text img[alt="Dr. Rohit Lalit"] {
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
        min-height: 250px !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 10px !important;
        margin: 0 auto !important;
        background: #f8f9fa !important;
    }
    
    /* Typography mobile adjustments - Override inline styles */
    .about-hero-text h3[style*="font-size: 2.8rem"] {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }
    
    .about-hero-text h4[style*="font-size: 2rem"] {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }
    
    .about-hero-text p[style*="font-size: 1.4rem"] {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
    }
    
    /* Page header mobile adjustments - Override inline styles */
    .page-header[style*="padding: 15px 0"] {
        padding: 10px 0 !important;
        margin-top: 85px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .page-header h1[style*="font-size: 2.2rem"] {
        font-size: 1.6rem !important;
        margin-bottom: 8px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
    }
    
    .page-header p[style*="font-size: 1rem"] {
        font-size: 0.9rem !important;
    }
    
    /* Hero stats mobile layout */
    .hero-stats {
        flex-direction: column !important;
        gap: 20px !important;
        margin-top: 30px !important;
        padding: 0 20px !important;
    }
    
    .hero-stat {
        text-align: center !important;
        padding: 20px !important;
        background: white !important;
        border-radius: 10px !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    }
    
    .hero-stat h3 {
        font-size: 2rem !important;
        margin-bottom: 10px !important;
    }
    
    .hero-stat p {
        font-size: 1rem !important;
        margin: 0 !important;
    }
    
    /* Additional mobile fixes for very small screens */
    .about-hero-text > div > div[style*="background"] {
        padding: 15px !important;
        margin: 0 5px !important;
    }
    
    .about-hero-text img[style*="width: 100%"] {
        max-width: 250px !important;
        height: 200px !important;
    }
    
    /* Dr. Rohit Lalit image on very small screens */
    .about-hero-text img[alt="Dr. Rohit Lalit"] {
        max-width: 250px !important;
        height: auto !important;
        min-height: 200px !important;
        object-fit: contain !important;
    }
    
    .about-hero-text h3[style*="font-size: 2.8rem"] {
        font-size: 1.5rem !important;
    }
    
    .about-hero-text h4[style*="font-size: 2rem"] {
        font-size: 1.2rem !important;
    }
    
    .about-hero-text p[style*="font-size: 1.4rem"] {
        font-size: 0.9rem !important;
    }
    
    .page-header h1[style*="font-size: 2.2rem"] {
        font-size: 1.3rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        position: relative !important;
        z-index: 11 !important;
        margin: 0 auto !important;
        padding: 15px 0 !important;
    }
    
    /* Additional force visibility rules for mobile */
    .page-header[style*="background: #f9f4e8"] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #f9f4e8 !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .page-header h1[style*="font-weight: 700"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        font-weight: 700 !important;
        position: relative !important;
        z-index: 11 !important;
    }
    
    /* Force visibility for "Our Expert Medical Team" text specifically */
    h1:contains("Our Expert Medical Team") {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        position: relative !important;
        z-index: 11 !important;
    }
    
    /* Alternative selector for the text */
    .page-header h1 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        position: relative !important;
        z-index: 11 !important;
        font-size: 1.5rem !important;
        margin: 0 auto !important;
        padding: 20px 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Ultra-specific rule to force visibility */
    section.page-header div.container h1 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        position: relative !important;
        z-index: 999 !important;
        font-size: 1.6rem !important;
        margin: 0 auto !important;
        padding: 20px 0 !important;
        text-align: center !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .page-header p[style*="font-size: 1rem"] {
        font-size: 0.8rem !important;
    }
    
    /* Ultra-specific rule for smaller mobile screens */
    section.page-header div.container h1 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        position: relative !important;
        z-index: 999 !important;
        font-size: 1.3rem !important;
        margin: 0 auto !important;
        padding: 15px 0 !important;
        text-align: center !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Fix navbar alignment issues on mobile */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: #f9f4e8 !important;
        border-bottom: 2px solid var(--primary-color) !important;
    }
    
    .nav-container {
        height: 85px !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .nav-logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1002 !important;
    }
    
    /* Ensure proper spacing for content below navbar */
    body {
        padding-top: 8px !important;
    }
    
    /* Fix about page content alignment */
    .about-hero {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }
    
    /* Ensure doctor cards maintain proper alignment */
    .about-hero-text > div {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
    }
    
    .about-hero-text > div > div {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Small Doctor Cards Styling */
    .doctor-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 35px rgba(0,0,0,0.15) !important;
    }
    
    .doctors-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 25px !important;
        margin-top: 20px !important;
    }
    
    /* Mobile responsive for small doctor cards */
    @media (max-width: 768px) {
        .doctors-grid {
            grid-template-columns: 1fr !important;
            gap: 20px !important;
            padding: 0 15px !important;
        }
        
        .doctor-card {
            padding: 20px !important;
        }
        
        .doctor-image img {
            width: 100px !important;
            height: 100px !important;
        }
        
        .doctor-card h3 {
            font-size: 1.3rem !important;
        }
        
        .doctor-card h4 {
            font-size: 1rem !important;
        }
        
        .doctor-card p {
            font-size: 0.85rem !important;
        }
    }
    
    @media (max-width: 480px) {
        .doctors-grid {
            gap: 15px !important;
            padding: 0 10px !important;
        }
        
        .doctor-card {
            padding: 15px !important;
        }
        
        .doctor-image img {
            width: 80px !important;
            height: 80px !important;
        }
        
        .doctor-card h3 {
            font-size: 1.2rem !important;
        }
        
        .doctor-card h4 {
            font-size: 0.95rem !important;
        }
        
        .doctor-card p {
            font-size: 0.8rem !important;
        }
        
        .doctor-card a {
            padding: 6px 12px !important;
            font-size: 0.8rem !important;
        }
    }

    /* Mobile-specific gallery improvements */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-image {
        height: 250px;
    }

    /* Mobile contact form improvements */
    .contact-form {
        margin: 0 10px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 12px 15px;
    }

    /* Mobile service cards improvements */
    .service-card {
        margin: 0 10px;
    }

    .service-image-container {
        height: 180px;
    }

    /* Mobile hero section improvements */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* CTA Section Mobile */
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c5aa0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Page Header */
.page-header {
    background: #f9f4e8;
    color: #000;
    padding: 0 !important;
    text-align: center;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0px !important;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    color: #000;
}

.page-header p {
    font-size: 1.2rem;
    color: #333;
}

/* About Hero Section */
.about-hero {
    padding: 100px 0;
    background: #f9f4e8;
}

.about-hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-text h2 {
    font-size: 2.5rem;
    color: #93c572;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-hero-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat h3 {
    font-size: 2rem;
    color: #93c572;
    margin-bottom: 5px;
    font-weight: 700;
}

.hero-stat p {
    color: #666;
    font-weight: 500;
    margin: 0;
}

.about-hero-image {
    text-align: center;
}

/* Qualifications Section */
.qualifications-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.qualification-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.qualification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.qualification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 3px solid #93c572;
}

.qualification-icon i {
    font-size: 2rem;
    color: #93c572;
}

.qualification-card h3 {
    font-size: 1.4rem;
    color: #93c572;
    margin-bottom: 15px;
    font-weight: 600;
}

.qualification-card p {
    color: #666;
    line-height: 1.6;
}

/* Experience Section */
.experience-section {
    padding: 100px 0;
    background: white;
}

.experience-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.experience-text h2 {
    font-size: 2.5rem;
    color: #93c572;
    margin-bottom: 40px;
    font-weight: 600;
}

.experience-timeline {
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #93c572;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #93c572;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #93c572;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #93c572;
    margin-bottom: 5px;
    font-weight: 600;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-content p {
    color: #555;
    line-height: 1.6;
}

.experience-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.exp-stat {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e9ecef;
}

.exp-stat h3 {
    font-size: 2rem;
    color: #93c572;
    margin-bottom: 10px;
    font-weight: 700;
}

.exp-stat p {
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* Specializations Section */
.specializations-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.specialization-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.specialization-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.specialization-item i {
    font-size: 3rem;
    color: #93c572;
    margin-bottom: 25px;
}

.specialization-item h3 {
    font-size: 1.4rem;
    color: #93c572;
    margin-bottom: 15px;
    font-weight: 600;
}

.specialization-item p {
    color: #666;
    line-height: 1.6;
}

/* Philosophy Section */
.philosophy-section {
    padding: 100px 0;
    background: white;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-text h2 {
    font-size: 2.5rem;
    color: #93c572;
    margin-bottom: 25px;
    font-weight: 600;
}

.philosophy-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.philosophy-list {
    list-style: none;
}

.philosophy-list li {
    padding: 12px 0;
    font-size: 1.1rem;
    color: #555;
    display: flex;
    align-items: center;
}

.philosophy-list i {
    color: #93c572;
    margin-right: 15px;
    font-size: 1.2rem;
}

.philosophy-card {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 3px solid #93c572;
}

.philosophy-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.philosophy-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.philosophy-signature {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 20px;
}

.philosophy-signature p {
    font-weight: 600;
    margin: 0;
    font-style: normal;
}

/* Awards Section */
.awards-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.award-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.award-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.award-icon i {
    font-size: 2rem;
    color: white;
}

.award-item h3 {
    font-size: 1.4rem;
    color: #93c572;
    margin-bottom: 15px;
    font-weight: 600;
}

.award-item p {
    color: #666;
    line-height: 1.6;
}

/* Doctor Profile Styles */
.doctor-profile {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border-left: 5px solid #93c572;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.doctor-profile h3 {
    color: #93c572;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.doctor-profile p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
}

.doctor-profile strong {
    color: #333;
    font-weight: 600;
}


/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: #f9f4e8;
    color: #000;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #000;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #333;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
    text-align: center;
        gap: 40px;
    }
    
    .about-hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .experience-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .experience-stats {
        grid-template-columns: 1fr;
    }
    
    .specializations-grid {
        grid-template-columns: 1fr;
    }
    
    .qualifications-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Page Styles */
.services-overview {
    padding: 100px 0;
    background: #f8f9fa;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-intro p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

/* Detailed Services */
.detailed-services {
    padding: 100px 0;
    background: white;
}

.service-detail {
    margin-bottom: 100px;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 3px solid #93c572;
}

.service-icon-large i {
    font-size: 3rem;
    color: #93c572;
}

.service-detail-text h2 {
    font-size: 2.5rem;
    color: #93c572;
    margin-bottom: 25px;
    font-weight: 600;
}

.service-detail-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 40px;
}

.service-features li {
    padding: 12px 0;
    font-size: 1.1rem;
    color: #555;
    display: flex;
    align-items: center;
}

.service-features i {
    color: #93c572;
    margin-right: 15px;
    font-size: 1.2rem;
}

.service-detail-image {
    text-align: center;
}

.service-image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 80px 40px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

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

.service-image-placeholder i {
    font-size: 4rem;
    color: #a67c00;
    margin-bottom: 20px;
}

.service-image-placeholder p {
    font-size: 1.2rem;
    color: #666;
    font-weight: 600;
    margin: 0;
}

.service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
}

/* Diagnostic Services */
.diagnostic-services {
    padding: 100px 0;
    background: #f8f9fa;
}

.diagnostic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.diagnostic-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.diagnostic-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.diagnostic-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.diagnostic-icon i {
    font-size: 2rem;
    color: white;
}

.diagnostic-item h3 {
    font-size: 1.4rem;
    color: #a67c00;
    margin-bottom: 15px;
    font-weight: 600;
}

.diagnostic-item p {
    color: #666;
    line-height: 1.6;
}

/* Treatment Approach */
.treatment-approach {
    padding: 100px 0;
    background: white;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.approach-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.approach-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a67c00 0%, #8a6a00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.approach-item h3 {
    font-size: 1.4rem;
    color: #a67c00;
    margin-bottom: 15px;
    font-weight: 600;
}

.approach-item p {
    color: #666;
    line-height: 1.6;
}

/* Emergency Services */
.emergency-services {
    padding: 100px 0;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border-top: 3px solid #93c572;
    border-bottom: 3px solid #93c572;
}

.emergency-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.emergency-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 600;
    color: #93c572;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.emergency-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.emergency-features {
    margin-bottom: 40px;
}

.emergency-feature {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.emergency-feature i {
    font-size: 2rem;
    margin-right: 20px;
    color: #ffc107;
}

.emergency-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: #93c572;
}

.emergency-feature p {
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.emergency-card {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 3px solid #93c572;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.emergency-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
    color: #93c572;
}

.emergency-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.emergency-info i {
    margin-right: 10px;
    color: #ffc107;
}

/* Responsive Design for Services Page */
@media (max-width: 768px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .service-detail-content.reverse {
        direction: ltr;
    }
    
    .service-detail-text h2 {
        font-size: 2rem;
    }
    
    .diagnostic-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 40px;
    text-align: center;
}

    .emergency-text h2 {
        font-size: 2rem;
    }
    
    .emergency-feature {
    justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .service-icon-large i {
        font-size: 2.5rem;
    }
    
    .service-detail-text h2 {
        font-size: 1.8rem;
    }
    
    .service-image-placeholder {
        padding: 60px 30px;
    }
    
    .service-image-placeholder i {
    font-size: 3rem;
    }
    
    .emergency-card {
        padding: 30px 20px;
    }
}

/* Gallery Page Styles */
.gallery-intro {
    padding: 100px 0;
    background: #f8f9fa;
}

.gallery-intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.gallery-intro-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

/* Gallery Categories */
.gallery-categories {
    padding: 50px 0;
    background: white;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    border: 2px solid #a67c00;
    background: transparent;
    color: #a67c00;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #a67c00;
    color: white;
}

/* Gallery Grid */
.gallery-grid-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a67c00;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(166, 124, 0, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.gallery-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.gallery-btn {
    align-self: flex-end;
    width: 50px;
    height: 50px;
    background: white;
    color: #a67c00;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: #a67c00;
    color: white;
    transform: scale(1.1);
}

/* Facility Features */
.facility-features {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-item h3 {
    font-size: 1.4rem;
    color: #a67c00;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Virtual Tour */
.virtual-tour {
    padding: 100px 0;
    background: linear-gradient(135deg, #a67c00 0%, #93c572 100%);
    color: white;
}

.tour-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.tour-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.tour-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #e8f4fd;
}

.tour-features {
    margin-bottom: 40px;
}

.tour-feature {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.tour-feature i {
    font-size: 2rem;
    margin-right: 20px;
    color: #ffc107;
}

.tour-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.tour-feature p {
    margin: 0;
    color: #333;
}

.tour-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.tour-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.tour-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-info i {
    margin-right: 10px;
    color: #ffc107;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.8);
}

.lightbox-image {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-placeholder {
    text-align: center;
    color: #666;
}

.lightbox-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #a67c00;
}

.lightbox-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

.lightbox-info {
    padding: 30px;
    background: white;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    color: #a67c00;
    margin-bottom: 15px;
    font-weight: 600;
}

.lightbox-info p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Gallery Page */
@media (max-width: 768px) {
    .category-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-content {
        grid-template-columns: 1fr;
        gap: 40px;
    text-align: center;
    }
    
    .tour-text h2 {
        font-size: 2rem;
    }
    
    .tour-feature {
    justify-content: center;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .gallery-image {
        height: 200px;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
    
    .image-placeholder p {
        font-size: 1rem;
    }
    
    .gallery-overlay {
        padding: 20px;
    }
    
    .gallery-info h3 {
        font-size: 1.3rem;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .tour-card {
        padding: 30px 20px;
    }
    
    .lightbox-image {
        height: 250px;
    }
    
    .lightbox-info {
        padding: 20px;
    }
}

/* Contact Page Styles */
.contact-info-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-info-card .contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a67c00 0%, #93c572 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-info-card .contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.4rem;
    color: #a67c00;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-link {
    color: #a67c00;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: white;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.appointment-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #a67c00;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 2px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    width: 100%;
}

.btn-large i {
    margin-right: 10px;
}

/* Map Wrapper */
.map-wrapper {
    position: sticky;
    top: 100px;
}

.map-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.map-container h3 {
    font-size: 1.8rem;
    color: #a67c00;
    margin-bottom: 30px;
    font-weight: 600;
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 60px 30px;
    margin-bottom: 30px;
    border: 2px solid #e9ecef;
}

.map-embed {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
}

.map-placeholder i {
    font-size: 4rem;
    color: #a67c00;
    margin-bottom: 20px;
}

.map-placeholder p {
    font-size: 1.2rem;
    color: #666;
    margin: 5px 0;
    font-weight: 600;
}

.map-info {
    text-align: left;
    margin-bottom: 30px;
}

.map-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.map-detail i {
    font-size: 1.5rem;
    color: #a67c00;
    margin-right: 15px;
    margin-top: 5px;
}

.map-detail h4 {
    font-size: 1.1rem;
    color: #a67c00;
    margin-bottom: 5px;
    font-weight: 600;
}

.map-detail p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Emergency Contact */
.emergency-contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.emergency-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.emergency-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 600;
    color: #93c572;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.emergency-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.emergency-features {
    margin-bottom: 40px;
}

.emergency-feature {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.emergency-feature i {
    font-size: 2rem;
    margin-right: 20px;
    color: #ffc107;
}

.emergency-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: #93c572;
}

.emergency-feature p {
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.emergency-contact-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.emergency-contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

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

.emergency-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}

.emergency-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #ffc107;
}

.emergency-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.emergency-item p {
    margin: 0;
    color: #333;
}

.emergency-item a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
}

.emergency-item a:hover {
    text-decoration: underline;
}

.btn-emergency {
    background: #ffc107;
    color: #dc3545;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    background: #ffca2c;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 25px 30px;
    background: #a67c00;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #8a6a00;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 25px 30px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0 15px;
    }
    
    .nav-logo {
        padding: 6px 12px;
        max-width: 150px;
        height: 50px;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 8px !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    }
    
    .logo-image {
        max-height: 40px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .appointment-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-section {
        order: -1;
        align-items: center;
        padding-left: 0;
    }
    
    .about-image {
        padding: 50px;
        max-width: 500px;
        margin-right: 0;
    }
    
    .doctor-about-image {
        min-height: 450px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 30px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        padding: 4px 10px;
        max-width: 140px;
        height: 45px;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 6px !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    }
    
    .logo-image {
        max-height: 35px;
    }
    
    .appointment-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .about-image {
        padding: 45px;
        max-width: 450px;
        margin-right: 0;
    }
    
    .doctor-about-image {
        min-height: 400px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .map-container {
        padding: 30px 20px;
    }
    
    .map-embed iframe {
        height: 250px;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .emergency-text h2 {
        font-size: 2rem;
    }
    
    .emergency-feature {
        justify-content: center;
    }
    
    .emergency-item {
        justify-content: center;
        text-align: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-info-card {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 25px 15px;
    }

    .map-container {
        padding: 25px 15px;
    }
    
    .map-embed iframe {
        height: 200px;
    }
    
    .services {
        padding: 40px 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
        display: grid !important;
    }
    
    .service-card {
        padding: 20px 15px;
        margin-bottom: 15px;
        width: 100%;
        box-sizing: border-box;
        display: block !important;
        background: white !important;
    }
    
    .service-image {
        height: 160px;
        margin-bottom: 15px;
        width: 100%;
        display: block !important;
    }
    
    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block !important;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        display: block !important;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 15px;
        display: block !important;
    }
    
    .feature-item {
        margin-bottom: 6px;
        font-size: 0.85rem;
        display: flex !important;
        align-items: center;
    }
    
    .feature-item i {
        margin-right: 6px;
        color: #2C5F2D;
        font-size: 0.9rem;
        display: inline-block !important;
    }

    .map-placeholder {
        padding: 40px 20px;
    }

    .map-placeholder i {
        font-size: 3rem;
    }

    .emergency-contact-card {
        padding: 30px 20px;
    }

    .faq-question {
        padding: 20px 25px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer.active {
        padding: 20px 25px;
    }
    
    /* Service Details Responsive */
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .service-detail-header h2 {
        font-size: 2rem;
    }
    
    .back-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .service-detail-text h3 {
        font-size: 1.5rem;
    }
    
    .service-detail-text h4 {
        font-size: 1.2rem;
    }
    
    .service-image {
        height: 300px;
    }
    
    .service-image-container {
        height: 150px;
    }
}
