/********** Mama's Thai — Restoran template theme **********/
:root {
    --primary: #F4B400;
    --primary-dim: #C89000;
    --cta: #D62828;
    --cta-dark: #A81F1F;
    --gold-orange: #E0912B;
    --light: #FFFFFF;
    --dark: #0F0D0B;
    --ink-2: #1C1815;
    --charcoal: #181511;
    --cream-dim: #E9E3D6;
    --body-muted: #3a352c;
    --card-radius: 1rem;
}

body {
    font-family: 'Work Sans', 'Segoe UI', Arial, sans-serif;
    color: var(--body-muted);
}

h1, h2, h3, h4, h5, .navbar-brand h1 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
}

.ff-secondary {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 500;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 24px;
    z-index: 1055;
    pointer-events: auto;
}

@media (max-width: 991.98px) {
    .back-to-top {
        right: 16px;
        bottom: 88px; /* above WhatsApp float */
        width: 44px;
        height: 44px;
    }

    .wa-float {
        right: 16px;
        bottom: 24px;
        width: 48px;
        height: 48px;
    }
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--dark) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dim) !important;
    border-color: var(--primary-dim) !important;
    color: var(--dark) !important;
}

.btn-cta {
    background-color: var(--cta) !important;
    border-color: var(--cta) !important;
    color: #FFFFFF !important;
}

.btn-cta:hover {
    background-color: var(--cta-dark) !important;
    border-color: var(--cta-dark) !important;
    color: #FFFFFF !important;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Topbar ***/
.mama-topbar {
    background: var(--ink-2);
    color: var(--cream-dim);
    font-size: 0.85rem;
    padding: 8px 0;
    overflow: visible;
}

.mama-topbar span {
    display: inline-block;
    margin-left: 6.5rem; /* clear overlapping logo */
}

.mama-topbar a {
    color: var(--cream-dim);
}

.mama-topbar a:hover {
    color: var(--primary);
}


/*** Trust strip — thin black bar under hero ***/
.trust-strip,
.mama-trust {
    background: var(--dark); /* #0F0D0B */
    color: var(--cream-dim);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 0.65rem 0;
    min-height: 2.75rem;
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.trust-strip-badge,
.mama-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
}

.trust-strip-badge a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.trust-strip-badge a:hover {
    color: var(--primary);
}

.trust-strip-badge small {
    opacity: 0.75;
    font-weight: 400;
    margin-left: 0.25rem;
}

.trust-strip-badge .fa-star,
.mama-trust-badge .fa-star {
    color: var(--primary); /* gold/yellow */
    font-size: 0.85rem;
}

.trust-strip-quote,
.mama-trust-quote {
    margin: 0;
    color: var(--cream-dim);
    font-style: normal;
    font-size: 0.86rem;
    line-height: 1.45;
    border-left: 2px solid var(--primary);
    padding-left: 0.85rem;
    max-width: 26rem;
}

@media (max-width: 767.98px) {
    .trust-strip-inner {
        flex-direction: column;
        gap: 0.55rem;
        text-align: center;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .trust-strip-quote,
    .mama-trust-quote {
        border-left: none;
        border-top: 2px solid var(--primary);
        padding-left: 0;
        padding-top: 0.55rem;
        max-width: 100%;
    }
}


/*** Instagram + Find us ***/
.mama-insta-grid img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--card-radius);
}

.mama-map-placeholder,
.mama-map-frame {
    min-height: 280px;
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
    font-size: 0.95rem;
    border-radius: var(--card-radius);
}

.mama-map-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.mama-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991.98px) {
    .col-lg-6:has(.mama-map-frame),
    .col-lg-7:has(.mama-map-frame) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .mama-map-frame {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .mama-map-frame.mama-3d-card,
    .mama-map-frame.mama-3d-card:hover {
        transform: none;
    }
}

.mama-hours {
    max-width: 360px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 18px;
    padding: 35px 0;
    font-size: 14px;
    color: var(--light) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark,
.navbar-dark.sticky-top {
    overflow: visible;
}

.navbar-identity {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 1045;
}

.navbar-dark .navbar-brand {
    line-height: 0;
    flex: 0 0 auto;
    width: auto;
    display: flex;
    justify-content: center;
}

.header-social {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 0.4rem;
    flex-shrink: 0;
    margin-left: 0.35rem;
    margin-right: 0;
    position: relative;
    z-index: 1045;
}

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.4rem;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.header-social a:hover,
.header-social a:focus-visible {
    color: var(--dark);
    background: var(--primary);
    border-color: var(--primary);
}

.navbar-dark .navbar-brand img {
    display: block;
    width: auto;
    height: 148px;
    max-height: none;
    margin-top: -42px; /* sit in the topbar as well as the nav */
    margin-bottom: -48px;
    transition: height .35s ease, margin .35s ease;
}

.sticky-top.navbar-dark .navbar-brand img {
    height: 112px;
    margin-top: -8px;
    margin-bottom: -24px;
}

/* Reserve CTA — only after scroll (hero button covers the top) */
.nav-reserve-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-width: 0;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
    white-space: nowrap;
    border-width: 0 !important;
    transition: opacity .25s ease, visibility .25s ease, max-width .25s ease, padding .25s ease, margin .25s ease;
}

.navbar.navbar-scrolled .nav-reserve-cta {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-width: 220px;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    border-width: 1px !important;
}

/* Nav search — after menu links, before Reserve CTA */
.nav-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.85rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: transparent;
    color: var(--light);
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.nav-search-btn:hover,
.nav-search-btn:focus-visible {
    color: var(--dark);
    background: var(--primary);
    border-color: var(--primary);
    outline: none;
}

.nav-search-btn .nav-search-label {
    display: none;
}

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 18vh 1.25rem 2rem;
    background: rgba(15, 13, 11, 0.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-overlay .search-box {
    width: min(560px, 100%);
}

.search-overlay .search-box form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.75rem;
}

.search-overlay .search-box .search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--primary);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
}

