/* =========================================================
   HOME PAGE STYLES
   Prefixes: hm- hero | cx- categories | np- products
             pz- ads  | sx- services   | bz- profiles | sc- shared
========================================================= */

:root {
    --hp-navy: #04285e;
    --hp-navy-dark: #031c42;
    --hp-blue: #0a6cf0;
    --hp-orange: #ff6f0f;
    --hp-orange-dark: #ee5d00;
    --hp-ink: #10213f;
    --hp-muted: #6b7a94;
    --hp-line: #e3eaf6;
    --hp-card: #fff;
}

[data-bs-theme="dark"] {
    --hp-ink: #e8eefb;
    --hp-muted: #9fb0cc;
    --hp-line: #26344f;
    --hp-card: #141d30;
}

/* =========================================================
   1. HERO
========================================================= */
.hm-hero {
    background: linear-gradient(180deg, #f3f7ff 0%, rgba(243, 247, 255, 0) 100%);
}

.hm-main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem;
    background: #e9eef7;
    box-shadow: 0 14px 36px rgba(4, 40, 94, .12);
    isolation: isolate;
}

.hm-main .swiper-slide {
    height: auto;
}

.hm-slide {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

/* Banner is shown fully (contain); a blurred copy fills any empty space,
   so square and wide banners both look clean – no stretching, no cropping */
.hm-blur {
    position: absolute;
    inset: -30px;
    z-index: 0;
    background: center / cover no-repeat;
    filter: blur(24px) saturate(1.15) brightness(.95);
    transform: scale(1.08);
}

.hm-slide img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .6s ease;
}

a.hm-slide:hover img {
    transform: scale(1.02);
}

.hm-slide__cap {
    z-index: 2;
}

.hm-hero .hm-side img {
    z-index: 1;
}

.hm-slide__cap {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 62%;
    padding: clamp(1.25rem, 4vw, 3.5rem);
    background: linear-gradient(90deg, rgba(4, 40, 94, .78), rgba(4, 40, 94, .35) 75%, transparent);
}

.hm-slide__cap h2 {
    margin: 0 0 .5rem;
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.25rem, 3.2vw, 2.6rem);
    line-height: 1.12;
}

.hm-slide__cap p {
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(.8rem, 1.3vw, 1.05rem);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.hm-slide__btn {
    display: inline-block;
    padding: .55rem 1.4rem;
    border-radius: 999px;
    background: var(--hp-orange);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: 0 8px 18px rgba(255, 111, 15, .4);
    transition: transform .2s, background .2s;
}

.hm-slide:hover .hm-slide__btn {
    background: var(--hp-orange-dark);
    transform: translateY(-2px);
}

/* dots */
.hm-main .hm-dots {
    position: absolute;
    left: 50% !important;
    right: auto;
    bottom: .9rem !important;
    width: auto !important;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(4, 40, 94, .35);
    backdrop-filter: blur(6px);
    transform: translateX(-50%);
    line-height: 0;
}

.hm-main .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: #fff;
    opacity: .7;
    transition: width .25s, background .25s, opacity .25s;
}

.hm-main .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 6px;
    background: var(--hp-orange);
    opacity: 1;
}

/* arrows */
.hm-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--hp-navy);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity .2s, background .2s, color .2s;
}

.hm-main:hover .hm-arrow {
    opacity: 1;
}

.hm-arrow:hover {
    background: var(--hp-blue);
    color: #fff;
}

.hm-arrow--prev {
    left: .9rem;
}

.hm-arrow--next {
    right: .9rem;
}

/* side tiles (2x2) */
.hm-tiles {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.hm-tile {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 0;
    border-radius: 1rem;
    background: #e9eef7;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(4, 40, 94, .1);
    transition: transform .25s ease, box-shadow .25s ease;
}

.hm-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform .5s ease;
}

.hm-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(4, 40, 94, .2);
}

.hm-tile:hover img {
    transform: scale(1.07);
}

.hm-tile__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.6rem .8rem .6rem;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(0deg, rgba(4, 40, 94, .8), transparent);
}

@media (max-width: 991.98px) {
    .hm-main {
        aspect-ratio: 16 / 9;
    }

    .hm-tiles {
        grid-template-rows: none;
    }

    .hm-tile {
        aspect-ratio: 1 / 1;
    }

    .hm-arrow {
        opacity: 1;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 575.98px) {
    .hm-main {
        aspect-ratio: 16 / 9;
        border-radius: 1rem;
        box-shadow: 0 8px 22px rgba(4, 40, 94, .12);
    }

    .hm-main .hm-dots {
        bottom: .55rem !important;
        padding: 4px 8px;
    }

    .hm-main .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }

    .hm-main .swiper-pagination-bullet-active {
        width: 16px;
    }

    .hm-slide__cap {
        max-width: 85%;
    }

    .hm-arrow {
        display: none;
    }

    .hm-tiles {
        gap: .65rem;
    }
}

/* =========================================================
   2. CATEGORIES
========================================================= */
.cx-sec {
    padding: 1.5rem 0 2rem;
}

.cx-box {
    padding: 1.5rem 1rem 1.25rem;
    border: 1px solid var(--hp-line);
    border-radius: 1.5rem;
    background: var(--hp-card);
    box-shadow: 0 12px 40px rgba(4, 40, 94, .07);
}

.cx-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.cx-title h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .cx-title h2 {
    color: #fff;
}

.cx-title::before,
.cx-title::after {
    content: "";
    flex: 1 1 0;
    max-width: 120px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--hp-blue));
}

.cx-title::after {
    background: linear-gradient(270deg, transparent, var(--hp-orange));
}

.cx-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 1.5rem .5rem;
}

.cx-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: .25rem .15rem;
    text-align: center;
    text-decoration: none !important;
    color: var(--hp-ink);
    background: none;
    border: 0;
    cursor: pointer;
    transition: transform .2s ease;
}

.cx-ring {
    display: block;
    width: 76px;
    height: 76px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbe6f7, #eef3fb);
    box-shadow: 0 4px 14px rgba(4, 40, 94, .12);
    transition: background .25s, box-shadow .25s, transform .25s;
}

.cx-ring img,
.cx-fallback {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    background: #fff;
}

.cx-fallback {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font: 800 1.5rem/1 system-ui, sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #0a3a82, var(--hp-blue)) !important;
}

.cx-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-width: 100%;
    min-height: 2.5em;
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.25;
    word-break: break-word;
    transition: color .2s;
}

.cx-item:hover {
    transform: translateY(-5px);
}

.cx-item:hover .cx-ring {
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-orange));
    box-shadow: 0 10px 22px rgba(10, 108, 240, .28);
    transform: scale(1.05);
}

.cx-item:hover .cx-name {
    color: var(--hp-blue);
}

.cx-item:focus-visible {
    outline: 3px solid var(--hp-blue);
    outline-offset: 4px;
    border-radius: 1rem;
}

/* read more tile */
.cx-toggle .cx-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange) 55%, var(--hp-orange-dark));
    box-shadow: 0 8px 20px rgba(255, 111, 15, .35);
}

.cx-toggle:hover .cx-ring {
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark));
}

.cx-toggle:hover .cx-name {
    color: var(--hp-orange-dark);
}

.cx-toggle svg {
    width: 30px;
    height: 30px;
    transition: transform .3s;
}

.cx-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.cx-less,
.cx-toggle[aria-expanded="true"] .cx-more {
    display: none;
}

.cx-toggle[aria-expanded="true"] .cx-less {
    display: inline;
}

.cx-extra {
    padding-top: 1.5rem;
}

@media (max-width: 991.98px) {
    .cx-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem .35rem;
    }

    .cx-box {
        padding: 1.25rem .5rem 1rem;
        border-radius: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .cx-ring {
        width: 58px;
        height: 58px;
    }

    .cx-name {
        font-size: .74rem;
    }

    .cx-toggle svg {
        width: 24px;
        height: 24px;
    }

    .cx-title h2 {
        font-size: 1.1rem;
    }
}

/* =========================================================
   3. LATEST PRODUCTS (dark band)
========================================================= */
.np-sec {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 3rem;
    background: linear-gradient(135deg, var(--hp-navy-dark) 0%, var(--hp-navy) 55%, #0a3a82 100%);
    color: #fff;
}

.np-sec::before,
.np-sec::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.np-sec::before {
    width: 520px;
    height: 520px;
    right: -180px;
    top: -220px;
    background: radial-gradient(circle, rgba(10, 108, 240, .55), transparent 70%);
}

.np-sec::after {
    width: 340px;
    height: 340px;
    left: -130px;
    bottom: -170px;
    background: radial-gradient(circle, rgba(255, 111, 15, .4), transparent 70%);
}

.np-sec .container {
    position: relative;
    z-index: 1;
}

.np-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.np-head h2 {
    position: relative;
    margin: 0;
    padding-bottom: .55rem;
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
}

.np-head h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--hp-orange);
}

.np-head p {
    margin: .5rem 0 0;
    color: #b9cbea;
    font-size: .95rem;
}

.np-arrows {
    display: flex;
    gap: .5rem;
}

.np-arrow {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    backdrop-filter: blur(6px);
    transition: background .2s, border-color .2s, transform .2s;
}

.np-arrow:hover {
    background: var(--hp-orange);
    border-color: var(--hp-orange);
    transform: scale(1.08);
}

.np-arrow.swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}

.np-slider {
    margin: -10px -6px;
    padding: 10px 6px 26px;
}

.np-slider .swiper-slide {
    height: auto;
}

.np-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: .6rem;
    border-radius: 1.5rem;
    background: #fff;
    color: #10213f;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
    transition: transform .25s, box-shadow .25s;
}

.np-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 46px rgba(0, 0, 0, .4);
}

.np-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1.05rem;
    background: #eef2f8;
}

.np-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s;
}

.np-card:hover .np-media img {
    transform: scale(1.08);
}

.np-badge {
    position: absolute;
    top: .65rem;
    left: .65rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    background: #fff;
    color: var(--hp-orange-dark);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}

