/* ==========================================================================
   SME CFO SERVICES - ENTERPRISE DESIGN SYSTEM & STYLESHEET
   Brand Colors: Royal Navy (#23378D) & Crimson Accent Red (#E31E24)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --brand-navy: #23378D;
    --brand-navy-dark: #121E52;
    --brand-navy-deep: #070D1E;
    --brand-navy-light: #324BB8;
    --brand-navy-subtle: #EEF2FF;
    --brand-navy-border: #C7D2FE;
    
    --brand-red: #E31E24;
    --brand-red-dark: #B81419;
    --brand-red-light: #F87171;
    --brand-red-subtle: #FEF2F2;
    
    --primary: #23378D;
    --primary-dark: #121E52;
    --accent: #E31E24;
    --accent-hover: #C51319;
    
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1EA952;
    
    /* Neutral Surfaces */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-slate: #F1F5F9;
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    
    --text-dark: #0A0F1D;
    --text-body: #334155;
    --text-muted: #64748B;
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Radii & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-subtle: 0 2px 10px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 10px 30px -4px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.65;
    overflow-x: hidden;
    padding-bottom: 60px;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

h1, .h1 { font-size: clamp(2.2rem, 3.2vw + 0.8rem, 3.4rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.7rem, 2.2vw + 0.6rem, 2.4rem); font-weight: 800; }
h3, .h3 { font-size: 1.45rem; font-weight: 700; }
h4, .h4 { font-size: 1.18rem; font-weight: 700; }

p {
    margin-bottom: 1.15rem;
    font-size: 1.02rem;
}

a {
    color: var(--brand-navy);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--brand-red);
}

/* ==========================================================================
   Top Header Bar & Main Navbar (Executive Styling)
   ========================================================================== */
.header-topbar {
    background: linear-gradient(90deg, #060B19 0%, #0D1636 50%, #060B19 100%);
    color: #94A3B8;
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(35, 55, 141, 0.35);
    border: 1px solid rgba(199, 210, 254, 0.25);
    color: #E2E8F0;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.topbar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-red);
    box-shadow: 0 0 8px var(--brand-red);
}

.topbar-divider {
    width: 1px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.15);
    display: inline-block;
}

.topbar-item {
    color: #CBD5E1;
    font-size: 0.82rem;
    font-weight: 500;
}

.topbar-link {
    color: #E2E8F0;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.topbar-link:hover {
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Main Navbar */
.main-navbar {
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.navbar-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.navbar-logo-img:hover {
    transform: scale(1.02);
}

.main-navbar .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.94rem;
    color: #334155;
    padding: 0.6rem 0.95rem !important;
    border-radius: 6px;
    margin: 0 1px;
    transition: all 0.2s ease;
    background: transparent;
}

.main-navbar .nav-link:hover {
    color: var(--brand-navy) !important;
    background-color: #F8FAFC;
}

.main-navbar .nav-link.active {
    color: var(--brand-navy) !important;
    background-color: #EEF2FF;
    font-weight: 700;
}

/* Mega Dropdown */
.dropdown-menu-mega {
    min-width: 680px;
    border-radius: 16px;
    box-shadow: 0 20px 45px -5px rgba(15, 23, 42, 0.16);
    border: 1px solid var(--border-light);
    animation: dropdownFade 0.2s ease-out;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dropdown-menu-mega .dropdown-item {
    transition: all 0.18s ease;
    border: 1px solid transparent;
    border-radius: 10px;
}

.dropdown-menu-mega .dropdown-item:hover {
    background-color: #F8FAFC;
    border-color: #E2E8F0;
    transform: translateX(3px);
}

/* Right Header Buttons */
.nav-whatsapp-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-whatsapp-btn:hover {
    transform: scale(1.08);
    background-color: #1EA952;
}

.btn-navbar-cta {
    background: linear-gradient(135deg, #E31E24 0%, #B81419 100%);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1.45rem;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(227, 30, 36, 0.28);
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 30, 36, 0.4);
    color: #FFFFFF !important;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background-color: var(--brand-navy-dark);
    border-color: var(--brand-navy-dark);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(35, 55, 141, 0.25);
}

.btn-accent {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF !important;
}

.btn-accent:hover {
    background-color: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(227, 30, 36, 0.35);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    border-color: var(--whatsapp-color);
    color: #FFFFFF !important;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-outline-light {
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
    color: #FFFFFF !important;
}

.btn-outline-primary {
    color: var(--brand-navy);
    border: 1.5px solid var(--brand-navy);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--brand-navy);
    color: #FFFFFF !important;
}

/* Soft Badges */
.badge-soft-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #EEF2FF;
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid #C7D2FE;
}

