/********** Jarisma Beauty Academy — styles inspired by the Poseify template **********/

:root {
    --gold: #D4A847;
    --gold-soft: rgba(212, 168, 71, .15);
    --ink: #0D0D0D;
    --ink-2: #1A1A1A;
    --ink-3: #242424;
    --muted: #A0A0A0;
    --radius: 18px;
}

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

html {
    scroll-padding-top: 90px;
}

img {
    max-width: 100%;
}

a {
    transition: color .3s;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100000;
    padding: 10px 18px;
    background: var(--gold);
    color: var(--ink);
    border-radius: 50px;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/*** Floating WhatsApp & Back-To-Top Buttons ***/
.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.35);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.08);
    background: #20ba59;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65), 0 6px 16px rgba(0, 0, 0, 0.45);
    color: #ffffff !important;
}

.floating-whatsapp::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.8;
    animation: whatsappPulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.floating-whatsapp .whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: #1e1e24;
    color: #ffffff;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.floating-whatsapp .whatsapp-tooltip::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1e1e24;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-4px);
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 98px;
    width: 52px;
    height: 52px;
    border-radius: 50% !important;
    background: #141416 !important;
    border: none !important;
    outline: none;
    padding: 0 !important;
    margin: 0;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(.9);
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease, box-shadow .35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .6), 0 0 15px rgba(212, 168, 71, .2);
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .8), 0 0 25px rgba(212, 168, 71, .55);
}

@media (max-width: 576px) {
    .floating-whatsapp {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
        font-size: 30px;
    }
    .back-to-top {
        right: 20px;
        bottom: 84px;
        width: 48px;
        height: 48px;
    }
}

/* SVG Circular Progress Ring */
.back-to-top .progress-circle {
    position: absolute;
    inset: 0;
    width: 54px;
    height: 54px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.back-to-top .progress-circle .progress-bg {
    fill: none;
    stroke: rgba(212, 168, 71, .2);
    stroke-width: 3.5;
}

.back-to-top .progress-circle .progress-bar {
    fill: none;
    stroke: var(--gold);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    transition: stroke-dashoffset .12s linear;
}

/* Center Content: Arrow Icon Only (Percentage Removed) */
.back-to-top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}

.back-to-top-inner i {
    font-size: 17px;
    color: var(--gold);
    margin: 0;
    transition: transform .3s ease, color .3s ease;
}

.back-to-top:hover .back-to-top-inner i {
    transform: translateY(-3px);
    color: #fff;
}

.back-to-top-inner .scroll-percent {
    display: none !important;
}


/*** 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-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

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


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

.btn-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
    color: var(--ink);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--ink);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-brand img {
    height: 64px;
    width: auto;
    transition: .5s;
}

.navbar.position-fixed .navbar-brand img {
    height: 50px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

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

@media (max-width: 991.98px) {
    .navbar {
        background: rgba(13, 13, 13, .85);
    }

    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, .15);
    }

    .navbar .navbar-brand img,
    .navbar.position-fixed .navbar-brand img {
        height: 48px;
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }
}


/*** Header ***/
#header-carousel .carousel-item {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 920px;
}

#header-carousel .carousel-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 110px 20px 40px;
    background: linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .8));
    z-index: 1;
}

.carousel-caption .title {
    margin-bottom: 1.2rem;
}

.carousel-caption .title h5 {
    font-size: clamp(12px, 1.1vw, 15px);
    letter-spacing: 2.5px;
    margin-bottom: 0.6rem;
    font-weight: 400;
}

