/* =====================================================================
   Noor Care - v3 theme: vivid, modern, high-contrast healthcare design
   ===================================================================== */
:root {
  --navy: #0b1b3a; --ink: #14213d; --ink-2: #3b4a66; --muted: #64748b;
  --blue: #2563ff; --indigo: #4f46e5; --violet: #7c3aed; --cyan: #06b6d4; --teal: #0d9488;
  --green: #10b981; --pink: #ec4899; --rose: #f43f5e; --amber: #f59e0b; --orange: #fb923c;
  --brand: #1d6fff; --brand-2: #00c2d1;
  --paper: #f5f8ff; --mint: #e6f1ff; --line: #dbe4f3;
  --grad-brand: linear-gradient(135deg, #1d6fff 0%, #00c2d1 100%);
  --grad-warm: linear-gradient(135deg, #ff7a18 0%, #ff4d8d 100%);
  --grad-hero: linear-gradient(120deg, #07163a 0%, #0b2a6f 45%, #1d6fff 100%);
  --shadow: 0 12px 34px rgba(18, 52, 120, .12);
  --shadow-lg: 0 24px 60px rgba(18, 52, 120, .20);
  --radius: 14px;
  --bs-primary: #1d6fff; --bs-primary-rgb: 29, 111, 255; --bs-body-color: #14213d; --bs-link-color: #1d5fe0; --bs-link-hover-color: #0b3fb0;
  --teal-d: #0b3fb0; /* legacy name used in views: deep brand blue */
}
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: #fff; line-height: 1.65; overflow-x: hidden; }
h1, h2, h3, h4, .serif { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.text-muted, .text-secondary { color: var(--muted) !important; }
.gradient-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: #bcd5ff; }

/* scroll progress */
#scrollBar { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 2000; background: linear-gradient(90deg, #1d6fff, #00c2d1, #ffb020, #ff4d8d); }

/* buttons */
.btn { border-radius: 12px; font-weight: 700; padding: .6rem 1.2rem; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .85rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .35rem .8rem; border-radius: 10px; }
.btn-primary { background: var(--grad-brand); border: 0; color: #fff; box-shadow: 0 8px 20px rgba(29,111,255,.32); }
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(135deg, #0f5ae6, #00a9b8); color: #fff; box-shadow: 0 12px 26px rgba(29,111,255,.42); }
.btn-primary:disabled { opacity: .7; }
.btn-outline-primary { --bs-btn-color: #1d5fe0; --bs-btn-border-color: #1d6fff; --bs-btn-hover-bg: #1d6fff; --bs-btn-hover-border-color: #1d6fff; --bs-btn-active-bg: #0f5ae6; border-width: 2px; }
.btn-amber { background: var(--grad-warm); border: 0; color: #fff; box-shadow: 0 8px 20px rgba(255,77,141,.35); }
.btn-amber:hover { color: #fff; box-shadow: 0 12px 26px rgba(255,77,141,.45); }
.btn-outline-light { border-width: 2px; }
.form-control, .form-select { border-radius: 12px; border-color: #cfd9ee; padding: .62rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .22rem rgba(29,111,255,.16); }
.form-label { font-weight: 700; font-size: .88rem; color: var(--ink-2); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* top bar + nav */
.topbar { background: var(--navy); color: #b9c7e6; font-size: .84rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .emergency { color: #ffb020; font-weight: 700; }
.site-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.site-nav.scrolled { box-shadow: 0 8px 30px rgba(18,52,120,.12); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 8px 18px rgba(29,111,255,.38); }
.brand-name { font-weight: 800; font-size: 1.2rem; line-height: 1.1; letter-spacing: -.02em; }
.site-nav .nav-link { color: var(--ink); font-weight: 600; padding: .5rem .85rem; position: relative; }
.site-nav .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .15rem; height: 3px; border-radius: 3px; background: var(--grad-brand); transform: scaleX(0); transition: transform .25s; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand); }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--grad-hero); background-size: 200% 200%; animation: heroShift 14s ease infinite; }
@keyframes heroShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero .orb.o1 { width: 380px; height: 380px; background: #00c2d1; top: -120px; right: -80px; }
.hero .orb.o2 { width: 320px; height: 320px; background: #7c3aed; bottom: -140px; left: -60px; }
.hero .orb.o3 { width: 220px; height: 220px; background: #ff4d8d; top: 40%; left: 42%; opacity: .25; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(#fff 1.3px, transparent 1.3px); background-size: 28px 28px; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.06; }
.hero p.lead { color: #d6e4ff; font-size: 1.18rem; max-width: 50ch; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: .4rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #fff; backdrop-filter: blur(6px); }
.hero-eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: #34f5a8; box-shadow: 0 0 0 4px rgba(52,245,168,.28); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,245,168,.55); } 70% { box-shadow: 0 0 0 9px rgba(52,245,168,0); } 100% { box-shadow: 0 0 0 0 rgba(52,245,168,0); } }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.6rem; color: #d6e4ff; font-size: .92rem; font-weight: 600; }
.hero-badges i { color: #ffd166; margin-right: .35rem; }
.finder { background: rgba(255,255,255,.97); border-radius: 18px; padding: 1.1rem; box-shadow: var(--shadow-lg); color: var(--ink); }
.hero-visual { position: relative; }
.hero-visual img.main { width: 100%; max-width: 560px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-card { position: absolute; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .88rem; animation: floaty 6s ease-in-out infinite; }
.float-card i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 1.1rem; background: var(--grad-brand); }
.float-card small { display: block; color: var(--muted); font-weight: 600; font-size: .74rem; }
.float-card.f1 { left: -10px; top: 18%; animation-delay: .4s; }
.float-card.f1 i { background: linear-gradient(135deg, #10b981, #34d399); }
.float-card.f2 { right: -6px; top: 6%; animation-delay: 1.2s; }
.float-card.f2 i { background: var(--grad-warm); }
.float-card.f3 { right: 4%; bottom: 8%; animation-delay: 2s; }
.float-card.f3 i { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.hero-wave { display: block; width: 100%; height: 70px; margin-top: 1.5rem; position: relative; z-index: 2; }
@media (max-width: 991.98px) { .float-card { display: none; } }

/* stats */
.stats-strip { position: relative; z-index: 3; margin-top: -2.6rem; }
.stats-strip .box { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 1.6rem 1rem; border: 1px solid #eef2fb; }
.stats-strip .item { text-align: center; padding: .4rem 1rem; }
.stats-strip .item + .item { border-left: 1px solid var(--line); }
.stats-strip .num { font-size: 2.5rem; font-weight: 800; line-height: 1.1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-strip .item:nth-child(2) .num { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.stats-strip .item:nth-child(3) .num { background: linear-gradient(135deg, #7c3aed, #ec4899); -webkit-background-clip: text; background-clip: text; }
.stats-strip .item:nth-child(4) .num { background: linear-gradient(135deg, #10b981, #06b6d4); -webkit-background-clip: text; background-clip: text; }
.stats-strip .lbl { color: var(--muted); font-weight: 700; font-size: .9rem; }
@media (max-width: 767.98px) { .stats-strip .item + .item { border-left: 0; } .stats-strip .item { padding: .8rem .4rem; } }

/* sections */
.section { padding: 5rem 0; position: relative; }
.section-tint { background: linear-gradient(180deg, #f5f8ff 0%, #eef4ff 100%); }
.section-dark { background: linear-gradient(135deg, #07163a, #0b2a6f); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .text-muted { color: #aebfe6 !important; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem; }
.section-dark .eyebrow { background: linear-gradient(90deg, #6ee7f9, #ffd166); -webkit-background-clip: text; background-clip: text; }
.section-head { max-width: 46rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 5px; margin-top: .8rem; background: var(--grad-brand); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center h2::after { margin-left: auto; margin-right: auto; }

/* page banner */
.page-banner { position: relative; overflow: hidden; color: #fff; padding: 3.6rem 0; background: var(--grad-hero); background-size: 200% 200%; animation: heroShift 16s ease infinite; }
.page-banner::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(#fff 1.3px, transparent 1.3px); background-size: 26px 26px; }
.page-banner::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -90px; top: -120px; background: #00c2d1; filter: blur(70px); opacity: .5; }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-banner p { color: #cfdcff; margin: .5rem 0 0; font-size: 1.08rem; }
.crumbs { font-size: .85rem; color: #a9bbea; margin-bottom: .7rem; font-weight: 600; }
.crumbs a { color: #dbe6ff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* department cards (each gets its own colour) */
.dept-ico { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--grad-brand); box-shadow: 0 10px 22px rgba(29,111,255,.28); }
.dept-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e6edf9; border-radius: 20px; padding: 1.5rem; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.dept-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--c1, #1d6fff); opacity: .09; transition: transform .35s, opacity .35s; }
.dept-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: inherit; }
.dept-card:hover::before { transform: scale(2.6); opacity: .12; }
.dept-card .dept-ico { margin-bottom: 1.1rem; background: linear-gradient(135deg, var(--c1, #1d6fff), var(--c2, #00c2d1)); box-shadow: 0 10px 22px var(--sh, rgba(29,111,255,.3)); }
.dept-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.dept-card p { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.dept-card .more { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .88rem; color: var(--c1, #1d6fff); }
.dept-card .more i { transition: transform .2s; }
.dept-card:hover .more i { transform: translateX(5px); }
.c0 { --c1: #1d6fff; --c2: #00c2d1; --sh: rgba(29,111,255,.32); }
.c1 { --c1: #7c3aed; --c2: #ec4899; --sh: rgba(124,58,237,.32); }
.c2 { --c1: #ff7a18; --c2: #ff4d8d; --sh: rgba(255,122,24,.32); }
.c3 { --c1: #10b981; --c2: #06b6d4; --sh: rgba(16,185,129,.32); }
.c4 { --c1: #ec4899; --c2: #7c3aed; --sh: rgba(236,72,153,.32); }
.c5 { --c1: #06b6d4; --c2: #2563ff; --sh: rgba(6,182,212,.32); }
.c6 { --c1: #f59e0b; --c2: #fb923c; --sh: rgba(245,158,11,.34); }
.c7 { --c1: #4f46e5; --c2: #7c3aed; --sh: rgba(79,70,229,.32); }

/* feature cards */
.feature { background: #fff; border: 1px solid #e6edf9; border-radius: 20px; padding: 1.6rem; height: 100%; transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature .ico { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; font-size: 1.55rem; color: #fff; margin-bottom: 1.1rem; background: linear-gradient(135deg, var(--c1, #1d6fff), var(--c2, #00c2d1)); box-shadow: 0 10px 22px var(--sh, rgba(29,111,255,.3)); }
.feature h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* doctor cards */
.doc-card { border: 1px solid #e6edf9; border-radius: 22px; background: #fff; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.doc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.doc-photo { height: 250px; position: relative; overflow: hidden; background: linear-gradient(160deg, #cfe0ff, #c9f4f7); display: grid; place-items: center; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.doc-card:hover .doc-photo img { transform: scale(1.08); }
.doc-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(11,27,58,.55)); pointer-events: none; }
.doc-photo .exp { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(255,255,255,.95); border-radius: 999px; padding: .25rem .8rem; font-size: .76rem; font-weight: 800; color: var(--brand); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.doc-photo .dept-tag { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 700; font-size: .82rem; }
.avatar { width: 90px; height: 90px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: 2rem; font-weight: 800; display: grid; place-items: center; }
.avatar-sm { width: 40px; height: 40px; font-size: .95rem; flex: 0 0 40px; object-fit: cover; }
.avatar-lg { width: 120px; height: 120px; font-size: 2.6rem; }
.doc-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.doc-body h3 { font-size: 1.15rem; margin: 0; }
.fee { font-weight: 800; color: var(--brand); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.step { text-align: center; padding: 0 1rem; position: relative; }
.step .no { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #fff; background: var(--grad-brand); box-shadow: 0 12px 28px rgba(29,111,255,.38); position: relative; z-index: 1; }
.step:nth-child(2) .no { background: linear-gradient(135deg, #7c3aed, #ec4899); box-shadow: 0 12px 28px rgba(124,58,237,.38); }
.step:nth-child(3) .no { background: var(--grad-warm); box-shadow: 0 12px 28px rgba(255,77,141,.38); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 46px); width: calc(100% - 92px); border-top: 3px dashed #bcd0f5; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } .step:not(:last-child)::after { display: none; } }

/* gallery mosaic + lightbox */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.mosaic .tile:first-child { grid-column: span 2; grid-row: span 2; }
.tile { position: relative; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: #dbeafe; box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.1); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1.1rem 1rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(7,22,58,.88)); transform: translateY(35%); transition: transform .3s; }
.tile:hover .cap, .tile:first-child .cap { transform: none; }
.tile .cap h3 { color: #fff; font-size: 1.05rem; margin: 0 0 .2rem; }
.tile .cap p { margin: 0; font-size: .85rem; color: #d6e4ff; line-height: 1.45; }
.tile .tag { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.95); color: var(--brand); font-size: .72rem; font-weight: 800; padding: .2rem .65rem; border-radius: 999px; }
@media (max-width: 991.98px) { .mosaic { grid-template-columns: repeat(2, 1fr); } .mosaic .tile:first-child { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 575.98px) { .mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; } .mosaic .tile:first-child { grid-column: auto; } }
.filter-pills .btn { border-radius: 999px; }
.filter-pills .btn.active { background: var(--grad-brand); color: #fff; border-color: transparent; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.gallery-grid .tile { height: 230px; }
#lightbox .modal-content { background: #07163a; border: 0; border-radius: 20px; overflow: hidden; }
#lightbox img { width: 100%; max-height: 72vh; object-fit: contain; background: #0b1b3a; }
#lightbox .lb-info { padding: 1rem 1.4rem; color: #fff; }

/* CTA / emergency / info */
.cta-band { background: linear-gradient(120deg, #1d6fff, #7c3aed 60%, #ec4899); color: #fff; border-radius: 28px; padding: 3rem; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-band::before { width: 300px; height: 300px; right: -80px; top: -110px; }
.cta-band::after { width: 180px; height: 180px; left: 30%; bottom: -100px; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #e4ecff; position: relative; }
.cta-band .btn-light { color: var(--brand); font-weight: 800; }
.emergency-box { display: flex; align-items: center; gap: 1rem; background: linear-gradient(135deg, #fff1f2, #fff7ed); border: 1px solid #fecdd3; border-radius: 18px; padding: 1.1rem 1.3rem; }
.emergency-box i { font-size: 2.1rem; color: #e11d48; animation: pulseIcon 1.6s infinite; }
@keyframes pulseIcon { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.emergency-box .tel { font-size: 1.5rem; font-weight: 800; color: #be123c; text-decoration: none; }
.info-card { background: #fff; border: 1px solid #e6edf9; border-radius: 18px; padding: 1.2rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; height: 100%; transition: box-shadow .25s, transform .25s; }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card .ico { flex: 0 0 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--c1, #1d6fff), var(--c2, #00c2d1)); color: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.info-card h3 { font-size: 1rem; margin: 0 0 .15rem; font-weight: 800; }
.info-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.contact-form-card { background: #fff; border: 1px solid #e6edf9; border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); }
.quote { background: #fff; border: 1px solid #e6edf9; border-radius: 20px; padding: 1.5rem; height: 100%; position: relative; box-shadow: 0 4px 16px rgba(18,52,120,.06); }
.quote::before { content: "\201C"; position: absolute; right: 18px; top: -6px; font-size: 5rem; line-height: 1; font-weight: 800; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; }
.stars { color: #f59e0b; letter-spacing: 2px; }
.map-frame { border: 0; border-radius: 22px; width: 100%; height: 100%; min-height: 340px; box-shadow: var(--shadow); }
.today-panel { background: #fff; border: 1px solid #e6edf9; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.today-panel .row-item { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-top: 1px solid #edf2fb; text-decoration: none; color: inherit; transition: background .2s; }
.today-panel .row-item:hover { background: var(--paper); }
.live { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 800; color: #0f8a5f; background: #e3f7ee; padding: .2rem .6rem; border-radius: 999px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #17b777; animation: pulse 1.6s infinite; }
.open-pill { margin-left: auto; font-weight: 800; font-size: .82rem; color: #0f8a5f; background: #e3f7ee; border-radius: 999px; padding: .25rem .8rem; white-space: nowrap; }
.open-pill.none { color: #8794ad; background: #eef1f6; }

/* FAQ / legal */
.faq .accordion-item { border: 1px solid #e6edf9; border-radius: 16px !important; margin-bottom: .8rem; overflow: hidden; }
.faq .accordion-button { font-weight: 800; color: var(--ink); background: #fff; box-shadow: none; padding: 1.15rem 1.4rem; }
.faq .accordion-button:not(.collapsed) { background: linear-gradient(90deg, #e6f1ff, #e7fbfc); color: var(--brand); }
.faq .accordion-body { color: var(--ink-2); }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-2); }

/* doctor profile page */
.profile-hero { margin-top: -3.5rem; position: relative; z-index: 3; }
.profile-card { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 1.6rem; border: 1px solid #eef2fb; }
.profile-photo { width: 100%; aspect-ratio: 1/1; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #cfe0ff, #c9f4f7); display: grid; place-items: center; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 999px; background: #e9f1ff; color: #1d4fcf; font-weight: 700; font-size: .85rem; margin: 0 .35rem .45rem 0; }
.chip.alt { background: #e8fbf3; color: #0b7a55; }
.chip.warm { background: #fff1e6; color: #c2570c; }
.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #1d6fff, #00c2d1); }
.timeline .item { position: relative; margin-bottom: 1.1rem; }
.timeline .item::before { content: ""; position: absolute; left: -1.6rem; top: .3rem; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid #1d6fff; }
.timeline .deg { font-weight: 800; }
.schedule-pill { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; border-radius: 12px; background: var(--paper); margin-bottom: .5rem; font-weight: 600; }
.schedule-pill span:last-child { color: var(--brand); font-weight: 800; }

/* footer */
.site-footer { background: linear-gradient(180deg, #0a1a3d, #06112b); color: #a9b9dd; padding: 4rem 0 1.5rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1d6fff, #00c2d1, #ffb020, #ff4d8d); }
.site-footer h4 { color: #fff; font-size: 1.02rem; font-weight: 800; }
.site-footer a { color: #d3def7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); margin-right: .45rem; transition: background .2s, transform .2s; }
.social a:hover { background: var(--grad-brand); transform: translateY(-3px); text-decoration: none; }
.footer-hours { background: rgba(255,255,255,.06); border-radius: 14px; padding: .9rem 1rem; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.1rem; font-size: .85rem; }

/* auth */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.auth-side { background: var(--grad-hero); background-size: 200% 200%; animation: heroShift 14s ease infinite; color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: #ec4899; filter: blur(90px); opacity: .35; right: -120px; bottom: -120px; }
.auth-side h2 { color: #fff; font-size: 2.4rem; position: relative; }
.auth-side ul { list-style: none; padding: 0; margin: 1.5rem 0 0; position: relative; }
.auth-side li { margin-bottom: .85rem; display: flex; gap: .7rem; color: #dbe6ff; font-weight: 600; }
.auth-side li i { color: #ffd166; }
.auth-main { display: grid; place-items: center; padding: 2.5rem 1.25rem; background: var(--paper); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid #e6edf9; border-radius: 24px; padding: 2.2rem; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 760px; }
@media (max-width: 991.98px) { .auth-split { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* booking */
.step-block { border-top: 1px solid var(--line); padding: 1.7rem 0; }
.step-block:first-child { border-top: 0; padding-top: 0; }
.step-title { display: flex; align-items: center; gap: .8rem; font-size: 1.2rem; font-weight: 800; margin-bottom: 1.1rem; }
.step-no { width: 34px; height: 34px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 800; box-shadow: 0 6px 14px rgba(29,111,255,.32); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: .55rem; }
.slot { border: 2px solid #dbe4f3; background: #fff; border-radius: 12px; padding: .6rem .4rem; font-weight: 700; font-size: .92rem; color: var(--ink); transition: all .15s; }
.slot:hover:not(:disabled) { border-color: var(--brand); background: #eaf2ff; transform: translateY(-2px); }
.slot.selected { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(29,111,255,.35); }
.slot:disabled { background: #f1f4f9; color: #a3afc4; text-decoration: line-through; cursor: not-allowed; border-color: #eef1f6; }
.date-chip { border: 2px solid #dbe4f3; background: #fff; border-radius: 999px; padding: .3rem .9rem; font-size: .85rem; font-weight: 700; }
.date-chip:hover, .date-chip.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.summary { position: sticky; top: 90px; border-radius: 22px; background: #fff; padding: 1.4rem; box-shadow: var(--shadow-lg); border: 1px solid #eef2fb; border-top: 5px solid transparent; border-image: linear-gradient(90deg, #1d6fff, #00c2d1, #ffb020, #ff4d8d) 1; }
.summary dt { font-size: .78rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.summary dd { margin-bottom: .8rem; font-weight: 700; }
.doctor-pick { display: flex; gap: 1rem; align-items: center; padding: 1rem; background: linear-gradient(135deg, #e9f1ff, #e6fbfc); border-radius: 18px; }
.doctor-pick img.avatar { object-fit: cover; }
.help-card { background: linear-gradient(135deg, #fff7e6, #ffe9f2); border-radius: 16px; padding: 1rem 1.1rem; font-size: .9rem; margin-top: 1rem; }
.more-details { border: 2px dashed #cfd9ee; border-radius: 16px; padding: .85rem 1.1rem; margin-top: 1.1rem; background: #fbfdff; }
.more-details summary { cursor: pointer; font-weight: 800; color: var(--brand); list-style: none; }
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary::before { content: "\F4FE"; font-family: 'bootstrap-icons'; margin-right: .5rem; }
.more-details[open] summary::before { content: "\F2EA"; }
.req { color: #e11d48; font-weight: 800; }
.confirm-ticket { border: 2px dashed var(--brand); border-radius: 22px; padding: 1.8rem; background: linear-gradient(135deg, #fff, #f0f6ff); }
.ticket-no { font-size: 2.2rem; font-weight: 800; letter-spacing: .05em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero, .page-banner, .auth-side { animation: none; } .float-card, .hero-visual img.main { animation: none; } }

/* =====================================================================
   Dashboards (admin, doctor, patient)
   ===================================================================== */
.dash { display: flex; min-height: 100vh; background: #f1f5fd; }
.sidebar { width: 268px; background: linear-gradient(190deg, #0a1a3d 0%, #0e2a63 60%, #12327a 100%); color: #c4d2f2; flex: 0 0 268px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { color: #fff; padding: 1.3rem 1.3rem 1rem; }
.sidebar .role-tag { margin: 0 1.3rem 1rem; display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6ee7f9; background: rgba(110,231,249,.12); padding: .25rem .7rem; border-radius: 999px; }
.sidebar nav { padding-bottom: 1rem; }
.sidebar nav a { display: flex; align-items: center; gap: .8rem; padding: .62rem 1rem; margin: .1rem .8rem; color: #c4d2f2; text-decoration: none; border-radius: 12px; font-weight: 600; transition: all .15s; }
.sidebar nav a i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); font-size: 1rem; transition: all .15s; }
.sidebar nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar nav a.active { background: linear-gradient(90deg, rgba(29,111,255,.55), rgba(0,194,209,.28)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.sidebar nav a.active i { background: var(--grad-brand); box-shadow: 0 6px 14px rgba(29,111,255,.45); }
.sidebar nav .nav-group { padding: 1.1rem 1.5rem .35rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #7d90bd; font-weight: 800; }
.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dash-top { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: .85rem 1.6rem; display: flex; align-items: center; gap: 1rem; position: sticky; top: 0; z-index: 20; }
.dash-content { padding: 1.6rem; }
.dash-title { font-size: 1.5rem; margin: 0; }
.dash-sub { color: var(--muted); font-size: .88rem; font-weight: 600; margin: 0; }
.panel { background: #fff; border: 1px solid #e6edf9; border-radius: 20px; box-shadow: 0 6px 20px rgba(18,52,120,.06); overflow: hidden; }
.panel-head { padding: 1rem 1.3rem; border-bottom: 1px solid #edf2fb; display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; background: linear-gradient(90deg, #fff, #f7faff); }
.panel-head h2, .panel-head h3 { font-size: 1.05rem; margin: 0; font-weight: 800; }
.panel-body { padding: 1.2rem 1.3rem; }
.stat { background: #fff; border-radius: 20px; padding: 1.2rem 1.3rem; height: 100%; position: relative; overflow: hidden; box-shadow: 0 6px 20px rgba(18,52,120,.07); border: 1px solid #e6edf9; transition: transform .2s, box-shadow .2s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat::before { content: ""; position: absolute; right: -26px; top: -26px; width: 110px; height: 110px; border-radius: 50%; background: var(--grad-brand); opacity: .14; }
.stat .num { font-size: 2.1rem; font-weight: 800; line-height: 1.1; position: relative; }
.stat .lbl { color: var(--muted); font-size: .86rem; font-weight: 700; position: relative; }
.stat .ico { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; background: var(--grad-brand); box-shadow: 0 8px 16px rgba(29,111,255,.3); }
.stat.amber::before, .stat.amber .ico { background: linear-gradient(135deg, #f59e0b, #fb923c); }
.stat.amber .ico { box-shadow: 0 8px 16px rgba(245,158,11,.35); }
.stat.ink::before, .stat.ink .ico { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.stat.ink .ico { box-shadow: 0 8px 16px rgba(124,58,237,.35); }
.stat.grey::before, .stat.grey .ico { background: linear-gradient(135deg, #10b981, #06b6d4); }
.stat.grey .ico { box-shadow: 0 8px 16px rgba(16,185,129,.35); }
.table > :not(caption) > * > * { padding: .7rem .8rem; vertical-align: middle; }
.table thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: #6b7a99; font-weight: 800; background: #f5f8ff; white-space: nowrap; border-bottom: 0; }
.table-hover > tbody > tr:hover > * { background: #f5f9ff; }
.badge-status { font-weight: 700; padding: .4em .7em; border-radius: 999px; }
.empty { text-align: center; color: var(--muted); padding: 2.8rem 1rem; font-weight: 600; }
.empty i { font-size: 2.2rem; display: block; margin-bottom: .5rem; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.form-errors { font-size: .92rem; border-radius: 12px; }
.schedule-row { display: grid; grid-template-columns: 130px 90px 1fr 1fr 130px; gap: .75rem; align-items: center; padding: .8rem 0; border-top: 1px solid #edf2fb; }
.schedule-row:first-child { border-top: 0; }
.notif-dot { position: absolute; top: -6px; right: -8px; font-size: .68rem; }
.notif-item { display: block; padding: .7rem 1rem; border-bottom: 1px solid #edf2fb; text-decoration: none; color: inherit; }
.notif-item.unread { background: #eaf2ff; }
.notif-item:hover { background: var(--paper); }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .9rem; }
.quick-actions a { background: #fff; border: 1px solid #e6edf9; border-radius: 18px; padding: 1rem; display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); font-weight: 700; transition: transform .2s, box-shadow .2s; }
.quick-actions a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quick-actions i { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--c1, #1d6fff), var(--c2, #00c2d1)); color: #fff; display: grid; place-items: center; font-size: 1.25rem; box-shadow: 0 8px 16px var(--sh, rgba(29,111,255,.3)); }
.list-row { display: flex; align-items: center; gap: .8rem; padding: .75rem 0; border-top: 1px solid #edf2fb; }
.list-row:first-child { border-top: 0; }
.list-row .bar { height: 9px; border-radius: 99px; background: #e6eefc; flex: 1; overflow: hidden; }
.list-row .bar span { display: block; height: 100%; background: var(--grad-brand); border-radius: 99px; }
.welcome { background: var(--grad-hero); background-size: 200% 200%; animation: heroShift 16s ease infinite; color: #fff; border-radius: 24px; padding: 1.6rem 1.9rem; margin-bottom: 1.4rem; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.welcome::after { content: ""; position: absolute; right: -50px; top: -70px; width: 240px; height: 240px; border-radius: 50%; background: #00c2d1; filter: blur(50px); opacity: .55; }
.welcome > * { position: relative; z-index: 1; }
.welcome h2 { color: #fff; font-size: 1.55rem; margin: 0 0 .25rem; }
.welcome p { margin: 0; color: #d3e0ff; }
.doc-admin-card { background: #fff; border: 1px solid #e6edf9; border-radius: 22px; overflow: hidden; height: 100%; box-shadow: 0 6px 20px rgba(18,52,120,.06); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.doc-admin-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.doc-admin-card .cover { height: 120px; background: var(--grad-brand); position: relative; }
.doc-admin-card .photo { width: 96px; height: 96px; border-radius: 50%; border: 5px solid #fff; overflow: hidden; position: absolute; left: 50%; bottom: -48px; transform: translateX(-50%); background: #dbeafe; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(18,52,120,.2); }
.doc-admin-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-admin-card .body { padding: 3.4rem 1.2rem 1.2rem; text-align: center; flex: 1; display: flex; flex-direction: column; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .8rem; }
.thumb { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #e6edf9; background: #eef4ff; aspect-ratio: 4/3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .del { position: absolute; right: 6px; top: 6px; }
.degree-row { background: #f7faff; border: 1px solid #e6edf9; border-radius: 16px; padding: .9rem; margin-bottom: .75rem; position: relative; }
.nav-tabs-lite { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.nav-tabs-lite button { border: 0; background: #fff; border: 1px solid #e6edf9; border-radius: 12px; padding: .55rem 1.1rem; font-weight: 700; color: var(--ink-2); }
.nav-tabs-lite button.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(29,111,255,.32); }
.gallery-admin-card { background: #fff; border: 1px solid #e6edf9; border-radius: 18px; overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(18,52,120,.06); }
.gallery-admin-card img { width: 100%; height: 170px; object-fit: cover; background: #dbeafe; }

@media (max-width: 991.98px) {
  .sidebar { position: fixed; left: -280px; z-index: 1040; transition: left .2s; }
  .dash.sidebar-open .sidebar { left: 0; }
  .schedule-row { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.2rem 0; }
}
@media print { .topbar, .site-nav, .site-footer, .sidebar, .dash-top, .no-print { display: none !important; } }

/* modals whose content is a <form>: keep header/footer visible and scroll only the body */
.modal-dialog-scrollable .modal-content > form { display: flex; flex-direction: column; min-height: 0; max-height: 100%; overflow: hidden; }
.modal-dialog-scrollable .modal-content > form > .modal-body { overflow-y: auto; }
.modal-footer { background: #f7faff; border-top: 1px solid #e6edf9; }
.modal-content { border: 0; border-radius: 22px; box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid #e6edf9; }

/* =====================================================================
   v4: modern emerald home theme, slider, reviews, chat, WhatsApp, pickers
   ===================================================================== */
.theme-emerald {
  --navy: #052e2b; --ink: #0f2a27; --ink-2: #35514c; --muted: #5d7873;
  --brand: #0e9f7e; --brand-2: #2dd4bf; --paper: #f3fbf8; --mint: #e0f5ee; --line: #d3eae1;
  --grad-brand: linear-gradient(135deg, #0e9f7e 0%, #2dd4bf 100%);
  --grad-warm: linear-gradient(135deg, #ff8a3d 0%, #ff4d6d 100%);
  --grad-hero: linear-gradient(120deg, #031f1c 0%, #0a5f4d 55%, #0e9f7e 100%);
  --shadow: 0 12px 34px rgba(6, 78, 59, .13); --shadow-lg: 0 24px 60px rgba(6, 78, 59, .20);
  --bs-primary: #0e9f7e; --bs-primary-rgb: 14, 159, 126; --bs-body-color: #0f2a27; --bs-link-color: #0a7d63; --bs-link-hover-color: #065f4b; --teal-d: #0a7d63;
}
.theme-emerald .btn-primary { box-shadow: 0 8px 20px rgba(14,159,126,.32); }
.theme-emerald .btn-primary:hover, .theme-emerald .btn-primary:focus { background: linear-gradient(135deg, #0b8c6e, #22b8a6); box-shadow: 0 12px 26px rgba(14,159,126,.42); }
.theme-emerald .btn-outline-primary { --bs-btn-color: #0a7d63; --bs-btn-border-color: #0e9f7e; --bs-btn-hover-bg: #0e9f7e; --bs-btn-hover-border-color: #0e9f7e; --bs-btn-active-bg: #0a7d63; }
.theme-emerald .btn-amber { box-shadow: 0 8px 20px rgba(255,100,80,.35); }
.theme-emerald .brand-mark { box-shadow: 0 8px 18px rgba(14,159,126,.4); }
.theme-emerald .form-control:focus, .theme-emerald .form-select:focus { box-shadow: 0 0 0 .22rem rgba(14,159,126,.17); }
.theme-emerald .topbar { background: #052e2b; color: #a8d5c9; }
.theme-emerald .section-tint { background: linear-gradient(180deg, #f3fbf8, #e8f7f1); }
.theme-emerald .site-footer { background: linear-gradient(180deg, #04302b, #021a18); color: #9cc4b9; }
.theme-emerald .site-footer::before { background: linear-gradient(90deg, #0e9f7e, #2dd4bf, #ffd166, #ff6b57); }
.theme-emerald .stats-strip { margin-top: 2.4rem; }
.theme-emerald .stats-strip .box { border-color: #e1f1ea; }
.theme-emerald .slot.selected { box-shadow: 0 8px 18px rgba(14,159,126,.35); }
.theme-emerald .cta-band { background: linear-gradient(120deg, #064e3b, #0e9f7e 60%, #2dd4bf); }
.theme-emerald .section-dark { background: linear-gradient(135deg, #031f1c, #0a5f4d); }
.theme-emerald .dept-card:hover, .theme-emerald .feature:hover, .theme-emerald .doc-card:hover { box-shadow: var(--shadow-lg); }

/* ---- slider ---- */
.hero-slider { position: relative; background: #031f1c; }
.hero-slider .carousel-item { height: clamp(520px, 78vh, 700px); position: relative; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 8s ease-out; }
.carousel-item.active .slide-bg { transform: scale(1.14); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,31,28,.88) 0%, rgba(3,31,28,.62) 42%, rgba(3,31,28,.10) 100%); }
.slide-caption { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 640px; padding-bottom: 6.5rem; color: #fff; }
.slide-caption .kicker { display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: .38rem .95rem; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(6px); }
.slide-caption .kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #34f5a8; box-shadow: 0 0 0 4px rgba(52,245,168,.28); }
.slide-caption h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.07; margin: 1rem 0 .9rem; }
.slide-caption p { color: #d4ece5; font-size: 1.15rem; max-width: 52ch; margin-bottom: 1.6rem; }
.carousel-item.active .slide-caption > * { animation: slideUp .8s both; }
.carousel-item.active .slide-caption > *:nth-child(2) { animation-delay: .12s; }
.carousel-item.active .slide-caption > *:nth-child(3) { animation-delay: .24s; }
.carousel-item.active .slide-caption > *:nth-child(4) { animation-delay: .36s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-slider .carousel-indicators { margin-bottom: 7.2rem; }
.hero-slider .carousel-indicators [data-bs-target] { width: 38px; height: 5px; border-radius: 5px; border: 0; background: #fff; opacity: .4; transition: opacity .3s, width .3s; }
.hero-slider .carousel-indicators .active { opacity: 1; width: 62px; background: #34f5a8; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 60px; opacity: 1; }
.hero-slider .slider-arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px); transition: background .2s; }
.hero-slider .carousel-control-prev:hover .slider-arrow, .hero-slider .carousel-control-next:hover .slider-arrow { background: rgba(255,255,255,.32); }
.slider-services { position: relative; z-index: 5; margin-top: -4.6rem; }
.svc-tile { display: flex; align-items: center; gap: .9rem; height: 100%; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-radius: 18px; padding: 1.05rem 1.2rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.8); transition: transform .25s, box-shadow .25s; }
.svc-tile:hover { transform: translateY(-6px); color: var(--ink); }
.svc-tile .ico { flex: 0 0 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--c1, #0e9f7e), var(--c2, #2dd4bf)); box-shadow: 0 8px 18px var(--sh, rgba(14,159,126,.32)); }
.svc-tile h3 { font-size: 1rem; margin: 0; font-weight: 800; }
.svc-tile p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.svc-tile .go { margin-left: auto; color: var(--brand); transition: transform .2s; }
.svc-tile:hover .go { transform: translateX(4px); }
@media (max-width: 767.98px) { .slide-caption { padding-bottom: 8rem; } .slider-services { margin-top: -3.5rem; } .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; } }

/* ---- finder inside dark section ---- */
.finder-dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 1.2rem; backdrop-filter: blur(8px); }
.finder-dark .form-label { color: #cfe9e1; }

/* ---- reviews ---- */
.review-card { background: #fff; border: 1px solid #e1f1ea; border-radius: 22px; padding: 1.5rem; height: 100%; box-shadow: 0 6px 20px rgba(6,78,59,.07); position: relative; transition: transform .25s, box-shadow .25s; }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-card .quote-mark { position: absolute; right: 20px; top: 8px; font-size: 4.4rem; line-height: 1; font-weight: 800; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .3; }
.review-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.review-card .who .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--grad-brand); }
.review-summary { background: linear-gradient(135deg, #064e3b, #0e9f7e); border-radius: 24px; color: #fff; padding: 1.6rem 1.8rem; }
.review-summary .big { font-size: 3.6rem; font-weight: 800; line-height: 1; }
.bar-row { display: flex; align-items: center; gap: .6rem; font-size: .85rem; margin-bottom: .3rem; }
.bar-row .bar { flex: 1; height: 8px; border-radius: 8px; background: rgba(255,255,255,.2); overflow: hidden; }
.bar-row .bar span { display: block; height: 100%; background: #ffd166; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2rem; color: #cbd5e1; cursor: pointer; line-height: 1; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f59e0b; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 3px solid var(--amber); border-radius: 6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- WhatsApp + chat widget ---- */
.wa-float { position: fixed; left: 20px; bottom: 22px; z-index: 1090; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 2rem; text-decoration: none; box-shadow: 0 12px 28px rgba(37,211,102,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float .wa-tip { position: absolute; left: 72px; white-space: nowrap; background: #111b21; color: #fff; font-size: .82rem; font-weight: 700; padding: .4rem .8rem; border-radius: 10px; opacity: 0; transform: translateX(-6px); transition: all .2s; pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
.chat-fab { position: fixed; right: 20px; bottom: 22px; z-index: 1090; height: 60px; padding: 0 1.2rem 0 1rem; border: 0; border-radius: 999px; background: var(--grad-brand); color: #fff; display: flex; align-items: center; gap: .6rem; font-weight: 800; box-shadow: 0 12px 28px rgba(14,159,126,.5); transition: transform .2s; }
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab i { font-size: 1.6rem; }
.chat-fab .badge-dot { position: absolute; right: 6px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: #ff4d6d; border: 2px solid #fff; }
.chat-panel { position: fixed; right: 20px; bottom: 96px; z-index: 1100; width: 380px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 120px); background: #fff; border-radius: 24px; box-shadow: 0 30px 70px rgba(3,31,28,.35); display: none; flex-direction: column; overflow: hidden; border: 1px solid #e1f1ea; }
.chat-panel.open { display: flex; animation: popIn .25s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-head { background: var(--grad-hero); color: #fff; padding: 1rem 1.1rem; display: flex; align-items: center; gap: .8rem; }
.chat-head .bot { width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.4rem; }
.chat-head .t { font-weight: 800; line-height: 1.1; }
.chat-head .s { font-size: .78rem; color: #b9e6d9; }
.chat-head .s::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34f5a8; margin-right: .35rem; }
.chat-head .x { margin-left: auto; background: rgba(255,255,255,.16); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; background: #f4faf8; display: flex; flex-direction: column; gap: .7rem; }
.msg { max-width: 86%; padding: .65rem .9rem; border-radius: 16px; font-size: .92rem; line-height: 1.5; white-space: pre-line; animation: popIn .2s ease; }
.msg.bot { background: #fff; border: 1px solid #e1f1ea; border-top-left-radius: 4px; align-self: flex-start; color: var(--ink); }
.msg.user { background: var(--grad-brand); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.msg-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.msg-links a { background: #e0f5ee; color: #0a7d63; border-radius: 999px; padding: .28rem .8rem; font-size: .8rem; font-weight: 800; text-decoration: none; }
.msg-links a:hover { background: #0e9f7e; color: #fff; }
.chat-chips { padding: .55rem .8rem; display: flex; gap: .4rem; overflow-x: auto; background: #fff; border-top: 1px solid #edf5f1; }
.chat-chips button { white-space: nowrap; border: 1px solid #cfe7de; background: #fff; color: #0a7d63; border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 700; }
.chat-chips button:hover { background: #e0f5ee; }
.chat-form { display: flex; gap: .5rem; padding: .7rem; background: #fff; border-top: 1px solid #edf5f1; }
.chat-form input { flex: 1; border: 1px solid #cfe7de; border-radius: 999px; padding: .55rem 1rem; outline: none; }
.chat-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 .18rem rgba(14,159,126,.15); }
.chat-form button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: 1.1rem; }
.typing { display: inline-flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9bb8af; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (max-width: 575.98px) { .chat-fab span { display: none; } .chat-fab { padding: 0 1rem; } .chat-panel { right: 8px; bottom: 90px; } .wa-float .wa-tip { display: none; } }

/* ---- image picker (upload button flow) ---- */
.img-picker { border: 2px dashed #bcd6cc; border-radius: 18px; padding: 1rem; background: #fbfefd; }
.img-picker .ip-drop { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.img-picker .ip-drop > i { font-size: 2rem; color: var(--brand); }
.img-picker .ip-drop input[type=file] { flex: 1 1 260px; }
.ip-queue, .ip-done { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .7rem; margin-top: .8rem; }
.ip-queue:empty, .ip-done:empty { display: none; }
.ip-item { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #dbe9e3; background: #eef6f3; aspect-ratio: 4/3; }
.ip-item img { width: 100%; height: 100%; object-fit: cover; }
.ip-item span { position: absolute; left: 0; right: 0; bottom: 0; font-size: .68rem; padding: .15rem .4rem; background: rgba(5,46,43,.7); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-item .ip-x, .ip-item .ip-del { position: absolute; right: 5px; top: 5px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; line-height: 1; }
.ip-item.done { border-color: #34d399; box-shadow: 0 0 0 2px rgba(52,211,153,.35); }
.ip-item.done::after { content: "Uploaded"; position: absolute; left: 6px; top: 6px; background: #10b981; color: #fff; font-size: .62rem; font-weight: 800; padding: .1rem .45rem; border-radius: 999px; }
.img-picker.has-pending { border-color: #f59e0b; background: #fffbeb; }

/* ---- admin: slides & social ---- */
.slide-admin-card { background: #fff; border: 1px solid #e6edf9; border-radius: 20px; overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(18,52,120,.06); }
.slide-admin-card .pic { height: 170px; background-size: cover; background-position: center; position: relative; }
.slide-admin-card .pic .ord { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.95); border-radius: 999px; padding: .1rem .7rem; font-weight: 800; font-size: .8rem; }
.social-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; color: #fff; font-size: 1.2rem; background: var(--grad-brand); }
