:root {
    --apple-green: #6E8F3E;
    --apple-green-dark: #4F6A2C;
    --herbal-green: #33422A;
    --beige: #F6F2E9;
    --beige-deep: #EFE8D7;
    --gold: #C8A15C;
    --white: #FFFFFF;
    --ink: #2B2B24;
    --muted: #726F62;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.sinh {
    font-family: 'Noto Sans Sinhala', 'Work Sans', sans-serif;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Fraunces', serif;
    color: var(--herbal-green);
    font-weight: 600;
}

.eyebrow {
    font-size: 15px;
    color: var(--apple-green-dark);
    font-weight: 500;
    margin-bottom: 10px;
}

.section {
    padding: 90px 0;
}

.section-beige {
    background: var(--beige);
}

.section-head {
    max-width: 620px;
    margin-bottom: 52px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: 32px;
    line-height: 1.25;
}

.section-head p {
    color: var(--muted);
    margin-top: 14px;
    font-size: 15.5px;
}

/* ---------- reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .08s;
}

.reveal-delay-2 {
    transition-delay: .16s;
}

.reveal-delay-3 {
    transition-delay: .24s;
}

.reveal-delay-4 {
    transition-delay: .32s;
}

/* ================= TOP BAR ================= */
.topbar {
    background: var(--herbal-green);
    color: #EDEBDF;
    font-size: 13px;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
}

.topbar a {
    color: #EDEBDF;
    text-decoration: none;
}

.topbar a:hover {
    color: var(--gold);
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-item i {
    font-size: 13px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-switch a.active {
    color: var(--gold);
    font-weight: 500;
    border-bottom: 1px solid var(--gold);
}

.lang-divider {
    opacity: .5;
}

.topbar-social {
    display: flex;
    gap: 10px;
}

.topbar-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(237, 235, 223, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.topbar-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--herbal-green);
}

/* ================= MAIN NAV ================= */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid #E7E2D3;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow .2s ease;
}

.main-nav.is-stuck {
    box-shadow: 0 4px 16px rgba(51, 66, 42, .08);
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--apple-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 20px;
    flex-shrink: 0;
}

.brand-text {
    line-height: 1.2;
}

.brand-text .name {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--apple-green-dark);
    display: block;
}

.brand-text .tagline {
    font-size: 11.5px;
    color: #7A7A6E;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    color: var(--ink);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--apple-green);
    transition: width .2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--apple-green-dark);
}

.dropdown-toggle-custom {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.dropdown-wrap {
    position: relative;
}

.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #E7E2D3;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(51, 66, 42, .12);
    padding: 8px;
    min-width: 220px;
    z-index: 20;
}

.dropdown-wrap:hover .dropdown-menu-custom {
    display: block;
}

.dropdown-menu-custom a {
    display: block;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--ink);
}

.dropdown-menu-custom a:hover {
    background: var(--beige);
    color: var(--apple-green-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.whatsapp-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #3C8A44;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.whatsapp-pill i {
    font-size: 17px;
}

.btn-appointment {
    background: var(--apple-green);
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease;
}

.btn-appointment:hover {
    background: var(--apple-green-dark);
}

.navbar-toggler-custom {
    display: none;
    border: none;
    background: none;
    font-size: 22px;
    color: var(--apple-green-dark);
}

@media (max-width:991px) {
    .topbar-left .topbar-item span {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 78%;
        max-width: 320px;
        height: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 90px 24px 24px;
        transition: left .25s ease;
        box-shadow: 8px 0 24px rgba(0, 0, 0, .1);
    }

    .nav-links.open {
        left: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 0;
    }

    .dropdown-menu-custom {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        padding-left: 12px;
    }

    .dropdown-wrap.open .dropdown-menu-custom {
        display: block;
    }

    .nav-actions .btn-appointment {
        display: none;
    }

    .navbar-toggler-custom {
        display: block;
    }

    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(43, 43, 36, .4);
        z-index: 999;
    }

    .nav-backdrop.open {
        display: block;
    }
}

/* ================= HERO (UPDATED — BG VIDEO + BLUR + DARK OVERLAY + LIGHT TEXT) ================= */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: var(--herbal-green);
    /* fallback color while video loads */
}

/* background video layer */
.hero-bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.06);
    /* hides blur edges */
    object-fit: cover;
    filter: blur(0px);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 19%), rgb(0 0 0 / 78%));
}

.hero-leaf {
    position: absolute;
    opacity: .08;
    color: #fff;
    z-index: 0;
}

.hero-leaf.one {
    font-size: 220px;
    top: -60px;
    right: -40px;
    transform: rotate(18deg);
}

.hero-leaf.two {
    font-size: 140px;
    bottom: -40px;
    left: -30px;
    transform: rotate(-12deg);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .12);
    color: #E8E6D6;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.18;
    margin-bottom: 20px;
    color: #fff;
}

.hero p.lead {
    font-size: 16.5px;
    color: #D8D7C9;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-ctas .btn-ghost {
    border: 1.5px solid #fff;
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-ctas .btn-ghost:hover {
    background: #fff;
    color: var(--herbal-green);
}

.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 46px;
}