.badge-soft-accent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #FEF2F2;
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid #FECACA;
}

.badge-soft-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ECFDF5;
    color: #059669;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid #A7F3D0;
}

.badge-soft-warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #FFFBEB;
    color: #D97706;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid #FDE68A;
}

/* ==========================================================================
   INNER PAGE HERO BANNER & BREADCRUMBS
   ========================================================================== */
.page-header-banner {
    background: linear-gradient(180deg, #070D1E 0%, #0F1A42 60%, #162463 100%);
    color: #FFFFFF !important;
    padding: 55px 0 45px;
    position: relative;
    overflow: hidden;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.page-header-banner h1,
.page-header-banner .h1 {
    color: #FFFFFF !important;
    font-size: clamp(2rem, 3vw + 0.5rem, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-header-banner p,
.page-header-banner .lead {
    color: #CBD5E1 !important;
    font-size: 1.05rem;
    line-height: 1.6;
}

.breadcrumb-wrapper {
    background-color: #F8FAFC;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    font-size: 0.85rem;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--brand-navy);
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--brand-red);
}

.breadcrumb-item.active {
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC SECTIONS
   ========================================================================== */
.ref-hero-section {
    background: linear-gradient(180deg, #070D1E 0%, #0F1A42 55%, #162463 100%);
    color: #FFFFFF !important;
    padding: 85px 0 100px;
    position: relative;
    overflow: hidden;
}

.ref-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.ref-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.ref-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--brand-red);
    box-shadow: 0 0 10px var(--brand-red);
}

.ref-hero-title {
    color: #FFFFFF !important;
    font-size: clamp(2.4rem, 4.2vw + 0.8rem, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
}

.ref-hero-title .ref-highlight {
    color: #FFFFFF;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ref-hero-subtitle {
    color: #CBD5E1 !important;
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    line-height: 1.7;
    max-width: 820px;
    margin: 0 auto 2.25rem;
}

.ref-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 3rem;
}

.ref-trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ref-trust-avatars {
    display: flex;
    align-items: center;
}

.ref-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #FFFFFF;
    border: 2px solid #0F1A42;
    margin-left: -10px;
}

.ref-avatar:first-child {
    margin-left: 0;
}

.ref-trust-text {
    color: #CBD5E1;
    font-size: 0.92rem;
}

.ref-trust-text strong {
    color: #FFFFFF;
}

/* Timeline / Stepped Columns */
.ref-timeline-section {
    padding: 90px 0;
    background-color: #FFFFFF;
}

.ref-section-header {
    margin-bottom: 3.5rem;
}

.ref-section-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-red);
    margin-bottom: 0.5rem;
}

.ref-section-title {
    color: var(--text-dark);
    font-size: clamp(2rem, 2.8vw + 0.5rem, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.ref-section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
}

.ref-timeline-grid {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: 2rem;
}

.timeline-bar-col {
    flex: 1;
    background-color: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.25s ease;
    min-height: 240px;
}

.timeline-bar-col:hover {
    background-color: #EEF2FF;
    border-color: var(--brand-navy-border);
    transform: translateY(-4px);
}

.timeline-bar-col.active {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #FFFFFF !important;
    box-shadow: 0 12px 32px rgba(35, 55, 141, 0.25);
}

.timeline-bar-col.active .timeline-bar-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.timeline-bar-col.active .timeline-bar-title,
.timeline-bar-col.active .timeline-bar-amount,
.timeline-bar-col.active .timeline-bar-text {
    color: #FFFFFF !important;
}

.timeline-bar-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 4px;
    background: #E2E8F0;
    color: var(--brand-navy);
    margin-bottom: 0.75rem;
}

.timeline-bar-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.timeline-bar-amount {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 0.75rem;
}

.timeline-bar-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.timeline-bar-col.h-1 { min-height: 220px; }
.timeline-bar-col.h-2 { min-height: 260px; }
.timeline-bar-col.h-3 { min-height: 300px; }
.timeline-bar-col.h-4 { min-height: 340px; }