.np-price {
    position: absolute;
    left: .65rem;
    bottom: .65rem;
    display: inline-flex;
    align-items: baseline;
    gap: .15rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark));
    color: #fff;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.1;
    box-shadow: 0 8px 18px rgba(238, 93, 0, .45);
}

.np-price small {
    font-size: .75rem;
    font-weight: 700;
}

.np-price em {
    font-style: normal;
    font-size: .78rem;
    font-weight: 700;
}

.np-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: .85rem .55rem .35rem;
}

.np-cat {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hp-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 2.6em;
}

.np-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    color: #10213f;
    text-decoration: none;
}

.np-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-top: auto;
    padding-top: .7rem;
}

.np-seller {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    font-size: .8rem;
    font-weight: 600;
    color: #4d5d78;
}

.np-seller img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--hp-blue);
}

.np-seller span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.np-go {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--hp-blue);
    text-decoration: none;
    transition: background .2s, color .2s, transform .25s;
}

.np-card:hover .np-go {
    background: var(--hp-blue);
    color: #fff;
    transform: rotate(-45deg);
}

@media (max-width: 575.98px) {
    .np-sec {
        padding: 2.5rem 0 2rem;
    }

    .np-arrow {
        width: 38px;
        height: 38px;
    }

    .np-head p {
        display: none;
    }
}

/* =========================================================
   SHARED (ads / services / profiles)
========================================================= */
.sc-sec {
    padding: 2.5rem 0 1.5rem;
}

.sc-head {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hp-line);
}

.sc-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 90px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--hp-blue), var(--hp-orange));
}

.sc-eyebrow {
    display: block;
    margin-bottom: .2rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hp-orange);
}

.sc-head h2 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .sc-head h2 {
    color: #fff;
}

.sc-arrows {
    display: flex;
    gap: .5rem;
}

.sc-arrow {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #d3def0;
    border-radius: 50%;
    background: #fff;
    color: var(--hp-navy);
    box-shadow: 0 4px 12px rgba(4, 40, 94, .08);
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.sc-arrow:hover {
    background: var(--hp-blue);
    border-color: var(--hp-blue);
    color: #fff;
    transform: translateY(-2px);
}

.sc-arrow.swiper-button-disabled {
    opacity: .4;
    pointer-events: none;
}

.sc-slider {
    margin: -10px -6px;
    padding: 10px 6px 26px;
}

.sc-slider .swiper-slide {
    height: auto;
}

.sc-ell {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
}

.sc-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .sc-arrow {
        width: 38px;
        height: 38px;
    }
}

/* =========================================================
   4. ADVERTISEMENTS (poster cards) - white bg
========================================================= */
.pz-sec {
    background: linear-gradient(180deg, rgba(10, 108, 240, .08), rgba(10, 108, 240, 0));
}

.pz-card,
.pz-card:hover {
    text-decoration: none !important;
}

.pz-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 1.4rem;
    background: #dfe7f5;
    color: #fff;
    /* box-shadow: 0 10px 26px rgba(4, 40, 94, .14); */
    transition: transform .25s, box-shadow .25s;
}

.pz-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(3, 28, 66, .93));
}

.pz-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.pz-card:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 20px 40px rgba(4, 40, 94, .28); */
}

.pz-card:hover .pz-img {
    transform: scale(1.09);
}

.pz-tag {
    position: absolute;
    top: .8rem;
    left: .8rem;
    z-index: 2;
    max-width: 75%;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .93);
    color: var(--hp-navy);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pz-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem;
}

.pz-info h3 {
    margin: 0 0 .75rem;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}

.pz-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 600;
    color: #dbe7fb;
}

.pz-meta img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 2px solid #fff;
}

.pz-meta span {
    flex: 1;
}

.pz-go {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--hp-orange);
    color: #fff;
    transition: transform .25s;
}

.pz-card:hover .pz-go {
    transform: rotate(-45deg);
}

/* =========================================================
   5. SERVICES - soft blue bg
========================================================= */
.sx-sec {
    background: linear-gradient(180deg, rgba(10, 108, 240, .08), rgba(10, 108, 240, 0));
}

.sx-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 1.4rem;
    background: var(--hp-card);
    /* box-shadow: 0 6px 20px rgba(4, 40, 94, .06); */
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.sx-card:hover {
    transform: translateY(-6px);
    border-color: #c6d9f7;
    /* box-shadow: 0 18px 38px rgba(10, 108, 240, .18); */
}

.sx-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f8;
}

.sx-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s;
}

.sx-card:hover .sx-media img {
    transform: scale(1.08);
}

.sx-who {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: .6rem;
    margin-top: -26px;
    padding: 0 1.1rem;
}

.sx-who img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 3px solid #fff;
    background: #fff;
    box-shadow: 0 4px 12px rgba(4, 40, 94, .22);
}

.sx-who span {
    padding-bottom: .2rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--hp-muted);
}

.sx-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding: .7rem 1.1rem 1.1rem;
}

.sx-cat {
    align-self: flex-start;
    max-width: 100%;
    padding: .15rem .6rem;
    border-radius: 999px;
    background: #eaf2ff;
    color: var(--hp-blue);
    font-size: .7rem;
    font-weight: 700;
}

.sx-title {
    margin: 0;
    min-height: 2.6em;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.sx-title a {
    color: var(--hp-ink);
    text-decoration: none;
}

.sx-card:hover .sx-title a {
    color: var(--hp-blue);
}

.sx-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-top: auto;
    padding-top: .8rem;
    border-top: 1px dashed var(--hp-line);
}

.sx-price small {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    color: var(--hp-muted);
}

.sx-price b {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .sx-price b {
    color: #fff;
}

.sx-price b i {
    font-style: normal;
    color: var(--hp-orange);
}

.sx-btn,
.sx-btn:hover {
    text-decoration: none !important;
}

.sx-btn {
    padding: .45rem 1rem;
    border: 1.5px solid var(--hp-blue);
    border-radius: 999px;
    color: var(--hp-blue);
    font-size: .8rem;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.sx-card:hover .sx-btn {
    background: var(--hp-blue);
    color: #fff;
}

/* =========================================================
   6. BUSINESS PROFILES - warm bg
========================================================= */
.bz-sec {
    background: linear-gradient(180deg, rgba(255, 111, 15, .08), rgba(255, 111, 15, 0));
    padding-bottom: 2.5rem;
}

.bz-card {
    height: 100%;
    overflow: hidden;
    text-align: center;
    border: 1px solid #f1e3d6;
    border-radius: 1.4rem;
    background: var(--hp-card);
    /* box-shadow: 0 6px 20px rgba(4, 40, 94, .06); */
    transition: transform .25s, box-shadow .25s;
}

.bz-card:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 18px 38px rgba(255, 111, 15, .2); */
}

.bz-cover {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #0a3a82, var(--hp-blue));
}

.bz-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s;
}

.bz-card:hover .bz-cover img {
    transform: scale(1.08);
}

.bz-logo {
    position: relative;
    z-index: 2;
    display: block;
    width: 68px;
    height: 68px;
    margin: -34px auto 0;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 6px 16px rgba(4, 40, 94, .25);
}

.bz-body {
    padding: .6rem 1rem 1.15rem;
}

.bz-name {
    margin: 0 0 .25rem;
    font-size: 1.02rem;
    font-weight: 800;
}

.bz-name a {
    display: block;
    color: var(--hp-navy);
    text-decoration: none;
}

[data-bs-theme="dark"] .bz-name a {
    color: #fff;
}

.bz-loc {
    margin: 0 0 .85rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--hp-muted);
}

.bz-btn,
.bz-btn:hover {
    text-decoration: none !important;
}

.bz-btn {
    display: inline-block;
    padding: .45rem 1.3rem;
    border-radius: 999px;
    background: #fff3ea;
    color: var(--hp-orange-dark);
    font-size: .8rem;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.bz-card:hover .bz-btn {
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark));
    color: #fff;
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {

    .hm-tile,
    .hm-tile img,
    .hm-slide__btn,
    .cx-item,
    .cx-ring,
    .cx-toggle svg,
    .np-card,
    .np-media img,
    .np-go,
    .np-arrow,
    .pz-card,
    .pz-img,
    .sx-card,
    .sx-media img,
    .bz-card,
    .bz-cover img,
    .sc-arrow {
        transition: none !important;
    }
}


/* =========================================================
   HEADER - TheBizNetwork.in (dark navy + white logo box)
   Navy #04285e | Blue #0a6cf0 | Orange #ff6f0f
========================================================= */

.tb-header,
.tb-header.bg-dark {
    background: linear-gradient(135deg, var(--hp-navy-dark) 0%, var(--hp-navy) 55%, #052d6a 100%);
    box-shadow: 0 6px 22px rgba(3, 28, 66, .35);
}

.tb-header.navbar-stuck {
    box-shadow: 0 10px 28px rgba(3, 28, 66, .5);
}

/* ---------- Logo: white square box ---------- */
.tb-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: .35rem .7rem;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25), 0 0 0 3px rgba(255, 255, 255, .15);
    transition: transform .2s, box-shadow .2s;
}

.tb-header .navbar-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .3), 0 0 0 3px rgba(255, 111, 15, .45);
}

.tb-header .navbar-brand img {
    display: block;
    max-height: 46px !important;
    width: auto;
}

@media (max-width: 575.98px) {
    .tb-header .navbar-brand {
        padding: .25rem .5rem;
        border-radius: .7rem;
    }

    .tb-header .navbar-brand img {
        max-height: 30px !important;
    }
}

/* ---------- Toggler ---------- */
.tb-header .navbar-toggler {
    color: #fff;
}

.navbar-toggler-icon,
.navbar-toggler-icon:after,
.navbar-toggler-icon:before {
    background-color: #fff;
}

/* ---------- Search ---------- */
.tb-header #desktopSearchInput,
.tb-header #mobileSearchInput {
    background: #fff;
    color: #04285e;
    border: 1px solid transparent !important;
    transition: border-color .2s, box-shadow .2s;
}

.tb-header #desktopSearchInput::placeholder,
.tb-header #mobileSearchInput::placeholder {
    color: #6b7a94;
}