.carousel-caption .hero-title {
    max-width: 780px;
    font-size: clamp(1.6rem, 2.4vw, 2.5rem);
    line-height: 1.25;
    letter-spacing: 1.2px;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(212, 168, 71, .45);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

.carousel-caption p {
    font-size: clamp(0.95rem, 1.15vw, 1.1rem) !important;
    line-height: 1.6;
    max-width: 620px !important;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 2rem !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}

.carousel-caption .btn {
    border-radius: 50px;
    padding: 12px 38px !important;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all .35s ease;
}

.carousel-caption .btn:hover {
    box-shadow: 0 6px 20px rgba(212, 168, 71, .4);
    transform: translateY(-2px);
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    z-index: 2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.carousel-indicators {
    z-index: 2;
}

.carousel-indicators [data-bs-target] {
    width: 34px;
    height: 3px;
    background-color: var(--bs-white);
}

.carousel-indicators .active {
    background-color: var(--gold);
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        min-height: 560px;
        height: 88vh;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../images/academy/page-header.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb a {
    color: var(--gold);
}

@media (max-width: 991.98px) {
    .page-header {
        padding-top: 150px;
    }
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center {
    display: inline-block;
    max-width: 100%;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}


.title h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 1px;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid rgba(212, 168, 71, .6);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title h1,
.title h2 {
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--bs-white);
}

.title h2 {
    font-size: clamp(1.35rem, 1.8vw, 1.85rem);
    line-height: 1.3;
}

@media (min-width: 1200px) {
    .title h2 {
        font-size: 1.85rem;
    }
}

.section-lead {
    max-width: 760px;
}


/*** Media frame (About-style image blocks) ***/
.media-frame {
    position: relative;
    padding: 0 0 22px 22px;
}

.media-frame::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 70%;
    height: 70%;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
}

.media-frame img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .45);
}

.media-frame.portrait {
    max-width: 360px;
    margin: 0 auto;
}

.media-frame.portrait.portrait-lg {
    max-width: 480px;
}

.media-frame.portrait img {
    height: auto;
    aspect-ratio: 4 / 5;
}

.media-frame.frame-right {
    padding: 0 22px 22px 0;
}

.media-frame.frame-right::before {
    left: auto;
    right: 0;
}


/*** Icon cards (compact beauty course categories & vision) ***/
.icon-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.8rem 1.4rem 1.6rem;
    background: #141416;
    border: 1px solid rgba(212, 168, 71, .2);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
}

.icon-card::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width .4s ease;
}

.icon-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .6), 0 0 20px rgba(212, 168, 71, .2);
}

.icon-card:hover::after {
    width: 100%;
}

.icon-card .icon-badge {
    width: 58px;
    height: 58px;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold);
    background: rgba(212, 168, 71, .08);
    border: 2px solid var(--gold);
    border-radius: 50%;
    transition: transform .35s ease, background-color .35s ease, color .35s ease;
    flex-shrink: 0;
}

.icon-card:hover .icon-badge {
    color: #111;
    background: var(--gold);
    transform: scale(1.1);
}

.icon-card h2,
.icon-card h3,
.icon-card h4 {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: .55rem;
    letter-spacing: .5px;
}

.icon-card p {
    font-size: .88rem;
    line-height: 1.55;
    color: #b5b5b5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.btn-read-more-card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 168, 71, .08);
    border: 1px solid rgba(212, 168, 71, .35);
    border-radius: 50px;
    text-decoration: none;
    transition: all .3s ease;
    margin-top: auto;
}

.btn-read-more-card:hover {
    background: var(--gold);
    color: #111;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(212, 168, 71, .4);
}

.bg-secondary .icon-card {
    background: #141416;
}


/*** Why Choose Us - Luxury Feature Cards (3x2 Grid) ***/
.why-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #141414;
    border: 1px solid rgba(212, 168, 71, .22);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color .4s ease, box-shadow .4s ease;
}

.bg-secondary .why-card {
    background: #141414;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .65), 0 0 30px rgba(212, 168, 71, .22);
}

.why-card-img {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: var(--ink-2);
}

.why-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.why-card:hover .why-card-img img {
    transform: scale(1.08);
}

.why-card-img::after {
    position: absolute;
    content: "";
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(20, 20, 20, .9));
    pointer-events: none;
}

.why-card-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--gold);
    background: rgba(13, 13, 13, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
    transition: transform .4s ease, background-color .4s ease, color .4s ease, box-shadow .4s ease;
}

.why-card:hover .why-card-badge {
    background: var(--gold);
    color: var(--ink);
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 8px 22px rgba(212, 168, 71, .45);
}

.why-card-body {
    padding: 1.6rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.why-card-title {
    margin: 0 0 .5rem;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--bs-white);
    transition: color .3s ease;
}

.why-card:hover .why-card-title {
    color: var(--gold);
}

.why-card-divider {
    width: 36px;
    height: 2px;
    background: var(--gold);
    margin-bottom: .85rem;
    border-radius: 2px;
    transition: width .4s ease;
}