.hero-stats div {
    text-align: left;
}

.hero-stats .num {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    color: var(--gold);
    font-weight: 600;
}

.hero-stats .lbl {
    font-size: 12.5px;
    color: #C9CABB;
}

.hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 20px;
    background: linear-gradient(160deg, var(--apple-green) 0%, var(--herbal-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-visual i {
    font-size: 120px;
    color: rgba(255, 255, 255, .9);
}

.hero-visual .ring {
    position: absolute;
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
}

.hero-visual .ring.r1 {
    width: 78%;
    height: 78%;
}

.hero-visual .ring.r2 {
    width: 56%;
    height: 56%;
}

.hero-badge {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    background: rgba(255, 255, 255, .95);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-badge i {
    font-size: 26px;
    color: var(--gold);
}

.hero-badge .t {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--herbal-green);
}

.hero-badge .s {
    font-size: 12px;
    color: var(--muted);
}

/* ================= FEATURES STRIP ================= */
.features-strip {
    background: var(--white);
    border-bottom: 1px solid #EDE8DA;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-item {
    padding: 34px 22px;
    text-align: center;
    border-left: 1px solid #EDE8DA;
}

.feature-item:first-child {
    border-left: none;
}

.feature-item i {
    font-size: 26px;
    color: var(--apple-green);
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 13px;
    color: var(--muted);
}

/* ================= DOCTOR SECTION ================= */
.doctor-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.doctor-photo {
    aspect-ratio: 3/4;
    border-radius: 18px;
    background: linear-gradient(160deg, var(--beige-deep), var(--beige));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.doctor-photo i {
    font-size: 100px;
    color: var(--apple-green);
    opacity: .55;
}

.doctor-photo .tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--herbal-green);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
}

.doctor-name {
    font-size: 28px;
    margin-bottom: 4px;
}

.doctor-role {
    color: var(--apple-green-dark);
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 18px;
}

.doctor-copy {
    color: var(--muted);
    font-size: 15.5px;
    margin-bottom: 26px;
}

.doctor-points {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.doctor-points li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14.5px;
}

.doctor-points i {
    color: var(--apple-green);
    margin-top: 3px;
}

/* ================= TREATMENTS ================= */
.treat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.treat-card {
    background: #fff;
    border: 1px solid #E7E2D3;
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.treat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(51, 66, 42, .1);
    border-color: var(--apple-green);
}

.treat-card i {
    font-size: 26px;
    color: var(--apple-green);
    margin-bottom: 16px;
}

.treat-card h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.treat-card p {
    font-size: 13.5px;
    color: var(--muted);
}

/* ================= PHARMACY / BRANCHES ================= */
.branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.branch-card {
    background: #fff;
    border: 1px solid #E7E2D3;
    border-radius: 16px;
    overflow: hidden;
}

.branch-card .top {
    background: var(--herbal-green);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.branch-card .top i {
    font-size: 20px;
    color: var(--gold);
}

.branch-card .top h4 {
    color: #fff;
    font-size: 17px;
}

.branch-card .body {
    padding: 22px 24px;
}

.branch-card .row {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
    align-items: flex-start;
}

.branch-card .row i {
    color: var(--apple-green);
    margin-top: 3px;
    width: 16px;
}

.branch-card .row:last-child {
    margin-bottom: 0;
}

.product-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.product-cat {
    background: var(--beige);
    border: 1px solid #E7E2D3;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--herbal-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-cat i {
    color: var(--apple-green);
    font-size: 14px;
}

/* ================= ARTICLES ================= */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E7E2D3;
    background: #fff;
}

.article-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(150deg, var(--apple-green), var(--herbal-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-thumb i {
    font-size: 34px;
    color: rgba(255, 255, 255, .85);
}

.article-body {
    padding: 20px 22px;
}

.article-tag {
    font-size: 11.5px;
    color: var(--apple-green-dark);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.article-body h4 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-body a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--herbal-green);
    text-decoration: none;
}

.article-body a i {
    font-size: 11px;
    margin-left: 4px;
}

/* ================= TESTIMONIALS ================= */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testi-card {
    background: #fff;
    border: 1px solid #E7E2D3;
    border-radius: 14px;
    padding: 26px 24px;
}

.testi-stars {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 14px;
}

.testi-quote {
    font-size: 14.5px;
    color: var(--ink);
    margin-bottom: 18px;
    line-height: 1.65;
}

.testi-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--beige-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    color: var(--apple-green-dark);
    font-weight: 600;
    font-size: 14px;
}

.testi-name {
    font-size: 13.5px;
    font-weight: 600;
}

.testi-loc {
    font-size: 12px;
    color: var(--muted);
}

/* ================= CTA BANNER ================= */
.cta-banner {
    background: var(--herbal-green);
    color: #fff;
    border-radius: 20px;
    padding: 52px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-banner h3 {
    color: #fff;
    font-size: 26px;
    max-width: 440px;
}

.cta-banner p {
    color: #D8D7C9;
    font-size: 14.5px;
    margin-top: 8px;
    max-width: 440px;
}

.btn-gold {
    background: var(--gold);
    color: var(--herbal-green);
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.btn-gold:hover {
    background: #D8B471;
}

/* ================= FOOTER ================= */
footer {
    background-image: url(../assets/imgs/bg/cta-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #C9CABB;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .8fr 1.1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .brand-mark {
    background: var(--gold);
    color: var(--herbal-green);
}

.footer-brand .name {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: #fff;
}

.footer-about {
    font-size: 13.5px;
    color: #A9AB98;
    max-width: 280px;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9CABB;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--herbal-green);
}

footer h5 {
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 18px;
}

footer ul {
    list-style: none;
    display: grid;
    gap: 11px;
}

footer ul a {
    color: #A9AB98;
    text-decoration: none;
    font-size: 13.5px;
}

footer ul a:hover {
    color: var(--gold);
}

.footer-branch {
    margin-bottom: 20px;
}

.footer-branch .b-name {
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.footer-branch .b-detail {
    font-size: 13px;
    color: #A9AB98;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    font-size: 12.5px;
    color: #8C8E7C;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: #8C8E7C;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ================= FLOATING WHATSAPP ================= */
.wa-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
    z-index: 1200;
    animation: wa-pulse 2.4s ease-in-out infinite;
}

@keyframes wa-pulse {

    0%,
    100% {
        box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
    }

    50% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, .7);
    }
}

@media (max-width:900px) {

    .hero-grid,
    .doctor-grid,
    .branch-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .treat-grid,
    .article-grid,
    .testi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 34px;
    }
}

@media (max-width:600px) {

    .features-grid,
    .treat-grid,
    .article-grid,
    .testi-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        border-left: none;
        border-top: 1px solid #EDE8DA;
    }

    .feature-item:first-child {
        border-top: none;
    }

    .cta-banner {
        padding: 40px 26px;
    }

    /* hide bg video on small screens, fall back to a static image */
    /* .hero-bg-video video {
        display: none;
    }

    .hero {
        background: linear-gradient(180deg, rgba(20, 26, 15, .72), rgba(20, 26, 15, .82)),
            url('assets/img/hero-poster.jpg') center/cover no-repeat;
    } */
}