.tb-header #desktopSearchInput:focus,
.tb-header #mobileSearchInput:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 .22rem rgba(255, 111, 15, .28);
}

.tb-header .ci-search {
    color: #ffffff;
}

.tb-header #searchBar {
    background: #04285e !important;
    /* border-bottom: 3px solid #ff6f0f; */
    box-shadow: 0 10px 24px rgba(3, 28, 66, .35);
}

/* ---------- Icon buttons ---------- */

/* ---------- Icon buttons ---------- */
.tb-header .btn-icon.btn-secondary {
    background: #ff6f0f;
    border: 1.5px solid #ff6f0f !important;
    color: #fff;
    width: auto;
    backdrop-filter: blur(6px);
    transition: background .2s, transform .2s, box-shadow .2s;
    padding: .6rem;
    gap: 5px;
    align-items: center;
}

.tb-header .btn-icon.btn-secondary:hover,
.tb-header .btn-icon.btn-secondary:focus-visible {
    background: #004eb1;
    border-color: #004eb1 !important;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(10, 108, 240, .3);
}


/* ---------- CTA buttons (Business Info / Join as Agent / Join as Business) ---------- */
.tb-cta {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.tb-header .tb-cta-btn {
    white-space: nowrap;
}

.tb-cta-ico,
.tb-cta-txt {
    display: inline-flex;
    align-items: center;
}

/* desktop: same compact pills as before */
.tb-cta-txt small,
.tb-cta-arrow {
    display: none;
}

/* mobile offcanvas: full-width cards */
@media (max-width: 991.98px) {
    .tb-cta {
        flex-direction: column;
        align-items: stretch;
        gap: .65rem;
    }

    .tb-header .tb-cta .tb-cta-btn {
        display: flex;
        align-items: center;
        gap: .8rem;
        width: 100%;
        height: auto;
        padding: .7rem .85rem;
        border-radius: 14px;
        text-align: left;
        font-size: 1rem;
        box-shadow: 0 6px 16px rgba(4, 40, 94, .12);
        animation: none;
    }

    .tb-header .tb-cta .tb-cta-btn:hover,
    .tb-header .tb-cta .tb-cta-btn:focus-visible {
        transform: none;
    }

    .tb-cta-ico {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        justify-content: center;
        border-radius: 11px;
        background: rgba(255, 255, 255, .2);
    }

    .tb-cta-txt {
        flex: 1;
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.2;
        font-weight: 700;
    }

    .tb-cta-txt small {
        display: block;
        margin-top: 3px;
        font-size: .75rem;
        font-weight: 500;
        opacity: .85;
        white-space: normal;
    }

    .tb-cta-arrow {
        display: inline-block;
        font-size: 1.1rem;
        opacity: .8;
    }

    /* three distinct colours */
    .tb-header .tb-cta .tb-cta-info {
        background: linear-gradient(120deg, #962fbf, #d62976 55%, #fa7e1e);
        border-color: transparent !important;
    }

    .tb-header .tb-cta .tb-cta-agent {
        background: linear-gradient(120deg, #04285e, #0a6cf0);
        border-color: transparent !important;
    }

    .tb-header .tb-cta .tb-cta-biz {
        background: linear-gradient(120deg, #ee5d00, #ff8a3c);
        border-color: transparent !important;
    }
}

/* ---------- Categories button ---------- */
.tb-header .dropdown>.cursor-pointer .btn-secondary,
.tb-header .dropdown>.btn-secondary {
    background: linear-gradient(135deg, #ff8a3c, #ee5d00);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
    transition: background .25s, box-shadow .25s;
}

.tb-header .dropdown>.cursor-pointer:hover .btn-secondary,
.tb-header .dropdown>.btn-secondary:hover,
.tb-header .dropdown.show>.btn-secondary {
    background: #004eb1;
    box-shadow: 0 8px 18px rgba(10, 108, 240, .3);
}

/* ---------- Top menu links ---------- */
.tb-header .navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    color: #04285e;
    /* mobile offcanvas (white bg) */
    transition: color .2s;
}

@media (min-width: 992px) {
    .tb-header .navbar-nav .nav-link {
        color: #fff;
        /* desktop (dark bg) */
    }

    .tb-header .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: .35rem;
        width: 0;
        height: 2px;
        /* border-radius: 2px; */
        /* background: #ff6f0f; */
        transform: translateX(-50%);
        transition: width .25s;
    }

    .tb-header .navbar-nav .nav-link:hover,
    .tb-header .navbar-nav .nav-link.active {
        color: #ff8a3c;
    }

    .tb-header .navbar-nav .nav-link:hover::after,
    .tb-header .navbar-nav .nav-link.active::after {
        width: 55%;
    }
}

@media (max-width: 991.98px) {

    .tb-header .navbar-nav .nav-link:hover,
    .tb-header .navbar-nav .nav-link.active {
        color: #ff6f0f;
    }
}

/* ---------- Search suggestions ---------- */
.tb-header #desktopSearchSuggestions,
.tb-header #mobileSearchSuggestions {
    border-radius: 1rem;
    overflow-y: auto;
    border: 1px solid #d3def0;
    box-shadow: 0 14px 30px rgba(3, 28, 66, .3) !important;
}

@media (prefers-reduced-motion: reduce) {

    .tb-header .btn-icon.btn-secondary,
    .tb-header .navbar-brand,
    .tb-header .navbar-nav .nav-link::after {
        transition: none !important;
    }
}

/* round thumbnails */
.mm-thumb {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #eef2f8;
    box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(4, 40, 94, .18);
}

.mm-thumb-lg {
    width: 36px;
    height: 36px
}

.mm-thumb-xl {
    width: 48px;
    height: 48px
}

/* letter avatar when image is missing */
.mm-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    background: linear-gradient(135deg, #0a3a82, #0a6cf0)
}

.mm-thumb-xl.mm-fallback {
    font-size: 1.2rem
}

.mm-thumb-lg.mm-fallback {
    font-size: 1rem
}

/* category rows */
.mm-cat .dropdown-item {
    border-radius: .75rem;
    padding: 0px 10px;
    margin: 0px;
}

.mm-cat:hover>div,
.mm-cat .dropdown-item:hover {
    background: var(--cz-tertiary-bg, #f3f5f9)
}

/* sub category rows */
.mm-sub {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: 0px;
    border-radius: .75rem;
    color: var(--cz-body-color, #2b3445);
    text-decoration: none;
    line-height: 1.25;
    transition: background .15s, transform .15s
}

.mm-sub:hover {
    background: var(--cz-tertiary-bg, #f3f5f9);
    color: #0a6cf0;
    transform: translateX(2px)
}

.mm-sub span {
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-height: 2.5em;
    /* 2 lines x line-height 1.25 */
    word-break: break-word
}

.mm-col {
    min-width: 220px;
    max-width: 260px
}

/* category list: fixed height + scroller */
.mm-cat-scroll {
    max-height: min(440px, 70vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #b9c6dc transparent
}

.mm-cat-scroll::-webkit-scrollbar {
    width: 6px
}

.mm-cat-scroll::-webkit-scrollbar-thumb {
    background: #b9c6dc;
    border-radius: 6px
}

.mm-cat-scroll::-webkit-scrollbar-thumb:hover {
    background: #0a6cf0
}

.mm-preview img {
    object-fit: cover;
    transition: opacity .2s ease
}

@media (min-width: 992px) {
    .mm-cat>.dropdown-menu {
        position: absolute;
        /* list ke RIGHT side me (pehle list ke upar aa raha tha) */
        top: 1rem;
        right: auto;
        left: 100%;
        margin: 0 0 0 .3125rem;
        display: block;
        /* JS ki .show class par depend nahi */
        visibility: hidden;
        opacity: 0;
        min-height: 420px;
        z-index: 1050;
        transition: opacity .15s ease .25s, visibility 0s linear .25s
    }

    .mm-cat:hover>.dropdown-menu {
        /* submenu par hover bhi li:hover maana jata hai */
        visibility: visible;
        opacity: 1;
        z-index: 1051;
        transition: opacity .12s ease 0s, visibility 0s
    }
}

@media (min-width: 1200px) {
    .mm-cat>.dropdown-menu {
        min-width: 820px
            /* sab submenu same size, purana panel jhalakta nahi */
    }
}

/* theme ki link styles ko override: icon LEFT me, naam RIGHT me, underline nahi */
.mm-cat .mm-sub {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-decoration: none !important
}

.mm-cat .mm-sub:hover {
    text-decoration: none !important
}

/* =========================================================
   MOBILE / TABLET (< 992px): submenu accordion style me
========================================================= */
@media (max-width: 991.98px) {

    /* list ki height thodi control me */
    .mm-cat-scroll {
        max-height: 55vh;
        padding-right: 2px;
    }

    /* submenu: floating nahi, row ke neeche inline khule */
    .mm-cat>.dropdown-menu {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: .15rem 0 .6rem !important;
        padding: .75rem !important;
        border: 0;
        border-radius: 1rem;
        background: var(--cz-tertiary-bg, #f3f5f9);
        box-shadow: none;
        animation: none !important;
        visibility: visible;
        opacity: 1;
    }

    /* submenu ka andar ka layout: single column */
    .mm-cat>.dropdown-menu .mm-col {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .mm-cat>.dropdown-menu .mm-thumb-xl {
        width: 40px;
        height: 40px;
    }

    .mm-sub {
        padding: .5rem .6rem;
        background: #fff;
    }

    .mm-sub:hover {
        transform: none;
    }

    /* sub-categories ke beech thoda gap */
    .mm-cat>.dropdown-menu .nav.flex-column {
        gap: .35rem !important;
    }

    /* khulne par chevron ghume */
    .mm-cat>div .ci-chevron-down {
        transition: transform .25s;
    }

    .mm-cat>div[aria-expanded="true"] .ci-chevron-down {
        transform: rotate(180deg);
    }

    /* touch par sticky hover background na rahe */
    .mm-cat:hover>div {
        background: transparent;
    }

    .mm-cat>div[aria-expanded="true"] {
        background: var(--cz-tertiary-bg, #f3f5f9);
    }
}

@media (max-width: 991.98px) {

    /* Heading (naam + count + View all) mobile par hide */
    .mm-cat>.dropdown-menu .border-bottom {
        display: none !important;
    }

    /* Submenu ko category row se jodo: upar ka gap hatao, left line lagao */
    .mm-cat>.dropdown-menu {
        margin: 0 0 .6rem .9rem !important;
        padding: 0 0 .2rem .75rem !important;
        background: transparent !important;
        border-left: 2px solid var(--hp-orange, #ff6f0f);
        border-radius: 0 !important;
    }

    /* Khuli hui category row ko highlight, neeche se submenu start dikhe */
    .mm-cat>div[aria-expanded="true"] {
        background: #fff3ea;
        border-radius: .75rem;
    }

    .mm-cat>div[aria-expanded="true"] .dropdown-item {
        color: var(--hp-orange-dark, #ee5d00);
        font-weight: 700;
    }

    /* Subcategory rows: clean, full width */
    .mm-cat>.dropdown-menu .mm-sub {
        /* background: #f3f7ff; */
        padding: 0px 5px;
    }

    .mm-cat>.dropdown-menu .mm-sub .mm-thumb {
        width: 26px;
        height: 26px;
    }
}

.tb-footer {
    background: linear-gradient(135deg, var(--hp-navy-dark) 0%, var(--hp-navy) 55%, #052d6a 100%);
}

/* ---------- Search suggestions: custom scrollbar ---------- */
.tb-header #desktopSearchSuggestions,
.tb-header #mobileSearchSuggestions {
    background: #fff !important;
    padding: .4rem .3rem .4rem .4rem;
    overscroll-behavior: contain;
}

/* Chrome / Edge / Safari */
.tb-header #desktopSearchSuggestions::-webkit-scrollbar,
.tb-header #mobileSearchSuggestions::-webkit-scrollbar {
    width: 8px;
}

.tb-header #desktopSearchSuggestions::-webkit-scrollbar-track,
.tb-header #mobileSearchSuggestions::-webkit-scrollbar-track {
    margin: .6rem 0;
    /* rounded corners se thoda andar */
    border-radius: 8px;
    background: #eaf2ff;
}

.tb-header #desktopSearchSuggestions::-webkit-scrollbar-thumb,
.tb-header #mobileSearchSuggestions::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: linear-gradient(180deg, #0a6cf0, #ff6f0f);
    border: 2px solid #eaf2ff;
}

.tb-header #desktopSearchSuggestions::-webkit-scrollbar-thumb:hover,
.tb-header #mobileSearchSuggestions::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #04285e, #ee5d00);
}

/* ---------- Suggestion rows ko bhi thoda saaf karo ---------- */
.tb-header #desktopSearchSuggestions .list-group-item,
.tb-header #mobileSearchSuggestions .list-group-item {
    border: 0;
    border-radius: .75rem;
    margin-bottom: .2rem;
    color: #10213f;
    transition: background .15s;
}

.tb-header #desktopSearchSuggestions .list-group-item:hover,
.tb-header #mobileSearchSuggestions .list-group-item:hover {
    background: #eaf2ff;
    color: #0a6cf0;
}

.tb-header #desktopSearchSuggestions .list-group-item:last-child,
.tb-header #mobileSearchSuggestions .list-group-item:last-child {
    margin-bottom: 0;
}

/* =========================================================
   AGENT BUTTON (navbar ke right side)
========================================================= */
.tb-header .tb-agent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0rem;
    padding: .6rem;
    border: 0;
    background: linear-gradient(135deg, rgb(249 113 23), rgb(238, 93, 0));
    color: #fff;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(255, 111, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: background .25s, box-shadow .25s, transform .2s;
}

.tb-header .tb-agent-btn::after{
    content: "";
    display: none;
}

/* icon: round badge */
.tb-header .tb-agent-btn i {
    width: 32px;
    height: 32px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .25s, transform .3s;
}

.tb-header .tb-agent-btn span {
    margin: 0;
}

/* chhota arrow */
.tb-header .tb-agent-btn::after {
    content: "";
    width: .45rem;
    height: .45rem;
    margin-left: .1rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s;
}

/* hover / focus */
.tb-header .tb-agent-btn:hover,
.tb-header .tb-agent-btn:focus-visible,
.tb-header .tb-agent-btn:active {
    background: linear-gradient(135deg, #0a6cf0, #004eb1);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(10, 108, 240, .4), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.tb-header .tb-agent-btn:hover i {
    transform: scale(1.08);
}

.tb-header .tb-agent-btn:hover::after {
    transform: rotate(45deg) translate(2px, -2px);
}

.tb-header .tb-agent-btn:active {
    transform: translateY(0);
}

.tb-header .tb-agent-btn:focus-visible {
    outline: 3px solid rgba(10, 108, 240, .45);
    outline-offset: 3px;
}

/* ---------- Tablet / Mobile (offcanvas) ---------- */
@media (max-width: 991.98px) {
    .tb-header .tb-agent-btn {
        width: 100%;
        margin-top: .25rem;
        border-radius: 8px !important;
    }
}

/* ---------- Small phones ---------- */
@media (max-width: 575.98px) {
    .tb-header .tb-agent-btn {
        font-size: .95rem;
    }

    .tb-header .tb-agent-btn i {
        width: 30px;
        height: 30px;
    }
}

/* ---------- Large screens: thoda bada ---------- */
@media (min-width: 1400px) {
    .tb-header .tb-agent-btn {
        padding: .65rem 1.6rem .65rem .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tb-header .tb-agent-btn,
    .tb-header .tb-agent-btn i,
    .tb-header .tb-agent-btn::after {
        transition: none !important;
    }
}

/* =========================================================
   7. HOME POPUP MODAL
========================================================= */
.pm-modal .modal-dialog {
    max-width: 700px;
    margin-inline: auto;
    padding-inline: .20rem;
}

.pm-content {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 1.5rem;
    background: var(--hp-card, #fff);
    box-shadow: 0 30px 70px rgba(3, 28, 66, .45);
}

/* image */
.pm-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #0a3a82, var(--hp-blue, #0a6cf0));
}

.pm-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.pm-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hp-blue, #0a6cf0), var(--hp-orange, #ff6f0f));
}

/* close button */
.pm-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--hp-navy, #04285e);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    transition: background .2s, color .2s, transform .2s;
}

.pm-close:hover {
    background: var(--hp-orange, #ff6f0f);
    color: #fff;
    transform: rotate(90deg);
}

/* text */
.pm-body {
    padding: 1.4rem 1.5rem 1.6rem;
    text-align: center;
}

.pm-title {
    margin: 0 0 .5rem;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--hp-navy, #04285e);
}

[data-bs-theme="dark"] .pm-title {
    color: #fff;
}

.pm-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin: 0 0 1.2rem;
    font-size: .92rem;
    line-height: 1.5;
    color: var(--hp-muted, #6b7a94);
}

.pm-btn,
.pm-btn:hover {
    text-decoration: none !important;
}

.pm-btn {
    display: inline-block;
    padding: .6rem 1.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark, #ee5d00));
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    box-shadow: 0 8px 18px rgba(255, 111, 15, .4);
    transition: background .2s, transform .2s, box-shadow .2s;
}

.pm-btn:hover {
    background: linear-gradient(135deg, var(--hp-blue, #0a6cf0), var(--hp-navy, #04285e));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(10, 108, 240, .4);
}

/* backdrop thoda dark navy */
.modal-backdrop.show {
    --bs-backdrop-bg: #031c42;
    --bs-backdrop-opacity: .65;
}

/* mobile */
@media (max-width: 575.98px) {
    .pm-content {
        border-radius: 1.2rem;
    }

    .pm-body {
        padding: 1.1rem 1.1rem 1.3rem;
    }

    .pm-title {
        font-size: 1.12rem;
    }

    .pm-desc {
        font-size: .86rem;
    }

    .pm-btn {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pm-close,
    .pm-btn {
        transition: none !important;
    }
}

/* =========================================================
   CATEGORY PAGE (prefix: cp-)
========================================================= */

/* ---------- Hero ---------- */
.cp-hero {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 2.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--hp-navy-dark) 0%, var(--hp-navy) 55%, #0a3a82 100%);
    margin-top: 0px;
    border-top: 1px dashed #ee5d00;
}

.cp-hero::before,
.cp-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cp-hero::before {
    width: 460px;
    height: 460px;
    right: -150px;
    top: -200px;
    background: radial-gradient(circle, rgba(10, 108, 240, .55), transparent 70%);
}

.cp-hero::after {
    width: 300px;
    height: 300px;
    left: -110px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(255, 111, 15, .4), transparent 70%);
}

.cp-hero .container {
    position: relative;
    z-index: 1;
}

/* breadcrumb */
.cp-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
    font-size: .82rem;
    font-weight: 600;
}

.cp-crumb li {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #b9cbea;
}

.cp-crumb li+li::before {
    content: "";
    width: .4rem;
    height: .4rem;
    border-top: 2px solid rgba(255, 255, 255, .45);
    border-right: 2px solid rgba(255, 255, 255, .45);
    transform: rotate(45deg);
    margin-right: .3rem;
}

.cp-crumb a {
    color: #dbe7fb;
    text-decoration: none;
    transition: color .2s;
}

.cp-crumb a:hover {
    color: var(--hp-orange);
}

.cp-crumb li:last-child span {
    color: #fff;
}

.cp-eyebrow {
    display: block;
    margin-bottom: .25rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffb27a;
}

.cp-title {
    position: relative;
    margin: 0 0 1rem;
    padding-bottom: .6rem;
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.5rem, 3.6vw, 2.4rem);
    line-height: 1.15;
}

.cp-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--hp-orange);
}

.cp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.cp-stats span {
    padding: .3rem .85rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
    font-size: .8rem;
    font-weight: 600;
    color: #dbe7fb;
}

.cp-stats b {
    color: #fff;
    font-weight: 800;
}

/* ---------- Listing section ---------- */
.cp-sec {
    padding: 1.75rem 0 3rem;
    background: linear-gradient(180deg, rgba(10, 108, 240, .06), rgba(10, 108, 240, 0) 320px);
}

/* ---------- Pill tabs ---------- */
.cp-tabs {
    display: flex;
    gap: .5rem;
    margin: 0 0 1.5rem;
    padding: .4rem;
    list-style: none;
    overflow-x: auto;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    background: var(--hp-card);
    box-shadow: 0 8px 24px rgba(4, 40, 94, .07);
    scrollbar-width: none;
}

.cp-tabs::-webkit-scrollbar {
    display: none;
}

.cp-tabs li {
    flex: 0 0 auto;
}

.cp-tab {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--hp-ink);
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s, color .2s, box-shadow .2s;
}

