
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

body {
    color: var(--nb-body);
}

/* ── Masthead / Carousel ── */
.masthead {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.testimonial-card {
    transition: transform var(--nb-fast) var(--nb-ease), box-shadow var(--nb-fast) var(--nb-ease);
}

/* will-change only while the pointer is on it - a permanent one keeps every card
   on its own compositor layer for the life of the page, which is what makes a
   long scroll go gritty. */
.testimonial-card:hover { will-change: transform; }

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}


.cursor {
    font-weight: 200;
    color: var(--nb-accent-text);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}


.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

.masthead-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 20px;
}

.masthead-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.masthead-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ── Carousel Buttons ── */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255,255,255,0.25);
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--nb-fast) var(--nb-ease);
}

.carousel-btn:hover {
    filter: invert(100%);
    transform: translateY(-1px);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* ── Carousel Dots ── */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    border: 2px solid #fff;
    transition: background var(--nb-fast) var(--nb-ease);
}

.carousel-dot.active {
    background: #fff;
}

/* ── Hero Buttons ── */
.hero-buttons {
    margin-top: 28px;
}

.hero-buttons .btn {
    margin: 6px;
    border-radius: 8px;
}

/* ── Page Content ── */
.post-preview {
    padding: 10px 0;
}

.post-preview .post-title {
    margin-bottom: 14px;
    color: var(--nb-ink);
}

.post-preview .post-subtitle {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--nb-muted);
    font-weight: 400;
}

.section-title {
    text-align: center;

}

.landing-text {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--nb-muted);
    margin-bottom: 16px;
}

/* ── Services Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 25px;
    min-height: 380px;
}

.service-card-title {
    color: #fff;
}

.service-card {
    position: relative;
    padding: 0;
    border-left: none;
    background: none;
    border-radius: var(--nb-r-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    cursor: pointer;
}

.service-card {
    transition: transform var(--nb-fast) var(--nb-ease), box-shadow var(--nb-fast) var(--nb-ease);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.service-card h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.service-card p {
    font-size: 0.88rem;
    flex-grow: 1;
    margin-bottom: 16px;
    color: var(--nb-muted);
    line-height: 1.6;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    z-index: 0;
}

.service-card .card-learn-more:hover {
    background-color: var(--nb-action-bg-hover);
    color: var(--nb-ink) !important;
    font-weight: bold;
}

.service-card:hover .service-card-bg {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.service-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: block;
    margin-bottom: 8px;
}

.service-card-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    padding: 18px 18px 0 18px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.service-card-bottom {
    position: relative;
    z-index: 2;
    padding: 0 18px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.service-card-bottom p {
    color: #f0f0f0;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    width: 100%;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ── Benefits ── */
.benefits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
}

.benefit-item {
    padding: 20px 24px;
    border-left: 4px solid var(--nb-accent);
    background: #f8fbfc;
    border-radius: var(--nb-r-card);
}

.benefit-item h4 {
    margin-bottom: 8px;
    color: #21424d;
    font-size: 1.05rem;
}

.benefit-item p {
    margin-bottom: 0;
    color: var(--nb-muted);
    line-height: 1.7;
}

/* ── CTA Box ── */
.cta-box {
    background: #f8fbfc;
    border: 1px solid #e2ebee;
    border-radius: var(--nb-r-card);
    padding: 36px 24px;
    margin-bottom: 40px;
}

/* Learn more button */
.card-learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    background-color: var(--nb-action-bg);
    color: var(--nb-action-fg) !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color var(--nb-fast) var(--nb-ease);
}

.card-learn-more::after {
    content: '→';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 1rem;
}

.card-learn-more:hover {
    background-color: var(--nb-ink);
    color: #ffffff !important;
}