.why-card:hover .why-card-divider {
    width: 58px;
}

.why-card-desc {
    margin: 0;
    font-size: .95rem;
    line-height: 1.6;
    color: #b5b5b5;
}

@media (max-width: 767.98px) {
    .why-card-img {
        height: 220px;
    }
}


/*** Service rows (Our Courses) ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 440px;
}

.service-item .service-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.service-item .service-img::before {
    display: none;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

.service-item h3 {
    text-transform: uppercase;
}

@media (max-width: 767.98px) {

    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }

    .service-item .service-text {
        padding-bottom: 3rem;
    }


    .service-item .service-img {
        padding: 2rem !important;
    }
}


/*** Photo cards (team-item style, used for "Why Choose Us") ***/
.team-item {
    position: relative;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform .8s;
}

.team-item:hover .team-body img,
.team-item:focus-within .team-body img {
    transform: scale(1.06);
}

.team-item .team-body::before,
.team-item .team-body::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .75);
    transition: .5s;
    z-index: 1;
}

.team-item .team-body::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-body::before,
.team-item:hover .team-body::after,
.team-item:focus-within .team-body::before,
.team-item:focus-within .team-body::after {
    width: 50%;
}

.team-item .team-desc {
    position: absolute;
    inset: 0 0 60px 0;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bs-white);
    font-size: 1.05rem;
    opacity: 0;
    z-index: 2;
    transition: .5s;
}

.team-item:hover .team-desc,
.team-item:focus-within .team-desc {
    opacity: 1;
    transition-delay: .2s;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    min-height: 60px;
    left: 0;
    bottom: 0;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    border-top: 2px solid var(--gold);
    z-index: 3;
}

.team-item .team-name h3 {
    margin: 0;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Touch screens have no hover: show the description permanently */
@media (hover: none) {
    .team-item .team-body::before {
        width: 100%;
        background: linear-gradient(transparent 35%, rgba(0, 0, 0, .85));
    }

    .team-item .team-desc {
        opacity: 1;
        align-items: flex-end;
    }
}


/*** What Sets Us Apart ***/
.apart-item {
    height: 100%;
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 3px solid var(--gold);
    border-radius: var(--radius);
    transition: transform .5s, border-color .5s;
}

.apart-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 71, .5);
}

.apart-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50%;
    transition: .5s;
}

.apart-item:hover .apart-icon {
    color: var(--ink);
    background: var(--gold);
}

.apart-item p {
    font-size: .95rem;
    color: var(--bs-white);
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 16px;
}

.bento-item {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--ink);
}

.bento-item.bento-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform .8s, filter .5s;
}

.bento-item::before {
    position: absolute;
    content: "";
    inset: 0;
    z-index: 1;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, .65));
    opacity: 0;
    transition: .5s;
}

.bento-item::after {
    position: absolute;
    content: "";
    inset: 0;
    z-index: 2;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: .5s;
}

.bento-zoom {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
    transition: .4s;
}

.bento-item:hover img,
.bento-item:focus-visible img {
    transform: scale(1.08);
}

.bento-item:hover::before,
.bento-item:focus-visible::before {
    opacity: 1;
}

.bento-item:hover::after,
.bento-item:focus-visible::after {
    border-color: var(--gold);
}

.bento-item:hover .bento-zoom,
.bento-item:focus-visible .bento-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 991.98px) {
    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
        gap: 12px;
    }

    .bento-item.bento-lg {
        grid-row: span 2;
    }
}

@media (max-width: 575.98px) {
    .bento-gallery {
        grid-auto-rows: 140px;
        gap: 10px;
    }
}

/* Touch screens: always show the zoom hint */
@media (hover: none) {
    .bento-zoom {
        width: 36px;
        height: 36px;
        left: auto;
        top: auto;
        right: 10px;
        bottom: 10px;
        font-size: .85rem;
        opacity: .9;
        transform: none;
    }
}


/*** Lightbox ***/
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    background: rgba(0, 0, 0, .92);
    animation: lbFade .3s ease;
}

.lightbox[hidden] {
    display: none;
}

@keyframes lbFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lb-stage {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lb-img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
    animation: lbZoom .35s ease;
}