@media (max-width: 991px) {
    .ref-timeline-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .timeline-bar-col {
        min-height: auto !important;
        border-radius: var(--radius-md);
    }
}

/* 8-Box Bento Grid */
.ref-bento-section {
    padding: 90px 0;
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.ref-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 991px) {
    .ref-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ref-bento-grid {
        grid-template-columns: 1fr;
    }
}

.ref-bento-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    position: relative;
    transition: all 0.25s ease;
    text-decoration: none;
    color: var(--text-body);
}

.ref-bento-card:hover {
    border-color: var(--brand-navy);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    color: var(--text-dark);
}

.ref-bento-card .bento-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
}

.ref-bento-card .bento-arrow {
    font-size: 1.15rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.ref-bento-card:hover .bento-arrow {
    transform: translate(3px, -3px);
    color: var(--brand-red);
}

.ref-bento-card .bento-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 0.5rem;
    margin-bottom: 0.6rem;
}

.ref-bento-card .bento-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.ref-bento-card.bento-navy {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #FFFFFF !important;
    box-shadow: 0 10px 24px rgba(35, 55, 141, 0.2);
}

.ref-bento-card.bento-navy .bento-num,
.ref-bento-card.bento-navy .bento-title,
.ref-bento-card.bento-navy .bento-desc {
    color: #FFFFFF !important;
}

.ref-bento-card.bento-accent {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF !important;
    box-shadow: 0 10px 24px rgba(227, 30, 36, 0.25);
}

.ref-bento-card.bento-accent .bento-num,
.ref-bento-card.bento-accent .bento-title,
.ref-bento-card.bento-accent .bento-desc {
    color: #FFFFFF !important;
}

.ref-bento-card.bento-accent:hover {
    background: var(--brand-red-dark);
}

/* Stats Band */
.ref-stats-band {
    background-color: #0F1A42;
    color: #FFFFFF !important;
    padding: 70px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ref-stat-num {
    font-size: clamp(2.4rem, 3.4vw, 3.4rem);
    font-weight: 800;
    color: #FFFFFF !important;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.ref-stat-lbl {
    font-size: 0.88rem;
    color: #CBD5E1 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
}

/* Pathway Workflow */
.ref-pathway-section {
    padding: 90px 0;
    background-color: #FFFFFF;
}

.ref-pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .ref-pathway-grid {
        grid-template-columns: 1fr;
    }
}

.ref-pathway-card {
    background-color: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.25s ease;
}

.ref-pathway-card:hover {
    background-color: #FFFFFF;
    border-color: var(--brand-navy);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.pathway-step-num {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 0.05em;
}

.pathway-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.pathway-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Leadership */
.ref-leadership-section {
    padding: 90px 0;
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-light);
}

.ref-leader-large-box {
    background: linear-gradient(135deg, #0F1A42 0%, #23378D 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    color: #FFFFFF !important;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.ref-leader-large-box::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.ref-leader-large-box .leader-eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    color: #FF7875;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.ref-leader-large-box .leader-name {
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF !important;
    margin-bottom: 0.25rem;
}

.ref-leader-large-box .leader-role {
    font-size: 0.95rem;
    color: #CBD5E1 !important;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.ref-leader-large-box .leader-bio {
    color: #E2E8F0 !important;
    font-size: 0.95rem;
    line-height: 1.65;
}

.ref-leader-side-box {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-subtle);
    height: 100%;
}

.ref-leader-side-box .leader-eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand-red);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.ref-leader-side-box .leader-name {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.ref-leader-side-box .leader-role {
    font-size: 0.92rem;
    color: var(--brand-navy);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.ref-leader-side-box .leader-bio {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Quote Box */
.ref-quote-box {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-subtle);
    border-left: 6px solid var(--brand-red);
}

.ref-quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 1.8vw + 0.5rem, 1.9rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.ref-quote-author {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Lead Consultation Card */
.ref-lead-section {
    padding: 90px 0;
    background-color: #FFFFFF;
}

.ref-lead-card {
    background-color: #0F1A42;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2.25rem;
    color: #FFFFFF !important;
    box-shadow: 0 20px 40px rgba(15, 26, 66, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ref-lead-card h3 {
    color: #FFFFFF !important;
    font-size: 1.5rem;
    font-weight: 800;
}

.ref-form-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #CBD5E1 !important;
    margin-bottom: 5px;
    display: block;
}

.ref-form-control, .ref-form-select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.ref-form-control::placeholder {
    color: #94A3B8;
}

.ref-form-control:focus, .ref-form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.35);
    color: #FFFFFF !important;
}

.ref-form-select option {
    background-color: #0F1A42;
    color: #FFFFFF;
}

/* Blog Insights */
.ref-insights-section {
    padding: 90px 0;
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-light);
}

.ref-article-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-subtle);
}