.Text {
    animation: FadeUp 0.5s ease-out;
}
.AboutMe {
    animation: FadeUp 0.5s ease-out;
    display: flex;
    background-color: #f8fbfc;
    justify-content: center;
    align-items: center;
}
/* Primary button */
.btn-primary-home {
    position: relative;
    background-color: var(--nb-action-bg) !important;
    border-color: var(--nb-action-bg) !important;
    color: var(--nb-action-fg);
    padding: 14px 14px;
    border: none;
    border-radius: 10px;
    transition: background-color var(--nb-fast) var(--nb-ease), color var(--nb-fast) var(--nb-ease), transform var(--nb-fast) var(--nb-ease);
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem;
    cursor: pointer;
    z-index: 0;
    outline: none;
    animation: FadeUp 1s ease-in;
}

.btn-primary-home:before {
    content: '';
    background: linear-gradient(45deg, var(--nb-accent), var(--nb-accent-hover), var(--nb-accent), var(--nb-ink), var(--nb-accent));
    position: absolute;
    top: -2px;
    color: #000;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 50px;
}

.btn-primary-home:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--nb-action-bg);
    left: 0;
    top: 0;
    border-radius: 50px;
    transition: background-color var(--nb-fast) var(--nb-ease);
}

.btn-primary-home:hover,
.btn-primary-home:focus-visible {
    background-color: var(--nb-action-bg-hover) !important;
    color: var(--nb-action-fg);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(42, 45, 50, 0.14);
}

.btn-primary-home:hover:before { opacity: 0; }
.btn-primary-home:hover:after  { background: var(--nb-action-bg-hover); }
.btn-primary-home:active       { color: #000; }
.btn-primary-home:active:after { background: transparent; }

.btn-secondary {
    position: relative;
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 14px 14px;
    border-radius: 10px;
    transition: background-color var(--nb-fast) var(--nb-ease), color var(--nb-fast) var(--nb-ease), transform var(--nb-fast) var(--nb-ease), border-color var(--nb-fast) var(--nb-ease);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    z-index: 0;
    outline: none;
    animation: FadeUp 1s ease-in;
}

.btn-tri:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.btn-secondary:before {
    content: '';
    background: linear-gradient(45deg, #ffffff, #e0e0e0, #ffffff, #cccccc, #ffffff);
    position: absolute;
    top: -2px;
    color: #000;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 50px;
}

.btn-secondary:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    left: 0;
    top: 0;
    border-radius: 50px;
    transition: background-color var(--nb-fast) var(--nb-ease);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: #ffffff !important;
    color: #000000;
    transform: translateY(-2px);
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.btn-secondary:hover:before { opacity: 0; }
.btn-secondary:hover:after  { background: #ffffff; }
.btn-secondary:active       { color: var(--nb-muted); }
.btn-secondary:active:after { background: transparent; }


.btn-secondary2 {
    position: relative;
    background-color: transparent;
    border: 3px solid #000000;
    color: #000000;
    font-weight: 500;
    padding: 14px 14px;
    border-radius: 50px;
    transition: background-color var(--nb-fast) var(--nb-ease), color var(--nb-fast) var(--nb-ease), transform var(--nb-fast) var(--nb-ease), border-color var(--nb-fast) var(--nb-ease);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    z-index: 0;
    outline: none;
    animation: FadeUp 1s ease-in;
}


.btn-secondary2:before {
    content: '';
    background: linear-gradient(45deg, #000000, var(--nb-body), var(--nb-body), var(--nb-body), var(--nb-body));
    position: absolute;
    top: -2px;
    color: #ffffff;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 50px;
}

.btn-secondary2:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    left: 0;
    top: 0;
    border-radius: 50px;
    transition: background-color var(--nb-fast) var(--nb-ease);
}

.btn-secondary2:hover,
.btn-secondary2:focus-visible {
    background-color: #000000 !important;
    color: #ffffff;
    transform: translateY(-2px);
    border-color: #000000;
    box-shadow: 0 10px 20px rgba(42, 45, 50, 0.14);
}

.btn-secondary2:hover:before { opacity: 0; }
.btn-secondary2:hover:after  { background: #000000; }
.btn-secondary2:active       { color: #ffffff; }
.btn-secondary2:active:after { background: transparent; }


.booking-glow {
    color: #ffffff;
    font-weight: 400;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.8),
        0 0 15px rgba(255, 255, 255, 0.5),
        0 0 25px rgba(255, 255, 255, 0.2);
}

.line-glow {
    height: 1.7px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,1), transparent);

    box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.8);

    align-self: center;
}



@keyframes white-pulse-glow {
    from {
        text-shadow:
            0 0 8px rgba(255, 255, 255, 0.8),
            0 0 15px rgba(255, 255, 255, 0.5);

    }
    to {
        text-shadow:
            0 0 10px rgba(255, 255, 255, 1),
            0 0 18px rgba(255, 255, 255, 0.6),
            0 0 20px rgba(255, 255, 255, 0.3);

    }
}
@keyframes white-pulse-glow2 {
    from {
        box-shadow:
            0 0 8px rgba(255, 255, 255, 0.8),
            0 0 15px rgba(255, 255, 255, 0.5);

    }
    to {
        box-shadow:
            0 0 10px rgba(255, 255, 255, 1),
            0 0 18px rgba(255, 255, 255, 0.6),
            0 0 20px rgba(255, 255, 255, 0.3);

    }
}
@keyframes glowing {
    0%   { background-position: 0 0; }
    50%  { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

@keyframes ScaleUp {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); }
}

@keyframes FadeUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); }
}

