/* ==========================================================================
   Compliance Styles — Array Financial Services
   ========================================================================== */

/* --- Compliance Hero --- */
.comp_hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #0F172A 100%);
    padding: 60px 0 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.comp_hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.comp_hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 800px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.comp_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.comp_badges span {
    background: rgba(232, 114, 12, 0.15);
    border: 1px solid rgba(232, 114, 12, 0.45);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
}

/* --- Compliance Grid & Cards --- */
.comp_wrap {
    padding: 80px 0 100px;
    background: #F8FAFC;
}

.comp_card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #E8720C;
    padding: 28px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.comp_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
    border-left-color: #E8720C;
}

.comp_card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.comp_card:hover h4 {
    color: #E8720C;
}

.comp_card p {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.comp_card .comp_more {
    font-size: 13px;
    font-weight: 700;
    color: #E8720C;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.comp_card:hover .comp_more {
    gap: 10px;
}

/* --- Compliance Breadcrumb Banner --- */
.comp_breadcrumb {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 60px 0 60px;
    color: #fff;
    position: relative;
    border-bottom: 3px solid #E8720C;
}

.comp_breadcrumb h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.comp_breadcrumb .cb_crumbs {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.comp_breadcrumb .cb_crumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.comp_breadcrumb .cb_crumbs a:hover {
    color: #E8720C;
}

.comp_breadcrumb .cb_sep {
    color: #E8720C;
    font-size: 16px;
}

.comp_breadcrumb .cb_current {
    color: #E8720C;
    font-weight: 600;
}

/* --- Document Body Container --- */
.cdoc {
    background: #fff;
    padding: 60px 0 90px;
    min-height: 400px;
}

.cdoc .page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .comp_hero {
        padding: 120px 0 50px;
    }
    .comp_hero h1 {
        font-size: 28px;
    }
    .comp_breadcrumb {
        padding: 120px 0 35px;
    }
    .comp_breadcrumb h1 {
        font-size: 24px;
    }
    .comp_wrap {
        padding: 50px 0 70px;
    }
    .cdoc {
        padding: 40px 0 60px;
    }
}

/* --- Ensure main has solid background and z-index 2 for parallax scroll-reveal footer --- */
main,
.comp_page_main,
.comp_hub_main {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    width: 100%;
}

/* --- Smooth Scrolling --- */
html {
    scroll-behavior: smooth;
}
section[id] {
    scroll-margin-top: 85px;
}

/* --- Floating WhatsApp Widget (Above Back to Top) --- */
.xb-whatsapp-btn {
    position: fixed;
    right: 30px;
    bottom: 95px;
    width: 48px;
    height: 48px;
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}
.xb-whatsapp-btn:hover {
    background-color: #20BA5A;
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}
.xb-whatsapp-btn .xb-wa-tooltip {
    position: absolute;
    right: 58px;
    background: #0F172A;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: none;
}
.xb-whatsapp-btn .xb-wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0F172A;
}
.xb-whatsapp-btn:hover .xb-wa-tooltip {
    opacity: 1;
    visibility: visible;
    right: 62px;
}



