:root {
    --cl-primary: #0e6b6b;     /* teal */
    --cl-primary-dark: #0a5252;
    --cl-accent: #c9a24b;      /* gold */
    --cl-accent-dark: #b08d3a;
    --cl-dark: #16282b;
    --cl-muted: #6b7c7d;
    --cl-light: #f4f8f8;
}

* { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: #2a3a3c;
    line-height: 1.65;
    background: #fff;
}

h1, h2, h3, h4, .display-font {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--cl-dark);
    font-weight: 600;
}

a { color: var(--cl-primary); }
a:hover { color: var(--cl-primary-dark); }

.text-primary-cl { color: var(--cl-primary) !important; }
.bg-primary-cl { background: var(--cl-primary) !important; }
.text-accent { color: var(--cl-accent) !important; }

/* ---------- Header ---------- */
.top-bar {
    background: var(--cl-primary-dark);
    color: #d8eaea;
    padding: .45rem 0;
    font-size: .85rem;
}
.top-bar a { color: #d8eaea; }
.top-bar a:hover { color: #fff; }

.navbar-brand .brand-mark {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--cl-primary);
    letter-spacing: .5px;
}
.navbar-brand .brand-mark::after {
    content: "";
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--cl-accent);
    border-radius: 50%;
    margin-left: 3px;
    vertical-align: super;
}
.navbar .nav-link {
    font-weight: 500;
    color: var(--cl-dark);
    padding: .5rem 1rem !important;
}
.navbar .nav-link:hover { color: var(--cl-primary); }