@keyframes lbZoom {
    from {
        opacity: 0;
        transform: scale(.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lb-count {
    margin-top: 14px;
    font-size: .9rem;
    letter-spacing: 2px;
    color: var(--gold);
}

.lb-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-white);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(212, 168, 71, .6);
    border-radius: 50%;
    transition: .3s;
}

.lb-btn:hover {
    color: var(--ink);
    background: var(--gold);
}

.lb-close {
    top: 20px;
    right: 20px;
}

.lb-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 767.98px) {
    .lightbox {
        padding: 70px 12px 90px;
    }

    .lb-img {
        max-height: calc(100vh - 200px);
    }

    .lb-prev,
    .lb-next {
        top: auto;
        bottom: 22px;
        transform: none;
    }

    .lb-prev {
        left: calc(50% - 64px);
    }

    .lb-next {
        right: calc(50% - 64px);
    }
}

body.lb-open {
    overflow: hidden;
}


/*** Counters ***/
.counter-item {
    height: 100%;
    padding: 2rem 1rem;
    text-align: center;
    border: 1px solid rgba(212, 168, 71, .35);
    border-radius: var(--radius);
    background: var(--ink-2);
}

.bg-secondary .counter-item {
    background: var(--ink);
}

.counter-item .counter-value {
    display: block;
    font-family: "Josefin Sans", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

.counter-item .counter-label {
    display: block;
    margin-top: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bs-white);
}


/*** Check list ***/
.check-list .list-group-item {
    background: transparent;
    color: var(--muted);
    border-color: rgba(255, 255, 255, .1);
    padding: 14px 0;
}

.check-list .list-group-item i {
    color: var(--gold);
    margin-right: 10px;
}


/*** Course cards (Our Beauty Course) ***/
.course-card {
    position: relative;
    height: 100%;
    padding: 2.25rem 2rem 2rem;
    background: var(--ink-2);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .06);
    transition: .5s;
}

.course-card .course-no {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: "Josefin Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(212, 168, 71, .18);
    transition: .5s;
}

.course-card h3 {
    margin-bottom: 1rem;
    padding-right: 3rem;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.course-card:hover {
    border-color: rgba(212, 168, 71, .5);
    transform: translateY(-6px);
}

.course-card:hover .course-no {
    color: var(--gold);
}


/*** Legacy badge ***/
.legacy-badge {
    position: absolute;
    left: -10px;
    bottom: 50px;
    width: 170px;
    padding: 1.25rem 1rem;
    text-align: center;
    color: var(--ink);
    background: var(--gold);
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}

.legacy-badge .legacy-number {
    display: block;
    font-family: "Josefin Sans", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.legacy-badge .legacy-label {
    display: block;
    margin-top: .4rem;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

@media (max-width: 575.98px) {
    .legacy-badge {
        left: 0;
        bottom: 40px;
        width: 140px;
    }

    .legacy-badge .legacy-number {
        font-size: 2.4rem;
    }
}


/*** CTA band ***/
.cta-band {
    position: relative;
    background: linear-gradient(rgba(13, 13, 13, .8), rgba(13, 13, 13, .85)), url(../images/hero/hero-2.jpg) center / cover no-repeat;
}

.cta-band p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}


/*** Partnership ***/
.partner-item {
    height: 100%;
    padding: 1.15rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    transition: .5s;
}

.partner-item i {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;
    transition: .5s;
}

.partner-item h3 {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.partner-item:hover {
    border-color: rgba(212, 168, 71, .5);
    transform: translateY(-4px);
}

.partner-item:hover i {
    color: var(--ink);
    background: var(--gold);
}

.bg-secondary .partner-item {
    background: var(--ink);
}

.pull-quote {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(212, 168, 71, .5);
    border-bottom: 1px solid rgba(212, 168, 71, .5);
}

.pull-quote .pull-quote-lead {
    font-family: "Josefin Sans", sans-serif;
    font-size: calc(1.2rem + .8vw);
    font-weight: 700;
    color: var(--bs-white);
    text-transform: uppercase;
}


/*** Testimonial ***/
.testimonial-carousel .owl-stage {
    display: flex;
    align-items: flex-start;
}

.testimonial-carousel .owl-item {
    padding: 10px 0;
}

.testimonial-card {
    position: relative;
    min-height: 290px;
    padding: 1.75rem 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, .06);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    transition: transform .5s, border-color .5s, box-shadow .5s;
}

.container-fluid:not(.bg-secondary) .testimonial-card {
    background: var(--ink-2);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 71, .45);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .35);
}

