/* ==========================================================================
   COPL ENTERPRISE DESIGN SYSTEM
   Palette: Deep Navy (#0A1128, #0B192C), Electric Cyan (#00D2FF, #0078D4),
            Slate Grey (#F8FAFC, #64748B, #1E293B), White (#FFFFFF)
   ========================================================================== */

:root {
    --copl-navy-950: #060c18;
    --copl-navy-900: #0A1128;
    --copl-navy-800: #0F1E36;
    --copl-navy-700: #1C2D4A;
    --copl-cyan-500: #00D2FF;
    --copl-cyan-600: #00A3FF;
    --copl-blue-accent: #0078D4;
    --copl-emerald: #10B981;
    --copl-slate-900: #0F172A;
    --copl-slate-800: #1E293B;
    --copl-slate-600: #475569;
    --copl-slate-400: #94A3B8;
    --copl-slate-100: #F1F5F9;
    --copl-slate-50: #F8FAFC;
    --copl-white: #FFFFFF;
    
    --copl-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --copl-font-mono: 'JetBrains Mono', monospace;

    --copl-radius-sm: 6px;
    --copl-radius-md: 12px;
    --copl-radius-lg: 18px;
    --copl-radius-xl: 24px;

    --copl-shadow-sm: 0 1px 3px rgba(10, 17, 40, 0.05);
    --copl-shadow-md: 0 10px 25px -5px rgba(10, 17, 40, 0.08), 0 8px 10px -6px rgba(10, 17, 40, 0.04);
    --copl-shadow-lg: 0 20px 40px -15px rgba(10, 17, 40, 0.12);
    --copl-shadow-glow: 0 0 35px rgba(0, 210, 255, 0.18);
}

body {
    font-family: var(--copl-font-sans);
    color: var(--copl-slate-800);
    background-color: var(--copl-white);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Typography & Badges */
.copl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--copl-cyan-600);
    background: rgba(0, 163, 255, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(0, 210, 255, 0.25);
    margin-bottom: 1.25rem;
}

.copl-kicker.on-dark {
    color: var(--copl-cyan-500);
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.3);
}

.copl-h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--copl-white);
}

.copl-h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--copl-navy-900);
}

.copl-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--copl-slate-600);
}

.copl-lead.on-dark {
    color: #CBD5E1;
}

/* Header & Navigation */
.copl-header {
    background: rgba(10, 17, 40, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.copl-top-meta {
    background: var(--copl-navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: #94A3B8;
    padding: 6px 0;
}
.copl-top-meta,
.copl-top-meta a,
.copl-top-meta span,
.copl-top-meta small {
    color: #94A3B8 !important;
}
.copl-top-meta a:hover {
    color: #67E8F9 !important;
}

.copl-nav-link {
    color: #CBD5E1 !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 1.2rem 0.85rem !important;
    transition: color 0.2s ease;
}

.copl-nav-link:hover, .copl-nav-link:focus {
    color: var(--copl-cyan-500) !important;
}

.copl-dropdown-menu {
    background: var(--copl-navy-900);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--copl-radius-md);
    box-shadow: var(--copl-shadow-lg);
    padding: 10px;
    min-width: 270px;
}

.copl-dropdown-item {
    color: #E2E8F0 !important;
    padding: 9px 14px;
    border-radius: var(--copl-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.copl-dropdown-item:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--copl-cyan-500) !important;
    transform: translateX(4px);
}

/* Enterprise Buttons â always readable */
.btn-copl-primary {
    background: linear-gradient(135deg, var(--copl-cyan-500) 0%, var(--copl-blue-accent) 100%);
    color: #06101F !important;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 12px 24px;
    border-radius: var(--copl-radius-sm);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 210, 255, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}
.btn-copl-primary span,
.btn-copl-primary i {
    color: inherit !important;
}
.btn-copl-primary:hover,
.btn-copl-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45);
    color: #000000 !important;
}

.btn-copl-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 12px 22px;
    border-radius: var(--copl-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.btn-copl-secondary span,
.btn-copl-secondary i {
    color: inherit !important;
}
.btn-copl-secondary:hover,
.btn-copl-secondary:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.55);
    color: #FFFFFF !important;
}

/* Secondary on light surfaces */
.copl-section:not(.copl-section-dark) .btn-copl-secondary,
.copl-section-alt .btn-copl-secondary,
.bg-white .btn-copl-secondary,
.bg-light .btn-copl-secondary {
    background: rgba(10, 17, 40, 0.04);
    border-color: rgba(10, 17, 40, 0.25);
    color: #0A1128 !important;
}
.copl-section:not(.copl-section-dark) .btn-copl-secondary:hover,
.copl-section-alt .btn-copl-secondary:hover,
.bg-white .btn-copl-secondary:hover,
.bg-light .btn-copl-secondary:hover {
    background: #0A1128;
    border-color: #0A1128;
    color: #FFFFFF !important;
}