.btn-accent {
    background: var(--cl-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: .6rem 1.4rem;
    border-radius: 50px;
}
.btn-accent:hover { background: var(--cl-accent-dark); color: #fff; }

.btn-primary-cl {
    background: var(--cl-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: .65rem 1.7rem;
}
.btn-primary-cl:hover { background: var(--cl-primary-dark); color: #fff; }

.btn-outline-cl {
    border: 2px solid var(--cl-primary);
    color: var(--cl-primary);
    font-weight: 600;
    border-radius: 50px;
    padding: .55rem 1.6rem;
    background: transparent;
}
.btn-outline-cl:hover { background: var(--cl-primary); color: #fff; }

/* Mega menu */
.mega-menu {
    border: none;
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    border-radius: 12px;
    padding: 1.2rem;
}
@media (min-width: 992px) {
    .mega-menu {
        display: flex;
        gap: 1.5rem;
        min-width: 720px;
    }
    .mega-col { flex: 1; }
}
.mega-menu .dropdown-header {
    color: var(--cl-primary);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .5px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    padding-bottom: .4rem;
    margin-bottom: .4rem;
}
.mega-menu .dropdown-item {
    padding: .35rem .4rem;
    border-radius: 6px;
    font-size: .92rem;
    white-space: normal;
}
.mega-menu .dropdown-item:hover { background: var(--cl-light); color: var(--cl-primary); }

/* ---------- Hero / Slider ---------- */
.hero-slide {
    position: relative;
    min-height: 620px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero-slide::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,82,82,.85) 0%, rgba(10,82,82,.45) 60%, rgba(10,82,82,.15) 100%);
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-subtitle {
    color: var(--cl-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: .9rem;
}
.hero-title { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; }
.hero-text { font-size: 1.1rem; max-width: 560px; color: #e6f1f1; }

.carousel-indicators [data-bs-target] { width: 12px; height: 12px; border-radius: 50%; }

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.section-eyebrow {
    color: var(--cl-accent);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    font-size: .82rem;
    margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.bg-light-cl { background: var(--cl-light); }

/* Category cards */
.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.2rem 1.6rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(14,107,107,.07);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    border: 1px solid #eef3f3;
}
.category-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(14,107,107,.16); }
.category-card .icon-circle {
    width: 78px; height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cl-primary), var(--cl-primary-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2rem;
}
.category-card h5 { margin-bottom: .6rem; }

/* Service cards */
.service-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    border: 1px solid #eef3f3;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.service-card .img-wrap { height: 220px; overflow: hidden; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .img-wrap img { transform: scale(1.08); }
.service-card .body { padding: 1.4rem; }
.service-card .badge-cat {
    background: var(--cl-light);
    color: var(--cl-primary);
    font-weight: 600;
    font-size: .72rem;
    padding: .3rem .7rem;
    border-radius: 50px;
}

/* Doctor cards */
.doctor-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0,0,0,.06);
    text-align: center;
    transition: transform .3s;
    border: 1px solid #eef3f3;
}
.doctor-card:hover { transform: translateY(-6px); }
.doctor-card .photo { height: 320px; overflow: hidden; }
.doctor-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card .body { padding: 1.3rem; }
.doctor-card .body h5 { margin-bottom: .2rem; }
.doctor-card .specialty { color: var(--cl-accent); font-weight: 600; font-size: .85rem; }

/* Stats */
.stats-band { background: linear-gradient(135deg, var(--cl-primary), var(--cl-primary-dark)); color: #fff; }
.stat-item .num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--cl-accent); }
.stat-item .lbl { color: #d8eaea; }

/* Testimonials */
.testi-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 26px rgba(0,0,0,.06);
    height: 100%;
    border: 1px solid #eef3f3;
}
.testi-card .stars { color: var(--cl-accent); }
.testi-card .person { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.testi-card .person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* Blog */
.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0,0,0,.06);
    height: 100%;
    transition: transform .3s;
    border: 1px solid #eef3f3;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card .img-wrap { height: 210px; overflow: hidden; }
.blog-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 1.3rem; }
.blog-meta { font-size: .8rem; color: var(--cl-muted); }

/* Consultation / forms */
.consult-band {
    background: linear-gradient(135deg, rgba(14,107,107,.95), rgba(10,82,82,.95)),
        url('https://picsum.photos/seed/cliniva-consult/1600/700') center/cover;
    color: #fff;
}
.form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.2rem;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.form-control, .form-select { padding: .7rem .9rem; border-radius: 10px; border: 1px solid #d9e3e3; }
.form-control:focus, .form-select:focus { border-color: var(--cl-primary); box-shadow: 0 0 0 .2rem rgba(14,107,107,.15); }

/* Page header */
.page-hero {
    background: linear-gradient(135deg, rgba(14,107,107,.92), rgba(10,82,82,.92)),
        url('https://picsum.photos/seed/cliniva-pagehead/1600/500') center/cover;
    color: #fff;
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}
.page-hero h1 { color: #fff; }
.breadcrumb-cl { display: inline-flex; gap: .4rem; color: #cfe3e3; font-size: .9rem; }
.breadcrumb-cl a { color: var(--cl-accent); text-decoration: none; }

/* Footer */
.site-footer { background: var(--cl-dark); color: #c4d2d3; padding-top: 3.5rem; }
.footer-brand { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.8rem; }
.footer-brand::after { content:""; display:inline-block; width:8px;height:8px;background:var(--cl-accent);border-radius:50%;margin-left:3px;vertical-align:super; }
.text-light-50 { color: #93a6a7; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: 'Poppins', sans-serif; font-weight: 600; }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: .6rem; }
.footer-links a { color: #c4d2d3; text-decoration: none; }
.footer-links a:hover { color: var(--cl-accent); }
.footer-contact li i { color: var(--cl-accent); margin-right: .5rem; }
.social a {
    display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); border-radius: 50%; color: #fff; margin-right: .5rem;
}
.social a:hover { background: var(--cl-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.2rem 0; font-size: .85rem; color: #93a6a7; }

/* WhatsApp float */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 999;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; box-shadow: 0 8px 24px rgba(37,211,102,.5);
    transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* Prose content */
.prose { font-size: 1.05rem; color: #3a4a4c; }
.prose p { margin-bottom: 1.1rem; }

/* Utilities */
.rounded-img { border-radius: 16px; }
.shadow-soft { box-shadow: 0 14px 40px rgba(0,0,0,.10); }
.list-check { list-style: none; padding: 0; }
.list-check li { padding-left: 1.8rem; position: relative; margin-bottom: .7rem; }
.list-check li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--cl-primary); }