/* Mobile optimization */

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .masthead-content h1 {
        font-size: 2rem;
    }

    .masthead-content p {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {

    /* Hero */
    header {
        height: 100svh !important;
    }

    .Text {
        padding: 16px 16px 100px !important;
    }

    .Text h1 {
        font-size: 1.6rem !important;
    }

    .Text p {
        font-size: 0.95rem !important;
    }

    .Text div a {
        display: block;
        width: 100%;
        margin: 6px 0 !important;
        text-align: center;
    }

    /* Services — single column on phones */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .service-card {
        min-height: 260px !important;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        width: 100%;
        margin: 6px 0 !important;
        text-align: center;
    }

    .cta-box {
        padding: 24px 16px;
    }

    .btn-tri {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }
}

.testimonial-section {
    width: 100%;
    padding: 20px 0;
}

.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding-top: 40px;
}

.testimonial-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    padding: 0 2px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: var(--nb-r-card);
    padding: 1.5rem;
    min-height: 220px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    overflow: visible;
}

.quote-wrapper {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:35px;
    overflow: visible;
}

.quote-icon {
    font-size: 6rem;
    color: #486056;
    font-family: sans-serif;
    line-height: 1;
    user-select: none;
}

.info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 5px;
}

.separator {
    width: 60px;
    border: none;
    border-top: 1.5px solid #000;
    margin: 0 0 10px 0;
}

.client-details {
    margin-bottom: 14px;
}

.client-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--nb-body);
    margin: 0;
}

.client-job {
    font-size: 13px;
    color: var(--nb-muted);
    margin: 0;
}

.description-wrapper {
    width: 100%;
    flex: 1;
}

.description-text {
    font-size: 14px;
    color: var(--nb-body);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* ── Homepage hero · layout D ("eyebrow and statement") ──────────────
   Looks only: same content blocks, same order, same links, same 4s
   slider in home.php. The business name stays the <h1> but reads as a
   small label; "Stop Carrying it Alone." is the large line; the rotating
   tagline sits beneath it in mint. Paired with the slider animation:
   slow zoom on the active photo, dots as filling progress bars, tagline
   rising in. Replaces the hero's old inline styles. */
.nb-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 560px;
    overflow: hidden;
    background: var(--nb-ink);
    color: #fff;
}

.nb-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 1.5s var(--nb-ease, ease-in-out);
}
.nb-hero-slide.is-active { opacity: 1; }