.btn-copl-outline-dark {
    background: transparent;
    color: #0A1128 !important;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: var(--copl-radius-sm);
    border: 1.5px solid #1E293B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.btn-copl-outline-dark span,
.btn-copl-outline-dark i {
    color: inherit !important;
}
.btn-copl-outline-dark:hover,
.btn-copl-outline-dark:focus {
    background: #0A1128;
    color: #FFFFFF !important;
}

.copl-section-dark .btn-copl-outline-dark {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.55);
}
.copl-section-dark .btn-copl-outline-dark:hover {
    background: #FFFFFF;
    color: #0A1128 !important;
}

/* Sections */
.copl-section {
    padding: 5.5rem 0;
    position: relative;
}

.copl-section-dark {
    background: var(--copl-navy-900);
    color: var(--copl-white);
}

.copl-section-alt {
    background: var(--copl-slate-50);
}

/* Frosted panels used in dark heroes */
.copl-glass {
    background: rgba(8, 15, 30, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #E2E8F0;
}

/* Product hero cutouts â no solid plate behind the asset */
.copl-hero-visual {
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 0.25rem !important;
}
.copl-hero-visual .copl-product-hero-img {
    filter: drop-shadow(0 18px 40px rgba(0, 210, 255, 0.18));
}

/* Enterprise Cards */
.copl-card {
    background: var(--copl-white);
    border: 1px solid var(--copl-slate-100);
    border-radius: var(--copl-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.copl-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--copl-shadow-lg);
    border-color: rgba(0, 163, 255, 0.3);
}

.copl-card.dark {
    background: var(--copl-navy-800);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--copl-white);
}

.copl-card.dark:hover {
    border-color: var(--copl-cyan-500);
    box-shadow: var(--copl-shadow-glow);
}

.copl-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--copl-radius-md);
    background: rgba(0, 163, 255, 0.1);
    color: var(--copl-blue-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.copl-card.dark .copl-card-icon {
    background: rgba(0, 210, 255, 0.12);
    color: var(--copl-cyan-500);
}

/* Feature tags */
.copl-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.25rem;
}

.copl-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--copl-slate-100);
    color: var(--copl-slate-600);
}

.copl-card.dark .copl-tag {
    background: rgba(255, 255, 255, 0.06);
    color: var(--copl-slate-400);
}

