/* Font Display Swap for Icon & Text Webfonts */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-display: swap;
}

:root {
    --primary-color: #0b3c5d;
    --primary-dark: #06263b;
    --primary-deep: #031726;
    --secondary-color: #ffffff;
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --accent-gold-light: rgba(245, 158, 11, 0.15);
    --accent-blue: #2563eb;
    --accent-teal: #0d9488;
    --emerald-green: #10b981;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 30px rgba(11, 60, 93, 0.08);
    --hover-shadow: 0 20px 40px rgba(11, 60, 93, 0.16);
}

/* Layout Containment for Zero Mobile CLS */
.hero-cta-wrapper {
    min-height: 180px;
    contain: layout style;
}

@media (min-width: 992px) {
    .hero-cta-wrapper {
        min-height: 60px;
    }
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    font-size: 1.0625rem;
    line-height: 1.75;
    overflow-x: hidden;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   High-Contrast Typography & Readability Engine (Enhanced Scale)
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.025em;
    line-height: 1.3;
}

h1 {
    font-size: calc(1.85rem + 1.4vw);
}

h2 {
    font-size: calc(1.5rem + 1.0vw);
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.38rem;
}

h5 {
    font-size: 1.22rem;
}

h6 {
    font-size: 1.08rem;
}

/* Headings on Dark, Navy, and Primary Backgrounds MUST ALWAYS BE BRIGHT WHITE */
.bg-primary-custom h1,
.bg-primary-custom h2,
.bg-primary-custom h3,
.bg-primary-custom h4,
.bg-primary-custom h5,
.bg-primary-custom h6,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.modal-header.bg-primary-custom h1,
.modal-header.bg-primary-custom h2,
.modal-header.bg-primary-custom h3,
.modal-header.bg-primary-custom h4,
.modal-header.bg-primary-custom h5,
.modal-header.bg-primary-custom h6,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white {
    color: #ffffff !important;
}

/* Body & Content Typography */
p {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.15rem;
    color: var(--text-body);
}

li {
    font-size: 1.035rem;
    line-height: 1.75;
    color: var(--text-body);
}

label {
    font-size: 0.985rem;
    color: var(--text-dark);
}

small,
.small {
    font-size: 0.935rem !important;
    line-height: 1.55;
}

.lead {
    font-size: 1.22rem !important;
    line-height: 1.75 !important;
}

/* High-Precedence Text Utilities */
.text-white,
.text-white *,
p.text-white,
span.text-white,
div.text-white,
a.text-white,
strong.text-white,
small.text-white,
b.text-white,
i.text-white {
    color: #ffffff !important;
}

.text-light,
.text-light *,
p.text-light,
span.text-light,
div.text-light,
a.text-light,
strong.text-light,
small.text-light,
i.text-light {
    color: #f8fafc !important;
}

.text-dark,
p.text-dark,
span.text-dark,
div.text-dark,
h1.text-dark,
h2.text-dark,
h3.text-dark,
h4.text-dark,
h5.text-dark,
h6.text-dark {
    color: #0f172a !important;
}

.text-muted,
p.text-muted,
span.text-muted,
small.text-muted {
    color: #64748b !important;
}

.text-primary-custom,
span.text-primary-custom,
a.text-primary-custom,
strong.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-accent,
span.text-accent,
strong.text-accent,
i.text-accent,
a.text-accent {
    color: var(--accent-gold) !important;
}

.text-teal {
    color: var(--accent-teal) !important;
}

/* Background Utilities */
.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-accent {
    background-color: var(--accent-gold) !important;
}

.bg-accent-light {
    background-color: var(--accent-gold-light) !important;
}

.bg-teal-light {
    background-color: rgba(13, 148, 136, 0.12) !important;
}

/* Dedicated High-Contrast Authority & Registration Pills */
.hero-reg-pill,
.reg-badge-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.hero-reg-pill span,
.hero-reg-pill strong,
.hero-reg-pill div,
.reg-badge-pill span,
.reg-badge-pill strong,
.reg-badge-pill div {
    color: #ffffff !important;
}

.hero-reg-pill i,
.hero-reg-pill .text-accent,
.reg-badge-pill i,
.reg-badge-pill .text-accent {
    color: #fbbf24 !important;
}