.nb-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.nb-hero-slide.is-active .nb-hero-img {
    animation: nb-hero-zoom 5.5s linear both;
}

/* Shade from the left keeps the text readable and the right of each
   photo clear; a light band at the top keeps the nav legible. */
.nb-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 22%),
        linear-gradient(90deg, rgba(20, 22, 26, 0.74) 0%, rgba(20, 22, 26, 0.48) 45%, rgba(20, 22, 26, 0.08) 82%);
}

.nb-hero-copy {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: min(760px, 92%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 96px 0 40px clamp(24px, 6vw, 84px);
}

/* Business name: still the page's h1, styled as a small label */
.nb-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
}
.nb-hero-eyebrow::before {
    content: '';
    flex: none;
    width: 28px;
    height: 2px;
    background: var(--nb-mint);
}

.nb-hero-sub {
    display: flex;
    flex-direction: column;
    margin: 1rem 0 0;
}

.nb-hero-statement {
    font-family: var(--nb-font-heading);
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    text-wrap: balance;
    color: #fff;
}

.nb-hero-tagline {
    display: block;
    margin-top: 0.7rem;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 600;
    color: var(--nb-mint);
}
/* The rotating words sit in the statement slot and rise in on each swap.
   Set in Fraunces Light Italic - a soft, warm serif - so they read as a
   gentler voice against the bold Kulim Park around them. Declared here
   rather than in theme.css because only the home hero uses it.
   The file carries Fraunces' optical-size axis, so the browser draws the
   display cut at this size. Latin subset only. Licence: font/Fraunces-OFL.txt */