/* Sub Pages Style */
.page-banner {
    background: var(--beige);
    padding: 64px 0 54px;
    position: relative;
    overflow: hidden;
}

.page-banner .hero-leaf.one {
    font-size: 180px;
    top: -50px;
    right: -30px;
}

.page-banner .hero-leaf.two {
    font-size: 110px;
    bottom: -30px;
    left: -20px;
}

.breadcrumb-trail {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.breadcrumb-trail a {
    color: var(--apple-green-dark);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-trail i {
    font-size: 10px;
    margin: 0 6px;
    color: var(--muted);
}

.page-banner h1 {
    font-size: 34px;
    max-width: 620px;
    position: relative;
    z-index: 1;
}

.page-banner p.lead {
    color: var(--muted);
    font-size: 15.5px;
    max-width: 560px;
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

.heritage-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.heritage-photo {
    aspect-ratio: 4/5;
    border-radius: 18px;
    background: linear-gradient(160deg, var(--beige-deep), var(--beige));
    border: 1px solid #E7E2D3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.heritage-photo i {
    font-size: 90px;
    color: var(--apple-green);
    opacity: .55;
}

.heritage-photo .tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--herbal-green);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
}

.heritage-copy p {
    color: var(--muted);
    font-size: 15.5px;
    margin-bottom: 16px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: gen;
}

.timeline-item {
    background: #fff;
    border: 1px solid #E7E2D3;
    border-radius: 14px;
    padding: 26px 20px;
    text-align: center;
    position: relative;
}

.timeline-item::before {
    counter-increment: gen;
    content: counter(gen);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--apple-green);
    color: #fff;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.timeline-item h4 {
    font-size: 14.5px;
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 12.5px;
    color: var(--muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.value-card {
    padding: 28px 24px;
    border: 1px solid #E7E2D3;
    border-radius: 14px;
    background: #fff;
}

.value-card i {
    font-size: 24px;
    color: var(--apple-green);
    margin-bottom: 14px;
}

.value-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13.5px;
    color: var(--muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 1/1;
    border-radius: 12px;
    background: linear-gradient(150deg, var(--apple-green), var(--herbal-green));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-item i {
    font-size: 30px;
    color: rgba(255, 255, 255, .85);
}

.gallery-item .cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(35, 45, 28, .75);
    color: #fff;
    font-size: 11.5px;
    padding: 8px 10px;
}

@media (max-width: 900px) {
    .heritage-grid {
        grid-template-columns: 1fr;
    }

    .timeline,
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .timeline,
    .values-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* contact-page css */
.contact-hero {
    background: var(--herbal-green);
    padding: 72px 0 130px;
    position: relative;
    overflow: hidden;
}

.contact-hero .hero-leaf.one {
    font-size: 200px;
    top: -60px;
    right: -40px;
    color: #fff;
    opacity: .06;
}

.contact-hero .hero-leaf.two {
    font-size: 120px;
    bottom: -30px;
    left: -20px;
    color: #fff;
    opacity: .06;
}

.contact-hero .breadcrumb-trail {
    color: #C9CABB;
    position: relative;
    z-index: 1;
}

.contact-hero .breadcrumb-trail a {
    color: var(--gold);
}

.contact-hero .breadcrumb-trail i {
    color: #C9CABB;
}

.contact-hero h1 {
    color: #fff;
    font-size: 34px;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.contact-hero p.lead {
    color: #C9CABB;
    max-width: 540px;
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

.contact-wrap {
    max-width: 1180px;
    margin: -80px auto 0;
    padding: 0 24px 90px;
    position: relative;
    z-index: 2;
}

.contact-panel {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(35, 45, 28, .18);
    overflow: hidden;
}

.contact-info {
    color: #E5E6D9;
    padding: 48px 40px;

    background-image: url(../assets/imgs/bg/cta-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-info h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 8px;
}

.contact-info>p {
    color: #B9BBA9;
    font-size: 14px;
    margin-bottom: 32px;
}

.info-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.info-row .ic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 15px;
}

.info-row .t {
    font-size: 13px;
    color: #9EA08D;
    margin-bottom: 2px;
}

.info-row .d {
    font-size: 14.5px;
    color: #fff;
    font-weight: 500;
}

.info-row .d a {
    color: #fff;
    text-decoration: none;
}

.info-row .d a:hover {
    color: var(--gold);
}

.info-divider {
    height: 1px;
    background: rgba(255, 255, 255, .1);
    margin: 30px 0;
}

.info-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.info-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E5E6D9;
    text-decoration: none;
}

.info-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--herbal-green);
}

.contact-form {
    padding: 48px 44px;
}

.contact-form h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.contact-form>p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--herbal-green);
}

