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

/* Desktop - Hide mobile menu toggle */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
    margin: 0;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loading-logo-circle {
    width: 120px;
    height: 120px;
    border: 4px solid #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    margin: 0 auto 30px;
    animation: pulse 2s infinite;
    overflow: hidden;
}

.loading-logo-circle::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid #22c55e;
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 2s linear infinite;
}

.loading-logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

.loading-logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #22c55e;
    margin-bottom: 3px;
}

.loading-logo-subtitle {
    font-size: 10px;
    color: #22c55e;
    text-align: center;
    line-height: 1.2;
}

.loading-spinner {
    margin: 20px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(34, 197, 94, 0.2);
    border-top: 4px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

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

@keyframes fadeInOut {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.logo-image {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    white-space: nowrap;
}

.nav-utils {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #22c55e;
}

.nav-emergency {
    color: #dc2626;
    font-weight: 700;
}

.nav-emergency:hover {
    color: #b91c1c;
}

.mobile-menu-toggle {
    display: none !important;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #22c55e;
}

.fa-search {
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.main-nav {
    padding: 15px 0;
    background: #3b82f6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    justify-content: center;
}

.nav-item {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #f0f9ff;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #f0f9ff;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
    width: 100%;
    min-height: 80vh;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.hero-text {
    padding: 30px 40px 60px 40px;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
}

.welcome-message {
    margin-bottom: 25px;
    animation: fadeInUp 1.2s ease;
}

.welcome-line-1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: welcomeSlideIn 1.2s ease 0.2s both;
    position: relative;
    overflow: hidden;
}

.welcome-line-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
    animation: welcomeShimmer 2s ease-in-out 1.5s both;
}

.welcome-line-2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: welcomeBounceIn 1.5s ease 0.4s both;
    text-shadow: 0 3px 6px rgba(34, 197, 94, 0.4);
    position: relative;
    display: inline-block;
}

.welcome-line-2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a, #22c55e);
    animation: welcomeUnderline 1.2s ease-out 2s both;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

    .cta-button {
    background: #22c55e;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    min-height: 48px;
    min-width: 160px;
    width: 100%;
    max-width: 300px;
}

.cta-button:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

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

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

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

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

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

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

.indicator.active {
    background: #22c55e;
}

.indicator:hover {
    background: rgba(34, 197, 94, 0.7);
}

/* Section Styles */
.section-title-container {
    position: relative;
    margin-bottom: 80px;
}

.title-wavy-bg {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    animation: titleWave 6s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.1));
    opacity: 0.4;
    pointer-events: none;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
    color: #1f2937;
    position: relative;
    z-index: 2;
    padding: 30px 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #22c55e;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 150px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
    border: 8px solid #22c55e;
    border-radius: 20px;
    margin: 60px 20px;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}

.wavy-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    animation: wave 8s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.1));
    opacity: 0.8;
}

.wavy-background svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-10px) translateY(-5px);
    }
    50% {
        transform: translateX(-15px) translateY(-8px);
    }
    75% {
        transform: translateX(-5px) translateY(-3px);
    }
}

@keyframes titleWave {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-8px) translateY(-3px);
    }
    50% {
        transform: translateX(-12px) translateY(-5px);
    }
    75% {
        transform: translateX(-4px) translateY(-2px);
    }
}

@keyframes contactWave {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-12px) translateY(-6px);
    }
    50% {
        transform: translateX(-18px) translateY(-10px);
    }
    75% {
        transform: translateX(-6px) translateY(-4px);
    }
}

@keyframes contactWave2 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-8px) translateY(-4px);
    }
    50% {
        transform: translateX(-15px) translateY(-8px);
    }
    75% {
        transform: translateX(-4px) translateY(-2px);
    }
}

@keyframes contactWave3 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-10px) translateY(-5px);
    }
    50% {
        transform: translateX(-20px) translateY(-12px);
    }
    75% {
        transform: translateX(-5px) translateY(-3px);
    }
}

@keyframes contactWave4 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-6px) translateY(-3px);
    }
    50% {
        transform: translateX(-12px) translateY(-6px);
    }
    75% {
        transform: translateX(-3px) translateY(-1px);
    }
}

@keyframes contactWave5 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-8px) translateY(-4px);
    }
    50% {
        transform: translateX(-16px) translateY(-8px);
    }
    75% {
        transform: translateX(-4px) translateY(-2px);
    }
}

