/* ==========================================================================
   MICROSOFT DEFENDER ANALYTICS — PAGE STYLES
   ========================================================================== */


/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */

.bg-wrapper {
    background-image: url(https://stg.brickclay.com/wp-content/themes/brickclay-new/assets/images/pages/models/hero-section.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 70px 0;
}

/* Hero content centred across columns 4–10 of the grid */
.hero-section {
    text-align: center;
    grid-column-start: 4;
    grid-column-end: 10;
}

.da-text-after-heading {
    font-weight: 400;
    font-style: Regular;
    font-size: 64px;
    line-height: 74px;
    letter-spacing: -1.5px;
    text-align: center;
    margin-bottom: 16px;
}

.da-text-after-desc {
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    color: #6D6D6D;
}


/* --------------------------------------------------------------------------
   TYPOGRAPHY & GLOBAL UTILITY CLASSES
   -------------------------------------------------------------------------- */

.heading1 {
    font-weight: 400;
    font-size: 48px;
    line-height: 67px;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.heading2 {
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: -0.85px;
    margin-bottom: 8px;
    margin-top: 40px;
}

/* Summary sub-heading — tighter bottom margin override */
.summary-heading {
    margin-bottom: 12px !important;
}

.page_text {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
    margin-bottom: 16px;
    color: #6D6D6D;
}

/* Remove bottom margin when page_text is the last element in its parent */
.page_text:last-child {
    margin-bottom: 0;
}

/* Spacing helpers */
.px-65 {
    padding: 0 65px 0 65px;
}

.mb-16 {
    margin-bottom: 16px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mt-0 {
    margin-top: 0px !important;
}


/* --------------------------------------------------------------------------
   PAGE INTRO SECTION
   -------------------------------------------------------------------------- */

.page_section {
    padding: 100px 0;
}


/* --------------------------------------------------------------------------
   DASHBOARDS & TAB SECTION
   -------------------------------------------------------------------------- */

.dashboards {
    padding: 100px 0;
}

/* Owl Carousel dot overrides scoped to the dashboards section */
.dashboards .owl-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 15px !important;
}

.dashboards .owl-dot span {
    margin: 0px !important;
    border-color: #000000 !important;
}

.dashboards .owl-dot.active span {
    background-color: #000000 !important;
}

/* --- Tab Navigation --- */

.tab-navigation {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 50px;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.tab-link {
    padding: 8px 14px;
    white-space: nowrap;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    transition: background-color 0.3s, color 0.3s;
    background-color: white;
    border: 1px solid #E4E4E4;
    border-radius: 6px;
    color: #6D6D6D !important;
}

.tab-link:hover {
    background-color: black;
    color: #FFFFFF !important;
}

/* Active tab — black background with white text */
.tab-link.active {
    background-color: #000000;
    color: #FFFFFF !important;
}

/* --- Tab Content --- */

/* min-height prevents layout shift when switching between tabs */
.tab-content-container {
    min-height: 300px;
    position: relative;
}

/* Hidden state — tab panes are invisible and removed from flow by default */
.tab-pane {
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
}

/* Visible state — set by JS when the tab is selected */
.tab-pane.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

/* --- Dashboard Images & Owl Carousel --- */

/* Top margin for carousel instances used inside tab panes */
.owl-carousel-process {
    margin-top: 50px;
}

/* Dashboard images inside the process carousel reset their own margins */
.owl-carousel-process .dashboard-image {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Global Owl dot spacing when nav arrows are disabled */
.owl-theme .owl-nav.disabled + .owl-dots {
    margin-bottom: 50px;
}

/* Default Owl dot appearance — small outlined circle */
.owl-theme .owl-dots .owl-dot span {
    height: 8px;
    width: 8px;
    border: 1px solid #247FFB;
    border-radius: 8px;
    background-color: #F5F8FC;
}

/* Active and hovered Owl dot — filled with brand blue */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span .owl-dot.active {
    background-color: #247FFB;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background-color: #247FFB;
}

/* Standalone dashboard screenshot image with breathing room */
.dashboard-image {
    margin-top: 50px;
    margin-bottom: 40px;
}

/* --- Security Feature Points (point-box grid) --- */

/* Extra bottom margin on the section heading to separate it from the grid */
.security-section .heading2 {
    margin-bottom: 30px;
}

/* Individual feature point — top border acts as a visual divider */
.security-section .point-box {
    border-top: 1px solid #E4E4E4;
    padding-top: 17px;
    margin-bottom: 5px;
}

/* Remove bottom margin from the last point-box to avoid extra spacing */
.security-section .point-box:last-child {
    margin-bottom: 0px;
}

/* Feature point heading inside security section */
.security-section .point-box .heading {
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 8px;
}

/* Feature point description inside security section */
.security-section .point-box p {
    margin-bottom: 0px;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: #6D6D6D;
}

/* Two-column grid layout for the feature point boxes */
.security-section-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Generic point-box used outside of .security-section */
.point-box {
    margin-bottom: 30px;
}

.point-box .heading {
    font-size: 18px;
    line-height: 26px;
    color: #000000;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.point-box .text {
    font-size: 18px;
    line-height: 26px;
    color: #575960;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

/* --- CTA Button Group (bottom of tab content) --- */

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 50px;
}

/* White outline button variant */
.bc_btn_white {
    background: #FFFFFF;
    color: #575960 !important;
    border-color: #FFFFFF;
}

.bc_btn_white:hover {
    background: #f4f4f4;
    border-color: #f4f4f4;
}


/* --------------------------------------------------------------------------
   PROCESS CAROUSEL SECTION
   -------------------------------------------------------------------------- */

/* Heading row — space-between layout for the "Process" label */
.process-carousel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 84px;
}

.process-carousel .heading {
    font-weight: 400;
    font-size: 48px;
    line-height: 67px;
    letter-spacing: -1.5px;
    color: #000000;
}

.process-carousel .paragraph {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0px;
    color: #6D6D6D;
}

/* Full-bleed left-aligned carousel with max-width guard */
.carousel-container {
    padding: 0 0 0 max(48px, calc((100% - 1568px) / 2));
}

/* Individual work item inside the carousel — right border as separator */
.work-item {
    padding: 0 33px 0 0;
    border-right: 1px solid #E4E4E4;
}

/* Carousel prev / next arrow buttons */
.carousel-btns {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8px;
}

.carousel-btns .btn {
    padding: 20px 25px;
    border: 1px solid #E4E4E4;
    cursor: pointer;
    width: 70px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btns .btn.disabled {
    opacity: 0.5;
}

/* Navigation arrows are hidden on desktop; revealed on tablet/mobile */
.mobile-btn {
    display: none;
}

/* --- Process Step Cards (sticky-scroll layout) --- */

.process-wrapper {
    position: relative;
}

.d-content {
    display: contents;
}

/* Heading panel sticks in viewport while cards scroll beneath it */
.process-heading-wrapper {
    position: sticky;
    top: 30px;
    background: white;
    z-index: 80;
    align-self: flex-start;
    padding-top: 50px;
}

.process-heading-wrapper .heading {
    font-weight: 400;
    font-size: 48px;
    line-height: 67px;
    letter-spacing: -1.5px;
    color: #000000;
}

.process-card-wrapper {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 30px;
    flex-direction: column;
}

/* Sticky white card that stacks as the user scrolls */
.white-card {
    padding: 40px;
    border: 1px solid #E4E4E4;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 100px;
    flex-direction: column;
    background-color: white;
    position: sticky;
    top: 100px;
}

/* Individual step inside the process carousel — left border accent */
.process-step {
    padding: 5px 50px;
    border-left: 1px solid #E4E4E4;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 110px;
    flex-direction: column;
    background-color: white;
}

/* Step number text inside white-card */
.white-card .text {
    font-weight: 400;
    font-style: Regular;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: -0.85px;
}

/* Step number text inside process-step */
.process-step .text {
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 0px;
    line-height: 44px;
}

/* Orange dot accent that follows the step number */
.process-step .text .dot {
    font-weight: 400;
    font-size: 28px;
    line-height: 44px;
    letter-spacing: -0.85px;
    color: #F9452D;
    position: absolute;
}

/* Orange dot inside the white-card step number */
.white-card .text .dot {
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: -0.85px;
    color: #F9452D;
    position: absolute;
}

/* Card title inside process-step */
.process-step .content .card-heaidng {
    font-weight: 400;
    font-style: Regular;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: -0.85px;
    margin-bottom: 6px;
}

/* Card body text inside process-step */
.process-step .content .card-paragraph {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0;
    color: #6D6D6D;
}

/* Card title inside white-card */
.white-card .content .card-heaidng {
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0;
    color: #000000;
    margin-bottom: 4px;
}

/* Card body text inside white-card */
.white-card .content .card-paragraph {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
    color: #6D6D6D;
}


/* --------------------------------------------------------------------------
   SERVICE / CTA SECTION
   -------------------------------------------------------------------------- */

/* Outer wrapper — red background card with illustration aligned to the right */
.service-section {
    background: #F9452D;
    display: flex;
    border-radius: 8px;
    padding: 0px 120px;
    margin-bottom: 112px;
    align-items: flex-end;
}

.service-card {
    text-align: center;
    color: #fff;
    padding: 30px;
}

.service-card__content {
    text-align: left;
    padding: 70px 0;
}

/* "Need assistance?" eyebrow label */
.service-card__label {
    font-weight: 500;
    font-size: 16px;
    line-height: 22.4px;
    letter-spacing: 20%;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #000;
}

/* Illustration container — image aligned to the bottom on desktop */
.service-card__illustration {
    padding-top: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    padding-left: 120px;
}

.service-card__illustration img {
    height: 352px;
    width: 352px;
}

/* Desktop illustration is visible by default */
.desktop-illustration {
    display: flex;
}

/* Mobile illustration is hidden by default (shown at mobile breakpoint) */
.mobile-illustration {
    display: none;
}

/* Main card headline */
.service-card__title {
    font-weight: 400;
    font-size: 48px;
    line-height: 67px;
    letter-spacing: -1.5px;
    margin-top: 12px;
    margin-bottom: 12px;
    color: #fff;
}

/* Supporting description below the headline */
.service-card__description {
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0px;
    margin-bottom: 30px;
}

/* CTA button — dark background, white text */
.service-card__btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 14px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.service-card__btn:hover {
    background: var(--white);
    color: var(--black);
}


/* --------------------------------------------------------------------------
   DEFENDER WCB / CTA CARDS SECTION
   -------------------------------------------------------------------------- */

.defender_wcb_section {
    padding: 100px 0 100px 0;
}

.defender_wcb_section .card {
    background: #F5F8FC;
}

/* Count badge inside a WCB card */
.WCB .card .card_count {
    background: #E0ECFC;
    color: #247FFB;
}


/* ==========================================================================
   RESPONSIVE STYLES — TABLET  (max-width: 1023px)
   ========================================================================== */

@media screen and (max-width: 1023px) {

    /* --- Hero Section --- */

    .bg-wrapper {
        padding: 60px 0;
    }

    .hero-section {
        max-width: 510px;
        margin: 0 auto;
    }

    .section-eyebrow {
        margin-bottom: 16px;
    }

    .da-text-after-heading {
        font-weight: 400;
        font-size: 40px;
        line-height: 53px;
        letter-spacing: -1.5px;
    }

    .da-text-after-desc {
        font-weight: 400;
        font-size: 16px;
        line-height: 25px;
    }

    /* --- Typography --- */

    .heading1 {
        font-weight: 400;
        font-size: 34px;
        line-height: 44px;
        letter-spacing: -0.65px;
        margin-bottom: 10px;
    }

    .heading2 {
        font-size: 28px;
        line-height: 40px;
        margin-top: 36px;
        margin-bottom: 8px;
    }

    .page_text {
        font-size: 16px;
        line-height: 25px;
        margin-bottom: 16px;
    }

    /* --- Page Intro Section --- */

    .page_section {
        padding: 80px 0;
    }

    /* --- Dashboards & Tab Section --- */

    .dashboards {
        padding: 60px 0;
    }

    .tab-navigation {
        margin-bottom: 30px;
    }

    .dashboard-image {
        margin-bottom: 40px;
        margin-top: 40px;
    }

    /* Collapse to single column on tablet */
    .security-section-content {
        grid-template-columns: repeat(1, 1fr);
    }

    .security-section .heading2 {
        font-weight: 400;
        font-size: 28px;
        line-height: 40px;
        letter-spacing: -0.85px;
    }

    .summary-heading {
        margin-top: 30px !important;
    }

    .btn-group {
        margin-top: 40px;
    }

    .bc_btn_white {
        text-align: center;
    }

    .bc_btn_blue {
        text-align: center;
    }

    .owl-theme .owl-nav.disabled + .owl-dots {
        margin-bottom: 24px;
        margin-top: 10px !important;
    }

    /* --- Process Carousel Section --- */

    .process-carousel {
        margin-bottom: 40px;
    }

    .process-carousel .heading {
        font-weight: 400;
        font-size: 34px;
        line-height: 44px;
        letter-spacing: -0.65px;
    }

    .process-carousel-wrapper {
        margin-bottom: 40px;
    }

    .process-step {
        padding: 5px 40px;
        gap: 80px;
    }

    .process-step .text {
        font-size: 28px;
        line-height: 40px;
    }

    .process-step .text .dot {
        line-height: 40px;
    }

    .process-step .content .card-heaidng {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .process-step .content .card-paragraph {
        font-size: 16px;
        line-height: 25px;
    }

    /* Lower stacking context so sticky cards don't obscure other content */
    .process-heading-wrapper {
        z-index: 0;
    }

    .process-heading-wrapper .heading {
        font-size: 34px;
        line-height: 44px;
        letter-spacing: -0.65px;
        margin-bottom: 30px;
    }

    .white-card {
        top: 150px;
    }

    /* Hide Owl built-in nav arrows — custom arrows used instead */
    .owl-nav {
        display: none;
    }

    /* Reveal custom prev/next arrow buttons on tablet */
    .mobile-btn {
        display: inline-flex;
    }

    .px-65 {
        padding: 0 0 0 0;
    }

    /* --- WCB Section --- */

    .defender_wcb_section {
        padding: 50px 0 50px 0;
    }

    .WCB .owl-carousel .owl-stage {
        margin-bottom: 0 !important;
    }

    /* --- Service / CTA Section --- */

    .service-section {
        padding-left: 50px;
        padding-bottom: 0px;
        padding-right: 0px;
        justify-content: space-between;
        margin-bottom: 80px;
        flex-direction: column;
    }

    .service-card__content {
        padding-bottom: 50px;
        max-width: 300px;
    }

    .service-card__label {
        font-weight: 500;
        font-size: 14px;
        line-height: 22.4px;
        letter-spacing: 20%;
        margin-bottom: 12px;
    }

    .service-card__illustration {
        padding-left: 0px;
    }

    .service-card__title {
        font-weight: 400;
        font-size: 28px;
        line-height: 40px;
        letter-spacing: -0.85px;
        margin-bottom: 12px;
    }

    .service-card__description {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }

    .service-card__btn {
        padding: 10px 23px;
        font-size: 14px;
        line-height: 23px;
    }

}

/* ==========================================================================
   RESPONSIVE STYLES — MOBILE  (max-width: 767px)
   ========================================================================== */

@media only screen and (max-width: 767px) {

    /* --- Hero Section --- */

    .bg-wrapper {
        padding: 40px 0;
    }

    .section-eyebrow {
        margin-bottom: 20px;
    }

    .da-text-after-heading {
        font-weight: 400;
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -0.56px;
        margin-bottom: 10px;
    }

    .da-text-after-desc {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
    }

    /* --- Typography --- */

    .heading1 {
        font-weight: 400;
        font-size: 24px;
        line-height: 30px;
        letter-spacing: 0%;
    }

    .heading2 {
        margin-top: 30px;
        font-size: 24px;
        line-height: 30px;
    }

    .page_text {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }

    /* --- Page Intro Section --- */

    .page_section {
        padding: 50px 0;
    }

    /* --- Dashboards & Tab Section --- */

    .dashboards {
        padding: 50px 0;
    }

    .dashboard-image {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .security-section .heading2 {
        font-weight: 400;
        font-size: 20px;
        line-height: 26px;
        letter-spacing: 0%;
        margin-bottom: 20px;
    }

    .security-section .point-box p {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }

    .security-section .point-box .heading {
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        vertical-align: middle;
        margin-bottom: 10px;
    }

    .summary-heading {
        margin-top: 47px !important;
    }

    /* Stack buttons vertically and stretch to full width */
    .btn-group {
        margin-top: 30px !important;
        flex-direction: column;
    }

    .btn-group a {
        display: flex;
        justify-content: center;
        align-items: baseline;
        width: 100% !important;
    }

    /* --- Process Carousel Section --- */

    .process-carousel {
        margin-bottom: 30px;
    }

    /* Reduce left padding so carousel aligns with page edge on small screens */
    .carousel-container {
        padding-left: 20px;
    }

    .process-step {
        gap: 50px;
    }

    .process-step .content .card-heaidng {
        font-weight: 500;
        font-size: 16px;
        line-height: 25px;
        letter-spacing: 0%;
    }

    .process-step .content .card-paragraph {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0%;
    }

    .carousel-btns .btn {
        padding: 13px 17px;
        width: 47px;
        height: 40px;
    }

    .carousel-btns .btn img {
        max-width: 13px;
    }

    /* --- Service / CTA Section --- */

    /* Reset padding on both content and wrapper for full-bleed mobile layout */
    .service-card__content,
    .service-section {
        padding: 0;
    }

    .service-section {
        margin-bottom: 50px;
    }

    .service-card {
        padding: 30px;
    }

    .service-card__label {
        font-weight: 500;
        font-size: 12px;
        line-height: 22.4px;
        letter-spacing: 20%;
        text-align: center;
    }

    .service-card__title {
        margin-top: 30px;
        font-weight: 400;
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 12px;
    }

    /* Centre-align card content on mobile */
    .service-card__content {
        text-align: center;
    }

    .service-card__description {
        margin-bottom: 30px;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0%;
    }

    /* Full-width CTA button on mobile */
    .service-card__btn {
        width: 100%;
        padding: 14px 32px;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0%;
    }

    /* Hide desktop illustration; show inline mobile illustration instead */
    .desktop-illustration {
        display: none;
    }

    .service-card__illustration img {
        max-width: 236px;
        max-height: 236px;
    }

    .mobile-illustration {
        display: flex;
        justify-content: center;
    }

}

/* ==========================================================================
   END OF MICROSOFT DEFENDER ANALYTICS — PAGE STYLES
   ========================================================================== */