.form-field input,
.form-field select,
.form-field textarea {
    border: 1px solid #E1DCCB;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--beige);
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--apple-green);
    background: #fff;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    background: var(--apple-green);
    color: #fff;
    border: none;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.form-submit:hover {
    background: var(--apple-green-dark);
}

.form-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
    text-align: center;
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.map-card {
    border: 1px solid #E7E2D3;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.map-card .map-head {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-card .map-head i {
    color: var(--apple-green);
}

.map-card .map-head h4 {
    font-size: 15px;
}

.map-card iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .map-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 36px 24px;
    }

    .contact-wrap {
        margin-top: -60px;
    }
}

/* <!-- =========== Articles Page CSS =========== --> */
.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-chip {
    border: 1px solid #E1DCCB;
    background: #fff;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    padding: 9px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.filter-chip:hover {
    border-color: var(--apple-green);
    color: var(--apple-green-dark);
}

.filter-chip.active {
    background: var(--apple-green);
    border-color: var(--apple-green);
    color: #fff;
}

.article-grid.wide {
    grid-template-columns: repeat(3, 1fr);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}

.article-meta i {
    font-size: 11px;
}

.article-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--muted);
}

.load-more-wrap {
    text-align: center;
    margin-top: 44px;
}

@media (max-width: 900px) {
    .article-grid.wide {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .article-grid.wide {
        grid-template-columns: 1fr;
    }
}

/* <!-- =========== Article Details CSS =========== --> */
.article-hero {
    padding: 54px 0 0;
}

.article-hero .breadcrumb-trail {
    margin-bottom: 18px;
}

.article-head {
    max-width: 760px;
}

.article-head .article-tag {
    display: inline-block;
    margin-bottom: 14px;
}

.article-head h1 {
    font-size: 32px;
    line-height: 1.28;
    margin-bottom: 18px;
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E7E2D3;
    margin-bottom: 0;
}

.article-byline .av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--beige-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--apple-green-dark);
    font-size: 15px;
}

.article-byline .name {
    font-size: 14px;
    font-weight: 600;
}

.article-byline .meta {
    font-size: 12.5px;
    color: var(--muted);
}

