/* Bonelli Technologies — site-specific overrides */

/* Blazor error banner — hidden unless a runtime error occurs */
#blazor-error-ui {
    display: none;
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 10000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ---- Page base ---- */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

main {
    margin: 0;
    padding: 0;
}

#home.slider-area {
    margin-top: 0 !important;
}

/* Hero background — full bleed, stable before/after slick init */
#home .slider-bg {
    overflow: hidden;
}

#home .slider-bg .image-layer.bonelli-hero-bg {
    background-image: url(../img/slider/slider_img_bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#home .slider-bg .image-layer.bonelli-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
}

#home .slider-bg .container {
    position: relative;
    z-index: 2;
}

#home .slider-content h1 {
    color: #fff;
    font-size: clamp(30px, 4.5vw, 74px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

/* Decorative slider swooshes removed — generated assets had opaque white backgrounds */
.slider-four .slider-line,
.slider-four .slider-line2 {
    display: none !important;
}

/* ---- Header overlay on hero ---- */
.header-area.header-three {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999;
    background: transparent !important;
}

.header-three .menu-area {
    margin-bottom: -111px;
    padding: 20px 0;
}

.header-three .second-menu .row {
    align-items: center !important;
}

#header-sticky:not(.sticky-menu) {
    background: transparent !important;
}

#header-sticky.sticky-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff !important;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 0 60px 0 rgba(0, 0, 0, 0.07);
    padding: 12px 0;
    margin-bottom: 0;
}

/* ---- Logo ---- */
.logo,
.header-three .bonelli-logo {
    width: auto !important;
    max-width: none;
    line-height: 1;
}

.header-three .bonelli-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

/* Hero header: single lockup only — avoid eagle + separate text repeating the brand */
#header-sticky:not(.sticky-menu) .bonelli-logo .logo-mark,
#header-sticky:not(.sticky-menu) .bonelli-logo .bonelli-brand-name {
    display: none !important;
}

#header-sticky:not(.sticky-menu) .bonelli-logo .logo-full {
    display: block !important;
    height: 75px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* Sticky header: full vertical lockup (includes Bonelli wordmark) */
#header-sticky.sticky-menu .bonelli-logo .logo-mark,
#header-sticky.sticky-menu .bonelli-logo .bonelli-brand-name {
    display: none;
}

#header-sticky.sticky-menu .bonelli-logo .logo-full {
    display: block;
    height: 68px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-three .bonelli-logo img {
    background: #fff !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 10px;
}

.header-three .bonelli-brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    white-space: nowrap;
}

.header-three .bonelli-brand-name > span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 2px;
}

/* Footer: eagle mark + Technologies on dark background */
.footer-top .bonelli-logo .logo-full,
.copyright-wrap .bonelli-logo .logo-full {
    display: none;
}

.footer-top .bonelli-logo .logo-mark,
.copyright-wrap .bonelli-logo .logo-mark {
    display: block;
    height: 100px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-top .bonelli-logo img,
.copyright-wrap .bonelli-logo img {
    background: #fff !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 10px;
}

.copyright-wrap .bonelli-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

/* ---- Transparent header (on hero) ---- */
#header-sticky:not(.sticky-menu) .main-menu ul li a,
#header-sticky:not(.sticky-menu) .call-box li,
#header-sticky:not(.sticky-menu) .call-box span,
#header-sticky:not(.sticky-menu) .call-box strong,
#header-sticky:not(.sticky-menu) .call-box strong a {
    color: #fff !important;
}

/* ---- Sticky header (white bar, dark text) ---- */
#header-sticky.sticky-menu .main-menu ul li a {
    color: #181e23 !important;
}

#header-sticky.sticky-menu .main-menu ul li a:hover {
    color: #ed1e24 !important;
}

.copyright-wrap .bonelli-brand-name {
    color: #fff;
}

.copyright-wrap .bonelli-brand-name > span {
    color: #ed1e24;
}

.copyright-wrap {
    background: #2d2d2d !important;
    background-image: url(../img/bg/footer-bg.png) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    color: rgba(255, 255, 255, 0.85);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#header-sticky.sticky-menu .call-box li,
#header-sticky.sticky-menu .call-box span {
    color: #181e23 !important;
}

#header-sticky.sticky-menu .call-box strong,
#header-sticky.sticky-menu .call-box strong a {
    color: #181e23 !important;
}

