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%;
    }
}


/* ---------- 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;
    }
}


/*  */

.row-card {
    position: relative;
    background: #FBFCFC;
    border: 1px solid #E7EEEC;
    border-left: 4px solid var(--accent, #0B7F77);
    transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease, background-color .35s ease;
}

.row-card:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 26px 50px -30px rgba(20, 35, 41, .28);
    border-color: var(--accent, #0B7F77);
}

.tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--accent-tint, #E8F5F3);
    color: var(--accent-dark, #07625C);
    transition: background-color .3s ease, color .3s ease;
}

.row-card:hover .tag {
    background: var(--accent, #0B7F77);
    color: #fff;
}

.row-frame {
    position: relative;
    overflow: hidden;
}

.row-img {
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.row-card:hover .row-img {
    transform: scale(1.06);
}

.row-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(20, 35, 41, 0) 55%, rgba(20, 35, 41, .16) 100%);
    opacity: 0;
    transition: opacity .4s ease;
}

.row-card:hover .row-frame::after {
    opacity: 1;
}

.icon-badge {
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.row-card:hover .icon-badge {
    transform: scale(1.08);
}

.idx {
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    color: #C7CFCE;
    transition: color .35s ease;
}

.row-card:hover .idx {
    color: var(--accent, #0B7F77);
}

.head-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E8F5F3;
    color: #07625C;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
}

.head-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #0B7F77;
}

.head-glow-a {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(11, 127, 119, .12) 0%, rgba(11, 127, 119, 0) 70%);
    top: -60px;
    left: 50%;
    transform: translateX(-160%);
    pointer-events: none;
}

.head-glow-b {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(243, 184, 31, .16) 0%, rgba(243, 184, 31, 0) 70%);
    top: -20px;
    left: 50%;
    transform: translateX(60%);
    pointer-events: none;
}

.head-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.head-rule span {
    display: block;
    height: 3px;
    border-radius: 2px;
}

.head-rule .seg-1 {
    width: 28px;
    background: #0B7F77;
}

.head-rule .seg-2 {
    width: 10px;
    background: #F3B81F;
}

/* autism css */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
        animation: none !important;
    }
}

/*  */
/* Slider track smooth movement */
#trainingTrack {
    transition: transform .6s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {

    #trainingTrack,
    .tp-card img {
        transition: none !important;
    }
}


/*  */
.m-bg {
    background-color: var(--m);
}

.m-text {
    color: var(--m);
}

.m-soft {
    background-color: color-mix(in srgb, var(--m) 9%, #ffffff);
}

.m-soft-2 {
    background-color: color-mix(in srgb, var(--m) 16%, #ffffff);
}

.m-border {
    border-color: color-mix(in srgb, var(--m) 28%, transparent);
}

.m-ring:hover {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--m) 45%, transparent), 0 24px 50px -30px color-mix(in srgb, var(--m) 70%, transparent);
}

.m-shadow {
    box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--m) 75%, transparent);
}

.m-field:focus {
    outline: none;
    border-color: var(--m);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--m) 16%, transparent);
}

.fund-tab[aria-selected="true"] {
    background-color: var(--m);
    color: #fff;
    box-shadow: 0 10px 22px -12px var(--m);
}

.fund-tab[aria-selected="true"] .fund-tab-sub {
    color: rgba(255, 255, 255, .8);
}

.dn-drop.is-drag {
    border-color: var(--m);
    background-color: color-mix(in srgb, var(--m) 8%, #ffffff);
}

/*  */

/* Banner: image jate kono dik theke na kate */
#hero {
    height: auto !important;
    aspect-ratio: 16 / 9;
}

#hero .slide-bg {
    transform: none !important;
    animation: none !important;
}

.wm-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.wm-track {
    animation: wm-scroll 50s linear infinite;
}

.wm-marquee:hover .wm-track,
.wm-marquee:focus-within .wm-track {
    animation-play-state: paused;
}

@keyframes wm-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    .wm-track {
        animation-duration: 35s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wm-track {
        animation: none;
    }
}