@font-face {
    font-family: 'Fraunces';
    src: url('../font/fraunces-lightitalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
.nb-hero-rotating {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.01em;
    padding-right: 0.08em; /* the italic overhangs its box; stops the last letter clipping */
}
.nb-hero-rotating.is-swapping {
    animation: nb-hero-tagline-in 600ms var(--nb-reveal-ease, ease-out) both;
}

.nb-hero-info {
    margin: 0.9rem 0 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.nb-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
}
/* margin/width override the phone rule that stacks .btn-primary/.btn-secondary */
.nb-hero-cta .nb-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin: 0 !important;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.nb-hero-btn--book {
    padding: 15px 28px;
    font-size: 1rem;
}
.nb-hero-btn--call {
    padding: 13px 26px;
    font-size: 0.9rem;
    transition: transform var(--nb-fast) var(--nb-ease), background-color var(--nb-fast) var(--nb-ease), color var(--nb-fast) var(--nb-ease);
}

/* Slide arrows grouped bottom-right, clear of the text */
.nb-hero-arrow {
    position: absolute;
    bottom: 18px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.1rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color 200ms var(--nb-ease, ease), color 200ms var(--nb-ease, ease);
}
.nb-hero-arrow--prev { right: 72px; }
.nb-hero-arrow--next { right: 18px; }

/* Dots as progress bars. The dot is a taller hit area; ::before is the
   track and <i> is the fill, restarted by home.php on every slide. */
.nb-hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    z-index: 3;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}
.nb-hero-dot {
    position: relative;
    width: 34px;
    height: 24px;
    cursor: pointer;
}
.nb-hero-dot::before,
.nb-hero-dot i {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 10px;
    height: 4px;
    border-radius: 99px;
}
.nb-hero-dot::before { background: rgba(255, 255, 255, 0.35); }
.nb-hero-dot i {
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
}
.nb-hero-dot.is-done i { transform: scaleX(1); }
.nb-hero-dot.is-active i { animation: nb-hero-fill 4s linear forwards; }

@keyframes nb-hero-zoom       { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes nb-hero-fill       { to { transform: scaleX(1); } }
@keyframes nb-hero-tagline-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 620px) {
    .nb-hero-shade {
        background: linear-gradient(0deg, rgba(20, 22, 26, 0.78) 0%, rgba(20, 22, 26, 0.5) 50%, rgba(20, 22, 26, 0.2) 100%);
    }
    .nb-hero-copy {
        right: 0;
        width: auto;
        justify-content: flex-end;
        padding: 0 20px 56px;
    }
    .nb-hero-statement { font-size: 2.9rem; }
    .nb-hero-arrow { display: none; }
    .nb-hero-cta { gap: 10px; }
    .nb-hero-cta .nb-hero-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .nb-hero-slide { transition: none; }
    .nb-hero-slide.is-active .nb-hero-img,
    .nb-hero-rotating.is-swapping,
    .nb-hero-dot.is-active i {
        animation: none;
    }
    .nb-hero-dot.is-active i { transform: scaleX(1); }
}

/* ── Button hover (No. 8) ────────────────────────────────────────────
   Replaces the blurred, shifting gradient glow and 4px jump with a calm
   hover: a 2px lift, a soft shadow and the deeper colour already defined
   above. Pressing pushes the button down; keyboard focus gets a clear
   mint ring. The glow layers (:before) stay in the file but never show. */
.btn-primary-home,
.btn-secondary,
.btn-secondary2 {
    transition: background-color var(--nb-fast) var(--nb-ease), color var(--nb-fast) var(--nb-ease),
                transform var(--nb-fast) var(--nb-ease), border-color var(--nb-fast) var(--nb-ease),
                box-shadow var(--nb-fast) var(--nb-ease);
}

.btn-primary-home:active,
.btn-secondary:active,
.btn-secondary2:active {
    transform: translateY(0) scale(0.98);
    box-shadow: none;
}

.btn-primary-home:focus-visible,
.btn-secondary:focus-visible,
.btn-secondary2:focus-visible {
    outline: 3px solid var(--nb-focus-ring);
    outline-offset: 3px;
}

/* Booking-style buttons get a small arrow that nudges forward on hover.
   Its :after used to be a colour layer the solid background already covers. */
.btn-primary-home::after {
    content: '\2192';
    position: static;
    display: inline-block;
    width: auto;
    height: auto;
    margin-left: 0.5em;
    background: none !important;
    z-index: auto;
    transition: transform 220ms var(--nb-ease);
}
.btn-primary-home:hover::after,
.btn-primary-home:focus-visible::after {
    transform: translateX(3px);
}
.nb-hero-cta .nb-hero-btn::after {
    margin-left: 0; /* the hero buttons already space their contents with gap */
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary-home:hover,
    .btn-primary-home:focus-visible,
    .btn-secondary:hover,
    .btn-secondary:focus-visible,
    .btn-secondary2:hover,
    .btn-secondary2:focus-visible,
    .btn-primary-home:active,
    .btn-secondary:active,
    .btn-secondary2:active,
    .btn-primary-home:hover::after {
        transform: none;
    }
}

/* ── Heading mask reveal (No. 7) ─────────────────────────────────────
   "Meet Dimitra" on Home and the About heading. scripts.js fills the
   text immediately and adds .is-masking once it scrolls into view: a
   mint panel wipes up over the words, holds, then lifts away. The text
   itself is never hidden. Replaces the typing effect and blinking cursor. */
#typing_text {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding: 0 0.08em;
}
#typing_text::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--nb-mint);
    transform: scaleY(0);
    transform-origin: bottom;
    pointer-events: none;
}
#typing_text.is-masking::after {
    animation: nb-heading-mask 1.15s var(--nb-reveal-ease, ease-out) both;
}
#typing_text + .cursor {
    display: none;
}

