/* Tangalle Hotel Management premium hospitality layer */
:root {
    --premium-ink: #071f33;
    --premium-deep: #06283f;
    --premium-blue: #0b6f92;
    --premium-cyan: #16a9b5;
    --premium-mint: #52d5c6;
    --premium-sand: #d9b678;
    --premium-paper: #f6fafb;
    --premium-line: rgba(9, 63, 91, .12);
    --premium-shadow: 0 28px 80px rgba(4, 35, 55, .12);
}
body { font-family: 'DM Sans', sans-serif; color: #3d5668; }
h1,h2,h3,h4,h5,h6,.brand-text strong,.footer-brand strong { font-family: 'Manrope', sans-serif; letter-spacing: -.035em; }
.site-nav { box-shadow: 0 12px 36px rgba(7,31,51,.055); }
.navbar { min-height: 78px; }
.brand-monogram { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; letter-spacing: -.06em; }
.brand-mark { border-radius: 50%; background: var(--premium-ink); box-shadow: none; border: 1px solid rgba(82,213,198,.45); }
.brand-text strong { letter-spacing: -.035em; }
.brand-text span { color: var(--premium-blue); }
.navbar .navbar-nav .nav-link { font-size: .76rem; letter-spacing: .11em; }
.nav-cta { border-radius: 999px; min-height: 46px; padding-inline: 1.25rem; }

.home-hero-v2 {
    position: relative;
    overflow: hidden;
    padding: 112px 0 96px;
    color: #fff;
    background: #06283f;
}
.home-hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .075;
    background-image: none;
    background-size: 64px 64px;
    mask-image: none;
}
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 680px; height: 680px; right: -330px; top: -260px; }
.hero-orbit-two { width: 420px; height: 420px; left: -220px; bottom: -280px; }
.hero-main-copy { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.3rem; color: #b6f4ed; font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.kicker-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--premium-mint); box-shadow: 0 0 0 7px rgba(82,213,198,.12); }
.home-hero-v2 h1 { max-width: 820px; margin: 0 0 1.45rem; color: #fff; font-size: clamp(3.2rem, 6.15vw, 6rem); line-height: 1.005; letter-spacing: -.065em; }
.home-hero-v2 h1 span { display: block; color: #8fe5dc; }
.hero-intro { max-width: 710px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.75; }
.hero-actions-v2 { display: flex; align-items: center; flex-wrap: wrap; gap: 1.3rem; margin-top: 2rem; }
.btn-lg-thm { min-height: 56px; padding-inline: 1.6rem; border-radius: 999px; }
.hero-text-link { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 700; }
.hero-text-link:hover { color: #9af1e7; }
.hero-proof-row { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 3rem; padding-top: 1.7rem; border-top: 1px solid rgba(255,255,255,.13); }
.hero-proof { min-width: 145px; display: flex; align-items: center; gap: .7rem; }
.hero-proof strong { color: #fff; font-family: 'Manrope', sans-serif; font-size: 1.55rem; letter-spacing: -.04em; }
.hero-proof span { max-width: 95px; color: rgba(255,255,255,.55); font-size: .72rem; line-height: 1.35; }

.hero-command-card { position: relative; z-index: 2; padding: 1.15rem; border-radius: 30px; background: rgba(255,255,255,.095); border: 1px solid rgba(255,255,255,.17); box-shadow: 0 40px 100px rgba(0,0,0,.32); backdrop-filter: blur(20px); }
.command-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .65rem .65rem 1rem; }
.command-label { color: #8fe5dc; font-size: .63rem; font-weight: 800; letter-spacing: .15em; }
.command-topline h2 { max-width: 310px; margin: .45rem 0 0; color: #fff; font-size: 1.32rem; letter-spacing: -.035em; }
.command-live { display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto; color: rgba(255,255,255,.68); font-size: .68rem; }
.command-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--premium-mint); box-shadow: 0 0 0 5px rgba(82,213,198,.11); }
.hospitality-scene { position: relative; overflow: visible; }
.hospitality-scene svg { display: block; width: 100%; border-radius: 22px; box-shadow: 0 22px 45px rgba(0,0,0,.18); }
.scene-badge { position: absolute; display: flex; align-items: center; gap: .7rem; min-width: 170px; padding: .75rem .85rem; border-radius: 14px; color: var(--premium-ink); background: rgba(255,255,255,.94); box-shadow: 0 16px 40px rgba(5,33,50,.20); }
.scene-badge i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--premium-blue); }
.scene-badge strong,.scene-badge small { display: block; }
.scene-badge strong { font-size: .76rem; }
.scene-badge small { color: #758a99; font-size: .62rem; }
.scene-badge-one { left: -25px; bottom: 42px; }
.scene-badge-two { right: -24px; top: 34px; }
.command-focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-top: .75rem; }
.command-focus-grid > div { display: flex; align-items: center; gap: .6rem; padding: .75rem; border-radius: 14px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.08); }
.command-focus-grid i { color: #8fe5dc; }
.command-focus-grid strong,.command-focus-grid small { display: block; }
.command-focus-grid strong { color: #fff; font-size: .72rem; }
.command-focus-grid small { color: rgba(255,255,255,.44); font-size: .59rem; }

.platform-ribbon {
    background: #f7fafb;
    border-top: 1px solid #e7eef2;
    border-bottom: 1px solid #dfe9ee;
}
.platform-ribbon-inner { padding: 24px 0; }
.platform-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
    width: 100%;
}
.platform-logo {
    min-width: 0;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    overflow: hidden;
    border: 1px solid #d9e5eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(8,47,67,.065);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.platform-logo:hover {
    transform: translateY(-3px);
    border-color: #b9d4df;
    box-shadow: 0 13px 28px rgba(8,47,67,.11);
}
.platform-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 44px;
    object-fit: contain;
}
.platform-booking img { width: 154px; }
.platform-airbnb img { width: 138px; }
.platform-agoda img { width: 156px; }
.platform-expedia img { width: 150px; }
.platform-google img { width: 112px; }
.platform-direct img { width: 158px; max-height: 48px; }

.about-home-v2 { overflow: hidden; }
.leadership-portrait { position: relative; padding: 0 0 72px 42px; }
.portrait-frame { position: relative; overflow: hidden; border-radius: 30px 30px 100px 30px; background: #dfeef2; box-shadow: var(--premium-shadow); }
.portrait-frame::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.42); border-radius: inherit; }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; filter: saturate(.88) contrast(1.02); }
.leadership-portrait::before { content: ''; position: absolute; left: 0; bottom: 36px; width: 64%; height: 68%; border: 1px solid rgba(11,111,146,.22); border-radius: 30px; background: #e9f4f5; }
.experience-seal { position: absolute; left: 0; top: 48px; z-index: 2; width: 132px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; text-align: center; border-radius: 50%; color: #fff; background: var(--premium-ink); box-shadow: 0 18px 45px rgba(5,35,55,.24); border: 7px solid #fff; }
.experience-seal strong { color: #fff; font-family: 'Manrope', sans-serif; font-size: 2rem; line-height: 1; }
.experience-seal span { margin-top: .45rem; color: rgba(255,255,255,.64); font-size: .61rem; line-height: 1.3; }
.portrait-signature { position: absolute; right: -18px; bottom: 24px; z-index: 3; min-width: 76%; padding: 1.05rem 1.25rem; border-radius: 16px; background: #fff; border: 1px solid var(--premium-line); box-shadow: 0 18px 45px rgba(5,35,55,.13); }
.portrait-signature strong,.portrait-signature span { display: block; }
.portrait-signature strong { color: var(--premium-ink); font-family: 'Manrope', sans-serif; }
.portrait-signature span { margin-top: .25rem; color: #788b99; font-size: .72rem; }
.section-lead { color: #173d52; font-size: 1.12rem; font-weight: 600; }
.about-pillar-grid { display: grid; gap: .9rem; margin-top: 1.6rem; }
.about-pillar { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--premium-line); }
.about-pillar > span { color: var(--premium-cyan); font-family: 'Manrope', sans-serif; font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.about-pillar strong,.about-pillar small { display: block; }
.about-pillar strong { color: var(--premium-ink); font-family: 'Manrope', sans-serif; font-size: .94rem; }
.about-pillar small { margin-top: .23rem; color: #788b99; font-size: .78rem; }

.solutions-v2 { background: #f3f8fa; }
.service-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.15rem; }
.service-bento-card { grid-column: span 4; position: relative; overflow: hidden; min-height: 290px; display: flex; flex-direction: column; align-items: flex-start; padding: 1.7rem; border-radius: 22px; color: #536b7a; background: #fff; border: 1px solid var(--premium-line); box-shadow: 0 14px 50px rgba(7,46,68,.055); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.service-bento-card::after { content: ''; position: absolute; right: -75px; bottom: -75px; width: 150px; height: 150px; border-radius: 50%; background: rgba(82,213,198,.10); }
.service-bento-card:hover { transform: translateY(-7px); border-color: rgba(11,111,146,.28); box-shadow: var(--premium-shadow); }
.service-bento-card > span,.service-bento-content > span,.service-bento-card > div > span { color: var(--premium-blue); font-size: .67rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.service-bento-card h3 { margin: .9rem 0 .7rem; color: var(--premium-ink); font-size: 1.28rem; }
.service-bento-card p { margin: 0; font-size: .88rem; line-height: 1.7; }
.service-bento-card a { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.15rem; color: var(--premium-ink); font-size: .78rem; font-weight: 800; }
.service-bento-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 1.2rem; border-radius: 14px; color: #fff; background: var(--premium-blue); box-shadow: 0 12px 28px rgba(11,111,146,.20); }
.service-bento-featured { grid-column: span 8; min-height: 330px; color: rgba(255,255,255,.69); background: #075c74; border-color: transparent; }
.service-bento-featured::after { width: 360px; height: 360px; right: -130px; bottom: -180px; background: rgba(82,213,198,.12); }
.service-bento-featured h3,.service-bento-featured a { color: #fff; }
.service-bento-featured .service-bento-content { max-width: 70%; }
.service-bento-featured .service-bento-content > span { color: #91e8df; }
.service-bento-detail { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.service-bento-detail span { padding: .45rem .7rem; border-radius: 999px; color: rgba(255,255,255,.76) !important; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); font-size: .62rem !important; letter-spacing: .05em !important; }
.service-bento-wide { grid-column: span 8; min-height: 230px; display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; }
.service-bento-wide > a { grid-column: 2; }

.outcome-section { position: relative; overflow: hidden; color: rgba(255,255,255,.69); background: #06283f; }
.outcome-section::before { content: ''; position: absolute; inset: 0; opacity: .09; background-image: none; background-size: 30px 30px; }
.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.outcome-card { position: relative; min-height: 220px; padding: 1.45rem; border-radius: 20px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(10px); }
.outcome-card > i { color: #8fe5dc; font-size: 1.25rem; }
.outcome-card h3 { max-width: 230px; margin: 1.2rem 0 .6rem; color: #fff; font-size: 1.12rem; }
.outcome-card p { margin: 0; color: rgba(255,255,255,.58); font-size: .82rem; }
.outcome-number { position: absolute; right: 1.2rem; top: 1rem; color: rgba(255,255,255,.17); font-family: 'Manrope', sans-serif; font-size: 2.3rem; font-weight: 800; }

.property-type-card { position: relative; overflow: hidden; height: 100%; min-height: 260px; display: flex; flex-direction: column; padding: 1.45rem; border-radius: 22px; color: #557080; background: #fff; border: 1px solid var(--premium-line); box-shadow: 0 12px 40px rgba(7,46,68,.05); transition: .3s ease; }
.property-type-card:hover { color: #557080; transform: translateY(-7px); box-shadow: var(--premium-shadow); }
.property-type-card::after { content: ''; position: absolute; right: -90px; top: -90px; width: 190px; height: 190px; border-radius: 50%; background: rgba(82,213,198,.09); transition: .3s ease; }
.property-type-card:hover::after { transform: scale(1.25); }
.property-type-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: auto; border-radius: 17px; color: var(--premium-blue); background: #edf7f8; font-size: 1.25rem; }
.property-type-card > div > span { color: var(--premium-cyan); font-size: .7rem; font-weight: 800; }
.property-type-card h3 { margin: .5rem 0; color: var(--premium-ink); font-size: 1.35rem; }
.property-type-card p { margin: 0; font-size: .8rem; }
.property-arrow { position: absolute; right: 1.45rem; bottom: 1.5rem; color: var(--premium-blue); }

.process-sticky-copy { position: sticky; top: 130px; }
.process-v2-list { border-top: 1px solid var(--premium-line); }
.process-v2-item { display: grid; grid-template-columns: 56px 1fr 46px; gap: 1.2rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--premium-line); }
.process-v2-item > span { color: var(--premium-cyan); font-family: 'Manrope', sans-serif; font-size: .76rem; font-weight: 800; }
.process-v2-item h3 { margin: 0 0 .35rem; color: var(--premium-ink); font-size: 1.16rem; }
.process-v2-item p { margin: 0; color: #708492; font-size: .85rem; }
.process-v2-item > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--premium-blue); background: #eaf5f7; }

.leadership-quote-card { position: relative; overflow: hidden; padding: 3.2rem; border-radius: 28px; color: #fff; background: var(--premium-ink); box-shadow: var(--premium-shadow); }
.leadership-quote-card::after { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -170px; top: -180px; border: 1px solid rgba(255,255,255,.12); }
.quote-mark { position: absolute; left: 1.3rem; top: -.7rem; color: rgba(255,255,255,.08); font-family: Georgia, serif; font-size: 10rem; line-height: 1; }
.leadership-quote-card p { position: relative; margin: 0; color: #fff; font-family: 'Playfair Display', serif; font-size: clamp(1.35rem, 2.6vw, 2.25rem); line-height: 1.42; }
.quote-author { display: flex; align-items: center; gap: .9rem; }
.quote-author img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 3px solid rgba(255,255,255,.30); }
.quote-author strong,.quote-author small { display: block; }
.quote-author strong { color: #fff; font-family: 'Manrope', sans-serif; font-size: .88rem; }
.quote-author small { margin-top: .2rem; color: rgba(255,255,255,.52); font-size: .68rem; }

.cta-box-v2 { padding: 3.4rem; background: #087f72; }
.cta-box-v2 .position-relative { z-index: 2; }
.cta-kicker { display: inline-block; margin-bottom: 1rem; color: #c8fff7; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.cta-lines { position: absolute; inset: 0; opacity: .12; background-image: none; background-size: 70px 70px; }
.btn-white-thm { min-height: 54px; border-radius: 999px; color: var(--premium-blue); background: #fff; box-shadow: 0 16px 36px rgba(5,35,55,.18); }
.btn-white-thm:hover { color: var(--premium-ink); background: #eefcfb; }


.footer-credential { display: inline-flex; align-items: center; gap: .8rem; padding: .75rem 1rem; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); }
.footer-credential i { color: #8fe5dc; }
.footer-credential strong,.footer-credential small { display: block; }
.footer-credential strong { color: #fff; font-size: .8rem; }
.footer-credential small { color: rgba(255,255,255,.45); font-size: .65rem; }

.footer-trust-row { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem; }
.footer-social-links { display: flex; align-items: center; gap: .55rem; }
.footer-social-links a { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; color: #8fe5dc; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); font-size: .95rem; transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease; }
.footer-social-links a:hover { color: #041827; background: #8fe5dc; border-color: #8fe5dc; transform: translateY(-3px); }

/* Improve the shared inner pages without changing their content structure. */
.page-hero { padding: 118px 0 104px; background: #06283f; }
.page-hero h1 { letter-spacing: -.055em; }
.service-card,.info-card,.process-card,.value-card,.contact-card { border-color: var(--premium-line); border-radius: 20px; box-shadow: 0 14px 46px rgba(7,46,68,.055); }
.card-icon { border-radius: 15px; background: var(--premium-blue); }
.portrait-wrap img { filter: saturate(.9); }
.footer { background: #041827; }

@media (max-width: 1199.98px) {
    .home-hero-v2 h1 { font-size: clamp(3.1rem, 5.8vw, 4.8rem); }
    .scene-badge-two { right: -8px; }
    .scene-badge-one { left: -8px; }
}
@media (max-width: 991.98px) {
    .home-hero-v2 { padding: 92px 0 82px; }
    .hero-command-card { max-width: 720px; margin: 1rem auto 0; }
    .platform-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-bento-card { grid-column: span 6; }
    .service-bento-featured,.service-bento-wide { grid-column: span 12; }
    .process-sticky-copy { position: static; }
    .leadership-quote-card { padding: 2.5rem; }
}
@media (max-width: 767.98px) {
    .home-hero-v2 { padding: 76px 0 70px; }
    .process-sticky-copy .section-eyebrow { display: flex; width: 100%; justify-content: center; }
    .process-sticky-copy .section-title { text-align: center; }
    .home-hero-v2 h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
    .hero-intro { font-size: .98rem; }
    .hero-proof-row { gap: .85rem; }
    .hero-proof { min-width: calc(50% - .5rem); }
    .hero-command-card { padding: .85rem; border-radius: 24px; }
    .command-topline { align-items: center; }
    .command-live { display: none; }
    .scene-badge { min-width: 150px; transform: scale(.88); }
    .scene-badge-one { left: -5px; bottom: 18px; transform-origin: left bottom; }
    .scene-badge-two { right: -4px; top: 18px; transform-origin: right top; }
    .command-focus-grid { grid-template-columns: 1fr; }
    .command-focus-grid > div { padding: .65rem .8rem; }
    .leadership-portrait { padding-left: 22px; }
    .experience-seal { width: 112px; height: 112px; left: -4px; }
    .portrait-signature { right: 0; min-width: 86%; }
    .service-bento { display: block; }
    .service-bento-card { min-height: 0; margin-bottom: 1rem; }
    .service-bento-featured .service-bento-content { max-width: 100%; }
    .service-bento-wide { display: flex; }
    .service-bento-wide > a { grid-column: auto; }
    .outcome-grid { grid-template-columns: 1fr; }
    .outcome-card { min-height: 180px; }
    .leadership-quote-card { padding: 2rem 1.35rem; }
    .quote-author { margin-top: .5rem; }
    .cta-box-v2 { padding: 2.3rem 1.35rem; }
}
@media (max-width: 575.98px) {
    .navbar { min-height: 70px; }
    .brand-text strong { font-size: .9rem; }
    .home-hero-v2 { padding-top: 64px; }
    .hero-kicker { font-size: .65rem; letter-spacing: .09em; }
    .hero-actions-v2 { align-items: stretch; flex-direction: column; }
    .hero-actions-v2 .btn-thm { width: 100%; }
    .hero-text-link { justify-content: center; }
    .hero-proof { min-width: 100%; }
    .command-topline h2 { font-size: 1.06rem; }
    .scene-badge { display: none; }
    .platform-ribbon-inner { padding: 14px 0; }
    .platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .platform-logo { min-height: 66px; padding: 12px 10px; border-radius: 10px; }
    .platform-logo img { height: 30px; }
    .leadership-portrait { padding: 0 0 76px 12px; }
    .experience-seal { top: 20px; width: 100px; height: 100px; border-width: 5px; }
    .experience-seal strong { font-size: 1.55rem; }
    .portrait-signature { left: 24px; right: 0; bottom: 20px; min-width: 0; }
    .process-v2-item { grid-template-columns: 40px 1fr; gap: .8rem; }
    .process-v2-item > i { display: none; }
    .leadership-quote-card p { font-size: 1.25rem; }
}


/* =========================================================
   TRAVISA-INSPIRED HOME CAROUSEL
   Only the homepage hero uses these styles.
   ========================================================= */
.thm-carousel-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #071f33;
}
.thm-hero-carousel,
.thm-hero-slides {
    position: relative;
    width: 100%;
    min-height: clamp(640px, 78vh, 860px);
}
.thm-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .75s ease, visibility .75s ease;
}
.thm-hero-slide.active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}
.thm-hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.035);
    transition: transform 7s ease;
}
.thm-hero-slide.active > img { transform: scale(1); }
.thm-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4,24,40,.58);
}
.thm-hero-content-wrap {
    position: relative;
    z-index: 3;
    min-height: clamp(640px, 78vh, 860px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
    padding-bottom: 80px;
}
.thm-hero-content {
    width: min(100%, 980px);
    margin: 0 auto;
    color: #fff;
}
.thm-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: #9cf0e7;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.5;
    text-transform: uppercase;
}
.thm-hero-eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    margin-right: .75rem;
    border-radius: 99px;
    background: #63ddd2;
}
.thm-hero-content h1,
.thm-hero-content h2 {
    max-width: 960px;
    margin: 0 auto 1.35rem;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(3.2rem, 6.5vw, 6.6rem);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.065em;
    text-transform: none;
    text-wrap: balance;
    text-shadow: 0 12px 38px rgba(0, 0, 0, .26);
}
.thm-hero-content h2 { font-size: clamp(3rem, 6vw, 6rem); }
.thm-hero-content p {
    max-width: 830px;
    margin: 0 auto;
    color: rgba(255,255,255,.84);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.75;
    text-wrap: balance;
}
.thm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    margin-top: 2.15rem;
}
.thm-hero-primary,
.thm-hero-secondary {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border-radius: 999px;
    padding: .9rem 1.75rem;
    font-weight: 800;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.thm-hero-primary {
    color: #fff;
    background: #0e91c4;
    border: 1px solid #55d8d1;
    box-shadow: 0 18px 45px rgba(0, 122, 170, .3);
}
.thm-hero-primary:hover {
    color: #fff;
    background: #087ba9;
    transform: translateY(-2px);
}
.thm-hero-secondary {
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.45);
    backdrop-filter: blur(8px);
}
.thm-hero-secondary:hover {
    color: #08283c;
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}
.thm-hero-indicators {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 30px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: .7rem;
}
.thm-hero-indicators button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 3px solid rgba(255,255,255,.78);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 3px rgba(5, 46, 68, .28);
    transition: all .25s ease;
}
.thm-hero-indicators button.active {
    border-color: #6ce5da;
    background: #6ce5da;
    transform: scale(1.18);
}
.thm-hero-control {
    position: absolute;
    z-index: 6;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    color: #fff;
    background: rgba(4, 34, 52, .35);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background .25s ease, transform .25s ease;
}
.thm-hero-control:hover {
    background: #0e91c4;
    transform: translateY(-50%) scale(1.06);
}
.thm-hero-prev { left: 28px; }
.thm-hero-next { right: 28px; }

@media (max-width: 991.98px) {
    .thm-hero-carousel,
    .thm-hero-slides,
    .thm-hero-content-wrap { min-height: 720px; }
    .thm-hero-content-wrap { padding-top: 48px; padding-bottom: 92px; }
    .thm-hero-content h1,
    .thm-hero-content h2 { font-size: clamp(3rem, 9vw, 5rem); }
    .thm-hero-control { width: 48px; height: 48px; }
    .thm-hero-prev { left: 18px; }
    .thm-hero-next { right: 18px; }
}
@media (max-width: 767.98px) {
    .thm-hero-carousel,
    .thm-hero-slides,
    .thm-hero-content-wrap { min-height: 650px; }
    .thm-hero-content-wrap { padding: 64px 22px 100px; }
    .thm-hero-slide > img { object-position: 58% center; }
    .thm-hero-content h1,
    .thm-hero-content h2 {
        font-size: clamp(2.45rem, 12vw, 3.8rem);
        line-height: 1.04;
        letter-spacing: -.055em;
    }
    .thm-hero-eyebrow { font-size: .68rem; letter-spacing: .11em; }
    .thm-hero-content p { font-size: .98rem; line-height: 1.65; }
    .thm-hero-actions { flex-direction: column; align-items: stretch; width: min(100%, 360px); margin-right: auto; margin-left: auto; }
    .thm-hero-primary,
    .thm-hero-secondary { width: 100%; }
    .thm-hero-control {
        top: auto;
        bottom: 23px;
        width: 42px;
        height: 42px;
        transform: none;
    }
    .thm-hero-control:hover { transform: scale(1.04); }
    .thm-hero-prev { left: 18px; }
    .thm-hero-next { right: 18px; }
    .thm-hero-indicators { bottom: 22px; }
}
@media (max-width: 420px) {
    .thm-hero-carousel,
    .thm-hero-slides,
    .thm-hero-content-wrap { min-height: 690px; }
    .thm-hero-content-wrap { padding-right: 18px; padding-left: 18px; }
    .thm-hero-content h1,
    .thm-hero-content h2 { font-size: clamp(2.2rem, 11.3vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
    .thm-hero-slide,
    .thm-hero-slide > img,
    .thm-hero-primary,
    .thm-hero-secondary,
    .thm-hero-control { transition: none !important; }
}

/* Official Tangalle Hotel Management logo */
.navbar-brand.brand-logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0;
    margin-right: 1.25rem;
    line-height: 0;
}
.site-logo {
    display: block;
    width: auto;
    height: 60px;
    max-width: 150px;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(7, 31, 51, .13);
}
@media (max-width: 991.98px) {
    .site-logo { height: 52px; max-width: 130px; }
    .navbar-brand.brand-logo-link { margin-right: .75rem; }
}
@media (max-width: 575.98px) {
    .site-logo { height: 48px; max-width: 120px; }
    .navbar-brand.brand-logo-link { margin-left: 8px; }
}
.footer-logo {
    display: block;
    width: min(100%, 230px);
    height: auto;
    border-radius: 6px;
}
@media (max-width: 575.98px) {
    .footer-logo { width: 205px; }
}


/* Plumberz-inspired hospitality services carousel */
.hospitality-services-section {
    overflow: hidden;
    padding: 5.5rem 0;
    background: #f3f8fa;
}
.services-experience-panel {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #075c74;
}
.services-experience-panel::before,
.services-experience-panel::after {
    content: '';
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
}
.services-experience-panel::before { width: 330px; height: 330px; top: -110px; left: -120px; }
.services-experience-panel::after { width: 250px; height: 250px; right: -95px; bottom: -80px; }
.services-experience-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}
.services-experience-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(4,23,39,.40);
}
.services-experience-badge {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 3;
    padding: 1.2rem 1.15rem 1.05rem;
    border-radius: 26px;
    color: #fff;
    background: rgba(3, 22, 35, .56);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 20px 42px rgba(1, 16, 28, .28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.services-experience-badge span {
    display: block;
    margin-bottom: .45rem;
    color: #8ce7df;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.services-experience-badge strong {
    display: block;
    margin-bottom: .4rem;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 2.4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.05em;
}
.services-experience-badge small {
    display: block;
    color: rgba(255,255,255,.82);
    font-size: .88rem;
    line-height: 1.6;
}
.services-carousel-content { padding: 1rem 3.5rem 1rem 0; }
.services-carousel-heading { max-width: 780px; margin-bottom: 2.3rem; }
.services-carousel-heading .section-copy { max-width: 680px; }
.plumberz-service-card {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    padding: 1.65rem;
    border: 1px solid rgba(11,111,146,.12);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 14px 38px rgba(7,46,68,.08);
    transition: transform .5s ease, box-shadow .5s ease, border-color .5s ease;
}
.owl-item.center .plumberz-service-card,
.plumberz-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(11,111,146,.34);
    box-shadow: 0 24px 56px rgba(7,46,68,.14);
}
.plumberz-service-icon {
    width: 75px;
    height: 75px;
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    border: 5px solid #edf6f8;
    color: #fff;
    background: var(--premium-blue);
    font-size: 1.65rem;
    transition: transform .5s ease;
}
.owl-item.center .plumberz-service-icon,
.plumberz-service-card:hover .plumberz-service-icon { transform: rotate(-5deg) scale(1.06); }
.plumberz-service-kicker {
    color: var(--premium-blue);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.plumberz-service-card h3 {
    margin: .7rem 0 .7rem;
    color: var(--premium-ink);
    font-size: 1.28rem;
    line-height: 1.32;
}
.plumberz-service-card > p { margin-bottom: 1rem; color: #607886; font-size: .89rem; line-height: 1.7; }
.plumberz-service-card ul { display: grid; gap: .55rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.plumberz-service-card li { display: flex; align-items: center; gap: .58rem; color: #315567; font-size: .82rem; font-weight: 700; }
.plumberz-service-card li i { color: #10a891; font-size: .72rem; }
.plumberz-service-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
    padding: .88rem 1rem;
    color: var(--premium-blue);
    background: #f3f9fa;
    font-size: .78rem;
    font-weight: 800;
    transition: color .3s ease, background .3s ease;
}
.plumberz-service-link:hover { color: #fff; background: var(--premium-blue); }
.service-carousel .owl-stage-outer { padding: 12px 0 18px; }
.service-carousel .owl-stage { display: flex; }
.service-carousel .owl-item { display: flex; }
.service-carousel .owl-item > article { width: 100%; }
.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 5px solid #edf6f8;
    background: var(--premium-blue);
    transition: .5s;
}
.service-carousel .owl-dot.active {
    background: #edf6f8;
    border-color: var(--premium-blue);
    transform: scale(1.08);
}
@media (max-width: 1199.98px) {
    .services-carousel-content { padding-right: 2rem; }
    .plumberz-service-card { min-height: 445px; }
}
@media (max-width: 991.98px) {
    .hospitality-services-section { padding: 4.7rem 0; }
    .services-carousel-content { padding: 0; }
    .services-carousel-heading { margin-right: auto; margin-left: auto; }
}
@media (max-width: 767.98px) {
    .hospitality-services-section { padding: 4rem 0; }
    .hospitality-services-section .container-fluid { padding-right: 18px !important; padding-left: 18px !important; }
    .services-carousel-heading { margin-bottom: 1.65rem; }
    .plumberz-service-card { min-height: 420px; padding: 1.45rem; }
}
@media (max-width: 575.98px) {
    .plumberz-service-card { min-height: 0; }
    .service-carousel .owl-stage-outer { overflow: hidden !important; }
}

/* Mobile hero navigation: keep swipe/auto-slide, hide arrow controls */
@media (max-width: 767.98px) {
    .thm-hero-control {
        display: none !important;
    }
}

/* Mobile outcome section alignment */
@media (max-width: 767.98px) {
    .outcome-section .col-lg-5 {
        text-align: center;
    }
    .outcome-section .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .outcome-section .section-title,
    .outcome-section .col-lg-5 > p {
        margin-right: auto;
        margin-left: auto;
    }
    .outcome-section .btn-thm {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
/* Mobile footer: center the complete footer without changing desktop/tablet layout */
@media (max-width: 767.98px) {
    .footer .container.py-5 > .row > [class*="col-"] {
        text-align: center;
    }

    .footer-brand {
        display: flex;
        justify-content: center;
    }

    .footer-logo {
        margin-right: auto;
        margin-left: auto;
    }

    .footer .col-lg-5 > p {
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: center;
    }

    .footer-trust-row {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .footer-credential {
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
        text-align: left;
    }

    .footer-social-links {
        justify-content: center;
    }

    .footer h5,
    .footer-links,
    .footer-links li {
        text-align: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer .col-lg-3 p {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .footer .col-lg-3 p i {
        flex: 0 0 auto;
        margin-top: .2rem;
    }

    .footer .copyright .container {
        align-items: center;
        justify-content: center !important;
        text-align: center;
    }

    .footer .copyright .container > span {
        width: 100%;
        text-align: center;
    }
}


/* FAQ */
.faq-v2 { background: #f3f8fa; }
.faq-v2-intro { position: sticky; top: 120px; }
.faq-v2-list { display: grid; gap: .85rem; }
.faq-v2-item { overflow: hidden; border: 1px solid var(--premium-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 38px rgba(7,46,68,.045); transition: border-color .55s ease, box-shadow .55s ease, transform .55s ease; }
.faq-v2-item:hover { border-color: rgba(11,111,146,.24); box-shadow: 0 18px 48px rgba(7,46,68,.075); }
.faq-v2-item.is-open { border-color: rgba(11,111,146,.30); box-shadow: 0 18px 52px rgba(7,46,68,.08); }
.faq-v2-item summary { position: relative; display: flex; align-items: center; min-height: 76px; padding: 1.25rem 4.25rem 1.25rem 1.5rem; color: var(--premium-ink); font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 800; line-height: 1.45; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.faq-v2-item summary::-webkit-details-marker { display: none; }
.faq-v2-item summary::after { content: '+'; position: absolute; right: 1.35rem; top: 50%; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--premium-blue); font-size: 1.25rem; font-weight: 500; transform: translateY(-50%) rotate(0deg); transition: transform .55s cubic-bezier(.22,1,.36,1), background .45s ease, box-shadow .45s ease; }
.faq-v2-item.is-open summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); box-shadow: 0 10px 24px rgba(11,111,146,.20); }
.faq-v2-answer { max-height: 0; overflow: hidden; padding: 0 1.5rem; opacity: 0; transform: translateY(-10px); transition: max-height .72s cubic-bezier(.22,1,.36,1), padding-bottom .72s cubic-bezier(.22,1,.36,1), opacity .46s ease, transform .58s cubic-bezier(.22,1,.36,1); will-change: max-height, opacity, transform; }
.faq-v2-item.is-open .faq-v2-answer { padding-bottom: 1.4rem; opacity: 1; transform: translateY(0); }
.faq-v2-answer p { max-width: 760px; margin: 0; color: #647d8c; font-size: .92rem; line-height: 1.75; }
@media (prefers-reduced-motion: reduce) {
    .faq-v2-item,
    .faq-v2-item summary::after,
    .faq-v2-answer { transition-duration: .01ms !important; }
}
@media (max-width: 991.98px) {
    .faq-v2-intro { position: static; text-align: center; }
    .faq-v2-intro .section-eyebrow { justify-content: center; }
    .faq-v2-intro .section-eyebrow::before { display: inline-block; }
}
@media (max-width: 767.98px) {
    .faq-v2-item { border-radius: 17px; }
    .faq-v2-item summary { min-height: 70px; padding: 1.1rem 3.8rem 1.1rem 1.15rem; font-size: .93rem; }
    .faq-v2-item summary::after { right: 1rem; width: 32px; height: 32px; }
    .faq-v2-answer { padding-right: 1.15rem; padding-left: 1.15rem; }
    .faq-v2-item.is-open .faq-v2-answer { padding-bottom: 1.2rem; }
    .faq-v2-answer p { font-size: .86rem; }
}


/* WaterLand testimonial carousel — adapted to the Tangalle hospitality palette. */
.thm-waterland-testimonial {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.thm-waterland-testimonial::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../img/thm-reviews-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
    animation: thm-testimonial-image-zoom 10s 1s infinite alternate ease-in-out;
    transition: 1s;
}
.thm-waterland-testimonial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3,31,48,.84);
    z-index: -1;
}
@keyframes thm-testimonial-image-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}
.thm-testimonial-heading {
    animation: thm-testimonial-fade-up .8s ease both;
}
.thm-testimonial-eyebrow {
    color: #82eee4;
}
.thm-waterland-testimonial .testimonial-carousel {
    position: relative;
    padding-bottom: 64px;
}
.thm-waterland-testimonial .testimonial-carousel .testimonial-item {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    border-radius: 18px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: 0 24px 70px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}
.thm-waterland-testimonial .testimonial-item > p {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    font-family: 'Playfair Display', serif;
    line-height: 1.55;
}
.thm-waterland-testimonial .testimonial-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}
.thm-waterland-testimonial .testimonial-img {
    position: relative;
    flex: 0 0 auto;
}
.thm-waterland-testimonial .testimonial-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 100px;
    border: 2px solid #fff;
}
.thm-waterland-testimonial .testimonial-quote {
    position: absolute;
    top: 0;
    left: -25px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--premium-cyan);
    box-shadow: 0 12px 28px rgba(0,169,151,.28);
}
.thm-waterland-testimonial .testimonial-person {
    text-align: left;
}
.thm-waterland-testimonial .testimonial-person h4 {
    margin-bottom: .25rem;
    color: #fff;
}
.thm-waterland-testimonial .testimonial-person p {
    margin-bottom: .45rem;
    color: rgba(255,255,255,.75) !important;
}
.thm-waterland-testimonial .testimonial-stars {
    gap: .25rem;
    color: #82eee4 !important;
}
.thm-waterland-testimonial .owl-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0;
    transform: translateX(-50%);
}
.thm-waterland-testimonial .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 30px;
    margin: 0;
    background: var(--premium-cyan);
    transition: .5s;
}
.thm-waterland-testimonial .owl-dots .owl-dot.active {
    background: #f3fbfc;
}
.thm-waterland-testimonial .owl-dots .owl-dot span {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.thm-waterland-testimonial .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    background: #fff;
    transition: .5s;
}
.thm-waterland-testimonial .owl-dots .owl-dot.active span::after {
    background: var(--premium-cyan);
}
.thm-waterland-testimonial .owl-nav {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 0;
    width: clamp(230px, 30vw, 310px);
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    transform: translateX(-50%);
    pointer-events: none;
}
.thm-waterland-testimonial .owl-nav .owl-prev,
.thm-waterland-testimonial .owl-nav .owl-next {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    transition: color .35s ease, transform .35s ease;
    pointer-events: auto;
}
.thm-waterland-testimonial .owl-nav .owl-prev i,
.thm-waterland-testimonial .owl-nav .owl-next i {
    display: block;
    line-height: 1;
}
.thm-waterland-testimonial .owl-nav .owl-prev:hover,
.thm-waterland-testimonial .owl-nav .owl-next:hover {
    color: #82eee4;
    transform: scale(1.08);
}
@keyframes thm-testimonial-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .thm-waterland-testimonial::after,
    .thm-testimonial-heading { animation: none; }
}
@media (max-width: 767.98px) {
    .thm-waterland-testimonial .container.py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .thm-waterland-testimonial .thm-testimonial-heading { padding-bottom: 2rem !important; }
    .thm-waterland-testimonial .thm-testimonial-heading h2 { font-size: clamp(2rem, 10vw, 2.65rem); }
    .thm-waterland-testimonial .testimonial-item { padding: 1.5rem 1.15rem !important; }
    .thm-waterland-testimonial .testimonial-item > p { font-size: 1.05rem !important; line-height: 1.65; }
    .thm-waterland-testimonial .testimonial-inner { align-items: center; }
    .thm-waterland-testimonial .testimonial-img img { width: 82px; height: 82px; }
    .thm-waterland-testimonial .testimonial-quote { left: -16px; width: 42px; height: 42px; }
    .thm-waterland-testimonial .testimonial-person { margin-left: 1rem !important; }
    .thm-waterland-testimonial .testimonial-person h4 { font-size: 1rem; }
    .thm-waterland-testimonial .testimonial-person p { font-size: .78rem; }
    .thm-waterland-testimonial .testimonial-carousel { padding-bottom: 58px; }
    .thm-waterland-testimonial .owl-dots { bottom: 10px; gap: 12px; }
    .thm-waterland-testimonial .owl-dots .owl-dot { width: 26px; height: 26px; margin: 0; }
    .thm-waterland-testimonial .owl-nav { bottom: 0; width: min(230px, calc(100vw - 52px)); height: 46px; }
    .thm-waterland-testimonial .owl-nav .owl-prev,
    .thm-waterland-testimonial .owl-nav .owl-next { width: 42px; height: 42px; font-size: 40px; }
    .thm-waterland-testimonial .owl-dots .owl-dot span::after { width: 12px; height: 12px; }
}
@media (max-width: 420px) {
    .thm-waterland-testimonial .testimonial-inner { flex-direction: column; }
    .thm-waterland-testimonial .testimonial-person { margin: .9rem 0 0 !important; text-align: center; }
    .thm-waterland-testimonial .testimonial-person p { text-align: center !important; }
    .thm-waterland-testimonial .testimonial-stars { justify-content: center; }
    .thm-waterland-testimonial .testimonial-quote { left: -12px; }
}

/* Mobile alignment: About Tangalle Hotel Management */
@media (max-width: 767.98px) {
    .about-home-v2 .col-lg-7 {
        text-align: center;
    }

    .about-home-v2 .section-eyebrow {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .about-home-v2 .section-title,
    .about-home-v2 .section-lead,
    .about-home-v2 .col-lg-7 > p {
        text-align: center;
    }

    .about-home-v2 .about-pillar {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: .45rem;
        text-align: center;
    }

    .about-home-v2 .about-pillar > span,
    .about-home-v2 .about-pillar > div,
    .about-home-v2 .about-pillar strong,
    .about-home-v2 .about-pillar small {
        width: 100%;
        text-align: center;
    }

    .about-home-v2 .btn-outline-thm {
        display: inline-flex;
        margin-right: auto;
        margin-left: auto;
    }
}


/* Mobile slide-in navigation drawer */
.mobile-drawer-head,
.mobile-menu-overlay { display: none; }

@media (max-width: 991.98px) {
    body.mobile-menu-open { overflow: hidden; touch-action: none; }

    .navbar-toggler {
        position: relative;
        z-index: 1110;
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        padding: 0;
        border-radius: 13px;
        color: var(--premium-ink);
        background: #eef7f8;
        transition: opacity .25s ease, transform .25s ease, background .25s ease;
    }
    .navbar-toggler:hover { background: #dff2f3; }
    body.mobile-menu-open .navbar-toggler { opacity: 0; pointer-events: none; transform: scale(.86); }

    #navbarCollapse.navbar-collapse {
        position: fixed;
        z-index: 1105;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(86vw, 370px);
        height: 100vh;
        height: 100dvh;
        display: flex !important;
        flex-direction: column;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        color: var(--premium-ink);
        background: #f8fbfc;
        border-left: 1px solid rgba(9,63,91,.1);
        box-shadow: -24px 0 70px rgba(3,30,48,.22);
        opacity: 0;
        visibility: hidden;
        transform: translate3d(105%,0,0);
        transition: transform .38s cubic-bezier(.22,.72,.24,1), opacity .25s ease, visibility .38s;
        will-change: transform;
    }
    #navbarCollapse.navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0,0,0);
    }

    .mobile-drawer-head {
        position: sticky;
        z-index: 2;
        top: 0;
        min-height: 92px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 1.15rem;
        background: rgba(255,255,255,.94);
        border-bottom: 1px solid var(--premium-line);
        backdrop-filter: blur(16px);
    }
    .mobile-drawer-brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }
    .mobile-drawer-brand img {
        display: block;
        width: 142px;
        max-width: 100%;
        height: 58px;
        object-fit: contain;
        object-position: left center;
        border-radius: 8px;
    }
    .mobile-drawer-close {
        flex: 0 0 auto;
        width: 43px;
        height: 43px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(9,63,91,.12);
        border-radius: 50%;
        color: var(--premium-ink);
        background: #eef7f8;
        font-size: 1rem;
        transition: transform .25s ease, color .25s ease, background .25s ease;
    }
    .mobile-drawer-close:hover {
        color: #fff;
        background: var(--premium-blue);
        transform: rotate(90deg);
    }

    #navbarCollapse .navbar-nav {
        width: 100%;
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
        align-items: stretch !important;
        gap: .38rem;
        margin: 0 !important;
        padding: 1.35rem 1.15rem 2rem;
    }
    #navbarCollapse .navbar-nav::before {
        content: 'NAVIGATION';
        display: block;
        margin: .2rem .55rem .55rem;
        color: #6e8795;
        font-size: .64rem;
        font-weight: 800;
        letter-spacing: .18em;
    }
    #navbarCollapse .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        min-height: 54px;
        padding: .9rem 1rem;
        border-radius: 14px;
        color: #18384d;
        background: transparent;
        font-size: .82rem;
        letter-spacing: .1em;
        transition: color .22s ease, background .22s ease, transform .22s ease;
    }
    #navbarCollapse .navbar-nav .nav-link::after { display: none; }
    #navbarCollapse .navbar-nav .nav-link:hover {
        color: var(--premium-blue);
        background: #e9f5f6;
        transform: translateX(4px);
    }
    #navbarCollapse .navbar-nav .nav-link.active {
        color: #fff;
        background: var(--premium-blue);
        box-shadow: 0 12px 28px rgba(11,111,146,.18);
    }
    #navbarCollapse .navbar-nav .nav-link.active:hover {
        color: #fff;
        transform: translateX(0);
    }
    #navbarCollapse .navbar-nav .btn-thm,
    #navbarCollapse .navbar-nav .nav-cta {
        width: 100%;
        min-height: 54px;
        margin: 1rem 0 0 !important;
        border-radius: 15px;
    }

    .mobile-menu-overlay {
        position: fixed;
        z-index: 1100;
        inset: 0;
        display: block;
        background: rgba(2,22,35,.58);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .3s ease, visibility .3s ease;
    }
    .mobile-menu-overlay.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 420px) {
    #navbarCollapse.navbar-collapse { width: min(90vw, 350px); }
    .mobile-drawer-brand img { width: 132px; height: 54px; }
}

/* Full-width location bar and Google Map */
.location-map-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #041827;
    border-top: 1px solid rgba(9,63,91,.1);
}
.location-info-bar {
    position: relative;
    z-index: 2;
    color: #fff;
    background: #075c74;
}
.location-info-grid {
    min-height: 190px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, .95fr);
    align-items: center;
    gap: 3rem;
    padding: 2.6rem 0;
}
.location-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .75rem;
    color: #92ece4;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.location-heading h2 {
    margin: 0 0 .55rem;
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3.35rem);
    letter-spacing: -.045em;
}
.location-heading p {
    max-width: 620px;
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.75;
}
.location-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 1rem;
}
.location-detail-item {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .95rem 1rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
}
.location-detail-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #083d52;
    background: #8fe5dc;
}
.location-detail-item strong,
.location-detail-item small {
    display: block;
}
.location-detail-item strong {
    color: #fff;
    font-size: .82rem;
}
.location-detail-item small {
    margin-top: .18rem;
    color: rgba(255,255,255,.58);
    font-size: .68rem;
    line-height: 1.45;
}
.location-directions-btn {
    grid-column: 1 / -1;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .85rem 1.25rem;
    border-radius: 999px;
    color: #07566e;
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 14px 36px rgba(2,25,39,.18);
    transition: transform .25s ease, background .25s ease, color .25s ease;
}
.location-directions-btn:hover {
    color: #041827;
    background: #e9fffb;
    transform: translateY(-2px);
}
.location-map-frame {
    position: relative;
    width: 100%;
    height: 390px;
    background: #dce9ed;
}
.location-map-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 18px 35px rgba(3,31,48,.12);
}
.location-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.82) contrast(1.03);
}

@media (max-width: 991.98px) {
    .location-info-grid {
        grid-template-columns: 1fr;
        gap: 1.7rem;
        padding: 2.2rem 0;
    }
    .location-details { max-width: 760px; }
    .location-map-frame { height: 350px; }
}

@media (max-width: 767.98px) {
    .location-info-grid {
        gap: 1.45rem;
        padding: 2.2rem 0;
        text-align: center;
    }
    .location-heading p { margin-right: auto; margin-left: auto; }
    .location-kicker { justify-content: center; }
    .location-details {
        width: 100%;
        grid-template-columns: 1fr;
    }
    .location-detail-item {
        justify-content: center;
        text-align: left;
    }
    .location-directions-btn { width: 100%; }
    .location-map-frame { height: 320px; }
}

@media (max-width: 420px) {
    .location-heading h2 { font-size: 2rem; }
    .location-map-frame { height: 285px; }
}



/* Certificate registry and QR-ready verification pages */
.certificate-page-hero,.certificate-detail-hero { background: #06283f; }
.certificate-hero-kicker { display:inline-flex;align-items:center;gap:.55rem;margin-bottom:1rem;color:#9cf0e7;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase; }
.certificate-verify-section { padding-bottom:0; }
.certificate-verify-panel { position:relative;overflow:hidden;padding:2.2rem;border:1px solid var(--premium-line);border-radius:28px;background:#fff;box-shadow:0 22px 60px rgba(7,46,68,.075); }
.certificate-verify-panel::after { content:'';position:absolute;right:-110px;top:-110px;width:260px;height:260px;border-radius:50%;background:rgba(82,213,198,.09);pointer-events:none; }
.certificate-search-form { position:relative;z-index:1; }
.certificate-search-form .form-label { color:var(--premium-ink);font-weight:800;font-size:.82rem; }
.certificate-search-row { display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;padding:.55rem;border:1px solid #cfe1e6;border-radius:18px;background:#f7fbfc;transition:.25s ease; }
.certificate-search-row:focus-within { border-color:var(--premium-cyan);box-shadow:0 0 0 4px rgba(82,213,198,.13);background:#fff; }
.certificate-search-icon { width:45px;height:45px;display:grid;place-items:center;border-radius:13px;color:var(--premium-blue);background:#e7f5f6; }
.certificate-search-row input { min-width:0;height:46px;border:0;outline:0;background:transparent;color:var(--premium-ink);font-weight:700; }
.certificate-search-row input::placeholder { color:#8ba0ac;font-weight:500; }
.certificate-search-row .btn-thm { border:0;white-space:nowrap; }
.certificate-search-message { min-height:1.25rem;margin:.65rem 0 0;font-size:.78rem;font-weight:700; }
.certificate-search-message.is-error { color:#b42318; }
.certificate-search-message.is-success { color:#067647; }
.certificate-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem; }
.certificate-card { position:relative;overflow:hidden;min-width:0;border:1px solid var(--premium-line);border-radius:24px;background:#fff;box-shadow:0 14px 45px rgba(7,46,68,.055);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease; }
.certificate-card-published:hover { transform:translateY(-7px);border-color:rgba(11,111,146,.3);box-shadow:0 24px 60px rgba(7,46,68,.12); }
.certificate-card-image { position:relative;display:block;overflow:hidden;aspect-ratio:3/4;background:#eaf3f5; }
.certificate-card-image img { width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .45s ease; }
.certificate-card-published:hover .certificate-card-image img { transform:scale(1.035); }
.certificate-status { position:absolute;left:.85rem;top:.85rem;display:inline-flex;align-items:center;gap:.38rem;padding:.52rem .7rem;border-radius:999px;font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;box-shadow:0 8px 22px rgba(4,24,39,.15); }
.certificate-status-verified { color:#fff;background:#078b72; }
.certificate-card-body { padding:1.25rem; }
.certificate-slot { display:block;margin-bottom:.65rem;color:var(--premium-cyan);font-size:.66rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase; }
.certificate-card h3 { margin:0 0 .55rem;color:var(--premium-ink);font-size:1rem;line-height:1.45; }
.certificate-card p { margin:0;color:#708492;font-size:.78rem;line-height:1.65; }
.certificate-card-meta { display:flex;flex-direction:column;gap:.45rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5eef1;color:#587180;font-size:.7rem;font-weight:700; }
.certificate-card-meta span { display:flex;align-items:center;gap:.48rem; }
.certificate-card-meta i { width:15px;color:var(--premium-blue); }
.certificate-card-link { display:flex;align-items:center;justify-content:space-between;margin-top:1rem;color:var(--premium-blue);font-size:.76rem;font-weight:800; }
.certificate-placeholder-visual { position:relative;display:grid;place-items:center;aspect-ratio:3/4;color:#8aa0ab;background:#eef4f6; }
.certificate-placeholder-visual::before,.certificate-placeholder-visual::after { content:'';position:absolute;border:1px solid rgba(11,111,146,.1);border-radius:50%; }
.certificate-placeholder-visual::before { width:180px;height:180px;right:-85px;top:-85px; }
.certificate-placeholder-visual::after { width:125px;height:125px;left:-65px;bottom:-55px; }
.certificate-placeholder-visual i { font-size:3.2rem;color:rgba(11,111,146,.18); }
.certificate-placeholder-visual span { position:absolute;right:1rem;bottom:.65rem;color:rgba(11,111,146,.18);font-family:'Playfair Display',serif;font-size:3.1rem;font-weight:800; }
.certificate-card-reserved { border-style:dashed;box-shadow:none; }
.certificate-flow-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1rem; }
.certificate-flow-card { position:relative;padding:1.5rem;border:1px solid var(--premium-line);border-radius:22px;background:#fff;box-shadow:0 14px 40px rgba(7,46,68,.05); }
.certificate-flow-card > span { position:absolute;right:1rem;top:.75rem;color:rgba(11,111,146,.12);font-family:'Playfair Display',serif;font-size:2.2rem;font-weight:800; }
.certificate-flow-card > i { width:48px;height:48px;display:grid;place-items:center;margin-bottom:1.1rem;border-radius:14px;color:#fff;background:var(--premium-blue); }
.certificate-flow-card h3 { margin:0 0 .45rem;color:var(--premium-ink);font-size:1rem; }
.certificate-flow-card p { margin:0;color:#708492;font-size:.76rem;line-height:1.6; }
.certificate-detail-section { background:#f3f8fa; }
.certificate-loading-card,.certificate-not-found { min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem;border:1px solid var(--premium-line);border-radius:28px;background:#fff;box-shadow:0 18px 55px rgba(7,46,68,.06); }
.certificate-loading-card p { margin:1rem 0 0; }
.certificate-not-found-icon { width:72px;height:72px;display:grid;place-items:center;margin-bottom:1.2rem;border-radius:50%;color:var(--premium-blue);background:#e8f5f6;font-size:1.4rem; }
.certificate-not-found h2 { color:var(--premium-ink); }
.certificate-not-found p { max-width:620px;margin:0 auto 1.5rem; }
.certificate-verified-banner { display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1.5rem;padding:1rem 1.2rem;border-radius:18px;color:#fff;background:#087f72;box-shadow:0 14px 34px rgba(6,111,101,.2); }
.certificate-verified-banner > div:first-child { display:flex;align-items:center;gap:1rem; }
.certificate-verified-banner span { display:inline-flex;align-items:center;gap:.45rem;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em; }
.certificate-verified-banner strong { font-size:.95rem; }
.certificate-verified-date { text-align:right; }
.certificate-verified-date small,.certificate-verified-date strong { display:block; }
.certificate-verified-date small { color:rgba(255,255,255,.7);font-size:.65rem;text-transform:uppercase;letter-spacing:.08em; }
.certificate-document-card { overflow:hidden;padding:1rem;border:1px solid #d7e5e9;border-radius:26px;background:#fff;box-shadow:0 20px 60px rgba(7,46,68,.09); }
.certificate-document-card img { display:block;width:100%;height:auto;border-radius:15px; }
.certificate-record-card { position:sticky;top:120px;padding:1.7rem;border:1px solid var(--premium-line);border-radius:26px;background:#fff;box-shadow:0 18px 55px rgba(7,46,68,.07); }
.certificate-record-kicker { display:block;margin-bottom:.65rem;color:var(--premium-cyan);font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase; }
.certificate-record-card h2 { margin:0 0 1.3rem;color:var(--premium-ink);font-size:1.35rem;line-height:1.4; }
.certificate-record-card dl { margin:0; }
.certificate-record-card dl > div { padding:.85rem 0;border-top:1px solid #e5eef1; }
.certificate-record-card dt { margin-bottom:.25rem;color:#78909d;font-size:.66rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase; }
.certificate-record-card dd { margin:0;color:var(--premium-ink);font-size:.82rem;font-weight:700;line-height:1.5; }
.certificate-record-status { color:#078b72!important; }
.certificate-record-actions { display:grid;gap:.7rem;margin-top:1.1rem; }
.certificate-copy-link { width:100%;display:flex;align-items:center;justify-content:center;gap:.65rem;padding:.9rem 1rem;border:0;border-radius:14px;color:#fff;background:var(--premium-blue);font-weight:800;transition:.25s ease; }
.certificate-copy-link:hover { background:#075a78;transform:translateY(-2px); }
.certificate-pdf-link { width:100%;display:flex;align-items:center;justify-content:center;gap:.65rem;padding:.9rem 1rem;border:1px solid #cfe1e6;border-radius:14px;color:var(--premium-blue);background:#f7fbfc;font-weight:800;transition:.25s ease; }
.certificate-pdf-link:hover { color:#fff;background:#075a78;border-color:#075a78;transform:translateY(-2px); }
.certificate-qr-note { display:flex;align-items:flex-start;gap:.55rem;margin:1rem 0 0!important;color:#718793!important;font-size:.7rem!important;line-height:1.55!important; }
.certificate-qr-note i { margin-top:.13rem;color:var(--premium-cyan);font-size:1rem; }
.certificate-curriculum-details { margin-top:1.2rem;border:1px solid var(--premium-line);border-radius:20px;background:#fff;overflow:hidden; }
.certificate-curriculum-details summary { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;color:var(--premium-ink);font-weight:800;cursor:pointer;list-style:none; }
.certificate-curriculum-details summary::-webkit-details-marker { display:none; }
.certificate-curriculum-details summary span { display:flex;align-items:center;gap:.65rem; }
.certificate-curriculum-details summary span i { color:var(--premium-blue); }
.certificate-curriculum-details[open] summary > i { transform:rotate(180deg); }
.certificate-curriculum-details summary > i { transition:.25s ease; }
.certificate-curriculum-details > div { padding:0 1rem 1rem; }
.certificate-curriculum-details img { width:100%;height:auto;border-radius:14px; }

@media (max-width:1199.98px) { .certificate-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:991.98px) {
    .certificate-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .certificate-flow-grid { grid-template-columns:1fr; }
    .certificate-record-card { position:static; }
}
@media (max-width:767.98px) {
    .certificate-page-hero,.certificate-detail-hero { text-align:center; }
    .certificate-hero-kicker { justify-content:center; }
    .certificate-verify-panel { padding:1.4rem;border-radius:22px;text-align:center; }
    .certificate-verify-panel .section-eyebrow { justify-content:center; }
    .certificate-search-form { text-align:left; }
    .certificate-search-row { grid-template-columns:auto 1fr; }
    .certificate-search-row .btn-thm { grid-column:1/-1;width:100%; }
    .certificate-grid { grid-template-columns:1fr;max-width:420px;margin:0 auto; }
    .certificate-flow-section { text-align:center; }
    .certificate-flow-section .section-eyebrow { justify-content:center; }
    .certificate-flow-card > i { margin-right:auto;margin-left:auto; }
    .certificate-verified-banner { align-items:flex-start;flex-direction:column; }
    .certificate-verified-banner > div:first-child { align-items:flex-start;flex-direction:column;gap:.4rem; }
    .certificate-verified-date { text-align:left; }
    .certificate-document-card { padding:.55rem;border-radius:18px; }
    .certificate-record-card { padding:1.35rem;border-radius:22px;text-align:center; }
    .certificate-record-card dl > div { text-align:center; }
    .certificate-qr-note { justify-content:center;text-align:left; }
}


/* Mobile stability: prevent accidental horizontal page movement. */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
body, main, header, footer, section, .container, .container-fluid {
    min-width: 0;
}
img, svg, video, canvas, iframe {
    max-width: 100%;
}
.certificate-detail-page,
.certificate-detail-shell,
.certificate-detail-section,
.certificate-verified-banner,
.certificate-document-card,
.certificate-record-card,
.certificate-curriculum-details,
.certificate-search-row {
    min-width: 0;
    max-width: 100%;
}
.certificate-record-card dd,
.certificate-verified-banner strong,
.certificate-search-row input {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.certificate-search-row { width: 100%; }
.certificate-search-row input { width: 100%; }

@media (max-width: 991.98px) {
    #navbarCollapse.navbar-collapse {
        width: min(86vw, 370px);
        max-width: calc(100vw - 18px);
        contain: layout paint;
    }
}
@media (max-width: 767.98px) {
    .certificate-detail-section .container,
    .certificate-verify-section .container,
    .certificate-flow-section .container {
        width: 100%;
        max-width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
    .certificate-detail-section .row {
        --bs-gutter-x: 1rem;
        margin-right: 0;
        margin-left: 0;
    }
    .certificate-detail-section .row > * {
        padding-right: 0;
        padding-left: 0;
    }
    .certificate-verified-banner { width: 100%; }
    .certificate-image-viewer { padding-right: 10px; padding-left: 10px; }
    .certificate-image-viewer-stage { width: 100%; height: calc(100dvh - 30px); }
}


/* Final mobile layout hardening: full-width carousel and reliable slide-in menu. */
@media (max-width: 767.98px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip !important;
    }
    .hospitality-services-section,
    .hospitality-services-section .container-fluid,
    .hospitality-services-section .row,
    .services-carousel-content,
    .service-carousel,
    .service-carousel .owl-stage-outer,
    .service-carousel .owl-stage,
    .service-carousel .owl-item,
    .service-carousel .owl-item > article {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .hospitality-services-section .container-fluid {
        width: 100% !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
        overflow: hidden !important;
    }
    .hospitality-services-section .row {
        --bs-gutter-x: 0;
        width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    .hospitality-services-section .row > * {
        min-width: 0;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .services-carousel-content,
    .service-carousel {
        width: 100% !important;
        overflow: hidden !important;
    }
    .service-carousel .owl-stage-outer {
        width: 100% !important;
        padding: 10px 0 16px !important;
        overflow: hidden !important;
    }
    .service-carousel .owl-stage {
        display: flex !important;
    }
    .service-carousel .owl-item {
        display: flex !important;
        justify-content: stretch;
    }
    .service-carousel .owl-item > article,
    .plumberz-service-card {
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }
    .plumberz-service-card {
        min-height: 0 !important;
        padding: 1.35rem !important;
        border-radius: 18px;
    }
    .plumberz-service-card h3 {
        font-size: 1.3rem;
    }
    .services-carousel-heading {
        padding-right: 4px;
        padding-left: 4px;
    }
}

@media (max-width: 991.98px) {
    #navbarCollapse.navbar-collapse {
        position: fixed !important;
        z-index: 2105 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(88vw, 360px) !important;
        max-width: calc(100vw - 20px) !important;
        height: 100dvh !important;
        display: flex !important;
        margin: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translate3d(110%, 0, 0) !important;
        transition: transform .38s cubic-bezier(.22,.72,.24,1), opacity .25s ease, visibility .38s !important;
        contain: none !important;
    }
    #navbarCollapse.navbar-collapse.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate3d(0, 0, 0) !important;
    }
    .mobile-menu-overlay {
        z-index: 2100 !important;
    }
    .mobile-drawer-close span {
        display: block;
        font-size: 1.65rem;
        line-height: 1;
        transform: translateY(-1px);
    }
}


/* Sticky navigation for desktop and mobile */
:root { --thm-sticky-header-height: 118px; }
html { scroll-padding-top: calc(var(--thm-sticky-header-height) + 18px); }
body { padding-top: var(--thm-sticky-header-height); }
.sticky-header-shell {
    position: fixed;
    z-index: 2050;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.sticky-header-shell .top-strip,
.sticky-header-shell .site-nav { width: 100%; }
.sticky-header-shell .site-nav {
    position: relative !important;
    top: auto !important;
    transition: box-shadow .28s ease, background-color .28s ease, border-color .28s ease;
}
.sticky-header-shell.is-scrolled .site-nav {
    background: rgba(255,255,255,.985);
    border-bottom-color: rgba(7,63,91,.16);
    box-shadow: 0 14px 34px rgba(4,31,48,.14);
}
@media (max-width: 991.98px) {
    :root { --thm-sticky-header-height: 70px; }
    .sticky-header-shell .top-strip { display: none !important; }
    .sticky-header-shell .navbar { min-height: 70px; }
}


/* Mobile drawer stacking and services carousel final repair */
@media (max-width: 991.98px) {
    body.mobile-menu-open .sticky-header-shell {
        z-index: 4000 !important;
        transform: none !important;
    }
    body.mobile-menu-open #navbarCollapse.navbar-collapse {
        z-index: 4020 !important;
        isolation: isolate;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .mobile-menu-overlay {
        z-index: 3900 !important;
    }
    #navbarCollapse.navbar-collapse {
        background: #ffffff !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}

@media (max-width: 767.98px) {
    .hospitality-services-section {
        width: 100%;
        max-width: 100%;
        padding: 3.75rem 0;
        overflow: hidden;
    }
    .hospitality-services-section .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 14px !important;
        padding-left: 14px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }
    .hospitality-services-section .row,
    .hospitality-services-section .col-12,
    .services-carousel-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .services-carousel-heading {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 1.55rem;
        padding: 0 6px;
        text-align: center !important;
    }
    .services-carousel-heading .section-eyebrow {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .services-carousel-heading .section-title,
    .services-carousel-heading .section-copy {
        width: 100%;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
    .service-carousel {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    .service-carousel .owl-stage-outer {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 0 16px !important;
        overflow: hidden !important;
    }
    .service-carousel .owl-stage {
        width: auto;
        max-width: none !important;
        min-width: 0 !important;
        display: flex !important;
    }
    .service-carousel .owl-item {
        max-width: none !important;
        min-width: 0 !important;
        display: flex !important;
        padding: 0 1px;
        box-sizing: border-box;
    }
    .service-carousel .owl-item > article,
    .service-carousel .plumberz-service-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .service-carousel .plumberz-service-card {
        padding: 1.3rem !important;
        border-radius: 18px;
        overflow: hidden;
    }
    .service-carousel .plumberz-service-card h3,
    .service-carousel .plumberz-service-card p,
    .service-carousel .plumberz-service-card li,
    .service-carousel .plumberz-service-link {
        overflow-wrap: anywhere;
    }
    .service-carousel .owl-dots {
        width: 100%;
        margin-top: 18px;
        justify-content: center;
    }
}

@media (max-width: 390px) {
    .hospitality-services-section .container-fluid {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
    .service-carousel .plumberz-service-card {
        padding: 1.18rem !important;
    }
    .services-carousel-heading .section-title {
        font-size: clamp(1.9rem, 9vw, 2.45rem);
    }
}


/* Dedicated services page */
.services-page-hero { background: #06283f; }
.services-page-hero .hero-eyebrow { display: inline-block; margin-bottom: 1rem; color: #9cefe7; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.services-page-hero h1 { max-width: 900px; }
.services-page-hero p { max-width: 820px; }
.services-page-image-wrap { position: relative; overflow: hidden; min-height: 560px; border-radius: 30px; background: #08283c; box-shadow: var(--premium-shadow); }
.services-page-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.services-page-image-wrap::after { content: ''; position: absolute; inset: 0; background: rgba(3,24,39,.34); }
.services-page-experience { position: absolute; z-index: 2; right: 24px; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; border: 1px solid rgba(255,255,255,.17); border-radius: 20px; color: #fff; background: rgba(3,24,39,.58); backdrop-filter: blur(12px); }
.services-page-experience strong { color: #91e8df; font-size: 2rem; }
.services-page-experience span { max-width: 210px; font-size: .82rem; font-weight: 700; line-height: 1.45; }
.services-page-lead { font-size: 1.02rem; line-height: 1.85; }
.services-page-pill-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; margin-top: 1.5rem; }
.services-page-pill-grid span { display: flex; align-items: center; gap: .65rem; padding: .8rem .95rem; border: 1px solid var(--premium-line); border-radius: 14px; color: var(--premium-ink); background: #f6fbfc; font-weight: 700; }
.services-page-pill-grid i { color: #0da58f; }
.services-page-heading { max-width: 790px; }
.services-page-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 1.7rem; border: 1px solid var(--premium-line); border-radius: 24px; background: #fff; box-shadow: 0 15px 50px rgba(7,46,68,.055); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.services-page-card::after { content: ''; position: absolute; right: -80px; bottom: -90px; width: 180px; height: 180px; border-radius: 50%; background: rgba(82,213,198,.10); }
.services-page-card:hover { transform: translateY(-7px); border-color: rgba(11,111,146,.28); box-shadow: var(--premium-shadow); }
.services-page-card .card-icon { margin-bottom: 1.15rem; }
.services-page-card small { color: var(--premium-blue); font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.services-page-card h3 { margin: .75rem 0 .65rem; color: var(--premium-ink); font-size: 1.28rem; }
.services-page-card p { color: #667d8c; font-size: .88rem; line-height: 1.72; }
.services-page-list { position: relative; z-index: 1; display: grid; gap: .55rem; margin: auto 0 0; padding: 1rem 0 0; border-top: 1px solid var(--premium-line); list-style: none; }
.services-page-list li { position: relative; padding-left: 1.35rem; color: #315567; font-size: .8rem; font-weight: 700; }
.services-page-list li::before { content: '✓'; position: absolute; left: 0; color: #10a891; font-weight: 900; }
.services-page-integrated-card { position: relative; overflow: hidden; padding: 3.4rem; border-radius: 30px; color: rgba(255,255,255,.72); background: #075c74; box-shadow: var(--premium-shadow); }
.services-page-integrated-card::after { content: ''; position: absolute; width: 380px; height: 380px; right: -150px; top: -190px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.services-page-dark-kicker { display: inline-block; margin-bottom: .9rem; color: #91e8df; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.services-page-integrated-card h2 { max-width: 690px; color: #fff; font-size: clamp(2rem, 3.5vw, 3.4rem); }
.services-page-integrated-card p { max-width: 720px; margin-bottom: 0; line-height: 1.8; }
.services-page-outcomes { display: grid; gap: .9rem; }
.services-page-outcomes > div { display: flex; align-items: center; gap: .9rem; padding: 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.075); backdrop-filter: blur(8px); }
.services-page-outcomes i { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: #06283f; background: #91e8df; }
.services-page-outcomes strong,.services-page-outcomes small { display: block; }
.services-page-outcomes strong { color: #fff; font-size: .88rem; }
.services-page-outcomes small { margin-top: .2rem; color: rgba(255,255,255,.58); font-size: .72rem; }

@media (max-width: 991.98px) {
    .services-page-image-wrap { min-height: 520px; }
    .services-page-intro { text-align: center; }
    .services-page-intro .section-eyebrow { justify-content: center; }
    .services-page-pill-grid { max-width: 600px; margin-right: auto; margin-left: auto; text-align: left; }
    .services-page-integrated-card { padding: 2.4rem; text-align: center; }
    .services-page-integrated-card h2,.services-page-integrated-card p { margin-right: auto; margin-left: auto; }
    .services-page-outcomes { max-width: 600px; margin: 0 auto; text-align: left; }
}
@media (max-width: 767.98px) {
    .services-page-hero { text-align: center; }
    .services-page-hero .breadcrumb-thm { justify-content: center; }
    .services-page-image-wrap { min-height: 460px; border-radius: 24px; }
    .services-page-image-wrap img { object-position: center 18%; }
    .services-page-experience { right: 15px; bottom: 15px; left: 15px; justify-content: center; text-align: left; }
    .services-page-pill-grid { grid-template-columns: 1fr; }
    .services-page-heading,.services-page-process { text-align: center; }
    .services-page-heading .section-eyebrow,.services-page-process .section-eyebrow { justify-content: center; }
    .services-page-card { padding: 1.4rem; border-radius: 20px; text-align: center; }
    .services-page-card .card-icon { margin-right: auto; margin-left: auto; }
    .services-page-list { text-align: left; }
    .services-page-integrated-card { padding: 2rem 1.3rem; border-radius: 24px; }
}


/* Humanized commercial outcomes — editorial list instead of glass cards */
.outcome-section-editorial {
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,.72);
    background: #05283b;
}
.outcome-section-editorial::before { display: none; }
.outcome-section-editorial::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24%;
    background: #0b6f75;
    opacity: .22;
    pointer-events: none;
}
.outcome-editorial-shell {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,.16);
    border-bottom: 1px solid rgba(255,255,255,.16);
}
.outcome-editorial-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.75rem 4.5rem 3.75rem 0;
}
.outcome-editorial-intro > p {
    max-width: 540px;
    margin-bottom: .35rem;
    color: rgba(255,255,255,.68);
    font-size: 1rem;
    line-height: 1.8;
}
.outcome-editorial-intro .btn-thm { align-self: flex-start; }
.outcome-editorial-list {
    border-left: 1px solid rgba(255,255,255,.16);
}
.outcome-editorial-item {
    display: grid;
    grid-template-columns: 74px minmax(0,1fr);
    gap: 1.5rem;
    align-items: center;
    min-height: 132px;
    padding: 1.75rem 2.2rem;
    border-bottom: 1px solid rgba(255,255,255,.14);
    transition: background-color .25s ease;
}
.outcome-editorial-item:last-child { border-bottom: 0; }
.outcome-editorial-item:hover { background: rgba(255,255,255,.035); }
.outcome-editorial-number {
    color: #83e3d9;
    font-family: 'Manrope', sans-serif;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
}
.outcome-editorial-item h3 {
    margin: 0 0 .45rem;
    color: #fff;
    font-size: 1.22rem;
    letter-spacing: -.02em;
}
.outcome-editorial-item p {
    max-width: 520px;
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: .9rem;
    line-height: 1.65;
}
@media (max-width: 991.98px) {
    .outcome-editorial-intro {
        padding: 3rem 1.5rem;
        text-align: center;
    }
    .outcome-editorial-intro > p { margin-right: auto; margin-left: auto; }
    .outcome-editorial-intro .btn-thm { align-self: center; }
    .outcome-editorial-list { border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
}
@media (max-width: 767.98px) {
    .outcome-section-editorial { padding: 4rem 0; }
    .outcome-section-editorial::after { width: 42%; opacity: .14; }
    .outcome-editorial-shell { margin: 0 2px; }
    .outcome-editorial-intro { padding: 2.6rem 1rem; }
    .outcome-editorial-item {
        grid-template-columns: 44px minmax(0,1fr);
        gap: .85rem;
        min-height: 0;
        padding: 1.45rem .85rem;
        text-align: left;
    }
    .outcome-editorial-item h3 { font-size: 1.08rem; }
    .outcome-editorial-item p { font-size: .84rem; }
}


/* Mobile services card-to-section blend */
@media (max-width: 767.98px) {
    .hospitality-services-section {
        background: #f3f8fa;
    }
    .service-carousel .owl-stage-outer {
        background: transparent !important;
        box-shadow: none !important;
        padding-bottom: 8px !important;
    }
    .service-carousel .owl-stage,
    .service-carousel .owl-item {
        background: transparent !important;
    }
    .service-carousel .plumberz-service-card {
        border-color: rgba(11, 111, 146, .09) !important;
        box-shadow: 0 10px 24px rgba(7, 46, 68, .045) !important;
    }
    .service-carousel .owl-item.center .plumberz-service-card,
    .service-carousel .plumberz-service-card:hover {
        transform: none !important;
        box-shadow: 0 10px 24px rgba(7, 46, 68, .045) !important;
    }
    .service-carousel .owl-dots {
        margin-top: 10px !important;
        padding-top: 4px;
        background: transparent;
    }
}

/* Compact mobile location details */
@media (max-width: 767.98px) {
    .location-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }
    .location-detail-item {
        min-height: 92px;
        flex-direction: column;
        justify-content: center;
        gap: .55rem;
        padding: .85rem .55rem;
        text-align: center;
        border-radius: 16px;
    }
    .location-detail-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1rem;
    }
    .location-detail-item strong {
        font-size: .74rem;
        line-height: 1.25;
    }
    .location-detail-item small {
        display: none;
    }
    .location-directions-btn {
        grid-column: 1 / -1;
        margin-top: .2rem;
    }
}

/* Dynamic certificate admin/public integration */
.certificate-card-pdf-placeholder{
    width:100%;height:100%;min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;
    color:#0b7899;background:#eaf4f6;font-size:2.4rem
}
.certificate-card-pdf-placeholder small{color:#506f7f;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.certificate-pdf-embed iframe,.certificate-curriculum-pdf iframe{display:block;width:100%;min-height:760px;border:0;border-radius:16px;background:#edf5f7}
.certificate-curriculum-pdf{padding:1rem}.certificate-curriculum-pdf iframe{min-height:640px;margin-bottom:1rem}
.certificate-document-missing{min-height:500px;display:grid;place-items:center;align-content:center;gap:1rem;text-align:center;color:#758b98}
.certificate-document-missing i{font-size:3.4rem;color:#0b7899}
.certificate-public-qr{display:flex;align-items:center;gap:.75rem;margin-top:1rem;padding:.8rem;border:1px solid #d3e5e9;border-radius:14px;color:#0b5f7e;background:#f6fbfc;font-size:.75rem;font-weight:800}
.certificate-public-qr img{width:74px;height:74px;padding:4px;border-radius:10px;background:#fff}
@media(max-width:767.98px){
    .certificate-pdf-embed iframe,.certificate-curriculum-pdf iframe{min-height:68vh}
    .certificate-card-pdf-placeholder{min-height:230px}
}


/* Real contact links */
.footer-contact-link { color: inherit; text-decoration: none; overflow-wrap: anywhere; transition: color .2s ease; }
.footer-contact-link:hover { color: #6fe0d8; }


/* Direct, single-page certificate display: no nested PDF scrolling or open-PDF control. */
.certificate-pdf-embed {
    position: relative;
    aspect-ratio: 210 / 297;
    padding: .7rem;
    overflow: hidden;
    background: #fff;
}
.certificate-pdf-embed iframe {
    position: absolute;
    inset: .7rem;
    width: calc(100% - 1.4rem);
    height: calc(100% - 1.4rem);
    min-height: 0;
    border: 0;
    border-radius: 16px;
    background: #edf5f7;
    overflow: hidden;
    pointer-events: none;
}
.certificate-curriculum-pdf {
    position: relative;
    padding: 1rem;
}
.certificate-curriculum-pdf iframe {
    display: block;
    width: 100%;
    aspect-ratio: 210 / 297;
    height: auto;
    min-height: 0;
    border: 0;
    border-radius: 14px;
    background: #edf5f7;
    overflow: hidden;
}
@media (max-width: 767.98px) {
    .certificate-pdf-embed { padding: .45rem; border-radius: 18px; }
    .certificate-pdf-embed iframe {
        inset: .45rem;
        width: calc(100% - .9rem);
        height: calc(100% - .9rem);
        min-height: 0;
        border-radius: 12px;
    }
    .certificate-curriculum-pdf iframe { min-height: 0; }
}

/* Private certificate verification registry */
.certificate-registry-body,
.certificate-detail-body {
    --thm-sticky-header-height: 82px;
}
.certificate-registry-body .sticky-header-shell,
.certificate-detail-body .sticky-header-shell {
    box-shadow: 0 12px 32px rgba(6, 35, 55, .08);
}
.certificate-private-registry {
    min-height: calc(100vh - var(--thm-sticky-header-height));
    display: flex;
    align-items: center;
    padding: clamp(3.5rem, 7vw, 7rem) 0;
    background: #f3f8fa;
}
.certificate-registry-heading {
    max-width: 780px;
    margin: 0 auto 2.2rem;
    text-align: center;
}
.certificate-registry-heading .section-eyebrow {
    justify-content: center;
    margin-bottom: .8rem;
}
.certificate-registry-heading h1 {
    margin: .45rem 0 .75rem;
    color: #08233a;
    font-family: 'Manrope', 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.055em;
}
.certificate-registry-heading p {
    max-width: 670px;
    margin: 0 auto;
    color: #617989;
    font-size: 1rem;
    line-height: 1.8;
}
.certificate-official-seal {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    color: #fff;
    background: #087f72;
    box-shadow: 0 18px 42px rgba(8, 127, 139, .24), 0 0 0 10px rgba(82, 213, 198, .10);
    animation: certificateSealFloat 3.2s ease-in-out infinite;
}
.certificate-official-seal i { font-size: 1.8rem; }
@keyframes certificateSealFloat {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 18px 42px rgba(8,127,139,.24), 0 0 0 10px rgba(82,213,198,.10); }
    50% { transform: translateY(-7px) scale(1.03); box-shadow: 0 25px 52px rgba(8,127,139,.31), 0 0 0 15px rgba(82,213,198,.06); }
}
.certificate-private-registry .certificate-verify-panel {
    box-shadow: 0 28px 70px rgba(7, 43, 65, .10);
}
.certificate-privacy-note {
    width: fit-content;
    max-width: 760px;
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 1.2rem auto 0;
    padding: .8rem 1rem;
    border: 1px solid rgba(9, 120, 146, .14);
    border-radius: 999px;
    color: #496b7c;
    background: rgba(255,255,255,.72);
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
}
.certificate-privacy-note i { color: #0a9b8d; }
.certificate-detail-section {
    min-height: calc(100vh - var(--thm-sticky-header-height));
    padding-top: clamp(2.5rem, 5vw, 5rem);
    background: #f3f8fa;
}
.certificate-detail-back { margin-bottom: 1rem; }
.certificate-detail-back a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #0a6f93;
    font-size: .82rem;
    font-weight: 800;
}
.certificate-detail-back a:hover { color: #07526d; }
.certificate-pdf-embed iframe {
    overflow: hidden;
}
@media (max-width: 767.98px) {
    .certificate-private-registry { align-items: flex-start; padding: 3rem 0 4rem; }
    .certificate-registry-heading { margin-bottom: 1.4rem; padding-inline: .4rem; }
    .certificate-registry-heading h1 { font-size: clamp(2.15rem, 11vw, 3.1rem); }
    .certificate-registry-heading p { font-size: .92rem; }
    .certificate-official-seal { width: 66px; height: 66px; }
    .certificate-private-registry .certificate-verify-panel { text-align: center; }
    .certificate-private-registry .certificate-verify-panel .section-eyebrow { justify-content: center; }
    .certificate-privacy-note { border-radius: 18px; }
}

/* Mobile alignment polish for Villa and About pages */
@media (max-width: 767.98px) {
    body.villa-page .section > .container > .row > [class*="col-"] > .section-eyebrow,
    body.about-page .section > .container > .row > [class*="col-"] > .section-eyebrow,
    body.villa-page .section > .container > .text-center .section-eyebrow,
    body.about-page .section > .container > .text-center .section-eyebrow {
        justify-content: center;
        text-align: center;
    }
    body.villa-page .section > .container > .row > [class*="col-"] > .section-title,
    body.about-page .section > .container > .row > [class*="col-"] > .section-title,
    body.villa-page .section > .container > .row > [class*="col-"] > p,
    body.about-page .section > .container > .row > [class*="col-"] > p {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
    body.villa-page .service-card,
    body.about-page .value-card {
        text-align: center;
    }
    body.villa-page .service-card .card-icon,
    body.about-page .value-card .card-icon {
        margin-right: auto;
        margin-left: auto;
    }
    body.villa-page .check-grid { text-align: left; }
}

/* Mobile-safe certificate rendering with local PDF.js canvas preview. */
.certificate-direct-preview {
    padding: clamp(.45rem, 1.2vw, .8rem);
    overflow: visible;
    aspect-ratio: auto;
    background: #ffffff;
}
.certificate-pdf-canvas {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: #eef5f7;
}
.certificate-pdf-canvas canvas {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    opacity: 0;
    transition: opacity .28s ease;
    background: #fff;
}
.certificate-pdf-canvas.is-rendered canvas { opacity: 1; }
.certificate-pdf-loading,
.certificate-pdf-error {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1.25rem;
    color: #587485;
    text-align: center;
    background: #edf5f7;
    font-size: .82rem;
    font-weight: 750;
}
.certificate-pdf-loading i,
.certificate-pdf-error i {
    color: #0b88a7;
    font-size: 1.55rem;
}
.certificate-pdf-error i { color: #b66b2f; }
.certificate-pdf-loading[hidden],
.certificate-pdf-error[hidden] { display: none !important; }
.certificate-curriculum-pdf .certificate-pdf-canvas {
    min-height: 360px;
}
@media (max-width: 991.98px) {
    .certificate-detail-back,
    .certificate-verified-banner { max-width: 760px; margin-left: auto; margin-right: auto; }
    .certificate-pdf-canvas { min-height: 380px; }
    .certificate-record-card { position: static; }
}
@media (max-width: 767.98px) {
    .certificate-detail-body .certificate-detail-section,
    .certificate-detail-body #certificateDetail {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .certificate-detail-body .certificate-detail-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .certificate-detail-body .row.g-5 {
        --bs-gutter-x: 0;
        --bs-gutter-y: 1rem;
    }
    .certificate-direct-preview {
        padding: .35rem;
        border-radius: 16px;
        box-shadow: 0 10px 28px rgba(5, 42, 65, .08);
    }
    .certificate-pdf-canvas {
        width: 100%;
        min-height: 300px;
        border-radius: 12px;
    }
    .certificate-pdf-canvas canvas {
        width: 100% !important;
        height: auto !important;
    }
    .certificate-pdf-loading,
    .certificate-pdf-error {
        min-height: 300px;
        font-size: .76rem;
    }
    .certificate-verified-banner {
        display: grid;
        gap: .8rem;
        padding: 1rem;
        text-align: center;
    }
    .certificate-verified-date { text-align: center; }
    .certificate-record-card {
        margin-top: .25rem;
        text-align: center;
    }
    .certificate-record-card dl,
    .certificate-record-card dl div { text-align: left; }
    .certificate-record-actions,
    .certificate-public-qr { width: 100%; }
    .certificate-public-qr { justify-content: center; }
}
.certificate-image-preview img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 14px;
    background: #fff;
}
@media (max-width: 767.98px) {
    .certificate-image-preview img { border-radius: 11px; }
}


/* Approved certificate artwork and curriculum previews */
.certificate-image-preview img,
.certificate-curriculum-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    background: #fff;
}
.certificate-curriculum-image {
    padding: 1rem;
    background: #fff;
}
@media (max-width: 767.98px) {
    .certificate-image-preview,
    .certificate-curriculum-image {
        overflow: visible;
        padding: .5rem;
    }
    .certificate-image-preview img,
    .certificate-curriculum-image img {
        width: 100%;
        border-radius: 12px;
    }
}

/* Solid premium theme — no gradients */
:root {
    --premium-ink: #06283f;
    --premium-deep: #07364d;
    --premium-blue: #0b6f92;
    --premium-cyan: #0b8f98;
    --premium-mint: #65d8cf;
    --premium-paper: #f4f8fa;
    --premium-line: rgba(6, 40, 63, .12);
    --premium-shadow: 0 22px 55px rgba(6, 40, 63, .11);
}
body { background: #fff; }
.home-hero-v2,
.page-hero,
.services-page-hero,
.certificate-page-hero,
.certificate-detail-hero { background: #06283f !important; }
.home-hero-v2::before,
.outcome-section::before,
.cta-lines { background: none !important; }
.solutions-v2,
.faq-v2,
.certificate-detail-section,
.certificate-private-registry { background: #f3f8fa !important; }
.service-bento-featured,
.services-experience-panel,
.services-page-integrated-card,
.location-info-bar,
.property-band { background: #075c74 !important; }
.outcome-section,
.leadership-quote-card { background: #06283f !important; }
.cta-box,
.cta-box-v2 { background: #087f72 !important; }
.card-icon,
.service-bento-icon,
.scene-badge i,
.certificate-flow-card > i,
.faq-v2-item summary::after { background: #0b6f92 !important; }
.service-bento-card::after,
.services-page-card::after { background: rgba(101,216,207,.10) !important; }
.service-bento-featured::after { background: rgba(101,216,207,.12) !important; }
.hero-command-card,
.outcome-card { background: #0b3a52; backdrop-filter: none; }
.thm-waterland-testimonial::before { background: rgba(3,31,48,.84) !important; }
.thm-waterland-testimonial .testimonial-carousel .testimonial-item {
    background: rgba(255,255,255,.16);
    backdrop-filter: none;
}
#navbarCollapse.navbar-collapse { background: #f8fbfc !important; }
.certificate-official-seal,
.certificate-verified-banner { background: #087f72 !important; }

/* Minimal premium surfaces */
.service-card,.info-card,.process-card,.value-card,.contact-card,
.service-bento-card,.services-page-card,.property-type-card,
.faq-v2-item,.certificate-verify-panel,.login-card {
    border-color: rgba(6,40,63,.12);
    box-shadow: 0 14px 38px rgba(6,40,63,.07);
}
.service-bento-card:hover,.services-page-card:hover,.property-type-card:hover,
.service-card:hover,.info-card:hover,.process-card:hover,.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(6,40,63,.12);
}

/* Solid buttons with refined motion */
.btn-thm,.nav-cta,.btn-lg-thm,.btn-white-thm,
button.btn-thm,a.btn-thm {
    position: relative;
    overflow: hidden;
    background: #0b6f92 !important;
    border-color: #0b6f92 !important;
    transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.btn-thm:hover,.nav-cta:hover,.btn-lg-thm:hover,
button.btn-thm:hover,a.btn-thm:hover {
    color: #fff !important;
    background: #075c74 !important;
    border-color: #075c74 !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(7,92,116,.22);
}
.btn-thm:active,.nav-cta:active,.btn-lg-thm:active,
button.btn-thm:active,a.btn-thm:active { transform: translateY(0) scale(.98); }
.btn-thm i,.nav-cta i,.btn-lg-thm i,.btn-white-thm i { transition: transform .22s ease; }
.btn-thm:hover i,.nav-cta:hover i,.btn-lg-thm:hover i,.btn-white-thm:hover i { transform: translateX(4px); }
.btn-white-thm { color: #075c74 !important; background: #fff !important; border-color: #fff !important; }
.btn-white-thm:hover { color: #fff !important; background: #06283f !important; border-color: #06283f !important; }
.navbar .navbar-nav .nav-link { position: relative; transition: color .22s ease; }
.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: #0b6f92;
    transform: translateX(-50%);
    transition: width .22s ease;
}
.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after { width: calc(100% - 1.5rem); }

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}



/* Desktop navigation background regression fix */
@media (min-width: 992px) {
    .sticky-header-shell .site-nav,
    .sticky-header-shell .site-nav .container,
    .sticky-header-shell .navbar {
        background: #ffffff !important;
    }
    #navbarCollapse.navbar-collapse {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}


/* CTA white button fix for solid premium theme */
.cta-box .btn-white-thm,
.cta-box-v2 .btn-white-thm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: .9rem 1.6rem;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(6,40,63,.14);
}
@media (max-width: 991.98px) {
    .cta-box .text-lg-end,
    .cta-box-v2 .text-lg-end {
        text-align: left !important;
    }
    .cta-box .btn-white-thm,
    .cta-box-v2 .btn-white-thm {
        width: 100%;
    }
}


/* Requested mobile text/button centering refinements */
@media (max-width: 767.98px) {
    body.villa-page .villa-intro-copy > .section-eyebrow,
    body.villa-page .villa-owner-copy > .section-eyebrow,
    body.about-page .about-company-copy > .section-eyebrow {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    body.villa-page .villa-intro-copy > .section-title,
    body.villa-page .villa-owner-copy > .section-title,
    body.about-page .about-company-copy > .section-title,
    body.villa-page .villa-intro-copy > p,
    body.villa-page .villa-owner-copy > p,
    body.about-page .about-company-copy > p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    body.villa-page .villa-intro-copy > .btn-thm {
        display: table;
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-center-card,
    .mobile-center-card .row,
    .mobile-center-card [class*="col-"] {
        text-align: center;
    }

    .mobile-center-card .btn-white-thm {
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-center-card .text-lg-end {
        text-align: center !important;
    }
}


/* FINAL CONSISTENT DESKTOP NAVIGATION */
/* One clean underline system: the line stays directly beneath the menu text. */
@media (min-width: 992px) {
    .navbar .navbar-nav {
        align-items: center !important;
    }

    .navbar .navbar-nav .nav-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        padding: .8rem 1rem !important;
        color: #18384d;
        line-height: 1;
        text-decoration: none;
        transition: color .22s ease;
    }

    .navbar .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 7px;
        width: auto;
        height: 2px;
        border-radius: 999px;
        background: #0b789b;
        pointer-events: none;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .22s ease;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link:focus-visible,
    .navbar .navbar-nav .nav-link.active {
        color: #0b789b !important;
    }

    .navbar .navbar-nav .nav-link:hover::after,
    .navbar .navbar-nav .nav-link:focus-visible::after,
    .navbar .navbar-nav .nav-link.active::after {
        width: auto;
        transform: scaleX(1);
    }

    /* Identical Request a Review pill on every desktop page. */
    .navbar .navbar-nav > .nav-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: .58rem;
        min-width: 201px;
        min-height: 54px;
        padding: .9rem 1.4rem !important;
        margin-left: 1rem !important;
        margin-top: 0 !important;
        border: 1px solid #0b789b !important;
        border-radius: 999px !important;
        color: #ffffff !important;
        background: #0b789b !important;
        box-shadow: 0 10px 24px rgba(11,120,155,.18);
        font-size: .95rem;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1;
        white-space: nowrap;
        text-decoration: none;
        transform: none;
        transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
    }

    .navbar .navbar-nav > .nav-cta:hover,
    .navbar .navbar-nav > .nav-cta:focus-visible {
        color: #ffffff !important;
        background: #075c74 !important;
        border-color: #075c74 !important;
        box-shadow: 0 14px 28px rgba(7,92,116,.24);
        transform: translateY(-2px);
    }

    .navbar .navbar-nav > .nav-cta:active {
        transform: translateY(0) scale(.98);
    }

    .navbar .navbar-nav > .nav-cta i {
        transition: transform .22s ease;
    }

    .navbar .navbar-nav > .nav-cta:hover i,
    .navbar .navbar-nav > .nav-cta:focus-visible i {
        transform: translateX(4px);
    }
}

/* The same rounded CTA identity inside the mobile navigation. */
@media (max-width: 991.98px) {
    #navbarCollapse .navbar-nav > .nav-cta {
        width: 100%;
        min-height: 54px;
        margin: 1rem 0 0 !important;
        padding: .9rem 1.4rem !important;
        border-radius: 999px !important;
        color: #ffffff !important;
        background: #0b789b !important;
        border-color: #0b789b !important;
        box-shadow: 0 10px 24px rgba(11,120,155,.18);
    }

    #navbarCollapse .navbar-nav > .nav-cta:hover,
    #navbarCollapse .navbar-nav > .nav-cta:focus-visible {
        color: #ffffff !important;
        background: #075c74 !important;
        border-color: #075c74 !important;
    }
}


/* Authentic platform-logo mobile sizing */
@media (max-width: 575.98px) {
    .platform-ribbon-inner { padding: 16px 0; }
    .platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .platform-logo { min-height: 74px; padding: 13px 12px; border-radius: 11px; }
    .platform-logo img { height: auto; max-height: 35px; }
    .platform-booking img { width: 128px; }
    .platform-airbnb img { width: 114px; }
    .platform-agoda img { width: 126px; }
    .platform-expedia img { width: 124px; }
    .platform-google img { width: 92px; }
    .platform-direct img { width: 128px; max-height: 38px; }
}

/* Certificate portrait / landscape display support */
.certificate-layout-vertical{width:100%;max-width:760px;margin-left:auto;margin-right:auto}
.certificate-layout-horizontal{width:100%;max-width:none;margin-left:auto;margin-right:auto}
.certificate-layout-horizontal.certificate-image-preview img{aspect-ratio:auto;object-fit:contain}
.certificate-layout-vertical.certificate-image-preview img{max-height:1080px;object-fit:contain}
@media(max-width:767.98px){.certificate-layout-vertical,.certificate-layout-horizontal{max-width:100%}}


/* =========================================================
   COURSES / TRAINING ACADEMY PAGE — SOLID COLOR SYSTEM ONLY
   ========================================================= */
.courses-page { background: #ffffff; }
.courses-page .section-eyebrow { justify-content: center; }
.courses-hero {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    color: #ffffff;
    background: #06283f;
    border-bottom: 6px solid #0b789b;
}
.courses-kicker {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.3rem;
    color: #79d8e6;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.courses-hero h1 {
    max-width: 830px;
    margin: 0 0 1.3rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5.6vw, 5.3rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.055em;
}
.courses-hero-copy {
    max-width: 760px;
    margin: 0 0 2rem;
    color: #d5e6ee;
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.8;
}
.courses-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.courses-hero-actions .btn-thm { border-radius: 14px; background: #0b789b; border-color: #0b789b; }
.courses-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 50px;
    padding: .78rem 1.45rem;
    border: 1px solid #7ca2b5;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 700;
}
.courses-outline-btn:hover { color: #06283f; background: #ffffff; border-color: #ffffff; }
.courses-trust-list { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; margin-top: 2rem; }
.courses-trust-list span { display: inline-flex; align-items: center; gap: .5rem; color: #d5e6ee; font-size: .9rem; font-weight: 600; }
.courses-trust-list i { color: #35c4c4; }
.academy-overview-card {
    padding: clamp(1.6rem, 3vw, 2.4rem);
    border: 1px solid #31556a;
    border-radius: 24px;
    background: #0b3750;
    box-shadow: 0 24px 55px rgba(0,0,0,.22);
}
.academy-overview-label { display: block; margin-bottom: .8rem; color: #79d8e6; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.academy-overview-card h2 { margin-bottom: 1.4rem; color: #ffffff; font-size: clamp(1.65rem, 3vw, 2.3rem); }
.academy-stat-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.academy-stat-grid div { min-height: 116px; padding: 1rem; border: 1px solid #42647a; border-radius: 16px; background: #123f57; }
.academy-stat-grid strong { display: block; color: #ffffff; font-size: 1.8rem; line-height: 1; }
.academy-stat-grid span { display: block; margin-top: .55rem; color: #c9dde7; font-size: .78rem; line-height: 1.45; }
.academy-overview-card > p { margin: 1.25rem 0; color: #d5e6ee; }
.academy-overview-card > a { display: inline-flex; align-items: center; gap: .55rem; color: #ffffff; font-weight: 800; }
.academy-overview-card > a:hover { color: #79d8e6; }
.academy-departments-strip { background: #f2f8fa; border-bottom: 1px solid #d7e7ed; }
.academy-departments-inner { display: flex; gap: .65rem; overflow-x: auto; padding: 1rem 0; scrollbar-width: thin; }
.academy-departments-inner span { flex: 0 0 auto; padding: .58rem .9rem; border: 1px solid #c9dfe7; border-radius: 999px; color: #123f57; background: #ffffff; font-size: .76rem; font-weight: 800; }
.courses-section-heading { max-width: 820px; }
.courses-section-heading > p { max-width: 760px; margin-left: auto; margin-right: auto; }
.courses-featured-section { background: #ffffff; }
.featured-course-card {
    display: flex;
    flex-direction: column;
    padding: 1.65rem;
    border: 1px solid #d8e7ed;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(6,40,63,.07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.featured-course-card:hover { transform: translateY(-5px); border-color: #8ec7d7; box-shadow: 0 22px 46px rgba(6,40,63,.12); }
.featured-course-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.featured-course-icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 15px; color: #ffffff; background: #0b789b; font-size: 1.15rem; }
.featured-course-badge { padding: .45rem .7rem; border-radius: 999px; color: #075c74; background: #e8f6f8; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.featured-course-card > small { color: #0b789b; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.featured-course-card h3 { margin: .65rem 0 .85rem; color: #06283f; font-size: 1.35rem; }
.featured-course-card p { flex: 1; color: #536d7d; font-size: .94rem; line-height: 1.72; }
.featured-course-meta { display: flex; flex-wrap: wrap; gap: .65rem; margin: .35rem 0 1rem; }
.featured-course-meta span { display: inline-flex; align-items: center; gap: .4rem; color: #34576b; font-size: .78rem; font-weight: 700; }
.featured-course-meta i { color: #0b789b; }
.featured-course-card > a { display: inline-flex; align-items: center; gap: .5rem; color: #075c74; font-weight: 800; }
.course-catalog-section { background: #f4f8fa; }
.course-catalog-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 2rem; }
.course-catalog-heading > div:first-child { max-width: 800px; }
.course-catalog-heading .section-eyebrow { justify-content: flex-start; }
.course-result-count { flex: 0 0 auto; min-width: 128px; padding: 1rem; border-radius: 18px; color: #ffffff; background: #06283f; text-align: center; }
.course-result-count strong { display: block; font-size: 2rem; line-height: 1; }
.course-result-count span { display: block; margin-top: .4rem; color: #c8dde7; font-size: .72rem; }
.course-finder-panel { margin-bottom: 2rem; padding: 1rem; border: 1px solid #d4e5eb; border-radius: 20px; background: #ffffff; box-shadow: 0 12px 32px rgba(6,40,63,.05); }
.course-search-box { display: flex; align-items: center; gap: .8rem; padding: .2rem 1rem; border: 1px solid #bfd7e0; border-radius: 14px; background: #ffffff; }
.course-search-box i { color: #0b789b; }
.course-search-box input { width: 100%; min-height: 50px; border: 0; outline: 0; color: #06283f; background: transparent; }
.course-filter-buttons { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
.course-filter-btn { padding: .62rem .85rem; border: 1px solid #c9dfe7; border-radius: 999px; color: #234c61; background: #f7fbfc; font-size: .74rem; font-weight: 800; }
.course-filter-btn:hover,.course-filter-btn.active { color: #ffffff; background: #0b789b; border-color: #0b789b; }
.course-department { margin-top: 1.4rem; padding: 1.35rem; border: 1px solid #d4e5eb; border-radius: 24px; background: #ffffff; }
.course-department[hidden],.course-item-column[hidden] { display: none !important; }
.course-department-header { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: .5rem .5rem 1.3rem; border-bottom: 1px solid #dfecef; }
.course-department-icon { width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 17px; color: #ffffff; background: #075c74; font-size: 1.2rem; }
.course-department-header small { color: #0b789b; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.course-department-header h2 { margin: .2rem 0 .3rem; color: #06283f; font-size: clamp(1.45rem,2.5vw,2rem); }
.course-department-header p { margin: 0; color: #5b7482; font-size: .9rem; }
.course-department-count { padding: .48rem .72rem; border-radius: 999px; color: #075c74; background: #e7f5f7; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.course-department-grid { padding-top: 1.2rem; }
.course-catalog-item { display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid #dce9ee; border-radius: 17px; background: #fbfdfe; transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.course-catalog-item:hover { transform: translateY(-3px); border-color: #9ccbd7; background: #ffffff; }
.course-item-labels { display: flex; justify-content: space-between; gap: .7rem; align-items: center; margin-bottom: .9rem; }
.course-item-labels span { color: #507080; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.course-item-labels span:first-child { color: #0b789b; }
.course-catalog-item h3 { margin: 0 0 .65rem; color: #06283f; font-size: 1.05rem; line-height: 1.35; }
.course-catalog-item > p { flex: 1; margin-bottom: 1rem; color: #5d7481; font-size: .84rem; line-height: 1.65; }
.course-item-footer { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding-top: .85rem; border-top: 1px solid #e1ecef; }
.course-item-footer > span { color: #547080; font-size: .7rem; font-weight: 700; }
.course-item-footer > span i { color: #0b789b; }
.course-item-footer a { display: inline-flex; align-items: center; gap: .35rem; color: #075c74; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.course-no-results { padding: 3rem 1rem; border: 1px solid #d4e5eb; border-radius: 20px; background: #ffffff; text-align: center; }
.course-no-results i { color: #0b789b; font-size: 1.7rem; }
.course-no-results h3 { margin: .8rem 0 .35rem; }
.academy-learning-process { background: #ffffff; }
.academy-step-card { position: relative; padding: 1.55rem; border: 1px solid #d8e7ed; border-radius: 20px; background: #ffffff; box-shadow: 0 14px 34px rgba(6,40,63,.06); }
.academy-step-card > span { position: absolute; top: 1rem; right: 1rem; color: #c5dbe4; font-size: 1.1rem; font-weight: 800; }
.academy-step-card > i { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: 14px; color: #ffffff; background: #0b789b; }
.academy-step-card h3 { color: #06283f; font-size: 1.15rem; }
.academy-step-card p { margin: 0; color: #5a7380; font-size: .9rem; line-height: 1.68; }
.academy-cta-card { display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: clamp(1.6rem,4vw,3rem); border-radius: 26px; color: #ffffff; background: #087f72; box-shadow: 0 22px 48px rgba(6,40,63,.14); }
.academy-cta-card > div:first-child { max-width: 760px; }
.academy-cta-card > div:first-child > span { color: #d7fff7; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.academy-cta-card h2 { margin: .55rem 0 .8rem; color: #ffffff; font-size: clamp(1.8rem,4vw,3rem); }
.academy-cta-card p { margin: 0; color: #e3f7f3; }
.academy-cta-actions { display: flex; flex-direction: column; align-items: center; gap: .85rem; flex: 0 0 auto; }
.academy-cta-actions > a:last-child { color: #ffffff; font-size: .82rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .navbar-nav .nav-link { padding-left: .58rem !important; padding-right: .58rem !important; font-size: .68rem; }
    .navbar .navbar-nav .nav-link::after { left: .58rem; right: .58rem; }
    .navbar .navbar-nav > .nav-cta { min-width: 165px; margin-left: .4rem !important; padding-left: .9rem !important; padding-right: .9rem !important; font-size: .82rem; }
    .site-logo { max-width: 108px; }
}
@media (max-width: 991.98px) {
    .courses-hero { padding: 4rem 0; text-align: center; }
    .courses-hero h1,.courses-hero-copy { margin-left: auto; margin-right: auto; }
    .courses-kicker,.courses-hero-actions,.courses-trust-list { justify-content: center; }
    .academy-overview-card { text-align: left; }
    .course-catalog-heading { align-items: center; }
    .academy-cta-card { flex-direction: column; text-align: center; }
}
@media (max-width: 767.98px) {
    .courses-hero h1 { font-size: clamp(2.25rem,12vw,3.6rem); }
    .courses-hero-actions { flex-direction: column; }
    .courses-hero-actions a { width: 100%; }
    .courses-trust-list { flex-direction: column; align-items: center; }
    .academy-stat-grid { grid-template-columns: 1fr 1fr; }
    .course-catalog-heading { flex-direction: column; align-items: stretch; text-align: center; }
    .course-catalog-heading .section-eyebrow { justify-content: center; }
    .course-result-count { align-self: center; }
    .course-filter-buttons { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .35rem; }
    .course-filter-btn { flex: 0 0 auto; }
    .course-department { padding: 1rem; border-radius: 20px; }
    .course-department-header { grid-template-columns: auto 1fr; align-items: start; }
    .course-department-count { grid-column: 1 / -1; justify-self: start; }
    .course-item-footer { align-items: flex-end; }
}
@media (max-width: 420px) {
    .academy-stat-grid { grid-template-columns: 1fr; }
    .academy-stat-grid div { min-height: 94px; }
    .course-department-header { grid-template-columns: 1fr; text-align: center; }
    .course-department-icon,.course-department-count { justify-self: center; }
    .course-item-labels { align-items: flex-start; }
    .course-item-labels span:last-child { text-align: right; }
}


/* Courses enrolment CTA button alignment fix */
.academy-cta-actions {
    min-width: 230px;
}
.academy-cta-card .academy-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: auto;
    min-width: 218px;
    min-height: 56px;
    padding: .9rem 1.45rem;
    border: 1px solid #ffffff;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
}
.academy-cta-card .academy-cta-primary i {
    flex: 0 0 auto;
}
@media (max-width: 991.98px) {
    .academy-cta-actions {
        width: 100%;
        min-width: 0;
    }
    .academy-cta-card .academy-cta-primary {
        width: min(100%, 290px);
        margin-inline: auto;
    }
}
@media (max-width: 420px) {
    .academy-cta-card .academy-cta-primary {
        width: 100%;
        min-width: 0;
        padding-inline: 1.1rem;
    }
}


/* COURSE BLOCKS, NAV SUBMENU AND WHATSAPP ENQUIRY - FINAL */
/* Solid-color course navigation only: no gradients. */
.nav-course-dropdown { position: relative; display: flex; align-items: center; }
.nav-course-trigger-row { display: flex; align-items: center; width: 100%; }
.course-submenu-toggle {
    display: none;
    border: 0;
    color: #18384d;
    background: transparent;
}
.course-nav-submenu {
    position: absolute;
    z-index: 2200;
    top: calc(100% - 2px);
    left: 50%;
    width: min(650px, calc(100vw - 36px));
    padding: 1rem;
    border: 1px solid #cfe1e8;
    border-top: 4px solid #0b789b;
    border-radius: 0 0 20px 20px;
    color: #123f57;
    background: #ffffff;
    box-shadow: 0 24px 56px rgba(6,40,63,.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.course-nav-submenu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .2rem .25rem .85rem;
    margin-bottom: .8rem;
    border-bottom: 1px solid #dce9ee;
}
.course-nav-submenu-head small {
    display: block;
    margin-bottom: .15rem;
    color: #0b789b;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.course-nav-submenu-head strong { display: block; color: #06283f; font-size: .98rem; }
.course-nav-submenu-head > a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #075c74;
    font-size: .75rem;
    font-weight: 800;
    white-space: nowrap;
}
.course-nav-submenu-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
.course-nav-submenu-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 48px;
    padding: .7rem .8rem;
    border: 1px solid #d9e8ed;
    border-radius: 12px;
    color: #18384d;
    background: #f7fbfc;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.25;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.course-nav-submenu-link i {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: #0b789b;
    font-size: .72rem;
}
.course-nav-submenu-link:hover,
.course-nav-submenu-link:focus-visible {
    color: #ffffff;
    background: #075c74;
    border-color: #075c74;
    transform: translateY(-1px);
}
.course-nav-submenu-link:hover i,
.course-nav-submenu-link:focus-visible i { color: #075c74; background: #ffffff; }

@media (min-width: 992px) {
    .nav-course-dropdown:hover .course-nav-submenu,
    .nav-course-dropdown:focus-within .course-nav-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
}

/* Equal solid department blocks under the academy hero. */
.academy-departments-strip { padding: 1.1rem 0; background: #f2f8fa; border-bottom: 1px solid #d7e7ed; }
.academy-departments-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: .75rem;
    padding: 0;
    overflow: visible;
}
.academy-department-link {
    min-width: 0;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .7rem;
    padding: .8rem .9rem;
    border: 1px solid #c9dfe7;
    border-radius: 14px;
    color: #123f57;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(6,40,63,.045);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.25;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.academy-department-link i {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #ffffff;
    background: #0b789b;
}
.academy-department-link:hover,
.academy-department-link:focus-visible {
    color: #ffffff;
    background: #075c74;
    border-color: #075c74;
    transform: translateY(-2px);
}
.academy-department-link:hover i,
.academy-department-link:focus-visible i { color: #075c74; background: #ffffff; }

/* Catalogue filters use the same even block system instead of uneven pills. */
.course-filter-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: .65rem;
    margin-top: .9rem;
}
.course-filter-btn {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .65rem .7rem;
    border: 1px solid #c9dfe7;
    border-radius: 12px;
    color: #234c61;
    background: #f7fbfc;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}
.course-filter-btn:hover,
.course-filter-btn.active { color: #ffffff; background: #0b789b; border-color: #0b789b; }

.course-whatsapp-link { color: #087f72 !important; }
.course-whatsapp-link i { font-size: .98rem; }
.course-whatsapp-link:hover { color: #075c74 !important; }
.featured-course-card > .course-whatsapp-link {
    align-self: flex-start;
    min-height: 42px;
    padding: .62rem .8rem;
    border: 1px solid #b9ddd7;
    border-radius: 11px;
    background: #eef9f7;
}
.featured-course-card > .course-whatsapp-link:hover { color: #ffffff !important; background: #087f72; border-color: #087f72; }

@media (max-width: 1199.98px) {
    .academy-departments-inner,
    .course-filter-buttons { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 991.98px) {
    .nav-course-dropdown { width: 100%; display: block; }
    .nav-course-trigger-row { gap: .4rem; }
    #navbarCollapse .nav-course-trigger-row > .nav-link { flex: 1 1 auto; min-width: 0; }
    .course-submenu-toggle {
        flex: 0 0 54px;
        width: 54px;
        height: 54px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #d2e3e9;
        border-radius: 14px;
        color: #075c74;
        background: #edf6f8;
        transition: color .18s ease, background-color .18s ease, transform .18s ease;
    }
    .nav-course-dropdown.is-current .course-submenu-toggle,
    .nav-course-dropdown.is-open .course-submenu-toggle { color: #ffffff; background: #0b789b; border-color: #0b789b; }
    .course-submenu-toggle i { transition: transform .22s ease; }
    .nav-course-dropdown.is-open .course-submenu-toggle i { transform: rotate(180deg); }
    .course-nav-submenu {
        position: static;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0 .45rem;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transform: none;
        transition: max-height .3s ease, padding .3s ease, margin .3s ease;
    }
    .nav-course-dropdown.is-open .course-nav-submenu {
        max-height: 860px;
        margin-top: .45rem;
        padding: .7rem;
        border: 1px solid #d6e5ea;
        border-radius: 15px;
        background: #ffffff;
        pointer-events: auto;
    }
    .course-nav-submenu-head { align-items: flex-start; }
    .course-nav-submenu-head strong { font-size: .9rem; }
    .course-nav-submenu-grid { grid-template-columns: 1fr; gap: .45rem; }
    .course-nav-submenu-link { min-height: 46px; }
    .academy-departments-inner,
    .course-filter-buttons { grid-template-columns: repeat(2, minmax(0,1fr)); overflow: visible; }
    .course-filter-btn { flex: initial; }
}

@media (max-width: 575.98px) {
    .academy-departments-strip { padding: .85rem 0; }
    .academy-departments-inner { gap: .55rem; }
    .academy-department-link {
        min-height: 62px;
        padding: .65rem;
        gap: .5rem;
        font-size: .68rem;
    }
    .academy-department-link i { width: 30px; height: 30px; border-radius: 8px; font-size: .72rem; }
    .course-filter-buttons { gap: .5rem; }
    .course-filter-btn { min-height: 48px; padding: .55rem .45rem; font-size: .66rem; }
    .course-item-footer { align-items: center; }
    .course-item-footer .course-whatsapp-link { font-size: .74rem; }
}

@media (max-width: 359.98px) {
    .academy-departments-inner,
    .course-filter-buttons { grid-template-columns: 1fr; }
}

/* Balanced 11-department grid: equal-width cards with centred incomplete rows. */
@media (min-width: 1200px) {
    .academy-departments-inner {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
    .academy-department-link {
        grid-column: span 2;
    }
    .academy-department-link:nth-last-child(3) {
        grid-column: 2 / span 2;
    }
    .academy-department-link:nth-last-child(2) {
        grid-column: 4 / span 2;
    }
    .academy-department-link:last-child {
        grid-column: 6 / span 2;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .academy-departments-inner {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .academy-department-link {
        grid-column: span 2;
    }
    .academy-department-link:nth-last-child(2) {
        grid-column: 2 / span 2;
    }
    .academy-department-link:last-child {
        grid-column: 4 / span 2;
    }
}

@media (min-width: 360px) and (max-width: 991.98px) {
    .academy-departments-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .academy-department-link {
        grid-column: span 2;
    }
    .academy-department-link:last-child {
        grid-column: 2 / span 2;
    }
}

@media (max-width: 359.98px) {
    .academy-departments-inner {
        grid-template-columns: 1fr;
    }
    .academy-department-link,
    .academy-department-link:nth-last-child(3),
    .academy-department-link:nth-last-child(2),
    .academy-department-link:last-child {
        grid-column: auto;
    }
}


/* Mobile academy kicker alignment fix */
.courses-kicker > i {
    flex: 0 0 auto;
}
.courses-kicker > span {
    min-width: 0;
}
@media (max-width: 767.98px) {
    .courses-hero .courses-kicker {
        width: fit-content;
        max-width: min(100%, 320px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .65rem;
        margin: 0 auto 1.3rem;
        padding: 0 .65rem;
        text-align: center;
        line-height: 1.55;
    }
    .courses-hero .courses-kicker > i {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 11px;
        color: #06283f;
        background: #79d8e6;
        font-size: .95rem;
    }
    .courses-hero .courses-kicker > span {
        display: block;
        max-width: 280px;
        text-align: center;
    }
}

/* Final mobile department-grid correction: no nested pills, no overflow. */
.academy-department-link > span {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 767.98px) {
    .academy-departments-inner {
        grid-template-columns: 1fr;
        gap: .65rem;
        width: 100%;
    }

    .academy-department-link,
    .academy-department-link:nth-last-child(3),
    .academy-department-link:nth-last-child(2),
    .academy-department-link:last-child {
        grid-column: auto;
        width: 100%;
        min-width: 0;
        min-height: 60px;
        padding: .72rem .85rem;
        gap: .75rem;
        font-size: .78rem;
    }

    .academy-department-link i {
        width: 36px;
        height: 36px;
        border-radius: 9px;
        font-size: .78rem;
    }
}


/* Scroll-aware course context bar under the fixed navigation. */
:root { --course-scroll-context-height: 0px; }
html { scroll-padding-top: calc(var(--thm-sticky-header-height) + var(--course-scroll-context-height, 0px) + 18px); }
.course-scroll-context {
    position: fixed;
    z-index: 2040;
    top: var(--thm-sticky-header-height);
    right: 0;
    left: 0;
    height: 42px;
    color: #ffffff;
    background: #075c74;
    border-top: 1px solid #0b789b;
    border-bottom: 1px solid #0b455b;
    box-shadow: 0 10px 24px rgba(6,40,63,.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-105%);
    transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
}
.course-scroll-context.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.course-scroll-context-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
}
.course-scroll-context-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #06283f;
    background: #79d8e6;
    font-size: .7rem;
}
.course-scroll-context-kicker {
    flex: 0 0 auto;
    color: #9be6ee;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.course-scroll-context-title {
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.course-scroll-context-title.is-updating { animation: course-context-title-in .22s ease both; }
.course-scroll-context-mode {
    flex: 0 0 auto;
    margin-left: auto;
    color: #d3edf1;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.course-scroll-progress {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: #42c6d3;
    transition: width .1s linear;
}
@keyframes course-context-title-in {
    from { opacity: .45; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}
.courses-page .course-department,
.courses-page .courses-featured-section,
.courses-page .course-catalog-section,
.courses-page .academy-learning-process {
    scroll-margin-top: calc(var(--thm-sticky-header-height) + var(--course-scroll-context-height, 0px) + 18px);
}
body.mobile-menu-open .course-scroll-context {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-105%) !important;
}

@media (max-width: 767.98px) {
    .course-scroll-context { height: 54px; }
    .course-scroll-context-inner { gap: .58rem; padding-right: .85rem; padding-left: .85rem; }
    .course-scroll-context-icon { width: 32px; height: 32px; border-radius: 9px; font-size: .76rem; }
    .course-scroll-context-kicker { display: none; }
    .course-scroll-context-title {
        display: -webkit-box;
        max-height: 2.45em;
        overflow: hidden;
        font-size: .78rem;
        line-height: 1.22;
        text-overflow: clip;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .course-scroll-context-mode {
        max-width: 58px;
        font-size: .54rem;
        line-height: 1.25;
        text-align: right;
    }
}

@media (max-width: 359.98px) {
    .course-scroll-context-mode { display: none; }
    .course-scroll-context-title { font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .course-scroll-context-title.is-updating { animation: none; }
    .course-scroll-context,
    .course-scroll-progress { transition: none; }
}


/* Final mobile drawer header alignment repair */
@media (max-width: 991.98px) {
    #navbarCollapse.navbar-collapse {
        align-items: stretch !important;
    }

    #navbarCollapse .mobile-drawer-head {
        width: 100% !important;
        max-width: none !important;
        align-self: stretch !important;
        flex: 0 0 auto !important;
        box-sizing: border-box;
        min-height: 84px;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: .85rem 1rem;
        margin: 0;
        background: #ffffff !important;
        border: 0;
        border-bottom: 1px solid #d9e7ec;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    #navbarCollapse .mobile-drawer-brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 58px);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
    }

    #navbarCollapse .mobile-drawer-brand img {
        width: 126px !important;
        max-width: 100%;
        height: 56px !important;
        display: block;
        object-fit: contain;
        object-position: left center;
        border: 0;
        border-radius: 7px;
        box-shadow: none;
    }

    #navbarCollapse .mobile-drawer-close {
        position: static !important;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        padding: 0;
        margin: 0;
        border: 1px solid #cfe1e8;
        border-radius: 50%;
        color: #0a3048;
        background: #edf7f9;
        box-shadow: none;
        line-height: 1;
    }

    #navbarCollapse .mobile-drawer-close span {
        display: block;
        font-size: 1.55rem;
        font-weight: 500;
        line-height: 1;
        transform: translateY(-1px);
    }
}

@media (max-width: 380px) {
    #navbarCollapse .mobile-drawer-head {
        min-height: 78px;
        padding: .75rem .85rem;
    }
    #navbarCollapse .mobile-drawer-brand img {
        width: 116px !important;
        height: 50px !important;
    }
    #navbarCollapse .mobile-drawer-close {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }
}
