/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    --primary: #0e7490;
    --primary-dark: #0a5c72;
    --primary-light: #e0f7fa;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    min-height: 100vh;
}

section, footer {
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

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

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

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

.highlight {
    color: var(--primary);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-action-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-btn-call {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.nav-btn-call:hover {
    background: var(--primary);
    color: var(--white) !important;
}

.nav-mobile-btns {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 50%, #fef3c7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   Section Styles
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   Services Preview (Home)
   ======================================== */
.services-preview {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   About Preview (Home)
   ======================================== */
.about-preview {
    padding: 100px 0;
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 80%;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
    width: 55%;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text > p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.about-list {
    list-style: none;
    margin-bottom: 32px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
}

.about-list li i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: var(--transition);
}

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

.stars {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.stars i {
    margin-right: 2px;
}

.testimonial-card > p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #1e293b;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px !important;
    font-size: 0.9rem;
}

.contact-info li i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

/* ========================================
   Page Header (Inner Pages)
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ========================================
   About Page - Doctor Bio
   ======================================== */
.doctor-bio {
    padding: 100px 0;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.bio-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.bio-content h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.bio-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.bio-content > p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1rem;
}

.bio-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.bio-detail {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.bio-detail i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 4px;
}

.bio-detail strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.bio-detail span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
    padding: 100px 0;
    background: var(--bg);
}

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

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.team-info > p {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-social {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   Timeline
   ======================================== */
.timeline-section {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-light);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--primary-light);
}

.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   Services Page - Full Details
   ======================================== */
.services-full {
    padding: 80px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-detail-content > p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 28px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--primary);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section {
    padding: 100px 0;
    background: var(--bg);
}

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

.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    text-align: center;
}

.pricing-card ul {
    list-style: none;
}

.pricing-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--bg);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li i {
    color: var(--primary);
}

/* ========================================
   Gallery Page
   ======================================== */
.gallery-section {
    padding: 60px 0 100px;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/2;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 20px;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.gallery-item.hidden {
    display: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
    padding: 80px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow);
}

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

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.info-card a {
    color: var(--primary);
}

.info-card a:hover {
    text-decoration: underline;
}

.hours-table {
    width: 100%;
    font-size: 0.85rem;
}

.hours-table td {
    padding: 4px 0;
    color: var(--text-light);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--text);
}

/* Map */
.map-section {
    padding: 0 0 80px;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    display: block;
}

/* ========================================
   FAQ
   ======================================== */
.faq-mini {
    padding: 80px 0;
    background: var(--bg);
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

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

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

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-icon {
    font-size: 3rem;
    color: var(--primary);
    animation: preloaderPulse 1.2s ease-in-out infinite;
    margin-bottom: 16px;
}

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

.preloader-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    animation: preloaderFill 1.8s ease forwards;
}

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

/* ========================================
   Page Transitions
   ======================================== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8888;
    display: flex;
    pointer-events: none;
}

.transition-slice {
    flex: 1;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: top;
}

.page-transition.active .transition-slice {
    animation: sliceIn 0.5s ease forwards;
}

.page-transition.active .transition-slice:nth-child(1) { animation-delay: 0s; }
.page-transition.active .transition-slice:nth-child(2) { animation-delay: 0.05s; }
.page-transition.active .transition-slice:nth-child(3) { animation-delay: 0.1s; }
.page-transition.active .transition-slice:nth-child(4) { animation-delay: 0.15s; }
.page-transition.active .transition-slice:nth-child(5) { animation-delay: 0.2s; }

@keyframes sliceIn {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   Scroll Progress Bar
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), #10b981);
    z-index: 1001;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(14, 116, 144, 0.5);
}

/* ========================================
   Custom Cursor
   ======================================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    transition: all 0.15s ease-out;
    opacity: 0.5;
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    opacity: 0.8;
    background: rgba(245, 158, 11, 0.1);
}

/* ========================================
   Enhanced Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

[data-anim="slide-up"] {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="slide-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-anim="slide-left"] {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="slide-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-anim="slide-right"] {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="slide-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-anim="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="zoom-in"].animated {
    opacity: 1;
    transform: scale(1);
}

[data-anim="rotate-in"] {
    opacity: 0;
    transform: rotate(-5deg) translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="rotate-in"].animated {
    opacity: 1;
    transform: rotate(0) translateY(0);
}

[data-anim="flip-in"] {
    opacity: 0;
    transform: perspective(600px) rotateY(-30deg);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="flip-in"].animated {
    opacity: 1;
    transform: perspective(600px) rotateY(0);
}

/* Text reveal animation */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.revealed span {
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.animated > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Parallax images */
.parallax-img {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Magnetic button effect */
.btn {
    position: relative;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Glowing border effect */
.service-card,
.testimonial-card,
.team-card,
.choose-card,
.pricing-card {
    position: relative;
}

.service-card::before,
.choose-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent), #10b981, var(--primary));
    border-radius: calc(var(--radius) + 2px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
}

.service-card:hover::before,
.choose-card:hover::before {
    opacity: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tilt effect on hover via JS */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card .tilt-inner {
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

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

.choose-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.choose-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.choose-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition);
}

.choose-card:hover .choose-number {
    color: var(--primary);
    transform: scale(1.1);
}

.choose-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.choose-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   Before & After Section
   ======================================== */
.before-after-section {
    padding: 100px 0;
    background: var(--bg);
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ba-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.ba-slider {
    position: relative;
    overflow: hidden;
    cursor: col-resize;
    aspect-ratio: 500/350;
}

.ba-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    max-width: none;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 2;
}

.ba-handle-line {
    flex: 1;
    width: 3px;
    background: var(--white);
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.ba-handle-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.ba-label {
    padding: 16px 24px;
    background: var(--white);
    text-align: center;
}

.ba-label span {
    font-weight: 600;
    color: var(--text);
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   WhatsApp Float
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7); }
}

/* ========================================
   Particles Canvas
   ======================================== */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* Ensure content is above particles */
.hero, .services-preview, .about-preview, .testimonials,
.why-choose, .before-after-section, .cta-section, .footer,
.page-header, .doctor-bio, .team-section, .timeline-section,
.services-full, .pricing-section, .gallery-section, .contact-section,
.map-section, .faq-mini {
    position: relative;
    z-index: 1;
}

/* ========================================
   Enhanced Hero
   ======================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.08) 0%, transparent 70%);
    animation: heroOrb1 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    animation: heroOrb2 12s ease-in-out infinite;
}

@keyframes heroOrb1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, 40px); }
}

@keyframes heroOrb2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Typed cursor blink */
.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary);
    margin-left: 4px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

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

/* Enhanced section headers with line decoration */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

/* Enhanced CTA with animated bg */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: ctaSweep 8s linear infinite;
}

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

