/* ========================================
   SYNERGY MULTISPECIALITY HOSPITAL
   Premium Light Theme - Blue & Green Accent
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0057B8;      /* Deep Medical Blue */
    --secondary: #0EA5E9;    /* Sky Blue */
    --accent: #00A99D;       /* Hospital Green */

    --text-dark: #0F172A;
    --text-light: #64748B;

    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-light: #F0F9FF;

    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(0, 87, 184, 0.12);

    --shadow: 0 20px 35px -12px rgba(0, 87, 184, 0.12);
    --radius: 28px;
    --transition-smooth: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                         box-shadow 0.35s ease,
                         background 0.3s ease;
}

body {
    background: linear-gradient(145deg, #ffffff 0%, #f5fafe 100%);
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3, h4, .logo-text, .nav-link, .btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

* {
    transition: var(--transition-smooth);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

/* Section Backgrounds */
#about,
#doctors,
#gallery {
    background: #FFFFFF;
}

#specialities,
#appointment,
#faq {
    background: #F8FAFC;
}

/* Typography */
.section-title {
    font-size: 3.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title .accent {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* Glass Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.8s;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 80px rgba(0, 87, 184, 0.15);
    border-color: var(--secondary);
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: #0057B8;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 87, 184, 0.3);
}

.btn-primary:hover {
    background: #004494;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 87, 184, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Top Bar */
.top-bar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-dark);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-left i, .top-right i {
    margin-right: 8px;
    color: var(--primary);
}

.top-right {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.top-right a {
    color: var(--text-dark);
    text-decoration: none;
}

.lang {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.datetime {
    font-family: monospace;
    letter-spacing: 1px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 5px 30px rgba(0, 87, 184, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hospital-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 4px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 87, 184, 0.12);
}

.logo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.logo-accent {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.logo-hospital {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 4px;
    line-height: 1;
}

.logo i {
    display: none;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 22px;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-emergency-nav {
    background: #E53935;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-emergency-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(229, 57, 53, 0.4);
}

.nav-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(rgba(0, 45, 98, 0.75), rgba(0, 45, 98, 0.55)),
                url('./assets/images/gallery/SynergyHospital.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at right top, rgba(0, 87, 184, 0.25), transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 70px;
    padding-bottom: 80px;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.accent {
    color: var(--secondary);
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
    padding: 24px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 280px;
    box-shadow: var(--shadow);
}

.stat-item {
    text-align: center;
    min-width: 90px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    color: var(--primary);
}

.rating-star {
    color: var(--primary);
}

.rating-star i {
    font-size: 1rem;
    margin-left: 4px;
}

/* Impact Section */
.impact-section {
    background: var(--bg-secondary);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.impact-card {
    padding: 32px 20px;
    text-align: center;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 87, 184, 0.12);
}

.impact-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.impact-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: 4px;
}

.rating-number {
    font-size: 3rem;
    color: var(--primary);
}

.impact-star {
    font-size: 1.8rem;
    color: var(--primary);
    margin-left: 5px;
}

.impact-card p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 12px 0 8px;
    color: var(--text-dark);
}

.impact-card small {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Appointment Section */
.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.appointment-info, .appointment-form {
    padding: 40px;
}

.appointment-info h2 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: var(--primary);
}

.appointment-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.appointment-info p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.checklist {
    list-style: none;
}

.checklist li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.checklist i {
    color: var(--primary);
}

.appointment-form h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-dark);
}

.appointment-form input, .appointment-form select {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: rgba(0, 87, 184, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-dark);
    font-size: 1rem;
}

.appointment-form input:focus, .appointment-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Specialities Section */
.specialities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.speciality-card {
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
}

.speciality-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0, 87, 184, 0.15), 0 0 80px rgba(0, 87, 184, 0.1);
}

.speciality-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.speciality-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: cover;
}

.about-content h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.about-content h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content p {
    margin-bottom: 24px;
    color: var(--text-light);
}

.about-features {
    list-style: none;
    margin-bottom: 30px;
}

.about-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.about-features i {
    color: var(--primary);
}

/* Doctors Section */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.doctor-card {
    padding: 30px 20px;
    text-align: center;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
}

.doctor-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 0 30px rgba(0, 87, 184, 0.15), 0 0 80px rgba(0, 87, 184, 0.1);
}

.doctor-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--primary);
}

.doctor-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.doctor-title {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 5px;
}

