:root {
    --navy: #182C61;
    --mint: #55E6C1;
    --teal: #58B19F;
    --peach: #FEA47F;
    --ink: #2C3A47;
    --pale: #f3f8f6;
    --line: #dce5e1
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', 'Noto Sans Bengali', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #3B3B98;
    outline-offset: 5px
}

.wrap {
    width: min(1180px, calc(100% - 64px));
    margin: auto
}

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 10px 0
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.topbar a {
    letter-spacing: .3px;
    font-size: 11px
}

header {
    position: sticky;
    top: 0;
    background: #fffffff5;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px)
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--navy)
}

.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 5px;
    font-weight: 600
}

.brand-icon {
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--mint);
    border-radius: 12px;
    width: 44px;
    height: 46px;
    font-size: 28px
}

.navlinks {
    display: flex;
    gap: 30px;
    align-items: center;
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 15px;
    font-weight: 500
}

.navlinks small {
    display: none
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--navy);
    color: white;
    padding: 17px 23px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 14px;
    transition: transform .2s, box-shadow .2s
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #182c6122
}

.btn.small {
    padding: 12px 19px
}

.menu {
    display: none
}

.hero {
    background: linear-gradient(110deg, #f2f8f5, #fff 70%);
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 65px
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 9px
}

.eyebrow>span {
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    text-wrap: balance
}

p {
    text-wrap: pretty
}

h1 {
    font-size: 50px;
    line-height: 1.5;
    letter-spacing: -1.5px;
    color: var(--navy);
    margin: 22px 0 17px;
    font-family: 'Noto Sans Bengali', sans-serif;
    font-weight: 700
}

h1 em {
    font-style: normal;
    color: #397d70;
    position: relative
}

h1 em:after {
    content: '';
    height: 7px;
    background: var(--mint);
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    opacity: .45
}

.intro {
    font-weight: 700;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 12px
}

.hero-desc {
    max-width: 480px;
    font-size: 15px;
    color: #4b5860;
    line-height: 1.95
}

.actions {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 27px 0 30px
}

.text-link {
    font-size: 14px;
    border: 0;
    background: none;
    padding: 0;
    color: var(--navy);
    font-weight: 600
}

.hero-meta {
    border-top: 1px solid var(--line);
    display: flex;
    gap: 13px;
    align-items: center;
    padding-top: 22px;
    max-width: 430px;
    font-size: 13px
}

.hero-meta span:not(.tiny-cross) {
    display: block;
    font-size: 11px;
    color: #5c6771
}

.tiny-cross {
    color: var(--teal);
    font-size: 28px
}

.portrait-area {
    position: relative;
    padding: 0 17px
}

.portrait-label {
    font-size: 11px;
    letter-spacing: 2px;
    margin: 0 0 16px;
    color: #556660;
    font-weight: 600
}

.portrait-frame {
    position: relative;
    background: #CAD3C8;
    border-radius: 150px 150px 12px 12px;
    overflow: hidden;
    height: 405px;
    aspect-ratio: 300 / 405;
    border: 12px solid #e8efeb;
    box-shadow: 20px 20px 0 #55e6c126
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%
}

.decor-plus {
    position: absolute;
    right: 15px;
    top: 12px;
    color: var(--mint);
    font-size: 60px;
    line-height: 1
}

.portrait-caption {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 23px 15px 0
}

.portrait-caption strong {
    font-size: 14px;
    display: block;
    color: var(--navy)
}

.portrait-caption span:not(.circle-arrow) {
    font-size: 11px;
    color: #59656c;
    display: block;
    margin-top: 3px
}

.circle-arrow {
    background: var(--mint);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 22px
}

.side-note {
    position: absolute;
    right: -31px;
    top: 45%;
    writing-mode: vertical-rl;
    font-size: 10px;
    letter-spacing: 2px;
    color: #63736b
}

.credentials {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff
}

.credential-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr .7fr;
    padding: 28px 0
}

.credential-grid>div {
    padding-left: 32px;
    border-left: 1px solid var(--line)
}

.credential-grid>div:first-child {
    padding-left: 0;
    border: 0
}

.credential-grid span {
    display: block;
    font-size: 11px;
    letter-spacing: 1.6px;
    color: #5c6b71;
    margin-bottom: 9px;
    font-weight: 600
}

.credential-grid strong {
    font-size: 14px;
    color: var(--navy)
}