.testimonial-card .quote-mark {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--ink);
    background: var(--gold);
    border-radius: 10px;
}

.testimonial-card .testimonial-text {
    margin-bottom: .5rem;
    font-size: .95rem;
    line-height: 1.7;
    font-style: italic;
    color: #c8c8c8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

.testimonial-card.expanded .testimonial-text {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.testimonial-card .read-toggle {
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gold);
    background: none;
    border: 0;
}

.testimonial-card .read-toggle:hover {
    text-decoration: underline;
}

.testimonial-author {
    margin-top: auto;
    padding-top: .5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .author-line {
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.testimonial-author h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
}

.testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border: 1px solid var(--gold) !important;
    border-radius: 12px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 32px;
    background: var(--gold) !important;
}


/*** Contact ***/
.contact-table td {
    padding: 1.1rem .75rem;
    vertical-align: middle;
    background: transparent;
    border-color: rgba(255, 255, 255, .1);
}

.contact-table td:first-child {
    width: 34%;
    color: var(--bs-white);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-table td:first-child i {
    width: 22px;
    color: var(--gold);
}

.contact-table a {
    color: var(--muted);
}

.contact-table a:hover {
    color: var(--gold);
}

.contact-form .form-floating > .form-control {
    color: var(--bs-white);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.contact-form .form-floating > .form-control:focus {
    background-color: var(--ink-3) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 .2rem rgba(212, 168, 71, .25) !important;
}

.contact-form .form-floating>label {
    color: var(--muted);
}

/* Phone input group with +91 country prefix */
.phone-input-group {
    display: flex;
    align-items: stretch;
    height: 58px;
    min-height: 58px;
    border-radius: 8px;
    background-color: var(--ink-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

.phone-input-group .phone-prefix-badge {
    height: 100%;
    background: rgba(212, 168, 71, 0.12) !important;
    color: var(--gold) !important;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border: none !important;
    border-right: 1px solid rgba(212, 168, 71, 0.3) !important;
    border-radius: 0 !important;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    line-height: 1;
    flex-shrink: 0;
}

.phone-input-group .form-floating {
    flex: 1 1 auto;
    height: 100%;
}

.phone-input-group .form-floating > .form-control {
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    height: 100% !important;
    min-height: 56px !important;
    box-shadow: none !important;
    padding-top: 1.625rem !important;
    padding-bottom: 0.625rem !important;
}

.phone-input-group .form-floating > label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.phone-input-group:focus-within {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 .2rem rgba(212, 168, 71, .25) !important;
}

/* Form validation states - suppress ugly bootstrap background icons */
.contact-form .form-control.is-invalid,
.contact-form .form-control.is-valid,
.phone-input-group .form-control.is-invalid,
.phone-input-group .form-control.is-valid {
    background-image: none !important;
    padding-right: 0.75rem !important;
}

.contact-form .form-control.is-invalid,
.phone-input-group.is-invalid {
    border-color: #e63946 !important;
    box-shadow: 0 0 0 .2rem rgba(230, 57, 70, .2) !important;
}

.contact-form .form-control.is-valid,
.phone-input-group.is-valid {
    border-color: rgba(212, 168, 71, 0.75) !important;
}

.invalid-feedback-custom {
    display: none;
    color: #ff6b6b;
    font-size: 0.82rem;
    margin-top: 0.35rem;
    padding-left: 2px;
    font-weight: 500;
    line-height: 1.3;
}

.invalid-feedback-custom.show {
    display: block;
    animation: fadeInError 0.25s ease-in-out;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form #submitBtn {
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(212, 168, 71, 0.25);
}

.contact-form #submitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 71, 0.45);
}

.form-status {
    display: none;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--gold);
    border-radius: 12px;
    color: var(--bs-white);
    background: rgba(212, 168, 71, 0.12);
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-status.show {
    display: block;
    animation: fadeInError 0.3s ease;
}

/*** Simple Map Section ***/
.simple-map-card {
    background: var(--ink-2);
    border: 1px solid rgba(212, 168, 71, 0.35);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    transition: border-color .3s ease;
}

.simple-map-card:hover {
    border-color: rgba(212, 168, 71, 0.6);
}

.simple-map-header {
    background: rgba(13, 13, 13, 0.95);
    border-bottom: 1px solid rgba(212, 168, 71, 0.2);
}

.simple-map-body iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -1000px 0;
    }
}

.footer {
    background-image:
        radial-gradient(rgba(212, 168, 71, .12) 1px, transparent 1.5px),
        linear-gradient(115deg, transparent 40%, rgba(212, 168, 71, .06) 50%, transparent 60%);
    background-size: 26px 26px, 1000px 100%;
    background-position: 0 0;
    border-top: 1px solid rgba(212, 168, 71, .2);
    animation: footerAnimatedBg 50s linear infinite;
}

.footer .footer-logo {
    height: 110px;
    width: auto;
}

.footer .footer-contact p {
    margin-bottom: .4rem;
}

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

.footer a:hover {
    color: var(--gold);
}

.footer .btn-outline-primary {
    color: var(--gold);
}

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

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .08);
}