.cp-tab:hover {
    color: var(--hp-blue);
    background: #eaf2ff;
}

.cp-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark));
    box-shadow: 0 8px 18px rgba(255, 111, 15, .35);
}

.cp-count {
    min-width: 1.5rem;
    padding: .1rem .5rem;
    border-radius: 999px;
    background: #eaf2ff;
    color: var(--hp-blue);
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
}

.cp-tab.active .cp-count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

[data-bs-theme="dark"] .cp-tab:hover {
    background: rgba(255, 255, 255, .08);
}

/* ---------- Empty state ---------- */
.cp-empty {
    padding: 3rem 1rem;
    text-align: center;
    border: 2px dashed var(--hp-line);
    border-radius: 1.5rem;
    background: var(--hp-card);
}

.cp-empty__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaf2ff, #fff3ea);
    color: var(--hp-blue);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(10, 108, 240, .15);
}

.cp-empty h5 {
    margin: 0 0 .25rem;
    font-weight: 800;
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .cp-empty h5 {
    color: #fff;
}

.cp-empty p {
    margin: 0;
    font-size: .9rem;
    color: var(--hp-muted);
}

/* ---------- Pagination ---------- */
.cp-pager {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

.cp-pager nav>div:first-child {
    display: none;
    /* "Showing x to y" wali line (Laravel default view) */
}

.cp-pager .pagination {
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

.cp-pager .page-link {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #d3def0;
    border-radius: 50% !important;
    background: var(--hp-card);
    color: var(--hp-navy);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(4, 40, 94, .06);
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.cp-pager .page-link:hover {
    background: var(--hp-blue);
    border-color: var(--hp-blue);
    color: #fff;
    transform: translateY(-2px);
}

.cp-pager .page-item.active .page-link {
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 111, 15, .4);
}

.cp-pager .page-item.disabled .page-link {
    opacity: .45;
    pointer-events: none;
}

/* ---------- Mobile ---------- */
@media (max-width: 575.98px) {
    .cp-hero {
        padding: 1.75rem 0 1.5rem;
    }

    .cp-tab {
        padding: .5rem .95rem;
        font-size: .82rem;
    }

    .cp-pager .page-link {
        min-width: 38px;
        height: 38px;
    }

    /* 2 column me cards chhote dikhein */
    .cp-sec .np-price {
        font-size: .88rem;
        padding: .3rem .65rem;
    }

    .cp-sec .np-title,
    .cp-sec .sx-title {
        font-size: .9rem;
    }

    .cp-sec .sx-row {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cp-tab,
    .cp-pager .page-link,
    .cp-crumb a {
        transition: none !important;
    }
}

/* =========================================================
   CATEGORY PAGE FIX: breadcrumb + tabs (sabse neeche paste karein)
========================================================= */

/* ---------- Breadcrumb: ek line, left aligned ---------- */
.cp-hero nav {
    display: block !important;
    width: 100%;
    text-align: left !important;
}

.cp-hero .cp-crumb {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: .4rem !important;
    width: 100%;
    margin: 0 0 1.1rem !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: left !important;
}

.cp-hero .cp-crumb li {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: .4rem !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* purani tirchi line hatao, sirf "/" dikhao */
.cp-hero .cp-crumb li::before {
    content: none !important;
}

.cp-hero .cp-crumb li+li::before {
    content: "/" !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border: 0 !important;
    transform: none !important;
    color: rgba(255, 255, 255, .45) !important;
}

/* ---------- Tabs: ek row, teen barabar ---------- */
.cp-sec .cp-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: .4rem !important;
    width: 100%;
    margin: 0 0 1.5rem !important;
    padding: .4rem !important;
    list-style: none !important;
    overflow: visible !important;
}

.cp-sec .cp-tabs>li {
    display: block !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cp-sec .cp-tabs .cp-tab {
    width: 100% !important;
    height: 100%;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .5rem !important;
}

/* mobile: naam upar, count neeche */
@media (max-width: 575.98px) {
    .cp-sec .cp-tabs {
        gap: .25rem !important;
        padding: .3rem !important;
    }

    .cp-sec .cp-tabs .cp-tab {
        flex-direction: column !important;
        gap: .2rem !important;
        padding: .5rem .2rem !important;
        font-size: .74rem;
    }
}

/* =========================================================
   PRODUCTS PAGE extras (Load More + skeleton)
========================================================= */

/* ---------- Load more ---------- */
.cp-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding-top: 2.25rem;
}

.cp-more__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-width: 190px;
    padding: .75rem 2rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark));
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(255, 111, 15, .4);
    transition: background .2s, transform .2s, box-shadow .2s;
}

.cp-more__btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-navy));
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(10, 108, 240, .4);
}