/* Regulatory Pill on Light Containers */
.reg-badge-pill-light {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(11, 60, 93, 0.08) !important;
    color: #0b3c5d !important;
    border: 1px solid rgba(11, 60, 93, 0.22) !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

.reg-badge-pill-light span,
.reg-badge-pill-light strong {
    color: #0b3c5d !important;
}

.reg-badge-pill-light i {
    color: #d97706 !important;
}

/* Badge Text Styling */
.badge {
    font-size: 0.885rem !important;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge.bg-accent {
    color: #0f172a !important;
    background-color: var(--accent-gold) !important;
}

.badge.bg-primary-custom {
    color: #ffffff !important;
    background-color: var(--primary-color) !important;
}

.badge.text-success {
    color: #16a34a !important;
}

.badge.text-warning {
    color: #d97706 !important;
}

.badge.text-danger {
    color: #dc2626 !important;
}

.badge.text-info {
    color: #0284c7 !important;
}

.badge.text-dark {
    color: #0f172a !important;
}

.badge.text-white {
    color: #ffffff !important;
}

/* Text on Dark Backgrounds */
.bg-primary-custom:not([class*="bg-opacity-"]) p,
.bg-primary-custom:not([class*="bg-opacity-"]) li,
.bg-dark:not([class*="bg-opacity-"]) p,
.bg-dark:not([class*="bg-opacity-"]) li {
    color: #f1f5f9;
}

.hero-section p,
.hero-section li,
.footer p,
.footer li {
    color: #f1f5f9 !important;
}

/* Legible Font Sizes across UI components */
.fs-1 {
    font-size: 2.5rem !important;
}

.fs-2 {
    font-size: 2.1rem !important;
}

.fs-3 {
    font-size: 1.75rem !important;
}

.fs-4 {
    font-size: 1.45rem !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

.fs-6 {
    font-size: 1.1rem !important;
}

.fs-7 {
    font-size: 0.985rem !important;
}

.fs-8 {
    font-size: 0.925rem !important;
}

.fs-9 {
    font-size: 0.85rem !important;
}

.max-w-700 {
    max-width: 750px;
}

.max-w-750 {
    max-width: 850px;
}

.max-w-800 {
    max-width: 950px;
}

.max-w-850 {
    max-width: 1050px;
}

.max-w-900 {
    max-width: 1150px;
}

.max-w-950 {
    max-width: 1250px;
}

/* ==========================================================================
   Global Expanded Container Width Architecture (Widescreen Optimization)
   ========================================================================== */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 100%;
    padding-right: var(--bs-gutter-x, 1.5rem);
    padding-left: var(--bs-gutter-x, 1.5rem);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1200px) {

    .container,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1380px !important;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1560px !important;
    }
}

@media (min-width: 1600px) {

    .container,
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1680px !important;
    }
}

/* Global High-Contrast & Readability Enforcement */
.text-light,
.text-light>*,
.lead.text-light,
.lead.text-white,
.bg-primary-custom .lead,
.bg-dark .lead {
    color: #f8fafc !important;
    font-weight: 400;
}

.text-light.opacity-75,
.text-white.opacity-75,
.opacity-75 {
    opacity: 0.93 !important;
    color: #f8fafc !important;
}

.opacity-90 {
    opacity: 0.96 !important;
}

.text-muted {
    color: #475569 !important;
}

/* Breadcrumb readability on dark heroes */
.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active {
    color: #f8fafc !important;
}