.article-cover {
    aspect-ratio: 21/9;
    border-radius: 18px;
    background: linear-gradient(150deg, var(--apple-green), var(--herbal-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 36px 0 0;
}

.article-cover i {
    font-size: 60px;
    color: rgba(255, 255, 255, .85);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
    margin-top: 48px;
}

.article-body-copy h3 {
    font-size: 20px;
    margin: 34px 0 14px;
}

.article-body-copy p {
    font-size: 15.5px;
    color: var(--ink);
    margin-bottom: 18px;
    line-height: 1.75;
}

.article-body-copy p:first-child {
    margin-top: 0;
}

.article-cta-inline {
    background: var(--beige);
    border: 1px solid #E7E2D3;
    border-radius: 14px;
    padding: 24px 26px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.article-cta-inline p {
    margin: 0;
    font-size: 14px;
    color: var(--herbal-green);
    font-weight: 500;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #E7E2D3;
    border-radius: 14px;
    padding: 24px 22px;
    margin-bottom: 22px;
}

.sidebar-card h5 {
    font-family: 'Work Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--herbal-green);
    margin-bottom: 16px;
}

.share-row {
    display: flex;
    gap: 10px;
}

.share-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #E1DCCB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--herbal-green);
    text-decoration: none;
}

.share-row a:hover {
    background: var(--apple-green);
    border-color: var(--apple-green);
    color: #fff;
}

.related-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    margin-bottom: 14px;
}

.related-item:last-child {
    margin-bottom: 0;
}

.related-item .thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(150deg, var(--apple-green), var(--herbal-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.related-item .title {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}

.sidebar-doctor {
    text-align: center;
}

.sidebar-doctor .av-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: var(--beige-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apple-green);
    font-size: 26px;
}

.sidebar-doctor .name {
    font-size: 14.5px;
    font-weight: 600;
}

.sidebar-doctor .role {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

/* =========== Pharmacy / Products Page CSS =========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: #fff;
    border: 1px solid #E7E2D3;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(51, 66, 42, .1);
    border-color: var(--apple-green);
}

.product-thumb {
    aspect-ratio: 1/1;
    background: linear-gradient(150deg, var(--apple-green), var(--herbal-green));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb i {
    font-size: 34px;
    color: rgba(255, 255, 255, .85);
}

.product-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat-tag {
    font-size: 11px;
    color: var(--apple-green-dark);
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 8px;
    display: block;
}

.product-body h4 {
    font-size: 15.5px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-desc {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
    flex: 1;
}

.btn-whatsapp-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.btn-whatsapp-product:hover {
    background: #1DAE54;
}

.btn-whatsapp-product i {
    font-size: 15px;
}

.branch-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3C8A44;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 14px;
}

.branch-whatsapp i {
    font-size: 16px;
}

.product-card[hidden] {
    display: none;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* =========== Treatments Page CSS =========== */
.treat-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.treat-nav-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #E7E2D3;
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.treat-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(51, 66, 42, .1);
    border-color: var(--apple-green);
}

.treat-nav-card i {
    font-size: 26px;
    color: var(--apple-green);
    margin-bottom: 16px;
}

.treat-nav-card h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.treat-nav-card p {
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 0;
}

.treatment-block {
    scroll-margin-top: 90px;
}

.treatment-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.treatment-grid.reverse {
    grid-template-columns: 1.15fr .85fr;
}

.treatment-grid.reverse .treatment-visual {
    order: 2;
}

.treatment-visual {
    aspect-ratio: 1/1;
    border-radius: 18px;
    background: linear-gradient(160deg, var(--apple-green) 0%, var(--herbal-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-visual i {
    font-size: 90px;
    color: rgba(255, 255, 255, .9);
}

.treatment-copy .eyebrow {
    margin-bottom: 8px;
}

.treatment-copy h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.treatment-copy>p {
    color: var(--muted);
    font-size: 15.5px;
    margin-bottom: 22px;
}

.treatment-points {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.treatment-points li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14.5px;
}

.treatment-points i {
    color: var(--apple-green);
    margin-top: 3px;
}

@media (max-width: 900px) {
    .treat-nav-grid {
        grid-template-columns: 1fr 1fr;
    }

    .treatment-grid,
    .treatment-grid.reverse {
        grid-template-columns: 1fr;
    }

    .treatment-grid.reverse .treatment-visual {
        order: 0;
    }
}

@media (max-width: 600px) {
    .treat-nav-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= CURSOR WATER RIPPLE (loops only while hovering) ================= */
/* ================= GLOBAL WATER LAYER (whole site) ================= */
#globalWater {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(180deg, #F6F2E9, #EFE8D7);
}

#globalWater svg {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 140%;
    height: 45%;
}

/* base opacity, layered waves for depth */
.g-wave-1 {
    opacity: .10;
}

.g-wave-2 {
    opacity: .07;
}

.g-wave-3 {
    opacity: .05;
}

/* continuous idle loop - always running, no cursor needed */
.g-wave-1 {
    animation: g-wave-flow-1 14s ease-in-out infinite,
        g-wave-bob-1 6s ease-in-out infinite;
}

.g-wave-2 {
    animation: g-wave-flow-2 20s ease-in-out infinite,
        g-wave-bob-2 8s ease-in-out infinite;
}

.g-wave-3 {
    animation: g-wave-flow-1 26s ease-in-out infinite reverse,
        g-wave-bob-1 10s ease-in-out infinite reverse;
}

@keyframes g-wave-flow-1 {
    0% {
        transform: translateX(0) scaleY(1);
    }

    50% {
        transform: translateX(-6%) scaleY(1.08);
    }

    100% {
        transform: translateX(0) scaleY(1);
    }
}

@keyframes g-wave-flow-2 {
    0% {
        transform: translateX(0) scaleY(1);
    }

    50% {
        transform: translateX(6%) scaleY(.94);
    }

    100% {
        transform: translateX(0) scaleY(1);
    }
}

@keyframes g-wave-bob-1 {
    0% {
        margin-bottom: 0;
    }

    50% {
        margin-bottom: 10px;
    }

    100% {
        margin-bottom: 0;
    }
}

@keyframes g-wave-bob-2 {
    0% {
        margin-bottom: 0;
    }

    50% {
        margin-bottom: -8px;
    }

    100% {
        margin-bottom: 0;
    }
}

/* shimmer sweep that loops across the water surface continuously */
#globalWater::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .25) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: g-shimmer-sweep 8s linear infinite;
}

@keyframes g-shimmer-sweep {
    0% {
        left: -60%;
    }

    100% {
        left: 120%;
    }
}

/* global cursor ripple, appears anywhere on the page (extra, on top of the loop) */
.g-ripple {
    position: fixed;
    z-index: 9999;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(110, 143, 62, .55);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    animation: g-ripple-expand 1s ease-out forwards;
}

@keyframes g-ripple-expand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: .7;
        border-width: 2.5px;
    }

    100% {
        transform: translate(-50%, -50%) scale(7);
        opacity: 0;
        border-width: .5px;
    }
}

/* global cursor ripple, appears anywhere on the page */
.g-ripple {
    position: fixed;
    z-index: 9999;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(110, 143, 62, .55);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    animation: g-ripple-expand 1s ease-out forwards;
}

@keyframes g-ripple-expand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: .7;
        border-width: 2.5px;
    }

    100% {
        transform: translate(-50%, -50%) scale(7);
        opacity: 0;
        border-width: .5px;
    }
}

