/* ===========================================================
   RE-FORMe Clinic - Main Stylesheet
   =========================================================== */

:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #14b8a6;
    --accent: #f59e0b;
    --navy: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --bg-soft: #f0fdfa;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(2, 44, 34, 0.08);
    --shadow-lg: 0 20px 50px rgba(2, 44, 34, 0.14);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 28px; border-radius: 50px;
    font-weight: 600; font-size: 15px; cursor: pointer;
    border: none; transition: var(--transition); line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-accent { background: var(--accent); color: #1f2937; }
.btn-accent:hover { background: #d97706; color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); color: #fff; }

/* Top Bar */
.topbar { background: var(--navy); color: #cbd5e1; font-size: 13px; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--primary-light); margin-right: 6px; }
.topbar-right i { margin-right: 6px; color: var(--accent); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 999;
    background: #fff; box-shadow: 0 2px 20px rgba(2,44,34,0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 20px; color: var(--navy); font-weight: 700; letter-spacing: -0.3px; }
.brand-text small { font-size: 11px; color: var(--muted); }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; }
.nav-close { display: none; position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); border: none; cursor: pointer; align-items: center; justify-content: center; font-size: 20px; color: var(--navy); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(2, 40, 40, 0.55); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.nav-backdrop.show { opacity: 1; visibility: visible; }

.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: flex; align-items: center; gap: 6px;
    padding: 9px 12px; border-radius: 8px;
    color: var(--text); font-weight: 500; font-size: 14px;
    white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--primary); background: var(--bg-soft); }

.btn-appointment {
    background: var(--primary); color: #fff !important;
    padding: 10px 18px !important; border-radius: 50px !important; margin-left: 6px;
    font-weight: 600 !important;
}
.btn-appointment:hover { background: var(--primary-dark) !important; color: #fff !important; }

/* Dropdown */
.nav-dropdown .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 280px;
    background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
    padding: 10px; opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: var(--transition); z-index: 50;
}
.nav-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown .dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: var(--text); font-size: 14px; }
.nav-dropdown .dropdown a:hover { background: var(--bg-soft); color: var(--primary); }
.nav-dropdown .dropdown i { color: var(--primary-light); }
.dropdown-sep { height: 1px; background: var(--border); margin: 6px 10px; }

/* Hero */
.hero {
    position: relative; padding: 90px 0; overflow: hidden;
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 55%, #14b8a6 100%);
    color: #fff;
}
.hero::after {
    content: ''; position: absolute; right: -120px; top: -120px;
    width: 480px; height: 480px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 18px; border-radius: 50px; font-size: 13px; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; line-height: 1.15; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 17px; color: #d1fae5; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
    background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18); border-radius: 22px;
    padding: 30px; box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 19px; margin-bottom: 18px; color: #fff; }