.ref-article-card:hover {
    border-color: var(--brand-navy);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.article-badge {
    background-color: #EEF2FF;
    color: var(--brand-navy);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.article-title a {
    color: var(--text-dark);
}

.article-title a:hover {
    color: var(--brand-navy);
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-read-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-navy);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-read-link:hover {
    color: var(--brand-red);
}

/* FAQ Section */
.ref-faq-section {
    padding: 90px 0;
    background-color: #FFFFFF;
}

.accordion-button:not(.collapsed) {
    background-color: #EEF2FF;
    color: var(--brand-navy) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--brand-navy-border);
}

/* Accent Strip & Footer */
.ref-accent-strip {
    background-color: var(--brand-red);
    color: #FFFFFF !important;
    padding: 28px 0;
}

.ref-accent-strip h4 {
    color: #FFFFFF !important;
    font-size: 1.25rem;
    font-weight: 800;
}

/* ==========================================================================
   Executive Modern Footer
   ========================================================================== */
.main-footer {
    background: linear-gradient(180deg, #070D1E 0%, #040813 100%);
    color: #94A3B8;
    padding: 80px 0 28px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer-logo-box {
    display: inline-block;
    background: #FFFFFF;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-badge {
    background: rgba(35, 55, 141, 0.35);
    border: 1px solid rgba(199, 210, 254, 0.25);
    color: #E2E8F0;
    font-size: 0.76rem;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.footer-brand-desc {
    color: #94A3B8;
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 360px;
}

.btn-footer-whatsapp {
    background-color: #25D366;
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: all 0.2s ease;
}

.btn-footer-whatsapp:hover {
    background-color: #1EA952;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.btn-footer-call {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.btn-footer-call:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Footer Social Media Badges */
.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.25rem;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #CBD5E1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-icon:hover {
    color: #FFFFFF;
    transform: translateY(-3px);
}

.footer-social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.footer-social-icon.instagram:hover {
    background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
    border-color: #DC2743;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

.footer-social-icon.linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4);
}

.footer-heading {
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.35rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: var(--brand-red);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links-list li {
    margin-bottom: 0.65rem;
}

.footer-links-list a {
    color: #94A3B8;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links-list a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-disclaimer-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3.5px solid var(--brand-red);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    color: #94A3B8;
    font-size: 0.82rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    padding-top: 24px;
}

.footer-legal-links a {
    color: #94A3B8;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #FFFFFF;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    z-index: 1040;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    color: #FFFFFF !important;
}

/* Mobile Sticky Bottom CTA */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-light);
    padding: 10px 16px;
    display: flex;
    gap: 10px;
    z-index: 1030;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-cta-bar .btn {
    flex: 1;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   INNER PAGE SPECIFIC STYLES (Services, About, Contact, Blog, Detail Pages)
   ========================================================================== */

/* Flat Cards & Service Directory (services.php) */
.flat-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-subtle);
}

.flat-card:hover {
    border-color: var(--brand-navy);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.flat-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background-color: #EEF2FF;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    border: 1px solid #C7D2FE;
}

.flat-icon-box.red-box {
    background-color: #FEF2F2;
    color: var(--brand-red);
    border-color: #FECACA;
}

.flat-icon-box.green-box {
    background-color: #ECFDF5;
    color: #059669;
    border-color: #A7F3D0;
}

/* Service Detail Page Sidebar & Components */
.sidebar-lead-box {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--brand-navy);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.sidebar-form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
    display: block;
}

.sidebar-form-control, .sidebar-form-select {
    width: 100%;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
    color: #1E293B;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
}

.sidebar-form-control::placeholder {
    color: #94A3B8;
}

.sidebar-form-control:focus, .sidebar-form-select:focus {
    background-color: #FFFFFF;
    border-color: var(--brand-navy);
    outline: none;
    box-shadow: 0 0 0 3px rgba(35, 55, 141, 0.15);
}

.service-sidebar-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-subtle);
}

