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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: #2E5582;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.nav-logo p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-link:hover {
    color: #2E5582;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E5582;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #2E5582;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 4rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.3rem;
        margin: 0.5rem 0;
        padding: 0.8rem 1.5rem;
        text-align: center;
        width: 100%;
        max-width: 280px;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
        background: transparent;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(46, 85, 130, 0.1);
        transform: translateX(10px);
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    .nav-menu .nav-link:hover::before {
        content: '→';
        position: absolute;
        left: 20px;
        color: #2E5582;
        font-weight: bold;
        transition: all 0.3s ease;
    }
    
    /* Overlay for mobile menu */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(46, 85, 130, 0.05) 0%, rgba(135, 206, 250, 0.05) 100%);
        z-index: -1;
    }
    
    /* Logo adjustments for mobile */
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-logo p {
        font-size: 0.8rem;
    }
}

/* Extra small mobile devices - further spacing adjustments */
@media (max-width: 480px) {
    .nav-menu {
        padding: 3.5rem 1.5rem 1.5rem;
    }
    
    .nav-menu .nav-link {
        font-size: 1.2rem;
        margin: 0.4rem 0;
        padding: 0.7rem 1.2rem;
        max-width: 260px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .nav-menu {
        padding: 3rem 1rem 1rem;
    }
    
    .nav-menu .nav-link {
        font-size: 1.1rem;
        margin: 0.3rem 0;
        padding: 0.6rem 1rem;
        max-width: 240px;
    }
    
    .nav-logo p {
        font-size: 0.7rem;
        line-height: 1.3;
    }
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-container {
    width: 100%;
    margin: 0;
    padding: 0 0 0 60px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: calc(100vh - 80px);
}

.hero-content {
    max-width: 500px;
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
}

.hero-subtitle-main {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #87CEFA;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.btn-primary {
    background: #fff;
    color: #2E5582;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-outline {
    background: transparent;
    color: #2E5582;
    border: 2px solid #2E5582;
}

.btn-outline:hover {
    background: #2E5582;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(46, 85, 130, 0.3);
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.info-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.info-item span {
    font-size: 1rem;
    line-height: 1.6;
    white-space: nowrap;
}

.info-note {
    align-items: flex-start;
    padding: 0.75rem 0;
    opacity: 0.9;
}

.info-note span {
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: normal;
    font-style: italic;
}

.location-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-link:hover {
    color: #87CEFA;
    text-decoration: underline;
}

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

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.emergency-btn {
    background: #ff4757;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: #ff3742;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
}


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

.section-header h2 {
    font-size: 2.5rem;
    color: #2E5582;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    white-space: nowrap;
    text-align: center;
    padding: 0 1rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f8fafc;
}

/* Scrolling Banner */
.about-banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.banner-slides {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.banner-slide {
    min-width: 100%;
    background: rgba(135, 206, 250, 0.1);
    padding: 3rem;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(100%);
    z-index: 1;
    visibility: hidden;
}

.banner-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    z-index: 2;
    visibility: visible;
}

/* Banner Navigation Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(46, 85, 130, 0.9);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-arrow:hover {
    background: rgba(46, 85, 130, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.banner-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.banner-arrow i {
    font-size: 1rem;
    color: white;
}

.banner-arrow-left {
    left: 20px;
}

.banner-arrow-right {
    right: 20px;
}

@media (max-width: 768px) {
    .banner-arrow {
        width: 35px;
        height: 35px;
    }
    
    .banner-arrow i {
        font-size: 0.9rem;
    }
    
    .banner-arrow-left {
        left: 10px;
    }
    
    .banner-arrow-right {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .banner-arrow {
        width: 30px;
        height: 30px;
    }
    
    .banner-arrow i {
        font-size: 0.8rem;
    }
    
    .banner-arrow-left {
        left: 5px;
    }
    
    .banner-arrow-right {
        right: 5px;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    opacity: 1;
    transform: translateX(0);
    transition: none;
}

.about-text.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.doctor-info h3 {
    font-size: 2rem;
    color: #2E5582;
    margin-bottom: 0.5rem;
}

.qualifications {
    color: #666;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.specialization {
    color: #2E5582;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.bio {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.achievements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.achievement i {
    font-size: 2rem;
    color: #2E5582;
    width: 60px;
    height: 60px;
    background: rgba(46, 85, 130, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement h4 {
    color: #333;
    margin-bottom: 0.3rem;
}

.achievement p {
    color: #666;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-photo {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 4px solid #2E5582;
    opacity: 1;
    transform: translateX(0);
}

.doctor-photo.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.doctor-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Meet Doctor Content Layout */
.meet-doctor-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.doctor-header {
    text-align: center;
    margin-bottom: 2rem;
}

.doctor-header h3 {
    font-size: 2.5rem;
    color: #2E5582;
    margin-bottom: 2rem;
    font-weight: 700;
}

.doctor-image-section {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.doctor-photo-meet {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #2E5582;
    transition: all 0.3s ease;
}

.doctor-photo-meet:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.doctor-header .qualifications {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.doctor-header .specialization {
    color: #2E5582;
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.doctor-bio-content {
    text-align: left;
}

.doctor-bio-content .bio {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

/* Insurance Content */
.insurance-content {
    text-align: center;
    padding: 2rem 0;
    opacity: 1;
    transform: translateX(0);
}

.insurance-header h3 {
    color: #2E5582;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.insurance-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.insurance-marquee {
    background: linear-gradient(135deg, #2E5582, #1a4a73);
    color: white;
    padding: 1.5rem 0;
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    margin-right: 2rem;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.insurance-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 2.5rem;
    color: #2E5582;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #2E5582;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.insurance-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.gallery-image-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

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

.insurance-gallery .gallery-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

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

/* Banner Navigation */
.banner-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #2E5582;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: #2E5582;
    transform: scale(1.1);
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #A67B5B 0%, #8B6B47 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

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

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.services-text.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.services-text h3 {
    font-size: 2rem;
    color: #2E5582;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.services-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.services-text ul {
    list-style: none;
}

.services-text li {
    padding: 0.8rem 0;
    color: #666;
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2E5582;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 0.5rem;
}


.service-card:hover {
    background: #f1f5f9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.service-card h4 {
    color: #2E5582;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.service-card p {
    color: #666;
    line-height: 1.4;
    font-size: 0.85rem;
    margin: 0;
}

.services-images {
    position: relative;
    height: fit-content;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.services-images.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.image-collage {
    position: relative;
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 1rem;
}

.collage-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.collage-item.fade-in {
    opacity: 1;
    transform: scale(1);
}

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

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

.collage-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Collage positioning */
.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    animation-delay: 0.1s;
}

.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    animation-delay: 0.2s;
}

.item-3 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    animation-delay: 0.3s;
}

.item-4 {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    animation-delay: 0.4s;
}

.item-5 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    animation-delay: 0.5s;
}

.item-6 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    animation-delay: 0.6s;
}

.item-7 {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
    animation-delay: 0.7s;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    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: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2E5582 0%, #1a4a73 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
}

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

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

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: white;
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

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

.author-info h4 {
    color: #2E5582;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.2rem;
}

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

/* Years Experience Highlighting Effect */
.stat:last-child .stat-number {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

.stat:last-child .stat-number:hover {
    transform: scale(1.1);
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.stat:last-child .stat-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.stat:last-child .stat-number:hover::before {
    opacity: 0.3;
}

.stat:last-child .stat-number::after {
    content: '⭐';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    animation: sparkle 1.5s infinite;
}

.stat:last-child .stat-number:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

@keyframes pulse-glow {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 25px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

/* Testimonials CTA - Center the Google Reviews Button */
.testimonials-cta {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-content {
    text-align: center;
    width: 100%;
}

.cta-content h3 {
    color: #2E5582;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cta-content p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonials-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.testimonials-cta .btn i {
    font-size: 1.1rem;
}

.testimonials-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 85, 130, 0.3);
}

/* Rating Section */
.rating-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

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

.rating-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.stat-stars {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
}

.stat-stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.faq-item.active .faq-question {
    background: rgba(135, 206, 250, 0.2);
    border-radius: 8px;
}

.faq-question h3 {
    color: #2E5582;
    font-size: 1.2rem;
    font-weight: 600;
}

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

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

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

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #1e293b;
    line-height: 1.6;
    font-weight: 500;
}

/* Emergency Contact Section */
.emergency-contact {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    visibility: visible;
    display: block;
    position: relative;
    z-index: 1;
}

.emergency-contact h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.emergency-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.emergency-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.emergency-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.emergency-icon i {
    font-size: 1.2rem;
    color: white;
}

.emergency-content h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.emergency-content p {
    margin: 0;
}

.emergency-content a {
    color: #ffd700;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.emergency-content a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2E5582, transparent);
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    overflow: visible;
}

/* Contact Information Card */
.contact-info-card {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(46, 85, 130, 0.2);
    transition: all 0.3s ease;
    max-width: 600px;
    width: 100%;
}

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

.contact-info-card h3 {
    color: #2E5582;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: left;
}

.contact-detail-row:last-child {
    border-bottom: none;
}

.contact-detail-row:hover {
    background: #f8fafc;
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    flex-direction: column;
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left-color: #2E5582;
}

/* Contact Detail Row Styles */
.contact-detail-row .contact-icon {
    width: 40px;
    height: 40px;
    background: #2E5582;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(46, 85, 130, 0.3);
}

.contact-detail-row .contact-icon i {
    font-size: 1rem;
    color: white;
}

.contact-detail-row .contact-content h4 {
    color: #2E5582;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
    text-align: left;
}

.contact-detail-row .contact-content p {
    color: #000000;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
    text-align: left;
}

.contact-detail-row .contact-content {
    text-align: left;
    flex: 1;
}

.contact-detail-row .contact-content a {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: left;
}

.contact-detail-row .contact-content a:hover {
    color: #2E5582 !important;
    text-decoration: underline;
}

/* Legacy contact-item styles for backward compatibility */
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left-color: #2E5582;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #2E5582;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(46, 85, 130, 0.3);
    margin-bottom: 0.5rem;
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-content h3 {
    color: #2E5582;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.contact-content p {
    color: #000000;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

.contact-content a {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-content a:hover {
    color: #2E5582 !important;
    text-decoration: underline;
}


.working-hours {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(46, 85, 130, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(46, 85, 130, 0.1);
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.working-hours::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2E5582, #87CEFA, #2E5582);
}

.working-hours h3 {
    color: #2E5582;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 1rem;
}

.working-hours h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2E5582, transparent);
    border-radius: 2px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
}

.hours-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(46, 85, 130, 0.2);
    box-shadow: 0 4px 12px rgba(46, 85, 130, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.hours-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2E5582, #87CEFA);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hours-item:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateX(8px) translateY(-2px);
    border-color: rgba(46, 85, 130, 0.3);
    box-shadow: 0 8px 20px rgba(46, 85, 130, 0.15), 0 4px 8px rgba(0, 0, 0, 0.08);
}

.hours-item:hover::before {
    opacity: 1;
}

.hours-item .day {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
    line-height: 1.7;
    width: 100%;
    letter-spacing: 0.2px;
    text-align: center;
}

.hours-address .day {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hours-item .time {
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
}

.hours-address {
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border-color: rgba(46, 85, 130, 0.2);
    text-align: center;
}

.hours-address::before {
    background: linear-gradient(180deg, #87CEFA, #2E5582);
}

.hours-address i {
    color: #2E5582;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hours-address:hover i {
    color: #87CEFA;
    transform: scale(1.1);
}

.hours-location-link {
    color: #2E5582;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.hours-location-link:hover {
    color: #1a4a73;
    text-decoration: underline;
    transform: translateX(3px);
}

.hours-address .day {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hours-address .day a {
    text-align: center;
}

.emergency-info {
    background: linear-gradient(135deg, #2E5582 0%, #1a4a73 50%, #2E5582 100%);
    color: white;
    padding: 1.75rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 8px 30px rgba(46, 85, 130, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.emergency-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.emergency-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(46, 85, 130, 0.5), 0 6px 16px rgba(0, 0, 0, 0.2);
}

.emergency-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.emergency-info:hover .emergency-icon {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1) rotate(5deg);
}

.emergency-icon i {
    font-size: 1.3rem;
    color: white;
    transition: all 0.3s ease;
}

.emergency-text {
    position: relative;
    z-index: 1;
}

.emergency-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.emergency-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.contact-cta {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-cta h3 {
    color: #2E5582;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.contact-cta p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #2E5582, #1a4a73);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(46, 85, 130, 0.3);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 85, 130, 0.4);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #2E5582;
    border: 2px solid #2E5582;
}

.cta-buttons .btn-secondary:hover {
    background: #2E5582;
    color: white;
    transform: translateY(-2px);
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Hours and QR Container */
.hours-qr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem auto;
    align-items: stretch;
    max-width: 100%;
    width: 100%;
}

/* QR Code Section */
.qr-section {
    margin: 0;
    display: flex;
    justify-content: center;
    flex: 1;
}

.qr-container {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    text-align: center;
    border: 2px solid rgba(46, 85, 130, 0.2);
    width: 100%;
    height: auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.qr-container:hover {
    box-shadow: 0 15px 50px rgba(46, 85, 130, 0.15);
    border-color: #2E5582;
    transform: translateY(-2px);
}

.qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
}

.qr-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 3px solid #ffffff;
    background: #ffffff;
}

.qr-image:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(46, 85, 130, 0.25);
    border-color: #2E5582;
}

.qr-caption h3 {
    color: #2E5582;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.qr-caption p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2E5582, #1a4a73, #2E5582);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Hospital Info Section */
.hospital-info {
    max-width: 400px;
}

.hospital-brand h3 {
    color: #87CEFA;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hospital-tagline {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.hospital-subtitle {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hospital-description {
    margin-bottom: 2rem;
}

.hospital-description p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer Address with Google Maps Link */
.footer-address {
    margin: 1.5rem 0;
}

.google-maps-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(46, 85, 130, 0.2);
    background: rgba(46, 85, 130, 0.1);
}

.google-maps-link:hover {
    color: #87CEFA;
    background: rgba(46, 85, 130, 0.2);
    border-color: rgba(46, 85, 130, 0.4);
    transform: translateX(5px);
}

.google-maps-link i {
    font-size: 1.2rem;
    color: #ffd700;
    flex-shrink: 0;
}

.google-maps-link:hover i {
    color: #87CEFA;
}

.google-maps-link span {
    flex: 1;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(46, 85, 130, 0.2);
    border: 1px solid rgba(46, 85, 130, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2E5582;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 85, 130, 0.4);
}

.social-link i {
    font-size: 1rem;
}

/* Footer Sections */
.footer-section h4 {
    color: #87CEFA;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ffd700;
}

/* Contact Information */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(46, 85, 130, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-icon i {
    color: #87CEFA;
    font-size: 0.9rem;
}

.contact-text h5 {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-text p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.contact-text a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #87CEFA;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.services-list a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    position: relative;
}

.services-list a:hover {
    color: #87CEFA;
    padding-left: 0.5rem;
}

.services-list a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.services-list a:hover::before {
    opacity: 1;
    left: -10px;
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quick-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    position: relative;
}

.quick-links a:hover {
    color: #87CEFA;
    padding-left: 0.5rem;
}

.quick-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.quick-links a:hover::before {
    opacity: 1;
    left: -10px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(46, 85, 130, 0.3);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #87CEFA;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
}

.contact-item i {
    font-size: 1.2rem;
    color: #2E5582;
    margin-top: 0.2rem;
    width: 20px;
}

.contact-item h4 {
    color: #2E5582;
    margin-bottom: 0.3rem;
    font-size: 1rem;
    text-align: center;
}

.contact-item p {
    color: #000000;
    line-height: 1.5;
    text-align: center;
}

.contact-item a {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2E5582;
}

.working-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #34495e;
}

.hours-item span:first-child {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.hours-item span:last-child {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.emergency-hours {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    border-left: 4px solid #2E5582;
}

.emergency-hours h4 {
    color: #2E5582;
    margin-bottom: 0.5rem;
}

.emergency-hours p {
    color: #bdc3c7;
    font-weight: 500;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quick-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
}

.quick-links a:hover {
    color: #2E5582;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }

    .hero-video-background {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    .hero-video-background video {
        opacity: 0.4;
    }

    .hero-container {
        justify-content: center;
        text-align: center;
        padding: 2rem 20px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin-left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
        text-transform: none;
        white-space: nowrap;
    }

    .hero-subtitle-main {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .achievements {
        align-items: center;
    }

    .doctor-photo {
        width: 250px;
        height: 320px;
    }

    .banner-slide {
        padding: 2rem;
    }

    .doctor-header h3 {
        font-size: 2rem;
    }

    .doctor-photo-meet {
        width: 180px;
        height: 220px;
    }

    .doctor-header .qualifications {
        font-size: 1rem;
    }

    .doctor-header .specialization {
        font-size: 1.1rem;
    }

    .doctor-bio-content .bio {
        font-size: 0.95rem;
        text-align: left;
    }

    .insurance-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .insurance-header h3 {
        font-size: 1.5rem;
    }

    .marquee-content span {
        font-size: 0.9rem;
        margin-right: 1.5rem;
    }

    .insurance-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 1rem 0;
    }

    .gallery-image-item {
        border-radius: 12px;
    }

    .services-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-text {
        text-align: center;
    }

    .services-list {
        gap: 0.8rem;
    }

    .service-card {
        padding: 0.8rem;
    }

    .service-card h4 {
        font-size: 0.95rem;
    }

    .service-card p {
        font-size: 0.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hours-qr-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        width: 100%;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .working-hours {
        padding: 2rem;
    }

    .contact-cta {
        padding: 2rem;
    }

    .contact-cta h3 {
        font-size: 1.5rem;
    }

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

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

    .qr-container {
        padding: 2rem;
        max-width: 100%;
        border-radius: 16px;
    }

    .qr-image {
        width: 100%;
        max-width: 380px;
        height: auto;
        border-radius: 12px;
    }

    .qr-caption h3 {
        font-size: 1.2rem;
    }

    .services-images {
        height: fit-content;
    }

    .image-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 12px;
        padding: 1rem;
        height: fit-content;
    }

    .collage-item {
        border-radius: 12px;
    }

    .collage-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    /* Mobile positioning for all 7 images */
    .item-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .item-2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .item-3 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .item-4 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .item-5 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .item-6 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .item-7 {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .services-images {
        height: fit-content;
    }

    .image-collage {
        gap: 8px;
        padding: 0.5rem;
        height: fit-content;
    }

    .collage-item {
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .collage-image {
        border-radius: 8px;
    }

    .item-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .item-2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .item-3 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .item-4 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .item-5 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .item-6 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .item-7 {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .rating-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-detail-row {
        padding: 1.2rem 0;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1rem;
    }

    .contact-detail-row .contact-icon {
        flex-shrink: 0;
    }

    .contact-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-icon {
        align-self: center;
    }

    .working-hours {
        padding: 1.5rem;
    }

    .contact-cta {
        padding: 1.5rem;
    }

    .contact-cta h3 {
        font-size: 1.3rem;
    }

    .contact-cta p {
        font-size: 1rem;
    }

    .qr-container {
        padding: 1.75rem;
        max-width: 100%;
        border-radius: 14px;
    }

    .qr-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 10px;
    }

    .qr-caption h3 {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        text-transform: none;
        white-space: normal;
    }
    
    .info-item {
        gap: 1rem;
        align-items: flex-start;
        font-size: 0.95rem;
    }
    
    .info-item i {
        font-size: 1.1rem;
        margin-top: 0.2rem;
        flex-shrink: 0;
    }
    
    .info-item span {
        white-space: normal;
        font-size: 0.9rem;
        line-height: 1.5;
        flex: 1;
    }

    .hero-subtitle-main {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .rating-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .doctor-photo {
        width: 200px;
        height: 260px;
    }

    .banner-slide {
        padding: 1.5rem;
    }

    .insurance-header h3 {
        font-size: 1.3rem;
    }

    .insurance-header p {
        font-size: 1rem;
    }

    .marquee-content span {
        font-size: 0.8rem;
        margin-right: 1rem;
    }

    .feature-item {
        padding: 1.2rem;
    }

    .feature-item i {
        font-size: 2rem;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .doctor-header h3 {
        font-size: 1.8rem;
    }

    .doctor-photo-meet {
        width: 160px;
        height: 200px;
    }

    .doctor-header .qualifications {
        font-size: 0.95rem;
    }

    .doctor-header .specialization {
        font-size: 1rem;
    }

    .doctor-bio-content .bio {
        font-size: 0.9rem;
        line-height: 1.6;
    }

}

/* Mobile responsive styles for Years Experience highlighting */
@media (max-width: 480px) {
    .stat:last-child .stat-number:hover {
        transform: scale(1.05);
    }

    .stat:last-child .stat-number::after {
        font-size: 1rem;
        top: -8px;
        right: -8px;
    }
}

/* Mobile responsive styles for Emergency Contact */
@media (max-width: 768px) {
    .emergency-contact {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .emergency-contact h3 {
        font-size: 1.3rem;
    }

    .emergency-numbers {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .emergency-item {
        padding: 1.2rem;
    }

    .emergency-content a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .emergency-contact {
        padding: 1.2rem;
        margin: 1rem 0;
    }

    .emergency-contact h3 {
        font-size: 1.2rem;
    }

    .emergency-item {
        padding: 1rem;
    }

    .emergency-content a {
        font-size: 0.95rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.service-card,
.testimonial-card,
.gallery-item {
    transition: all 0.3s ease;
}

/* Service Card Highlighting */
.service-card.highlighted {
    background: linear-gradient(135deg, #87CEFA 0%, #e0f2fe 100%);
    border: 2px solid #2E5582;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(46, 85, 130, 0.3);
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(46, 85, 130, 0.3);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(46, 85, 130, 0.3);
    }
}
.faq-question:focus {
    outline: 2px solid #2E5582;
    outline-offset: 2px;
}

/* Comprehensive Mobile Optimization */
@media (max-width: 768px) {
    /* Container and Layout */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Header Mobile Optimization */
    .header {
        padding: 0.5rem 0;
        height: auto;
        min-height: 50px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
        margin-bottom: 0.1rem;
    }
    
    .nav-logo p {
        font-size: 0.8rem;
    }
    
    
    /* Hero Section Mobile */
    .hero {
        padding: 6rem 0 4rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle-main {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 44px; /* Touch target size */
    }
    
    .info-item {
        gap: 1rem;
        align-items: flex-start;
        font-size: 0.95rem;
    }
    
    .info-item i {
        font-size: 1.1rem;
        margin-top: 0.2rem;
        flex-shrink: 0;
    }
    
    .info-item span {
        white-space: normal;
        font-size: 0.9rem;
        line-height: 1.5;
        flex: 1;
    }
    
    .info-note {
        padding: 0.5rem 0;
    }
    
    .info-note span {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* About Banner Mobile */
    .about-banner {
        min-height: 400px;
        margin: 2rem 0;
    }
    
    .banner-slide {
        padding: 2rem 1.5rem;
        min-height: 400px;
    }
    
    .banner-slide h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .banner-slide p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .banner-navigation {
        margin-top: 1rem;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    /* Services Mobile */
    .services-list {
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Contact Section Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-info-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .contact-info-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .contact-details-list {
        gap: 0;
    }
    
    .contact-detail-row {
        padding: 1.2rem 0;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1rem;
    }

    .contact-detail-row .contact-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-detail-row .contact-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .contact-detail-row .contact-icon {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
    
    .contact-detail-row .contact-icon i {
        font-size: 0.9rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-content p {
        font-size: 0.9rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    /* Hours and QR Container Mobile */
    .hours-qr-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        width: 100%;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .working-hours {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .working-hours h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hours-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .hours-item .day {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .hours-item .time {
        font-size: 0.85rem;
        color: #2E5582;
    }
    
    .qr-section {
        display: flex;
        justify-content: center;
    }
    
    .qr-container {
        padding: 2rem;
        min-height: auto;
        text-align: center;
        border-radius: 16px;
    }
    
    .qr-image {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 0 auto;
        border-radius: 12px;
    }
    
    .qr-caption h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .qr-caption p {
        font-size: 0.8rem;
    }
    
    /* Emergency Contact Mobile */
    .emergency-contact {
        padding: 1.5rem;
        margin: 0;
    }
    
    .emergency-contact h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .emergency-numbers {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .emergency-item {
        padding: 1.2rem;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .emergency-icon {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
    
    .emergency-icon i {
        font-size: 0.9rem;
    }
    
    .emergency-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .emergency-content p {
        font-size: 0.85rem;
        margin: 0;
    }
    
    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .author-info h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
    
    .rating {
        margin-top: 0.5rem;
    }
    
    .rating i {
        font-size: 0.9rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* FAQ Mobile */
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .faq-answer {
        padding: 0 1rem;
        max-height: 0;
        overflow: hidden;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
        max-height: 200px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hospital-brand h3 {
        font-size: 1.5rem;
    }
    
    .hospital-tagline {
        font-size: 1rem;
    }
    
    .hospital-subtitle {
        font-size: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .services-list a,
    .quick-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    /* Button Mobile Optimization */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch target size */
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Touch-friendly interactions */
    .service-card,
    .testimonial-card,
    .contact-item,
    .faq-question {
        min-height: 44px;
        cursor: pointer;
    }
    
    /* Improved spacing */
    .section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
        white-space: normal;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    
    .header {
        padding: 0.3rem 0;
        min-height: 45px;
    }
    
    .nav-logo h2 {
        font-size: 1.1rem;
    }
    
    .nav-logo p {
        font-size: 0.7rem;
    }
}

/* Print styles */
@media print {
    .header,
    .hero-buttons {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
    }
    
    .section-header h2 {
        color: black;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .contact-info-card {
        padding: 1rem;
    }
    
    .contact-detail-row {
        padding: 1rem 0;
        gap: 0.8rem;
        text-align: left;
        align-items: flex-start;
    }

    .contact-detail-row .contact-icon {
        width: 30px;
        height: 30px;
    }

    .contact-detail-row .contact-icon i {
        font-size: 0.8rem;
    }

    .contact-detail-row .contact-content h4 {
        font-size: 0.9rem;
    }

    .contact-detail-row .contact-content p {
        font-size: 0.8rem;
    }
    
    .emergency-contact {
        padding: 1rem;
    }
    
    .emergency-item {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .emergency-icon {
        width: 30px;
        height: 30px;
    }
    
    .emergency-icon i {
        font-size: 0.8rem;
    }
    
    .working-hours {
        padding: 1rem;
    }
    
    .qr-container {
        padding: 1rem;
    }
    
    .qr-image {
        width: 120px;
        height: 120px;
    }
}