/* Industry Grid */
.copl-industry-badge {
    background: var(--copl-white);
    border: 1px solid var(--copl-slate-100);
    border-radius: var(--copl-radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
}

.copl-industry-badge:hover {
    border-color: var(--copl-blue-accent);
    box-shadow: var(--copl-shadow-md);
    transform: translateY(-4px);
}

/* Footer Architecture */
.copl-footer {
    background: var(--copl-navy-950);
    color: var(--copl-slate-400);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copl-footer h5 {
    color: var(--copl-white);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.copl-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.copl-footer-links li {
    margin-bottom: 0.75rem;
}

.copl-footer-links a {
    color: var(--copl-slate-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.copl-footer-links a:hover {
    color: var(--copl-cyan-500);
}

.copl-legal-badge {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #E2E8F0;
    background: rgba(8, 15, 30, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: var(--copl-radius-md);
    padding: 1.25rem;
}

/* Timeline System */
.copl-timeline {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    gap: 16px;
    margin: 2rem 0;
}

.copl-timeline-step {
    flex: 1 1 calc(14.28% - 16px);
    min-width: 140px;
    background: var(--copl-white);
    border: 1px solid var(--copl-slate-100);
    border-radius: var(--copl-radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.copl-timeline-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--copl-shadow-md);
    border-color: var(--copl-blue-accent);
}

.copl-timeline-step.dark {
    background: var(--copl-navy-800);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--copl-white);
}

.copl-timeline-step.dark:hover {
    border-color: var(--copl-cyan-500);
}

.copl-timeline-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 163, 255, 0.1);
    color: var(--copl-blue-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.copl-timeline-step.dark .copl-timeline-num {
    background: rgba(0, 210, 255, 0.15);
    color: var(--copl-cyan-500);
}

@media (max-width: 991px) {
    .copl-timeline-step {
        flex: 1 1 calc(33.33% - 16px);
    }
}

@media (max-width: 576px) {
    .copl-timeline-step {
        flex: 1 1 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 1rem 1.25rem;
    }
    .copl-timeline-num {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

/* Bootstrap 4 gap polyfill - flex gap utilities (BS4 lacks gap-*) */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* Bootstrap 5 â 4 utility polyfills (text / spacing / type must render) */
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-normal { font-weight: 400 !important; }
.fs-2 { font-size: 2rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }
.lh-1 { line-height: 1 !important; }
.lh-sm { line-height: 1.25 !important; }
.lh-base { line-height: 1.5 !important; }
.tracking-tight { letter-spacing: -0.02em !important; }
.tracking-wider { letter-spacing: 0.08em !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-4 { border-radius: 0.75rem !important; }
.max-w-75 { max-width: 75%; margin-left: auto; margin-right: auto; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-auto { margin-left: auto !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.mt-auto { margin-top: auto !important; }
.mb-auto { margin-bottom: auto !important; }
.py-lg-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-lg-6 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
.text-decoration-none { text-decoration: none !important; }

/* Row gutters (BS5 g-* missing in BS4) */
.row.g-2 { margin-left: -0.5rem; margin-right: -0.5rem; }
.row.g-2 > [class*="col"] { padding-left: 0.5rem; padding-right: 0.5rem; margin-bottom: 0.5rem; }
.row.g-3 { margin-left: -0.75rem; margin-right: -0.75rem; }
.row.g-3 > [class*="col"] { padding-left: 0.75rem; padding-right: 0.75rem; margin-bottom: 0.75rem; }
.row.g-4 { margin-left: -0.75rem; margin-right: -0.75rem; }
.row.g-4 > [class*="col"] { padding-left: 0.75rem; padding-right: 0.75rem; margin-bottom: 1.5rem; }
.row.g-5 { margin-left: -1.5rem; margin-right: -1.5rem; }
.row.g-5 > [class*="col"] { padding-left: 1.5rem; padding-right: 1.5rem; margin-bottom: 1.5rem; }

/* ==========================================================================
   SITE-WIDE TEXT & BUTTON VISIBILITY (all pages / sections)
   ========================================================================== */

/* BS5 opacity utilities missing in BS4 â without these, soft badges become solid
   and text-success on bg-success (etc.) becomes unreadable */
.bg-opacity-10 { --copl-bg-a: 0.10; }
.bg-opacity-25 { --copl-bg-a: 0.25; }
.bg-opacity-50 { --copl-bg-a: 0.50; }
.bg-opacity-75 { --copl-bg-a: 0.75; }
.border-opacity-10 { --copl-bd-a: 0.10; }
.border-opacity-25 { --copl-bd-a: 0.25; }
.border-opacity-50 { --copl-bd-a: 0.50; }

.bg-primary.bg-opacity-10 { background-color: rgba(0, 120, 212, 0.10) !important; }
.bg-primary.bg-opacity-25 { background-color: rgba(0, 120, 212, 0.25) !important; }
.bg-secondary.bg-opacity-10 { background-color: rgba(100, 116, 139, 0.10) !important; }
.bg-secondary.bg-opacity-25 { background-color: rgba(100, 116, 139, 0.25) !important; }
.bg-success.bg-opacity-10 { background-color: rgba(16, 185, 129, 0.10) !important; }
.bg-success.bg-opacity-25 { background-color: rgba(16, 185, 129, 0.25) !important; }
.bg-info.bg-opacity-10 { background-color: rgba(0, 210, 255, 0.10) !important; }
.bg-info.bg-opacity-25 { background-color: rgba(0, 210, 255, 0.25) !important; }
.bg-warning.bg-opacity-10 { background-color: rgba(245, 158, 11, 0.10) !important; }
.bg-warning.bg-opacity-25 { background-color: rgba(245, 158, 11, 0.25) !important; }
.bg-danger.bg-opacity-10 { background-color: rgba(220, 38, 38, 0.10) !important; }
.bg-danger.bg-opacity-25 { background-color: rgba(220, 38, 38, 0.25) !important; }
.bg-light.bg-opacity-10 { background-color: rgba(248, 250, 252, 0.10) !important; }
.bg-light.bg-opacity-25 { background-color: rgba(248, 250, 252, 0.25) !important; }

.border-primary.border-opacity-25 { border-color: rgba(0, 120, 212, 0.25) !important; }
.border-secondary.border-opacity-25 { border-color: rgba(148, 163, 184, 0.25) !important; }
.border-success.border-opacity-25 { border-color: rgba(16, 185, 129, 0.25) !important; }
.border-info.border-opacity-25 { border-color: rgba(0, 210, 255, 0.25) !important; }
.border-warning.border-opacity-25 { border-color: rgba(245, 158, 11, 0.25) !important; }
.border-danger.border-opacity-25 { border-color: rgba(220, 38, 38, 0.25) !important; }

/* Solid badges always get contrasting label color */
.badge.bg-primary,
.badge.bg-success,
.badge.bg-danger,
.badge.bg-secondary,
.badge.bg-dark {
    color: #FFFFFF !important;
}
.badge.bg-info { color: #06101F !important; }
.badge.bg-warning { color: #06101F !important; }
.badge.bg-light { color: #0A1128 !important; }
.badge.text-light { color: #F8FAFC !important; }
.badge.text-dark { color: #0A1128 !important; }
.badge.text-primary { color: #0078D4 !important; }
.badge.text-success { color: #059669 !important; }
.badge.text-info { color: #0891B2 !important; }
.badge.text-warning { color: #B45309 !important; }
.badge.text-danger { color: #DC2626 !important; }

/* Soft tinted badges (opacity helpers) keep explicit text-* colors */
.badge.bg-opacity-10.text-primary,
.badge.bg-primary.bg-opacity-10 { color: #0078D4 !important; }
.badge.bg-opacity-10.text-success,
.badge.bg-success.bg-opacity-10 { color: #059669 !important; }
.badge.bg-opacity-10.text-info,
.badge.bg-info.bg-opacity-10 { color: #0E7490 !important; }
.badge.bg-opacity-10.text-warning,
.badge.bg-warning.bg-opacity-10 { color: #B45309 !important; }
.badge.bg-opacity-10.text-danger,
.badge.bg-danger.bg-opacity-10 { color: #DC2626 !important; }
.badge.bg-opacity-10.text-dark,
.badge.bg-secondary.bg-opacity-10 { color: #0A1128 !important; }

/* Outline light buttons on dark cards / sections */
.copl-section-dark .btn-outline-light,
.copl-card.dark .btn-outline-light,
.btn-outline-light {
    color: #F8FAFC !important;
    border-color: rgba(248, 250, 252, 0.65) !important;
    background: transparent !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}
.copl-section-dark .btn-outline-light:hover,
.copl-card.dark .btn-outline-light:hover,
.btn-outline-light:hover {
    color: #0A1128 !important;
    background: #F8FAFC !important;
    border-color: #F8FAFC !important;
}

/* Light sections: navy headings + slate body */
.copl-section:not(.copl-section-dark),
.copl-section-alt,
.co-home-hero,
.co-home-about,
.co-home-solutions {
    color: #1E293B;
}
.copl-section:not(.copl-section-dark) .copl-h2,
.copl-section:not(.copl-section-dark) h1,
.copl-section:not(.copl-section-dark) h2,
.copl-section:not(.copl-section-dark) h3,
.copl-section:not(.copl-section-dark) h4,
.copl-section:not(.copl-section-dark) h5,
.copl-section:not(.copl-section-dark) h6,
.copl-section-alt .copl-h2,
.copl-section-alt h2,
.copl-section-alt h3,
.copl-section-alt h4,
.copl-section-alt h5,
.copl-card:not(.dark) h3,
.copl-card:not(.dark) h4,
.copl-card:not(.dark) h5,
.copl-card:not(.dark) h6,
.co-home-hero-title,
.co-home-h2,
.co-home-solution-card h3 {
    color: #0A1128 !important;
}
.copl-section:not(.copl-section-dark) .copl-lead,
.copl-section:not(.copl-section-dark) p,
.copl-section:not(.copl-section-dark) .text-muted,
.copl-section:not(.copl-section-dark) .text-secondary,
.copl-section:not(.copl-section-dark) .small,
.copl-section-alt .copl-lead,
.copl-section-alt p,
.copl-section-alt .text-muted,
.copl-section-alt .text-secondary,
.copl-card:not(.dark) p,
.copl-card:not(.dark) .text-muted,
.copl-card:not(.dark) .small,
.copl-card:not(.dark) .text-secondary,
.co-home-hero-lead,
.co-home-copy,
.co-home-solution-card p {
    color: #475569 !important;
}

/* Dark sections / dark cards: white headings + soft body */
.copl-section-dark,
.copl-card.dark,
.co-home-strip,
.co-home-cta {
    color: #E2E8F0;
}
.copl-section-dark .copl-h1,
.copl-section-dark .copl-h2,
.copl-section-dark h1,
.copl-section-dark h2,
.copl-section-dark h3,
.copl-section-dark h4,
.copl-section-dark h5,
.copl-section-dark h6,
.copl-section-dark .text-white,
.copl-card.dark h1,
.copl-card.dark h2,
.copl-card.dark h3,
.copl-card.dark h4,
.copl-card.dark h5,
.copl-card.dark .fw-bold,
.copl-card.dark .text-white,
.co-home-strip h3,
.co-home-cta-title,
.co-home-cta h2,
.co-home-cta h5,
.co-home-cta .text-white {
    color: #FFFFFF !important;
}
/* Body copy on dark: use brighter slate for WCAG-friendly contrast */
.copl-section-dark .copl-lead,
.copl-section-dark .copl-lead.on-dark,
.copl-section-dark .text-secondary,
.copl-section-dark .text-muted,
.copl-section-dark p,
.copl-section-dark .small,
.copl-section-dark li,
.copl-section-dark div.small,
.copl-card.dark p,
.copl-card.dark .text-secondary,
.copl-card.dark .text-muted,
.copl-card.dark .small,
.co-home-strip p,
.co-home-cta p,
.co-home-cta small,
.co-home-cta-copy {
    color: #CBD5E1 !important;
}
.copl-section-dark .copl-kicker,
.copl-section-dark .copl-kicker.on-dark,
.co-home-cta .copl-kicker,
.co-home-cta .copl-kicker.on-dark {
    color: #5EEAD4 !important;
}
.copl-section-dark .copl-h1 {
    color: #FFFFFF !important;
}
.copl-section-dark .text-info,
.copl-section-dark .text-info * {
    color: #67E8F9 !important;
}
.copl-section-dark .text-light {
    color: #F1F5F9 !important;
}
.copl-section-dark strong,
.copl-section-dark b {
    color: #FFFFFF !important;
}

/* Glass / statutory panels on dark heroes â keep opaque enough to read */
.copl-section-dark .copl-glass,
.copl-section-dark .copl-legal-badge,
.copl-section-dark [style*="rgba(255,255,255,0.03)"],
.copl-section-dark [style*="rgba(255, 255, 255, 0.03)"] {
    background: rgba(8, 15, 30, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
    color: #E2E8F0 !important;
}
.copl-section-dark .copl-legal-badge strong,
.copl-section-dark .copl-legal-badge .text-light {
    color: #F8FAFC !important;
}
.copl-section-dark .copl-legal-badge .text-info,
.copl-section-dark .font-monospace {
    color: #67E8F9 !important;
    font-weight: 600;
}

/* Never wash hero media into the page background */
.copl-section-dark img {
    mix-blend-mode: normal !important;
}

/* Accent helpers */
.co-home-accent,
.co-home-label,
.co-home-text-link {
    color: #0080FF !important;
}

/* Topbar + footer readability */
.copl-top-meta,
.copl-top-meta a,
.copl-top-meta .text-secondary,
.copl-top-meta .text-muted {
    color: #CBD5E1 !important;
}
.copl-top-meta strong {
    color: #FFFFFF !important;
}
.copl-footer,
.copl-footer p,
.copl-footer li,
.copl-footer a,
.copl-footer .text-secondary,
.copl-footer .text-muted {
    color: #94A3B8 !important;
}
.copl-footer h5,
.copl-footer .text-white,
.copl-footer strong {
    color: #FFFFFF !important;
}
.copl-footer-links a:hover {
    color: #00D2FF !important;
}

/* Header CTA always contrast on navy header */
.copl-header .btn-copl-primary,
.copl-header .btn-copl-primary span,
.copl-header .btn-copl-primary i {
    color: #06101F !important;
}

/* Form controls readable on light panels */
.form-control,
.form-select,
select.form-control {
    color: #0A1128 !important;
    background-color: #FFFFFF !important;
}
.form-control::placeholder {
    color: #94A3B8 !important;
}
.form-label,
label.form-label {
    color: #0A1128 !important;
}

/* ==========================================================================
   HOME PAGE â mockup layout (colors handled by site-wide rules above)
   ========================================================================== */

.copl-page-home {
    background: #FFFFFF;
}

.co-home-hero {
    padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(circle at 88% 18%, rgba(0, 128, 255, 0.08) 0%, transparent 42%),
        linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 70%);
}

.co-home-hero-title {
    font-size: clamp(2.35rem, 5vw, 3.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    word-spacing: normal;
    color: var(--copl-navy-900);
    margin-bottom: 1.35rem;
}

.co-home-accent {
    color: #0080FF;
}

.co-home-hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--copl-slate-600);
    max-width: 34rem;
    margin-bottom: 2rem;
}

.co-home-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.4rem;
    border: 1.5px solid #0080FF;
    color: #0080FF !important;
    background: transparent;
    border-radius: var(--copl-radius-sm);
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.co-home-btn-outline:hover {
    background: rgba(0, 128, 255, 0.08);
    color: #0066CC !important;
    transform: translateY(-1px);
}

@keyframes co-home-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.co-home-strip {
    background: var(--copl-navy-900);
    padding: 2.25rem 0;
}

.co-home-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    color: #E2E8F0;
}

.co-home-strip-item i {
    color: #5BB8FF;
    font-size: 1.35rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.co-home-strip-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.25rem;
}

.co-home-strip-item p {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #94A3B8;
    margin: 0;
}

/* Partner / ecosystem logo carousel — early social proof */
.co-home-associates {
    background: #FFFFFF;
    padding: 2.25rem 0 2.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.co-home-associates-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748B !important;
    margin: 0 0 1.35rem;
}
.co-home-associates-viewport {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.co-home-associates-track {
    display: flex;
    width: max-content;
    animation: co-home-associates-scroll 28s linear infinite;
}
.co-home-associates-viewport:hover .co-home-associates-track {
    animation-play-state: paused;
}
.co-home-associates-group {
    display: flex;
    align-items: center;
    gap: 3.25rem;
    padding: 0 1.6rem;
}
.co-home-associate {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    min-width: 120px;
    opacity: 0.82;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.co-home-associate:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.co-home-associate img {
    max-height: 44px;
    max-width: 148px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.15);
}
@keyframes co-home-associates-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .co-home-associates-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        row-gap: 1.25rem;
    }
    .co-home-associates-group[aria-hidden="true"] {
        display: none;
    }
    .co-home-associates-viewport {
        mask-image: none;
        -webkit-mask-image: none;
    }
}
@media (max-width: 767px) {
    .co-home-associates {
        padding: 1.75rem 0 2rem;
    }
    .co-home-associates-group {
        gap: 2.25rem;
    }
    .co-home-associate {
        height: 48px;
        min-width: 96px;
    }
    .co-home-associate img {
        max-height: 36px;
        max-width: 120px;
    }
}

.co-home-about,
.co-home-solutions {
    padding: 5rem 0;
}

.co-home-about {
    padding-bottom: 6.5rem; /* room for floating stats bar */
}

.co-home-hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.co-home-hero-visual img {
    max-width: 100%;
    height: auto;
    background: transparent;
    /* avoid mix-blend washing nearby UI; PNG is already transparent */
    mix-blend-mode: normal;
    filter: drop-shadow(0 18px 36px rgba(0, 80, 200, 0.16));
    animation: co-home-float 5.5s ease-in-out infinite;
}

.copl-page-home .co-home-hero-visual img {
    mix-blend-mode: normal;
}

.co-home-stats {
    position: absolute;
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 640px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 18px 40px rgba(10, 17, 40, 0.12);
    z-index: 2;
}

.co-home-stat strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0A1128 !important;
    line-height: 1.1;
}

.co-home-stat span {
    display: block;
    font-size: 0.7rem;
    color: #475569 !important;
    line-height: 1.25;
}

.co-home-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0080FF;
    margin-bottom: 0.85rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid #0080FF;
}

.co-home-h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--copl-navy-900);
    margin-bottom: 1.1rem;
}

.co-home-copy {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--copl-slate-600);
    margin-bottom: 1.5rem;
}

.co-home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0080FF !important;
    text-decoration: none !important;
}

.co-home-text-link:hover i {
    transform: translateX(4px);
}

.co-home-text-link i {
    transition: transform 0.2s ease;
}

.co-home-about-visual {
    position: relative;
    border-radius: 18px;
    overflow: visible;
}

.co-home-about-visual > img {
    border-radius: 18px;
    display: block;
    box-shadow: var(--copl-shadow-lg);
    object-fit: cover;
    min-height: 360px;
}

.co-home-logo-mark {
    position: absolute;
    top: 18%;
    left: 8%;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(6, 12, 24, 0.72);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 80, 200, 0.35);
    animation: co-home-glow 3.2s ease-in-out infinite;
}

.co-home-logo-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

@keyframes co-home-glow {
    0%, 100% { box-shadow: 0 12px 30px rgba(0, 128, 255, 0.25); }
    50% { box-shadow: 0 16px 40px rgba(0, 128, 255, 0.55); }
}

.co-home-stat {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.co-home-stat i {
    color: #0080FF;
    font-size: 1rem;
    flex-shrink: 0;
}

.co-home-solutions {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(0, 128, 255, 0.04) 0%, transparent 50%),
        #FFFFFF;
    padding-top: 6.5rem;
}

.co-home-solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 240px;
    padding: 1.6rem 1.4rem 1.4rem;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(10, 17, 40, 0.06);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.co-home-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 100, 220, 0.12);
    border-color: rgba(0, 128, 255, 0.25);
}

.co-home-solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 128, 255, 0.1);
    color: #0080FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
}

.co-home-solution-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--copl-navy-900);
    margin-bottom: 0.55rem;
}

.co-home-solution-card p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--copl-slate-600);
    margin: 0;
    flex-grow: 1;
}

.co-home-solution-arrow {
    align-self: flex-end;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 128, 255, 0.35);
    color: #0080FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.co-home-solution-card:hover .co-home-solution-arrow {
    background: #0080FF;
    color: #FFFFFF;
}

.co-home-cta {
    position: relative;
    overflow: hidden;
    padding: 3.75rem 0;
    background: #060c18;
    margin-top: 1rem;
}

.co-home-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: left center;
    opacity: 0.55;
    pointer-events: none;
}

.co-home-cta-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.co-home-cta-copy {
    color: #94A3B8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    max-width: 36rem;
}

@media (max-width: 991px) {
    .co-home-hero {
        padding-top: 3rem;
        text-align: center;
    }

    .co-home-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .co-home-hero .d-flex {
        justify-content: center;
    }

    .co-home-stats {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        max-width: none;
        margin-top: 1rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .co-home-about-visual > img {
        min-height: 280px;
    }

    .co-home-solutions {
        padding-top: 4rem;
    }

    .co-home-cta {
        text-align: center;
    }

    .co-home-cta-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .co-home-cta .text-lg-end {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .co-home-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .co-home-logo-mark {
        width: 56px;
        height: 56px;
    }

    .co-home-logo-mark img {
        width: 32px;
        height: 32px;
    }
}

/* ==========================================================================
   LIGHT PAGE HERO / CHIPS / SIDE PANEL (WhyCOPL, Leadership, etc.)
   ========================================================================== */

.copl-page-hero {
    padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(circle at 88% 12%, rgba(0, 128, 255, 0.07) 0%, transparent 42%),
        linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 72%);
    color: #1E293B;
}

.copl-page-hero .copl-h1 {
    color: #0A1128 !important;
    font-size: clamp(2.1rem, 4.2vw, 3.25rem);
}

.copl-page-hero .copl-lead {
    color: #475569 !important;
}

.copl-page-hero .btn-copl-secondary {
    background: rgba(10, 17, 40, 0.04);
    border-color: rgba(10, 17, 40, 0.25);
    color: #0A1128 !important;
}

.copl-page-hero .btn-copl-secondary:hover {
    background: #0A1128;
    border-color: #0A1128;
    color: #FFFFFF !important;
}

.copl-section-head {
    max-width: 46rem;
}

.copl-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.copl-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(0, 128, 255, 0.08);
    border: 1px solid rgba(0, 128, 255, 0.22);
    color: #0A1128 !important;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    min-width: 0;
}

.copl-chip i {
    flex-shrink: 0;
    width: 1.15rem;
    text-align: center;
    color: #0080FF !important;
    font-size: 0.95rem;
}

.copl-chip span {
    display: block;
    min-width: 0;
    color: #0A1128 !important;
    white-space: normal;
}

.copl-chip-sm {
    width: auto;
    display: inline-flex;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 8px;
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #334155 !important;
}

.copl-chip-sm i { display: none; }

.copl-hero-media {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(10, 17, 40, 0.12);
    margin-bottom: 1rem;
    background: #fff;
}

.copl-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: normal !important;
}

.copl-side-panel {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 12px 30px rgba(10, 17, 40, 0.08);
    color: #1E293B;
}

.copl-side-panel h5,
.copl-side-panel h6 {
    color: #0A1128 !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.copl-side-panel p {
    color: #475569 !important;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.copl-side-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 128, 255, 0.1);
    color: #0080FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    font-size: 1.1rem;
}

.copl-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.copl-check-list li {
    position: relative;
    padding-left: 1.55rem;
    color: #334155 !important;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.copl-check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: #059669;
    font-size: 0.8rem;
}

.copl-pillar-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0080FF !important;
    background: rgba(0, 128, 255, 0.08);
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.85rem;
}

.copl-inset {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: #334155 !important;
}

.copl-table-wrap {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(10, 17, 40, 0.06);
}

.copl-matrix-table thead th {
    background: #0A1128;
    color: #FFFFFF !important;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    padding: 1rem 0.85rem;
    vertical-align: middle;
}

.copl-matrix-table tbody td {
    padding: 0.9rem 0.85rem;
    vertical-align: middle;
    border-color: #E2E8F0;
    color: #334155;
}

.copl-matrix-highlight,
.copl-matrix-cell {
    background: rgba(0, 128, 255, 0.06) !important;
}

.copl-cta-band {
    background: linear-gradient(135deg, #060c18 0%, #0F1E36 100%) !important;
    padding: 4.5rem 0;
    color: #E2E8F0;
}

.copl-cta-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 2.5rem 1.75rem;
}

/* CTA band is dark even without copl-section-dark â never inherit light-page navy text */
.copl-cta-band .copl-h1,
.copl-cta-band .copl-h2,
.copl-cta-band h1,
.copl-cta-band h2,
.copl-cta-band h3,
.copl-cta-band .text-white {
    color: #FFFFFF !important;
}
.copl-cta-band .copl-lead,
.copl-cta-band .copl-lead.on-dark,
.copl-cta-band p,
.copl-cta-band .text-muted,
.copl-cta-band .text-secondary,
.copl-cta-band .small,
.copl-cta-band .text-light {
    color: #CBD5E1 !important;
}
.copl-cta-band .copl-kicker,
.copl-cta-band .copl-kicker.on-dark {
    color: #67E8F9 !important;
}
.copl-cta-band .btn-copl-secondary,
.copl-cta-band .copl-btn-on-dark {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #FFFFFF !important;
}
.copl-cta-band .btn-copl-secondary span,
.copl-cta-band .btn-copl-secondary i,
.copl-cta-band .copl-btn-on-dark span,
.copl-cta-band .copl-btn-on-dark i {
    color: #FFFFFF !important;
}
.copl-cta-band .btn-copl-secondary:hover,
.copl-cta-band .copl-btn-on-dark:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #FFFFFF !important;
}

/* Hero feature tags â balanced grid (2Ã2 for four tags; wraps cleanly for three) */
.copl-hero-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1.75rem;
}
@media (min-width: 992px) {
    .copl-hero-tags:has(> :nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.copl-hero-tags .badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    min-height: 3rem;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
    padding: 0.75rem 0.95rem !important;
    font-weight: 600;
    font-size: 0.8125rem;
    box-sizing: border-box;
}
.copl-product-hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    background: transparent;
}

/* Screenshot / gallery cards â equal height + aligned media */
.copl-shot-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(10, 17, 40, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.copl-shot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(10, 17, 40, 0.1);
}
.copl-shot-media {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.copl-shot-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
/* Prefer full mockup visibility for tall/mobile assets */
.copl-shot-media--contain {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
}
.copl-shot-media--contain img {
    object-fit: contain;
    object-position: center;
}
.copl-shot-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 4.5rem;
}
.copl-shot-body h6 {
    color: #0A1128 !important;
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}
.copl-shot-body p,
.copl-shot-body small {
    color: #64748B !important;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 767px) {
    .copl-chip-grid {
        grid-template-columns: 1fr;
    }
    .copl-hero-tags {
        grid-template-columns: 1fr;
    }
    .copl-shot-media {
        height: 180px;
    }
}

/* Mobile: tighten section / hero top gap under sticky header */
@media (max-width: 991.98px) {
    .copl-section {
        padding: 2.75rem 0;
    }
    .copl-section.copl-section-dark.py-5,
    section.copl-section-dark.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .copl-section-dark > .container.py-lg-5,
    .copl-section-dark > .container.py-lg-3 {
        padding-top: 0 !important;
        padding-bottom: 0.5rem !important;
    }
    .copl-section-dark .row.g-5 {
        --bs-gutter-y: 1.5rem;
        row-gap: 1.5rem !important;
    }
    .copl-section-dark .copl-h1 {
        margin-bottom: 0.85rem !important;
    }
    .copl-section-dark .copl-kicker {
        margin-bottom: 0.65rem;
    }
}

/* --------------------------------------------------------------------------
   Header CTA â compact, never taller than the navbar
   -------------------------------------------------------------------------- */
.copl-header .navbar {
    min-height: 64px;
}
.copl-header .navbar-nav {
    align-items: center !important;
}
.copl-header .copl-nav-link {
    padding: 0.85rem 0.75rem !important;
    line-height: 1.25;
}
.copl-header .copl-nav-cta,
.copl-header .btn-copl-primary.copl-nav-cta {
    padding: 0.45rem 0.95rem !important;
    font-size: 0.8125rem !important;
    line-height: 1.2 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: 38px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 210, 255, 0.28) !important;
    transform: none !important;
    align-self: center;
}
.copl-header .copl-nav-cta:hover,
.copl-header .copl-nav-cta:focus {
    transform: translateY(-1px) !important;
}
.copl-header .nav-item.ms-lg-3 {
    display: flex;
    align-items: center;
}

/* Dark heroes: keep solid navy + bright body copy (readable on mobile) */
.copl-section-dark {
    background-color: #0A1128 !important;
    color: #E2E8F0 !important;
}
.copl-section-dark .copl-lead,
.copl-section-dark .copl-lead.on-dark,
.copl-section-dark p.copl-lead {
    color: #E2E8F0 !important;
    opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   Mobile nav drawer â override legacy app.css light-blue panel (#CBE5F2)
   which made .copl-nav-link (#CBD5E1) nearly invisible
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .copl-header .navbar-collapse,
    .copl-header #coplEnterpriseNav {
        background: #0B1224 !important;
        border: 1px solid rgba(148, 163, 184, 0.28) !important;
        border-radius: 14px !important;
        margin-top: 0.65rem;
        padding: 0.85rem 1rem 1.15rem !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }
    .copl-header .navbar-nav {
        align-items: stretch !important;
        width: 100%;
    }
    .copl-header .navbar-nav .nav-item {
        margin: 0 !important;
        width: 100%;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }
    .copl-header .navbar-nav .nav-item:last-child {
        border-bottom: none;
        margin-top: 0.65rem !important;
        padding-top: 0.35rem;
    }
    .copl-header .copl-nav-link,
    .copl-header .navbar-nav .nav-link,
    .copl-header .navbar-expand-lg .navbar-nav .nav-link {
        color: #F8FAFC !important;
        padding: 0.8rem 0.35rem !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        text-align: left !important;
        opacity: 1 !important;
    }
    .copl-header .copl-nav-link:hover,
    .copl-header .copl-nav-link:focus {
        color: #67E8F9 !important;
    }
    .copl-header .dropdown-menu {
        background: #111827 !important;
        border: 1px solid rgba(148, 163, 184, 0.2) !important;
        position: static !important;
        float: none !important;
        width: 100%;
        margin: 0 0 0.5rem !important;
        box-shadow: none !important;
    }
    .copl-header .copl-dropdown-item {
        color: #E2E8F0 !important;
    }
    .copl-header .copl-nav-cta,
    .copl-header .btn-copl-primary.copl-nav-cta {
        width: 100%;
        max-height: none;
        justify-content: center;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        margin: 0;
    }
    /* Hamburger stays visible on dark header */
    .copl-header .navbar-toggler .navbar-toggler-icon {
        border-bottom-color: #F8FAFC !important;
    }
    .copl-header .navbar-toggler .navbar-toggler-icon::before,
    .copl-header .navbar-toggler .navbar-toggler-icon::after {
        background-color: #F8FAFC !important;
    }
    .copl-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        border-color: transparent !important;
    }
}

/* Blog listing */
.copl-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(10, 17, 40, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.copl-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(10, 17, 40, 0.1);
}
.copl-blog-media {
    height: 200px;
    background: #0F1E36;
    overflow: hidden;
}
.copl-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.copl-blog-body {
    padding: 1.25rem 1.35rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.copl-blog-body h3 {
    color: #0A1128 !important;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.65rem;
}
.copl-blog-meta {
    color: #64748B !important;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}
.copl-blog-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

.copl-blog-detail-hero {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #0F1E36;
    max-width: 920px;
}
.copl-blog-detail-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