.service-sidebar-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.service-sidebar-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 6px;
    background-color: #F8FAFC;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.service-sidebar-links a:hover {
    background-color: #EEF2FF;
    color: var(--brand-navy);
    border-color: var(--brand-navy-border);
    padding-left: 1.25rem;
}

.service-sidebar-links a.active {
    background-color: var(--brand-navy);
    color: #FFFFFF !important;
    border-color: var(--brand-navy);
    font-weight: 700;
}

.service-sidebar-links a.active i {
    color: #FFFFFF !important;
}

/* Blog & Article Pages (blog/index.php, blog/single.php) */
.blog-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(15, 26, 66, 0.04);
}

.blog-card:hover {
    border-color: rgba(35, 55, 141, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 26, 66, 0.1);
}

.blog-card-thumb {
    position: relative;
    height: 190px;
    background: linear-gradient(135deg, #0A1230 0%, #172554 50%, #23378D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 3rem;
    overflow: hidden;
}

.blog-card-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(227, 30, 36, 0.18), transparent 70%);
}

.blog-thumb-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #FFFFFF;
    color: var(--brand-navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(35, 55, 141, 0.1);
    z-index: 2;
}

.blog-card-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title-link:hover {
    color: var(--brand-navy);
}

.blog-read-more-link {
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.blog-read-more-link i {
    transition: transform 0.2s ease;
}

.blog-read-more-link:hover {
    color: var(--brand-navy);
}

.blog-read-more-link:hover i {
    transform: translate(2px, -2px);
}

/* Sidebar Widgets for Blog */
.blog-sidebar-widget {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-subtle);
}

.blog-sidebar-widget h5 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--brand-navy-subtle);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-category-nav-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blog-category-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-md);
    background-color: #F8FAFC;
    border: 1px solid var(--border-light);
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-category-nav-item:hover {
    background-color: #EEF2FF;
    border-color: var(--brand-navy-border);
    color: var(--brand-navy);
    padding-left: 1.1rem;
}

.blog-category-nav-item.active {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #FFFFFF !important;
    font-weight: 700;
}

.blog-category-nav-item.active .badge {
    background-color: var(--brand-red) !important;
    color: #FFFFFF !important;
}

.blog-advisory-cta-card {
    background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.blog-advisory-cta-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.35) 0%, transparent 70%);
    border-radius: 50%;
}

/* Custom Blog Pagination */
.blog-custom-pagination .page-item .page-link {
    color: var(--brand-navy);
    border: 1px solid var(--border-light);
    margin: 0 3px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.55rem 0.95rem;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
}

.blog-custom-pagination .page-item .page-link:hover {
    background-color: #EEF2FF;
    border-color: var(--brand-navy);
    color: var(--brand-navy-dark);
}

.blog-custom-pagination .page-item.active .page-link {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(35, 55, 141, 0.25);
}

.blog-custom-pagination .page-item.disabled .page-link {
    color: #94A3B8;
    background-color: #F8FAFC;
    border-color: var(--border-light);
}

/* Single Blog Article Reading Typography */
.blog-article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
}

.blog-article-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-navy-dark);
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-navy-subtle);
}

.blog-article-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
}

.blog-article-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-article-content p {
    margin-bottom: 1.35rem;
}

.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-article-content li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.blog-article-content blockquote {
    border-left: 4px solid var(--brand-red);
    padding: 1.25rem 1.75rem;
    background-color: #F8FAFC;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-size: 1.08rem;
    color: var(--brand-navy-dark);
    margin: 2rem 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.blog-article-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background-color: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
}

.blog-article-content th {
    background-color: var(--brand-navy);
    color: #FFFFFF;
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: left;
}

.blog-article-content td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.92rem;
}

.blog-article-content tr:nth-child(even) td {
    background-color: #F8FAFC;
}

/* Contact Info & Forms (contact.php) */
.contact-info-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-subtle);
}

/* General Utilities */
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }

/* ==========================================================================
   Global CPA & Corporate Debt Advisory Homepage Styles (2026 Architecture)
   ========================================================================== */