.search-overlay .search-box .search-submit:hover,
.search-overlay .search-box .search-submit:focus-visible {
    color: var(--light);
    outline: none;
}

.search-overlay .search-box .fa-search {
    color: inherit;
    font-size: inherit;
}

.search-overlay .search-box input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    color: var(--light);
    font-size: 1.25rem;
}

.search-overlay .search-box input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.search-overlay .search-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 0.15rem;
    cursor: pointer;
}

.search-overlay .search-close:hover,
.search-overlay .search-close:focus-visible {
    color: var(--primary);
    outline: none;
}

.search-overlay .search-hint {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.search-overlay .search-hint kbd {
    color: var(--primary);
    font-family: inherit;
}

@media (max-width: 991.98px) {
    .mama-topbar {
        font-size: 0.75rem;
        padding: 6px 0;
    }

    .mama-topbar span {
        margin-left: 4.5rem;
        max-width: calc(100% - 7.5rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar {
        flex-wrap: wrap;
        align-items: center;
        overflow: visible;
    }

    .navbar-identity {
        max-width: none;
        min-width: 0;
        flex: 1 1 auto;
        order: 1;
    }

    .navbar-dark .navbar-brand {
        flex: 1 1 auto;
        flex-basis: auto;
        width: auto;
        min-width: 0;
        margin-right: 0;
    }

    /* Social stays beside the logo (left) */
    .header-social {
        order: 2;
        margin-left: 0.2rem;
        margin-right: 0;
    }

    .header-social a {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.15rem;
    }

    .navbar-dark .navbar-brand img {
        height: auto;
        max-height: 104px;
        max-width: 100%;
        width: auto;
        object-fit: contain;
        margin-top: -34px;
        margin-bottom: -36px;
    }

    .sticky-top.navbar-dark .navbar-brand img {
        height: auto;
        max-height: 88px;
        margin-top: -6px;
        margin-bottom: -18px;
    }

    .navbar:has(.navbar-collapse.show) .navbar-brand img,
    .navbar:has(.navbar-collapse.collapsing) .navbar-brand img {
        height: auto;
        max-height: 64px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        order: 3;
        margin-left: auto; /* hamburger alone on the right */
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 0.35rem;
        padding: 0.45rem 0.7rem;
        font-size: 1.15rem;
        line-height: 1;
        background: transparent;
        z-index: 1040;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.15rem rgba(244, 180, 0, 0.35);
    }

    .navbar-toggler[aria-expanded="true"] .fa-bars::before {
        content: "\f00d";
    }

    .sticky-top.navbar-dark.navbar-scrolled {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1030;
        background: var(--dark) !important;
    }

    /* Dropdown below header row — normal left-aligned list */
    .navbar-dark .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        width: 100%;
        max-width: 100%;
        order: 4;
        position: relative;
        z-index: 1050;
        margin-top: 0.65rem;
        margin-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
        background: var(--dark);
        padding: 0.35rem 0 0.85rem;
        text-align: left;
    }

    .navbar-dark .navbar-collapse.show {
        max-height: calc(100dvh - 6.5rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-dark .navbar-nav {
        width: 100%;
        padding-right: 0 !important;
        align-items: stretch;
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 0.8rem 0.25rem;
        margin-left: 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .navbar-dark .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .nav-search-btn {
        width: 100%;
        height: auto;
        margin: 0.65rem 0 0;
        margin-right: 0;
        padding: 0.7rem 1.25rem;
        border-radius: 0.35rem;
        gap: 0.55rem;
        font-size: 0.9rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .nav-search-btn .nav-search-label {
        display: inline;
    }

    .nav-reserve-cta,
    .navbar:not(.navbar-scrolled) .nav-reserve-cta,
    .navbar.navbar-scrolled .nav-reserve-cta {
        display: flex !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-width: none;
        width: 100%;
        margin: 0.65rem 0 0 !important;
        padding: 0.7rem 1.25rem !important;
        border-width: 1px !important;
        justify-content: center;
        overflow: visible;
    }
}

/* Galaxy-class widths (~360px): keep hamburger fully on-screen */
@media (max-width: 389.98px) {
    .navbar.navbar-expand-lg {
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(1rem, env(safe-area-inset-right, 0px)) !important;
    }

    .header-social {
        gap: 0.25rem;
        margin-left: 0.1rem;
        margin-right: 0.35rem;
    }

    .header-social a {
        width: 2rem;
        height: 2rem;
        font-size: 1.05rem;
    }

    .navbar-toggler {
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 40px;
        left: 0;
        z-index: 999;
        background: transparent !important;
        flex-wrap: nowrap;
        align-items: center;
    }

    .navbar-identity {
        order: 1;
        flex-shrink: 0;
    }

    /* Social stays tight next to the logo */
    .header-social {
        order: 2;
        margin-left: 0.25rem;
    }

    /* Menu block on the right — keep clear gap from Facebook icon */
    .navbar-dark .navbar-collapse {
        order: 3;
        flex-grow: 0;
        flex-basis: auto;
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        padding-left: 1.75rem; /* separates Home from social cluster */
        gap: 0;
    }

    .navbar-dark .navbar-nav {
        margin-left: 0;
        margin-right: 0;
        padding-right: 0.75rem !important;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .navbar-dark .navbar-nav .nav-link {
        margin-left: 1.1rem;
        white-space: nowrap;
    }

    .navbar-dark .navbar-nav .nav-link:first-child {
        margin-left: 0;
    }

    .navbar-toggler {
        display: none !important;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        top: 0;
        background: var(--dark) !important;
    }

    /* Keep the same packing when sticky / reserve CTA appears */
    .sticky-top.navbar-dark .navbar-collapse,
    .navbar.navbar-scrolled .navbar-collapse {
        flex-grow: 0;
        margin-left: auto;
        padding-left: 1.75rem;
        justify-content: flex-end;
    }
}

/* Keep the sticky bar (and logo) aligned with the boxed site, not the viewport edge */
@media (min-width: 1400px) {
    .sticky-top.navbar-dark,
    .sticky-top.navbar-dark.navbar-scrolled {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1320px;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(15, 13, 11, .88), rgba(15, 13, 11, .88)), url(../img/bg-hero.webp?v=25);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header img {
    animation: imgRotate 50s linear infinite;
    max-width: 78%;
    height: auto;
}

.hero-header .mama-3d-stage--hero {
    display: inline-block;
    max-width: 78%;
    vertical-align: middle;
}

.hero-header .mama-3d-stage--hero img {
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .hero-header img {
        max-width: 68%;
        max-height: 260px;
        width: auto;
    }

    .hero-header .mama-3d-stage--hero {
        max-width: 68%;
    }

    .hero-header .mama-3d-stage--hero img {
        max-width: 100%;
        max-height: 260px;
    }
}

.hero-header .display-3 {
    font-size: calc(1.4rem + 2.4vw);
    margin-bottom: 0.65rem;
}

@media (min-width: 1200px) {
    .hero-header .display-3 {
        font-size: 2.45rem;
    }
}

.hero-header .row.g-5 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

.hero-header p.mb-4.pb-2 {
    margin-bottom: 1rem !important;
    padding-bottom: 0.35rem !important;
}

.hero-header .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .hero-header .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem 1rem;
    }
}

@media (min-width: 992px) {
    .hero-header .hero-ctas {
        justify-content: flex-start;
    }
}


@keyframes imgRotate { 
    100% { 
        transform: rotate(360deg); 
    } 
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--card-radius) !important;
    overflow: hidden;
}

.service-item > .p-4 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-item > .p-4 p {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--dark) !important;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

/* Search deep-links: clear sticky navbar when jumping to a menu/FAQ row. */
[id^="menu-item-"],
[id^="faq-"] {
    scroll-margin-top: 6.5rem;
}

.mama-deep-link-flash {
    outline: 2px solid var(--primary);
    outline-offset: 6px;
    border-radius: 4px;
    transition: outline-color .3s ease;
}

/* Menu page intro: tighter stack under Food Menu / Browse by category. */
.mama-menu-page-intro .section-title {
    margin-bottom: 0.35rem;
}

.mama-menu-page-intro h1 {
    margin-bottom: 0.5rem !important;
    line-height: 1.2;
}

.mama-menu-page-intro p {
    margin-bottom: 0.35rem !important;
    line-height: 1.45;
}

.mama-menu-page-content {
    margin-top: 0;
    margin-bottom: 1rem !important;
}

.mama-menu-page-content > p {
    margin-bottom: 0.35rem;
    line-height: 1.45;
}

.mama-menu-page-content > p:last-child {
    margin-bottom: 0;
}

/* Menu page category pills: one nowrap row (scroll if needed), rounded buttons.
   flex-start (not center): centered overflow clips the left side and browsers
   only scroll positive overflow, so early categories become unreachable. */
.menu-category-nav {
    overflow: visible;
}

.menu-category-nav .nav-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scroll-padding-inline: 0.75rem;
    border-bottom: none !important;
    padding-inline: 0.75rem;
    padding-bottom: 0.15rem;
    box-sizing: border-box;
}

.menu-category-nav .nav-pills .nav-item {
    flex-shrink: 0;
}

.menu-category-nav .nav-pills .nav-item > a {
    margin: 0 !important;
    padding: 0.5rem 1.05rem !important;
    border-radius: 999px;
    border: 1px solid rgba(15, 13, 11, 0.14);
    background: #fff;
    color: var(--charcoal);
    flex-shrink: 0;
    white-space: nowrap !important;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.menu-category-nav .nav-pills .nav-item > a:hover {
    border-color: var(--primary);
    background: rgba(244, 180, 0, 0.14);
    color: var(--dark);
}

.menu-category-nav .nav-pills .nav-item > a.active,
.menu-category-nav .nav-pills .nav-item .active {
    border-bottom: none;
    border-color: var(--primary);
    background: var(--primary);
    color: var(--dark);
}

.menu-category-nav .nav-pills .nav-item > a.active .text-primary,
.menu-category-nav .nav-pills .nav-item > a.active small,
.menu-category-nav .nav-pills .nav-item > a:hover .text-primary,
.menu-category-nav .nav-pills .nav-item > a:hover small {
    color: inherit !important;
}

.menu-category-nav .nav-pills .nav-item h6 {
    white-space: nowrap !important;
    margin-bottom: 0;
    line-height: 1.25;
    font-size: 0.92rem;
    color: inherit;
}

.menu-chip {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 6px 8px 0;
    border: 1px solid #E7E1D3;
    border-radius: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    background: #fff;
    color: var(--charcoal);
    transition: .2s;
}

.menu-chip.active,
.menu-chip:hover {
    background: var(--gold-orange);
    border-color: var(--gold-orange);
    color: #fff;
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 13, 11, .15), rgba(15, 13, 11, .15)), url(../img/video.webp?v=30);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video-poster {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Home team section — tighter vertical rhythm vs py-5 blocks ***/
.home-team-section {
    padding-top: 2rem;
    padding-bottom: 1.25rem;
}

@media (max-width: 575.98px) {
    .home-team-section {
        padding-top: 1.5rem;
        padding-bottom: 1rem;
    }
}

/*** Team — single 3D card or multi coverflow ***/
.team-stage {
    --team-count: 4;
    --team-active: 0;
    --team-spread: 125px;
    position: relative;
    height: 420px;
    margin: 0 auto 0.5rem;
    padding: 0.5rem 0 0.75rem;
    perspective: 900px;
    perspective-origin: 50% 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
}

/* Single chef — spinning profile card (left) + Z-axis gallery (right) */
.team-stage--single {
    height: auto;
    min-height: 0;
    perspective: none;
    overflow: visible;
}

.team-stage--single::before {
    display: none;
}

.team-single {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    align-items: center;
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 0.25rem 0 0.5rem;
}

.team-single-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1100px;
    perspective-origin: 50% 45%;
    text-align: center;
}

/* Left card: override coverflow absolute positioning */
.team-stage--single .team-card--single {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 320px);
    height: 400px;
    margin: 0 auto;
    margin-left: 0;
    transform: none;
    filter: none;
    transition: none;
    z-index: 2;
}

.team-stage--single .team-card--single .team-card-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: teamSingleSpin 5s linear infinite;
}

.team-stage--single .team-card--single:hover .team-card-inner,
.team-stage--single .team-card--single:focus-visible .team-card-inner,
.team-stage--single.is-modal-open .team-card--single .team-card-inner {
    animation-play-state: paused;
}

.team-stage--single .team-card--single:focus-visible {
    outline: none;
}

.team-stage--single .team-card--single:focus-visible .team-card-face,
.team-stage--single .team-card--single:focus-visible .team-card-face--front {
    box-shadow:
        0 0 0 3px rgba(254, 161, 22, 0.55),
        0 18px 40px rgba(15, 23, 43, 0.18),
        0 2px 8px rgba(15, 23, 43, 0.06);
}

.team-stage--single .team-card--single .team-card-face,
.team-stage--single .team-card--single .team-card-face--front,
.team-stage--single .team-card--single .team-card-face--back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    height: 100%;
    padding: 1.5rem 1.15rem 1.55rem;
    border-radius: var(--card-radius);
    border: 1px solid rgba(15, 23, 43, 0.08);
    background: #fff;
    box-shadow:
        0 18px 40px rgba(15, 23, 43, 0.18),
        0 2px 8px rgba(15, 23, 43, 0.06);
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.team-stage--single .team-card--single .team-card-face--back {
    transform: rotateY(180deg);
}

@keyframes teamSingleSpin {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

/* Face visibility: large mask + upper-face crop (keep 260px — do not shrink to 128px) */
.team-stage--single .team-card--single .team-photo,
.team-stage--single .team-card--single .team-photo--chef {
    width: 260px;
    height: 260px;
    max-width: 260px;
    max-height: 260px;
    flex-shrink: 0;
    display: block;
    box-shadow:
        0 18px 40px rgba(15, 23, 43, 0.2),
        0 4px 12px rgba(15, 23, 43, 0.08);
}

.team-stage--single .team-card--single .team-photo img,
.team-stage--single .team-card--single .team-photo--chef img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

.team-single-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.team-card-note {
    margin: 0.9rem auto 0;
    max-width: 16rem;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #6c757d;
}

.team-stage--single .team-card--single .team-name,
.team-single-copy .team-name {
    font-family: var(--font-heading, inherit);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
    color: #0f172b;
}

.team-stage--single .team-card--single .team-role,
.team-single-copy .team-role {
    font-size: 0.95rem;
    color: #6c757d;
}

.team-single-gallery {
    position: relative;
    min-height: 320px;
    height: 340px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-z-stage {
    position: relative;
    width: min(100%, 380px);
    height: 300px;
    transform-style: preserve-3d;
    transform: rotateX(8deg);
}

.team-z-card {
    position: absolute;
    inset: 0;
    margin: 0;
    border-radius: var(--card-radius, 12px);
    overflow: hidden;
    background: #0f172b;
    box-shadow: 0 16px 36px rgba(15, 23, 43, 0.22);
    transform-style: preserve-3d;
    transition:
        transform 0.85s cubic-bezier(0.4, 0.2, 0.2, 1),
        opacity 0.85s ease,
        filter 0.85s ease;
    opacity: 0;
    pointer-events: none;
}

.team-z-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.team-z-card.is-front {
    opacity: 1;
    transform: translateZ(80px) rotateY(0deg) scale(1);
    filter: none;
    z-index: 5;
}

.team-z-card.is-exit {
    opacity: 0;
    transform: translateZ(-160px) rotateY(-28deg) scale(0.86);
    filter: brightness(0.65);
    z-index: 1;
}

.team-z-card.is-enter {
    opacity: 0.55;
    transform: translateZ(-40px) rotateY(22deg) scale(0.92);
    filter: brightness(0.8);
    z-index: 2;
}

.team-z-card.is-wait {
    opacity: 0;
    transform: translateZ(-220px) rotateY(0deg) scale(0.8);
    z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
    .team-stage--single .team-card--single .team-card-inner {
        animation: none;
    }

    .team-stage--single .team-card--single .team-card-face--back {
        display: none;
    }

    .team-z-card {
        transition: none;
    }

    .team-z-card:not(.is-front) {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .team-single {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        max-width: 420px;
    }

    .team-stage--single .team-card--single {
        width: min(100%, 300px);
        height: 380px;
    }

    .team-single-gallery {
        min-height: 280px;
        height: 300px;
        order: -1;
    }

    .team-z-stage {
        height: 260px;
        width: min(100%, 340px);
    }
}

@media (max-width: 575.98px) {
    .team-stage--single {
        min-height: 0;
    }

    .team-stage--single .team-card--single {
        width: min(100%, 240px);
        height: 310px;
    }

    .team-stage--single .team-card--single .team-photo,
    .team-stage--single .team-card--single .team-photo--chef {
        width: 180px;
        height: 180px;
        max-width: 180px;
        max-height: 180px;
    }

    .team-stage--single .team-card--single .team-name,
    .team-single-copy .team-name {
        font-size: 1.25rem;
    }

    .team-single-gallery {
        min-height: 240px;
        height: 260px;
    }

    .team-z-stage {
        height: 220px;
    }
}

.team-stage::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: min(360px, 52%);
    height: 24px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(15, 23, 43, 0.14) 0%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.team-rail {
    position: relative;
    width: min(720px, 100%);
    height: 320px;
    transform-style: preserve-3d;
    z-index: 1;
}

.team-card {
    --offset: 0;
    position: absolute;
    top: 10px;
    left: 50%;
    width: 210px;
    height: 290px;
    margin-left: -105px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform-style: preserve-3d;
    transform:
        rotateX(12deg)
        translateX(calc(var(--offset) * var(--team-spread)))
        rotateY(calc(var(--offset) * -32deg))
        translateZ(calc(140px - (var(--offset) * var(--offset)) * 55px))
        scale(calc(1 - (var(--offset) * var(--offset)) * 0.05));
    transition: transform 0.85s cubic-bezier(0.4, 0.2, 0.2, 1), filter 0.85s ease;
    z-index: 10;
    filter: brightness(calc(1 - (var(--offset) * var(--offset)) * 0.1));
    -webkit-tap-highlight-color: transparent;
}

.team-card.is-active {
    z-index: 40;
    filter: none;
}

.team-card:focus-visible .team-card-face,
.team-card:focus-visible .team-card-face--front {
    box-shadow:
        0 0 0 3px rgba(254, 161, 22, 0.55),
        0 18px 36px rgba(15, 23, 43, 0.18);
}

.team-card-inner {
    display: block;
    width: 100%;
    height: 100%;
}

.team-card-face,
.team-card-face--front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    height: 100%;
    padding: 1.35rem 1rem 1.4rem;
    border-radius: var(--card-radius);
    border: 1px solid rgba(15, 23, 43, 0.08);
    background: #fff;
    box-shadow:
        0 18px 40px rgba(15, 23, 43, 0.18),
        0 2px 8px rgba(15, 23, 43, 0.06);
    overflow: hidden;
}

.team-stage--multi .team-card-face--front {
    position: relative;
}

.team-card .team-photo {
    width: 112px;
    height: 112px;
    flex-shrink: 0;
    display: block;
    box-shadow: 0 10px 22px rgba(15, 23, 43, 0.16);
}

.team-card .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card .team-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    max-width: 12rem;
}

.team-card .team-name {
    font-family: var(--font-heading, inherit);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.25;
    color: #0f172b;
}

.team-card .team-role {
    font-size: 0.85rem;
    color: #6c757d;
}

@media (max-width: 991.98px) {
    .team-stage:not(.team-stage--single) {
        --team-spread: 100px;
        height: 400px;
        perspective: 820px;
    }

    .team-rail {
        width: min(560px, 100%);
    }

    .team-card {
        width: 190px;
        height: 270px;
        margin-left: -95px;
    }
}

@media (max-width: 575.98px) {
    .team-stage:not(.team-stage--single) {
        --team-spread: 78px;
        height: 380px;
        perspective: 760px;
        overflow-x: clip;
    }

    .team-stage--single {
        height: auto;
        overflow: visible;
    }

    .team-rail {
        width: min(100%, 360px);
        height: 280px;
    }

    .team-card {
        width: 160px;
        height: 250px;
        margin-left: -80px;
        transform:
            rotateX(10deg)
            translateX(calc(var(--offset) * var(--team-spread)))
            rotateY(calc(var(--offset) * -28deg))
            translateZ(calc(90px - (var(--offset) * var(--offset)) * 36px))
            scale(calc(1 - (var(--offset) * var(--offset)) * 0.055));
    }

    .team-card .team-photo {
        width: 88px;
        height: 88px;
    }

    .team-card .team-name {
        font-size: 1rem;
    }
}

.team-card img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.team-stage,
.team-rail {
    touch-action: pan-y;
}

.team-card {
    touch-action: none;
    user-select: none;
}

/*** Team member lightbox ***/
.team-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.team-modal[hidden] {
    display: none !important;
}

.team-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 13, 11, 0.72);
    cursor: pointer;
}

.team-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 22rem);
    max-height: min(92vh, 36rem);
    padding: 2rem 1.5rem 1.75rem;
    border-radius: var(--card-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #fff;
    box-shadow: 0 28px 64px rgba(15, 13, 11, 0.35);
    text-align: center;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.team-modal-close {
    position: absolute;
    top: 0.55rem;
    right: 0.65rem;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--dark);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.team-modal-close:hover,
.team-modal-close:focus-visible {
    color: var(--cta);
    outline: none;
}

.team-modal-close:focus-visible {
    box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.45);
}