@keyframes mountainFloat {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-5px) translateY(-3px);
    }
    50% {
        transform: translateX(-8px) translateY(-5px);
    }
    75% {
        transform: translateX(-3px) translateY(-2px);
    }
}

.about-content {
    display: grid;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.about-content .wavy-background {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    animation: wave 8s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.1));
    opacity: 0.3;
    pointer-events: none;
}

.mountain-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    z-index: 0;
    animation: mountainFloat 12s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(34, 197, 94, 0.15));
    opacity: 0.6;
    pointer-events: none;
}

.mountain-background svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-highlight {
    font-weight: bold;
    color: #4b5563;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    justify-items: center;
}

.doctor-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid rgba(34, 197, 94, 0.5);
    position: relative;
    padding: 0;
    min-height: 520px;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.9);
}

.doctor-image-container {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.doctor-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

.doctor-image-container.doctor-image-top img {
    object-position: top center;
}

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

.doctor-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    opacity: 0.8;
}

.doctor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 50px 30px 30px;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.doctor-card:hover .doctor-overlay {
    transform: translateY(0);
}

.doctor-info h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.doctor-specialty {
    color: #86efac;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.doctor-experience {
    color: #d1fae5;
    font-size: 0.9rem;
    font-weight: 500;
}

.doctor-details {
    padding: 25px;
    background: white;
}

.doctor-bio {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
}

.doctor-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f3a6d;
    margin-bottom: 12px;
    text-align: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: stretch;
    align-items: stretch;
    margin-top: 50px;
}

.service-card {
    background: linear-gradient(135deg, #D6F6D5 0%, #f0fdf4 100%);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 3px solid #1e3a8a;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: stretch;
}

/* Removed shimmer effect for cleaner hover */

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #1e40af;
    box-shadow: 0 25px 60px rgba(30, 58, 138, 0.25), 0 10px 30px rgba(34, 197, 94, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

/* General Consultation Service Card */
.general-consultation {
    position: relative;
}

.general-consultation::after {
    content: '🏥';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.3;
    z-index: 1;
}

/* Women's Health Service Card */
.women-health {
    position: relative;
}

.women-health::after {
    content: '👩‍⚕️';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.3;
    z-index: 1;
}

/* ENT Services Card */
.ent-services {
    position: relative;
}

.ent-services::after {
    content: '👂';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.3;
    z-index: 1;
}

/* Critical Care Services Card */
.critical-care {
    position: relative;
}

.critical-care::after {
    content: '🚑';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.3;
    z-index: 1;
}

.service-image-container {
    position: relative;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15), 0 4px 10px rgba(0,0,0,0.1);
    border: 2px solid rgba(34, 197, 94, 0.2);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.service-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-image-container:hover::before {
    opacity: 1;
}

.service-image-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2), 0 6px 15px rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.service-image.active {
    opacity: 1;
}

.service-item {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-radius: 5px;
    margin: 2px 0;
}

.service-item:hover {
    background-color: #f0fdf4;
    color: #22c55e;
    padding-left: 10px;
    transform: translateX(5px);
}

.service-item.active-service {
    background-color: #22c55e;
    color: white;
    padding-left: 10px;
    transform: translateX(5px);
    font-weight: 600;
}


.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #1e40af);
    border-radius: 2px;
}

.service-list {
    list-style: none;
    text-align: left;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    overflow: visible;
}

.service-list li {
    padding: 8px 0;
    color: #4b5563;
    position: relative;
    padding-left: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 1px 0;
    line-height: 1.4;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(34, 197, 94, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8px;
}

.service-list li:hover {
    background: rgba(34, 197, 94, 0.1);
    padding-left: 30px;
    transform: translateX(5px);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #fff;
}

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

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

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

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

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

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f8fffe;
}

.testimonials-container {
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    width: 100%;
}