/* 1. Hero Section */
.cpa-hero-section {
    position: relative;
    background: radial-gradient(circle at 85% 20%, rgba(35, 55, 141, 0.45) 0%, transparent 50%),
                radial-gradient(circle at 15% 80%, rgba(227, 30, 36, 0.15) 0%, transparent 45%),
                linear-gradient(145deg, #050A18 0%, #0A1230 50%, #0F1A42 100%);
    color: #FFFFFF;
    padding: 5.5rem 0 6.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cpa-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.6;
    pointer-events: none;
}

/* Floating Ambient Orbs & Geometric Shapes (Reference Effect) */
.cpa-hero-orb-1 {
    position: absolute;
    width: 380px;
    height: 380px;
    top: -80px;
    right: 5%;
    background: radial-gradient(circle, rgba(35, 55, 141, 0.4) 0%, rgba(35, 55, 141, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    animation: cpaFloat 14s infinite ease-in-out alternate;
    z-index: 1;
}

.cpa-hero-orb-2 {
    position: absolute;
    width: 320px;
    height: 320px;
    bottom: -60px;
    left: 8%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.22) 0%, rgba(227, 30, 36, 0) 70%);
    border-radius: 50%;
    filter: blur(45px);
    pointer-events: none;
    animation: cpaFloatReverse 16s infinite ease-in-out alternate;
    z-index: 1;
}

.cpa-hero-shape-deco {
    position: absolute;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(6px);
    pointer-events: none;
    z-index: 1;
}

.cpa-hero-shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 4%;
    transform: rotate(25deg);
    animation: cpaFloat 10s infinite ease-in-out alternate;
}

.cpa-hero-shape-2 {
    width: 100px;
    height: 100px;
    bottom: 12%;
    right: 3%;
    transform: rotate(-15deg);
    animation: cpaFloatReverse 12s infinite ease-in-out alternate;
}

@keyframes cpaFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-25px) rotate(10deg); }
}

/* Hero Visual Image Container & Floating Badges */
.cpa-hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.cpa-hero-img-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #0A1230;
    position: relative;
}

.cpa-hero-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cpa-hero-img-frame:hover img {
    transform: scale(1.03);
}

.cpa-floating-badge {
    position: absolute;
    background: rgba(10, 18, 48, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1.15rem;
    color: #FFFFFF;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: cpaFloat 8s infinite ease-in-out alternate;
}

.cpa-floating-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cpa-badge-pos-1 {
    top: -20px;
    right: -15px;
    border-left: 4px solid var(--brand-red);
}

.cpa-badge-pos-2 {
    bottom: -20px;
    left: -15px;
    border-left: 4px solid var(--brand-navy-light);
    animation: cpaFloatReverse 9s infinite ease-in-out alternate;
}

.cpa-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(35, 55, 141, 0.45);
    border: 1px solid rgba(199, 210, 254, 0.35);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #E2E8F0;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.cpa-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--brand-red);
    box-shadow: 0 0 10px var(--brand-red);
    animation: cpaPulse 2s infinite ease-in-out;
}

@keyframes cpaPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.cpa-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.cpa-gradient-text {
    background: linear-gradient(135deg, #FFFFFF 30%, #93C5FD 70%, #FCA5A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cpa-hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.7;
    color: #CBD5E1;
    margin-bottom: 2rem;
    max-width: 620px;
}

.cpa-trust-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2.25rem;
}

.cpa-trust-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #E2E8F0;
    font-weight: 600;
}

.cpa-trust-check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    color: #4ADE80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 1px solid rgba(74, 222, 128, 0.35);
    flex-shrink: 0;
}

/* Hero Assessment Card (Interactive) */
.cpa-assessment-card {
    background: rgba(13, 22, 54, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    position: relative;
}

.cpa-assessment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-red), var(--brand-navy-light), transparent);
}

.cpa-assessment-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 1.5rem;
}

.cpa-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.cpa-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.cpa-tab-btn.active {
    background: var(--brand-navy);
    border-color: #60A5FA;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(35, 55, 141, 0.5);
}

.cpa-slider-group {
    margin-bottom: 1.5rem;
}

.cpa-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #CBD5E1;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cpa-slider-val {
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.cpa-range-input {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.cpa-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-red);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.8);
    border: 2px solid #FFFFFF;
}

.cpa-assessment-output {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 2. Banking Partners Marquee */
.cpa-marquee-section {
    background: #060B19;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.cpa-marquee-track {
    display: flex;
    gap: 2.5rem;
    animation: cpaMarquee 35s linear infinite;
    width: max-content;
}

.cpa-marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94A3B8;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cpa-marquee-item i {
    color: #60A5FA;
}

@keyframes cpaMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 3. Pedigree & Comparison Matrix */
.cpa-comparison-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(15, 26, 66, 0.05);
    overflow: hidden;
}