/* ---- Call box alignment ---- */
.header-three .call-box ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-three .call-box li {
    float: none !important;
}

.header-three .call-box .text {
    margin-left: 12px;
}

.header-three .call-box strong {
    font-size: 16px;
    line-height: 1.2;
}

.header-three .call-box .call-box-email {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
}

.header-three .call-box .call-box-email a {
    color: inherit;
    text-decoration: none;
}

#header-sticky.sticky-menu .call-box .call-box-email a {
    color: #181e23 !important;
}

#header-sticky:not(.sticky-menu) .call-box .call-box-email a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.contact-form-status {
    display: none;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-status.is-success,
.contact-form-status.is-error {
    display: block;
}

.contact-form-status.is-success {
    background: #e8f7ee;
    border: 1px solid #b8e6c8;
    color: #1f6b3a;
}

.contact-form-status.is-error {
    background: #fdeeee;
    border: 1px solid #f5c2c2;
    color: #9b1c1c;
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ---- Desktop navigation ---- */
@media (min-width: 992px) {
    .header-three .mobile-menu {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .header-three .mean-bar,
    .header-three .mean-push,
    .header-three .mean-container .mean-nav {
        display: none !important;
    }

    .header-three .main-menu {
        display: block !important;
    }

    .header-three #mobile-menu {
        display: block !important;
        width: 100% !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .header-three .main-menu > nav > ul,
    .header-three #mobile-menu > ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        float: none !important;
        width: 100% !important;
        background: transparent !important;
    }

    .header-three .second-menu .main-menu ul li {
        display: block !important;
        float: none !important;
        width: auto !important;
        border: none !important;
        margin-left: 24px !important;
        position: relative;
    }

    .header-three .second-menu .main-menu ul li:first-child {
        margin-left: 0 !important;
    }

    .header-three .main-menu ul li a {
        padding: 8px 0 !important;
        display: block !important;
        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 500;
        white-space: nowrap;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .header-three .second-menu .main-menu ul li {
        margin-left: 16px !important;
    }

    .header-three .main-menu ul li a {
        font-size: 14px;
    }

    .header-three .bonelli-logo .logo-mark {
        height: 50px;
    }

    #header-sticky.sticky-menu .bonelli-logo .logo-full {
        height: 60px;
    }

    .header-three .bonelli-brand-name {
        font-size: 18px;
    }

    .header-three .call-box strong {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .header-three .menu-area {
        padding: 10px 0 14px;
        margin-bottom: -70px;
        border-bottom: none !important;
    }

    .header-three .second-menu .row > .col-xl-3.col-lg-3.col-md-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .header-three .bonelli-logo {
        display: flex;
        justify-content: center;
        width: 100% !important;
    }

    .header-three .bonelli-logo a {
        justify-content: center;
    }

    .header-three .bonelli-logo .logo-mark,
    .header-three .bonelli-logo .bonelli-brand-name {
        display: none !important;
    }

    .header-three .bonelli-logo .logo-full {
        display: block !important;
        height: 78px;
        max-width: 160px;
        width: auto;
    }

    #header-sticky.sticky-menu .bonelli-logo .logo-full {
        height: 68px;
        max-width: 145px;
    }

    /* Hero — hide decorative lines, fix title spacing */
    #home .slider-bg {
        min-height: 620px !important;
        align-items: flex-start !important;
    }

    #home .slider-content.s-slider-content.mt-100 {
        margin-top: 0 !important;
        padding-top: 108px;
        text-align: center;
    }

    #home .slider-content h1,
    #home .slider-content h2 {
        font-size: 30px !important;
        line-height: 1.35 !important;
        margin-top: 0 !important;
        margin-bottom: 16px !important;
        letter-spacing: 0 !important;
        font-weight: 700 !important;
    }

    #home .slider-content p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 0;
    }

    #home .slider-btn.mt-30 {
        margin-top: 22px !important;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    #home .slider-btn .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 575px) {
    .header-three .bonelli-logo .logo-full {
        height: 68px;
        max-width: 140px;
    }

    #header-sticky.sticky-menu .bonelli-logo .logo-full {
        height: 60px;
        max-width: 128px;
    }

    #home .slider-content.s-slider-content.mt-100 {
        padding-top: 96px;
    }

    #home .slider-content h1,
    #home .slider-content h2 {
        font-size: 26px !important;
        line-height: 1.4 !important;
    }

    #home .slider-content p {
        font-size: 14px;
    }
}