/*** Motion preferences ***/
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

.x-mark {
    display: inline-block;
    margin: 0 .2em;
    font-family: "Work Sans", sans-serif;
    font-size: 1.15em;
    font-weight: 400;
    line-height: 1;
    color: var(--gold);
    vertical-align: -.05em;
}


/*** Jarisma 30-Year Journey Timeline (Pure Content - No Images) ***/
.luxury-timeline-section {
    position: relative;
    background: radial-gradient(circle at 50% 10%, rgba(212, 168, 71, .09), transparent 70%), #0c0c0e;
    overflow: hidden;
}

/* Quick Flow Roadmap Bar */
.timeline-flow-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto 3rem;
    padding: 12px 20px;
    background: rgba(22, 22, 26, 0.7);
    border: 1px solid rgba(212, 168, 71, 0.22);
    border-radius: 60px;
    backdrop-filter: blur(10px);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 8px;
}

.flow-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #141417;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 4px;
    box-shadow: 0 0 10px rgba(212, 168, 71, 0.35);
    transition: all .3s ease;
}

.flow-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.flow-step:hover .flow-dot {
    background: var(--gold);
    color: #111;
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(212, 168, 71, 0.7);
}

.flow-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(212, 168, 71, 0.2), var(--gold), rgba(212, 168, 71, 0.2));
    margin: 0 8px 18px;
    min-width: 25px;
}

/* Master Timeline Track */
.pure-timeline-track {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

/* Central Glowing Spine */
.timeline-central-spine {
    position: absolute;
    top: 15px;
    bottom: 25px;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #d4a847 0%, rgba(212, 168, 71, 0.4) 50%, #d4a847 100%);
    box-shadow: 0 0 12px rgba(212, 168, 71, 0.45);
    border-radius: 3px;
    z-index: 1;
}

/* Timeline Node Item (Row) */
.timeline-node-item {
    position: relative;
    width: 50%;
    margin-bottom: 2.2rem;
    z-index: 2;
}

.timeline-node-item:last-child {
    margin-bottom: 0;
}

.timeline-node-item.timeline-left {
    left: 0;
    padding-right: 48px;
    text-align: left;
}

.timeline-node-item.timeline-right {
    left: 50%;
    padding-left: 48px;
    text-align: left;
}

/* Marker / Node on Spine */
.timeline-marker {
    position: absolute;
    top: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #121215;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(212, 168, 71, 0.45);
    z-index: 4;
    transition: transform .3s ease, box-shadow .3s ease;
}

.timeline-left .timeline-marker {
    right: -26px;
}

.timeline-right .timeline-marker {
    left: -26px;
}

.timeline-node-item:hover .timeline-marker {
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(212, 168, 71, 0.75);
    background: #18181d;
}

.marker-year {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1;
}

.marker-highlight {
    background: linear-gradient(135deg, #d4a847, #b8860b);
    border-color: #fff;
    box-shadow: 0 0 22px rgba(212, 168, 71, 0.8);
}

.marker-highlight .marker-year {
    color: #111;
    font-size: 1.1rem;
}

/* Milestone Card Box (Pure Content - No Images) */
.timeline-box {
    position: relative;
    background: rgba(18, 18, 23, 0.88);
    border: 1px solid rgba(212, 168, 71, 0.28);
    border-radius: 16px;
    padding: 1.35rem 1.6rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.timeline-box:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 71, 0.6);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 168, 71, 0.15);
}