.section {
    padding-top: 95px;
    padding-bottom: 95px
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 70px;
    margin-bottom: 36px
}

h2 {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 34px;
    line-height: 1.5;
    letter-spacing: -.8px;
    font-weight: 600;
    color: var(--navy);
    margin: 16px 0 0
}

.section-heading>p {
    max-width: 420px;
    font-size: 15px;
    color: #59656b;
    margin-bottom: 4px
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.care-card {
    padding: 25px 22px;
    background: var(--pale);
    border: 1px solid #e4ece8;
    border-radius: 10px
}

.care-card:nth-child(2) {
    background: #fff8f1
}

.care-card:nth-child(3) {
    background: #f3f2fa
}

.care-card:nth-child(4) {
    background: #f0f8fc
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #7b8887;
    margin-bottom: 30px
}

.care-icon {
    font-size: 30px;
    line-height: 1;
    color: var(--navy)
}

h3 {
    font-size: 19px;
    line-height: 1.65;
    color: var(--navy);
    font-weight: 600
}

.care-card p {
    font-size: 13px;
    line-height: 1.95;
    margin: 0;
    color: #566269
}

.note {
    font-size: 12px;
    color: #657077;
    margin: 20px 0 0
}

.about {
    background: var(--pale)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center
}

.about h2 {
    margin-bottom: 25px
}

.about p {
    font-size: 15px;
    color: #546368
}

.qualification-panel {
    background: white;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--line)
}

.panel-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #67747a;
    font-weight: 600
}

.qualification-panel>div {
    padding: 19px 0;
    border-bottom: 1px solid var(--line)
}

.qualification-panel strong {
    display: block;
    font-size: 17px;
    color: var(--navy)
}

.qualification-panel span:not(.panel-label) {
    font-size: 12px;
    color: #657077
}

.qualification-panel .registration {
    border: 0;
    padding-bottom: 0;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #526363
}

.registration b {
    color: var(--navy)
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden
}

.chamber {
    padding: 40px;
    background: #eef6f2
}

.pill {
    font-size: 11px;
    letter-spacing: 1.8px;
    font-weight: 700;
    display: inline-block;
    border: 1px solid #b7cebf;
    padding: 5px 12px;
    border-radius: 30px;
    color: #397d70;
    margin-bottom: 25px
}

.chamber h3 {
    font-size: 28px;
    line-height: 1.55;
    margin-bottom: 18px
}

.chamber>p {
    font-size: 14px;
    color: #4f6159
}

.schedule {
    display: flex;
    gap: 40px;
    border-top: 1px solid #ceded5;
    border-bottom: 1px solid #ceded5;
    padding: 20px 0;
    margin-top: 25px
}

.schedule span {
    display: block;
    font-size: 12px;
    color: #596d62
}

.schedule strong {
    font-size: 15px;
    color: var(--navy)
}

.chamber .fine {
    font-size: 12px;
    color: #5b6e65;
    margin-top: 12px
}

.map-link {
    font-size: 13px;
    display: inline-block;
    margin-top: 14px;
    font-weight: 600;
    color: var(--navy)
}

.preparation {
    padding: 40px
}

.preparation>p {
    font-size: 14px;
    color: #626c74
}

.preparation h3 {
    font-size: 23px;
    margin-bottom: 8px
}

ol {
    list-style: none;
    padding: 0;
    margin: 25px 0
}

li {
    display: flex;
    gap: 18px;
    margin: 24px 0
}

li>span {
    color: var(--teal);
    font-size: 12px;
    padding-top: 4px;
    font-weight: 700
}

li strong {
    font-size: 15px;
    color: var(--navy)
}

li p {
    font-size: 13px;
    margin: 5px 0 0;
    color: #636d75
}

.print-header {
    display: none
}

.appointment {
    background: var(--navy);
    color: #fff;
    padding: 70px 0;
    position: relative
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;
    align-items: center
}

.appointment h2 {
    color: white;
    margin-bottom: 20px
}

.appointment .eyebrow {
    color: var(--mint)
}

.appointment p {
    font-size: 14px;
    color: #c1cadd;
    max-width: 510px
}

.mint {
    background: var(--mint);
    color: var(--navy);
    margin-top: 15px
}

.booking-note {
    display: block;
    font-size: 12px;
    color: #bdc9db;
    margin-top: 17px
}

