
:root {
    --bg-dark: #1F3B2C;
    --bg-dark-2: #254A36;
    --bg-light: #FBF7EF;
    --card: #FFFFFF;
    --gold: #C68A2E;
    --gold-light: #E3B15C;
    --green-mid: #2F5B43;
    --text-dark: #26201A;
    --text-soft: #5B5347;
    --sand: #E8DCC3;
    --border: #DED2B5;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Hind Siliguri', 'Baloo Da 2', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 78px;
}

h1,
h2,
h3,
.brand,
.display {
    font-family: 'Baloo Da 2', 'Fraunces', serif;
    font-weight: 700;
    letter-spacing: 0.2px;
}

a {
    text-decoration: none !important;
    color: inherit;
}
a:hover {
    text-decoration: none !important;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

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

/* ---------- Leaf-vein divider (signature element) ---------- */
.vein-divider {
    width: 100%;
    height: 22px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.vein-divider svg {
    width: 220px;
    height: 22px;
    opacity: 0.7;
}

/* ---------- Top nav ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-dark);
    color: var(--sand);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.brand {
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand small {
    display: block;
    font-family: 'Hind Siliguri';
    font-weight: 400;
    font-size: 11px;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

.menu-toggle {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}

.menu-wrap {
    position: relative;
}

nav.menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-dark-2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    z-index: 70;
}

nav.menu.open {
    display: flex;
    animation: fade .18s ease;
}

nav.menu .nav-button {
    background: transparent;
    color: var(--sand);
    text-align: right;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all .15s;
    cursor: pointer;
    border: none;
}

nav.menu .nav-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

nav.menu .nav-button.active {
    background: var(--gold);
    color: #1F3B2C;
}

.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 65;
}

.menu-backdrop.open {
    display: block;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.page {
    /* display: none; */
    animation: fade .35s ease;
}

.page.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Hero (home) ---------- */
.hero {
    background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    color: #fff;
    border-radius: 0 0 28px 28px;
    padding: 44px 24px 54px;
    margin: 0 -20px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 138, 46, 0.25), transparent 70%);
}

.hero-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 260px;
}

.eyebrow {
    color: var(--gold-light);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.35;
    margin: 0 0 14px;
    color: #fff;
}

.hero p {
    color: #DCE7DE;
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 0 22px;
    max-width: 480px;
}

