/* ============================================================
   Brand Logo Infinite Slider — two rows, opposite directions
   ============================================================ */

@keyframes bb-scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes bb-scroll-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.bb-brand-slider-section {
    width: 100%;
    overflow: hidden;
}

/* fade edges */
.bb-brand-row-wrap {
    overflow: hidden;
    margin-bottom: 20px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.bb-brand-row {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 18px;
}

.bb-row-left {
    animation: bb-scroll-left 30s linear infinite;
}

.bb-row-right {
    animation: bb-scroll-right 28s linear infinite;
}

/* pause on hover */
.bb-brand-row-wrap:hover .bb-brand-row {
    animation-play-state: paused;
}

/* logo card base */
.bb-brand-item {
    flex: 0 0 auto;
    width: 210px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1c1c1c;
    padding: 18px 24px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.bb-brand-item:hover {
    background: #2a2a2a;
    transform: translateY(-3px);
}

/* shapes */
.bb-rect { border-radius: 14px; }
.bb-pill  { border-radius: 100px; }

/* logo image */
.bb-brand-item img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.bb-brand-item:hover img {
    opacity: 1;
}

/* ONEder Wings (brand-img6) & Polar Bear (brand-img8) — show in original
   colors (not inverted to white) with a subtle white glow for dark-bg contrast */
.bb-brand-item img[src*="brand-img6"],
.bb-brand-item img[src*="brand-img8"] {
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.35)) !important;
    max-height: 68px !important;
    opacity: 1 !important;
}

/* Mobile size for same logos */
@media (max-width: 575px) {
    .bb-brand-item img[src*="brand-img6"],
    .bb-brand-item img[src*="brand-img8"] {
        max-height: 50px !important;
    }
}

/* mobile */
@media (max-width: 575px) {
    .bb-brand-item {
        width: 150px;
        height: 90px;
        padding: 14px 18px;
    }
    .bb-brand-item img {
        max-height: 54px;
    }
    .bb-brand-row { gap: 12px; }
    .bb-row-left  { animation-duration: 22s; }
    .bb-row-right { animation-duration: 20s; }
}

/* ============================================================
   CTA "Let's Work Together" — responsive fix
   ============================================================ */

/* Clip any edge overshoot from the small GSAP x-shift on mobile */
.cta-area {
    overflow: hidden;
}