.cp-more__btn:disabled {
    opacity: .75;
    cursor: wait;
}

.cp-more__end {
    margin: 0;
    padding: .45rem 1.2rem;
    border: 1px dashed var(--hp-line);
    border-radius: 999px;
    background: var(--hp-card);
    font-size: .85rem;
    font-weight: 600;
    color: var(--hp-muted);
}

.cp-spin {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cp-rot .7s linear infinite;
}

@keyframes cp-rot {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Skeleton card ---------- */
.cp-skel {
    padding: .6rem;
    border-radius: 1.5rem;
    background: var(--hp-card);
    box-shadow: 0 6px 20px rgba(4, 40, 94, .08);
}

.cp-skel__img,
.cp-skel__line {
    background: linear-gradient(90deg, #eef2f8 25%, #f8faff 50%, #eef2f8 75%);
    background-size: 200% 100%;
    animation: cp-shimmer 1.2s infinite;
}

.cp-skel__img {
    aspect-ratio: 1 / 1;
    border-radius: 1.05rem;
}

.cp-skel__line {
    height: 12px;
    margin: .8rem .55rem 0;
    border-radius: 6px;
}

.cp-skel__line:last-child {
    margin-bottom: .6rem;
}

@keyframes cp-shimmer {
    to {
        background-position: -200% 0;
    }
}

[data-bs-theme="dark"] .cp-skel__img,
[data-bs-theme="dark"] .cp-skel__line {
    background: linear-gradient(90deg, #1b2740 25%, #26344f 50%, #1b2740 75%);
    background-size: 200% 100%;
}

@media (max-width: 575.98px) {
    .cp-more__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-more__btn {
        transition: none !important;
    }

    .cp-spin,
    .cp-skel__img,
    .cp-skel__line {
        animation: none !important;
    }
}

/* Advertisements skeleton: poster shape (4:5) */
.cp-skel--poster {
    aspect-ratio: 4 / 5;
    padding: 0;
    border-radius: 1.4rem;
    background: linear-gradient(90deg, #eef2f8 25%, #f8faff 50%, #eef2f8 75%);
    background-size: 200% 100%;
    animation: cp-shimmer 1.2s infinite;
}

[data-bs-theme="dark"] .cp-skel--poster {
    background: linear-gradient(90deg, #1b2740 25%, #26344f 50%, #1b2740 75%);
    background-size: 200% 100%;
}

@media (prefers-reduced-motion: reduce) {
    .cp-skel--poster {
        animation: none !important;
    }
}

/* =========================================================
   CONTACT PAGE (prefix: ct-)
========================================================= */
.ct-sub {
    margin: 0 0 1rem;
    max-width: 560px;
    font-size: .95rem;
    color: var(--hp-muted);
}

/* ---------- Form + map wrapper ---------- */
.ct-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 1.5rem;
    background: var(--hp-card);
    box-shadow: 0 14px 40px rgba(4, 40, 94, .1);
}

.ct-form {
    padding: 2rem 2rem 2.2rem;
}

.ct-h {
    position: relative;
    margin: 0 0 1.5rem;
    padding-bottom: .55rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--hp-navy);
}

.ct-h::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--hp-blue), var(--hp-orange));
}

[data-bs-theme="dark"] .ct-h {
    color: #fff;
}

/* ---------- Fields ---------- */
.ct-field {
    margin-bottom: 1rem;
}

.ct-field label {
    display: block;
    margin-bottom: .35rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--hp-ink);
}

.ct-field label span {
    color: var(--hp-orange);
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    padding: .75rem 1.1rem;
    border: 1.5px solid #d3def0;
    border-radius: .9rem;
    background: #f6f9ff;
    color: var(--hp-ink);
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.ct-field textarea {
    resize: vertical;
    min-height: 130px;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #9fb0cc;
}

.ct-field input:focus,
.ct-field textarea:focus {
    outline: 0;
    background: #fff;
    border-color: var(--hp-blue);
    box-shadow: 0 0 0 .22rem rgba(10, 108, 240, .18);
}

.ct-field .is-invalid {
    border-color: #dc3545;
    background: #fff6f6;
}

.ct-field .invalid-feedback {
    display: block;
    min-height: 0;
    margin-top: .3rem;
    padding-left: .4rem;
    font-size: .78rem;
    color: #dc3545;
}

[data-bs-theme="dark"] .ct-field input,
[data-bs-theme="dark"] .ct-field textarea {
    background: #1b2740;
    border-color: #26344f;
    color: #e8eefb;
}

.ct-submit {
    margin-top: .5rem;
    border: 0;
}

/* ---------- Map ---------- */
.ct-map {
    position: relative;
    min-height: 360px;
    background: linear-gradient(135deg, #0a3a82, var(--hp-blue));
}

.ct-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ct-map__empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #fff;
    font-weight: 600;
}

.ct-map__empty i {
    font-size: 2rem;
}

/* ---------- Contact cards ---------- */
.ct-cards {
    margin-top: 1.5rem;
}

.ct-card {
    height: 100%;
    padding: 1.6rem 1.2rem;
    text-align: center;
    border: 1px solid var(--hp-line);
    border-radius: 1.4rem;
    background: var(--hp-card);
    box-shadow: 0 6px 20px rgba(4, 40, 94, .06);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.ct-card:hover {
    transform: translateY(-6px);
    border-color: #c6d9f7;
    box-shadow: 0 18px 38px rgba(10, 108, 240, .18);
}

.ct-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark));
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 8px 18px rgba(255, 111, 15, .35);
    transition: background .25s;
}