@keyframes nb-heading-mask {
    0%   { transform: scaleY(0); }
    35%  { transform: scaleY(1); }
    50%  { transform: translateY(0) scaleY(1); }
    100% { transform: translateY(-102%) scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
    #typing_text.is-masking::after { animation: none; }
}

/* ── Service cards (No. 9) ───────────────────────────────────────────
   Upgrade of the existing hover: a slower, softer photo zoom, a darker
   lower overlay so the text stays readable over any photo, a slightly
   higher lift, the description easing up, and the "Learn More →" arrow
   nudging forward. Keyboard focus gets the same treatment plus a ring. */
.service-card {
    transition: transform 320ms var(--nb-reveal-ease, ease-out), box-shadow 320ms var(--nb-ease, ease);
}
.service-card-bg {
    transition: transform 900ms var(--nb-reveal-ease, ease-out);
}
.service-card-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(20, 24, 28, 0.55) 100%);
    opacity: 0;
    transition: opacity 320ms var(--nb-ease, ease);
}
.service-card-bottom p {
    transition: transform 360ms var(--nb-reveal-ease, ease-out);
}
.service-card .card-learn-more {
    transition: background-color 220ms var(--nb-ease, ease), color 220ms var(--nb-ease, ease);
}
.service-card .card-learn-more::after {
    transition: transform 260ms var(--nb-reveal-ease, ease-out);
}

.service-card:hover,
.service-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(42, 45, 50, 0.18);
}
.service-card:hover .service-card-bg,
.service-card:focus-visible .service-card-bg {
    transform: scale(1.06);
}
.service-card:hover .service-card-overlay::after,
.service-card:focus-visible .service-card-overlay::after {
    opacity: 1;
}
.service-card:hover .service-card-bottom p,
.service-card:focus-visible .service-card-bottom p {
    transform: translateY(-3px);
}
/* The whole card is the link, so the pill follows the card's hover */
.service-card:hover .card-learn-more,
.service-card:focus-visible .card-learn-more {
    background-color: #ffffff;
    color: var(--nb-ink) !important;
    font-weight: 600;
}
.service-card:hover .card-learn-more::after,
.service-card:focus-visible .card-learn-more::after {
    transform: translateX(4px);
}
.service-card:focus-visible {
    outline: 3px solid var(--nb-focus-ring);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .service-card:hover,
    .service-card:focus-visible,
    .service-card:hover .service-card-bg,
    .service-card:focus-visible .service-card-bg,
    .service-card:hover .service-card-bottom p,
    .service-card:focus-visible .service-card-bottom p,
    .service-card:hover .card-learn-more::after,
    .service-card:focus-visible .card-learn-more::after {
        transform: none;
    }
}

/* ── Testimonials (No. 10) ───────────────────────────────────────────
   Looks only - the same one step every 5s, looping (home.php). The track
   eases to a stop instead of moving at a constant speed, the cards sit on
   a softer surface with a mint quote mark and rule, and a row of small
   dots shows which quote you are on (display only, not clickable). */
.testimonial-track {
    transition: transform 900ms var(--nb-reveal-ease);
}
.testimonial-card {
    background: linear-gradient(180deg, #ffffff, var(--nb-ice-soft));
    border: 1px solid var(--nb-ice);
    box-shadow: 0 1px 2px rgba(42, 45, 50, 0.05), 0 10px 26px rgba(42, 45, 50, 0.07);
}
.quote-icon {
    color: var(--nb-mint-mid);
}
.separator {
    border-top: 2px solid var(--nb-mint);
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1.25rem;
}
.testimonial-dots span {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--nb-char-4);
    transition: width 400ms var(--nb-reveal-ease), background-color 300ms var(--nb-ease);
}
.testimonial-dots span.is-active {
    width: 22px;
    background: var(--nb-mint-mid);
}
@media (prefers-reduced-motion: reduce) {
    .testimonial-track,
    .testimonial-dots span { transition: none; }
}
/* Free discovery call link under the hero buttons */
.nb-hero-discovery {
    margin-top: 1.1rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
.nb-hero-discovery a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity var(--nb-fast) var(--nb-ease);
}
.nb-hero-discovery a:hover,
.nb-hero-discovery a:focus-visible {
    color: #fff;
    opacity: 0.82;
}