.testimonial-slide {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-card {
    background: linear-gradient(135deg, #D6F6D5 0%, #f0fdf4 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    text-align: center;
    border: 3px solid #3b82f6;
    transition: all 0.3s ease;
}

.quote-mark {
    font-size: 4rem;
    color: #22c55e;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 20px;
}

.quote-mark.closing {
    margin-top: 20px;
    margin-bottom: 0;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    margin-top: 15px;
    padding-left: 10px;
    border-left: 3px solid #22c55e;
}

.testimonial-author {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.testimonial-author h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
    justify-content: center;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.patient-type {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
    font-weight: 500;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #1e40af;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.testimonial-center {
    display: flex;
    justify-content: center;
}

.testimonial-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.testimonial-icon i {
    font-size: 2.5rem;
    color: white;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.testimonial-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicator.active {
    background: #22c55e;
    transform: scale(1.2);
}

.testimonial-indicator:hover {
    background: #22c55e;
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.contact-wavy-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    animation: contactWave 7s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.1));
    opacity: 0.3;
    pointer-events: none;
}

.contact-wavy-bg-2 {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 1;
    animation: contactWave2 9s ease-in-out infinite;
    filter: drop-shadow(0 3px 6px rgba(34, 197, 94, 0.08));
    opacity: 0.25;
    pointer-events: none;
}

.contact-wavy-bg-3 {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 1;
    animation: contactWave3 11s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.1));
    opacity: 0.2;
    pointer-events: none;
}

.contact-wavy-bg-4 {
    position: absolute;
    top: 150px;
    left: 0;
    width: 100%;
    height: 350px;
    z-index: 1;
    animation: contactWave4 13s ease-in-out infinite;
    filter: drop-shadow(0 5px 10px rgba(34, 197, 94, 0.08));
    opacity: 0.15;
    pointer-events: none;
}

.contact-wavy-bg-5 {
    position: absolute;
    top: 200px;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 1;
    animation: contactWave5 15s ease-in-out infinite;
    filter: drop-shadow(0 6px 12px rgba(251, 191, 36, 0.08));
    opacity: 0.1;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: #22c55e;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.6;
    font-weight: 600;
}

.contact-item a {
    color: #22c55e;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #16a34a;
    text-decoration: underline;
}

.contact-form {
    background: #f8fffe;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font-weight: 600;
}

.contact-form label {
    font-weight: 700;
    color: #1f2937;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22c55e;
}

.submit-btn {
    width: 100%;
    background: #22c55e;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #16a34a;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #f8fffe;
    position: relative;
    overflow: hidden;
}

.faq-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.faq .container {
    position: relative;
    z-index: 2;
}

.contact .section-title {
    font-weight: 800;
}

.faq-title-container {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #22c55e;
    border-radius: 15px;
    padding: 25px 40px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.faq-title-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transition: left 0.6s ease;
}