.ct-card:hover .ct-card__icon {
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-navy));
    box-shadow: 0 8px 18px rgba(10, 108, 240, .35);
}

.ct-card h3 {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .ct-card h3 {
    color: #fff;
}

.ct-card a,
.ct-card a:hover {
    text-decoration: none;
}

.ct-card a {
    font-weight: 600;
    color: var(--hp-blue);
}

.ct-card a:hover {
    color: var(--hp-orange-dark);
}

.ct-card p {
    margin: 0;
    font-size: .92rem;
    color: var(--hp-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ct-wrap {
        grid-template-columns: 1fr;
    }

    .ct-map {
        min-height: 280px;
    }
}

@media (max-width: 575.98px) {
    .ct-form {
        padding: 1.4rem 1.1rem 1.6rem;
    }

    .ct-wrap {
        border-radius: 1.2rem;
    }

    .ct-submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ct-card,
    .ct-card__icon,
    .ct-field input,
    .ct-field textarea {
        transition: none !important;
    }
}

/* =========================================================
   BUSINESS DETAILS PAGE (prefix: bp-)
========================================================= */

/* ---------- Hero ---------- */
.bp-hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.bp-logo {
    flex: 0 0 auto;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 1.4rem;
    background: #fff;
    color: var(--hp-muted);
    font-size: 2.4rem;
    box-shadow: 0 12px 28px rgba(4, 40, 94, .18);
}

.bp-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-info {
    min-width: 0;
}

.bp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .6rem;
}

.bp-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .8rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.bp-badge.is-ok {
    background: #e3f8ec;
    color: #12814a;
}

.bp-badge.is-wait {
    background: #fff3ea;
    color: var(--hp-orange-dark);
}

.bp-badge.is-off {
    background: #ffe9e9;
    color: #c42b2b;
}

.bp-name {
    margin: 0 0 .5rem;
    font-size: clamp(1.4rem, 3.4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    word-break: break-word;
}

[data-bs-theme="dark"] .bp-name {
    color: #fff;
}

.bp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.1rem;
    margin-bottom: .85rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--hp-muted);
}

.bp-meta i {
    margin-right: .3rem;
    color: var(--hp-blue);
}

/* ---------- Cards ---------- */
.bp-card {
    margin-bottom: 1.25rem;
    padding: 1.4rem 1.4rem 1.5rem;
    border: 1px solid var(--hp-line);
    border-radius: 1.4rem;
    background: var(--hp-card);
    box-shadow: 0 6px 20px rgba(4, 40, 94, .06);
}

.bp-card__title {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1.1rem;
    padding-bottom: .8rem;
    border-bottom: 1px dashed var(--hp-line);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .bp-card__title {
    color: #fff;
}

.bp-card__title i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--hp-blue);
    font-size: 1rem;
}

.bp-desc {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--hp-ink);
    overflow-wrap: anywhere;
}

.bp-desc img {
    max-width: 100%;
    height: auto;
    border-radius: .75rem;
}

.bp-empty {
    margin: 0;
    font-size: .9rem;
    color: var(--hp-muted);
}

/* ---------- Info items ---------- */
.bp-item {
    margin-bottom: 1rem;
}

.bp-item:last-child {
    margin-bottom: 0;
}

.bp-item__label {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .35rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hp-orange);
}

.bp-item p {
    margin: 0;
    font-size: .93rem;
    line-height: 1.55;
    color: var(--hp-ink);
}

.bp-item a {
    color: var(--hp-blue);
    text-decoration: none;
    font-weight: 600;
}

.bp-item a:hover {
    color: var(--hp-orange-dark);
}

.bp-divider {
    height: 1px;
    margin: 1.25rem 0;
    background: var(--hp-line);
}

/* timings */
.bp-time {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--hp-line);
    border-radius: .9rem;
    overflow: hidden;
}

.bp-time li {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem .9rem;
    font-size: .86rem;
}

.bp-time li:nth-child(odd) {
    background: #f6f9ff;
}

[data-bs-theme="dark"] .bp-time li:nth-child(odd) {
    background: #1b2740;
}

.bp-time b {
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .bp-time b {
    color: #fff;
}

.bp-time span {
    color: var(--hp-muted);
    white-space: nowrap;
}

/* chips */
.bp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.bp-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: #eaf2ff;
    color: var(--hp-blue);
    font-size: .8rem;
    font-weight: 700;
}

/* social */
.bp-social {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .25rem;
}

.bp-social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--hp-navy);
    color: #fff;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(4, 40, 94, .22);
    transition: background .2s, transform .2s;
}

.bp-social a:hover {
    background: var(--hp-orange);
    color: #fff;
    transform: translateY(-3px);
}

/* ---------- Gallery ---------- */
.bp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
}

.bp-gallery__item {
    position: relative;
    padding: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    background: #eef2f8;
    cursor: zoom-in;
}

.bp-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.bp-gallery__item span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(4, 40, 94, .55);
    color: #fff;
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity .25s;
}

.bp-gallery__item:hover img {
    transform: scale(1.1);
}

.bp-gallery__item:hover span {
    opacity: 1;
}

/* ---------- Documents ---------- */
.bp-docs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: .75rem;
}

.bp-doc {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem .9rem;
    border: 1px solid var(--hp-line);
    border-radius: 1rem;
    background: var(--hp-card);
    color: var(--hp-ink);
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.bp-doc:hover {
    transform: translateY(-3px);
    border-color: #c6d9f7;
    box-shadow: 0 12px 24px rgba(10, 108, 240, .15);
    color: var(--hp-blue);
}

.bp-doc__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: .8rem;
    background: #eaf2ff;
    color: var(--hp-blue);
    font-size: 1.15rem;
}

.bp-doc__icon.is-green {
    background: #e3f8ec;
    color: #12814a;
}

/* ---------- Sidebar ---------- */
.bp-side {
    position: sticky;
    top: 1rem;
}

.bp-wide {
    width: 100%;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.bp-video {
    display: block;
    width: 100%;
    border-radius: 1rem;
    background: #000;
}

.bp-actions {
    display: grid;
    gap: .6rem;
}

.bp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border: 1.5px solid;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
}

.bp-btn.is-green {
    border-color: #1fa463;
    color: #1fa463;
}

.bp-btn.is-green:hover {
    background: #1fa463;
    color: #fff;
    transform: translateY(-2px);
}

.bp-btn.is-blue {
    border-color: var(--hp-blue);
    color: var(--hp-blue);
}

.bp-btn.is-blue:hover {
    background: var(--hp-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Lightbox ---------- */
.bp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(3, 28, 66, .88);
}

.bp-lightbox.is-open {
    display: flex;
}

.bp-lightbox img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.bp-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--hp-navy);
    font-size: 1.6rem;
    line-height: 1;
    transition: background .2s, color .2s;
}