/* ---- Mobile slide-in navigation ---- */
body.mobile-nav-open {
    overflow: hidden;
}

.mobile-nav-fab {
    position: fixed;
    right: 20px;
    bottom: 88px;
    z-index: 1060;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ed1e24;
    box-shadow: 0 6px 24px rgba(237, 30, 36, 0.45);
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.mobile-nav-fab:hover {
    background: #d4191f;
    box-shadow: 0 8px 28px rgba(237, 30, 36, 0.55);
}

.mobile-nav-fab span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-fab[aria-expanded="true"] {
    background: #181e23;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.mobile-nav-fab[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-fab[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-fab[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.offcanvas-overly {
    z-index: 1040 !important;
}

.bonelli-mobile-nav.offcanvas-menu {
    z-index: 1050 !important;
    width: min(320px, 88vw);
    background: #fff;
    padding: 28px 24px;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}

.bonelli-mobile-nav .menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    cursor: pointer;
}

.bonelli-mobile-nav .menu-close i {
    color: #181e23;
    font-size: 20px;
}

.bonelli-mobile-nav ul {
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.bonelli-mobile-nav ul li {
    border-bottom: 1px solid #ececec;
}

.bonelli-mobile-nav ul li a {
    color: #181e23;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 0;
}

.bonelli-mobile-nav ul li a:hover {
    color: #ed1e24;
}

.bonelli-mobile-nav-contact {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #ececec;
}

.bonelli-mobile-nav-contact ul li {
    border-bottom: none;
}

.bonelli-mobile-nav-contact ul li a {
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
    font-size: 15px;
}

@media (max-width: 991px) {
    #scrollUp {
        right: 20px !important;
        bottom: 24px !important;
        width: 45px;
        height: 45px;
        line-height: 45px;
    }

    .mobile-nav-fab {
        right: 20px;
        bottom: 82px;
        width: 45px;
        height: 45px;
    }

    .header-three .mean-bar,
    .header-three .mean-push,
    .header-three .mean-container .mean-nav,
    .header-three .mobile-menu {
        display: none !important;
    }
}

/* ---- Hero / call box email link ---- */
.call-box strong a {
    color: inherit;
    text-decoration: none;
}

.call-box strong a:hover {
    color: #ed1e24;
}

.s-video-content h3,
.s-video-content p {
    position: relative;
    z-index: 2;
}

/* ---- About section ---- */
#about.about-area {
    color: #555;
}

#about.about-area .section-title h2 {
    color: #181e23 !important;
}

.about-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ed1e24;
    margin-bottom: 12px;
}

#about .about-intro {
    max-width: 640px;
    margin: 16px auto 0;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

.about-bonelli-grid {
    margin-top: 10px;
}

.about-bonelli-media {
    position: relative;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(24, 30, 35, 0.12);
    background: #fff;
}

.about-bonelli-media img {
    display: block;
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
}

.about-stat-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

.about-stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #ed1e24 0%, #ed501b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #181e23;
    max-width: 220px;
}

.about-bonelli-content p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 18px;
}

.about-bonelli-content .about-lead {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.about-highlights {
    list-style: none;
    padding: 0;
    margin: 24px 0 28px;
}

.about-highlights li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: #181e23;
    font-weight: 500;
    line-height: 1.5;
}

.about-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 18px;
    background: url('../img/bg/check-mark.png') no-repeat center / contain;
}

@media (max-width: 991px) {
    .about-bonelli-media img {
        min-height: 320px;
    }

    .about-stat-badge {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .about-stat-value {
        font-size: 48px;
    }
}

@media (min-width: 1200px) {
    .about-bonelli-media img {
        min-height: 480px;
    }
}

/* ---- Video CTA — restore pill button (template forces all links into circles) ---- */
.s-video-wrap {
    position: relative;
}

.s-video-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    border-radius: inherit;
    z-index: 1;
}

.s-video-content a.btn.ss-btn {
    position: relative;
    z-index: 2;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
}

.s-video-content a.btn.ss-btn::before {
    display: none;
}

/* ---- Counter section — light background overrides ---- */
.counter-area {
    margin-top: 0 !important;
    padding-top: 90px !important;
}

