/* ============================================================
   index-page.css — All styles extracted from index.blade.php
   ============================================================ */

/* --- General --- */
.cn-hover-box:hover .cn-content.height {
    height: 0px;
    display: block;
}

.vapt-bg {
    background: #71a1d1;
}

.tab-content-box {
    height: 300px !important;
}

/* Desktop tab cards (Security Assessment / GRC / Managed SOC) — one uniform
   height everywhere for UI consistency (no layout shift when switching tabs).
   340px fits the longest card (~329 chars) without overflow; shorter cards
   simply keep whitespace. Scoped to .itmes so the mobile layout is untouched. */
.swiper-slide > .itmes { height: 100%; }
.itmes > .col-md-2 { height: 100%; }
.itmes .l3-card-link { display: block; height: 100%; }
.itmes .tab-content-box {
    height: 340px !important;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 12px;
}

/* --- Swiper --- */
.swiper {
    width: 100%;
    height: auto;
    position: relative;
    padding-bottom: 60px;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.itmes {
    width: 100%;
    height: 100%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
    height: auto !important;
}

/* --- Typography --- */
.cn-l3-h {
    font-family: 'Times New Roman', Times, serif !important;
    font-weight: 600;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.cn-l3-p {
    font-style: italic !important;
}

/* --- Image --- */
.cn-hover-img img {
    height: 250px !important;
}

/* --- Industries slider --- */
.industry-slider .swiper-wrapper {
    height: 35% !important;
}

/* --- Desktop tabs --- */
.home-tabs li {
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-tabs {
    margin: 0 21px !important;
    gap: 30px !important;
}

.tabs-nav1 {
        margin: 0px 0px 15px !important;
    gap: 30px !important;
    background: #71a1d1;
    padding: 15px 15px 15px !important;
    
}

.home-tabs2 li {
    width: 375px;
    white-space: nowrap;
}
.home-tabs2 {
    margin: 0 17px !important;
}

/* --- Scroll to top button --- */
.scrollToTophome {
    position: fixed;
    bottom: 20px;
    left: 15px;
    background-color: #18ba60;
    transition: all 0.4s ease-in-out 0s;
    height: 40px;
    line-height: 40px;
    width: 40px;
    border-radius: 100%;
    color: #fff;
    text-align: center;
    font-size: 18px;
    opacity: 1;
    z-index: 99999;
}
.scrollToTophome i {
    line-height: 40px;
}
.scrollToTophome:hover {
    color: #fff;
}

/* --- Floating sub-header --- */
#floating-sub-header {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 995;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    transition: top 0.3s;
    background-color: #cbdef1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%23ffffff' fill-opacity='0.17'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E");
}
/* Home sticky menu (#sticky-control): style.css gives every item fixed 30px padding + 20px
   margins, so the five items only fit on wide screens. Spacing and type now scale with the
   window, every label stays on one line, and a window too narrow for all five scrolls the row
   sideways instead of wrapping. */
#home_float_head #floating-sub-header .body_container { width: 100%; max-width: 1400px; margin: 0 auto; }
#home_float_head #floating-sub-header .col-md-12 { float: none; width: 100%; padding: 0 12px; }
#home_float_head ul#sticky-control {
    display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: stretch;
    gap: clamp(2px, .4vw, 8px); margin: 0; padding: 6px 0;
    overflow-x: auto; scrollbar-width: none;
}
#home_float_head ul#sticky-control::-webkit-scrollbar { display: none; }
#home_float_head ul#sticky-control li { flex: 1 1 auto; min-width: max-content; list-style: none; padding: 0; margin: 0; float: none; }
#home_float_head ul#sticky-control li a.sticky_link {
    display: flex; align-items: center; justify-content: center; height: 100%;
    margin: 0; padding: clamp(7px, 0.8vw, 10px) clamp(6px, .9vw, 16px);
    font-size: clamp(11px, 0.9vw, 14px); line-height: 1.25; white-space: nowrap; text-align: center;   /* one line per label */
    border-radius: 4px;
}
@media (max-width: 1150px) {   /* small laptops: keep all five labels on one line */
    #home_float_head ul#sticky-control { gap: 2px; }
    #home_float_head ul#sticky-control li a.sticky_link { padding: 7px 5px; font-size: 10.5px; }
}
.floating-header-nav {
    padding: 16px;
    text-align: center;
    font-weight: bold;
}

/* ============================================================
   Desktop: show/hide helpers
   ============================================================ */
@media only screen and (min-width: 992px) {
    .significance-section-mobile.mobile-view {
        display: none !important;
    }
    .significance-sec.desktop-view {
        display: block !important;
    }
}

/* ============================================================
   Mobile — section 1 (significance)
   ============================================================ */