.hero-doctor { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; margin-bottom: 10px; transition: var(--transition); }
.hero-doctor:hover { background: rgba(255,255,255,0.1); }
.hero-doctor .avatar {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
}
.hero-doctor .info strong { display: block; font-size: 15px; color: #fff; }
.hero-doctor .info span { font-size: 12px; color: #d1fae5; }

/* Section */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head .kicker {
    display: inline-block; color: var(--primary); font-weight: 600;
    font-size: 13px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.section-head h2 { font-size: 36px; color: var(--navy); font-weight: 700; line-height: 1.25; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card {
    background: #fff; border-radius: var(--radius); padding: 34px 20px;
    text-align: center; box-shadow: var(--shadow); transition: var(--transition);
    border-bottom: 3px solid var(--primary);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-card .value { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-card .label { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Doctor Cards */
.doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.doctor-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
    border: 1px solid var(--border);
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.doctor-card-top { padding: 34px 26px; text-align: center; color: #fff; position: relative; }
.doctor-card-top .avatar-big {
    width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px;
    background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;
    font-size: 38px; border: 3px solid rgba(255,255,255,0.4);
}
.doctor-card-top h3 { font-size: 21px; font-weight: 700; }
.doctor-card-top .spec { font-size: 13px; opacity: 0.9; margin-top: 4px; }
.doctor-card-top .cred { font-size: 12px; opacity: 0.8; margin-top: 6px; font-weight: 500; }
.doctor-card-body { padding: 24px 26px 28px; }
.doctor-card-body p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.doctor-card-body .meta { display: flex; gap: 16px; margin-bottom: 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.doctor-card-body .meta i { color: var(--primary); margin-right: 5px; }

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: #fff; border-radius: var(--radius); padding: 34px 28px;
    box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card .icon {
    width: 62px; height: 62px; border-radius: 16px; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff;
}
.feature-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .why-icon {
    width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
    background: var(--bg-soft); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.why-item h4 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 13px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
    background: #fff; border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow); position: relative; border: 1px solid var(--border);
}
.testi-card .quote { color: var(--primary-light); font-size: 30px; margin-bottom: 12px; }
.testi-card p { color: var(--text); font-size: 14px; margin-bottom: 18px; font-style: italic; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .who .avatar-sm {
    width: 44px; height: 44px; border-radius: 50%; background: var(--primary);
    color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.testi-card .who strong { display: block; color: var(--navy); font-size: 14px; }
.testi-card .who span { font-size: 12px; color: var(--muted); }

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff; padding: 60px 0;
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 30px; margin-bottom: 8px; }
.cta-band p { color: #d1fae5; }

/* Page Hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 60%, #14b8a6 100%);
    color: #fff; padding: 70px 0; text-align: center;
}
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: #d1fae5; font-size: 16px; }
.breadcrumb { margin-top: 14px; font-size: 13px; color: #a7f3d0; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { text-decoration: underline; }

/* About page */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-visual {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 24px; padding: 50px; color: #fff; text-align: center;
    min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.about-visual .big-icon { font-size: 70px; margin-bottom: 20px; }
.about-visual h3 { font-size: 24px; margin-bottom: 10px; }
.about-visual p { color: #d1fae5; font-size: 14px; }
.about-text h2 { font-size: 32px; color: var(--navy); margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }

/* Lists */
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: var(--text); font-size: 15px; }
.check-list li i { color: var(--primary); margin-top: 4px; }

/* Service group */
.service-group { margin-bottom: 60px; }
.service-group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.service-group-head .sg-icon {
    width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff;
}
.service-group-head h2 { font-size: 26px; color: var(--navy); }
.service-group-head p { color: var(--muted); font-size: 14px; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-item {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; display: flex; gap: 16px; transition: var(--transition);
}
.service-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-item .si-icon {
    width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px;
}
.service-item h4 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.service-item p { color: var(--muted); font-size: 13px; }

/* Doctor detail hero */
.doctor-detail-hero {
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 60%, #14b8a6 100%);
    color: #fff; padding: 70px 0;
}
.doctor-detail-hero .ddh-inner { display: flex; gap: 40px; align-items: center; }
.doctor-detail-hero .avatar-xl {
    width: 150px; height: 150px; border-radius: 24px; flex-shrink: 0;
    background: rgba(255,255,255,0.16); border: 2px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center; font-size: 60px;
}
.doctor-detail-hero h1 { font-size: 36px; font-weight: 800; }
.doctor-detail-hero .spec { color: #d1fae5; font-size: 17px; margin-top: 6px; }
.doctor-detail-hero .cred { font-size: 14px; color: #a7f3d0; margin-top: 8px; }
.doctor-detail-hero .badges { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.doctor-detail-hero .badges span {
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px; border-radius: 50px; font-size: 13px;
}

/* Info card */
.info-card {
    background: #fff; border-radius: var(--radius); padding: 26px;
    box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 24px;
}
.info-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.info-card h3 i { color: var(--primary); }
.info-card ul li { padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; }
.info-card ul li:last-child { border-bottom: none; }
.info-card ul li i { color: var(--primary-light); margin-right: 10px; }

/* Specialization cards */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spec-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: var(--transition);
}
.spec-card:hover { box-shadow: var(--shadow); }
.spec-card h4 { color: var(--navy); font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.spec-card h4 i { color: var(--primary-light); }
.spec-card p { color: var(--muted); font-size: 13px; }

/* Conditions chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    background: var(--bg-soft); color: var(--primary-dark); border: 1px solid #99f6e4;
    padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 500;
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }

/* Forms */
.form-card { background: #fff; border-radius: 20px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group label span { color: #ef4444; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
    border-radius: 10px; font-family: inherit; font-size: 14px; color: var(--text);
    transition: var(--transition); background: #f8fafc;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(15,118,110,0.1);
}
.form-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius); min-height: 180px; color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; text-align: center; padding: 20px; transition: var(--transition);
}
.gallery-item:nth-child(3n+2) { background: linear-gradient(135deg, #0369a1, #38bdf8); }
.gallery-item:nth-child(3n+3) { background: linear-gradient(135deg, #b45309, #f59e0b); }
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item i { font-size: 40px; opacity: 0.95; }
.gallery-item span { font-size: 14px; font-weight: 500; }

/* Blogs */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb { height: 170px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 44px; }
.blog-body { padding: 22px; }
.blog-body .cat { display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.blog-body h3 { font-size: 17px; color: var(--navy); line-height: 1.4; margin-bottom: 10px; }
.blog-body .date { font-size: 13px; color: var(--muted); }
.blog-body .date i { margin-right: 6px; color: var(--primary-light); }

/* Footer */
.site-footer { background: #052e2b; color: #cbd5e1; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--primary-light); border-radius: 2px; }
.footer-col p { font-size: 14px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul li a { color: #cbd5e1; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-col ul li i { color: var(--primary-light); margin-right: 8px; }
.footer-specialty { font-size: 12px !important; color: #64748b; padding-left: 24px !important; margin-top: -6px; }
.brand-footer .brand-icon { width: 42px; height: 42px; font-size: 19px; }
.brand-footer .brand-text strong { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px;
}
.footer-social a:hover { background: var(--primary); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li i { margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* Floating buttons */
.floating-actions { position: fixed; right: 22px; bottom: 22px; z-index: 998; display: flex; flex-direction: column; gap: 12px; }
.fab {
    width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px; box-shadow: var(--shadow-lg); transition: var(--transition);
}
.fab:hover { transform: scale(1.1); }
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--primary); }

/* Alerts */
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Progress page */
.progress-body { background: #f1f5f9; }
.progress-wrap { max-width: 1000px; margin: 0 auto; padding: 40px 20px 60px; }
.progress-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; }
.progress-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--navy); }
.progress-logo i { color: var(--primary); font-size: 26px; }
.progress-badge { background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 50px; font-size: 13px; }
.progress-hero { background: linear-gradient(135deg, #042f2e, #0f766e); color: #fff; border-radius: 20px; padding: 40px; margin-bottom: 30px; }
.progress-hero h1 { font-size: 28px; margin-bottom: 10px; }
.progress-hero p { color: #d1fae5; font-size: 15px; }
.progress-total { margin-top: 24px; }
.progress-total-label { font-size: 13px; color: #d1fae5; margin-bottom: 8px; }
.progress-total-bar { height: 12px; background: rgba(255,255,255,0.18); border-radius: 50px; overflow: hidden; }
.progress-total-fill { height: 100%; background: linear-gradient(90deg, #14b8a6, #4ade80); border-radius: 50px; }
.progress-total-pct { text-align: right; font-size: 14px; font-weight: 700; margin-top: 6px; color: #4ade80; }
.progress-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.progress-card { background: #fff; border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.progress-card h2 { font-size: 17px; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.progress-card h2 i { color: #22c55e; }
.progress-card ul li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.progress-card ul li:last-child { border-bottom: none; }
.task-status { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 50px; white-space: nowrap; }
.task-status.done { background: #ecfdf5; color: #065f46; }
.progress-footer { margin-top: 30px; text-align: center; color: var(--muted); font-size: 14px; }
.progress-footer a { color: var(--primary); font-weight: 600; }

/* Responsive */
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .doctors-grid, .features-grid, .testi-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-layout, .contact-grid { grid-template-columns: 1fr; }
    .service-list, .spec-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .progress-sections { grid-template-columns: 1fr; }

    .nav-toggle { display: block; }
    .nav-close { display: flex; }
    .main-nav {
        position: fixed; top: 0; left: 0; bottom: 0;
        width: 290px; max-width: 82%;
        background: #fff; box-shadow: var(--shadow-lg);
        padding: 76px 18px 24px;
        transform: translateX(-105%);
        transition: transform 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav > ul > li > a { padding: 13px 15px; }
    .nav-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; display: none; }
    .nav-dropdown.open .dropdown { display: block; }
    .btn-appointment { margin-left: 0; justify-content: center; }
}

@media (max-width: 600px) {
    .service-item{
        display:block;

    }
    .chip {
  background: var(--bg-soft);
  color: var(--primary-dark);
  border: 1px solid #99f6e4;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 500;
}
    .hero h1 { font-size: 26px; }
    .section { padding: 55px 0; }
    .section-head h2 { font-size: 28px; }
    .stats-grid, .doctors-grid, .features-grid, .testi-grid, .why-grid, .blog-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .doctor-detail-hero .ddh-inner { flex-direction: column; text-align: center; }
    .cta-band-inner { text-align: center; justify-content: center; }
    .topbar-inner { justify-content: center; }
    .topbar-left { justify-content: center; }
}

/* ===========================================================
   ENHANCED STYLES (images, reviews, richer layout)
   =========================================================== */

/* Hero with background image */
.hero {
    background: linear-gradient(rgba(2, 40, 40, 0.82), rgba(2, 40, 40, 0.88)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600&q=80') center/cover no-repeat;
    min-height: 620px;
    display: flex; align-items: center;
}
.hero-inner { width: 100%; }
.hero .trust-row { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero .trust-row .t-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #d1fae5; }
.hero .trust-row .t-item i { color: #4ade80; font-size: 18px; }

/* Doctor photo cards */
.doctor-card { position: relative; }
.doctor-card-photo { height: 300px; background-size: cover; background-position: top center; position: relative; }
.doctor-card-photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2,40,40,0.88) 100%);
}
.doctor-card-photo .photo-badge {
    position: absolute; bottom: 14px; left: 20px; right: 20px; z-index: 2; color: #fff;
}
.doctor-card-photo .photo-badge h3 { font-size: 22px; font-weight: 700; }
.doctor-card-photo .photo-badge .spec { font-size: 13px; color: #d1fae5; }
.doctor-card-photo .photo-badge .cred { font-size: 12px; color: #a7f3d0; margin-top: 3px; }
.doctor-card .exp-ribbon {
    position: absolute; top: 18px; right: 18px; z-index: 3;
    background: var(--accent); color: #1f2937; font-size: 12px; font-weight: 700;
    padding: 7px 14px; border-radius: 50px;
}
.doctor-card-body .spec-list { margin: 0 0 18px; }
.doctor-card-body .spec-list li { font-size: 13px; color: var(--text); padding: 4px 0; }
.doctor-card-body .spec-list li i { color: var(--primary-light); margin-right: 8px; }

/* About section with images */
.about-img { position: relative; }
.about-img img { border-radius: 22px; width: 100%; height: 460px; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-img .exp-badge {
    position: absolute; bottom: -22px; right: -12px;
    background: var(--primary); color: #fff; border-radius: 18px; padding: 22px 26px;
    text-align: center; box-shadow: var(--shadow-lg);
}
.about-img .exp-badge .num { font-size: 40px; font-weight: 800; line-height: 1; }
.about-img .exp-badge .txt { font-size: 13px; color: #d1fae5; margin-top: 6px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.about-points .ap { display: flex; gap: 12px; align-items: flex-start; }
.about-points .ap i { color: var(--primary); font-size: 20px; margin-top: 2px; }
.about-points .ap strong { display: block; color: var(--navy); font-size: 15px; }
.about-points .ap span { color: var(--muted); font-size: 13px; }

/* Reviews / testimonials with stars */
.rating-overview {
    display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap;
    background: #fff; border-radius: var(--radius); padding: 26px 30px;
    box-shadow: var(--shadow); margin-bottom: 40px; border: 1px solid var(--border);
}
.rating-overview .ro-score { text-align: center; }
.rating-overview .ro-score .big { font-size: 52px; font-weight: 800; color: var(--navy); line-height: 1; }
.rating-overview .ro-score .label { color: var(--muted); font-size: 13px; margin-top: 4px; }
.rating-overview .ro-detail { font-size: 14px; color: var(--muted); }
.rating-overview .ro-detail strong { color: var(--navy); }
.stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.stars i { margin-right: 1px; }
.testi-card .stars { margin-bottom: 10px; display: block; }
.testi-card .condition { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 10px; display: block; }
.testi-card .verified { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #059669; margin-top: 10px; }
.testi-card .verified i { color: #059669; }
.testi-more { text-align: center; margin-top: 34px; }

/* Blog cards with images */
.blog-thumb { height: 190px; background-size: cover; background-position: center; position: relative; }
.blog-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(2,40,40,0.5)); }
.blog-body .author { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.blog-body .author i { color: var(--primary-light); margin-right: 5px; }
.blog-body .excerpt { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.blog-body .read-more { color: var(--primary); font-weight: 600; font-size: 13px; }

/* Gallery with images */
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-item { position: relative; overflow: hidden; min-height: 220px; padding: 0; background: var(--primary); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
    background: linear-gradient(180deg, transparent, rgba(2,40,40,0.9)); color: #fff;
    font-size: 14px; font-weight: 500; text-align: left;
}

/* Locations */
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.location-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition);
}
.location-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.location-card .loc-img { height: 160px; background-size: cover; background-position: center; }
.location-card .loc-body { padding: 22px; }
.location-card .loc-body h4 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.location-card .loc-body p { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.location-card .loc-body p i { color: var(--primary-light); margin-right: 7px; width: 14px; }

/* Appointment strip */
.appt-strip {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 22px; color: #fff; padding: 44px; margin-top: -70px;
    position: relative; z-index: 5; box-shadow: var(--shadow-lg);
}
.appt-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.appt-strip h2 { font-size: 26px; margin-bottom: 6px; }
.appt-strip p { color: #d1fae5; font-size: 14px; }

@media (max-width: 600px) {
    .about-points { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .locations-grid { grid-template-columns: 1fr; }
    .doctor-card-photo { height: 260px; }
    .about-img img { height: 320px; }
}

/* Doctor profile layout */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.doctor-sidebar { position: sticky; top: 96px; }
@media (max-width: 992px) {
    .profile-layout { grid-template-columns: 1fr; }
    .doctor-sidebar { position: static; }
    .profile-layout .doctor-main { order: 2; }
    .profile-layout .doctor-sidebar { order: 1; }
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow); }
.faq-item details summary { padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary::after { content: '+'; font-size: 24px; color: var(--primary); line-height: 1; }
.faq-item details[open] summary::after { content: '\2212'; }
.faq-item details .faq-a { padding: 0 22px 18px; color: var(--muted); font-size: 14px; }

/* Google review button */
.g-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--border); border-radius: 50px; padding: 12px 22px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow); transition: var(--transition); }
.g-btn:hover { border-color: #4285F4; transform: translateY(-2px); }
.g-btn .g-logo { font-weight: 700; }
.g-btn .g-logo span:nth-child(1) { color: #4285F4; }
.g-btn .g-logo span:nth-child(2) { color: #EA4335; }
.g-btn .g-logo span:nth-child(3) { color: #FBBC05; }
.g-btn .g-logo span:nth-child(4) { color: #34A853; }

/* Floating book button */
.fab-book { background: var(--accent); color: #1f2937; border: none; cursor: pointer; }

/* Modal */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000; background: rgba(2, 40, 40, 0.65);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-box {
    background: #fff; border-radius: 20px; width: 100%; max-width: 440px;
    padding: 34px; position: relative; box-shadow: var(--shadow-lg);
    transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.show .modal-box { transform: translateY(0); }
.modal-close {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
    border-radius: 50%; background: var(--bg-soft); border: none; cursor: pointer;
    color: var(--text); font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: #e2e8f0; }
.modal-head { text-align: center; margin-bottom: 22px; }
.modal-icon {
    width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.modal-head h3 { color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.modal-head p { color: var(--muted); font-size: 13px; }

/* Read-only doctor (appointment) */
.doctor-locked {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    border: 1.5px solid var(--primary); border-radius: 12px; background: var(--bg-soft);
}
.doctor-locked img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top center; flex-shrink: 0; }
.doctor-locked strong { display: block; color: var(--navy); font-size: 15px; }
.doctor-locked span { color: var(--muted); font-size: 13px; }
.change-doctor { margin-left: auto; color: var(--primary); font-size: 13px; font-weight: 600; white-space: nowrap; }
.change-doctor:hover { text-decoration: underline; }