.cpa-comparison-side-direct {
    background: #FFF8F8;
    border-right: 1px solid rgba(227, 30, 36, 0.12);
    padding: 2.25rem;
}

.cpa-comparison-side-advisor {
    background: #F4FBF7;
    padding: 2.25rem;
}

.cpa-comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cpa-comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.cpa-comparison-item i {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 4. Bento Grid Solutions */
.cpa-bento-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(15, 26, 66, 0.04);
    position: relative;
}

.cpa-bento-card:hover {
    border-color: rgba(35, 55, 141, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 26, 66, 0.1);
}

.cpa-bento-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.cpa-bento-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
}

/* 5. Process Stepper */
.cpa-process-step {
    position: relative;
    padding: 1.75rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    height: 100%;
    box-shadow: var(--shadow-subtle);
    transition: all 0.25s ease;
}

.cpa-process-step:hover {
    border-color: var(--brand-navy);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.cpa-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-navy);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 10px rgba(35, 55, 141, 0.3);
}

/* 6. Case Study Card */
.cpa-case-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
}

.cpa-case-metric {
    background: #F8FAFC;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border: 1px dashed var(--border-light);
}

/* 7. Calculator Studio Section */
.cpa-calc-box {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(15, 26, 66, 0.06);
}

.cpa-calc-result-panel {
    background: linear-gradient(145deg, #0A1230 0%, #172554 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ==========================================================================
   Subtle Background Wave & Line Patterns for Homepage Sections
   ========================================================================== */

/* 1. Wave Lines Pattern (Light Background) */
.bg-pattern-waves-light {
    background-color: #F8FAFC;
    background-image: radial-gradient(circle at 100% 0%, rgba(35, 55, 141, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 0% 100%, rgba(227, 30, 36, 0.03) 0%, transparent 40%),
                      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q 25 20, 50 10 T 100 10' fill='none' stroke='%2323378D' stroke-width='0.4' stroke-opacity='0.12'/%3E%3C/svg%3E");
    background-size: auto, auto, 120px 24px;
}

/* 2. Modern Geometric Line Grid (White Background) */
.bg-pattern-grid-light {
    background-color: #FFFFFF;
    background-image: radial-gradient(circle at 50% 50%, rgba(35, 55, 141, 0.03) 0%, transparent 70%),
                      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 0 L40 40 M40 0 L0 40' stroke='%2323378D' stroke-width='0.3' stroke-opacity='0.04' fill='none'/%3E%3C/svg%3E");
    background-size: auto, 40px 40px;
}

/* 3. Curved Topographic Waves (Light Section) */
.bg-pattern-curves-light {
    background-color: #F8FAFC;
    background-image: radial-gradient(circle at 10% 20%, rgba(35, 55, 141, 0.05) 0%, transparent 45%),
                      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'%3E%3Cpath d='M0 40 C 40 10, 120 70, 160 40' fill='none' stroke='%2323378D' stroke-width='0.5' stroke-opacity='0.1'/%3E%3Cpath d='M0 60 C 40 30, 120 90, 160 60' fill='none' stroke='%23E31E24' stroke-width='0.3' stroke-opacity='0.08'/%3E%3C/svg%3E");
    background-size: auto, 160px 80px;
}

/* 4. Glowing Dark Waves Pattern (CTA & Dark Sections) */
.bg-pattern-dark-waves {
    background: radial-gradient(circle at 85% 15%, rgba(35, 55, 141, 0.5) 0%, transparent 55%),
                radial-gradient(circle at 15% 85%, rgba(227, 30, 36, 0.25) 0%, transparent 50%),
                linear-gradient(135deg, #050A18 0%, #0A1230 60%, #0F1A42 100%);
    position: relative;
    overflow: hidden;
}

.bg-pattern-dark-waves::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='60' viewBox='0 0 200 60'%3E%3Cpath d='M0 30 Q 50 60, 100 30 T 200 30' fill='none' stroke='%2360A5FA' stroke-width='0.6' stroke-opacity='0.15'/%3E%3C/svg%3E");
    background-size: 200px 60px;
    opacity: 0.8;
    pointer-events: none;
}