.doctor-qual {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.doctor-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    background: var(--bg-light);
    padding: 8px;
    border-radius: 40px;
}

.doctor-stats i {
    color: var(--primary);
}

.btn-book-doctor {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.btn-book-doctor:hover {
    background: var(--primary);
    color: white;
}

.view-all-doctors {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.btn-view-all:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 87, 184, 0.4);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: white;
    transform: translateY(100%);
    transition: 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.lightbox-overlay.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    border: 2px solid var(--primary);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

/* FAQ Section */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    overflow: hidden;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 25px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: var(--transition-smooth);
    color: var(--text-dark);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
    color: var(--text-light);
    border-top: 1px solid var(--glass-border);
    margin-top: 5px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-phone {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.faq-phone i {
    margin-right: 8px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    flex-wrap: wrap;
    color: var(--text-dark);
}

.contact-info i {
    font-size: 1.4rem;
    color: var(--primary);
    width: 35px;
}

.contact-info a {
    color: var(--text-dark);
    text-decoration: none;
    transition: 0.2s;
}

.contact-info a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: white;
}

.map-container {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    transition: 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.emergency-footer-btn {
    display: inline-block;
    background: #E53935;
    padding: 8px 16px;
    border-radius: 40px;
    color: white !important;
    margin-top: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Floating Components */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    z-index: 100;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-emergency {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition-smooth);
    animation: glowRed 1.5s infinite alternate;
}

@keyframes glowRed {
    from { box-shadow: 0 0 5px red; }
    to { box-shadow: 0 0 20px red; }
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--primary);
    z-index: 100;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    color: white;
}

/* Fade-up Animation */
.fade-up {
    animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   PREMIUM RESPONSIVE FIXES (Mobile Optimized)
   ============================================= */

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .appointment-wrapper, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* ===== COMPACT MOBILE MENU ===== */
    .logo-content {
        display: none !important;
    }
    .logo {
        gap: 0 !important;
    }
    .hospital-logo {
        width: 55px !important;
        height: 55px !important;
    }
    .logo-text,
    .logo-accent {
        font-size: 1.2rem !important;
    }
    .logo-hospital {
        font-size: 0.8rem !important;
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav-toggle {
        display: block !important;
        font-size: 30px;
        cursor: pointer;
        z-index: 10001;
        position: relative;
    }
    /* Compact side menu - all items visible without scrolling */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 230px !important;
        max-width: 75% !important;
        height: 100vh;
        background: #ffffff;
        padding: 65px 18px 15px !important;
        display: flex;
        flex-direction: column;
        gap: 6px;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 9999;
        box-shadow: 0 0 40px rgba(0,0,0,0.15);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 8px 0;
        font-size: 17px;
        line-height: 1.2;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
    }
    .btn-emergency-nav {
        width: 100%;
        margin-top: 10px;
        padding: 12px 15px;
        font-size: 15px;
        border-radius: 12px;
        justify-content: center;
    }
    
    /* Hero Section Mobile Fix */
    .hero-text h1 {
        font-size: 3rem !important;
        line-height: 1.1;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    /* Hero Stats Mobile Fix */
    .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        border-radius: 25px;
        padding: 20px;
    }
    /* Top Bar Mobile Fix */
    .top-bar {
        padding: 8px 0;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .top-left,
    .top-right {
        font-size: 14px;
        justify-content: center;
    }
    /* Hero Background Mobile */
    .hero {
        background-position: center center !important;
    }
    /* Additional adjustments from original */
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .section-title {
        font-size: 2rem;
    }
    .specialities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .speciality-card {
        padding: 20px 10px;
    }
    .speciality-card i {
        font-size: 2rem;
    }
    .speciality-card h3 {
        font-size: 0.9rem;
    }
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .floating-whatsapp, .floating-emergency {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .scroll-top {
        right: 20px;
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .logo-content {
        display: none !important;
    }
    .hero-text h1 {
        font-size: 2.6rem !important;
    }
    .hero-badge {
        font-size: 13px;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    .stat-number {
        font-size: 1.2rem;
    }
    .hero-stats {
        padding: 15px 20px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .impact-number, .rating-number {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .specialities-grid {
        grid-template-columns: 1fr;
    }
    .hospital-logo {
        width: 50px !important;
        height: 50px !important;
    }
    .btn-emergency-nav {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Scroll margin for anchor links */
#about,
#doctors,
#specialities,
#contact,
#appointment {
    scroll-margin-top: 130px;
}