/* Tablet */
@media (max-width: 991px) {
    .cta-area .portfolio-top-subtitle {
        font-size: 5rem !important;
        margin-inline-start: 0 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    .cta-area .portfolio-top-title {
        font-size: 5rem !important;
        margin-block-start: 0 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    .cta-area .portfolio-shape {
        display: none;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .cta-area .portfolio-top-subtitle {
        font-size: clamp(3rem, 16vw, 4rem) !important;
    }

    .cta-area .portfolio-top-title {
        font-size: clamp(4.5rem, 25vw, 6rem) !important;
    }
}

/* ============================================================
   iOS / touch device fixes
   ============================================================ */

/* Remove grey tap-flash on every touchable element on iOS */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Eliminate 300 ms tap delay on buttons and links (older iOS) */
a,
button,
[role="button"],
label {
    touch-action: manipulation;
}

/* Prevent iOS Safari from zooming on input focus (requires font-size >= 16px) */
input,
textarea,
select {
    font-size: max(16px, 1em) !important;
}

/* Prevent iOS from auto-resizing text in landscape */
html {
    -webkit-text-size-adjust: 100%;
}

/* Hide custom cursors on touch/mobile devices */
@media (hover: none), (pointer: coarse) {
    .cursor,
    .dot,
    #magic-cursor,
    #ball {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* FORCE ALL TEXT WHITE INSIDE SERVICE CARD ON HOVER */

.service-wrapper:hover * {
    color: #ffffff !important;
}

/* Force icons white */
.service-wrapper:hover i,
.service-wrapper:hover svg path {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Video preloader */
.preloader {
    background: #000 !important;
}

.preloader .preloader-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Suppress the native "big play button" overlay mobile browsers paint on a
   paused/negotiating-autoplay <video> — Chrome's overlay play button and
   Safari's start-playback button are independent of the `controls`
   attribute, so they show through during the brief window before autoplay
   actually starts unless explicitly hidden. */
.preloader .preloader-video::-webkit-media-controls,
.preloader .preloader-video::-webkit-media-controls-panel,
.preloader .preloader-video::-webkit-media-controls-play-button,
.preloader .preloader-video::-webkit-media-controls-start-playback-button,
.preloader .preloader-video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    -webkit-appearance: none;
}

@supports (-webkit-touch-callout: none) {
    .preloader {
        min-height: 100vh;
    }
    body {
        min-height: 100vh;
    }
}

/* Logo shown by default and until the video is confirmed playing */
.preloader .preloader-image {
    width: min(80vw, 420px);
    max-height: 100vh;
    margin: 0 auto;
}

.preloader .preloader-image img {
    display: block;
    width: min(80vw, 420px) !important;
    max-width: 80vw !important;
    height: auto !important;
    object-fit: contain;
    animation: none !important;
    transform: none !important;
}

/* About section — mobile: hide image, arrow, tagline text and ball */
@media (max-width: 767px) {
    .about-area .about-bg,
    .about-content .tw-mb-10,
    .about-paragraph,
    .about-ball {
        display: none !important;
    }
}

/* Desktop hero text — scale down from template's 333px span to fit "WE BUILD / BRANDS" layout */
@media (min-width: 768px) {
    /* Make wrapper non-positioned so .banner-content positions relative to .banner-area section */
    .banner-wrapper {
        position: static !important;
    }

    /* top/left are now % of the full banner section (starts at y=0, width=100vw) */
    .banner-content {
        top: 32% !important;
        bottom: auto !important;
        left: 36% !important;
        right: auto !important;
    }

    .banner-title {
        font-size: clamp(80px, 8vw, 120px) !important;
        line-height: 0.9 !important;
    }

    .banner-title span {
        font-size: clamp(130px, 14vw, 200px) !important;
        line-height: 1 !important;
    }
}

/* Mobile hero text (CREATIVE AGENCY) placement */
@media (max-width: 767px) {
    .banner-area {
        padding-block: 160px 40px !important;
    }

    /* Reset desktop negative margin that clips the Explore button via overflow:hidden */
    .banner-bottom-wrap {
        margin-block-end: 0 !important;
        padding-inline: 16px !important;
    }

    .banner-button {
        display: block !important;
        margin-top: 20px !important;
    }

    .banner-button .theme-btn-main {
        display: inline-flex !important;
    }

    .banner-content {
        top: clamp(50px, 14vw, 90px) !important;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        z-index: 5 !important;
    }

    .banner-title {
        font-size: clamp(50px, 12vw, 64px) !important;
        line-height: 0.9 !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .banner-title span {
        font-size: clamp(82px, 21vw, 112px) !important;
        line-height: 0.95 !important;
        display: block !important;
    }

    /* "50+ COMPLEATED PROJECTS" badge position on mobile */
    .banner-review-content {
        left: 16px !important;
        right: auto !important;
        bottom: -5px !important;
        top: auto !important;
        z-index: 6 !important;
    }

    .banner-review-content .counter-item {
        margin-left: 0 !important; /* overrides ms-5 */
        text-align: left !important;
    }

    /* 50+ badge sizing */
    .banner-review-content h2 {
        font-size: 28px !important;
        line-height: 1 !important;
        margin-bottom: 2px !important;
    }

    .banner-review-content p {
        font-size: 16px !important;
        line-height: 1.25 !important;
    }
}

/* About page mobile: keep CTA text over image */
@media (max-width: 575px) {
    .cta-two-area .cta-two-thumb.one {
        position: relative;
        overflow: hidden;
    }

    .cta-two-area .cta-two-thumb.one > img {
        min-height: 320px;
        object-fit: cover;
    }

    .cta-two-area .cta-two-thumb.one::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.7) 100%);
        pointer-events: none;
        z-index: 1;
    }

    .cta-two-area .cta-two-thumb.one .cta-two-content {
        position: absolute !important;
        left: 16px !important;
        right: 16px !important;
        bottom: 16px !important;
        margin: 0 !important;
        z-index: 2 !important;
    }

    .cta-two-area .cta-two-thumb.one .cta-two-title {
        color: #ffffff !important;
        font-size: clamp(34px, 8vw, 42px) !important;
        margin-bottom: 8px !important;
    }

    .cta-two-area .cta-two-thumb.one p {
        color: rgba(255, 255, 255, 0.92) !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
    }

    .cta-two-area .cta-two-thumb.one .cta-two-button {
        margin-top: 12px;
    }
}

/* Ensure GSAP-pinned portfolio cards always paint above the section heading.
   heading wrapper uses z-1 (z-index:1); lowering it to 0 and raising panels
   to 10 prevents the title from bleeding over pinned cards on any device. */
.portfolio-area .position-relative.z-1.tw-mb-2 {
    z-index: 0 !important;
}

.portfolio-area .portfolio-panel {
    position: relative;
    z-index: 10 !important;
}

/* Desktop portfolio text style for first 4 cards */
@media (min-width: 992px) {
    .portfolio-area .portfolio-wrap {
        position: relative;
        max-width: 100%;
    }

    .portfolio-area .portfolio-wrap > div:last-child {
        position: absolute;
        left: 70px;
        right: 70px;
        bottom: 92px;
        transform: none !important;
    }

    .portfolio-area .portfolio-wrap .d-flex.tw-gap-4.tw-mb-11 {
        margin-bottom: 16px !important;
        gap: 12px !important;
    }

    .portfolio-area .portfolio-title {
        margin: 0;
        font-family: var(--heading-font);
        font-size: clamp(26px, 1.7vw, 36px) !important;
        line-height: 0.92;
        letter-spacing: 0.01em;
    }

    .portfolio-area .portfolio-title a {
        color: #ffffff;
        white-space: nowrap;
        transition: color 0.25s ease;
    }

    .portfolio-area .portfolio-title a:hover {
        color: hsl(var(--main)) !important;
    }
}

/* Mobile only: tighten gap between portfolio and testimonial */
@media (max-width: 767px) {
    /* Hide decorative arrow shape in portfolio heading — overlaps text on mobile */
    .portfolio-area .portfolio-shape {
        display: none !important;
    }

    /* Hide hero circle and arrow shape on mobile — prevent overflow into lower sections */
    .banner-circle,
    .banner-arrow-shape {
        display: none !important;
    }

    .portfolio-area {
        padding-block-start: 16px !important;
        padding-block-end: 20px !important;
    }

    .portfolio-area .portfolio-panel {
        margin-bottom: 16px !important;
    }

    .portfolio-area .portfolio-panel:last-child {
        margin-bottom: 0 !important;
    }

    .testimonial-area {
        padding-top: 20px !important;
    }

    .testimonial-top-block {
        flex-direction: column !important;
    }

    .testimonial-top-block > div:first-child {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }
}

/* Hide WhatsApp button during preloader */
.preloader-active .bb-float-whatsapp {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* ============================================================
   Premium touches — numbered section labels, hero eyebrow,
   CTA support line, WhatsApp glow
   ============================================================ */

/* Numbered section overline label — [01] SELECTED WORK */
.bb-sec-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    margin-bottom: 14px;
}

.bb-sec-label .bb-sec-num {
    color: hsl(var(--main));
    font-weight: 700;
}

.bb-sec-label::after {
    content: "";
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, hsl(var(--main)), transparent);
}

/* Hero eyebrow — positioned absolutely so the title never shifts */
.bb-hero-eyebrow {
    position: absolute;
    top: -38px;
    left: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.bb-hero-eyebrow .bb-dot {
    color: hsl(var(--main));
}

@media (max-width: 767px) {
    .bb-hero-eyebrow {
        top: -26px;
        left: 2px;
        font-size: 11px;
        letter-spacing: 0.2em;
    }
}

/* CTA support line under LET'S WORK TOGETHER */
.bb-cta-line {
    display: block;
    margin-top: 18px;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
}

@media (max-width: 991px) {
    .bb-cta-line {
        text-align: center;
        margin-inline: auto;
        font-size: 16px;
        padding-inline: 16px;
    }
}

/* WhatsApp button — soft pulsing glow */
@keyframes bb-wa-glow {
    0%, 100% { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50%      { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.bb-float-whatsapp {
    animation: bb-wa-glow 2.4s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .bb-float-whatsapp {
        animation: none;
    }
}

/* Floating WhatsApp button (bottom-left) */
.bb-float-whatsapp {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bb-float-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.bb-float-whatsapp img {
    width: 28px;
    height: 28px;
    display: block;
}

/* Mobile tweaks */
@media (max-width: 575px) {
    .bb-float-whatsapp {
        left: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

    .bb-float-whatsapp img {
        width: 22px;
        height: 22px;
    }
}

/* Portfolio heading — separate desktop/mobile blocks */
/* bb-pf-desktop has inline display:none — only show it on desktop */
@media (min-width: 768px) {
    .bb-pf-desktop { display: block !important; }
    .bb-pf-mobile  { display: none !important; }
}

/* ============================================================
   Testimonial section — remove negative overlap margin on desktop
   ============================================================ */
@media (min-width: 768px) {
    .testimonial-slide {
        margin-block-start: 40px !important;
        overflow: hidden !important;
    }
}

/* Clip the swiper at its boundary */
.testimonial-active {
    overflow: hidden !important;
}

.testimonial-slide {
    overflow: hidden !important;
}

/* ============================================================
   Testimonial nav — lives OUTSIDE .testimonial-active so Swiper
   loop clones never contain these buttons, eliminating the
   character-column bleed seen when non-slide-1 slides are active.
   ============================================================ */
.bb-testimonial-nav {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
}

@media (max-width: 767px) {
    .bb-testimonial-nav {
        padding-top: 12px;
        padding-right: 2px;
    }
}

/* Testimonial mobile fixes */
@media (max-width: 767px) {
    /* Hide animated arrow shape on mobile */
    .testimonial-arrow-shape {
        display: none !important;
    }

    /* Fix "Our Testimonials" pill — prevent overflow/break */
    .testimonial-pill {
        white-space: nowrap !important;
        display: inline-flex !important;
        max-width: 100% !important;
        font-size: 14px !important;
        padding: 8px 16px !important;
    }
}

/* ============================================================
   Global mobile safeguards — prevent horizontal scroll on any device
   ============================================================ */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Prevent any section from breaking out of viewport */
    section, .container, .container-fluid {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Mandarin - Athletic Pro Variable font */
@font-face {
    font-family: "AthleticPro";
    src: url("../fonts/Mandarin - Athletic Pro Variable.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   Mobile typography block removed — it was disabled by comment,
   but a nested comment made part of it leak globally.
   ============================================================ */

/* ============================================================
   Marquee section — reduce font size and tighten spacing on mobile
   ============================================================ */
@media (max-width: 767px) {
    .maquee-title {
        font-size: 2.5rem !important;
    }

    .maquee-area {
        padding-block: 16px !important;
    }
}


/* ============================================================
   team.html — desktop: clip breadcrumb shapes within their section
   so the 3D character doesn't bleed into the team cards below
   ============================================================ */
.breadcrumb-area {
    overflow: hidden;
}

/* Desktop: taller cards reveal more of each portrait photo (zoom-out effect) */
@media (min-width: 768px) {
    .team-five-wrapper .team-five-thumb {
        height: 420px !important;
    }
}

/* Per-card object-position for best face framing at desktop */
.col-xl-4:nth-child(1) .team-five-wrapper .team-five-thumb img {
    object-position: top center !important;
}
.col-xl-4:nth-child(2) .team-five-wrapper .team-five-thumb img {
    object-position: center 15% !important;
}
.col-xl-4:nth-child(3) .team-five-wrapper .team-five-thumb img {
    object-position: top center !important;
}
.col-xl-4:nth-child(4) .team-five-wrapper .team-five-thumb img {
    object-position: top center !important;
}
.col-xl-4:nth-child(5) .team-five-wrapper .team-five-thumb img {
    object-position: top center !important;
}
.col-xl-4:nth-child(6) .team-five-wrapper .team-five-thumb img {
    object-position: top center !important;
}

/* ============================================================
   team.html — mobile: consistent professional card for all members
   ============================================================ */
@media (max-width: 767px) {
    /* Uniform card — block layout so image fills edge-to-edge, no background gap */
    .team-five-wrapper .team-five-thumb {
        height: 320px !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        padding: 0 !important;
        display: block !important;
        background: transparent !important;
    }

    /* Image fills card fully — no gap = no visible border */
    .team-five-wrapper .team-five-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
        transform: none !important;
        border-radius: 0 !important;
        display: block !important;
    }

    /* Harshitha & Bhajan — show more of person by anchoring lower */
    .col-xl-4:nth-child(2) .team-five-thumb img,
    .col-xl-4:nth-child(3) .team-five-thumb img {
        object-position: center center !important;
    }

    /* Name and role centred below every card */
    .team-five-wrapper .tw-mt-8,
    .team-five-wrapper h4,
    .team-five-wrapper p {
        text-align: center !important;
    }

    /* Even spacing between cards */
    .team-five-wrapper {
        margin-bottom: 2rem !important;
    }
}

/* ============================================================
   Team section — all resolutions: centre the name disc under each
   photo. The template hard-codes a different inset-inline-start per
   breakpoint (-18px / -40px / 50px / -4px / -50px / 28px), so names
   drift off-centre relative to the photo at most widths.
   ============================================================ */
.team-area .team-wrap {
    inset-inline-start: 50% !important;
    transform: translateX(-50%) !important;
}

/* Centre the name/role text inside the disc at every width */
.team-area .team-content {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: center !important;
}

.team-area .team-content h4,
.team-area .team-content p {
    text-align: center !important;
    width: 100% !important;
}

/* ============================================================
   Team section — mobile: keep arch/pill design, tap-to-reveal name disc
   ============================================================ */
@media (max-width: 767px) {
    /* Keep pill/arch shape, reset stagger margin */
    .team-area .team-wrapper {
        margin-top: 0 !important;
        margin-bottom: 1.5rem !important;
        cursor: pointer;
    }

    /* Centre disc — override template's off-centre inset-inline-start */
    .team-area .team-wrap {
        inset-inline-start: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* On tap (.active toggled by JS) — slide disc up, same as desktop hover */
    .team-area .team-wrapper.active .team-wrap {
        inset-block-end: -80px !important;
    }

    /* Flex-centre the name/role inside the circular disc */
    .team-area .team-content {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    /* Name/role readable inside disc (remove the hover-only translateY push) */
    .team-area .team-traslate {
        transform: none !important;
    }

    /* Centre text inside the disc */
    .team-area .team-content h4,
    .team-area .team-content p {
        text-align: center !important;
        width: 100% !important;
    }
}

/* ============================================================
   Counter section — mobile: center number + label (layout only, no color change)
   ============================================================ */
@media (max-width: 767px) {
    .counter-area .counter-wrapper,
    .counter-area .counter-title,
    .counter-area .counter-wrapper p {
        text-align: center !important;
    }

    /* Make label text bigger — numbers (counter-title) are untouched */
    .counter-area .counter-wrapper p {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }
}

/* ============================================================
   Banner — hide decorative arrow shape on mobile only
   ============================================================ */
@media (max-width: 767px) {
    .banner-area .banner-arrow-shape,
    .banner-area .banner-arrow-shape * {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Hide video section decorative arrow shape on mobile */
    .video-arrow-shape {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* ============================================================
   Comprehensive Mobile Polish
   ============================================================ */

/* ── 1. Testimonial paragraphs — override fixed 435px width ──── */
/* tw-w-435-px = 435px; on a 375px phone this overflows 60px     */
@media (max-width: 767px) {
    .tw-w-435-px {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ── 2. Portfolio panels — reduce excessive 666px height ────── */
/* 666px fills almost the full viewport on a phone               */
@media (max-width: 767px) {
    .tw-h-666-px {
        height: 300px !important;
    }
}

/* ── 4. Footer subscribe form — stack vertically on narrow screens */
@media (max-width: 575px) {
    /* Email input + button side-by-side is too tight at 375px   */
    .footer-form {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .footer-form-button .theme-btn-main {
        width: 100% !important;
    }
}

/* ── 5. Service cards — remove inner bottom margin when stacked */
@media (max-width: 767px) {
    .service-wrapper {
        margin-bottom: 0 !important;
    }
}

/* ── 6. Banner sitebar — decorative desktop-only strip          */
@media (max-width: 767px) {
    .banner-siteber {
        display: none !important;
    }
}

/* ============================================================
   Audit fixes — 2026-11-15
   Shared buttons, CTA card, contact form, portfolio filter,
   legal pages, sticky mobile contact bar
   ============================================================ */

.bb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid hsl(var(--main));
    transition: background-color .2s ease, color .2s ease;
    text-decoration: none;
}
.bb-btn--primary { background: hsl(var(--main)); color: #fff; }
.bb-btn--primary:hover { background: #fff; color: #111; border-color: #fff; }
.bb-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.bb-btn--ghost:hover { background: #fff; color: #111; }
.bb-btn:focus-visible,
.bb-filter button:focus-visible,
.bb-enquiry-form :is(input, select, textarea):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.bb-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.bb-cta-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 48px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 575px) { .bb-cta-card { padding: 28px 20px; } }

/* Contact page enquiry form */
.bb-enquiry-form {
    padding: 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 575px) { .bb-enquiry-form { padding: 24px 18px; } }
.bb-enquiry-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}
.bb-enquiry-form input,
.bb-enquiry-form select,
.bb-enquiry-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 16px; /* prevents iOS zoom on focus */
}
.bb-enquiry-form select option { color: #111; }
.bb-enquiry-form textarea { resize: vertical; }
.bb-enquiry-form ::placeholder { color: rgba(255, 255, 255, .5); }
.bb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.bb-form-note { color: rgba(255, 255, 255, .7); font-size: 14px; }
.bb-form-note a { color: #fff; text-decoration: underline; }
.bb-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 24px;
    filter: grayscale(.4);
}

/* Portfolio filter */
.bb-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.bb-filter button {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid hsl(var(--main));
    background: transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.bb-filter button.is-active,
.bb-filter button:hover { background: hsl(var(--main)); color: #fff; }

/* Privacy policy / thank-you */
.bb-legal { color: rgba(255, 255, 255, .85); }
.bb-legal h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
    margin: 40px 0 14px;
}
.bb-legal p, .bb-legal li { font-size: 17px; line-height: 1.7; }
.bb-legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.bb-legal li { margin-bottom: 8px; }
.bb-legal a { color: #fff; text-decoration: underline; }
.bb-legal-updated { color: rgba(255, 255, 255, .6); }

/* Sticky mobile contact bar */
.bb-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: env(safe-area-inset-bottom);
}
.bb-mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 9px 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.bb-mobile-bar a i { font-size: 20px; }
.bb-mobile-bar a:last-child { background: hsl(var(--main)); }
.preloader-active .bb-mobile-bar { visibility: hidden; }

@media (max-width: 991px) {
    /* the bar replaces the floating WhatsApp button on small screens */
    .bb-float-whatsapp { display: none !important; }
    .back-to-top-wrapper { margin-bottom: 70px; }
    footer.footer { padding-bottom: 64px; }
}

/* ============================================================
   Client content — 2026-11-15
   Price boxes, pricing cards, packages, case-study story
   ============================================================ */

.bb-price-box {
    padding: 24px 26px;
    border-radius: 18px;
    border: 1px solid hsl(var(--main) / .6);
    background: hsl(var(--main) / .08);
    color: rgba(255, 255, 255, .85);
}
.bb-price-label {
    display: block;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}
.bb-price-amount {
    display: block;
    margin: 4px 0 8px;
    font-family: var(--heading-font);
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1;
    color: #fff;
}
.bb-price-list { list-style: none; padding: 0; margin: 12px 0 16px; }
.bb-price-list li { margin-bottom: 12px; }
.bb-price-list strong { display: block; color: #fff; }
.bb-price-list span { display: block; font-size: 15px; }
.bb-price-note { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.bb-price-note a { color: #fff; text-decoration: underline; }

.bb-price-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 26px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    transition: border-color .2s ease, transform .2s ease;
}
.bb-price-card:hover { border-color: hsl(var(--main)); transform: translateY(-3px); color: #fff; }
.bb-price-card-name { font-weight: 700; font-size: 18px; }
.bb-price-card-amount { font-family: var(--heading-font); font-size: 44px; line-height: 1; }
.bb-price-card-amount small, .bb-pkg-price small {
    font-family: var(--body-font);
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}
.bb-price-card-inc { font-size: 15px; color: rgba(255, 255, 255, .7); }

.bb-pkg {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 34px 30px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
}
.bb-pkg--popular { border-color: hsl(var(--main)); background: hsl(var(--main) / .1); }
.bb-pkg-badge {
    position: absolute;
    top: -13px;
    left: 30px;
    padding: 4px 14px;
    border-radius: 999px;
    background: hsl(var(--main));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.bb-pkg-name { color: #fff; font-size: 28px; text-transform: uppercase; margin-bottom: 4px; }
.bb-pkg-price { font-family: var(--heading-font); font-size: 52px; line-height: 1; color: #fff; margin-bottom: 20px; }
.bb-pkg ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.bb-pkg li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .85);
}
.bb-pkg li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: hsl(var(--main));
    font-weight: 700;
}

/* Case study story */
.bb-case-study { color: rgba(255, 255, 255, .85); }
.bb-cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.bb-cs-tag {
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid hsl(var(--main));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.bb-cs-lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.6; color: #fff; }
.bb-cs-h { color: #fff; font-size: clamp(30px, 3.4vw, 44px); text-transform: uppercase; margin: 44px 0 14px; }
.bb-case-study p, .bb-cs-list li { font-size: 17px; line-height: 1.7; }
.bb-cs-list { list-style: none; padding: 0; }
.bb-cs-list li { position: relative; padding-left: 26px; margin-bottom: 14px; }
.bb-cs-list li::before { content: "+"; position: absolute; left: 0; color: hsl(var(--main)); font-weight: 700; }
.bb-cs-list strong { color: #fff; }
.bb-cs-quote {
    margin: 48px 0 0;
    padding: 28px 30px;
    border-left: 3px solid hsl(var(--main));
    border-radius: 0 18px 18px 0;
    background: rgba(255, 255, 255, .04);
}
.bb-cs-quote p { font-size: 20px; color: #fff; margin-bottom: 12px; }
.bb-cs-quote cite { font-style: normal; font-weight: 700; color: rgba(255, 255, 255, .7); }
.bb-book-box { padding-top: 6px; }

/* Theme forces 140px under every list in service sections; tighten it where a price box follows */
.service-details-area:has(.bb-price-box) ul { margin-bottom: 24px !important; }
.service-details-area .bb-price-list li { font-size: inherit; }
.service-details-area .bb-price-box { margin-bottom: 120px !important; }

/* ============================================================
   Blog — listing cards and article pages (2026-11-27)
   ============================================================ */
.bb-post-card { height: 100%; }
.bb-post-card-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 30px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    transition: border-color .2s ease, transform .2s ease;
}
.bb-post-card-link:hover { border-color: hsl(var(--main)); transform: translateY(-3px); color: #fff; }
.bb-post-card--featured .bb-post-card-link {
    padding: 44px;
    background: linear-gradient(135deg, hsl(var(--main) / .22), rgba(255, 255, 255, .03) 60%);
}
.bb-post-card--featured .bb-post-title { font-size: clamp(32px, 4vw, 52px); max-width: 900px; }
.bb-post-cat {
    align-self: flex-start;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid hsl(var(--main));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.bb-post-title { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: #fff; margin: 4px 0 0; }
.bb-post-excerpt { color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.6; margin: 0; flex: 1; }
.bb-post-meta { color: rgba(255, 255, 255, .55); font-size: 14px; }
.bb-post-more { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

.bb-article { color: rgba(255, 255, 255, .85); }
.bb-article-head { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.bb-article-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; color: #fff; margin: 18px 0 16px; }
.bb-article-meta { color: rgba(255, 255, 255, .6); margin: 0; }
.bb-article-body h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); margin: 48px 0 16px; }
.bb-article-body h3 { color: #fff; font-family: var(--body-font); font-size: 21px; font-weight: 700; margin: 30px 0 10px; }
.bb-article-body p, .bb-article-body li { font-size: 18px; line-height: 1.75; }
.bb-article-body p { margin-bottom: 18px; }
.bb-article-body ul, .bb-article-body ol { padding-left: 24px; margin-bottom: 20px; }
.bb-article-body ul { list-style: disc; }
.bb-article-body ol { list-style: decimal; }
.bb-article-body li { margin-bottom: 8px; }
.bb-article-body li::marker { color: hsl(var(--main)); }
.bb-article-body strong { color: #fff; }
.bb-article-body a { color: #fff; text-decoration: underline; text-decoration-color: hsl(var(--main)); text-underline-offset: 3px; }
.bb-article-body .bb-btn { text-decoration: none; }
.bb-article-body blockquote {
    margin: 26px 0;
    padding: 22px 26px;
    border-left: 3px solid hsl(var(--main));
    border-radius: 0 16px 16px 0;
    background: rgba(255, 255, 255, .04);
}
.bb-article-body blockquote p { margin: 0; color: #fff; }
.bb-table-wrap { overflow-x: auto; margin: 22px 0 26px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); }
.bb-table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.bb-table-wrap th, .bb-table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.bb-table-wrap th { color: #fff; background: hsl(var(--main) / .15); }
.bb-table-wrap tr:last-child td { border-bottom: 0; }
.bb-article-cta { margin: 10px 0 0; }
.bb-crumb-current { max-width: 520px; }
p.breadcrumb-title { font-family: var(--heading-font); }