.counter-area .count {
    color: #ed1e24 !important;
    font-weight: 800;
}

.counter-area .counter small {
    color: #ed1e24 !important;
}

.counter-area .counter p,
.counter-area .single-counter p {
    color: #181e23 !important;
    font-weight: 500;
}

.counter-area .counter {
    background-position: left center;
    background-size: 90px auto;
    min-height: 90px;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .counter-area .single-counter {
        margin-bottom: 24px;
    }

    .counter-area .counter {
        justify-content: center;
        background-position: center top;
        flex-direction: column;
        text-align: center;
        padding-top: 0;
        padding-left: 0;
    }

    .counter-area .count {
        padding-right: 0;
    }
}

/* ---- Global light-section typography ---- */
.section-title h2 {
    color: #181e23;
}

.section-title p {
    color: #555;
}

/* ---- Services grid ---- */
#services .services-grid {
    margin-left: -18px;
    margin-right: -18px;
}

#services .services-grid > [class*="col-"] {
    padding-left: 18px;
    padding-right: 18px;
    margin-bottom: 36px;
}

#services .services-08-item {
    position: relative;
    height: 100%;
    margin-bottom: 0;
    background: #fff;
}

#services .services-08-item:hover::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.services-08-content h3 a {
    color: #181e23;
    text-decoration: none;
}

.services-08-content h3 a:hover {
    color: #ed1e24;
}

.services-08-content p {
    color: #666;
}

/* ---- Live Deployments slider + lightbox ---- */
.deployments-slider-wrap {
    padding: 0 64px 56px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.deployment-slide {
    padding: 0 15px;
}

.deployment-card.gallery-image {
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
}

/* Template gallery overlays sit on the figure and block link clicks */
.deployment-card.gallery-image::before,
.deployment-card.gallery-image::after {
    display: none !important;
    content: none !important;
    pointer-events: none;
}

.deployment-card .deployment-lightbox {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}

.deployment-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.deployment-card .deployment-lightbox:hover img {
    transform: scale(1.04);
}

.deployment-card figcaption {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 24px 24px 20px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.deployment-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.deployment-card .deployment-lightbox:hover .deployment-zoom {
    opacity: 1;
    transform: scale(1);
}

.deployment-card .deployment-lightbox:hover .deployment-zoom {
    background: #ed1e24;
}

#solutions .deployments-slider-wrap .slick-arrow {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 2px solid #ed1e24;
    border-radius: 50%;
    background: #fff;
    color: #ed1e24;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

#solutions .deployments-slider-wrap .slick-arrow:hover {
    background: #ed1e24;
    color: #fff;
}

#solutions .deployments-slider-wrap .slick-prev {
    left: 12px;
}

#solutions .deployments-slider-wrap .slick-next {
    right: 12px;
}

#solutions .deployments-slider-wrap .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    line-height: 1;
}

#solutions .deployments-slider-wrap .slick-dots li {
    display: inline-block;
    margin: 0;
    list-style: none;
    width: auto;
    height: auto;
}

#solutions .deployments-slider-wrap .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d8dce3;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

#solutions .deployments-slider-wrap .slick-dots li button:before {
    display: none;
    content: none;
}

#solutions .deployments-slider-wrap .slick-dots li.slick-active button {
    width: 28px;
    border-radius: 999px;
    background: #ed1e24;
}

#solutions .deployments-slider .slick-list {
    overflow: hidden;
    margin: 0 -15px;
}

#solutions .deployments-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.bonelli-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.92);
}

.bonelli-lightbox.is-open {
    display: flex;
}

