:root {
    --primary-color: #E91E63;
    --secondary-color: #BA68C8;
    --accent-color: #81D4FA;
    --surface-color: #FFF0F5;
    --muted-surface: rgba(255, 240, 245, 0.75);
    --white: #ffffff;
    --text-color: #4A148C;
    --text-light: #7B1FA2;
    --light-bg: #FCE4EC;
    --warm-cream: #FFF9F5;
    --border-radius: 18px;
    --transition: all 0.3s ease;
    --shadow-lg: 0 26px 80px rgba(233, 30, 99, 0.18);
    --shadow-md: 0 18px 46px rgba(233, 30, 99, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal scroll on all devices */
section,
nav {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Allow specific elements to exceed if needed */
.floating-status,
.floating-status-button,
.floating-wa,
.floating-call,
.feedback-tab,
.status-button,
#statusButton,
#floatingStatusButton {
    max-width: none !important;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background: radial-gradient(circle at 10% 20%, rgba(14, 163, 165, 0.08), transparent 20%),
        radial-gradient(circle at 80% 0%, rgba(244, 184, 97, 0.12), transparent 32%),
        linear-gradient(180deg, #f9fbff 0%, #f4f7fb 40%, #f9fbff 100%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 30% 60%, rgba(12, 25, 38, 0.05), transparent 45%),
        radial-gradient(circle at 70% 30%, rgba(14, 163, 165, 0.08), transparent 35%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(120deg, rgba(12, 25, 38, 0.96) 0%, rgba(14, 163, 165, 0.92) 70%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--white);
    position: -webkit-sticky; /* Safari support */
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(244, 184, 97, 0.35);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.navbar-scrolled {
    background: linear-gradient(120deg, rgba(12, 25, 38, 0.98) 0%, rgba(14, 163, 165, 0.95) 70%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.navbar:hover {
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
    width: 100%;
    max-width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.logo-img {
    height: 200px;
    width: auto;
    max-width: 560px;
    object-fit: contain;
    transition: var(--transition);
    mix-blend-mode: multiply;
    filter: contrast(1.15) brightness(1.05) drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.logo-img:hover {
    transform: scale(1.05) translateY(-2px);
    filter: contrast(1.2) brightness(1.08) drop-shadow(0 6px 16px rgba(0,0,0,0.12));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.02em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(11, 19, 33, 0.75) 0%, rgba(16, 38, 58, 0.70) 55%, rgba(12, 60, 70, 0.75) 100%),
        url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;`n    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 140px 20px;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(244, 184, 97, 0.18);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 60%, rgba(12, 25, 38, 0.35), transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.9rem;
    margin-bottom: 1.6rem;
    animation: fadeInDown 0.8s ease;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    line-height: 1.15;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(120deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    border: none;
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 1s ease;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.03em;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

/* Status Button */
.status-button {
    background: linear-gradient(125deg, #0ea3a5, #C2185B);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(14, 163, 165, 0.35);
}

.status-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 163, 165, 0.55);
}


.status-button.closed {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.status-button.closed:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-button.closed .status-dot {
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* About Section */
.about {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(12, 25, 38, 0.65), rgba(12, 25, 38, 0.55)),
        url('about-wall.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 30%, rgba(244, 184, 97, 0.08), transparent 40%),
        radial-gradient(circle at 75% 60%, rgba(14, 163, 165, 0.08), transparent 45%);
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 800;
    position: relative;
    padding-bottom: 2rem;
    letter-spacing: -0.03em;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.features {
    list-style: none;
}

.features li {
    padding: 12px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    min-height: 380px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 25, 38, 0.35);
    border: 1px solid rgba(244, 184, 97, 0.35);
}

.about-image-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
    padding: 15px;
}

.placeholder-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--white);
    font-size: 1.5rem;
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--warm-cream) 100%);
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    padding-bottom: 2rem;
    letter-spacing: -0.03em;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(12, 25, 38, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(14, 163, 165, 0.2), rgba(244, 184, 97, 0.25));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: rgba(244, 184, 97, 0.55);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
}

.service-icon {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: var(--primary-color);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(14, 163, 165, 0.15), rgba(244, 184, 97, 0.18));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-card:hover .service-icon {
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: scale(1.08) rotate(4deg);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.service-card p {
    color: #888;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.service-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

/* Doctors Section */
.doctors {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
}

.doctors h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 1.5rem;
}

.doctors h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

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

.doctor-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(12, 25, 38, 0.06);
    position: relative;
    overflow: hidden;
}

.doctor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(14, 163, 165, 0.18), rgba(244, 184, 97, 0.2));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.doctor-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(244, 184, 97, 0.55);
}

.doctor-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.doctor-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid rgba(14, 163, 165, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: block;
}

.doctor-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.doctor-card .specialty {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.doctor-card .bio {
    color: #7f8c8d;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.doctor-card .availability {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Appointment Booking Section */
.appointment {
    padding: 80px 20px;
    background: #f1f3f5;
}

.appointment h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1.5rem;
}

.appointment h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #f8f9fa;
    border: 2px solid #d1d5db;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.submit-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #E91E63, #BA68C8);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: linear-gradient(135deg, #C2185B, #9C27B0);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.3);
}

.confirmation-message {
    margin-top: 1.5rem;
    text-align: center;
    font-weight: bold;
    color: #27ae60;
    min-height: 30px;
}

/* Contact Info Section */
.contact-info {
    padding: 60px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--white);
}

.contact-info h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1.5rem;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

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

.contact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.contact-item h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.contact-item p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--white);
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
    background: var(--white);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1.5rem;
}

.gallery-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(13, 148, 136, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 5000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.gallery-modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius);
    animation: zoomIn 0.3s ease;
}

.gallery-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 5001;
}

.gallery-close:hover {
    color: #bbb;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Footer */

.map-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    display: block;
    border-radius: var(--border-radius);
    width: 100%;
    height: 400px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%), url('logo-klinik-vista.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 47, 0.85);
    z-index: 0;
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer p {
    margin: 0.5rem 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Detailed Services Section */
.detailed-services {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--warm-cream) 0%, var(--light-bg) 100%);
}

.detailed-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    padding-bottom: 1.5rem;
}

.detailed-services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    border-radius: 3px;
}

.detailed-services > .container > p {
    text-align: center;
    color: #888;
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.infographic-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.2);
    transition: all 0.3s ease;
    border: 3px solid rgba(30, 136, 229, 0.15);
}

.infographic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.infographic-card:hover img {
    transform: scale(1.08);
}

.infographic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(30, 136, 229, 0.95) 100%);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

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

.infographic-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}.infographic-overlay p {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.view-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.9));
    color: var(--primary-color);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.infographic-card:hover .view-btn {
    background: var(--white);
    color: var(--accent-color);
    transform: scale(1.12);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Service Modal */
.service-modal {
    display: none;
    position: fixed;
    z-index: 6000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    overflow: auto;
    padding: 40px 20px;
    align-items: center;
    justify-content: center;
}

.service-modal.show {
    display: flex;
}

.service-modal-wrapper {
    display: flex;
    width: 90%;
    max-width: 1000px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.3);
    animation: zoomInModal 0.3s ease;
    max-height: 80vh;
}

.service-modal-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    background: #f0f0f0;
    min-height: 400px;
}

.service-modal-content {
    width: 100%;
    padding: 40px 30px;
    overflow-y: auto;
    max-height: 80vh;
}

.service-modal-content h2 {
    color: var(--primary-color);
    font-size: 26px;
    margin: 0 0 15px 0;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 12px;
}

.service-modal-content p {
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-size: 14px;
}

.service-modal-content h3 {
    color: var(--secondary-color);
    font-size: 16px;
    margin: 20px 0 12px 0;
    font-weight: 600;
}

.service-modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-modal-content li {
    color: #555;
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.service-modal-content li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 16px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ff4757;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 6001;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #ff2e3a;
    transform: scale(1.1);
}

@keyframes zoomInModal {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Insurance Panel Section */
.panel-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #0c1926 0%, #0f2434 55%, #0c3c46 100%);
    text-align: center;
    border-top: 2px solid rgba(244, 184, 97, 0.25);
    border-bottom: 2px solid rgba(244, 184, 97, 0.25);
    position: relative;
}

.panel-section h2 {
    font-size: 2.1rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.panel-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.panel-section p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2.2rem;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1.5rem 0;
    scroll-behavior: smooth;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.panel-item {
    min-width: 150px;
    height: 110px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border: 1px solid rgba(244, 184, 97, 0.4);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.panel-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
    border-color: rgba(244, 184, 97, 0.65);
}

.panel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.panel-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .panel-section h2 {
        font-size: 1.6rem;
    }

    .slider-track {
        gap: 1rem;
        padding: 1rem 0;
    }

    .panel-item {
        min-width: 130px;
        height: 100px;
        padding: 1rem;
    }
}


.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.floating-call {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), #FF5A8D);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-call:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.5);
}

.feedback-tab {
    position: fixed;
    left: 0;
    bottom: 200px;
    background: linear-gradient(135deg, var(--accent-color), #FF9855);
    color: white;
    padding: 12px 18px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 0 12px 12px 0;
    z-index: 999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 2px 6px 18px rgba(255, 168, 106, 0.35);
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.95rem;
}

.feedback-tab:hover {
    padding-left: 25px;
    box-shadow: 4px 8px 22px rgba(255, 168, 106, 0.5);
}

.floating-status {
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #25d366;
    animation: pulse 2s infinite;
}

.pulse-dot.pulse-green {
    animation: pulse-green 2s infinite;
}

/* Floating Status Button (Follows on Scroll) */
.floating-status-button {
    position: fixed;
    bottom: 170px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #20ba5e);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-status-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-status-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.floating-status-button.closed {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.floating-status-button.closed:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.floating-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.floating-status-button.closed .floating-status-dot {
    animation: none;
}

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

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

.success-msg {
    position: fixed;
    top: 100px;
    right: 30px;
    background: #27ae60;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.success-msg.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 700px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.3s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: #bbb;
}

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

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Responsive Service Modal */
@media (max-width: 900px) {
    .service-modal-wrapper {
        flex-direction: column;
        width: 95%;
    }
    
    .service-modal-image {
        width: 100%;
        min-height: 300px;
    }
    
    .service-modal-content {
        width: 100%;
        max-height: 60vh;
    }
}

@media (max-width: 600px) {
    .service-modal {
        padding: 20px 10px;
    }
    
    .service-modal-wrapper {
        width: 100%;
        border-radius: 5px;
    }
    
    .service-modal-content {
        padding: 20px 15px;
        font-size: 12px;
    }
    
    .service-modal-content h2 {
        font-size: 18px;
    }
    
    .service-modal-content h3 {
        font-size: 14px;
    }
    
    .close-modal {
        top: 10px;
        right: 10px;
        font-size: 28px;
    }
    
    .service-btn {
        padding: 8px 15px;
        font-size: 11px;
    }
}
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .navbar,
    .hero,
    .about,
    .services,
    .detailed-services,
    .panel-section,
    .doctors,
    .gallery-section,
    .appointment,
    .contact-info,
    .map-section,
    footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .navbar .container {
        padding: 1rem 15px;
        gap: 10px;
    }

    .logo {
        flex-shrink: 0;
    }

    .hero h1 {
        font-size: 2rem;
        word-wrap: break-word;
    }

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

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .about-content {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .doctors-grid,
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .contact-details {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    /* Fix floating buttons overlapping on mobile */
    .floating-wa {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 15px;
    }

    .floating-call {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 80px;
        right: 15px;
    }

    .floating-status {
        top: 90px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .pulse-dot {
        width: 10px;
        height: 10px;
    }

    .floating-status-button {
        bottom: 150px;
        right: 15px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .feedback-tab {
        bottom: 220px;
        padding: 10px 12px;
        font-size: 0.75rem;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        white-space: nowrap;
    }

    /* Make logo smaller on mobile */
    .logo-img {
        height: 60px !important;
        max-width: 200px !important;
    }

    .navbar .container {
        padding: 1rem 20px;
    }

    /* Adjust services infographic for mobile */
    .services-infographic-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Adjust gallery for mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    body, html {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative;
    }

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

    .logo-img {
        height: 50px !important;
        max-width: 150px !important;
    }

    .hero {
        padding: 60px 15px;
        min-height: 350px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hero h1 {
        font-size: 1.5rem;
        word-wrap: break-word;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-buttons button {
        width: 100%;
        max-width: 100%;
    }

    .about h2,
    .services h2,
    .doctors h2,
    .appointment h2,
    .contact-info h2 {
        font-size: 1.8rem;
        word-wrap: break-word;
    }

    /* Smaller floating buttons for very small screens */
    .floating-wa {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 15px;
        right: 10px;
    }

    .floating-call {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 70px;
        right: 10px;
    }

    .floating-status {
        top: 80px;
        right: 5px;
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .floating-status-button {
        bottom: 130px;
        right: 10px;
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .feedback-tab {
        bottom: 200px;
        padding: 8px 10px;
        font-size: 0.7rem;
        gap: 5px;
    }

    .feedback-tab i {
        font-size: 0.9rem;
    }

    /* Fix container padding */
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Ensure sections don't cause horizontal scroll */
    section {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem;
    }

    /* Doctor cards */
    .doctor-card {
        padding: 1.5rem;
    }

    /* Success message */
    .success-msg {
        top: 80px;
        right: 10px;
        padding: 12px 15px;
        font-size: 0.85rem;
    }
}