.bp-lightbox__close:hover {
    background: var(--hp-orange);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .bp-side {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .bp-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .bp-logo {
        width: 92px;
        height: 92px;
        border-radius: 1.1rem;
    }

    .bp-card {
        padding: 1.1rem 1rem 1.2rem;
        border-radius: 1.2rem;
    }

    .bp-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-docs {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .bp-social a,
    .bp-gallery__item img,
    .bp-gallery__item span,
    .bp-doc,
    .bp-btn {
        transition: none !important;
    }
}

/* =========================================================
   ABOUT US PAGE (prefix: ab-)
========================================================= */
/* =========================================================
   ABOUT US PAGE (prefix: ab-)  -  redesigned
   Purane "ABOUT US PAGE" wale poore block ko isse replace karo
========================================================= */
.ab-section {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.ab-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.25rem, 3.5vw, 2.75rem);
    border: 1px solid var(--hp-line, #e5e9f0);
    border-radius: 1.75rem;
    background: var(--hp-card, #fff);
    box-shadow: 0 20px 60px rgba(4, 40, 94, .10);
    overflow: hidden;
    isolation: isolate;
}

/* soft glow blobs in the background */
.ab-wrap::before,
.ab-wrap::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .18;
    pointer-events: none;
}

.ab-wrap::before {
    width: 280px;
    height: 280px;
    top: -90px;
    right: -70px;
    background: var(--hp-blue, #0d72ff);
}

.ab-wrap::after {
    width: 240px;
    height: 240px;
    bottom: -90px;
    left: -60px;
    background: var(--hp-orange, #ff8a1f);
}

/* ---------- Image ---------- */
.ab-media {
    position: relative;
    aspect-ratio: 4 / 4.4;
    min-height: 320px;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #0a3a82, var(--hp-blue, #0d72ff));
    box-shadow: 0 18px 40px rgba(4, 40, 94, .22);
}

/* offset gradient frame behind the image */
.ab-media::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(14px, 14px);
    border-radius: 1.4rem;
    border: 3px solid transparent;
    background: linear-gradient(135deg, var(--hp-blue, #0d72ff), var(--hp-orange, #ff8a1f)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.ab-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.4rem;
}

/* bottom accent line on the image */
.ab-media::after {
    content: "";
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 0;
    height: 5px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(90deg, var(--hp-blue, #0d72ff), var(--hp-orange, #ff8a1f));
}

/* ---------- Content ---------- */
.ab-body {
    align-self: center;
    min-width: 0;
}

.ab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    padding: .35rem .9rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hp-blue, #0d72ff);
    background: rgba(13, 114, 255, .09);
    border-radius: 999px;
}

.ab-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hp-orange, #ff8a1f);
}

.ab-h {
    position: relative;
    margin: 0 0 1.5rem;
    padding-bottom: .9rem;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.01em;
    color: var(--hp-navy, #0a2a5e);
}

.ab-h::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 5px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--hp-blue, #0d72ff), var(--hp-orange, #ff8a1f));
}

[data-bs-theme="dark"] .ab-h {
    color: #fff;
}

[data-bs-theme="dark"] .ab-eyebrow {
    background: rgba(13, 114, 255, .2);
    color: #8dbdff;
}

[data-bs-theme="dark"] .ab-wrap {
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.ab-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--hp-ink, #3b4558);
    overflow-wrap: anywhere;
}

.ab-desc p {
    margin-bottom: 1rem;
}

/* pehla paragraph thoda bada (intro jaisa) */
.ab-desc>p:first-of-type {
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--hp-navy, #0a2a5e);
}

[data-bs-theme="dark"] .ab-desc>p:first-of-type {
    color: #e6edf8;
}

.ab-desc h2,
.ab-desc h3,
.ab-desc h4 {
    margin: 1.5rem 0 .6rem;
    font-weight: 700;
    color: var(--hp-navy, #0a2a5e);
}

[data-bs-theme="dark"] .ab-desc h2,
[data-bs-theme="dark"] .ab-desc h3,
[data-bs-theme="dark"] .ab-desc h4 {
    color: #fff;
}

.ab-desc a {
    color: var(--hp-blue, #0d72ff);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* list ke liye check-style bullets */
.ab-desc ul {
    padding-left: 0;
    margin: 0 0 1rem;
    list-style: none;
}

.ab-desc ul li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: .5rem;
}

.ab-desc ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hp-blue, #0d72ff), var(--hp-orange, #ff8a1f));
}

.ab-desc ol {
    padding-left: 1.3rem;
    margin-bottom: 1rem;
}

.ab-desc blockquote {
    margin: 1.2rem 0;
    padding: .9rem 1.2rem;
    border-left: 4px solid var(--hp-orange, #ff8a1f);
    border-radius: 0 .75rem .75rem 0;
    background: rgba(13, 114, 255, .06);
    font-style: italic;
}

.ab-desc img {
    max-width: 100%;
    height: auto;
    border-radius: .9rem;
}

.ab-desc table {
    width: 100%;
    display: block;
    overflow-x: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ab-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ab-media {
        aspect-ratio: 16 / 10;
        min-height: 0;
        margin-right: 14px;
        margin-bottom: 14px;
    }
}

@media (max-width: 575.98px) {
    .ab-wrap {
        padding: 1rem;
        border-radius: 1.25rem;
    }

    .ab-media,
    .ab-media img,
    .ab-media::before {
        border-radius: 1rem;
    }

    .ab-desc {
        font-size: .95rem;
    }

    .ab-desc>p:first-of-type {
        font-size: 1.04rem;
    }
}
/* =========================================================
   About Us – extra sections (tbx-*)
   Add after the existing .ab-* CSS
   ========================================================= */

.tbx-sec {
    --tbx-blue: var(--hp-blue, #0d72ff);
    --tbx-orange: var(--hp-orange, #ff8a1f);
    --tbx-navy: var(--hp-navy, #0a2a5e);
    --tbx-ink: var(--hp-ink, #3b4558);
    --tbx-line: var(--hp-line, #e5e9f0);
    --tbx-card: var(--hp-card, #fff);
    --tbx-soft: #f4f8ff;
    padding: 0 0 clamp(1.5rem, 3.5vw, 2.5rem);
}

.tbx-sec-last {
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

[data-bs-theme="dark"] .tbx-sec {
    --tbx-navy: #ffffff;
    --tbx-ink: #c3cdde;
    --tbx-line: rgba(255, 255, 255, .1);
    --tbx-card: rgba(255, 255, 255, .04);
    --tbx-soft: rgba(13, 114, 255, .08);
}

.tbx-sec p,
.tbx-sec h2,
.tbx-sec h3 {
    margin: 0;
}

/* ---------- Kicker ---------- */
.tbx-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .32rem .85rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tbx-orange);
    background: rgba(255, 138, 31, .12);
    border-radius: 999px;
}

.tbx-kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ---------- Banner ---------- */
.tbx-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    padding: clamp(1.4rem, 3.5vw, 2.4rem);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #0a2a5e 0%, #0a3a82 55%, var(--tbx-blue) 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.tbx-banner::before,
.tbx-banner::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
}

.tbx-banner::before {
    width: 260px;
    height: 260px;
    right: -60px;
    top: -100px;
    background: var(--tbx-orange);
    opacity: .45;
}

.tbx-banner::after {
    width: 200px;
    height: 200px;
    left: 30%;
    bottom: -120px;
    background: #4da3ff;
    opacity: .35;
}

.tbx-banner .tbx-kicker {
    color: #ffd2a8;
    background: rgba(255, 255, 255, .12);
}

.tbx-banner-title {
    margin-top: .7rem !important;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.tbx-banner-title span {
    display: block;
    background: linear-gradient(90deg, #ffb46b, var(--tbx-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tbx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    max-width: 480px;
}

.tbx-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    font-size: .92rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    transition: transform .2s ease, background .2s ease;
}

.tbx-chip:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .2);
}

.tbx-chip-ico {
    font-size: 1.05rem;
    line-height: 1;
}

/* ---------- Mission & Vision ---------- */
.tbx-mv {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.tbx-mv-card {
    position: relative;
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--tbx-line);
    border-radius: 1.25rem;
    background: var(--tbx-card);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tbx-mv-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--tbx-blue);
}

.tbx-vision::before {
    background: var(--tbx-orange);
}

.tbx-mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(4, 40, 94, .12);
}

.tbx-mv-ico {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    font-size: 1.55rem;
    border-radius: 16px;
    background: rgba(13, 114, 255, .1);
}

.tbx-vision .tbx-mv-ico {
    background: rgba(255, 138, 31, .12);
}

.tbx-mv-title {
    margin-bottom: .55rem !important;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--tbx-navy);
}

.tbx-mv-text {
    font-size: .98rem;
    line-height: 1.8;
    color: var(--tbx-ink);
}

/* ---------- Offer heading ---------- */
.tbx-offer-head {
    max-width: 620px;
    margin: 0 auto clamp(1.25rem, 3vw, 2rem);
    text-align: center;
}

.tbx-offer-title {
    margin: .8rem 0 .4rem !important;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--tbx-navy);
}

.tbx-offer-sub {
    font-size: 1rem;
    color: var(--tbx-ink);
}

/* ---------- Offer grid ---------- */
.tbx-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.tbx-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1.3rem 1.15rem 1.2rem;
    border: 1px solid var(--tbx-line);
    border-radius: 1.1rem;
    background: var(--tbx-soft);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.tbx-offer:hover {
    transform: translateY(-4px);
    border-color: transparent;
    background: var(--tbx-card);
    box-shadow: 0 14px 30px rgba(4, 40, 94, .12);
}

.tbx-num {
    position: absolute;
    top: .8rem;
    right: 1rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: var(--tbx-blue);
    opacity: .45;
}


.tbx-offer-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
    border-radius: 13px;
    background: var(--tbx-card);
    box-shadow: 0 6px 14px rgba(4, 40, 94, .08);
    transition: transform .25s ease;
}
 
.tbx-offer-ico i {
    font-size: 1.45rem;
    color: var(--tbx-blue);
    transition: color .25s ease;
}
 
/* alternate blue / orange accents */
.tbx-offer:nth-child(even) .tbx-offer-ico i {
    color: var(--tbx-orange);
}
 
.tbx-offer:hover .tbx-offer-ico {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, var(--tbx-blue), var(--tbx-orange));
}
 
.tbx-offer:hover .tbx-offer-ico i {
    color: #fff;
}

.tbx-offer-label {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--tbx-navy);
}

/* ---------- CTA ---------- */
.tbx-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: clamp(1.5rem, 3.5vw, 2.5rem);
    padding: clamp(1.2rem, 3vw, 1.75rem) clamp(1.2rem, 3.5vw, 2.25rem);
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--tbx-blue), var(--tbx-orange));
    color: #fff;
    box-shadow: 0 16px 36px rgba(13, 114, 255, .25);
}

.tbx-cta-text {
    flex: 1 1 280px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
}

.tbx-cta-text strong {
    font-weight: 800;
}

.tbx-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.5rem;
    font-size: .95rem;
    font-weight: 700;
    color: var(--hp-navy, #0a2a5e);
    background: #fff;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tbx-cta-btn span {
    transition: transform .2s ease;
}