.breadcrumb-item a:hover {
    color: var(--accent-gold) !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ==========================================================================
   Expert Main Navigation & Dropdown Polish
   ========================================================================== */
.main-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.navbar-brand-title {
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.navbar-brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.navbar-nav .nav-link {
    font-size: 0.925rem;
    font-weight: 600;
    color: #1e293b !important;
    padding: 0.5rem 0.75rem !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-item.show .nav-link {
    color: var(--primary-color) !important;
    background-color: rgba(11, 60, 93, 0.05);
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.3em;
    vertical-align: 0.15em;
    font-size: 0.75em;
    transition: transform 0.2s ease;
}

.navbar-nav .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Luxury Dropdown Menu Styling */
.main-navbar .dropdown-menu {
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px rgba(11, 60, 93, 0.12) !important;
    padding: 8px !important;
    min-width: 250px;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-navbar .dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.15s ease-in-out;
}

.main-navbar .dropdown-item:hover {
    background-color: rgba(11, 60, 93, 0.06);
    color: var(--primary-color) !important;
    transform: translateX(4px);
}

.dropdown-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.main-navbar .navbar-cta-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

@media (max-width: 1199.98px) {
    .main-navbar .navbar-collapse {
        background: #ffffff;
        border-top: 1px solid #f1f5f9;
        margin-top: 12px;
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 15px 35px rgba(11, 60, 93, 0.08);
    }

    .main-navbar .navbar-nav .nav-link {
        padding: 10px 14px !important;
        border-bottom: 1px solid #f8fafc;
        width: 100%;
        display: flex !important;
        justify-content: space-between;
    }

    .main-navbar .dropdown-menu {
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
        background-color: #f8fafc !important;
        margin: 4px 0 8px !important;
        padding: 6px !important;
    }

    .main-navbar .navbar-cta-group {
        flex-direction: column;
        width: 100%;
        margin-top: 16px;
        gap: 10px;
    }

    .main-navbar .navbar-cta-group .btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(11, 60, 93, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-custom:hover {
    background-color: #082d47;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 60, 93, 0.35);
}

/* =========================================================================
   Live Search Engine UI & Interactive Dropdown
   ========================================================================= */
.search-hero-box {
    position: relative;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    z-index: 1050;
}

.search-hero-box:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(245, 158, 11, 0.25) !important;
}

.search-hero-input {
    border: none;
    font-size: 1.05rem;
    padding: 12px 16px;
    background: transparent;
    color: #0f172a;
    font-weight: 500;
    width: 100%;
}

.search-hero-input:focus {
    box-shadow: none;
    outline: none;
    background: transparent;
}

.search-clear-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 1.1rem;
    transition: color 0.15s ease;
    display: none;
}

.search-clear-btn:hover {
    color: #ef4444;
}

.search-clear-btn.visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(11, 60, 93, 0.15);
    border: 1px solid #e2e8f0;
    max-height: 480px;
    overflow-y: auto;
    display: none;
    text-align: left;
    z-index: 999999 !important;
}

.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.search-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-filter-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.search-filter-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.search-filter-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.search-result-item {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.18s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: #0f172a;
}

.search-result-item:hover,
.search-result-item:focus,
.search-result-item.active {
    background-color: #f0fdf4;
    border-left: 4px solid var(--accent-gold);
    padding-left: 22px;
    color: var(--primary-color);
}

.search-highlight {
    background-color: #fef08a;
    color: #854d0e;
    font-weight: 700;
    padding: 1px 3px;
    border-radius: 3px;
}

.search-footer-hint {
    padding: 8px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.search-tag-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.search-tag-chip:hover {
    background: var(--accent-gold);
    color: #0f172a;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.search-modal-content {
    overflow: visible !important;
}

/* Terms category filters: keep the selected label readable on every browser. */
.terms-filter-btn.active,
.terms-filter-btn[aria-pressed="true"] {
    background-color: #0b3c5d !important;
    border-color: #0b3c5d !important;
    color: #ffffff !important;
    opacity: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.btn-accent {
    background-color: var(--accent-gold);
    color: #0f172a !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-accent:hover {
    background-color: var(--accent-gold-hover);
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* Navbar */
.navbar {
    padding: 14px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: #1e293b !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.dropdown-menu {
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.dropdown-item {
    font-weight: 500;
    color: #1e293b;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(11, 60, 93, 0.08);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0b3c5d 0%, #06263b 60%, #1e3a8a 100%);
    color: #ffffff !important;
    padding: 75px 0 85px;
    position: relative;
    overflow: visible;
    z-index: 100;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 5%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section .container {
    max-width: 1560px;
}

.hero-title,
.hero-section h1 {
    color: #ffffff !important;
    font-size: 3.1rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-subtitle,
.hero-section p {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 22px;
    color: #f1f5f9 !important;
    line-height: 1.6;
}

/* Floating Hero Visual Pods & Telemetry on Left & Right Flanks */
.hero-visual-pod {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 16px 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    color: #ffffff !important;
    text-decoration: none !important;
    display: block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
}

.hero-visual-pod:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--accent-gold);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    color: #ffffff !important;
}

.hero-visual-pod .pod-icon-orb {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.hero-visual-pod .pod-meter {
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.hero-visual-pod .pod-meter-fill {
    height: 100%;
    border-radius: 10px;
}

.float-anim-1 {
    animation: floatingCard1 6s ease-in-out infinite;
}

.float-anim-2 {
    animation: floatingCard2 7s ease-in-out infinite;
}

@keyframes floatingCard1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatingCard2 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(8px);
    }
}

.hero-visual-pod .pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    box-shadow: 0 0 0 rgba(245, 158, 11, 0.7);
    animation: pulseRing 2s infinite;
    display: inline-block;
}

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* Horizontal 4-Column Hero Quick-Access Cards */
.hero-feature-tile {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 20px 18px;
    text-align: center;
    color: #ffffff !important;
    text-decoration: none !important;
    display: block;
    height: 100%;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-feature-tile:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    color: #ffffff !important;
}

.hero-feature-tile .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Glassmorphism Knowledge Radar & Authority Cards */
.hero-knowledge-deck {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.hero-knowledge-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 16px 18px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff !important;
    text-decoration: none !important;
    display: block;
    height: 100%;
}

.hero-knowledge-card:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.hero-knowledge-card .icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-pill-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-tag-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hero-tag-pill:hover {
    background: var(--accent-gold);
    color: #0f172a !important;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

border-color: var(--accent-gold);
transform: translateY(-2px);
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.hero-tab-btn {
    border-radius: 12px !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    color: #cbd5e1;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.hero-tab-btn.active {
    background: var(--accent-gold) !important;
    color: #0f172a !important;
    border-color: var(--accent-gold);
}


/* Glassmorphism & Lead Capture Card */
.lead-card-hero {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    color: var(--text-dark);
}

.service-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    background-color: #ffffff;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(11, 60, 93, 0.2);
}

.service-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.08) 0%, rgba(50, 140, 193, 0.12) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.08);
}

/* Insurance Terms Badge Cards */
.term-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.term-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.18);
    transform: translateY(-4px);
}

