/* Prama Eye Centre - Main Responsive Stylesheet */
:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --secondary: #0d9488;
    --secondary-dark: #0f766e;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.25s ease-in-out;
}

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

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 30px auto;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    max-width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.05rem;
}

/* Header Top Bar */
.top-bar {
    background: var(--dark);
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item i {
    color: var(--secondary);
}

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

/* Main Navbar */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 52px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    padding: 10px 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding-left: 24px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 6px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0 60px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.feature-pill i {
    color: var(--secondary);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
}

.hero-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    object-fit: cover;
    max-height: 480px;
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border-color);
}

.card-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.card-info h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary);
}

.card-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Quick Bar / Stats */
.quick-stats {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin: 0;
}

.stat-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Services Section */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-color: #f1f5f9;
}

.service-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.service-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-body h3 a:hover {
    color: var(--primary);
}

.service-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* Doctor Section */
.doctor-profile-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.doctor-img-box {
    position: relative;
    border-radius: var(--radius-lg);
}

.doctor-img-box img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.doctor-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--dark);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-badge i {
    color: #eab308;
    font-size: 1.5rem;
}

.doctor-details h2 {
    margin-bottom: 6px;
}

.doctor-designation {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: block;
}

.doctor-timeline {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-entry {
    display: flex;
    gap: 16px;
}

.timeline-marker {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.timeline-info h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.timeline-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-sm);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.gallery-overlay span {
    font-size: 0.8rem;
    color: #93c5fd;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rating-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.patient-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.patient-meta h4 {
    font-size: 0.95rem;
    margin: 0;
}

.patient-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Blogs Section */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-body h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-body h3 a:hover {
    color: var(--primary);
}

.blog-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 16px;
}

/* Appointment CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-banner p {
    color: #cbd5e1;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 70px 0 20px 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: #94a3b8;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
}

.developer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: #FFFFFF;
    color: #1E293B !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 4px 0;
    max-width: 100%;
}

.developer-badge:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    color: var(--primary) !important;
}

.developer-badge img {
    height: 18px;
    max-height: 18px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.developer-badge span {
    color: #64748B;
    font-size: 0.75rem;
    white-space: nowrap;
}

.developer-badge strong {
    color: #0F172A;
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.78rem;
    transition: color 0.2s ease;
}

.developer-badge:hover strong {
    color: var(--primary);
}

.developer-badge i {
    font-size: 9px;
    color: #94A3B8;
    transition: all 0.2s ease;
}

.developer-badge:hover i {
    color: var(--primary);
    transform: translate(1px, -1px);
}

/* Forms & Modals */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: scale(0.95);
    transition: var(--transition);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-backdrop.active .modal-card {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.25rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 1500;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.drawer-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    display: block;
    padding: 6px 0;
}

.drawer-link:hover, .drawer-link.active {
    color: var(--primary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid, .doctor-profile-grid {
        grid-template-columns: 1fr;
    }
    .hero-floating-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 15px;
        max-width: 100%;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid, .testimonials-grid, .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }
    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    .hero-section {
        padding: 50px 0 40px 0;
    }
    .nav-menu, .nav-actions .btn-primary {
        display: none;
    }
    .hamburger-btn {
        display: block;
    }
    .top-bar {
        display: none;
    }
    .navbar-brand img {
        height: 44px;
    }
    .services-grid, .testimonials-grid, .blogs-grid, .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 35px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.7rem; }
    .hero-lead {
        font-size: 1.05rem;
    }
    .hero-floating-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 15px;
        width: 100%;
        max-width: 100%;
    }
    .doctor-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 15px;
        max-width: 100%;
        justify-content: center;
    }
    .doctor-profile-grid {
        gap: 30px;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .cta-banner {
        padding: 30px 20px;
        margin: 30px 0;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cta-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .cta-actions .btn {
        width: 100%;
    }
    .feature-pill {
        max-width: 100%;
        word-break: break-word;
    }
    .floating-whatsapp {
        bottom: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .btn-lg {
        padding: 12px 22px;
        font-size: 0.95rem;
    }
    .section-tag {
        font-size: 0.78rem;
        padding: 5px 12px;
    }
    .developer-badge {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 6px 12px;
        gap: 6px;
        border-radius: var(--radius-md);
        max-width: 100%;
    }
    .developer-badge span,
    .developer-badge strong {
        white-space: normal;
        font-size: 0.72rem;
    }
    .doctor-actions .btn {
        width: 100%;
    }
    .modal-backdrop {
        padding: 10px;
    }
    .modal-header {
        padding: 16px;
    }
    .modal-body {
        padding: 16px;
    }
}