.tbx-cta-btn:hover {
    color: var(--hp-navy, #0a2a5e);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

.tbx-cta-btn:hover span {
    transform: translateX(4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .tbx-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tbx-chips {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .tbx-mv {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .tbx-banner,
    .tbx-mv-card,
    .tbx-cta {
        border-radius: 1rem;
    }

    .tbx-chip {
        padding: .45rem .8rem;
        font-size: .85rem;
    }

    .tbx-offer-grid {
        gap: .65rem;
    }

    .tbx-offer {
        padding: 1rem .85rem .9rem;
    }

    .tbx-offer-label {
        font-size: .86rem;
    }

    .tbx-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .tbx-cta-btn {
        justify-content: center;
    }
}
/* =========================================================
   SERVICE DETAILS PAGE (prefix: sv-)
========================================================= */

/* ---------- Gallery ---------- */
.sv-gallery {
    padding: .8rem;
    border: 1px solid var(--hp-line);
    border-radius: 1.4rem;
    background: var(--hp-card);
    box-shadow: 0 6px 20px rgba(4, 40, 94, .06);
}

.sv-main {
    position: relative;
    overflow: hidden;
    border-radius: 1.1rem;
}

.sv-main__img {
    /* aspect-ratio: 1 / 1; */
    background: #eef2f8;
}

.sv-main__img img {
    width: 100%;
    /* height: 100%; */
    object-fit: fill;
}

.sv-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--hp-navy);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    transform: translateY(-50%);
    transition: background .2s, color .2s;
}

.sv-nav:hover {
    background: var(--hp-blue);
    color: #fff;
}

.sv-nav--prev {
    left: .75rem;
}

.sv-nav--next {
    right: .75rem;
}

.sv-nav.swiper-button-disabled {
    opacity: .4;
    pointer-events: none;
}

.sv-thumbs {
    margin-top: .7rem;
}

.sv-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: .8rem;
    background: #eef2f8;
    cursor: pointer;
    opacity: .7;
    transition: border-color .2s, opacity .2s;
}

.sv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv-thumbs .swiper-slide-thumb-active .sv-thumb,
.sv-thumb:hover {
    border-color: var(--hp-orange);
    opacity: 1;
}

/* ---------- Info card ---------- */
.sv-info {
    height: auto;
    margin-bottom: 0;
}

.sv-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px dashed var(--hp-line);
}

.sv-price small {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    color: var(--hp-muted);
}

.sv-price b {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .sv-price b {
    color: #fff;
}

.sv-price b i {
    font-style: normal;
    color: var(--hp-orange);
}

.sv-rows {
    display: grid;
    gap: .55rem;
    margin-bottom: 1.2rem;
}

.sv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .6rem .9rem;
    border-radius: .9rem;
    background: #f6f9ff;
    font-size: .88rem;
}

[data-bs-theme="dark"] .sv-row {
    background: #1b2740;
}

.sv-row span {
    font-weight: 700;
    color: var(--hp-muted);
}

.sv-row b {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-width: 0;
    text-align: right;
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .sv-row b {
    color: #fff;
}

.sv-row b i {
    color: var(--hp-blue);
}

.sv-seller img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.sv-sub {
    margin: 0 0 .6rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hp-orange);
}

/* spec list (dashed leader) */
.sv-spec {
    display: grid;
    gap: .55rem;
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
}

.sv-spec li {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    font-size: .88rem;
}

.sv-spec li::after {
    content: "";
    order: 1;
    flex: 1 1 auto;
    min-width: 12px;
    border-bottom: 1px dashed var(--hp-line);
}

.sv-spec span {
    order: 0;
    color: var(--hp-muted);
}

.sv-spec b {
    order: 2;
    max-width: 55%;
    text-align: right;
    color: var(--hp-ink);
    overflow-wrap: anywhere;
}

/* actions */
.sv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: auto;
}

.sv-actions>* {
    flex: 1 1 150px;
    text-decoration: none;
}

.sv-info {
    display: flex;
    flex-direction: column;
}

/* ---------- Tabs (4 items, scroll on mobile) ---------- */
.cp-sec .cp-tabs.sv-tabs {
    margin: 1.25rem 0rem !important;
}

@media (max-width: 575.98px) {
    .cp-sec .cp-tabs.sv-tabs {
        overflow-x: auto !important;
        scrollbar-width: none;
    }

    .cp-sec .cp-tabs.sv-tabs::-webkit-scrollbar {
        display: none;
    }

    .cp-sec .cp-tabs.sv-tabs>li {
        flex: 0 0 auto !important;
    }

    .cp-sec .cp-tabs.sv-tabs .cp-tab {
        flex-direction: row !important;
        padding: .55rem 1rem !important;
        font-size: .82rem;
    }
}

/* ---------- Tab content helpers ---------- */
.sv-frame {
    position: relative;
    aspect-ratio: 10 / 7;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 1rem;
}

.sv-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sv-dl {
    margin: 1rem auto 0;
    text-decoration: none;
}

.sv-bizimg {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1rem;
    background: #eef2f8;
}

.sv-bizimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}

.sv-auto {
    flex: 0 0 auto;
    padding-inline: 1.4rem;
}

.bp-card__title .bp-badge,
.bp-card__title .cp-count {
    font-size: .72rem;
}

/* certificate / company image tiles (no lightbox button here) */
.sv-gallery-fix,
.bp-gallery .bp-gallery__item:not(button) {
    cursor: zoom-in;
}

/* ---------- Inquiry modal ---------- */
.sv-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 1.5rem;
    background: var(--hp-card);
    box-shadow: 0 30px 70px rgba(3, 28, 66, .45);
}

.sv-modal .modal-header {
    position: relative;
    padding: 1.1rem 1.4rem;
    border: 0;
    background: linear-gradient(135deg, var(--hp-navy-dark), var(--hp-navy));
    display: flex;
    justify-content: space-between;
}

.sv-modal .modal-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hp-blue), var(--hp-orange));
}

.sv-modal .modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.sv-close {
    position: static;
}

.sv-modal .modal-body {
    padding: 1.4rem;
}

.sv-modal .modal-footer {
    gap: .6rem;
    padding: .9rem 1.4rem 1.2rem;
    border: 0;
}

.sv-cancel {
    padding: .7rem 1.5rem;
    border: 1.5px solid #d3def0;
    border-radius: 999px;
    background: transparent;
    color: var(--hp-ink);
    font-size: .9rem;
    font-weight: 700;
    transition: background .2s;
}

.sv-cancel:hover {
    background: #eaf2ff;
}

.sv-modal .cp-more__btn {
    min-width: 0;
    padding: .7rem 1.6rem;
}

.sv-mini {
    padding: .7rem;
    border: 1px solid var(--hp-line);
    border-radius: 1.1rem;
    background: #f6f9ff;
}

[data-bs-theme="dark"] .sv-mini {
    background: #1b2740;
}

.sv-mini__img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: .75rem;
    border-radius: .9rem;
    background: #eef2f8;
}

.sv-mini__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv-mini h6 {
    margin: 0 0 .4rem;
    font-size: .95rem;
    font-weight: 800;
    color: var(--hp-navy);
}

[data-bs-theme="dark"] .sv-mini h6 {
    color: #fff;
}

.sv-mini__price {
    display: inline-block;
    margin-bottom: .8rem;
    padding: .3rem .85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark));
    color: #fff;
    font-weight: 800;
}

.sv-mini .sv-spec {
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 575.98px) {
    .sv-gallery {
        padding: .6rem;
        border-radius: 1.2rem;
    }

    .sv-price b {
        font-size: 1.5rem;
    }

    .sv-spec b {
        max-width: 60%;
    }

    .sv-modal .modal-body {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sv-nav,
    .sv-thumb,
    .sv-cancel {
        transition: none !important;
    }
}
    /* =========================================================
   PACKAGE PAGE (prefix: pk-)
========================================================= */
    .pk-wrap {
        display: flex;
        justify-content: center;
    }

    .pk-card {
        position: relative;
        width: 100%;
        max-width: 440px;
        padding: 2.2rem 1.8rem 1.8rem;
        overflow: hidden;
        border: 1px solid var(--hp-line);
        border-radius: 1.6rem;
        background: var(--hp-card);
        box-shadow: 0 18px 46px rgba(4, 40, 94, .14);
        text-align: center;
    }

    .pk-card::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--hp-blue), var(--hp-orange));
    }

    .pk-ribbon {
        display: inline-block;
        margin-bottom: .9rem;
        padding: .25rem .9rem;
        border-radius: 999px;
        background: #fff3ea;
        color: var(--hp-orange-dark);
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .pk-name {
        margin: 0 0 1rem;
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--hp-navy);
    }

    [data-bs-theme="dark"] .pk-name {
        color: #fff;
    }

    .pk-price {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: center;
        gap: .6rem;
        margin-bottom: 1.3rem;
    }

    .pk-price__now {
        font-size: 2.6rem;
        font-weight: 800;
        line-height: 1;
        color: var(--hp-navy);
    }

    [data-bs-theme="dark"] .pk-price__now {
        color: #fff;
    }

    .pk-price__now i {
        margin-right: .15rem;
        font-size: 1.4rem;
        font-style: normal;
        color: var(--hp-orange);
    }

    .pk-price__old {
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--hp-muted);
        text-decoration: line-through;
    }

    .pk-price__off {
        padding: .2rem .65rem;
        border-radius: 999px;
        background: #e3f8ec;
        color: #12814a;
        font-size: .74rem;
        font-weight: 800;
    }

    .pk-limits {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .6rem;
        margin-bottom: 1.3rem;
    }

    .pk-limits div {
        padding: .8rem .5rem;
        border-radius: 1rem;
        background: #f6f9ff;
    }

    [data-bs-theme="dark"] .pk-limits div {
        background: #1b2740;
    }

    .pk-limits b {
        display: block;
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--hp-blue);
    }

    .pk-limits span {
        font-size: .76rem;
        font-weight: 700;
        color: var(--hp-muted);
    }

    .pk-list {
        display: grid;
        gap: .65rem;
        margin: 0 0 1.6rem;
        padding: 0;
        list-style: none;
        text-align: left;
    }

    .pk-list li {
        display: flex;
        align-items: flex-start;
        gap: .55rem;
        font-size: .92rem;
        line-height: 1.4;
        color: var(--hp-ink);
    }

    .pk-list i {
        margin-top: .15rem;
        color: #1fa463;
    }

    .pk-btn {
        width: 100%;
        text-decoration: none;
    }

    @media (max-width: 575.98px) {
        .pk-card {
            padding: 1.8rem 1.2rem 1.4rem;
            border-radius: 1.3rem;
        }

        .pk-price__now {
            font-size: 2.2rem;
        }
    }

    /* Agent package */
    .pk-wrap--next {
        margin-top: 1.75rem;
    }

    .pk-card--agent::before {
        background: linear-gradient(90deg, var(--hp-orange), var(--hp-navy));
    }

    .pk-ribbon--agent {
        background: #eaf2ff;
        color: var(--hp-blue);
    }

    .pk-card--agent .pk-btn {
        background: linear-gradient(135deg, var(--hp-blue), var(--hp-navy));
        box-shadow: 0 8px 18px rgba(10, 108, 240, .4);
    }

    .pk-card--agent .pk-btn:hover {
        background: linear-gradient(135deg, #ff8a3c, var(--hp-orange-dark));
        box-shadow: 0 10px 22px rgba(255, 111, 15, .4);
    }

    .pk-card--agent .pk-price {
        margin-bottom: 1.5rem;
    }