.contact-card {
    padding: 30px 32px;
    border: 1px solid #ffffff30;
    border-radius: 10px;
    background: #ffffff05
}

.contact-card>span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #a7bbd0;
    font-weight: 600
}

.contact-card>a {
    display: block;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: .5px;
    margin: 5px 0
}

.contact-card hr {
    border: 0;
    border-top: 1px solid #ffffff25;
    margin: 24px 0
}

.contact-card p {
    font-size: 12px;
    margin-top: 18px;
    margin-bottom: 0;
    color: #bdc9db
}

.faq {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 90px
}

.faq h2 {
    font-size: 30px
}

details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0
}

summary {
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--navy)
}

summary::-webkit-details-marker {
    display: none
}

summary span {
    font-size: 22px;
    font-weight: 400;
    color: var(--teal)
}

details[open] summary span {
    transform: rotate(45deg)
}

details p {
    font-size: 14px;
    color: #556368;
    margin: 15px 24px 0 0
}

.emergency {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 30px;
    padding: 20px 0;
    font-size: 13px;
    color: #694e4c;
    background: #fffbfa;
    border-radius: 8px;
    margin-top: 20px
}

.emergency strong {
    white-space: nowrap;
    color: #a5281b
}

.emergency p {
    margin: 0
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 0;
    flex-wrap: wrap
}

footer .brand {
    font-size: 14px
}

footer .brand-icon {
    width: 35px;
    height: 37px;
    font-size: 23px
}

footer p:not(.developer-credit),
footer>a:last-child {
    font-size: 12px;
    color: #5a6870;
    margin: 0
}

footer .developer-credit {
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: #63737b;
    text-align: center
}

.mobile-cta {
    display: none
}

.skip {
    position: fixed;
    left: 20px;
    top: -100px;
    background: white;
    padding: 10px;
    z-index: 50
}

.skip:focus {
    top: 20px
}

/* Privacy Page Specifics */
.privacy-page {
    max-width: 760px;
    margin: 40px auto 60px;
    padding: 0 20px
}

.privacy-page h1 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--navy)
}

.privacy-page p {
    font-size: 15px;
    line-height: 1.85;
    color: #3f4e56;
    margin-bottom: 18px
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 24px;
    padding: 8px 14px;
    background: var(--pale);
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: background 0.2s
}

.back-link:hover {
    background: #e5f0ec
}

@media(min-width:1500px) {
    .hero-grid {
        padding-top: 90px;
        padding-bottom: 90px
    }
}

@media(max-width:1000px) {
    .hero-grid {
        gap: 30px
    }

    h1 {
        font-size: 39px
    }

    .actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px
    }

    .navlinks {
        gap: 18px
    }

    .portrait-frame {
        height: 370px
    }

    .care-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-grid,
    .booking-grid {
        gap: 50px
    }

    .faq {
        gap: 40px
    }

    .hero-meta {
        max-width: 100%
    }

    .credential-grid strong {
        font-size: 12px
    }

    .chamber,
    .preparation {
        padding: 30px
    }

    .contact-card>a {
        font-size: 20px
    }
}