@media only screen and (max-width: 991px) {
    html {
        scroll-behavior: smooth;
    }

    .significance-sec.desktop-view {
        display: none !important;
    }
    .significance-section-mobile.mobile-view {
        display: block !important;
    }

    .category-header {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid transparent;
        background-color: #1f5183;
        padding: 10px 20px;
        position: relative;
        z-index: 2;
    }
    .category-header:hover { background-color: #2a6bb0; }
    .category-header.active { background-color: #193a64 !important; }
    .category-header.active h3 { color: #ffffff !important; font-weight: 600; }

    .category-toggle-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .category-header.active .category-toggle-icon {
        color: #ffffff;
        transform: rotate(180deg);
    }

    .category-content {
        display: none;
        background: #f8f9fa;
        overflow: hidden;
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .category-content.expanded {
        display: block;
        height: auto !important;
    }

    .significance-mobile-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin: 10px;
        height: auto;
    }

    .template15-wrap-main-content { padding: 20px; }
    .template15-wrap-main-content h4 {
        margin: 8px 0;
        font-size: 1.1rem;
        color: #1f2937;
        line-height: 1.4;
        font-weight: 600;
    }
    .template15-wrap-main-content p {
        color: #4b5563;
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .know-more { margin-top: 15px; }
    .know-more a {
        color: #1f5183;
        font-weight: 600;
        text-decoration: none;
        font-size: 0.9rem;
    }
    .know-more a:hover { text-decoration: underline; }

    .skeleton-box { transition: opacity 0.3s ease; }
    .skeleton-box[data-skeleton] {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }
    .skeleton-box:not([data-skeleton]) {
        background: none !important;
        animation: none !important;
    }
    @keyframes loading {
        0%   { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }

    .m-container {
        margin-bottom: 10px;
        border: 1px solid #e2e8f0;
        overflow: hidden;
        border-radius: 8px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0px !important;
        transform: translateZ(0);
    }
    .m-container.active-container { box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15); }

    .swiper-container { padding: 15px 0; height: auto !important; }
    .swiper-wrapper   { height: auto !important; }
    .swiper-slide     { height: auto !important; }

    .navigation-container {
        padding: 25px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .swiper-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #cbd5e1;
        opacity: 0.6;
        transition: all 0.3s ease;
        margin: 0 !important;
    }
    .swiper-pagination-bullet-active {
        background: #1f5183;
        opacity: 1;
        transform: scale(1.2);
    }
    .swiper-pagination-bullets.swiper-pagination-horizontal { bottom: 15px !important; }

    .count-nav-box {
        font-size: 14px;
        font-weight: 500;
        border-radius: 16px;
        min-width: 50px;
        text-align: center;
        right: 15px !important;
    }

    .home-page .indu-moblie1 {
        padding-bottom: 20px;
        margin-top: 0px !important;
    }

    .category-content.expanding,
    .category-content.collapsing {
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* --- Mobile section 2 (VAPT) --- */
    .vapt-sec.desktop-view { display: none !important; }
    .vapt-section-mobile.mobile-view { display: block !important; padding: 15px; }

    .empower-industry-box {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin: 10px;
        height: auto;
        transition: all 0.3s ease;
    }
    .empower-industry-box:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); transform: translateY(-2px); }
    .empower-industry-box .cn-main-content   { height: 160px !important; }
    .empower-industry-box .mobile-cn-main-content { height: 100px !important; }

    .cn-hover-box { position: relative; overflow: hidden; }
    .cn-hover-img { height: 400px; overflow: hidden; }
    .cn-hover-img img { width: 100%; height: 400px !important; object-fit: cover; transition: transform 0.3s ease; }
    .empower-industry-box:hover .cn-hover-img img { transform: scale(1.05); }
    .empower-industry-box:hover .cn-content { opacity: 1; }
    .cn-content p { font-size: 0.9rem; line-height: 1.5; margin: 0; text-align: center; }

    .cn-main-content { padding: 20px; background: white; }
    .cn-main-content-enclosed { display: block; text-decoration: none; color: #1f2937; font-size: 0.9rem; color: #1f5183; font-weight: 600; align-items: center; justify-content: space-between; }
    .cn-main-content-enclosed h3 { font-size: 1rem; line-height: 1.4; margin-bottom: 10px; color: #1f2937; font-weight: 600; }
    .cn-main-content-enclosed .fa { font-size: 0.8rem; transition: transform 0.3s ease; }
    .empower-industry-box:hover .cn-main-content-enclosed .fa { transform: translateX(3px); }
    .cn-main-content-enclosed:hover { color: #193a64; }
    .vapt-section-mobile .navigation-container { margin-top: 15px; }

    /* --- Mobile section 3 (GRC) --- */
    .grc-sec.desktop-view { display: none !important; }
    .grc-section-mobile.mobile-view { display: block !important; padding: 15px; }
    .grc-section-mobile { margin-top: 20px; }
    .grc-section-mobile .m-container { margin-bottom: 15px; }

    /* --- Mobile section 4 (Services) --- */
    .services-section-mobile.mobile-view { display: block !important; padding: 15px; }
    .services-section-mobile .navigation-container { margin-top: 15px; }

    /* --- Mobile section 5 (Managed) --- */
    .managed-sec.desktop-view { display: none !important; }
    .managed-section-mobile.mobile-view { display: block !important; padding: 15px; }
    .managed-section-mobile { margin-top: 20px; }
    .managed-section-mobile .m-container { margin-bottom: 15px; }

    /* --- Mobile section 8 (IT) --- */
    .it-sec.desktop-view { display: none !important; }
    .it-section-mobile.mobile-view { display: block !important; padding: 15px; }

    .it-box { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); margin: 10px; }
    .it-img { width: 100%; height: 200px; overflow: hidden; }
    .it-img img { width: 100%; height: 100%; object-fit: cover; }
    .it-content { padding: 20px; }
    .it-content p { color: #4b5563; font-size: 0.9rem; line-height: 1.5; margin-bottom: 15px; }
    .it-content a { color: #1f5183; font-weight: 600; text-decoration: none; font-size: 0.9rem; }
    .it-content a:hover { text-decoration: underline; }

    .home-banner1 { width: 100%; height: 250px; overflow: hidden; border-radius: 8px; }
    .home-banner1 img { width: 100%; height: 100%; object-fit: cover; }
    .it-section-mobile .navigation-container { margin-top: 15px; }

    /* --- Mobile section 11 (ITS) --- */
    .its-sec.desktop-view { display: none !important; }
    .its-section-mobile.mobile-view { display: block !important; padding: 15px; }
    .its-section-mobile { margin-top: 20px; }
    .its-section-mobile .m-container { margin-bottom: 15px; }

    /* --- Mobile media section --- */
    .media-sec.desktop-view { display: none !important; }
    .media-section-mobile.mobile-view { display: block !important; padding: 15px; }

    .template15-wrap-main { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); margin: 10px; height: auto; }
    .template15-wrap-main-img { height: 180px; overflow: hidden; }
    .template15-wrap-main-img img { width: 100%; height: 100%; object-fit: cover; }
    .template15-wrap-main-content { padding: 15px; }
    .template15-wrap-main-content span { color: #6b7280; font-size: 0.875rem; }
    .template15-wrap-main-content h4 { margin: 8px 0; font-size: 1.1rem; color: #1f2937; line-height: 1.4; }
    .template15-wrap-main-content h4 a { color: #1f2937; text-decoration: none; }
    .template15-wrap-main-content h4 a:hover { color: #1f5183; }
    .template15-wrap-main-content p { color: #4b5563; font-size: 0.9rem; line-height: 1.5; margin-bottom: 10px; }
    .template15-wrap-main-content p a { color: #1f5183; font-weight: 600; text-decoration: none; }
    .template15-wrap-main-content p a:hover { text-decoration: underline; }

    .podcast-video { width: 100%; height: 200px; overflow: hidden; border-radius: 8px; cursor: pointer; position: relative; }
    .podcast-video img { width: 100%; height: 100%; object-fit: cover; }
    .podcast-video::after {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 60px; height: 60px;
        border-radius: 50%;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 24px;
    }
    .podcast-video:hover::after { background-color: rgba(25, 58, 100, 0.9); }
    .media-section-mobile .navigation-container { margin-top: 15px; }

    /* --- Mobile training section --- */
    .indu-moblie1.mobile-view { display: block !important; padding: 15px; margin-top: 0 !important; }
    .certification-slider .navigation-container { margin-top: 15px; }

    /* --- Industry slider mobile --- */
    .industry-slider .swiper-wrapper { height: auto !important; min-height: 150px; }
    .industry-slider .swiper-slide   { height: auto !important; }
    .industry-slider .items           { height: 100% !important; }
}

@media only screen and (max-width: 480px) {
    .industry-slider .swiper-wrapper { height: auto !important; min-height: 120px; }
}

/* Make the Security Assessment Services cards clickable (wrap them in an
   anchor to their L3 page) without changing their look. */
.l3-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
}

/* "Securing Today. Shaping Tomorrow." service cards — five across on desktop
   (VAPT, GRC, SOC, Board Level Consulting, Bundles Services). */
@media (min-width: 992px) {
    .empower-row-5 { display: flex; flex-wrap: nowrap; }
    .empower-row-5 > [class*="col-"] { flex: 1 1 0; max-width: 20%; width: 20%; padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .empower-row-5 { display: flex; flex-wrap: wrap; justify-content: center; }
    .empower-row-5 > [class*="col-"] { flex: 0 0 33.333%; max-width: 33.333%; width: 33.333%; margin-bottom: 20px; }
}

/* Home service cards (.empower-row-5): equal-height cards, "Know more" pinned to the
   bottom of every card, full title + three lines of copy. No hover animation: the
   older hover lift / image zoom / slide-up description rules are switched off here. */
.empower-row-5 { align-items: stretch; }
.empower-row-5 > [class*="col-"] { display: flex; }
.empower-row-5 .empower-industry-box,
.empower-row-5 .empower-industry-box:hover {
    display: flex; flex-direction: column; width: 100%; margin: 0 0 24px;
    background: #fff; border-radius: 10px; overflow: hidden;
    border: 1px solid #e3e9f0;
    box-shadow: 0 4px 14px rgba(21, 65, 110, .08);
    transform: none; transition: none;
}
.empower-row-5 .empower-industry-box > a { display: flex !important; flex-direction: column; flex: 1 1 auto; color: inherit; }
.empower-row-5 .cn-hover-img { height: 230px; overflow: hidden; }
.empower-row-5 .cn-hover-img img,
.empower-row-5 .empower-industry-box:hover .cn-hover-img img { width: 100%; height: 230px !important; object-fit: cover; transform: none; transition: none; }
/* .cn-content: description over the picture on hover — see "Home image cards: hover description" below */

.empower-row-5 .empower-industry-box .cn-main-content,
.empower-row-5 .empower-industry-box1 a:hover .cn-main-content {
    display: flex; flex-direction: column; flex: 1 1 auto;
    height: auto !important; min-height: 0; padding: 18px 18px 16px;
    background: #fff !important; transition: none;
}
/* short orange rule above the title */
.empower-row-5 .cn-main-content::before {
    content: ""; display: block; width: 36px; height: 3px; border-radius: 2px;
    background: #f07f22; margin-bottom: 12px;
}
.empower-row-5 .cn-main-content h3 {
    font-size: 16px; font-weight: 700; line-height: 1.35; color: #15416e; margin: 0 0 10px;
    min-height: 2.7em;               /* room for two lines: one-line titles keep the copy aligned; never cut */
}
.empower-row-5 .cn-main-content p:not(:last-of-type) {
    font-size: 14px; line-height: 1.6; color: #5a6573; margin: 0 0 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* "Know more" sits on the card's bottom edge */
.empower-row-5 .cn-main-content p:last-of-type {
    margin-top: auto !important; padding-top: 12px; border-top: 1px solid #edf1f5;
    display: flex !important; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600 !important; color: #1C68B5 !important;
}
.empower-row-5 .cn-main-content p:last-of-type .fa { font-size: 12px; transform: none; transition: none; }
/* "Cyber Protection for a Digital-First World": section-title font (h2.cn-l3-h), site navy */
#mhome-div1 .cn-title h2.cn-l3-h { color: #15416e; }

/* Image card sliders — Specialized Security Assessment (.owl-demo91), Specialized GRC (.owl-demo92),
   SOC Services (.owl-demo93): same look as the service cards at the top. Equal-height cards,
   "Know more" on the bottom edge of every card (it is a bare text node after the <h3>, so the
   link is a wrapping flex row: h3 takes the first line, align-content pushes the rest down).
   Hover only changes the text colour — no grey box, no slide-up description. */
@media (min-width: 992px) {
    .owl-demo91 .swiper-wrapper, .owl-demo92 .swiper-wrapper, .owl-demo93 .swiper-wrapper { align-items: stretch; }
    .owl-demo91 .swiper-slide, .owl-demo92 .swiper-slide, .owl-demo93 .swiper-slide { height: auto; display: flex; }
    .owl-demo91 .swiper-slide > div, .owl-demo92 .swiper-slide > div, .owl-demo93 .swiper-slide > div { display: flex; width: 100%; margin-right: 0 !important; }
    .owl-demo91 .empower-industry-box, .owl-demo92 .empower-industry-box, .owl-demo93 .empower-industry-box,
    .owl-demo91 .empower-industry-box:hover, .owl-demo92 .empower-industry-box:hover, .owl-demo93 .empower-industry-box:hover {
        display: flex; flex-direction: column; width: 100%; margin: 0 0 6px;
        background: #fff; border-radius: 10px; overflow: hidden;
        border: 1px solid #e3e9f0; box-shadow: 0 4px 14px rgba(21, 65, 110, .08);
        transform: none; transition: none;
    }
    .owl-demo91 .cn-hover-img img, .owl-demo92 .cn-hover-img img, .owl-demo93 .cn-hover-img img { transform: none !important; transition: none; }
    .owl-demo91 .empower-industry-box .cn-main-content,
    .owl-demo92 .empower-industry-box .cn-main-content,
    .owl-demo93 .empower-industry-box .cn-main-content {
        display: flex; flex-direction: column; flex: 1 1 auto;
        height: auto !important; min-height: 0; margin: 0; padding: 16px 16px 14px; background: #fff !important;
    }
    .owl-demo91 .cn-main-content::before, .owl-demo92 .cn-main-content::before, .owl-demo93 .cn-main-content::before {
        content: ""; display: block; width: 36px; height: 3px; border-radius: 2px; background: #f07f22; margin: 0 0 12px 5px;
    }
    .owl-demo91 .cn-main-content-enclosed, .owl-demo92 .cn-main-content-enclosed, .owl-demo93 .cn-main-content-enclosed,
    .owl-demo91 .cn-main-content-enclosed:hover, .owl-demo92 .cn-main-content-enclosed:hover, .owl-demo93 .cn-main-content-enclosed:hover {
        display: flex !important; flex-wrap: wrap; align-content: space-between; align-items: center; column-gap: 8px;
        flex: 1 1 auto; background: none; font-size: 15px; font-weight: 600 !important; color: #1C68B5;
    }
    .owl-demo91 .cn-main-content-enclosed h3, .owl-demo92 .cn-main-content-enclosed h3, .owl-demo93 .cn-main-content-enclosed h3 {
        flex: 0 0 100%; margin: 0 0 14px; font-size: 16px; font-weight: 700; line-height: 1.4; color: #15416e;
    }
    .owl-demo91 .cn-main-content-enclosed .fa, .owl-demo92 .cn-main-content-enclosed .fa, .owl-demo93 .cn-main-content-enclosed .fa { font-size: 12px; }
    .owl-demo91 .empower-industry-box:hover .cn-main-content-enclosed,
    .owl-demo92 .empower-industry-box:hover .cn-main-content-enclosed,
    .owl-demo93 .empower-industry-box:hover .cn-main-content-enclosed,
    .owl-demo91 .empower-industry-box:hover .cn-main-content-enclosed h3,
    .owl-demo92 .empower-industry-box:hover .cn-main-content-enclosed h3,
    .owl-demo93 .empower-industry-box:hover .cn-main-content-enclosed h3 { color: #f07f22; }
}

/* Industry We Serve: client logos were 50px tall (and most files have white margins of
   their own), so they read tiny in their boxes. Bigger logo, slimmer box padding. */
/* every box the same width: the default "auto" columns let wide logos (HCL, MetLife) stretch theirs */
#mhome-div9 .partner-logo ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
#mhome-div9 .partner-logo ul li { min-width: 0; padding: 12px 10px; display: flex; align-items: center; justify-content: center; }
#mhome-div9 .partner-logo ul li img { height: 80px; }
@media (max-width: 991px) {
    #mhome-div9 .partner-logo ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #mhome-div9 .partner-logo ul li img { height: 64px; }
}

/* Phones: image cards in the mobile sliders (Specialized Security / Specialized GRC / SOC …,
   all .mobile-view …  .mobile-cn-main-content). The picture was a fixed 400px, so one card
   filled the screen, and the title was cut to one line. Shorter picture, title on up to 2 lines. */
@media (max-width: 991px) {
    .mobile-view .empower-industry-box .cn-hover-img,
    .mobile-view .empower-industry-box .cn-hover-img img { height: 190px !important; }
    .mobile-view .empower-industry-box .mobile-cn-main-content { height: auto !important; min-height: 0; padding: 12px 14px 14px !important; }
    .mobile-view .mobile-cn-main-content .cn-main-content-enclosed h3 {
        font-size: 15px; line-height: 1.4; margin: 0 0 8px; min-height: 2.8em;
        white-space: normal !important; text-overflow: clip;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
}

/* Specialized Board Level Services (partials/home-board-services): SOC-style image cards;
   clicking the picture slides its description up over it (.brd2-media.is-open). */
.brd2-slider .swiper-wrapper { align-items: stretch; }
.brd2-slider .swiper-slide { height: auto; display: flex; }
.brd2-card {
    display: flex; flex-direction: column; width: 100%;
    background: #fff; border-radius: 10px; overflow: hidden;
    border: 1px solid #e3e9f0; box-shadow: 0 4px 14px rgba(21, 65, 110, .08);
}
.brd2-media { position: relative; height: 230px; overflow: hidden; cursor: pointer; }
.brd2-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brd2-overlay {
    position: absolute; inset: 0; display: flex; align-items: center;
    padding: 16px; background: rgba(21, 65, 110, .93); color: #fff;
    transform: translateY(100%); transition: transform .35s ease;
}
.brd2-overlay p { margin: 0; font-size: 14px; line-height: 1.55; color: #fff; }
.brd2-media.is-open .brd2-overlay { transform: translateY(0); }
/* mouse devices: hovering the picture shows it too (touch screens use the click/tap above) */
@media (hover: hover) and (pointer: fine) {
    .brd2-media:hover .brd2-overlay { transform: translateY(0); }
}
.brd2-media:focus-visible { outline: 3px solid #f07f22; outline-offset: -3px; }
.brd2-body {
    display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 16px 14px;
    text-decoration: none !important; color: inherit;
}
.brd2-body::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 2px; background: #f07f22; margin-bottom: 12px; }
.brd2-section .brd2-body h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; line-height: 1.4; color: #15416e; }
.brd2-more { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #1C68B5; }
.brd2-more .fa { font-size: 12px; }
.brd2-body:hover h3, .brd2-body:hover .brd2-more { color: #f07f22; }
@media (max-width: 991px) {
    .brd2-media { height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .brd2-overlay { transition: none; } }
/* bullet lists: start at the top and scroll inside the picture when longer than it */
.brd2-overlay { align-items: flex-start; padding: 14px 10px 14px 14px; }
.brd2-list { max-height: 100%; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.5) transparent; }
.brd2-list p, .brd2-points p { position: relative; margin: 0 0 7px !important; padding: 0 0 0 14px !important; font-size: 12.5px !important; line-height: 1.45 !important; text-align: left !important; color: #fff; }
.brd2-list p::before, .brd2-points p::before { content: ""; position: absolute; left: 2px; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: #f07f22; }
.brd2-points { align-items: flex-start !important; overflow-y: auto !important; padding: 14px 12px !important; flex-direction: column; background: rgba(21, 65, 110, .95) !important; }
.brd2-section .brd2-body h3 { min-height: 2.8em; }

/* Home image cards: hover description. Hovering a card picture slides its description up over
   it (style.css: .cn-hover-box:hover .cn-content grows to full height, desktop 1024px+; phones tap
   the picture — homepage.js). Applies to the service cards and the Specialized / SOC sliders,
   styled like the Board Level Services cards. Card lift and image zoom stay off. */
.empower-row-5 .cn-content, .owl-demo91 .cn-content, .owl-demo92 .cn-content, .owl-demo93 .cn-content {
    background: rgba(21, 65, 110, .93) !important; transition: height .35s ease !important;
}
.empower-row-5 .cn-content p, .owl-demo91 .cn-content p, .owl-demo92 .cn-content p, .owl-demo93 .cn-content p {
    margin: 0; padding: 0 16px; font-size: 14px; line-height: 1.55; text-align: left; color: #fff;
}

/* Desktop (mouse): every home image card's description slides up over the picture the same way as the
   Board-Level cards (.brd2-overlay) — a translateY slide in .35s with the text already laid out, instead of
   style.css growing the box from height 0 with the text popping in. Phones keep the tap-to-open in
   homepage.js (it sets an inline height), so this stays out of the phone layout. */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
    .cn-hover-box { overflow: hidden; }
    .cn-hover-box .cn-content,
    .cn-hover-box:hover .cn-content {
        height: 100% !important; align-items: center; padding: 16px 0;
        transform: translateY(100%); transition: transform .35s ease !important;
    }
    .cn-hover-box .cn-content p { display: block; color: #fff; }
    .cn-hover-box:hover .cn-content { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .cn-hover-box .cn-content { transition: none !important; } }

/* line break used only on desktop (section taglines split into two lines) */
@media (max-width: 991px) { br.br-desk { display: none; } }

/* Board Level Consulting section (partials/home-board-section): looks like GRC Services */
.brd-section { background: linear-gradient(180deg, #f6f9fc 0%, #eef3f8 100%); }
.brd-panel { padding: 10px 0; background-color: transparent; }
.brd-slider { padding: 6px 4px 10px; }
.brd-slider .swiper-wrapper { align-items: stretch; }
.brd-slider .swiper-slide { height: auto; display: flex; }
.brd-card {
    display: flex; flex-direction: column; width: 100%; min-height: 300px;
    padding: 24px 20px 18px; background: #fff; border-radius: 12px;
    border: 1px solid #e1e8f0;
    box-shadow: 0 6px 18px rgba(21, 65, 110, .08);
    text-decoration: none !important; color: inherit;
    position: relative; overflow: hidden;
}
/* straight blue strip on the top edge (a border-top would bend round the rounded corners) */
.brd-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #1C68B5; }
.brd-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px;
    background: #e8f0fa; color: #1C68B5; font-size: 20px;
}
.brd-section .brd-card__title {
    margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.35; color: #15416e;
}
.brd-section .brd-card__text {
    margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #5a6573;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.brd-card__more {
    margin-top: auto; padding-top: 12px; border-top: 1px solid #edf1f5;
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; color: #1C68B5;
}
.brd-card__more .fa { font-size: 12px; }
/* hover: only the text colour changes */
.brd-card:hover .brd-card__title { color: #1C68B5; }
.brd-card:hover .brd-card__more { color: #15416e; }
/* tabs: rounded, matching the cards */
.brd-tabs li { border-radius: 8px; background: #fff; border: 1px solid #dbe4ee; }
.brd-tabs li.active { background: #15416e; border-color: #15416e; }
/* phones: the accordion version (same breakpoint and look as the GRC mobile section) */
@media only screen and (max-width: 991px) {
    .brd-section-mobile.mobile-view { display: block !important; padding: 15px; }
    .brd-section-mobile .m-container { margin-bottom: 15px; }
}
.brd-cta { display: inline-block; padding: 12px 30px; background-color: #15416e; color: #fff !important; text-decoration: none !important; border-radius: 4px; font-weight: 500; transition: background-color .3s ease; }
.brd-cta:hover { background-color: #0d2b4a; }

/* hover: only the text colour changes (title + "Know more") */
.empower-row-5 .empower-industry-box:hover .cn-main-content h3,
.empower-row-5 .empower-industry-box:hover .cn-main-content p:last-of-type { color: #f07f22 !important; }
@media (max-width: 991px) {
    .empower-row-5 .cn-hover-img, .empower-row-5 .cn-hover-img img { height: 200px !important; }
}

/* ============================================================
   Home page, mobile: the service accordions (VAPT, GRC, Managed, SOC, …) in the same card design as the
   Services / Industry / Blogs / Career pages — numbered card, orange accent, bold chevron in an orange
   circle, the open one in navy. Numbering restarts in each section.
   ============================================================ */
@media (max-width: 991px) {
    :is(section, div):has(> .m-container) { counter-reset: hm; }
    .mobile-view .m-container { margin: 0 0 10px !important; padding: 0 !important; border-radius: 14px !important; overflow: hidden;
        background: #fff !important; border: 1px solid #e3e9f1 !important; box-shadow: 0 6px 16px -12px rgba(15, 41, 74, .45) !important; }
    .mobile-view .m-container > .m-title.category-header { counter-increment: hm; position: relative; display: flex !important; align-items: center;
        justify-content: space-between; gap: 12px; margin: 0 !important; width: 100%; padding: 14px 14px 14px 18px !important;
        background: #ffffff !important; border: 0 !important; border-radius: 0 !important; }
    .mobile-view .m-container > .m-title.category-header::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px;
        border-radius: 0 4px 4px 0; background: #f07f22; }
    .mobile-view .m-container > .m-title.category-header h3 { flex: 1; display: flex; align-items: center; gap: 12px; margin: 0;
        font-size: 15px !important; font-weight: 600 !important; line-height: 1.35; text-transform: none !important; color: #0f2a4a !important; }
    .mobile-view .m-container > .m-title.category-header h3::before { content: counter(hm, decimal-leading-zero); flex: 0 0 32px; height: 32px;
        display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: #eef3f9; color: #15416e;
        font-size: 12.5px; font-weight: 700; }
    .mobile-view .m-container .category-toggle-icon { flex: 0 0 32px; width: 32px; height: 32px; display: inline-flex !important; align-items: center;
        justify-content: center; border-radius: 50%; background: #fff3e8 !important; color: #f07f22 !important; transform: none !important; }
    .mobile-view .m-container .category-toggle-icon svg { display: none !important; }
    .mobile-view .m-container .category-toggle-icon::before { content: "\f054"; font-family: FontAwesome; font-size: 12px; line-height: 1; transition: transform .3s ease; }
    .mobile-view .m-container > .m-title.category-header.active { background: #15416e !important; }
    .mobile-view .m-container > .m-title.category-header.active h3 { color: #fff !important; }
    .mobile-view .m-container > .m-title.category-header.active h3::before { background: rgba(255,255,255,.14); color: #ffb37a; }
    .mobile-view .m-container > .m-title.category-header.active .category-toggle-icon { background: #f07f22 !important; color: #fff !important; }
    .mobile-view .m-container > .m-title.category-header.active .category-toggle-icon::before { transform: rotate(90deg); }
}
/* panel behind the cards of an open accordion: a light blue-grey so the white cards stand out */
@media (max-width: 991px) {
    .mobile-view .m-container .category-content { background: #e3eaf3 !important; padding: 16px 14px 6px !important; }
}
/* cards inside a home-page accordion (mobile): same design as the Services page cards — icon tile,
   bold navy title in normal case, clamped description, orange "Know more" button, clear border with an
   orange top line */
@media (max-width: 991px) {
    .mobile-view .m-container .significance-mobile-card { position: relative; margin: 0 0 14px !important; padding: 18px !important; background: #fff !important;
        border: 1px solid #cfd9e6 !important; border-top: 3px solid #f07f22 !important; border-radius: 16px !important;
        box-shadow: 0 14px 28px -16px rgba(15, 41, 74, .45) !important; }
    .mobile-view .m-container .significance-mobile-card .template15-wrap-main-content { padding: 0 !important; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; }
    .mobile-view .m-container .significance-mobile-card .template15-wrap-main-content::before { content: "\f132"; font-family: FontAwesome; display: inline-flex;
        align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #15416e; color: #fff; font-size: 20px;
        box-shadow: 0 8px 18px -10px rgba(21, 65, 110, .8); }
    .mobile-view .m-container .significance-mobile-card h4 { margin: 0 !important; padding: 0 !important; font-size: 17px !important; font-weight: 700 !important;
        line-height: 1.35 !important; letter-spacing: 0 !important; text-transform: none !important; color: #0f2a4a !important; }
    .mobile-view .m-container .significance-mobile-card p { grid-column: 1 / -1; margin: 14px 0 0 !important; font-size: 14px !important; line-height: 1.6 !important;
        color: #5b6b80 !important; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
    .mobile-view .m-container .significance-mobile-card .know-more { grid-column: 1 / -1; margin-top: 14px !important; }
    .mobile-view .m-container .significance-mobile-card .know-more a { display: inline-flex !important; align-items: center; gap: 8px; padding: 8px 15px !important;
        border-radius: 8px !important; background: #f07f22 !important; color: #fff !important; font-size: 12.5px !important; font-weight: 700 !important;
        letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; }
    .mobile-view .m-container .significance-mobile-card .know-more a::after { content: "\f178"; font-family: FontAwesome; font-size: 13px; }
}
/* Board-Level cards (phones): the bullet panel is closed at height 0 until tapped (homepage.js sets
   height:100%) — its padding left a navy strip showing while closed; pad it only when open */
.brd2-points:not([style*="100%"]) { padding-top: 0 !important; padding-bottom: 0 !important; }
/* main service cards under the intro (VAPT, GRC, SOC, …), phones: blue-grey section behind white cards with a
   clear border, orange top line and a deeper shadow, so each card stands apart */
@media (max-width: 991px) {
    section:has(> .container > .empower-row-5), section:has(.empower-row-5) { background: #e3eaf3 !important; }
    .empower-row-5 .empower-industry-box { border: 1px solid #cfd9e6 !important; border-top: 3px solid #f07f22 !important; border-radius: 16px !important;
        overflow: hidden; box-shadow: 0 14px 28px -16px rgba(15, 41, 74, .5) !important; }
    .empower-row-5 .col-md-3 { margin-bottom: 18px; }
}

/* ============================================================
   Home page scroll reveal: each section's content rises and fades in as it scrolls into view, cards one
   after another. Only active once the script has run (html.hr-on), so without JS nothing is hidden.
   The section itself is never transformed (sticky menu / fixed popups inside keep working).
   ============================================================ */
html.hr-on .hr-item { opacity: 0; transform: translate3d(0, 34px, 0); }
html.hr-on .hr-item.hr-in { opacity: 1; transform: none;
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(var(--hr-i, 0) * 90ms); }
/* hero: a gentle fade-in on load */
/* banner: fade in, and the video settles from a slight zoom INSIDE its box (scaling the whole banner pushed the
   page a few px sideways for that second and could flash a horizontal scrollbar) */
html.hr-on #banner { animation: hr-fade 1s cubic-bezier(.16, 1, .3, 1) both; }
html.hr-on #banner .video-container { overflow: hidden; }
html.hr-on #banner video { animation: hr-zoom 1s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes hr-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hr-zoom { from { transform: scale(1.015); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
    html.hr-on .hr-item { opacity: 1; transform: none; }
    html.hr-on #banner, html.hr-on #banner video { animation: none; }
}

/* ===== Moved from index.blade.php's inline <style> blocks (kept in their original order) ===== */

/* Desktop: one consistent gap under every section's cards — cards → « » arrows
         → "View All". The markup sets these spacings inline (and the View All
         wrappers pull themselves up with margin-top:-60px), hence !important. */

        @media (min-width: 992px) {
            /* cards → « » arrows (Swiper sections) */
            [id^="mhome-div"] .swiper-controls { margin-top: 30px !important; }
            [id^="mhome-div"] .swiper-controls .swiper-button-prev,
            [id^="mhome-div"] .swiper-controls .swiper-button-next { margin-top: 0 !important; }
            [id^="mhome-div"] .home-slider-spacing { margin-bottom: 0 !important; }
            /* cards → « » arrows (Glider sections) */
            [id^="mhome-div"] .glider-controls { margin-top: 30px !important; }
            /* arrows (or cards) → View All: 30px */
            [id^="mhome-div"] .container.desktop-view:has(> .blog-view) {
                margin-top: 0 !important;
                padding-bottom: 0 !important;
            }
            [id^="mhome-div"] .blog-view { padding-top: 30px !important; }
            #mhome-div10 .testo-view { margin-top: 0 !important; padding-top: 30px !important; }

            /* Tabbed sections: the blue tab panel already adds 10px below the
               arrows, so View All gets 20px more (= 30) and 25px under it
               (+ the section's own 5px = 30). */
            [id^="mhome-div"] .cn-tabs,
            [id^="mhome-div"] .cn-tabs1 { margin-bottom: 0 !important; }
            [id^="mhome-div"] .container.desktop-view:has(.cn-tabs, .cn-tabs1) + .container.desktop-view .blog-view {
                padding-top: 20px !important;
            }
            [id^="mhome-div"] .container.desktop-view:has(.cn-tabs, .cn-tabs1) + .container.desktop-view:has(> .blog-view) {
                padding-bottom: 25px !important;
            }
            /* GRC Services (tabbed, no View All): 10px panel + 20px = 30 */
            #mhome-div4 { padding-bottom: 20px !important; }
            /* Why Cybar Wind: drop the slider's extra 70px under the arrows */
            #mhome-div8 .glider-contain { padding-bottom: 0 !important; }

            /* Before Swiper starts, lay slides out at their final size so the
               sliders don't flash one full-width card and then snap. Values
               mirror each slider's slidesPerView / spaceBetween at desktop. */
            [id^="mhome-div"] .home-slider .swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 4 * 20px) / 5); margin-right: 20px; }
            [id^="mhome-div"] [class*="owl-demo9"]:not(.swiper-initialized) .swiper-slide { width: calc((100% - 4 * 10px) / 5); margin-right: 10px; }
            [id^="mhome-div"] .client-logo-swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 5 * 10px) / 6); margin-right: 10px; }
            [id^="mhome-div"] .industry-swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 4 * 20px) / 5); margin-right: 20px; }
            [id^="mhome-div"] .testimonials-swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 30px) / 2); margin-right: 30px; }
        }

        /* Until the tab/slider scripts have run, show only the first panel of
           each tab group and of Industry We Serve. Otherwise every panel is
           visible on first paint (sections render ~1700px tall) and the page
           then collapses — the "sections load late" glitch. The scripts
           show/hide panels with inline styles, so this guard steps aside
           (html.tabs-ready) once they're done. */
        html:not(.tabs-ready) .tab-content ~ .tab-content,
        html:not(.tabs-ready) .tab-content_1 ~ .tab-content_1,
        html:not(.tabs-ready) .tab-content1 ~ .tab-content1,
        html:not(.tabs-ready) .tab-content2 ~ .tab-content2,
        html:not(.tabs-ready) .tab-content3 ~ .tab-content3,
        html:not(.tabs-ready) .tab-content4 ~ .tab-content4,
        html:not(.tabs-ready) .tab-content4_1 ~ .tab-content4_1,
        html:not(.tabs-ready) .partner-logo ~ .partner-logo { display: none !important; }

        /* Managed Security Operations tabs: same bottom padding on every
           panel (was inline on the first tab only), so switching tabs doesn't
           move the View All button. Matches the other tabbed sections. */
        .tab-content4_1 { padding-bottom: 10px; }

        /* Lazy-loaded images with no size: reserve their box so sections
           don't grow as they arrive (logos ~115px, training banner ~700px). */
        .client-logo-swiper img { width: 100%; aspect-ratio: 159 / 119; }    /* all logos 159×119 */
        .traing-banner.desktop-view img { aspect-ratio: 1440 / 536; }       /* clients/banner.webp */
        .traing-banner.mobile-view img { aspect-ratio: 1 / 1; }             /* banner2image.jpg 950×950 */

        /* Integrated Security Services banner slider (home section-7, #mhome-div6).
           Three wide banners (2000×746) rotating; one slider on desktop and mobile. */
        .isv-banner-slider { position: relative; overflow: hidden; aspect-ratio: 2000 / 746; }
        .isv-banner-slider .swiper-slide { height: 100%; }
        .isv-banner-slider img { width: 100%; height: 100%; display: block; object-fit: cover; }
        /* banner 3: invisible button over the "Explore our approach" button in the artwork (opens the film).
           Its box is at x 96-455, y 510-582 of the 2000x746 image; desktop crops 38px top and bottom (below). */
        .isv-banner-slider .swiper-slide { position: relative; }
        .isv-banner-hotspot { position: absolute; left: 4.5%; top: 67.6%; width: 18.5%; height: 11%; z-index: 2; padding: 0; border: 0;
            border-radius: 999px; background: transparent; cursor: pointer; transition: box-shadow .3s ease, background-color .3s ease; }
        .isv-banner-hotspot:hover { box-shadow: 0 10px 28px -6px rgba(240, 127, 34, .75); }   /* a soft orange glow only, no border */
        .isv-banner-hotspot:focus { outline: 0; }
        .isv-banner-hotspot:focus-visible { box-shadow: 0 10px 28px -6px rgba(240, 127, 34, .75); }
        /* Prev / next arrows — same circular look as the L3 page banner */
        .isv-banner-slider .cn-banner-nav {
            position: absolute; top: 50%; margin-top: -21px; z-index: 12;
            display: flex; align-items: center; justify-content: center;
            width: 42px; height: 42px; padding: 0;
            border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%;
            background: rgba(15, 30, 60, .25); color: rgba(255, 255, 255, .7);
            cursor: pointer; opacity: .6;
            transition: background .2s, color .2s, opacity .2s, transform .2s;
        }
        .isv-banner-slider:hover .cn-banner-nav { opacity: .9; }
        .isv-banner-slider .cn-banner-nav:hover,
        .isv-banner-slider .cn-banner-nav:focus-visible {
            opacity: 1; background: #0b1a33; color: #fff; border-color: #0b1a33;
            transform: scale(1.06); box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
        }
        .isv-banner-slider .cn-banner-nav svg { width: 22px; height: 22px; }
        .isv-banner-slider .isv-banner-prev { left: 12px; }
        .isv-banner-slider .isv-banner-next { right: 12px; }
        @media (max-width: 991px) {
            .isv-banner-slider .cn-banner-nav { width: 30px; height: 30px; margin-top: -15px; }
            .isv-banner-slider .cn-banner-nav svg { width: 16px; height: 16px; }
            .isv-banner-slider .isv-banner-prev { left: 6px; }
            .isv-banner-slider .isv-banner-next { right: 6px; }
        }

            /* home-banner.mp4 (2026-11-06, one video for every screen) is a 1920x1080 file whose picture is a wide
               strip, rows ~348-732, with black bars above and below on every frame (measured across the whole video).
               The box takes the strip's ratio (1920x380, a hair inside it) and the video is cover-cropped from the
               centre, so the black bars are cut away and the strip shows whole at full width. Light fill while it loads. */
            #banner .video500 { min-height: 0; background: #f3f6fa; }
            #banner .video-container .center-mk-vid {
                position: static; transform: none; display: block;
                width: 100%; max-width: 100%; height: auto; min-width: 0; min-height: 0; margin: 0 !important;
                aspect-ratio: 1920 / 380; background: #f3f6fa; object-fit: cover; object-position: 50% 50%;   /* the strip inside the 16:9 file */
            }
            #banner .dark_cta { display: none; }
            /* phones: the header is fixed (38px) and sat over the top of the video — start the video below it */
            @media (max-width: 991px) {
                #banner { margin-top: 38px !important; }
            }
            /* CTA under the headline, over the light part of the video */
            #banner .video-content {
                top: auto;
                bottom: 10%;
                transform: translateX(-50%);
            }
            /* CTA over the video (bottom centre, as before): see-through so the video behind it shows,
               solid on hover and darker while pressed */
            #banner .video-content .orange-btn {
                margin: 0 !important;
                background: rgba(249, 103, 2, .55) !important;
                border: 1px solid rgba(255, 255, 255, .55) !important;
                -webkit-backdrop-filter: blur(3px);
                        backdrop-filter: blur(3px);
                box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .5);
                transition: background-color .25s ease, transform .2s ease;
            }
            #banner .video-content .orange-btn:hover,
            #banner .video-content .orange-btn:focus-visible { background: #e05d00 !important; }
            #banner .video-content .orange-btn:active { background: #c94f00 !important; transform: scale(.97); }
            /* Phones: the strip is only ~75px tall here, too short to hold the button, so the
               button sits just under the video instead */
            @media (max-width: 991px) {
                #banner .video-content {
                    position: static; transform: none; left: auto; margin: 0 !important; max-width: none;
                    width: 100%; padding: 10px 0 12px; background: #f3f6fa; text-align: center;
                }
                #banner .video-content .orange-btn { padding: 8px 18px !important; font-size: 14px; }
                #banner .video-content .row,
                #banner .video-content .orange-btn { margin: 0 !important; }
                /* .button.parbase (15px) and .row.top (20px) add their own top padding: drop it */
                #banner .video-content .button.parbase,
                #banner .video-content .row.top { padding-top: 0 !important; }
            }

            /* Webinar popup: framed player (header, video, CTA footer). Whole video visible (contain, never cropped). */
            .webinar-modal {
                position: fixed;
                inset: 0;
                z-index: 100000;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 20px 2vw;
                background: radial-gradient(circle at 50% 30%, rgba(28, 104, 181, .35), rgba(6, 16, 31, .92) 70%);
                -webkit-backdrop-filter: blur(8px);
                backdrop-filter: blur(8px);
                opacity: 0;
                visibility: hidden;
                transition: opacity .35s ease, visibility .35s;
            }
            .webinar-modal.is-open { opacity: 1; visibility: visible; }
            .webinar-modal__box {
                position: relative;
                width: min(1680px, 100%);   /* the video is a wide 1906x378 strip: a wider box is a taller video */
                min-width: 0;
                max-height: calc(100vh - 40px);
                display: flex;
                flex-direction: column;
                border-radius: 18px;
                overflow: hidden;
                background: #0b1d33;
                box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(249, 103, 2, .35);
                transform: translateY(30px) scale(.94);
                opacity: 0;
                transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
            }
            .webinar-modal.is-open .webinar-modal__box { transform: none; opacity: 1; }
            .webinar-modal__box::before { /* brand gradient top edge */
                content: "";
                position: absolute;
                top: 0; left: 0; right: 0;
                height: 3px;
                z-index: 2;
                background: linear-gradient(90deg, #1c68b5, #f96702);
            }
            .webinar-modal__head {
                display: flex;
                align-items: center;
                gap: 16px;
                padding: 18px 22px;
                background: linear-gradient(90deg, #15416e, #0b1d33);
                color: #fff;
            }
            .webinar-modal__badge {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                padding: 6px 12px;
                border-radius: 999px;
                background: rgba(249, 103, 2, .16);
                border: 1px solid rgba(249, 103, 2, .45);
                font-size: 12px;
                font-weight: 700;
                letter-spacing: .12em;
                text-transform: uppercase;
                color: #ffa45c;
                white-space: nowrap;
            }
            .webinar-modal__badge i {
                width: 8px; height: 8px; border-radius: 50%;
                background: #f96702;
                box-shadow: 0 0 0 0 rgba(249, 103, 2, .7);
                animation: webinar-pulse 1.6s infinite;
            }
            @keyframes webinar-pulse { 70% { box-shadow: 0 0 0 8px rgba(249, 103, 2, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 103, 2, 0); } }
            .webinar-modal__title { flex: 1; min-width: 0; }
            .webinar-modal__title h3 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
            .webinar-modal__title p { margin: 2px 0 0; font-size: 13px; color: rgba(255, 255, 255, .65); }
            .webinar-modal__close {
                flex: 0 0 auto;
                width: 40px;
                height: 40px;
                border: 1px solid rgba(255, 255, 255, .25);
                border-radius: 50%;
                background: rgba(255, 255, 255, .08);
                color: #fff;
                font-size: 22px;
                line-height: 38px;
                cursor: pointer;
                transition: background .25s ease, transform .3s ease, border-color .25s ease;
            }
            .webinar-modal__close:hover { background: #f96702; border-color: #f96702; transform: rotate(90deg); }
            .webinar-modal__stage { position: relative; background: #000; display: flex; justify-content: center; min-height: 0; min-width: 0; }
            .webinar-modal__video {
                display: block;
                width: 100%;
                height: auto;
                max-height: calc(100vh - 220px);
                object-fit: contain;
                background: #f3f6fa;   /* the video itself is light */
            }
            /* 16:9 films (data-film): the box is only as wide as the video at the height it can have, so no side bars */
            .webinar-modal.is-film .webinar-modal__box { width: min(1680px, 100%, calc((100vh - 220px) * 16 / 9)); }
            .webinar-modal.is-film .webinar-modal__video { background: #000; }
            .webinar-modal__foot {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 16px;
                padding: 16px 22px;
                background: #0b1d33;
                border-top: 1px solid rgba(255, 255, 255, .08);
            }
            .webinar-modal__foot p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
            .webinar-modal__foot p strong { color: #fff; }
            .webinar-modal__ctas { display: flex; gap: 10px; flex: 0 0 auto; }
            .webinar-modal__ctas a {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                padding: 10px 18px;
                border-radius: 8px;
                font-size: 14px;
                font-weight: 700;
                text-decoration: none !important;
                transition: background .25s ease, transform .25s ease;
            }
            .webinar-modal__ctas a:hover { transform: translateY(-2px); }
            .webinar-modal__cta--primary { background: #f96702; color: #fff !important; }
            .webinar-modal__cta--primary:hover { background: #e05d00; }
            .webinar-modal__cta--ghost { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
            .webinar-modal__cta--ghost:hover { background: rgba(255, 255, 255, .1); }
            body.webinar-open { overflow: hidden; }
            @media (max-width: 991px) {
                .webinar-modal { padding: 10px; }
                .webinar-modal__box { border-radius: 14px; }
                .webinar-modal__head { padding: 14px 16px; gap: 10px; flex-wrap: wrap; }
                .webinar-modal__title { order: 3; flex-basis: 100%; }
                .webinar-modal__close { margin-left: auto; width: 36px; height: 36px; line-height: 34px; }
                .webinar-modal__title h3 { font-size: 16px; }
                .webinar-modal__foot { flex-direction: column; align-items: stretch; padding: 14px 16px; }
                .webinar-modal__ctas a { flex: 1; justify-content: center; }
            }
            @media (prefers-reduced-motion: reduce) {
                .webinar-modal, .webinar-modal__box { transition: none; }
                .webinar-modal__badge i { animation: none; }
            }

        /* ===== Our Customers — 2-up testimonials with Read More popup ===== */
        section.cn-customer#mhome-div10 {
            /* plain light grey (user's choice), white cards on it */
            position: relative;
            background: #eef2f7 !important;
            padding: 66px 0 72px;
        }
        .cn-customer#mhome-div10 .cn-l3-h { color: #ffffff; }
        .cn-customer#mhome-div10 .cn-l3-p { color: rgba(255, 255, 255, .92); }
        .cn-customer .testimonials-swiper { padding: 8px 4px; }
        .cn-customer .testimonials-swiper .swiper-slide { height: auto; display: flex; }
        .cn-customer .tm2-card {
            background: #fff; border-radius: 10px; width: 100%;
            padding: 44px 28px; text-align: left; position: relative;
            box-shadow: 0 18px 46px rgba(20, 30, 80, .22);
            display: flex; flex-direction: row; align-items: center; gap: 24px;
        }
        .cn-customer .tm2-avatar-wrap { position: relative; width: 132px; margin: 0; flex: none; }
        .cn-customer .tm2-avatar {
            width: 132px; height: 132px; border-radius: 50%; object-fit: cover; display: block;
            box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
        }
        /* Initials avatar for testimonials without a photo */
        .tm-initials {
            display: flex; align-items: center; justify-content: center;
            background: linear-gradient(135deg, #15416e, #1c6fb5); color: #fff;
            font-weight: 700; letter-spacing: 1px; user-select: none;
        }
        .cn-customer .tm2-avatar.tm-initials { display: flex; font-size: 42px; line-height: 1; }
        .tm-popup-avatar.tm-initials { font-size: 24px; }
        .testo-popup-cont-top-img .tm-initials { width: 100%; height: 100%; font-size: 32px; }
        .tm-popup-body p + p, .testo-popup-body p + p { margin-top: 12px; }
        .cn-customer .tm2-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
        .cn-customer .tm2-badge {
            position: absolute; right: -4px; bottom: 2px; width: 32px; height: 32px; border-radius: 50%;
            background: linear-gradient(135deg, #2aa9e0, #1c8fd0); color: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 13px; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
        }
        .cn-customer .tm2-text {
            color: #6b7280; font-size: 15px; line-height: 1.75; margin: 0 0 10px;
            display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
        }
        .cn-customer .tm2-name { color: #1b6fc4; font-size: 18px; font-weight: 700; margin: 0 0 2px; }
        .cn-customer .tm2-role { color: #8a94a6; font-size: 13px; display: block; margin-bottom: 12px; }
        .cn-customer .tm2-readmore {
            align-self: flex-start; background: #1b6fc4; color: #fff; border: none; border-radius: 22px;
            padding: 7px 20px; font-size: 13px; font-weight: 600; letter-spacing: .3px; cursor: pointer;
            transition: background .2s ease, transform .2s ease;
        }
        .cn-customer .tm2-readmore:hover { background: #15416e; transform: translateY(-2px); }
        /* ===== 2026-10-30 testimonials, split layout: intro + arrows left, a card slider right (the next card peeks in) ===== */
        .cn-customer#mhome-div10 .tmx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
        /* intro centred on top, arrows under it, cards below */
        .cn-customer#mhome-div10 .tmx-intro { max-width: 760px; margin: 0 auto; text-align: center; }
        .cn-customer#mhome-div10 .tmx-intro .tmx-lead { margin-bottom: 22px; }
        .cn-customer#mhome-div10 .tmx-nav { justify-content: center !important; margin-top: 6px !important; }
        .cn-customer#mhome-div10 .tmx-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12.5px; font-weight: 700;
            letter-spacing: .16em; text-transform: uppercase; color: #f07f22; }
        .cn-customer#mhome-div10 .tmx-kicker::before { content: ""; width: 28px; height: 2px; background: #f07f22; }
        .cn-customer#mhome-div10 .tmx-title { margin: 0 0 14px; font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; line-height: 1.15; color: #15416e; text-transform: none; }
        .cn-customer#mhome-div10 .tmx-title span { color: #f07f22; }
        .cn-customer#mhome-div10 .tmx-lead { margin: 0 0 26px; font-size: 15.5px; line-height: 1.7; color: #5a6677; }
        .cn-customer#mhome-div10 .tmx-nav { margin: 4px 0 0 !important; padding-bottom: 8px; gap: 12px !important; }
        section.cn-customer#mhome-div10 { padding-bottom: 80px !important; }
        .cn-customer#mhome-div10 .tmx-nav button { width: 52px !important; height: 52px !important; border-radius: 50% !important; font-size: 16px !important;
            background: #fff !important; color: #15416e !important; border: 1.5px solid #c9d6e6 !important; transition: background-color .25s ease, border-color .25s ease; }
        .cn-customer#mhome-div10 .tmx-nav button:hover { background: #f07f22 !important; border-color: #f07f22 !important; color: #fff !important; }
        .cn-customer#mhome-div10 .tmx-slider { min-width: 0; overflow: hidden; }
        .cn-customer#mhome-div10 .testimonials-swiper { overflow: visible; padding: 10px 0 14px; }

        /* vertical (portrait) card: orange band with the photo on it, then the words, then name, role and Read More */
        .cn-customer#mhome-div10 .tm2-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%;
            padding: 0 24px 24px; border-radius: 20px; background: #fff; border: 0; overflow: hidden; text-align: center;
            box-shadow: 0 18px 40px -26px rgba(15, 42, 74, .45); border: 1px solid #dfe7f1; transition: transform .35s ease, opacity .4s ease; }
        .cn-customer#mhome-div10 .tm2-card:hover { transform: translateY(-6px); }
        .cn-customer#mhome-div10 .tm2-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 74px;
            background: linear-gradient(120deg, #15416e, #1f5a96); }
        .cn-customer#mhome-div10 .tm2-card::after { content: "\201C"; position: absolute; right: 18px; top: 4px; font: 700 64px/1 Georgia, serif; color: rgba(255, 255, 255, .22); }
        .cn-customer#mhome-div10 .tm2-card > * { position: relative; z-index: 1; }
        .cn-customer#mhome-div10 .tm2-avatar-wrap { position: relative; left: auto; bottom: auto; order: 0; width: 88px; margin: 28px 0 14px; }
        .cn-customer#mhome-div10 .tm2-avatar { width: 88px; height: 88px; box-shadow: 0 0 0 4px #fff, 0 10px 22px -8px rgba(0, 0, 0, .45); }
        .cn-customer#mhome-div10 .tm2-avatar.tm-initials { font-size: 28px; }
        .cn-customer#mhome-div10 .tm2-badge { display: flex; right: -2px; bottom: 0; width: 30px; height: 30px; background: #f07f22; font-size: 12px; }
        .cn-customer#mhome-div10 .tm2-body { display: flex; flex-direction: column; align-items: center; flex: 1; width: 100%; order: 1; }
        .cn-customer#mhome-div10 .tm2-text { order: 3; margin: 14px 0 18px; font-size: 15.5px; line-height: 1.7; color: #3a4554; -webkit-line-clamp: 5; }
        .cn-customer#mhome-div10 .tm2-name { order: 1; margin: 0; padding: 0; border: 0; font-size: 17px; font-weight: 700; color: #0f2a4a; text-transform: none; }
        .cn-customer#mhome-div10 .tm2-role { order: 2; display: block; margin: 2px 0 0; padding: 0 0 12px; min-height: 0; width: 100%; border-bottom: 1px solid #e6ecf3;
            font-size: 13px; color: #6b7686; }
        .cn-customer#mhome-div10 .tm2-readmore { order: 4; position: static; margin-top: auto; align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
            border-radius: 999px; background: #fff4ea; color: #c55f0d; font-size: 13.5px; font-weight: 700; }
        .cn-customer#mhome-div10 .tm2-readmore::after { content: "\2192"; transition: transform .25s ease; }
        .cn-customer#mhome-div10 .tm2-readmore:hover { background: #f07f22; color: #fff; transform: none; }
        .cn-customer#mhome-div10 .tm2-readmore:hover::after { transform: translateX(4px); }
        @media (min-width: 992px) {
            .cn-customer#mhome-div10 .tmx-slider { padding: 0 2px; }
        }
        @media (max-width: 991px) {
            .cn-customer#mhome-div10 .tmx { grid-template-columns: 1fr; gap: 24px; }
            .cn-customer#mhome-div10 .tm2-card { padding: 0 18px 20px; }
        }
        .cn-customer .glider-controls.tm2-controls { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
        .cn-customer .glider-controls.tm2-controls button {
            width: 42px; height: 42px; border: none; border-radius: 50%; font-size: 18px; cursor: pointer; line-height: 1;
            transition: transform .2s ease, opacity .2s ease;
        }
        .cn-customer .glider-controls.tm2-controls button:hover { transform: translateY(-2px); opacity: .9; }
        .cn-customer .testo-view { text-align: center; margin-top: 8px; }
        .cn-customer .testo-view a { color: #ffffff; font-weight: 600; text-decoration: underline; }

        /* popup */
        .tm-popup[style*="block"] { display: flex !important; align-items: center; justify-content: center; }
        .tm-popup-box {
            background: #fff; width: 100%; max-width: 600px; margin: auto; border-radius: 16px;
            padding: 34px 32px 30px; position: relative; box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
            animation: tmPopIn .3s ease both;
        }
        @keyframes tmPopIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
        .tm-popup-close {
            position: absolute; top: 12px; right: 18px; font-size: 28px; line-height: 1; font-weight: 400;
            color: #9aa5b4; text-decoration: none; transition: color .2s ease;
        }
        .tm-popup-close:hover { color: #15416e; }
        .tm-popup-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-right: 30px; }
        .tm-popup-avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid #eaf0f6; flex: none; }
        .tm-popup-headmeta h3 { margin: 0; font-size: 20px; font-weight: 700; color: #15416e; }
        .tm-popup-headmeta span { font-size: 14px; color: #7a869a; }
        .tm-popup-body { max-height: 52vh; overflow-y: auto; }
        .tm-popup-body p { color: #3a4756; font-size: 16px; line-height: 1.8; margin: 0; }

        /* --- polished "testimonial" styling for the home Read More popup (gradient popup-testo),
           all scoped to its ids so nothing else is affected --- */
        /* decorative quote mark in the banner corner (like the cards), OUTSIDE the scrollable
           body — so it stays put no matter how long the quote is */
        .popup[id^="client-testimonials-popup"] .testo-popup-cont-top::after {
            content: "\201C"; position: absolute; top: 6px; right: 22px; z-index: 1;
            font: 700 72px/1 Georgia, serif; color: rgba(255, 255, 255, .32); pointer-events: none;
        }
        /* refined popup shadow + a clean white ring around the avatar (single navy tone) */
        .popup[id^="client-testimonials-popup"] .popup-box.popup-testo { box-shadow: 0 30px 80px rgba(11, 29, 51, .4); }
        .popup[id^="client-testimonials-popup"] .testo-popup-cont-top-img { box-shadow: 0 0 0 4px #fff, 0 8px 20px rgba(15, 42, 74, .28); }
        /* name in deep navy, role in a muted slate; a hairline divider under the header block */
        .popup[id^="client-testimonials-popup"] .testo-popup-cont-bottom { padding-bottom: 18px; border-bottom: 1px solid #e9eef4; }
        .popup[id^="client-testimonials-popup"] .testo-popup-cont-bottom h3 { font-size: 20px; font-weight: 700; color: #0f2a4a; }
        .popup[id^="client-testimonials-popup"] .testo-popup-cont-bottom span { color: #64748b; font-weight: 500; }
        /* quote: clean italic, generous line-height, no coloured accents */
        .popup[id^="client-testimonials-popup"] .testo-popup-body.tm-quote { margin-top: 18px; }
        .popup[id^="client-testimonials-popup"] .testo-popup-body.tm-quote p { color: #3f4a5a; font-size: 16px; line-height: 1.9; font-style: italic; }

        @media (max-width: 991px) {
            section.cn-customer#mhome-div10 { padding: 44px 0 50px; }
            .cn-customer .tm2-card { padding: 22px 20px; gap: 16px; }
            .cn-customer .tm2-avatar-wrap, .cn-customer .tm2-avatar { width: 96px; }
            .cn-customer .tm2-avatar { height: 96px; }
            .cn-customer .tm2-text { font-size: 14.5px; -webkit-line-clamp: 4; }
            .tm-popup-box { padding: 28px 22px 24px; }
        }
        @media (max-width: 480px) {
            .cn-customer .tm2-card { flex-direction: column; text-align: center; }
            .cn-customer .tm2-avatar-wrap { margin: 0 auto; }
            .cn-customer .tm2-readmore { align-self: center; }
        }

/* ===== Integrated Security Services (partials/home-integrated-services) ===== */
/* desktop: white cards on a light panel, all navy — title, text (3 lines), "Know more"; orange only on hover, which lifts the card,
   slides in an orange edge, zooms the photo. The cards in a row share one height. */
.isv-section { background: #e3eaf3 radial-gradient(rgba(21, 65, 110, .12) 1px, transparent 1.3px) 0 0 / 18px 18px; }   /* a shade darker so the white cards stand out */
.isv-grid > div { display: flex; margin-bottom: 20px; }
.isv-card {
    position: relative; display: flex; gap: 14px; width: 100%; padding: 12px;
    background: #fff; border: 1px solid #d3deea; border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(16, 42, 77, .05); color: inherit; text-decoration: none !important;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.isv-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, #f07f22, #e8792b); transform: scaleY(0); transform-origin: top;
    transition: transform .35s ease;
}
a.isv-card:hover { transform: translateY(-4px); border-color: #c9d8ec; box-shadow: 0 16px 32px -12px rgba(16, 42, 77, .28); }
a.isv-card:hover::before { transform: scaleY(1); }
.isv-img { position: relative; flex: 0 0 96px; align-self: flex-start; aspect-ratio: 270 / 280; border-radius: 8px; overflow: hidden; background: #e8eef5; }
.isv-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
a.isv-card:hover .isv-img img { transform: scale(1.08); }
.isv-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.isv-body h3 { font-size: 15px; font-weight: 700; line-height: 1.3; color: #15416e; margin: 2px 0 6px; transition: color .25s ease; }
a.isv-card:hover .isv-body h3 { color: #e8792b; }
.isv-body p { font-size: 12.5px; line-height: 1.6; color: #4f5d6f; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }   /* the full text is on the page itself */
.isv-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #15416e; transition: color .25s ease; }
.isv-more i { font-size: 11px; transition: transform .25s ease; }
a.isv-card:hover .isv-more { color: #e8792b; }
a.isv-card:hover .isv-more i { transform: translateX(4px); }
/* phones: the slider cards get the same accent */
.isv-mobile { background: #e3eaf3; }
.isv-mobile .empower-industry-box { border: 1px solid #dbe4ef; border-top: 3px solid #f07f22; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px -8px rgba(16, 42, 77, .25); background: #fff; }
.isv-mobile .cn-main-content-enclosed h3 { color: #15416e; font-weight: 700; }
/* extra polish: a navy line on top of every card, a soft navy wash on the photo (lifts on hover)
   and the service icon in a navy badge on the photo corner (orange on hover) (also on the phone slider cards) */
.isv-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #15416e; }
.isv-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 65, 110, 0) 35%, rgba(21, 65, 110, .5)); transition: opacity .35s ease; }
a.isv-card:hover .isv-img::after { opacity: 0; }
.isv-ico {
    position: absolute; right: 6px; bottom: 6px; z-index: 1; width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: #15416e; color: #fff; font-size: 13px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .28); transition: transform .3s ease, background-color .3s ease;
}
a.isv-card:hover .isv-ico { transform: scale(1.1) rotate(-8deg); background: #e8792b; }
.isv-mobile .cn-hover-img { position: relative; }
.isv-mobile .isv-ico { left: 12px; right: auto; bottom: 12px; width: 38px; height: 38px; font-size: 16px; }

/* Desktop: sections alternate grey / white. SOC (grey) was followed by Board-Level and the banner strip in the same
   grey, so Board-Level and the banner strip are white now (then the light-blue Integrated section). */
@media (min-width: 992px) {
    #mhome-div-board2 { background: #ffffff !important; }
    #mhome-div6 { background: #ffffff !important; }
    /* Integrated banner slider a little shorter: crop the empty band above and below the artwork (all three banners
       keep ~50px of plain background there), never the text. */
    #mhome-div6 .isv-banner-slider { aspect-ratio: 2000 / 670; }
    #mhome-div6 .isv-banner-slider img { object-position: center; }
    #mhome-div6 .isv-banner-hotspot { top: 69.8%; height: 12%; }   /* same button, after the 38px top crop */
}

/* ===== Home › news + closing CTA (#mhome-div12, 2026-11-02): the About pages' partials, styled by about.css ===== */
.cn-home-news .ab-cta { margin-bottom: 0; }
/* Hide the news filter tabs (All news / Press releases / Awards / Events) on the home page only;
   the About › Media page keeps them. All cards stay visible since "All news" is the default. */
.cn-home-news .ab-filters,
.cn-home-news .ab-newsroom .ab-filters { display: none; }   /* one card per category on home: no tabs needed (the second selector beats about.css) */
/* "View All" button under the home news grid → About › Media page */
.cn-home-news .ab-news-more { text-align: center; margin-top: 36px; }
/* Home news cards: compact (2026-11-03) — four smaller cards in one row, the first four stories only
   (the rest are a click away under "View All"); the About › Media page keeps its full-size cards */
.cn-home-news .ab-section { padding: 70px 0; }
.cn-home-news .ab-head { margin-bottom: 36px; }
.cn-home-news .ab-news { grid-template-columns: repeat(4, 1fr); gap: 20px; }   /* four cards: one per category + the next newest */
.cn-home-news .ab-news__card { border-radius: 14px; }
.cn-home-news .ab-news__card:hover { transform: translateY(-5px); }
.cn-home-news .ab-news__img { aspect-ratio: 16 / 9; }
.cn-home-news .ab-news__date { left: 10px; bottom: 10px; padding: 6px 9px; border-radius: 9px; }
.cn-home-news .ab-news__date strong { font-size: 17px; }
.cn-home-news .ab-news__date span { font-size: 9.5px; }
.cn-home-news .ab-news__body { padding: 14px 16px 16px; }
.cn-home-news .ab-news__body .ab-meta { font-size: 12px; }
.cn-home-news .ab-news__body h3 { margin-top: 10px; font-size: 15px; line-height: 1.35; }
.cn-home-news .ab-news__body p { margin: 6px 0 12px !important; font-size: 13px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cn-home-news .ab-news__more { font-size: 13px; }
@media (max-width: 1100px) { .cn-home-news .ab-news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991px) { .cn-home-news .ab-section { padding: 48px 0; } }
/* phones: one column of short horizontal cards — small picture on the left, text on the right */
@media (max-width: 575px) {
    .cn-home-news .ab-news { grid-template-columns: 1fr; gap: 12px; }
    .cn-home-news .ab-news__card { flex-direction: row; }
    .cn-home-news .ab-news__img { flex: 0 0 112px; aspect-ratio: auto; }
    .cn-home-news .ab-news__date { left: 6px; bottom: 6px; padding: 4px 6px; }
    .cn-home-news .ab-news__date strong { font-size: 14px; }
    .cn-home-news .ab-news__date span { font-size: 8.5px; }
    .cn-home-news .ab-news__body { padding: 10px 12px 12px; min-width: 0; }
    .cn-home-news .ab-news__body .ab-meta { font-size: 11px; gap: 4px 10px; }
    .cn-home-news .ab-news__body h3 { margin-top: 6px; font-size: 14px; }
    .cn-home-news .ab-news__body p { display: none; }
    .cn-home-news .ab-news__more { margin-top: 8px; font-size: 12.5px; }
}

/* ===== Home › "Why Codec Networks?" banners (#mhome-div8, 2026-10-31): five 1905x686 banners, fading slider ===== */
.why-banners { padding: 0 !important; background: #eef3f9; }
.why-banner-slider { position: relative; overflow: hidden; aspect-ratio: 1905 / 686; }
.why-banner-slider .swiper-slide { background: #eef3f9; }
.why-banner-slider img { display: block; width: 100%; height: 100%; object-fit: cover; }
.why-banner-nav { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; padding: 0; border: 0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: rgba(21, 65, 110, .85); color: #fff; cursor: pointer;
    opacity: .75; transition: opacity .25s ease, background-color .25s ease; }
.why-banner-slider:hover .why-banner-nav { opacity: 1; }
.why-banner-nav:hover, .why-banner-nav:focus-visible { background: #f07f22; opacity: 1; }
.why-banner-nav svg { width: 20px; height: 20px; }
.why-banner-prev { left: 14px; }
.why-banner-next { right: 14px; }
.why-banner-dots { position: absolute; left: 0; right: 0; bottom: 12px !important; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.why-banner-dots .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: #15416e; opacity: .35; transition: width .3s ease, opacity .3s ease; }
.why-banner-dots .swiper-pagination-bullet-active { width: 24px; border-radius: 4px; background: #f07f22; opacity: 1; }
@media (max-width: 991px) {
    .why-banner-nav { width: 30px; height: 30px; margin-top: -15px; }
    .why-banner-nav svg { width: 15px; height: 15px; }
    .why-banner-prev { left: 6px; } .why-banner-next { right: 6px; }
    .why-banner-dots { bottom: 6px !important; }
}

/* Home floating section bar: two link sets, swapped by the "Sticky nav sets" script in index.blade.php —
   the services until the Integrated section is scrolled past, then Why Codec Networks → Career */
#sticky-control:not(.is-g2) li.nav-g2,
#sticky-control.is-g2 li.nav-g1 { display: none !important; }
#sticky-control.is-g2 li.nav-g2,
#sticky-control:not(.is-g2) li.nav-g1 { animation: navSetIn .35s ease both; }
@keyframes navSetIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Home › Security Assessment & Penetration Testing (#mhome-div2)
   DESKTOP-ONLY modern restyle (2026-11-03). Horizontal tabs kept.
   Scoped to :is(#mhome-div2, #mhome-div4, #mhome-div4-1) — sibling sections + mobile untouched, no HTML/data
   change. Adds a per-category heading above the cards so it's always clear
   which category the shown cards belong to.
   ============================================================ */
@media (min-width: 992px) {
    /* section backgrounds: each keeps its own (style.css — VAPT #b1b6db lavender; GRC and SOC now take the same, below —
       plus the inline pattern in index.blade.php); only the tabs, panel and cards below are shared */
    /* "View All" under the panel: room below it inside the section (it hung a few px over the section edge) */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .container.desktop-view:has(> .blog-view) { padding-bottom: 36px !important; }
    /* GRC: a sky blue (next to Security Assessment lavender and SOC teal — not white, yellow or red),
       its own white grid pattern (inline in index.blade.php) showing on it like the others */
    #mhome-div4 { background-color: #aed8f0 !important; }
    /* the tagline under each title in dark navy blue (not the default grey), so it reads on the lavender pattern */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1, #mhome-div5) .cn-title .cn-l3-p { color: #061a33 !important; font-weight: 500; }
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .cn-tabs1, #mhome-div4 .cn-tabs, #mhome-div4-1 .cn-tabs) { background: transparent !important; }

    /* --- Tabs wrapped in a rounded box; active tab = brand-blue glowing outline --- */
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .home-tabs, #mhome-div4 .home-tabs, #mhome-div4-1 .home-tabs2) {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px !important;
        margin: 0 auto 22px !important;
        padding: 8px 16px !important;
        background: #ffffff !important;
        border: 1px solid #bcd0e9;
        border-radius: 16px;
        box-shadow: 0 0 0 1px rgba(47, 128, 201, .14), 0 4px 14px rgba(21, 65, 110, .10);
    }
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .home-tabs, #mhome-div4 .home-tabs, #mhome-div4-1 .home-tabs2) li {
        position: relative;
        flex: 0 0 auto;
        width: auto;
        padding: 0 !important;
        background: transparent;
        border: 2px solid transparent;
        border-radius: 999px;
        box-shadow: none;
        transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .home-tabs, #mhome-div4 .home-tabs, #mhome-div4-1 .home-tabs2) li a {
        display: block;
        width: auto;
        height: auto;
        padding: 9px 18px;
        font-size: 13.5px;
        font-weight: 600;
        color: #1e3a5f;
        text-align: center;
        line-height: 1.2;
        white-space: nowrap;
        transition: color .2s ease;
    }
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .home-tabs, #mhome-div4 .home-tabs, #mhome-div4-1 .home-tabs2) li:hover a { color: #1d5a96; }
    /* active tab: brand-blue glowing outline */
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .home-tabs, #mhome-div4 .home-tabs, #mhome-div4-1 .home-tabs2) li.active {
        background: #ffffff;
        border-color: #2f80c9;
        box-shadow: 0 0 0 4px rgba(47, 128, 201, .15), 0 6px 16px rgba(47, 128, 201, .22);
    }
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .home-tabs, #mhome-div4 .home-tabs, #mhome-div4-1 .home-tabs2) li.active a { color: #15416e; font-weight: 700; }

    /* GRC: five long labels can not share one line - equal-width tabs, a label may wrap to two lines */
    #mhome-div4 .home-tabs { gap: 6px !important; padding: 8px 10px !important; }
    #mhome-div4 .home-tabs li { flex: 1 1 0; min-width: 0; border-radius: 14px; }
    #mhome-div4 .home-tabs li a { padding: 8px 10px; white-space: normal; }
    /* SOC: only three tabs - keep them together in the middle instead of spread to the edges */
    #mhome-div4-1 .home-tabs2 { justify-content: center; gap: 28px !important; }

    /* --- Panel box: soft blue-grey surface, clearly visible vs the near-white section --- */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) #tabs-content {
        background: #d5e1ef !important;
        border: 1px solid #b8cbe3;
        border-radius: 16px;
        padding: 6px 20px 22px;
        box-shadow: 0 10px 30px rgba(16, 42, 67, .09);
    }
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .tab-content1, #mhome-div4 .tab-content, #mhome-div4-1 .tab-content4_1) { padding: 0; }
    /* give the cards room above/below so the hover-lift isn't clipped by the swiper */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .home-slider .swiper { padding-top: 10px; overflow: hidden; }
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .tab-content1, #mhome-div4 .tab-content, #mhome-div4-1 .tab-content4_1) .container { max-width: 100%; padding-left: 0; padding-right: 0; }
    /* category heading (active panel only) — filled navy icon badge + refined type */
    :is(:is(#mhome-div2, #mhome-div4, #mhome-div4-1) .tab-content1, #mhome-div4 .tab-content, #mhome-div4-1 .tab-content4_1)::before {
        display: block;
        padding: 9px 2px 16px 54px;
        margin-bottom: 16px;
        font-size: 18px;
        font-weight: 700;
        color: #15314f;
        letter-spacing: .3px;
        background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%2315416e'/%3E%3Cg transform='translate(8,8)' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 3v6c0 5-3.5 8-8 11-4.5-3-8-6-8-11V5z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/g%3E%3C/svg%3E") left 0 top 1px / 40px no-repeat,
            linear-gradient(90deg, #15416e 0%, #f07f22 100%) left bottom / 100% 2px no-repeat;
        animation: cwHeadIn .55s ease backwards;
    }
    @keyframes cwHeadIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
    #mhome-div2 #tab11::before { content: "Securing your apps, APIs, code and smart contracts"; }
    #mhome-div2 #tab12::before { content: "Securing your networks, wireless, cloud and IoT"; }
    #mhome-div2 #tab13::before { content: "Securing your databases, data stores and encryption"; }
    #mhome-div2 #tab14::before { content: "Securing your servers, storage and virtualization"; }
    #mhome-div2 #tab15::before { content: "Securing your people, process and awareness"; }
    #mhome-div4 #tab1::before { content: "Frameworks, certifications and audits that prove control"; }
    #mhome-div4 #tab2::before { content: "Protecting personal data across its whole lifecycle"; }
    #mhome-div4 #tab3::before { content: "Measuring, managing and reporting business risk"; }
    #mhome-div4 #tab4::before { content: "Governing AI, blockchain and Web3.0 adoption"; }
    #mhome-div4 #tab5::before { content: "Meeting the security mandates of India's regulators"; }
    #mhome-div4-1 #tab_4_3::before { content: "24x7 monitoring, detection and response"; }
    #mhome-div4-1 #tab_4_1::before { content: "Investigating incidents and analysing threats"; }
    #mhome-div4-1 #tab_4_2::before { content: "Protecting your brand, reputation and digital presence"; }

    /* --- Cards: clean · icon on top · title · clamped text · "Learn more" --- */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link { position: relative; display: block; height: 100%; }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .tab-content-box {
        height: 306px !important;
        min-height: 306px;
        background: #ffffff;
        border: 1px solid #bcd0e9;
        border-radius: 14px;
        padding: 58px 16px 44px;
        box-shadow: 0 0 0 1px rgba(47, 128, 201, .14), 0 4px 14px rgba(21, 65, 110, .10);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    }
    /* divider line above the footer link (anchored to the card) */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .tab-content-box::before {
        content: "";
        position: absolute; left: 16px; right: 16px; bottom: 42px; z-index: 2;
        height: 1px; background: #eef2f8;
    }
    /* "Learn more →" — a simple text link, anchored to the CARD bottom so it stays inside */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .tab-content-box::after {
        content: "Learn more \2192";
        position: absolute; left: 16px; bottom: 15px; z-index: 2;
        font-size: 12.5px; font-weight: 700; color: #15416e;
        letter-spacing: .2px;
        transition: color .2s ease, transform .2s ease;
    }
    /* small simple blue magnifier icon, top-left */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link::before {
        content: "";
        position: absolute; top: 16px; left: 16px; z-index: 2;
        width: 34px; height: 34px; border-radius: 9px;
        background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center / 18px no-repeat,
            linear-gradient(135deg, #eef3fb, #e1ebf8);
        box-shadow: inset 0 0 0 1px rgba(21, 65, 110, .12);
        transition: background .24s ease, box-shadow .24s ease;
    }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .tab-content-box h3 {
        font-size: 14.5px;
        line-height: 1.3;
        font-weight: 700;
        color: #15314f;
        margin: 0 0 10px;
        transition: color .2s ease;
    }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .tab-content-box p {
        font-size: 12.5px;
        line-height: 1.55;
        color: #5a6b7d;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* (the old link-anchored button is removed — the footer link lives on the card box above) */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link::after { content: none; }
    /* hover — lift + blue glow, icon fills navy */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .tab-content-box:hover {
        background: #ffffff;
        transform: translateY(-5px);
        border-color: #7ba5d6;
        box-shadow: 0 0 0 2px rgba(47, 128, 201, .38), 0 16px 34px rgba(21, 65, 110, .26);
    }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .tab-content-box:hover p { color: #5a6b7d; }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link:hover .tab-content-box h3 { color: #15416e; }
    /* hover: lift/glow the badge but KEEP each card's own icon (set per service below) */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link:hover::before {
        box-shadow: 0 6px 14px rgba(21, 65, 110, .22);
        transform: translateY(-2px);
    }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link:hover .tab-content-box::after { color: #f07f22; transform: translateX(3px); }

    /* --- Staggered entrance: cards cascade in (1→5) each time a tab is shown --- */
    @keyframes cwCardIn {
        from { opacity: 0; transform: translateY(18px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link { animation: cwCardIn .5s cubic-bezier(.22, .61, .36, 1) backwards; }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .swiper-slide:nth-child(1) .l3-card-link { animation-delay: .05s; }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .swiper-slide:nth-child(2) .l3-card-link { animation-delay: .13s; }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .swiper-slide:nth-child(3) .l3-card-link { animation-delay: .21s; }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .swiper-slide:nth-child(4) .l3-card-link { animation-delay: .29s; }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .swiper-slide:nth-child(5) .l3-card-link { animation-delay: .37s; }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .swiper-slide:nth-child(6) .l3-card-link { animation-delay: .45s; }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .swiper-slide:nth-child(n+7) .l3-card-link { animation-delay: .5s; }

    /* default card icon: GRC = clipboard with a tick, SOC = monitor with a pulse line */
    #mhome-div4 .itmes .l3-card-link::before   { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M9 14l2 2 4-4'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    #mhome-div4-1 .itmes .l3-card-link::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpolyline points='6 10 9 10 11 7 13 13 15 10 18 10'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    /* ===== Per-service card icons (matched by the service slug in the link href) ===== */
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="web-application"]::before   { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="mobile-app"]::before       { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="api-security-testing"]::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="thick-client"]::before     { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="cloud"]::before            { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="smart-contract"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="dapp"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="blockchain"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="dao-"]::before             { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="sast-dast"]::before        { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 17 10 11 4 5'/%3E%3Cline x1='12' y1='19' x2='20' y2='19'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="cicd"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="process-bypass"]::before   { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='6' y1='3' x2='6' y2='15'/%3E%3Ccircle cx='18' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M18 9a9 9 0 0 1-9 9'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="zero-day"]::before         { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="network"]::before          { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'/%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="wireless"]::before         { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.55a11 11 0 0 1 14.08 0'/%3E%3Cpath d='M1.42 9a16 16 0 0 1 21.16 0'/%3E%3Cpath d='M8.53 16.11a6 6 0 0 1 6.95 0'/%3E%3Cline x1='12' y1='20' x2='12.01' y2='20'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="5g-"]::before              { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="iot"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="firmware"]::before         { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Crect x='9' y='9' width='6' height='6'/%3E%3Cline x1='9' y1='1' x2='9' y2='4'/%3E%3Cline x1='15' y1='1' x2='15' y2='4'/%3E%3Cline x1='9' y1='20' x2='9' y2='23'/%3E%3Cline x1='15' y1='20' x2='15' y2='23'/%3E%3Cline x1='20' y1='9' x2='23' y2='9'/%3E%3Cline x1='20' y1='14' x2='23' y2='14'/%3E%3Cline x1='1' y1='9' x2='4' y2='9'/%3E%3Cline x1='1' y1='14' x2='4' y2='14'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="vpn"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="encryption"]::before       { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="red-team"]::before         { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="pci"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="compliance"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="tabletop"]::before         { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M9 14l2 2 4-4'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="zero-trust"]::before       { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="database"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="sql"]::before              { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M21 12c0 1.66-4 3-9 3s-9-1.34-9-3'/%3E%3Cpath d='M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="big-data"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="hypervisor"]::before       { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="active-directory"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="iam"]::before              { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cline x1='10.85' y1='12.15' x2='19' y2='4'/%3E%3Cline x1='18' y1='5' x2='20' y2='7'/%3E%3Cline x1='15' y1='8' x2='17' y2='10'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="data-masking"]::before     { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="os-hardening"]::before     { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cline x1='6' y1='6' x2='6.01' y2='6'/%3E%3Cline x1='6' y1='18' x2='6.01' y2='18'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="container"]::before        { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='16.5' y1='9.4' x2='7.5' y2='4.21'/%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="storage"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="backup"]::before           { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='12' x2='2' y2='12'/%3E%3Cpath d='M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3Cline x1='6' y1='16' x2='6.01' y2='16'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="serverless"]::before       { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="phishing"]::before,
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="email"]::before            { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="insider"]::before          { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="social-engineering"]::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
    :is(#mhome-div2, #mhome-div4, #mhome-div4-1) .itmes .l3-card-link[href*="deepfake"]::before         { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315416e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='2.18'/%3E%3Cline x1='7' y1='2' x2='7' y2='22'/%3E%3Cline x1='17' y1='2' x2='17' y2='22'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #eef3fb, #e1ebf8); }
}

/* Phones (2026-11-04): an even, small gap between each section title and its cards / accordion box, whatever
   the subtitle's length. The title lives in the desktop section and the phone content in the .mobile-view block
   after it; the title sections now end right under the subtitle and each phone block's own top padding (15px) is
   the gap. (Negative margins that pulled the blocks up were removed: on narrow phones, where the subtitle runs to
   three lines, they slid the cards over it.) */
@media (max-width: 991px) {
    #mhome-div2, #mhome-div3, #mhome-div4, #mhome-div5, #mhome-div4-1, #mhome-div3-1, #mhome-div-integrated { padding-bottom: 0 !important; }
    #mhome-div2 .cn-title, #mhome-div3 .cn-title, #mhome-div4 .cn-title, #mhome-div5 .cn-title, #mhome-div4-1 .cn-title,
    #mhome-div3-1 .cn-title, #mhome-div-integrated .cn-title, #mhome-div-board2 .cn-title, #mhome-div9 .cn-title { margin-bottom: 0 !important; }
    #mhome-div1 .cn-title { margin-bottom: 2px !important; }
    #grc-section-mobile { margin-top: 0 !important; }
    #mhome-div9 .industry-slider { padding-top: 12px !important; }
    #mhome-div3-1 + .mobile-view .swiper-container, .isv-mobile .swiper-container { padding-top: 0 !important; }
    /* testimonials: intro → card was ~66px (lead margin + grid gap + slider padding) */
    .cn-customer#mhome-div10 .tmx { gap: 14px; }
    .cn-customer#mhome-div10 .tmx-intro .tmx-lead { margin-bottom: 0; }
    .cn-customer#mhome-div10 .testimonials-swiper { padding-top: 4px; }
    #mhome-div-board2 .brd2-m-slider { padding-top: 0 !important; }
    #mhome-div-board2 { padding-bottom: 8px !important; }   /* dots → next section was 45px */
    #mhome-div-board2 .brd2-m-slider .empower-industry-box { margin-top: 0 !important; }
    /* "What’s New" / "At Our News Desk": heading → content was 65px */
    .cn-home-news .ab-head { margin-bottom: 16px !important; }
    /* alternate the backgrounds: Cyber Defense (grey) → Board-Level white */
    #mhome-div-board2, #mhome-div-board2 .brd2-mobile { background: #ffffff !important; }
}

/* Testimonials → CN Insight (2026-11-04): the gap scales with the screen. It was a fixed 80px under the
   testimonial arrows plus the news section's own top padding (~144px on a phone). */
section.cn-customer#mhome-div10 { padding-bottom: clamp(24px, 5vw, 80px) !important; }
.cn-home-news .ab-section:first-child { padding-top: clamp(28px, 5vw, 70px); }

/* Phones (2026-11-04): the slider boxes (Advanced Security Assessment, Emerging Risk …) had 31px above the card
   and 50px between the card and the dots — trimmed to an even ~14px. */
@media (max-width: 991px) {
    .mobile-view .category-content > .swiper-container { padding-top: 0 !important; }
    .mobile-view .category-content:has(> .swiper-container) { padding-top: 10px !important; }
    .mobile-view .navigation-container { padding: 12px 20px 2px !important; margin-top: 0 !important; }   /* every phone slider on the home page */
}

/* Testimonials: the "View all" link under the arrows is switched off (index.blade.php), so its empty wrapper only
   added 38px of blank space before the next section. */
#mhome-div10 .testo-view { display: none !important; }

/* Arriving on the home page with a section hash (/#mhome-…, from About › What we do and the partner banner):
   html.hash-nav (set by the first script in index.blade.php) hides the page under a white veil while it lays out
   and the images above the target load, then the page lands on the section once and the veil fades. */
html.hash-nav body::before {
    content: ""; position: fixed; inset: 0; z-index: 99998; background: #fff;
    transition: opacity .35s ease;
}
html.hash-nav body::after {
    content: ""; position: fixed; top: 50%; left: 50%; z-index: 99999; width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 3px solid #d5e1ef; border-top-color: #f07f22; border-radius: 50%; animation: hash-nav-spin .8s linear infinite;
}
html.hash-nav.hash-nav--done body::before, html.hash-nav.hash-nav--done body::after { opacity: 0; pointer-events: none; }
html.hash-nav.hash-nav--done body::after { animation: none; }
@keyframes hash-nav-spin { to { transform: rotate(360deg); } }

/* 2026-11-05: the navy "At Our News Desk" band is for the About › CN Insight page only — on home the section
   keeps its light tint (white cards need a tinted section), navy/orange heading and the blue View All button. */
.cn-home-news .ab-newsroom { background: #e5ecf5; }
.cn-home-news .ab-newsroom::before { display: none; }
.cn-home-news .ab-newsroom .ab-label { color: #14a456; }
.cn-home-news .ab-newsroom .ab-h2--duo { color: #15416e; }
.cn-home-news .ab-newsroom .ab-h2--duo span { color: #f07f22; }
.cn-home-news .ab-newsroom .ab-news__card { box-shadow: 0 10px 30px -14px rgba(15, 29, 46, .25); }
.cn-home-news .ab-newsroom .ab-news-more .ab-btn--primary { background: linear-gradient(135deg, var(--ab-blue), var(--ab-navy)); box-shadow: 0 10px 24px -8px rgba(28, 104, 181, .55); }