/* Connecting Arrow Pointer */
.timeline-box::after {
    content: "";
    position: absolute;
    top: 26px;
    width: 14px;
    height: 14px;
    background: #121217;
    border-top: 1px solid rgba(212, 168, 71, 0.28);
    border-right: 1px solid rgba(212, 168, 71, 0.28);
    transition: border-color .3s ease;
}

.timeline-left .timeline-box::after {
    right: -8px;
    transform: rotate(45deg);
}

.timeline-right .timeline-box::after {
    left: -8px;
    transform: rotate(-135deg);
}

.timeline-box:hover::after {
    border-color: rgba(212, 168, 71, 0.6);
}

.box-highlight {
    background: radial-gradient(circle at 100% 0%, rgba(212, 168, 71, 0.12) 0%, rgba(18, 18, 23, 0.95) 75%);
    border-color: rgba(212, 168, 71, 0.5);
}

/* Card Header */
.timeline-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.65rem;
    flex-wrap: wrap;
}

.tm-pill-year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    background: rgba(212, 168, 71, 0.14);
    border: 1px solid rgba(212, 168, 71, 0.35);
    border-radius: 50px;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.4px;
}

.tm-tag-cat {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

/* Card Title */
.tm-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.4px;
    line-height: 1.32;
}

/* Narrative Text */
.tm-text {
    font-size: 0.9rem;
    line-height: 1.58;
    color: #cfcfcf;
    margin-bottom: 0.9rem;
}

.tm-text strong {
    color: #fff;
    font-weight: 600;
}

/* Highlight Chips */
.tm-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tm-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 168, 71, 0.2);
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #e2e2e2;
    transition: all .2s ease;
}

.tm-badge i {
    color: var(--gold);
    font-size: 10px;
}

.tm-badge:hover {
    background: rgba(212, 168, 71, 0.12);
    border-color: rgba(212, 168, 71, 0.4);
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .timeline-node-item.timeline-left {
        padding-right: 36px;
    }

    .timeline-node-item.timeline-right {
        padding-left: 36px;
    }

    .tm-title {
        font-size: 1.12rem;
    }

    .tm-text {
        font-size: 0.86rem;
    }
}

@media (max-width: 767.98px) {
    .timeline-flow-bar {
        border-radius: 16px;
        padding: 10px 14px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 2.5rem;
    }

    .timeline-flow-bar::-webkit-scrollbar {
        display: none;
    }

    .flow-step {
        flex: 0 0 auto;
    }

    .flow-line {
        flex: 0 0 20px;
        min-width: 20px;
    }

    /* Shift spine to the left edge */
    .timeline-central-spine {
        left: 24px;
        transform: none;
    }

    .timeline-node-item {
        width: 100% !important;
        left: 0 !important;
        margin-left: 0 !important;
        padding-left: 64px !important;
        padding-right: 0 !important;
        margin-bottom: 1.8rem;
    }

    .timeline-marker {
        left: 0 !important;
        right: auto !important;
        width: 48px;
        height: 48px;
    }

    .marker-year {
        font-size: 0.76rem;
    }

    .timeline-box::after {
        left: -8px !important;
        right: auto !important;
        transform: rotate(-135deg) !important;
    }
}

@media (max-width: 575.98px) {
    .timeline-box {
        padding: 1.15rem 1.25rem;
    }

    .tm-title {
        font-size: 1.05rem;
    }

    .tm-text {
        font-size: 0.84rem;
        margin-bottom: 0.75rem;
    }

    .tm-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
}


/*** Luxury Mission & Vision Section (About Us) ***/
.mission-vision-section {
    position: relative;
    background: radial-gradient(circle at 50% 18%, rgba(212, 168, 71, 0.08) 0%, transparent 65%), #0c0c0e;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mv-luxury-card {
    position: relative;
    background: linear-gradient(145deg, rgba(22, 22, 27, 0.9) 0%, rgba(14, 14, 18, 0.98) 100%);
    border: 1px solid rgba(212, 168, 71, 0.28);
    border-radius: 22px;
    padding: 2.5rem 2.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.mv-luxury-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 71, 0.65);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 168, 71, 0.2);
}