/* Smooth image hover zoom on all images */
.about-img-main,
.about-img-secondary,
.bio-image img,
.team-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-images:hover .about-img-main,
.bio-image:hover img,
.team-card:hover img {
    transform: scale(1.05);
}

/* ========================================
   Global Mobile Helpers
   ======================================== */
.btn {
    text-align: center;
    max-width: 100%;
}

/* ========================================
   Responsive Design
   ======================================== */

/* ---------- Tablet (1024px) ---------- */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }

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

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail.reverse {
        direction: ltr;
    }

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

    .cursor-dot, .cursor-ring {
        display: none !important;
    }

    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-image img {
        max-width: 400px;
    }

    .services-preview,
    .about-preview,
    .testimonials,
    .why-choose,
    .before-after-section,
    .doctor-bio,
    .team-section,
    .timeline-section,
    .pricing-section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ---------- Mobile Landscape / Small Tablet (768px) ---------- */
@media (max-width: 768px) {
    /* --- Navigation --- */
    .navbar {
        backdrop-filter: none;
        background: var(--white);
    }

    .nav-container {
        height: 64px;
        padding: 0 16px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .nav-action-btns {
        display: none;
    }

    .nav-mobile-btns {
        display: block !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        padding: 8px 0 12px;
        gap: 0;
        border-top: 1px solid var(--border);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }

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

    .nav-links li {
        width: 100%;
        list-style: none;
    }

    .nav-links a {
        display: block;
        padding: 14px 20px;
        width: 100%;
        border-radius: 0;
        font-size: 1rem;
        color: var(--text);
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--primary-light);
        color: var(--primary);
    }

    .nav-mobile-btns {
        padding: 4px 16px;
    }

    .nav-mobile-btns a.nav-call-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px;
        background: transparent;
        color: var(--primary) !important;
        border: 2px solid var(--primary);
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.95rem;
        text-align: center;
        border-bottom: none;
    }

    .nav-mobile-btns a.nav-book-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px;
        background: var(--primary);
        color: var(--white) !important;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.95rem;
        text-align: center;
        border-bottom: none;
    }

    .nav-mobile-btns a.nav-book-btn:hover {
        background: var(--primary-dark);
    }

    .nav-mobile-btns a.nav-call-btn:hover {
        background: var(--primary);
        color: var(--white) !important;
    }

    /* --- Hero --- */
    .hero {
        padding: 100px 16px 50px;
        min-height: auto;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
        padding: 0;
    }

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

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 24px;
        padding: 0 8px;
        word-wrap: break-word;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 28px;
        padding: 0 10px;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        min-width: unset;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
    }

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

    .stat-label {
        font-size: 0.78rem;
    }

    .hero-image {
        order: -1;
        display: flex;
        justify-content: center;
        overflow: visible;
    }

    .hero-image img {
        margin: 0 auto;
        max-width: 250px;
        width: 65%;
    }

    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -14px;
        font-size: 0.8rem;
        padding: 8px 16px;
        gap: 6px;
        white-space: nowrap;
    }

    @keyframes float {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-10px); }
    }

    /* --- Section Headers --- */
    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.75rem;
        padding-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    /* --- Container --- */
    .container {
        padding: 0 16px;
    }

    /* --- Sections padding --- */
    .services-preview,
    .about-preview,
    .testimonials,
    .why-choose,
    .before-after-section,
    .doctor-bio,
    .team-section,
    .timeline-section,
    .pricing-section {
        padding: 60px 0;
    }

    .services-full {
        padding: 40px 0;
    }

    .gallery-section {
        padding: 40px 0 60px;
    }

    .contact-section {
        padding: 40px 0 60px;
    }

    .faq-mini {
        padding: 60px 0;
    }

    /* --- Services Grid --- */
    .services-grid,
    .choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .section-cta {
        margin-top: 32px;
    }

    .section-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- About Grid --- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .about-img-main {
        width: 100%;
        max-width: 100%;
    }

    .about-img-secondary {
        display: none;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .about-text > p {
        font-size: 0.95rem;
    }

    .about-list li {
        font-size: 0.9rem;
        gap: 10px;
    }

    .about-text .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Testimonials --- */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-card > p {
        font-size: 0.9rem;
    }

    /* --- Why Choose Us --- */
    .choose-card {
        padding: 28px 20px;
    }

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

    .choose-card h3 {
        font-size: 1.05rem;
    }

    /* --- Before & After --- */
    .ba-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ba-handle-circle {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .ba-label {
        padding: 12px 16px;
    }

    /* --- CTA Section --- */
    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.6rem;
        padding: 0 10px;
    }

    .cta-section p {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0 20px;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    /* --- Page Header (inner pages) --- */
    .page-header {
        padding: 110px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    /* --- Doctor Bio --- */
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bio-content h2 {
        font-size: 1.75rem;
    }

    .bio-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* --- Team --- */
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .team-card img {
        height: 200px;
    }

    .team-info {
        padding: 16px;
    }

    .team-info h3 {
        font-size: 1rem;
    }

    /* --- Timeline --- */
    .timeline-item {
        padding-left: 50px;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
    }

    /* --- Services Full --- */
    .service-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 50px;
        padding-bottom: 50px;
    }

    .service-detail-content h2 {
        font-size: 1.6rem;
    }

    .service-detail-content .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Pricing --- */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    /* --- Gallery --- */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-filter {
        gap: 8px;
        margin-bottom: 24px;
        padding: 0 4px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    /* --- Lightbox --- */
    .lightbox img {
        max-width: 95%;
        max-height: 75vh;
    }

    .lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 8px;
        font-size: 1.5rem;
    }

    .lightbox-next {
        right: 8px;
        font-size: 1.5rem;
    }

    /* --- Contact --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-wrapper h2 {
        font-size: 1.6rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px; /* prevents iOS zoom */
    }

    .contact-form .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- FAQ --- */
    .faq-question {
        padding: 16px;
        font-size: 0.92rem;
        gap: 10px;
    }

    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 0.88rem;
    }

    /* --- Map --- */
    .map-section {
        padding: 0 0 40px;
    }

    .map-wrapper iframe {
        height: 280px;
    }

    /* --- Footer --- */
    .footer {
        padding: 50px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-logo {
        font-size: 1.2rem;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .social-links {
        gap: 10px;
    }

    .footer-bottom {
        padding: 16px 0;
        font-size: 0.8rem;
    }

    /* --- Floating elements --- */
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 16px;
        font-size: 1rem;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 20px;
        left: 16px;
        font-size: 1.4rem;
    }

    /* --- Preloader --- */
    .preloader-icon {
        font-size: 2.4rem;
    }

    .preloader-text {
        font-size: 1.25rem;
    }

    .preloader-bar {
        width: 160px;
    }

    /* --- Scroll Progress --- */
    .scroll-progress {
        height: 3px;
    }
}