.img-border-radius-css {
    border-radius: 13px;
}

.white-bg-img {
    background-image: url(../assets/imgs/bg/gathara-ayurveda-bg-2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.white-bg-img2 {
    background-image: url(../assets/imgs/bg/gathara-ayurveda.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ================= TREATMENTS SECTION — MODERN DARK GRID ================= */
.treatments-section {
    position: relative;
    overflow: hidden;
    background: var(--herbal-green);
    padding: 100px 0;
}

.treatments-bg {
    position: absolute;
    inset: 0;
    background: url('../assets/imgs/bg/gathara-ayurveda-bg2.png') center/cover no-repeat;
    filter: blur(0px);
    transform: scale(1.05);
    z-index: 0;
}

.treatments-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 74%), rgb(0 0 0 / 68%));
    z-index: 1;
}

.treatments-section .container {
    position: relative;
    z-index: 2;
}

.section-head.center.light {
    margin: 0 auto 60px;
    text-align: center;
    max-width: 640px;
}

.section-head.light .eyebrow {
    color: var(--gold);
}

.section-head.light h2 {
    color: #fff;
}

.section-head.light p {
    color: #D8D7C9;
}

/* ---- numbered grid ---- */
.treat-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.treat-card-modern {
    border-right: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    padding: 40px 42px;
    transition: background .25s ease;
    text-decoration: none;
}

.treat-card-modern:hover {
    background: rgba(255, 255, 255, .05);
}

.treat-num {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 15px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: .5px;
}

.treat-card-modern h4 {
    color: #fff;
    font-size: 21px;
    margin-bottom: 14px;
}

.treat-card-modern p {
    color: #C9CABB;
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    .treat-grid-modern {
        grid-template-columns: 1fr;
    }

    .treat-card-modern {
        padding: 32px 28px;
    }
}

@media (max-width: 600px) {
    .treatments-section {
        padding: 70px 0;
    }
}

/* ================= ARTICLE / TESTI SLIDER (shared) ================= */
.article-slider,
.testi-slider {
    position: relative;
    overflow: hidden;
}

.article-track,
.testi-track {
    display: flex;
    gap: 24px;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.article-track .article-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
}

.testi-track .testi-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 36px;
}

.slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #E1DCCB;
    background: #fff;
    color: var(--herbal-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.slider-btn:hover {
    background: var(--apple-green);
    border-color: var(--apple-green);
    color: #fff;
}

.slider-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E1DCCB;
    cursor: pointer;
    transition: background .2s ease, width .2s ease;
}

.slider-dots span.active {
    background: var(--apple-green);
    width: 22px;
    border-radius: 5px;
}

@media (max-width: 900px) {

    .article-track .article-card,
    .testi-track .testi-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 600px) {

    .article-track .article-card,
    .testi-track .testi-card {
        flex: 0 0 100%;
    }
}

.page-banner {
    position: relative;
    background: var(--beige);
    padding: 96px 0 96px;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../assets/imgs/bg/breadcrumb-bg.png') right center / cover no-repeat;
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}

/* fade the left side so it blends smoothly with beige bg */
.page-banner::before {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 35%, black 70%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 35%, black 70%);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item .cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .65));
    color: #fff;
    font-size: 14px;
    padding: 10px 12px 8px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 6px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.read-more-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin: 4px 0 10px;
    text-decoration: none;
    color: var(--brand-green, #2e7d32);
}

.read-more-link i {
    font-size: 11px;
    margin-left: 3px;
}

.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-modal-box {
    background: #fff;
    max-width: 600px;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.product-modal-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f2f2f2;
}

.product-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-modal-content {
    padding: 24px;
}

.product-modal-content h3 {
    margin: 0 0 12px;
}

