html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
}

/* ---------- Desktop dropdown ---------- */
.nav-item {
    position: relative;
}

.dropdown,
.submenu {
    position: absolute;
    min-width: 240px;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 20px 45px -15px rgba(30, 46, 53, .25);
    border-top: 3px solid #F3B81F;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 60;
}

.dropdown {
    top: 100%;
    left: -12px;
    transform: translateY(14px);
}

.submenu {
    top: -13px;
    left: calc(100% + 10px);
    transform: translateX(12px);
}

.submenu::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 0;
    width: 12px;
    height: 100%;
}

.nav-item:hover>.dropdown,
.nav-item:focus-within>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-sub {
    position: relative;
}

.has-sub:hover>.submenu,
.has-sub:focus-within>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.drop-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: #1E2E35;
    transition: background .2s, color .2s, padding .2s;
}

.drop-link:hover {
    background: #E8F5F3;
    color: #0B7F77;
    padding-left: 18px;
}

.nav-item:hover>.nav-link {
    color: #0B7F77;
}

.nav-item:hover>.nav-link .chev {
    transform: rotate(180deg);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 22px;
    height: 2px;
    width: 0;
    background: #F3B81F;
    border-radius: 2px;
    transition: width .3s;
}

.nav-item:hover>.nav-link::after,
.nav-link.active::after {
    width: 100%;
}

/* ---------- Mobile search panel ---------- */
.search-panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all .3s ease;
}

.search-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------- Sidebar ---------- */
.m-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.m-sub>ul {
    overflow: hidden;
}

.m-sub.open {
    grid-template-rows: 1fr;
}

.m-toggle.open .chev {
    transform: rotate(180deg);
}

/* ---------- Slider ---------- */
.slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide .slide-bg {
    transform: scale(1.08);
    transition: transform 7s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide .anim {
    opacity: 0;
    transform: translateY(28px);
}

.slide.active .anim {
    animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dot {
    transition: width .35s ease, background .35s ease;
}

.dot.active {
    width: 34px;
    background: #F3B81F;
}

.progress {
    animation: none;
}

.progress.run {
    animation: progress 6s linear forwards;
}

@keyframes progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ---------- WhatsApp ---------- */
.wa-ring::before,
.wa-ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #25D366;
    z-index: -1;
    animation: waPulse 2.2s ease-out infinite;
}

.wa-ring::after {
    animation-delay: 1.1s;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: .6;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.wa-icon {
    animation: waShake 3.5s ease-in-out infinite;
}

@keyframes waShake {

    0%,
    80%,
    100% {
        transform: rotate(0);
    }

    84% {
        transform: rotate(-14deg);
    }

    88% {
        transform: rotate(12deg);
    }

    92% {
        transform: rotate(-8deg);
    }

    96% {
        transform: rotate(6deg);
    }
}

/* ---------- Accessibility ---------- */
:focus-visible {
    outline: 3px solid #F3B81F;
    outline-offset: 2px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* about  paje css */
.hand {
    font-family: 'Caveat', 'Segoe Script', cursive;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #0B7F77;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: #F3B81F;
}

/* hide scrollbar on filter nav (still scrollable) */
.no-scrollbar {
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* filter chip active state */
.page-chip.active {
    background: #0B7F77;
    color: #fff;
    border-color: #0B7F77;
    box-shadow: 0 10px 20px -12px rgba(11, 127, 119, .9);
}

/* Hero + CTA image fade */
.hero-img,
.cta-img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 35%);
}

@media (min-width: 1024px) {
    .hero-img {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%);
        mask-image: linear-gradient(to right, transparent 0%, #000 32%);
    }

    .cta-img {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 80%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 80%, transparent 100%);
    }
}

/* scroll reveal */
.ab-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.ab-reveal.show {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .ab-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}


/*  */