@media(max-width:700px) {
    .wrap {
        width: calc(100% - 40px)
    }

    .topbar {
        font-size: 11px;
        letter-spacing: 0.8px;
        padding: 8px 0
    }

    .topbar a {
        font-size: 11px
    }

    .brand {
        font-size: 16px
    }

    .brand small {
        font-size: 9px;
        letter-spacing: 1.5px
    }

    .brand-icon {
        width: 38px;
        height: 40px
    }

    nav {
        height: 74px
    }

    .menu {
        display: block;
        border: 1px solid var(--line);
        background: white;
        border-radius: 5px;
        color: var(--navy);
        font-size: 21px;
        padding: 4px 12px
    }

    .navlinks {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: white;
        padding: 22px;
        box-shadow: 0 10px 16px #182c6110
    }

    .navlinks.open {
        display: flex;
        flex-direction: column;
        align-items: stretch
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 38px
    }

    h1 {
        font-size: 38px;
        letter-spacing: -1px;
        margin-top: 18px
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px
    }

    .intro {
        font-size: 18px
    }

    .hero-desc {
        font-size: 14px
    }

    .actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 17px
    }

    .btn {
        padding: 15px 19px;
        font-size: 13px
    }

    .hero-meta {
        font-size: 12px
    }

    .portrait-area {
        width: min(360px, 100%);
        margin: auto;
        padding: 0 14px
    }

    .portrait-frame {
        height: 355px
    }

    .portrait-label {
        font-size: 11px
    }

    .side-note {
        right: -4px;
        font-size: 10px
    }

    .portrait-caption {
        padding-left: 0;
        padding-right: 0
    }

    .portrait-caption strong {
        font-size: 13px
    }

    .portrait-caption span:not(.circle-arrow) {
        font-size: 11px
    }

    .credential-grid {
        grid-template-columns: 1fr;
        padding: 10px 0
    }

    .credential-grid>div,
    .credential-grid>div:first-child {
        padding: 14px 0;
        border: 0;
        border-bottom: 1px solid var(--line)
    }

    .credential-grid>div:last-child {
        border: 0
    }

    .credential-grid span {
        display: inline-block;
        width: 45%;
        font-size: 11px;
        margin: 0
    }

    .credential-grid strong {
        font-size: 13px
    }

    .section {
        padding-top: 55px;
        padding-bottom: 55px
    }

    .section-heading {
        display: block;
        margin-bottom: 25px
    }

    h2 {
        font-size: 29px
    }

    .section-heading>p {
        margin: 20px 0 0;
        font-size: 14px
    }

    .care-grid {
        gap: 10px
    }

    .care-card {
        padding: 20px 15px
    }

    .card-top {
        font-size: 12px;
        margin-bottom: 20px
    }

    .care-card h3 {
        font-size: 17px
    }

    .care-card p {
        font-size: 13px
    }

    .note {
        font-size: 12px
    }

    .about-grid,
    .booking-grid,
    .faq,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .qualification-panel {
        padding: 25px
    }

    .about p {
        font-size: 14px
    }

    .visit-grid {
        gap: 0
    }

    .chamber,
    .preparation {
        padding: 27px
    }

    .chamber h3 {
        font-size: 25px
    }

    .schedule {
        gap: 28px
    }

    .schedule strong {
        font-size: 14px
    }

    .appointment {
        padding: 50px 0
    }

    .contact-card {
        padding: 25px
    }

    .contact-card>a {
        font-size: 24px
    }

    .faq {
        gap: 16px
    }

    .faq h2 {
        font-size: 28px
    }

    .emergency {
        gap: 15px;
        font-size: 12px;
        padding: 15px 12px
    }

    .emergency strong {
        white-space: normal;
        min-width: 65px
    }

    footer {
        flex-wrap: wrap;
        padding: 30px 0 95px
    }

    footer p:not(.developer-credit) {
        width: 100%;
        order: 3;
        font-size: 12px
    }

    footer>a:last-child {
        font-size: 12px
    }

    footer .developer-credit {
        width: 100%;
        order: 4;
        text-align: center;
        margin-top: 10px;
        padding-top: 10px
    }

    /* Fixed Bottom Quick Action Bar */
    .mobile-cta {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(24, 44, 97, 0.15);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        gap: 10px
    }

    .mobile-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        padding: 12px 8px;
        border-radius: 8px;
        text-decoration: none
    }

    .mobile-cta .mcta-call {
        background: var(--navy);
        color: #fff
    }

    .mobile-cta .mcta-wa {
        background: #128C7E;
        color: #fff
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

@media print {
    header,
    .topbar,
    .hero,
    .credentials,
    #care,
    #about,
    .appointment,
    #faq,
    footer,
    .mobile-cta,
    .emergency,
    .map-link,
    .print-checklist {
        display: none !important
    }

    .section {
        padding: 15px 0
    }

    .visit-grid {
        display: block;
        border: 0
    }

    .chamber,
    .preparation {
        padding: 15px 0;
        background: white
    }

    .wrap {
        width: 100%
    }

    .print-header {
        display: block !important;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid var(--navy)
    }

    .print-header h2 {
        font-size: 24px;
        margin: 0 0 6px;
        color: var(--navy)
    }

    .print-header .print-cred {
        font-size: 13px;
        font-weight: 600;
        color: #182C61;
        margin: 0 0 4px
    }

    .print-header .print-designation {
        font-size: 13px;
        color: #333;
        margin: 0 0 8px
    }

    .print-header .print-chamber,
    .print-header .print-contact {
        font-size: 12px;
        color: #444;
        margin: 3px 0
    }

    .print-header hr {
        display: none
    }
}