/* ---------- Small Mobile (480px) ---------- */
@media (max-width: 480px) {
    .hero {
        padding: 90px 12px 40px;
    }

    .hero-text h1 {
        font-size: 1.65rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        min-width: unset;
        padding: 12px 16px;
        font-size: 0.88rem;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
    }

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

    .stat-label {
        font-size: 0.72rem;
    }

    .hero-image img {
        max-width: 220px;
        width: 65%;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 8px 14px;
    }

    /* --- Container --- */
    .container {
        padding: 0 12px;
    }

    /* --- Section headers --- */
    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.75rem;
    }

    /* --- Section padding --- */
    .services-preview,
    .about-preview,
    .testimonials,
    .why-choose,
    .before-after-section,
    .doctor-bio,
    .team-section,
    .timeline-section,
    .pricing-section {
        padding: 44px 0;
    }

    /* --- Cards --- */
    .service-card,
    .choose-card,
    .testimonial-card,
    .pricing-card {
        padding: 22px 16px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
        margin-bottom: 14px;
    }

    .service-card h3,
    .choose-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .service-card p,
    .choose-card p,
    .testimonial-card > p {
        font-size: 0.85rem;
    }

    .choose-number {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    /* --- Gallery --- */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-filter {
        justify-content: center;
    }

    .filter-btn {
        padding: 7px 14px;
        font-size: 0.78rem;
    }

    /* --- Team --- */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .team-card img {
        height: 240px;
    }

    /* --- Page Header --- */
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 1.65rem;
    }

    .page-header p {
        font-size: 0.88rem;
    }

    /* --- Bio --- */
    .bio-content h2 {
        font-size: 1.5rem;
    }

    .bio-detail strong {
        font-size: 0.88rem;
    }

    .bio-detail span {
        font-size: 0.8rem;
    }

    /* --- Service Detail --- */
    .service-detail {
        margin-bottom: 36px;
        padding-bottom: 36px;
    }

    .service-detail-content h2 {
        font-size: 1.4rem;
    }

    .service-features li {
        font-size: 0.88rem;
    }

    /* --- CTA --- */
    .cta-section {
        padding: 40px 0;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

    .cta-section p {
        font-size: 0.88rem;
    }

    .cta-buttons {
        padding: 0 12px;
    }

    /* --- Contact --- */
    .contact-form-wrapper h2 {
        font-size: 1.4rem;
    }

    .info-card {
        padding: 20px 16px;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.85rem;
    }

    /* --- Footer --- */
    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-col p {
        font-size: 0.85rem;
    }

    .footer-col ul li a {
        font-size: 0.85rem;
    }

    .contact-info li {
        font-size: 0.85rem;
    }

    /* --- FAQ --- */
    .faq-question {
        padding: 14px 12px;
        font-size: 0.88rem;
    }

    .faq-answer p {
        padding: 0 12px 14px;
        font-size: 0.85rem;
    }

    /* --- Lightbox tighter --- */
    .lightbox-prev { left: 4px; }
    .lightbox-next { right: 4px; }

    /* --- Floating --- */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        right: 12px;
        font-size: 0.9rem;
    }

    .whatsapp-float {
        width: 44px;
        height: 44px;
        bottom: 16px;
        left: 12px;
        font-size: 1.2rem;
    }

    .cursor-dot, .cursor-ring {
        display: none !important;
    }
}

/* ---------- Very Small (360px) ---------- */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.4rem;
    }

    .hero-buttons .btn {
        padding: 10px 14px;
        font-size: 0.82rem;
    }

    .hero-stats {
        gap: 12px;
    }

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

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

    .cta-section h2 {
        font-size: 1.25rem;
    }

    .page-header h1 {
        font-size: 1.45rem;
    }

    .nav-container {
        height: 56px;
    }

    .logo {
        font-size: 1.15rem;
    }

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