/* Learning Path Step Cards */
.learning-step-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.learning-step-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
    transform: translateY(-3px);
}

.step-number-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* Problem-solving Guide Card */
.problem-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.problem-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(11, 60, 93, 0.12);
    transform: translateY(-5px);
}

/* Sticky Bottom Lead Consultation Bar */
.sticky-lead-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #06263b;
    color: #ffffff;
    z-index: 999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.25);
    border-top: 2px solid var(--accent-gold);
    padding: 12px 0;
}

/* Floating Actions */
.floating-whatsapp {
    position: fixed;
    bottom: 85px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff !important;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Floating Global Compliance Query Widget */
.floating-query-widget {
    position: fixed;
    bottom: 85px;
    left: 25px;
    z-index: 1000;
}

.query-pulse-btn {
    position: relative;
    border: 2px solid #ffffff;
    box-shadow: 0 10px 30px rgba(11, 60, 93, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.query-pulse-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.45);
}

.pulse-ring {
    position: relative;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #10b981;
    animation: pulseGlow 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    z-index: -1;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(2.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Admin Dashboard Components */
.admin-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.admin-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

/* Modern Deep Dark Footer with High Contrast */
.footer {
    background-color: var(--primary-deep);
    color: #f1f5f9;
    padding: 70px 0 30px;
    border-top: 3px solid var(--accent-gold);
}

.footer h6 {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
}

.footer p,
.footer span,
.footer div {
    color: #cbd5e1;
}

.footer strong {
    color: #ffffff;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--accent-gold) !important;
}

.footer-badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-accent:hover {
    color: var(--accent-gold) !important;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 60px 0 80px;
    }

    .floating-whatsapp {
        bottom: 80px;
        right: 15px;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

/* Compact Main Navbar Styling */
.main-navbar {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
}

.main-navbar .nav-link {
    font-size: 0.85rem !important;
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
}

.main-navbar .navbar-cta-group .btn {
    font-size: 0.8rem !important;
    padding: 0.25rem 0.65rem !important;
}