/*  */
 .fc-wrap {
        position: fixed;
        left: 12px;
        bottom: 20px;
        z-index: 60;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .fc-btn {
        display: flex;
        align-items: center;
        width: max-content;
        overflow: hidden;
        border-radius: 9999px;
        color: #fff;
        text-decoration: none;
        transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
        animation: fc-float 3.2s ease-in-out infinite;
    }
    .fc-btn.fc-wa { animation-delay: .4s; }
    .fc-btn:hover,
    .fc-btn:focus-visible {
        animation-play-state: paused;
        transform: translateY(-2px);
    }
    .fc-icon {
        position: relative;
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    .fc-icon i { position: relative; transition: transform .3s ease; }
    .fc-call:hover .fc-icon i { transform: rotate(12deg); }
    .fc-wa:hover .fc-icon i { transform: scale(1.1); }

    .fc-ping {
        position: absolute;
        inset: 8px;
        border-radius: 9999px;
        background: rgba(255, 255, 255, .3);
        animation: fc-ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
    }
    .fc-wa:hover .fc-ping { display: none; }

    .fc-text {
        max-width: 0;
        opacity: 0;
        white-space: nowrap;
        transition: max-width .5s ease, opacity .35s ease, padding .5s ease;
    }

    @keyframes fc-float {
        0%, 100% { transform: translateY(0); }
        50%      { transform: translateY(-5px); }
    }
    @keyframes fc-ping {
        75%, 100% { transform: scale(1.9); opacity: 0; }
    }

    /* Desktop: bam pasher majhkhane bhese thakbe, hover-e text ashbe */
    @media (min-width: 1024px) {
        .fc-wrap {
            left: 20px;
            bottom: auto;
            top: 80%;
            transform: translateY(-50%);
        }
        .fc-icon { width: 52px; height: 52px; }
        .fc-btn:hover .fc-text,
        .fc-btn:focus-visible .fc-text {
            max-width: 240px;
            opacity: 1;
            padding-right: 22px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .fc-btn, .fc-ping { animation: none; }
    }


       /* gallery */
     
            /* Halka dot pattern background */
            .g-dots {
                background-image: radial-gradient(rgba(13, 138, 138, .13) 1px, transparent 1px);
                background-size: 18px 18px;
            }

            .g-item {
                position: relative;
                display: block;
                width: 100%;
                overflow: hidden;
                border-radius: 12px;
                cursor: zoom-in;
            }

            .g-item img {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform .7s ease;
            }

            .g-item::after {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient(to top, rgba(20, 35, 40, .5), rgba(20, 35, 40, .1));
                opacity: 0;
                transition: opacity .3s ease;
            }

            .g-item::before {
                content: "";
                position: absolute;
                left: 50%;
                top: 50%;
                z-index: 2;
                width: 40px;
                height: 40px;
                margin: -20px 0 0 -20px;
                border-radius: 9999px;
                background: rgba(255, 255, 255, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2e35' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 18px no-repeat;
                box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35);
                opacity: 0;
                transform: scale(.6);
                transition: opacity .3s ease, transform .3s ease;
            }

            .g-item:hover img {
                transform: scale(1.07);
            }

            .g-item:hover::after {
                opacity: 1;
            }

            .g-item:hover::before {
                opacity: 1;
                transform: scale(1);
            }

            .g-item:focus-visible {
                outline: 3px solid #f5c542;
                outline-offset: 2px;
            }

            /* ===== Lightbox ===== */
            .glb {
                position: fixed;
                inset: 0;
                z-index: 9999;
                display: flex;
                flex-direction: column;
                background: rgba(20, 35, 40, .96);
                opacity: 0;
                visibility: hidden;
                transition: opacity .3s ease, visibility .3s ease;
            }

            .glb.is-open {
                opacity: 1;
                visibility: visible;
            }

            .glb-img {
                transition: opacity .3s ease, transform .3s ease;
            }

            .glb-img.is-loading {
                opacity: 0;
                transform: scale(.98);
            }

            .glb-thumb {
                opacity: .5;
                transition: opacity .2s ease, box-shadow .2s ease;
            }

            .glb-thumb:hover {
                opacity: .85;
            }

            .glb-thumb.is-active {
                opacity: 1;
                box-shadow: 0 0 0 2px #fff;
            }

         /* video gallery  */
         
            .g-dots {
                background-image: radial-gradient(rgba(13, 138, 138, .13) 1px, transparent 1px);
                background-size: 18px 18px;
            }

            /* Video card */
            .v-thumb img {
                transition: transform .7s ease;
            }

            .v-card:hover .v-thumb img {
                transform: scale(1.06);
            }

            .v-play {
                transition: transform .3s ease, background-color .3s ease, color .3s ease;
            }

            .v-card:hover .v-play {
                transform: scale(1.12);
            }

            .v-play::before {
                content: "";
                position: absolute;
                inset: -6px;
                border-radius: 9999px;
                border: 2px solid rgba(255, 255, 255, .7);
                opacity: 0;
                transform: scale(.8);
                transition: opacity .3s ease, transform .3s ease;
            }

            .v-card:hover .v-play::before {
                opacity: 1;
                transform: scale(1);
            }

            .v-card:focus-visible {
                outline: 3px solid #f5c542;
                outline-offset: 3px;
            }

            /* Video popup */
            .vmodal {
                position: fixed;
                inset: 0;
                z-index: 9999;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 16px;
                background: rgba(20, 35, 40, .94);
                opacity: 0;
                visibility: hidden;
                transition: opacity .3s ease, visibility .3s ease;
            }

            .vmodal.is-open {
                opacity: 1;
                visibility: visible;
            }

            .vmodal-box {
                transform: scale(.96);
                transition: transform .3s ease;
            }

            .vmodal.is-open .vmodal-box {
                transform: scale(1);
            }

         
     
       