.faq-title-container:hover::before {
    left: 100%;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

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

.faq-question:hover {
    background: #f8fffe;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.faq-question i {
    color: #22c55e;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

    .faq-item.active .faq-answer {
        padding: 0 25px 25px;
        max-height: 500px;
    }

.faq-highlight {
    background: transparent;
    border-left: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.faq-item.active .faq-highlight {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-left: 4px solid #0ea5e9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.faq-item.active .faq-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: faqShimmer 4s ease-in-out infinite;
}

.faq-item.active .faq-highlight p {
    color: #0c4a6e;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
}

.emergency-highlight {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-left: 4px solid #0ea5e9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
    position: relative;
    overflow: hidden;
}

.emergency-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: emergencyShimmer 3s ease-in-out infinite;
}

.emergency-highlight p {
    color: #0c4a6e;
    font-weight: 500;
    position: relative;
    z-index: 1;
}


/* Footer */
.footer {
    background: #22c55e;
    color: white;
    padding: 60px 0 20px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 2px solid rgba(255,255,255,0.3);
}

.footer-social a:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
    border-color: rgba(255,255,255,0.6);
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

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

.footer-contact p {
    text-align: right;
    line-height: 1.6;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-contact a:hover {
    color: #f0fdf4;
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}


/* Mobile Responsive - Comprehensive Optimization */
@media (max-width: 768px) {
    /* Global Mobile Styles */
    * {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    body {
        font-size: 14px;
        line-height: 1.5;
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Header & Navigation */
    .header {
        height: auto;
        min-height: 70px;
        padding: 10px 15px;
    }
    
    .nav-top {
        padding: 8px 0;
        flex-wrap: wrap;
    }
    
    .main-nav {
        height: auto;
        padding: 10px 0;
    }
    
    .logo {
        height: 45px;
        gap: 8px;
    }
    
    .logo-image {
        height: 45px;
        max-width: 120px;
    }
    
    .logo-text {
        font-size: 0.95rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .nav-utils {
        gap: 10px;
    }
    
    .nav-utils .nav-link {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        color: #333;
        font-size: 22px;
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(59, 130, 246, 0.1);
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(59, 130, 246, 0.2);
        color: #3b82f6;
        transform: scale(1.05);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #3b82f6;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        padding: 25px 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1001;
        border-radius: 0 0 15px 15px;
        backdrop-filter: blur(10px);
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        padding: 16px 0;
        min-height: 48px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        color: white;
        font-size: 16px;
        padding: 12px 20px;
        min-height: 44px;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link:hover {
        background: rgba(255,255,255,0.2);
        color: white;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 0 60px;
        min-height: 60vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    
    .hero-text {
        padding: 20px 15px;
        order: 2;
    }
    
    .welcome-line-1 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .welcome-line-2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 14px 25px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .hero-carousel {
        height: 40vh;
        min-height: 260px;
        max-height: 350px;
        order: 1;
        margin-bottom: 20px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        padding: 15px 0;
    }
    
    /* About Section */
    .about {
        margin: 15px 8px;
        padding: 30px 15px;
        border-width: 3px;
        border-radius: 12px;
    }
    
    .about-content {
        gap: 25px;
    }
    
    .about-text {
        padding: 0 5px;
    }
    
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 18px;
        line-height: 1.6;
    }
    
    .doctors-carousel {
        margin: 0 -20px;
        padding: 20px 20px 15px;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .doctor-card {
        min-height: 500px;
        margin: 0 5px;
    }
    
    .doctor-image-container {
        height: 300px;
    }
    
    .doctor-info h3 {
        font-size: 1.5rem;
    }
    
    .doctor-specialty {
        font-size: 1rem;
    }
    
    /* Services Section */
    .services {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 25px;
    }
    
    .service-card {
        padding: 20px 15px;
        margin: 0 3px;
    }
    
    .service-image-container {
        height: 180px;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }
    
    .service-list {
        padding: 12px;
    }
    
    .service-list li {
        padding: 8px 0;
        padding-left: 30px;
        font-size: 0.9rem;
        line-height: 1.6;
        min-height: 32px;
    }
    
    .service-list li::before {
        width: 18px;
        height: 18px;
        font-size: 1rem;
        top: 8px;
    }
    
    /* Gallery Section */
    .gallery {
        padding: 50px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
    }
    
    .gallery-item {
        border-radius: 10px;
    }
    
    /* Testimonials Section */
    .testimonials {
        padding: 50px 0;
    }
    
    .testimonials-container {
        margin: 0 -10px;
        padding: 0 10px;
    }
    
    .testimonial-slide {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
    }
    
    .testimonial-center {
        order: -1;
        margin-bottom: 20px;
        align-self: center;
    }
    
    .testimonial-card {
        margin-bottom: 15px;
        padding: 18px 15px;
        width: 100%;
        order: 1;
    }
    
    .testimonial-card:last-child {
        order: 2;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
        padding-left: 8px;
    }
    
    .testimonial-author {
        font-size: 1rem;
        margin-top: 12px;
    }
    
    .testimonial-author h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-stars {
        justify-content: center;
    }
    
    /* Contact Section */
    .contact {
        padding: 50px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 15px 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 20px;
        padding: 0;
        order: 1;
    }
    
    .contact-item {
        margin-bottom: 18px;
        padding: 18px 15px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        min-height: 60px;
    }
    
    .contact-item i {
        font-size: 1.3rem;
        margin-top: 3px;
    }
    
    .contact-item h3 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    
    .contact-item p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .contact-item a {
        font-size: 0.95rem;
        word-break: break-word;
    }
    
    .contact-form {
        padding: 25px 18px;
        margin: 0;
        order: 2;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 14px 15px;
        font-size: 16px;
        margin-bottom: 18px;
        min-height: 48px;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .contact-form label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 16px;
        min-height: 48px;
        width: 100%;
    }
    
    /* FAQ Section */
    .faq {
        padding: 50px 0;
    }
    
    .faq-title-container {
        padding: 18px 15px;
        margin-bottom: 25px;
    }
    
    .faq-list {
        margin-top: 25px;
    }
    
    .faq-item {
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 18px 18px;
        font-size: 1rem;
        min-height: 56px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
        padding-right: 30px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 18px 18px;
        max-height: 600px;
    }
    
    .faq-answer {
        padding: 0 18px;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Footer */
    .footer {
        padding: 35px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        justify-items: center;
    }
    
    .footer-social {
        justify-content: center;
        gap: 15px;
    }
    
    .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    .footer-logo-image {
        height: 50px;
        max-width: 130px;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact p {
        text-align: center;
        color: white;
        font-weight: 600;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-contact a {
        word-break: break-word;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 0.85rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-social a {
        font-size: 1.1rem;
        padding: 8px;
    }
    
    .footer-bottom {
        margin-top: 25px;
        padding-top: 20px;
        font-size: 0.85rem;
        text-align: center;
    }
}

/* Medium screens - tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .testimonial-slide {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
        display: flex;
        flex-direction: column;
    }
    
    .testimonial-center {
        order: -1;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .testimonial-card {
        margin-bottom: 15px;
        padding: 20px;
        width: 100%;
        order: 1;
    }
    
    .testimonial-card:last-child {
        order: 2;
    }
    
    .about {
        margin: 20px 10px;
        border-width: 6px;
        border-radius: 15px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px 0;
        margin: 0 -5px;
        display: flex;
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 20px;
        padding: 0 5px;
        order: 1;
    }
    
    .contact-item {
        margin-bottom: 20px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
    }
    
    .contact-form {
        padding: 20px 15px;
        margin: 0 5px;
        order: 2;
    }
    
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials-container {
        margin: 0 -5px;
        padding: 0 5px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-contact p {
        text-align: center;
        color: white;
        font-weight: 600;
    }
    
    .floating-icons {
        display: none;
    }
    
    .logo-image {
        height: 60px;
        max-width: 150px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .footer-logo-image {
        height: 50px;
        max-width: 120px;
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
    /* Global Styles */
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    .header {
        height: auto;
        min-height: 65px;
        padding: 8px 10px;
    }
    
    .nav-top {
        padding: 6px 0;
    }
    
    .main-nav {
        height: auto;
        padding: 8px 0;
    }
    
    .logo {
        height: 40px;
        gap: 6px;
    }
    
    .logo-image {
        height: 40px;
        max-width: 100px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        font-size: 20px;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Hero Section */
    .hero {
        padding: 50px 0 50px;
        min-height: 50vh;
    }
    
    .hero-text {
        padding: 15px 10px;
    }
    
    .welcome-line-1 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .welcome-line-2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 260px;
        padding: 13px 20px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .hero-carousel {
        height: 40vh;
        min-height: 250px;
        margin-bottom: 15px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
        padding: 15px 0;
    }
    
    /* About Section */
    .about {
        margin: 12px 5px;
        padding: 25px 12px;
        border-width: 3px;
        border-radius: 10px;
    }
    
    .about-content {
        gap: 20px;
    }
    
    .about-text {
        padding: 0 3px;
    }
    
    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .doctors-carousel {
        margin: 0 -15px;
        padding: 20px 15px 15px;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .doctor-card {
        min-height: 450px;
        margin: 0 2px;
    }
    
    .doctor-image-container {
        height: 250px;
    }
    
    .doctor-info h3 {
        font-size: 1.3rem;
    }
    
    .doctor-specialty {
        font-size: 0.9rem;
    }
    
    .doctor-overlay {
        padding: 40px 20px 20px;
    }
    
    /* Services Section */
    .services {
        padding: 50px 0;
    }
    
    .services-grid {
        gap: 15px;
        margin-top: 25px;
    }
    
    .service-card {
        padding: 20px 15px;
        margin: 0 2px;
    }
    
    .service-image-container {
        height: 150px;
        margin-bottom: 12px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .service-list {
        padding: 8px;
    }
    
    .service-list li {
        padding: 6px 0;
        padding-left: 28px;
        font-size: 0.85rem;
        line-height: 1.5;
        min-height: 30px;
    }
    
    .service-list li::before {
        width: 16px;
        height: 16px;
        font-size: 0.9rem;
        top: 6px;
    }
    
    /* Gallery Section */
    .gallery {
        padding: 40px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 20px;
    }
    
    .gallery-item {
        border-radius: 8px;
    }
    
    /* Testimonials Section */
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials-container {
        margin: 0 -5px;
        padding: 0 5px;
    }
    
    .testimonial-slide {
        padding: 15px 0;
    }
    
    .testimonial-card {
        padding: 15px 12px;
        margin-bottom: 12px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .testimonial-author {
        font-size: 0.95rem;
        margin-top: 12px;
    }
    
    /* Contact Section */
    .contact {
        padding: 50px 0;
    }
    
    .contact-content {
        gap: 20px;
        padding: 15px 0;
        margin: 0 -2px;
    }
    
    .contact-info {
        padding: 0 2px;
    }
    
    .contact-item {
        margin-bottom: 15px;
        padding: 12px;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 20px 15px;
        margin: 0 2px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 14px 12px;
        font-size: 16px;
        margin-bottom: 16px;
        min-height: 48px;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .contact-form label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .submit-btn {
        padding: 16px 25px;
        font-size: 16px;
        min-height: 48px;
        width: 100%;
    }
    
    /* FAQ Section */
    .faq {
        padding: 40px 0;
    }
    
    .faq-title-container {
        padding: 15px 12px;
        margin-bottom: 20px;
    }
    
    .faq-list {
        margin-top: 20px;
    }
    
    .faq-item {
        margin-bottom: 10px;
    }
    
    .faq-question {
        padding: 16px 15px;
        font-size: 0.95rem;
        min-height: 52px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        line-height: 1.4;
        padding-right: 25px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
        max-height: 600px;
    }
    
    .faq-answer {
        padding: 0 15px;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 20px;
        text-align: center;
        justify-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact p {
        text-align: center;
        color: white;
        font-weight: 600;
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
    
    .footer-social a {
        font-size: 1rem;
        padding: 6px;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 0.8rem;
        text-align: center;
    }
    
    /* Floating Buttons */
    .floating-buttons {
        left: 8px;
        bottom: 8px;
        gap: 6px;
    }
    
    .floating-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Tablet Screens - Enhanced Optimization */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Global Tablet Styles */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Header */
    .header {
        height: 90px;
        padding: 0 20px;
    }
    
    .main-nav {
        height: 90px;
    }
    
    .logo {
        height: 55px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .nav-utils .nav-link {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        font-size: 22px;
        padding: 8px;
    }
    
    .nav-list {
        padding: 20px;
    }
    
    .nav-item {
        padding: 15px 0;
        font-size: 16px;
    }
    
    /* Hero Section */
    .hero {
        padding: 70px 0 70px;
        min-height: 65vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .hero-text {
        padding: 25px 20px;
        order: 2;
    }
    
    .hero-carousel {
        height: 50vh;
        min-height: 320px;
        order: 1;
        margin-bottom: 25px;
    }
    
    .welcome-line-1 {
        font-size: 1.5rem;
    }
    
    .welcome-line-2 {
        font-size: 1.9rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }
    
    /* About Section */
    .about {
        margin: 30px 15px;
        padding: 50px 25px;
        border-width: 5px;
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 50px;
    }
    
    .doctor-card {
        min-height: 550px;
    }
    
    .doctor-image-container {
        height: 350px;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 40px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-image-container {
        height: 200px;
    }
    
    /* Testimonials Section */
    .testimonials {
        padding: 70px 0;
    }
    
    .testimonials-container {
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .testimonial-slide {
        gap: 15px;
        padding: 25px 0;
        display: flex;
        flex-direction: column;
    }
    
    .testimonial-center {
        margin-bottom: 20px;
        align-self: center;
        order: -1;
    }
    
    .testimonial-card {
        padding: 20px 18px;
        margin-bottom: 15px;
        margin-left: 8px;
        margin-right: 8px;
        width: calc(100% - 16px);
        order: 1;
    }
    
    .testimonial-card:last-child {
        order: 2;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-author {
        font-size: 1.1rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 70px 0;
    }
    
    .contact-content {
        gap: 20px;
        padding: 25px 0;
        margin: 0 -15px;
        display: flex;
        flex-direction: column;
    }
    
    .contact-info {
        padding: 0 15px;
        order: 1;
    }
    
    .contact-item {
        margin-bottom: 18px;
        padding: 18px;
    }
    
    .contact-form {
        padding: 25px 20px;
        margin: 0 15px;
        order: 2;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    /* FAQ Section */
    .faq {
        padding: 70px 0;
    }
    
    .faq-question {
        padding: 18px 25px;
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 25px 25px;
        max-height: 600px;
    }
    
    .faq-answer {
        padding: 0 25px;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        text-align: left;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.95rem;
    }
    
    .footer-social a {
        font-size: 1.2rem;
        padding: 10px;
    }
    
    .footer-logo-image {
        height: 45px;
        max-width: 110px;
    }
    
    /* Floating Buttons */
    .floating-buttons {
        left: 15px;
        bottom: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* Service Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 2001;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #22c55e;
    background: white;
    transform: scale(1.1);
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    display: block;
}

.modal-caption {
    padding: 30px;
    text-align: center;
    background: #f8fffe;
}

.modal-caption h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.modal-caption p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    color: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.floating-btn:hover::before {
    transform: translateX(100%);
}

.call-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    animation: subtlePulse 3s infinite;
}

.call-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: subtleBounce 3s infinite;
}

.whatsapp-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

@keyframes subtlePulse {
    0% {
        box-shadow: 0 2px 12px rgba(34, 197, 94, 0.15);
    }
    50% {
        box-shadow: 0 2px 12px rgba(34, 197, 94, 0.25), 0 0 0 4px rgba(34, 197, 94, 0.05);
    }
    100% {
        box-shadow: 0 2px 12px rgba(34, 197, 94, 0.15);
    }
}

@keyframes subtleBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-1px);
    }
}

/* Mobile responsiveness for floating buttons */
@media (max-width: 768px) {
    .floating-buttons {
        left: 12px;
        bottom: 12px;
        gap: 8px;
    }
    
    .floating-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Modal Mobile */
    .modal {
        padding: 20px 10px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 400px;
        margin: 5% auto;
        padding: 20px;
        border-radius: 15px;
    }
    
    .modal-content img {
        max-height: 60vh;
        border-radius: 10px;
    }
    
    .close {
        font-size: 28px;
        top: 10px;
        right: 15px;
    }
    
    .modal-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .modal-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Loading Screen Mobile */
    .loading-screen {
        padding: 20px;
    }
    
    .loading-logo-image {
        height: 80px;
        max-width: 200px;
    }
    
    .loading-text {
        font-size: 1.2rem;
        margin-top: 20px;
    }
    
    /* Carousel Mobile */
    .carousel-container {
        height: 45vh;
        min-height: 280px;
    }
    
    .carousel-slide img {
        object-fit: cover;
        height: 100%;
    }
    
    .carousel-nav {
        bottom: 15px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 20px;
    }
    
    .gallery-item {
        border-radius: 10px;
        overflow: hidden;
    }
    
    .gallery-item img {
        height: 150px;
        object-fit: cover;
    }
    
    /* SVG Effects Mobile */
    .wavy-background,
    .mountain-background,
    .contact-wavy-bg,
    .contact-wavy-bg-2,
    .contact-wavy-bg-3,
    .contact-wavy-bg-4,
    .contact-wavy-bg-5 {
        opacity: 0.2;
    }
    
    .title-wavy-bg {
        opacity: 0.3;
    }
    
    /* FAQ Title Container Mobile */
    .faq-title-container {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .faq-title-container .section-title {
        font-size: 1.6rem;
        margin-bottom: 0;
    }
    
    /* Touch Optimizations */
    .nav-link,
    .mobile-menu-toggle,
    .floating-btn,
    .submit-btn,
    .faq-question,
    .service-image,
    .gallery-item {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
    }
    
    /* Smooth Scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent Horizontal Scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Better Button Sizes for Touch */
    .submit-btn {
        min-height: 48px;
        min-width: 120px;
    }
    
    .faq-question {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Improved Form Inputs */
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
        border: 2px solid #e5e7eb;
        transition: border-color 0.3s ease;
    }
    
    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        border-color: #3b82f6;
        outline: none;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }
    
    /* Performance Optimizations */
    .hero-carousel,
    .carousel-slide,
    .modal,
    .floating-buttons {
        will-change: transform;
    }
    
    /* Reduced Motion for Better Performance */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes welcomeSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes welcomeBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-10px);
    }
    70% {
        transform: scale(0.95) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes welcomeShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes welcomeUnderline {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes emergencyShimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes faqShimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* Make service images clickable */
.service-image {
    cursor: pointer;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.service-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.doctors-carousel {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #22c55e rgba(34, 197, 94, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.doctors-carousel::-webkit-scrollbar {
    height: 8px;
}

.doctors-carousel::-webkit-scrollbar-track {
    background: rgba(34, 197, 94, 0.1);
    border-radius: 10px;
}

.doctors-carousel::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 10px;
}

.doctors-carousel::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}

.doctors-track {
    display: flex;
    gap: 24px;
    width: max-content;
}

.doctors-carousel .doctor-card {
    flex: 0 0 300px;
    max-width: 300px;
    min-height: 480px;
}

.doctors-carousel .doctor-image-container {
    height: 260px;
    padding: 8px;
    box-sizing: border-box;
}

.doctors-carousel .doctor-image-container img {
    object-fit: contain;
    object-position: center;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.doctors-carousel .doctor-details {
    padding: 20px;
}

.doctors-carousel .doctor-bio {
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .doctors-carousel .doctor-card {
        flex: 0 0 260px;
        max-width: 260px;
    }

    .doctors-carousel .doctor-image-container {
        height: 240px;
        padding: 8px;
    }
    
    .doctors-carousel .doctor-image-container img {
        object-fit: contain;
        object-position: center;
        background: linear-gradient(135deg, #f8fafc, #f1f5f9);
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .doctors-track {
        gap: 16px;
    }

    .doctors-carousel {
        padding: 20px 10px 15px;
        margin: 0 -10px;
    }

    .doctors-carousel::-webkit-scrollbar {
        height: 6px;
    }

    .doctors-carousel .doctor-card {
        flex: 0 0 calc(85vw - 40px);
        max-width: calc(85vw - 40px);
        min-width: 280px;
    }

    .doctors-carousel .doctor-image-container {
        height: 240px;
        padding: 8px;
    }
    
    .doctors-carousel .doctor-image-container img {
        object-fit: contain;
        object-position: center;
        background: linear-gradient(135deg, #f8fafc, #f1f5f9);
        border-radius: 8px;
    }

    .doctors-carousel .doctor-details {
        padding: 18px 15px;
    }
    
    .doctors-carousel .doctor-name {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .doctors-carousel .doctor-bio {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .doctors-carousel {
        padding: 20px 8px 15px;
        margin: 0 -8px;
    }

    .doctors-carousel::-webkit-scrollbar {
        height: 5px;
    }

    .doctors-carousel .doctor-card {
        flex: 0 0 calc(90vw - 30px);
        max-width: calc(90vw - 30px);
        min-width: 260px;
        min-height: 450px;
    }

    .doctors-carousel .doctor-image-container {
        height: 220px;
        padding: 8px;
    }
    
    .doctors-carousel .doctor-image-container img {
        object-fit: contain;
        object-position: center;
        background: linear-gradient(135deg, #f8fafc, #f1f5f9);
        border-radius: 8px;
    }
    
    .doctors-carousel .doctor-details {
        padding: 15px 12px;
    }
    
    .doctors-carousel .doctor-name {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .doctors-carousel .doctor-bio {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .doctors-track {
        gap: 12px;
    }
}

.doctor-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.doctor-modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 800px;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
    padding: 30px;
}

.doctor-modal-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: center;
}

.doctor-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.doctor-modal-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1f2937;
}

.doctor-modal-specialty {
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 8px;
}

.doctor-modal-experience {
    font-weight: 500;
    color: #3b82f6;
    margin-bottom: 20px;
}

.doctor-modal-bio {
    color: #4b5563;
    line-height: 1.6;
}

.doctor-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 2001;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.doctor-modal-close:hover {
    color: #22c55e;
    background: white;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .doctor-modal-content {
        padding: 20px;
    }

    .doctor-modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.announcement-ticker {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    color: #f0fdf4;
    overflow: hidden;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: tickerMove 25s linear infinite;
}

.ticker-group {
    display: flex;
    gap: 60px;
    padding-right: 60px;
}

.ticker-item {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item::before {
    content: '\f0fb';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
    color: #bbf7d0;
}

.announcement-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes tickerMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .announcement-ticker {
        padding: 12px 0;
    }
    
    .ticker-group {
        gap: 35px;
        padding-right: 35px;
    }

    .ticker-item {
        font-size: 0.9rem;
        padding: 2px 0;
    }
    
    .ticker-item::before {
        font-size: 0.8rem;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .announcement-ticker {
        padding: 8px 0;
    }

    .ticker-track {
        animation-duration: 18s;
    }

    .ticker-group {
        gap: 20px;
        padding-right: 20px;
    }

    .ticker-item {
        font-size: 0.8rem;
    }
}

.emergency-btn {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    animation: subtlePulse 3s infinite;
}

.emergency-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35);
}