.team-modal-photo {
    width: min(220px, 58vw);
    height: min(220px, 58vw);
    margin: 0.35rem auto 1.15rem;
    display: block;
    box-shadow: 0 14px 32px rgba(15, 13, 11, 0.22);
}

.team-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

.team-modal-name {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    margin: 0 0 0.35rem;
}

.team-modal-role {
    margin: 0;
    font-size: 0.95rem;
    color: var(--body-muted);
}

body.team-modal-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .team-card {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 auto 1rem;
        transform: none !important;
        display: block;
        filter: none;
    }

    .team-rail {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .team-stage {
        height: auto;
        perspective: none;
        overflow: visible;
    }

    .team-stage::before {
        display: none;
    }
}

/* Gallery still uses .team-item as a simple media tile */
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border-radius: var(--card-radius) !important;
}


/*** Testimonial ***/
.testimonial-item {
    border-radius: var(--card-radius) !important;
    overflow: hidden;
}

.testimonial-avatar-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.testimonial-avatar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(254, 161, 22, 0.18);
    color: var(--primary);
    font-size: 1.25rem;
}

.testimonial-carousel .owl-item.center .testimonial-item .testimonial-avatar-icon {
    background: rgba(15, 23, 43, 0.12);
    color: var(--dark) !important;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Gallery / Journal extras ***/
.gallery-grid .gallery-item {
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #fff;
}

.gallery-item-media {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.gallery-item-media img,
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    transition: transform .4s;
}

.gallery-item:hover .gallery-item-media img,
.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item-caption {
    flex: 1 1 auto;
    min-height: 4.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item-caption h5 {
    font-size: 1rem;
    line-height: 1.35;
    margin: 0;
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(15,13,11,.85));
    color: #fff;
    font-size: 0.9rem;
}

.journal-card {
    box-shadow: 0 0 30px rgba(0,0,0,.06);
    transition: .3s;
    height: 100%;
    border-radius: var(--card-radius);
    overflow: hidden;
}

.journal-card:hover {
    transform: translateY(-4px);
}

.journal-card img {
    border-radius: 0;
}

.faq-item {
    border: 1px solid #E7E1D3;
    border-radius: var(--card-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item .accordion-button:not(.collapsed) {
    background: rgba(244, 180, 0, 0.12);
    color: var(--dark);
    box-shadow: none;
}

.ph-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: linear-gradient(135deg, #2b2622, #141210);
    color: var(--cream-dim);
    text-align: center;
    padding: 24px;
    border: 1px dashed rgba(244,180,0,.4);
    font-size: 0.9rem;
    border-radius: var(--card-radius);
}

/* Shared rounded look for Bootstrap .rounded cards / photos */
.rounded {
    border-radius: var(--card-radius) !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* About collage + menu thumbs that use .rounded */
.container img.rounded,
.menu .rounded,
.tab-content img.rounded {
    border-radius: var(--card-radius) !important;
}


/*** Floating WhatsApp ***/
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 100px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 98;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    font-size: 1.6rem;
    transition: .2s;
}

.wa-float:hover {
    color: #fff;
    transform: scale(1.06);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}


/*** Section vertical spacing (~50% of Bootstrap *-5) ***/
/* Bootstrap py-5 / mb-5 / my-5 / mt-5 / pt-5 = 3rem → 1.5rem */
.container-xxl.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.container-xxl.pt-5 {
    padding-top: 1.5rem !important;
}

.hero-header.mb-5 {
    margin-bottom: 1.5rem !important;
}

/* Inner page banners: keep the overlapping logo, but sit the title below the nav */
.container-xxl.py-5.hero-header.mb-5 {
    padding-top: 3.25rem !important;
    padding-bottom: 1.5rem !important;
}

@media (min-width: 992px) {
    .container-xxl.py-5.hero-header.mb-5 {
        padding-top: 7.25rem !important;
        padding-bottom: 2.25rem !important;
    }
}

/* Hero: tighter vertical rhythm (~25-30% shorter than prior 1.5rem stack) */
.container-xxl.py-5.hero-header {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.hero-header .container.my-5 {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}

.hero-header.mb-5 .container.my-5 {
    margin-top: 1.25rem !important;
}

.hero-header .container.py-5 {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
}

.hero-header .container.pt-5 {
    padding-top: 0.85rem !important;
}

.hero-header.mb-5 .container.pt-5 {
    padding-top: 1.75rem !important;
}

.footer.pt-5 {
    padding-top: 1.5rem !important;
}

.footer.mt-5 {
    margin-top: 1.5rem !important;
}

.footer .container.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}


@media (min-width: 992px) {
    .about-story-media {
        position: sticky;
        top: 5.5rem;
    }
}

/*** About collage (home + Our Story) — tight 4-image grid ***/
.about-collage {
    --bs-gutter-x: 0.4rem;
    --bs-gutter-y: 0.4rem;
}

.about-collage > [class*="col-"] {
    position: relative;
    overflow: visible;
}

.about-collage img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Stagger top-right tile (matches home about collage) */
.about-collage > .col-6:nth-child(2) img {
    margin-top: 12%;
}

/* Pull bottom-left row up — tuned for about-* / story-* slot aspect ratios */
.about-collage > .col-6:nth-child(3) {
    margin-top: -1.25rem;
    z-index: 1;
}

.about-collage > .col-6:nth-child(2) {
    z-index: 2;
}

@media (min-width: 992px) {
    .about-collage > .col-6:nth-child(3) {
        margin-top: -1.75rem;
    }
}


/*** Homepage static 3D (images + cards) — team coverflow untouched ***/
.mama-3d-stage {
    perspective: 900px;
    perspective-origin: 50% 45%;
}

.mama-3d-stage--hero {
    perspective: 920px;
    transform-style: preserve-3d;
    transform: rotateX(8deg);
    transition: transform 0.45s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.mama-3d-stage--hero:hover {
    transform: rotateX(5deg) translateY(-4px);
}

.mama-3d-img {
    display: block;
    border-radius: var(--card-radius);
    border: 1px solid rgba(15, 23, 43, 0.08);
    transform: rotateX(7deg) translateZ(0);
    transform-style: preserve-3d;
    box-shadow:
        0 18px 40px rgba(15, 23, 43, 0.18),
        0 2px 8px rgba(15, 23, 43, 0.06);
    transition:
        transform 0.45s cubic-bezier(0.4, 0.2, 0.2, 1),
        box-shadow 0.45s ease,
        filter 0.45s ease;
    backface-visibility: hidden;
}

.mama-3d-img:hover {
    transform: rotateX(3deg) translateY(-6px) translateZ(10px);
    box-shadow:
        0 24px 48px rgba(15, 23, 43, 0.22),
        0 4px 12px rgba(15, 23, 43, 0.08);
}

.mama-3d-img--spin {
    border: 0;
    border-radius: 50%;
    transform: none;
    box-shadow: none;
    filter: drop-shadow(0 22px 28px rgba(15, 23, 43, 0.38));
    transition: filter 0.45s ease;
}

.mama-3d-img--spin:hover {
    transform: none;
    box-shadow: none;
    filter: drop-shadow(0 28px 34px rgba(15, 23, 43, 0.45));
}

.mama-3d-img--thumb {
    transform: none;
    box-shadow: 0 10px 22px rgba(15, 23, 43, 0.16);
}

.mama-3d-img--thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(15, 23, 43, 0.2);
}

.mama-3d-img--flush,
.mama-3d-card .mama-3d-img--flush {
    border: 0;
    border-radius: 0;
    transform: none;
    box-shadow: none;
}

.mama-3d-img--flush:hover,
.mama-3d-card .mama-3d-img--flush:hover {
    transform: none;
    box-shadow: none;
}

.mama-3d-img--avatar,
.mama-3d-card .mama-3d-img--avatar {
    border: 1px solid rgba(15, 23, 43, 0.1);
    transform: none;
    box-shadow: 0 8px 16px rgba(15, 23, 43, 0.14);
}

.mama-3d-img--avatar:hover,
.mama-3d-card .mama-3d-img--avatar:hover {
    transform: none;
}

.mama-3d-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 43, 0.08);
    border-radius: var(--card-radius) !important;
    transform: rotateX(6deg) translateZ(0);
    transform-style: preserve-3d;
    box-shadow:
        0 18px 40px rgba(15, 23, 43, 0.16),
        0 2px 8px rgba(15, 23, 43, 0.06);
    transition:
        transform 0.45s cubic-bezier(0.4, 0.2, 0.2, 1),
        box-shadow 0.45s ease,
        background 0.5s ease,
        border-color 0.5s ease;
    backface-visibility: hidden;
}

.mama-3d-card:hover {
    transform: rotateX(2deg) translateY(-6px) translateZ(12px);
    box-shadow:
        0 26px 52px rgba(15, 23, 43, 0.2),
        0 4px 12px rgba(15, 23, 43, 0.08);
}

.mama-3d-card--menu {
    background: #fff;
    height: 100%;
    overflow: visible;
    backface-visibility: visible;
}

.mama-3d-card--menu .mama-3d-img--thumb {
    width: 80px;
    height: 80px;
    max-width: 80px;
    object-fit: cover;
    flex-shrink: 0;
    transform: none !important;
    backface-visibility: visible;
}

/* Menu rows: keep depth shadow, skip tilt so thumbs stay fully visible */
.mama-3d-card.mama-3d-card--menu {
    transform: none;
}

.mama-3d-card.mama-3d-card--menu:hover {
    transform: translateY(-4px);
}

.mama-3d-card--media {
    overflow: hidden;
    background-color: var(--dark);
}

/* Keep service / journal hover color while preserving 3D lift */
.service-item.mama-3d-card:hover {
    background: var(--primary);
}

.journal-card.mama-3d-card:hover {
    transform: rotateX(2deg) translateY(-6px) translateZ(12px);
}

.testimonial-item.mama-3d-card {
    background: #fff;
}

.journal-carousel .owl-item,
.testimonial-carousel .owl-item {
    perspective: 900px;
    padding-top: 0.35rem;
    padding-bottom: 0.85rem;
}

.mama-insta-grid.mama-3d-stage {
    overflow: visible;
}

.mama-insta-grid .mama-3d-img {
    width: 100%;
    height: 100%;
}

@media (max-width: 991.98px) {
    .mama-3d-stage {
        perspective: 820px;
    }

    .mama-3d-stage--hero {
        transform: rotateX(5deg);
    }

    .mama-3d-img {
        transform: rotateX(4deg);
    }

    .mama-3d-img:hover {
        transform: rotateX(2deg) translateY(-3px) translateZ(6px);
    }

    .mama-3d-card {
        transform: rotateX(3deg);
    }

    .mama-3d-card:hover {
        transform: rotateX(1deg) translateY(-3px) translateZ(6px);
    }

    .mama-3d-card.mama-3d-card--menu,
    .mama-3d-card.mama-3d-card--menu:hover {
        transform: none;
    }

    .mama-3d-card.mama-3d-card--menu:hover {
        transform: translateY(-2px);
    }

    .mama-3d-img--thumb,
    .mama-3d-img--thumb:hover {
        transform: none !important;
    }
}

@media (max-width: 575.98px) {
    .mama-3d-stage {
        perspective: 760px;
    }

    .mama-3d-stage--hero {
        transform: rotateX(3deg);
    }

    .mama-3d-stage--hero:hover {
        transform: rotateX(2deg) translateY(-2px);
    }

    .mama-3d-img,
    .mama-3d-card {
        transform: rotateX(2deg);
    }

    .mama-3d-img:hover,
    .mama-3d-card:hover,
    .journal-card.mama-3d-card:hover {
        transform: rotateX(1deg) translateY(-2px) translateZ(4px);
    }

    .col-lg-6.mama-3d-stage {
        overflow: visible;
        perspective: none;
    }

    .mama-3d-card.mama-3d-card--menu,
    .mama-3d-card.mama-3d-card--menu:hover {
        transform: none;
        backface-visibility: visible;
    }

    .mama-3d-card.mama-3d-card--menu:hover {
        transform: translateY(-2px);
    }

    .mama-3d-img--thumb,
    .mama-3d-img--thumb:hover,
    .mama-3d-card--menu .mama-3d-img--thumb {
        transform: none !important;
        width: 80px !important;
        height: 80px !important;
        max-width: 80px;
        object-fit: cover;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mama-3d-stage--hero,
    .mama-3d-stage--hero:hover,
    .mama-3d-img,
    .mama-3d-img:hover,
    .mama-3d-img--spin,
    .mama-3d-img--spin:hover,
    .mama-3d-img--thumb,
    .mama-3d-img--thumb:hover,
    .mama-3d-card,
    .mama-3d-card:hover,
    .journal-card.mama-3d-card:hover {
        transform: none !important;
        transition: none;
    }

    .mama-3d-img,
    .mama-3d-card {
        box-shadow:
            0 12px 28px rgba(15, 23, 43, 0.12),
            0 2px 6px rgba(15, 23, 43, 0.05);
    }

    .mama-3d-img--spin,
    .mama-3d-img--spin:hover {
        animation: none !important;
        filter: drop-shadow(0 14px 18px rgba(15, 23, 43, 0.28));
    }

    .mama-3d-stage {
        perspective: none;
    }
}
