:root {
    --navy: #0e2f5a;
    --navy-2: #133d73;
    --blue: #1565c0;
    --green: #1e8e3e;
    --red: #c62828;
    --ink: #1f2a37;
    --muted: #5b6878;
    --soft: #f2f6fb;
    --line: #dfe7f1;
    --radius: 10px;
    --shadow: 0 4px 18px rgba(14, 47, 90, .08);
}

body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 15px; }
h1, h2, h3, h4, .font-serif { font-family: 'Merriweather', Georgia, serif; color: var(--navy); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
.text-navy { color: var(--navy) !important; }
.bg-soft { background: var(--soft); }
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: .25rem; }
.section-sub { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- Header ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); }
.brand img { height: 58px; width: auto; }
.brand-name { font-family: 'Merriweather', serif; font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--navy); }
.brand-sub { font-size: .82rem; color: var(--ink); line-height: 1.35; }
.tagline { font-size: .78rem; color: var(--navy); text-align: right; line-height: 1.25; margin-bottom: 6px; }
.header-search { max-width: 230px; }
.header-search .form-control { font-size: .82rem; border-color: var(--line); }
.header-search .btn { border-color: var(--line); color: var(--navy); }

.mainnav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 6px rgba(14,47,90,.05); position: sticky; top: 0; z-index: 1030; }
.mainnav .nav-link { color: var(--ink); font-size: .86rem; font-weight: 500; padding: 12px 14px !important; }
.mainnav .nav-link:hover { color: var(--blue); }
.mainnav .nav-link.active { background: var(--navy-2); color: #fff !important; }
.mainnav .dropdown-menu { border-radius: 0 0 8px 8px; border-color: var(--line); font-size: .86rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; min-height: 470px; background: var(--navy) center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 30, 60, .88) 0%, rgba(8, 30, 60, .6) 45%, rgba(8, 30, 60, .05) 75%); }
.hero .container { position: relative; z-index: 2; }
.hero-content { padding: 70px 0 40px; max-width: 620px; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.2; }
.hero .lead-sub { font-family: 'Merriweather', serif; font-size: 1.15rem; margin-bottom: 1.6rem; }
.hero .doc-name { font-family: 'Merriweather', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.hero .doc-meta { font-size: .85rem; opacity: .92; line-height: 1.5; }
.hero-doctor { position: absolute; right: 4%; bottom: 0; height: 94%; max-width: 46%; object-fit: contain; object-position: bottom; z-index: 1; }
.hero-script { position: absolute; right: 4%; top: 36px; z-index: 3; font-family: 'Great Vibes', cursive; font-size: 1.9rem; color: var(--navy); transform: rotate(-12deg); line-height: 1; text-align: center; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.hero-script::after { content: ''; display: block; height: 3px; width: 70%; margin: 6px auto 0; background: linear-gradient(90deg, transparent, var(--green), transparent); border-radius: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 32px; }
.hero-actions .btn { font-size: .85rem; font-weight: 600; padding: 9px 22px; border-radius: 6px; min-width: 175px; }
.btn-blue { background: var(--blue); color: #fff; border: 0; }
.btn-blue:hover { background: #0d4f9e; color: #fff; }
.btn-green { background: var(--green); color: #fff; border: 0; }
.btn-green:hover { background: #17722f; color: #fff; }
.btn-white { background: #fff; color: var(--navy); border: 0; }
.btn-white:hover { background: #e9f0fa; color: var(--navy); }
.btn-navy { background: var(--navy-2); color: #fff; border: 0; }
.btn-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Service icons strip ---------- */
.service-strip { padding: 22px 0; background: #fff; }
.service-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 12px; }
.service-tile { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 6px 10px; color: var(--navy); font-size: .74rem; font-weight: 600; line-height: 1.25; min-height: 112px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.service-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(14,47,90,.14); color: var(--blue); }
.service-tile img, .service-tile i { width: 46px; height: 46px; margin-bottom: 8px; object-fit: contain; font-size: 38px; color: var(--navy-2); display: flex; align-items: center; justify-content: center; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy-2); color: #fff; padding: 22px 0; }
.stat-item { text-align: center; padding: 6px 10px; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,.25); }
.stat-item i { font-size: 1.7rem; margin-bottom: 6px; display: block; }
.stat-item .val { font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.stat-item .lbl { font-size: .8rem; opacity: .9; }
@media (max-width: 767px) { .stat-item + .stat-item { border-left: 0; } .stat-item { border-bottom: 1px solid rgba(255,255,255,.15); } }

/* ---------- About ---------- */
.about-photo { border-radius: var(--radius); width: 100%; height: 100%; max-height: 340px; object-fit: cover; box-shadow: var(--shadow); }
.about-heading { font-size: 1.6rem; font-weight: 700; }
.quote-card { background: var(--soft); border-radius: var(--radius); padding: 28px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.quote-card .q-mark { font-family: Georgia, serif; font-size: 3rem; line-height: .6; color: #9fb3cf; }
.quote-card blockquote { font-family: 'Merriweather', serif; font-style: italic; color: var(--navy); font-size: 1.05rem; line-height: 1.6; margin: 12px 0; }
.quote-card .who { font-size: .82rem; color: var(--navy); text-align: right; text-decoration: underline; }

/* ---------- Patient journey ---------- */
.journey { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.journey-steps { display: flex; align-items: stretch; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.journey-step { flex: 1 0 110px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 14px 6px; font-size: .78rem; font-weight: 600; color: var(--navy); }
.journey-step i { font-size: 1.7rem; color: var(--navy-2); display: block; margin-bottom: 8px; }
.journey-arrow { display: flex; align-items: center; color: var(--navy); font-size: .9rem; flex: 0 0 auto; }

/* ---------- Cards row ---------- */
.info-card { background: var(--soft); border-radius: var(--radius); padding: 20px; height: 100%; position: relative; overflow: hidden; }
.info-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.transplant-card img { position: absolute; right: -10px; bottom: 0; width: 55%; max-width: 220px; }
.transplant-card .txt { max-width: 55%; font-size: .85rem; color: var(--muted); }
.testimonial-text { font-family: 'Merriweather', serif; font-style: italic; color: var(--navy); font-size: .92rem; text-align: center; min-height: 90px; }
.stars { color: #f5b301; }
.carousel-control-prev, .carousel-control-next { width: 32px; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 1.5rem; height: 1.5rem; background-color: var(--navy-2); border-radius: 50%; background-size: 50%; box-shadow: var(--shadow); }
.carousel-indicators [data-bs-target] { background-color: var(--navy); width: 8px; height: 8px; border-radius: 50%; }
.carousel-indicators { position: static; margin: 10px 0 0; }
.news-item { display: flex; gap: 12px; margin-bottom: 14px; }
.news-item img { width: 110px; height: 72px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.news-item .t { font-size: .84rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.news-item .d { font-size: .74rem; color: var(--muted); }
.read-more { font-size: .78rem; font-weight: 600; }

/* ---------- Inner pages ---------- */
.page-banner { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #2a6f97 100%); color: #fff; padding: 46px 0; }
.page-banner h1 { color: #fff; font-size: 2rem; margin: 0; }
.page-banner p { margin: 6px 0 0; opacity: .9; }
.page-banner .breadcrumb { margin: 0 0 8px; font-size: .82rem; }
.page-banner .breadcrumb a, .page-banner .breadcrumb-item.active, .page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.85); }
.content-body { line-height: 1.8; font-size: 1rem; }
.content-body h2, .content-body h3 { margin-top: 1.6rem; font-size: 1.3rem; }
.content-body img { max-width: 100%; height: auto; border-radius: 8px; }
.card-service { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 100%; background: #fff; box-shadow: var(--shadow); transition: transform .2s; display: block; color: var(--ink); }
.card-service:hover { transform: translateY(-3px); color: var(--ink); }
.card-service img, .card-service i { width: 54px; height: 54px; object-fit: contain; font-size: 42px; color: var(--navy-2); margin-bottom: 12px; }
.card-service h3 { font-size: 1.05rem; font-weight: 700; }
.card-service p { font-size: .88rem; color: var(--muted); margin: 0; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; background: #fff; box-shadow: var(--shadow); }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card .body { padding: 18px; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; cursor: zoom-in; transition: transform .2s; }
.gallery-grid img:hover { transform: scale(1.02); }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border: 1px solid var(--line); }
.contact-line { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-line i { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--navy-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d7e1ef; font-size: .84rem; padding-top: 30px; }
.site-footer h5 { color: #fff; font-family: 'Merriweather', serif; font-size: .95rem; font-weight: 700; }
.site-footer a { color: #d7e1ef; }
.site-footer a:hover { color: #fff; }
.footer-hospital { display: flex; align-items: center; gap: 10px; color: #fff; }
.footer-hospital img { height: 46px; }
.footer-hospital .h-name { font-weight: 800; font-size: 1.35rem; letter-spacing: .5px; line-height: 1; }
.footer-hospital .h-sub { font-size: .66rem; letter-spacing: 1px; }
.footer-sep { border-left: 1px solid rgba(255,255,255,.2); }
.footer-links li { margin-bottom: 3px; }
.social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding: 12px 0; font-size: .78rem; }
.btn-whatsapp { background: #25d366; color: #fff; border-radius: 30px; font-size: .8rem; font-weight: 600; padding: 6px 14px; }
.btn-whatsapp:hover { background: #1da851; color: #fff; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }

@media (max-width: 991px) {
    .hero-doctor { opacity: .35; max-width: 70%; right: -10%; }
    .hero-script { display: none; }
    .brand-name { font-size: 1.05rem; }
    .brand img { height: 44px; }
    .transplant-card img { opacity: .35; }
    .transplant-card .txt { max-width: 100%; }
}
@media (max-width: 575px) {
    .hero-actions .btn { min-width: 0; flex: 1 1 45%; }
    .brand-sub { font-size: .72rem; }
}