/* Subtle corner ambient light */
.mv-luxury-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 100% 0%, rgba(212, 168, 71, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Luxury Watermark */
.mv-watermark {
    position: absolute;
    right: 20px;
    bottom: -15px;
    font-family: "Josefin Sans", sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(212, 168, 71, 0.035);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.mv-card-body {
    position: relative;
    z-index: 2;
}

/* Header: Icon + Category Badge */
.mv-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.6rem;
}

.mv-icon-box {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212, 168, 71, 0.2) 0%, rgba(212, 168, 71, 0.05) 100%);
    border: 1.5px solid rgba(212, 168, 71, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(212, 168, 71, 0.28);
    transition: transform .4s ease, box-shadow .4s ease;
}

.mv-icon-box i {
    font-size: 1.65rem;
    color: var(--gold);
    transition: transform .4s ease;
}

.mv-luxury-card:hover .mv-icon-box {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 8px 25px rgba(212, 168, 71, 0.5);
    border-color: var(--gold);
}

.mv-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(212, 168, 71, 0.1);
    border: 1px solid rgba(212, 168, 71, 0.3);
    border-radius: 50px;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
}

/* Card Title */
.mv-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.mv-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

/* Lead Narrative */
.mv-lead {
    font-size: 0.98rem;
    line-height: 1.68;
    color: #dedede;
    margin-bottom: 1.6rem;
}

/* Feature Checkpoints */
.mv-points-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mv-point-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #cfcfcf;
}

.mv-point-item i {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.mv-point-item strong {
    color: #fff;
    font-weight: 600;
}

/* Card Bottom Ribbon */
.mv-footer-tag {
    position: relative;
    z-index: 2;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 168, 71, 0.2);
    border-radius: 12px;
    font-size: 0.8rem;
    color: #ccc;
    display: flex;
    align-items: center;
}

.mv-footer-tag strong {
    color: var(--gold);
    margin-right: 4px;
}

@media (max-width: 991.98px) {
    .mv-luxury-card {
        padding: 2rem 1.7rem;
        margin-bottom: 1.5rem;
    }

    .mv-title {
        font-size: 1.4rem;
    }

    .mv-lead {
        font-size: 0.92rem;
    }
}

/* Certificate Section Enhancements */
.cert-media-showcase {
    position: relative;
}

.cert-floating-pill {
    position: absolute;
    bottom: 25px;
    right: 15px;
    background: rgba(18, 18, 22, 0.94);
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    padding: 8px 18px 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(212, 168, 71, 0.35);
    backdrop-filter: blur(8px);
    z-index: 3;
}

.cert-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.cert-badge-text strong {
    display: block;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gold);
    line-height: 1.2;
}

.cert-badge-text span {
    font-size: 0.72rem;
    color: #ddd;
    line-height: 1;
}

.cert-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.cert-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dedede;
    font-size: 0.92rem;
}

.cert-feature-item i {
    font-size: 1rem;
    flex-shrink: 0;
}

.cert-quote-box {
    display: flex;
    align-items: center;
    padding: 1.1rem 1.4rem;
    background: rgba(14, 14, 18, 0.85);
    border: 1px solid rgba(212, 168, 71, 0.3);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Founder Showcase */
.founder-media-showcase {
    position: relative;
    display: inline-block;
    width: 100%;
}

.founder-floating-pill {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background: rgba(18, 18, 22, 0.95);
    border: 1px solid var(--gold);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 22px 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 15px rgba(212, 168, 71, 0.35);
    z-index: 3;
    transition: transform 0.3s ease;
}

.founder-floating-pill:hover {
    transform: translateY(-3px);
}

.founder-floating-pill .founder-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 16px;
    flex-shrink: 0;
}

.founder-floating-pill .founder-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.founder-floating-pill .founder-badge-text strong {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.founder-floating-pill .founder-badge-text span {
    font-size: 0.74rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.founder-signature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.35rem;
    background: var(--ink-2);
    border-left: 3px solid var(--gold);
    border-radius: 0 14px 14px 0;
    margin-bottom: 2rem;
}

.founder-signature-card .founder-info h4 {
    margin: 0;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.founder-signature-card .founder-info span {
    display: block;
    font-size: 0.82rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-top: 3px;
}