.bonelli-lightbox-panel {
    position: relative;
    max-width: min(1200px, 96vw);
    max-height: 92vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bonelli-lightbox-image {
    max-width: 100%;
    max-height: calc(92vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.bonelli-lightbox-caption {
    margin-top: 16px;
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.bonelli-lightbox-caption span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ed1e24;
    margin-bottom: 4px;
}

.bonelli-lightbox-caption h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.bonelli-lightbox-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #ed1e24;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.bonelli-lightbox-prev,
.bonelli-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 52px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.bonelli-lightbox-prev:hover,
.bonelli-lightbox-next:hover {
    background: #ed1e24;
    border-color: #ed1e24;
}

.bonelli-lightbox-prev {
    left: 24px;
}

.bonelli-lightbox-next {
    right: 24px;
}

.bonelli-lightbox-count {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

body.bonelli-lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .bonelli-lightbox-prev,
    .bonelli-lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .bonelli-lightbox-prev {
        left: 12px;
    }

    .bonelli-lightbox-next {
        right: 12px;
    }
}

@media (max-width: 767px) {
    .deployments-slider-wrap {
        padding: 0 44px 52px;
    }

    #solutions .deployments-slider-wrap .slick-arrow {
        width: 40px;
        height: 40px;
    }

    #solutions .deployments-slider-wrap .slick-prev {
        left: 4px;
    }

    #solutions .deployments-slider-wrap .slick-next {
        right: 4px;
    }

    .deployment-zoom {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---- Industry Solutions ---- */
.industries-area {
    background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}

.industries-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ed1e24;
    margin-bottom: 12px;
}

.industries-lead {
    max-width: 640px;
    margin: 16px auto 0;
    color: #555;
    font-size: 17px;
    line-height: 1.65;
}

.industries-lead strong {
    color: #181e23;
    font-weight: 600;
}

.industries-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.industries-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    padding: 16px 28px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.industries-stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ed1e24;
    line-height: 1.1;
}

.industries-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-top: 4px;
    text-align: center;
}

.industry-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 32px 28px 28px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.industry-card:hover {
    border-color: rgba(237, 30, 36, 0.35);
    box-shadow: 0 12px 32px rgba(237, 30, 36, 0.1);
    transform: translateY(-4px);
}

.industry-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(237, 30, 36, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(237, 30, 36, 0.06);
}

.industry-card-icon i {
    font-size: 26px;
    color: #ed1e24;
    line-height: 1;
}

.industry-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #181e23;
    margin-bottom: 12px;
    line-height: 1.3;
}

.industry-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.industry-tags li {
    font-size: 12px;
    font-weight: 500;
    color: #181e23;
    background: #f4f5f7;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    padding: 5px 12px;
    line-height: 1.3;
}

.industries-footnote {
    color: #666;
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto 8px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .industries-highlights {
        flex-direction: column;
        align-items: center;
    }

    .industries-stat {
        width: 100%;
        max-width: 280px;
    }

    .industry-card {
        padding: 24px 20px 22px;
    }
}

/* ---- Contact + FAQ ---- */
#contact.contact-area {
    background: #fff;
}

.contact-bg02 {
    padding: 48px !important;
}

@media (max-width: 767px) {
    .contact-bg02 {
        padding: 28px !important;
        margin-bottom: 40px;
    }
}

.faq-wrap .section-title h2 {
    text-align: center;
}

.faq-wrap .card-header h2 button.faq-btn {
    position: relative;
}

.faq-wrap .faq-toggle-icon {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ed1e24;
    font-size: 14px;
    pointer-events: none;
}

.faq-wrap .faq-btn .faq-icon-expanded {
    display: none;
}

.faq-wrap .faq-btn:not(.collapsed) .faq-icon-collapsed {
    display: none;
}

.faq-wrap .faq-btn:not(.collapsed) .faq-icon-expanded {
    display: inline-block;
}

.faq-wrap .faq-btn.collapsed .faq-icon-expanded {
    display: none;
}

.faq-wrap .faq-btn.collapsed .faq-icon-collapsed {
    display: inline-block;
}

/* Hide broken template ::after icons (FA Pro private-use glyphs) */
.faq-wrap .card-header h2 button::after,
.faq-wrap .card-header h2 button.faq-btn.collapsed.active::after,
.faq-wrap .card-header h2 button.collapsed::after {
    content: none !important;
    display: none !important;
}

/* ---- Bottom CTA band ---- */
.newslater-area .section-title h2,
.newslater-area .section-title p {
    color: #fff !important;
}

.newslater-area .section-title p {
    opacity: 0.92;
}

.newslater-title .icon img {
    max-width: 64px;
    height: auto;
}

/* ---- Footer ---- */
.footer-top .f-widget-title p {
    color: rgba(255, 255, 255, 0.75);
}

.copyright-wrap .col-lg-6.text-right {
    font-size: 14px;
}

@media (max-width: 767px) {
    .copyright-wrap .col-lg-6.text-right {
        text-align: left !important;
        margin-top: 16px;
    }
}