.hero-stats {
    display: flex;
    gap: 22px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.stat b {
    display: block;
    font-size: 22px;
    color: var(--gold-light);
    font-family: 'Baloo Da 2';
}

.stat span {
    font-size: 12.5px;
    color: #B9C7BC;
}

.doc-frame {
    width: 240px;
    height: 240px;
    border-radius: 20px;
    flex-shrink: 0;
    background: linear-gradient(145deg, var(--green-mid), #1a3327);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 13px;
    text-align: center;
    /* padding: 14px; */
    margin: 0 auto;
}

.doc-frame img{
    border-radius: 16px;
}

.cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn {
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: transform .15s, opacity .15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold);
    color: #20180a;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-green {
    background: var(--green-mid);
    color: #fff;
}

.btn-wa {
    background: #25D366;
    color: #0b3b21;
}

.btn-call {
    background: var(--sand);
    color: var(--text-dark);
}

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

section {
    padding: 40px 0 6px;
}

.section-head {
    margin-bottom: 22px;
}

.eyebrow-dark {
    color: var(--gold);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-head h2 {
    font-size: 24px;
    margin: 6px 0 8px;
    color: var(--text-dark);
}

.section-head p {
    color: var(--text-soft);
    font-size: 14.5px;
    max-width: 520px;
}

/* ---------- Cards ---------- */
.grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width:820px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:560px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 26px;
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: box-shadow .2s, transform .2s;
}

.card:hover {
    box-shadow: 0 8px 22px rgba(31, 59, 44, 0.1);
    transform: translateY(-2px);
}

.tag {
    display: inline-block;
    background: #EFE6D2;
    color: var(--green-mid);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 17px;
    margin: 0 0 6px;
    color: var(--text-dark);
}

.card p.desc {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0 0 12px;
    min-height: 40px;
}

.price {
    font-family: 'Baloo Da 2';
    color: var(--gold);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.price sup {
    font-size: 12px;
    color: var(--text-soft);
    font-weight: 400;
}

.video-box {
    background: linear-gradient(145deg, #233d2f, #16281f);
    border-radius: 10px;
    /* height: 150px; */
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 12.5px;
    /* position: relative; */
}

.doctor-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

.doctor-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-box .vcap {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #B9C7BC;
}

.btn-row-sm {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-link {
    display: block;
    text-align: center;
    font-size: 12.5px;
    color: var(--green-mid);
    font-weight: 700;
    margin-top: 10px;
    cursor: pointer;
}

/* ---------- Detail modal ---------- */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 25, 20, 0.55);
    z-index: 100;
    align-items: flex-end;
    justify-content: center;
}

.modal-backdrop.open {
    display: flex;
}

.modal {
    background: var(--bg-light);
    width: 100%;
    max-width: 640px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 22px 22px 0 0;
    padding: 22px 22px 90px;
    position: relative;
    animation: slideup .3s ease;
}

@keyframes slideup {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    background: var(--sand);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.faq details {
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.faq summary {
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    float: left;
    margin-right: 8px;
    color: var(--gold);
    font-weight: 800;
}

.faq details[open] summary::after {
    content: '–';
}

.faq p {
    font-size: 13.5px;
    color: var(--text-soft);
    margin: 8px 0 0;
    line-height: 1.7;
    padding-left: 16px;
}

.review-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 767px) {
    .review-mini {
        grid-template-columns: 1fr;
    }
}

.rmini {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.rmini .video-box {
    /* height: 100px; */
    margin-bottom: 6px;
}

.rmini .rname {
    font-size: 12px;
    font-weight: 700;
}

.stars {
    color: var(--gold);
    font-size: 12.5px;
}

/* ---------- Appointment / Contact forms ---------- */
.form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}

.form-row {
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 14.5px;
    font-family: inherit;
    background: #fff;
    color: var(--text-dark);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--gold-light);
    border-color: var(--gold);
}

.toggle-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.toggle-opt {
    flex: 1;
    text-align: center;
    padding: 11px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-soft);
}

.toggle-opt.sel {
    border-color: var(--gold);
    background: #FBF1DC;
    color: var(--text-dark);
}

.upload-box {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-soft);
    width: 100%;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width:560px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width:700px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.info-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 14px;
}

.info-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #EFE6D2;
    color: var(--green-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.map-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    /* background প্যাটার্ন বাদ দেওয়া হলো */
}

.map-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ছোট স্ক্রিনে একটু বেশি height দিতে চাইলে */
@media (max-width: 480px) {
    .map-box {
        aspect-ratio: 4 / 3;
    }
}

/* ---------- Reviews page ---------- */
.doc-review-hero {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.doc-review-hero .video-box {
    /* width: 180px;
    height: 120px; */
    flex-shrink: 0;
    margin-bottom: 0;
}

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}

.review-card .video-box {
    /* height: 100%; */
}

.rev-name {
    font-weight: 700;
    font-size: 14px;
    margin: 4px 0 2px;
}

.rev-issue {
    font-size: 12px;
    color: var(--text-soft);
    margin-bottom: 4px;
}

.rev-quote {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
}

/* ---------- Sticky bottom action bar (signature element #2) ---------- */
.action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--bg-dark);
    border-top: 3px solid var(--gold);
    display: flex;
    padding: 8px 10px;
    gap: 6px;
}

.action-bar a,
.action-bar button {
    flex: 1;
    background: transparent;
    color: var(--sand);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 2px;
    border-radius: 8px;
}

.action-bar .icon {
    font-size: 17px;
}

.action-bar .primary {
    background: var(--gold);
    color: #20180a;
}

footer {
    margin-top: 50px;
    padding: 24px 20px;
    text-align: center;
    color: var(--text-soft);
    font-size: 12.5px;
}