.product-modal-content p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 18px;
}

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.article-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-cover {
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
    border-radius: 14px;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-item .thumb {
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Google Translate */

/* Hide Google Translate top banner */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

/* Also hides the highlight/underline Google adds to translated text */
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Hide the Google Translate top iframe banner completely */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    top: -1000px !important;
}

/* Remove the highlight box Google puts around translated words */
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Hide the small Google Translate tooltip/menu that can appear on hover */
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

body>.skiptranslate {
    display: none !important;
}

/* Google Translate */

/* ================= MOBILE NAV FIXES ================= */
@media (max-width: 991px) {
    .main-nav .container {
        padding: 0;
        /* remove container's own left/right padding on mobile */
    }

    .main-nav .container>.brand {
        padding-left: 20px;
        /* keep logo away from the very edge */
    }

    .navbar-toggler-custom {
        margin-left: auto;
        /* push button to the far right */
        padding: 28px 20px;
        /* padding INSIDE the button = bigger tap target + spacing from edge */
        background: transparent;
        border: none;
        font-size: 20px;
        color: var(--ink);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ================= MOBILE TOP BAR FIX ================= */
@media (max-width: 991px) {
    .topbar .container {
        padding: 10px 16px;
        /* force left/right spacing back on mobile */
    }
}

/* ================= MOBILE NAV MENU ================= */
@media (max-width: 991px) {

    .navbar-toggler-custom {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 28px 20px;
        background: transparent;
        border: none;
        font-size: 20px;
        color: var(--ink);
        z-index: 1101;
    }

    /* Dark backdrop behind the menu */
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(43, 43, 36, .45);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease;
        z-index: 1099;
    }

    .nav-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    /* The sliding menu panel itself */
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        /* hidden off-screen by default */
        width: 280px;
        max-width: 80%;
        height: 100vh;
        background: var(--white);
        box-shadow: -8px 0 30px rgba(0, 0, 0, .15);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px 28px 28px;
        transition: right .3s ease;
        z-index: 1100;
        overflow-y: auto;
    }

    .nav-links.show {
        right: 0;
        /* slides in */
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #EFEBDD;
    }

    .nav-links li a,
    .nav-links .dropdown-toggle-custom {
        display: block;
        width: 100%;
        padding: 14px 0;
        font-size: 16px;
        font-weight: 500;
        color: var(--ink);
        text-align: left;
    }

    .nav-links li a.active,
    .nav-links li a:hover {
        color: var(--apple-green-dark);
    }

    /* Treatments dropdown inside mobile menu */
    .dropdown-wrap .dropdown-menu-custom {
        position: static;
        /* no floating dropdown on mobile, expands inline */
        display: none;
        box-shadow: none;
        padding: 0 0 10px 14px;
        min-width: 0;
    }

    .dropdown-wrap.open .dropdown-menu-custom {
        display: block;
    }

    .dropdown-menu-custom a {
        padding: 10px 0 !important;
        font-size: 14.5px !important;
        color: var(--muted) !important;
    }
}

@media (max-width: 991px) {
    .nav-close-wrap {
        width: 100%;
        border-bottom: none !important;
        display: flex;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .nav-close-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #E1DCCB;
        background: var(--beige);
        color: var(--ink);
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .nav-close-btn:hover {
        background: var(--apple-green);
        border-color: var(--apple-green);
        color: #fff;
    }
}

@media (max-width:991px) {
    .topbar-left .topbar-item span {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 78%;
        max-width: 320px;
        height: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 24px 24px;
        transition: left .35s ease;
        box-shadow: 8px 0 24px rgba(0, 0, 0, .1);
    }

    .nav-links.open {
        left: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 0;
    }

    .dropdown-menu-custom {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        padding-left: 12px;
    }

    .dropdown-wrap.open .dropdown-menu-custom {
        display: block;
    }

    .nav-actions .btn-appointment {
        display: none;
    }

    .navbar-toggler-custom {
        display: block;
    }

    /* --- FIXED: smooth fade instead of instant show/hide --- */
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(43, 43, 36, .4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s ease, visibility .35s ease;
    }

    .nav-backdrop.open {
        opacity: 1;
        visibility: visible;
    }
}

/* Hide close button by default (desktop) */
.nav-close-wrap {
    display: none;
}

@media (max-width: 991px) {
    .nav-close-wrap {
        display: flex;
        /* show only on mobile */
        width: 100%;
        border-bottom: none !important;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .nav-close-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #E1DCCB;
        background: var(--beige);
        color: var(--ink);
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .nav-close-btn:hover {
        background: var(--apple-green);
        border-color: var(--apple-green);
        color: #fff;
    }
}

/* ================= PRELOADER ================= */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--herbal-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-leaf {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    position: relative;
    animation: preloader-spin 1.6s linear infinite;
}

.preloader-leaf::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: white;
    animation: preloader-spin 1.1s linear infinite;
}

.preloader-leaf i {
    font-size: 26px;
    color: white;
}

@keyframes preloader-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.preloader-text {
    color: #E8E6D6;
    font-family: 'Fraunces', serif;
    font-size: 15px;
    letter-spacing: .5px;
}

/* ================= HEADING CAPITALIZATION ================= */
h1,
h2 {
    text-transform: capitalize;
}

/* ================= HEADING REVEAL ANIMATION ================= */
h1,
h2 {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.25, .46, .45, .94), transform .7s cubic-bezier(.25, .46, .45, .94);
}

h1.heading-visible,
h2.heading-visible {
    opacity: 1;
    transform: translateY(0);
}

/* subtle underline sweep for section headings (h2 only) */
h2.heading-visible::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--apple-green-dark, #4a7c3a);
    margin-top: 10px;
    animation: headingUnderline .8s ease forwards .3s;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes headingUnderline {
    to {
        transform: scaleX(1);
    }
}

.doctor-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-social-fb {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
    transition: transform .2s ease, box-shadow .2s ease;
    margin-top: -12px;
}

.doctor-social-fb:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, .35);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 900px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

.doctor-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.doctor-card-photo {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.doctor-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-card-body {
    padding: 22px;
}

.doctor-card-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--apple-green-dark, #4a7c3a);
    background: rgba(74, 124, 58, .1);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.doctor-card-body h4 {
    margin: 0 0 4px;
    font-size: 19px;
}

.doctor-card-reg {
    font-size: 12.5px;
    color: var(--muted, #777);
    margin-bottom: 12px;
}

.doctor-card-excerpt {
    font-size: 13.5px;
    color: var(--muted, #666);
    line-height: 1.6;
    margin-bottom: 14px;
}

.read-more-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--apple-green-dark, #4a7c3a);
}

.read-more-link i {
    font-size: 11px;
    margin-left: 3px;
}

.doctor-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, background .3s ease, visibility 0s linear .3s;
}

.doctor-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, .6);
    transition: opacity .3s ease, background .3s ease, visibility 0s linear 0s;
}

.doctor-modal-box {
    background: #fff;
    max-width: 620px;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(.9) translateY(20px);
    opacity: 0;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
}

.doctor-modal.active .doctor-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.doctor-modal-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f2f2f2;
}

.doctor-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-modal-content {
    padding: 24px;
}

.doctor-modal-content h3 {
    margin: 0 0 6px;
}

.doctor-modal-reg {
    font-size: 13px;
    color: var(--muted, #777);
    margin-bottom: 14px;
}

.doctor-modal-content p {
    line-height: 1.7;
    color: #555;
}

.doctor-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.mission-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: start;
    padding: 50px 40px;
    background: #ffffff4f;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .06);
}

.mission-icon {
    font-size: 34px;
    color: var(--apple-green-dark, #4a7c3a);
    margin-bottom: 16px;
    display: inline-block;
}

.mission-card .eyebrow {
    margin-bottom: 8px;
}

.mission-card h2 {
    margin-bottom: 18px;
}

.mission-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted, #555);
}

/* hidden on desktop by default */
.mobile-menu-brand,
.mobile-menu-contact {
    display: none;
}

@media (max-width: 991px) {

    /* make the panel a column so contact can stick to the bottom */
    .nav-links {
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    /* these two wrapper <li>s shouldn't get the default row border */
    .mobile-menu-brand-wrap,
    .mobile-menu-contact-wrap {
        border-bottom: none !important;
    }

    /* logo block at top */
    .mobile-menu-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding-bottom: 18px;
        margin-bottom: 4px;
        border-bottom: 1px solid #EFEBDD;
    }

    .mobile-menu-brand img {
        width: 41px;
        height: auto;
        border-radius: 0%;
        object-fit: cover;
        flex-shrink: 0;
    }

    .mobile-menu-brand .name {
        font-family: 'Fraunces', serif;
        font-size: 16.5px;
        font-weight: 600;
        color: var(--apple-green-dark);
        display: block;
    }

    .mobile-menu-brand .tagline {
        font-size: 11px;
        color: #8C8E7C;
    }

    /* contact block, pushed to the bottom of the panel */
    .mobile-menu-contact {
        display: block;
        width: 100%;
        margin-top: auto;
        padding-top: 18px;
        border-top: 1px solid #EFEBDD;
    }

    .mobile-menu-contact .mc-row {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13.5px;
        color: var(--muted);
        text-decoration: none;
        padding: 6px 0;
    }

    .mobile-menu-contact .mc-row i {
        width: 16px;
        color: var(--apple-green);
        font-size: 14px;
    }

    .mobile-menu-contact .mc-social {
        display: flex;
        gap: 10px;
        margin-top: 12px;
    }

    .mobile-menu-contact .mc-social a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid #E1DCCB;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--herbal-green);
        text-decoration: none;
        font-size: 13px;
    }

    .mobile-menu-contact .mc-social a:hover {
        background: var(--apple-green);
        border-color: var(--apple-green);
        color: #fff;
    }
}

.location-slider {
    overflow: hidden;
    position: relative;
}
.location-track {
    display: flex;
    gap: 24px;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.location-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
}
.location-photo {
    width: 100%;
    aspect-ratio: 4/4;
    overflow: hidden;
    border-radius: 14px;
    background: #f2f2f2;
}
.location-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.location-card:hover .location-photo img {
    transform: scale(1.06);
}
.location-title {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink, #2a2a2a);
    margin-top: 14px;
}

@media (max-width: 900px) {
    .location-card {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: calc((100% - 24px) / 2);
    }
}
@media (max-width: 600px) {
    .location-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}