/**
 * Influencer Hive - Centralized External Stylesheet & Bootstrap-to-Tailwind Conversion Layer
 * Unified stylesheet for Frontend and Admin Panels
 * Powered by Tailwind CSS v4 Runtime & Modern Design Tokens
 */

/* ==========================================================================
   1. EXTERNAL FONTS & ICON PACKS (CENTRALIZED)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* External icon styles are handled by official icon packs */

/* ==========================================================================
   2. TAILWIND V4 THEME TOKENS & CSS CUSTOM PROPERTIES
   ========================================================================== */
@theme {
    --color-primary: #E00243;
    --color-primary-dark: #c00239;
    --color-primary-light: #fff1f4;
    --color-dark: #0f172a;
    --color-slate: #475569;
    --color-white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-sans: 'Poppins', sans-serif;
}

:root {
    /* Strict 4-Color System: #E00243, White, Black, Professional Slate */
    --main-color: #E00243;
    --primary-color: #E00243;
    --primary-hover: #c00239;
    --primary-light: #fff1f4;
    --black-color: #0f172a;
    --dark-color: #0f172a;
    --white-color: #ffffff;
    --text-color: #475569;
    --slate-color: #475569;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;

    /* Theme Radius & Shadows */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    --shadow-elevated: 0 10px 30px -5px rgba(224, 2, 67, 0.15);
}

/* ==========================================================================
   3. GLOBAL BASE RESETS & STRICT TYPOGRAPHY STANDARDIZATION
   All pages enforce identical font sizes per tag and attribute
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Single Centralized Font Family: Poppins */
html, body, p, h1, h2, h3, h4, h5, h6,
span, a, div, button, input, select, textarea, label {
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   ICON FONTS COMPREHENSIVE GLYPH PROTECTION
   Ensures * / ::before Poppins rule and inherited bold weights do not break icon glyphs
   ========================================================================== */
.bx, .bxs, .bxl,
[class^="bx-"], [class*=" bx-"],
[class^="bxs-"], [class*=" bxs-"],
[class^="bxl-"], [class*=" bxl-"],
.bx::before, .bxs::before, .bxl::before,
[class^="bx-"]::before, [class*=" bx-"]::before,
[class^="bxs-"]::before, [class*=" bxs-"]::before,
[class^="bxl-"]::before, [class*=" bxl-"]::before {
    font-family: 'boxicons' !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    display: inline-block;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.9375rem !important;
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.65;
    margin: 0;
    padding: 0;
}

/* Standardized Tag Font Sizes Across ALL Pages */
h1, .h1, .fs-1, .display-1, .display-2, .display-3 {
    font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--black-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h2, .h2, .fs-2, .display-4, .display-5, .display-6 {
    font-size: clamp(1.625rem, 2.5vw, 2rem) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--black-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h3, .h3, .fs-3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--black-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h4, .h4, .fs-4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--black-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h5, .h5, .fs-5 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--black-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h6, .h6, .fs-6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: var(--black-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

p, .paragraph, .lead {
    font-size: 0.9375rem !important;
    color: var(--text-color);
    line-height: 1.65 !important;
    margin-bottom: 1rem;
}

small, .small, .text-sm {
    font-size: 0.8125rem !important;
    line-height: 1.5;
}

.text-xs {
    font-size: 0.75rem !important;
    line-height: 1.4;
}

/* Standardized Component Font Sizes Across ALL Pages */
.btn, button.btn, a.btn {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
}

.btn-lg {
    font-size: 1rem !important;
}

.btn-sm {
    font-size: 0.8125rem !important;
}

.form-control, .form-select, input, select, textarea {
    font-size: 0.9375rem !important;
}

label, .form-label {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: var(--black-color);
}

.badge {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

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

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* ==========================================================================
   4. BOOTSTRAP TO TAILWIND CONVERSION & COMPATIBILITY LAYER
   (Enables instant Tailwind styling for any legacy or existing Bootstrap markup)
   ========================================================================== */

/* --- Container & Layout --- */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1240px; } }
@media (min-width: 1536px) { .container { max-width: 1360px; } }

.container-fluid {
    max-width: 100% !important;
}

/* --- Row & Columns (Grid / Flex) --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.row > * {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1  { flex: 0 0 auto; width: 8.333333%; }
.col-2  { flex: 0 0 auto; width: 16.666667%; }
.col-3  { flex: 0 0 auto; width: 25%; }
.col-4  { flex: 0 0 auto; width: 33.333333%; }
.col-5  { flex: 0 0 auto; width: 41.666667%; }
.col-6  { flex: 0 0 auto; width: 50%; }
.col-7  { flex: 0 0 auto; width: 58.333333%; }
.col-8  { flex: 0 0 auto; width: 66.666667%; }
.col-9  { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.333333%; }
.col-11 { flex: 0 0 auto; width: 91.666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

/* Responsive Medium (md >= 768px) */
@media (min-width: 768px) {
    .col-md-auto { flex: 0 0 auto; width: auto; }
    .col-md-1  { flex: 0 0 auto; width: 8.333333%; }
    .col-md-2  { flex: 0 0 auto; width: 16.666667%; }
    .col-md-3  { flex: 0 0 auto; width: 25%; }
    .col-md-4  { flex: 0 0 auto; width: 33.333333%; }
    .col-md-5  { flex: 0 0 auto; width: 41.666667%; }
    .col-md-6  { flex: 0 0 auto; width: 50%; }
    .col-md-7  { flex: 0 0 auto; width: 58.333333%; }
    .col-md-8  { flex: 0 0 auto; width: 66.666667%; }
    .col-md-9  { flex: 0 0 auto; width: 75%; }
    .col-md-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-md-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-md-12 { flex: 0 0 auto; width: 100%; }
}

/* Responsive Large (lg >= 1024px) */
@media (min-width: 1024px) {
    .col-lg-auto { flex: 0 0 auto; width: auto; }
    .col-lg-1  { flex: 0 0 auto; width: 8.333333%; }
    .col-lg-2  { flex: 0 0 auto; width: 16.666667%; }
    .col-lg-3  { flex: 0 0 auto; width: 25%; }
    .col-lg-4  { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-5  { flex: 0 0 auto; width: 41.666667%; }
    .col-lg-6  { flex: 0 0 auto; width: 50%; }
    .col-lg-7  { flex: 0 0 auto; width: 58.333333%; }
    .col-lg-8  { flex: 0 0 auto; width: 66.666667%; }
    .col-lg-9  { flex: 0 0 auto; width: 75%; }
    .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-lg-12 { flex: 0 0 auto; width: 100%; }
}

/* Responsive Extra Large (xl >= 1280px) */
@media (min-width: 1280px) {
    .col-xl-3  { flex: 0 0 auto; width: 25%; }
    .col-xl-4  { flex: 0 0 auto; width: 33.333333%; }
    .col-xl-6  { flex: 0 0 auto; width: 50%; }
    .col-xl-12 { flex: 0 0 auto; width: 100%; }
}

/* Row gutters */
.g-0, .gx-0 { margin-right: 0; margin-left: 0; }
.g-0 > *, .gx-0 > * { padding-right: 0; padding-left: 0; }
.g-1 { margin: -0.25rem; } .g-1 > * { padding: 0.25rem; }
.g-2 { margin: -0.5rem; }  .g-2 > * { padding: 0.5rem; }
.g-3 { margin: -0.75rem; } .g-3 > * { padding: 0.75rem; }
.g-4 { margin: -1rem; }    .g-4 > * { padding: 1rem; }
.g-5 { margin: -1.5rem; }  .g-5 > * { padding: 1.5rem; }

/* --- Row Columns (Responsive Grid) --- */
.row-cols-1 > * { flex: 0 0 auto; width: 100%; }
.row-cols-2 > * { flex: 0 0 auto; width: 50%; }
.row-cols-3 > * { flex: 0 0 auto; width: 33.333333%; }
.row-cols-4 > * { flex: 0 0 auto; width: 25%; }
.row-cols-5 > * { flex: 0 0 auto; width: 20%; }
.row-cols-6 > * { flex: 0 0 auto; width: 16.666667%; }

@media (min-width: 640px) {
    .row-cols-sm-1 > * { flex: 0 0 auto; width: 100%; }
    .row-cols-sm-2 > * { flex: 0 0 auto; width: 50%; }
    .row-cols-sm-3 > * { flex: 0 0 auto; width: 33.333333%; }
    .row-cols-sm-4 > * { flex: 0 0 auto; width: 25%; }
}

@media (min-width: 768px) {
    .row-cols-md-1 > * { flex: 0 0 auto; width: 100%; }
    .row-cols-md-2 > * { flex: 0 0 auto; width: 50%; }
    .row-cols-md-3 > * { flex: 0 0 auto; width: 33.333333%; }
    .row-cols-md-4 > * { flex: 0 0 auto; width: 25%; }
    .row-cols-md-5 > * { flex: 0 0 auto; width: 20%; }
}

@media (min-width: 1024px) {
    .row-cols-lg-1 > * { flex: 0 0 auto; width: 100%; }
    .row-cols-lg-2 > * { flex: 0 0 auto; width: 50%; }
    .row-cols-lg-3 > * { flex: 0 0 auto; width: 33.333333%; }
    .row-cols-lg-4 > * { flex: 0 0 auto; width: 25%; }
}

@media (min-width: 1280px) {
    .row-cols-xl-1 > * { flex: 0 0 auto; width: 100%; }
    .row-cols-xl-2 > * { flex: 0 0 auto; width: 50%; }
    .row-cols-xl-3 > * { flex: 0 0 auto; width: 33.333333%; }
    .row-cols-xl-4 > * { flex: 0 0 auto; width: 25%; }
}

/* --- Display Utilities --- */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-grid { display: grid !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

@media (min-width: 1024px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
}

/* --- Flexbox Utilities --- */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-stretch { align-items: stretch !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

/* --- Spacing (Margins & Paddings) --- */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.m-auto { margin: auto !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-auto { margin-left: auto !important; }
.me-auto { margin-right: auto !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.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; }

/* --- Sizing Utilities --- */
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }
.h-100 { height: 100% !important; }
.min-vh-100 { min-height: 100vh !important; }

/* --- Typography Utilities --- */
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-muted { color: #94a3b8 !important; }
.text-white { color: #ffffff !important; }
.text-primary { color: var(--main-color) !important; }
.text-secondary { color: #64748b !important; }
.text-success { color: #10b981 !important; }
.text-danger { color: #ef4444 !important; }
.text-warning { color: #f59e0b !important; }
.text-dark { color: #0f172a !important; }

.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-normal { font-weight: 400 !important; }

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

/* --- Borders & Radius --- */
.border { border: 1px solid var(--border-color) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--border-color) !important; }
.border-bottom { border-bottom: 1px solid var(--border-color) !important; }
.border-end-0 { border-right: 0 !important; }
.rounded { border-radius: 0.375rem !important; }
.rounded-1 { border-radius: 0.25rem !important; }
.rounded-2 { border-radius: 0.5rem !important; }
.rounded-3 { border-radius: 0.75rem !important; }
.rounded-4 { border-radius: 1rem !important; }
.rounded-pill { border-radius: 9999px !important; }
.rounded-circle { border-radius: 50% !important; }

/* --- Shadows --- */
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08) !important; }
.shadow { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important; }
.shadow-lg { box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important; }

/* --- Background Colors --- */
.bg-white { background-color: #ffffff !important; }
.bg-light { background-color: #f8fafc !important; }
.bg-transparent { background-color: transparent !important; }
.bg-primary { background-color: var(--main-color) !important; color: #fff !important; }
.bg-secondary { background-color: #64748b !important; color: #fff !important; }
.bg-success { background-color: #10b981 !important; color: #fff !important; }
.bg-danger { background-color: #ef4444 !important; color: #fff !important; }
.bg-warning { background-color: #f59e0b !important; color: #fff !important; }

/* --- Components: Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1.5px solid transparent;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.5rem;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

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

.btn-outline-primary {
    color: var(--main-color);
    border-color: var(--main-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--main-color);
    color: #ffffff;
}

.btn-secondary {
    color: #ffffff;
    background-color: #64748b;
    border-color: #64748b;
}

.btn-secondary:hover {
    background-color: #475569;
    border-color: #475569;
    color: #ffffff;
}

.btn-success {
    color: #ffffff;
    background-color: #10b981;
    border-color: #10b981;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
    color: #ffffff;
}

.btn-danger {
    color: #ffffff;
    background-color: #ef4444;
    border-color: #ef4444;
}

.btn-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.btn-warning {
    color: #ffffff;
    background-color: #f59e0b;
    border-color: #f59e0b;
}

.btn-warning:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: #ffffff;
}

.btn-info {
    color: #ffffff;
    background-color: #06b6d4;
    border-color: #06b6d4;
}

.btn-info:hover {
    background-color: #0891b2;
    border-color: #0891b2;
    color: #ffffff;
}

.btn-dark {
    color: #ffffff;
    background-color: #0f172a;
    border-color: #0f172a;
}

.btn-dark:hover {
    background-color: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
}

.btn-light {
    color: #1e293b;
    background-color: #f8fafc;
    border-color: #e2e8f0;
}

.btn-light:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.btn-outline-secondary {
    color: #64748b;
    border-color: #64748b;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: #64748b;
    color: #ffffff;
}

.btn-outline-success {
    color: #10b981;
    border-color: #10b981;
    background-color: transparent;
}

.btn-outline-success:hover {
    background-color: #10b981;
    color: #ffffff;
}

.btn-outline-danger {
    color: #ef4444;
    border-color: #ef4444;
    background-color: transparent;
}

.btn-outline-danger:hover {
    background-color: #ef4444;
    color: #ffffff;
}

.btn-outline-warning {
    color: #f59e0b;
    border-color: #f59e0b;
    background-color: transparent;
}

.btn-outline-warning:hover {
    background-color: #f59e0b;
    color: #ffffff;
}

.btn-outline-info {
    color: #06b6d4;
    border-color: #06b6d4;
    background-color: transparent;
}

.btn-outline-info:hover {
    background-color: #06b6d4;
    color: #ffffff;
}

.btn-outline-dark {
    color: #0f172a;
    border-color: #0f172a;
    background-color: transparent;
}

.btn-outline-dark:hover {
    background-color: #0f172a;
    color: #ffffff;
}

.btn-link {
    color: var(--main-color);
    background: transparent;
    border: none;
    padding: 0;
    text-decoration: underline;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

/* --- Components: Cards --- */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffff;
    background-clip: border-box;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card-body {
    flex: 1 1 auto;
    padding: 1.5rem;
}

.card-header {
    padding: 1rem 1.5rem;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: transparent;
    border-top: 1px solid var(--border-color);
}

/* --- Components: Forms --- */
.form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--black-color);
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1e293b;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--main-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(224, 2, 67, 0.12);
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group > .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
    background-color: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
}

.input-group > :not(:last-child):not(.dropdown-menu) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group > :not(:first-child):not(.dropdown-menu) {
    margin-left: -1.5px;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Form Checks, Radios & Switches */
.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.75em;
    margin-bottom: 0.25rem;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.75em;
}

.form-check-input {
    width: 1.15em;
    height: 1.15em;
    margin-top: 0.2em;
    vertical-align: top;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1.5px solid var(--border-color);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.form-check-input[type="checkbox"] {
    border-radius: 0.25em;
}

.form-check-input[type="radio"] {
    border-radius: 50%;
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.form-check-input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-label {
    cursor: pointer;
    color: var(--black-color);
    font-size: 0.875rem;
}

.form-switch {
    padding-left: 2.75em;
}

.form-switch .form-check-input {
    width: 2.25em;
    margin-left: -2.75em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 2em;
    transition: background-position 0.15s ease-in-out;
}

.form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

/* --- Components: Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.badge.bg-primary { background-color: var(--main-color) !important; color: #fff; }
.badge.bg-secondary { background-color: #64748b !important; color: #fff; }
.badge.bg-success { background-color: #10b981 !important; color: #fff; }
.badge.bg-danger { background-color: #ef4444 !important; color: #fff; }
.badge.bg-warning { background-color: #f59e0b !important; color: #000; }
.badge.bg-info { background-color: #06b6d4 !important; color: #fff; }
.badge.bg-dark { background-color: #0f172a !important; color: #fff; }
.badge.bg-light { background-color: #f8fafc !important; color: #0f172a; }


/* --- Components: Navigation (Navbar & Dropdowns) --- */
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}

.navbar-brand .logo-text {
    color: #ffffff;
    background-color: var(--main-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link:focus,
.nav-item:hover > .nav-link {
    color: var(--main-color);
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(224, 2, 67, 0.15);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Base Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    display: none;
    min-width: 12rem;
    padding: 0.75rem;
    margin: 0.125rem 0 0;
    font-size: 0.9375rem;
    color: #1e293b;
    text-align: left;
    list-style: none;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1), 0 5px 15px -3px rgba(0, 0, 0, 0.05);
}

.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 500;
    color: #334155;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--main-color);
    background-color: #fff1f4;
}

/* --- DESKTOP NAVBAR & MEGA-MENU HOVER BEHAVIOR --- */
@media (min-width: 992px) {
    .navbar {
        position: relative;
    }

    .navbar-expand-lg {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
        display: flex !important;
        gap: 0.35rem !important;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none !important;
    }

    /* Open Header Dropdowns on Hover */
    .navbar-nav .dropdown:hover > .dropdown-menu,
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
    .dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        animation: navDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Mega-Menu Centering & Constraints on Desktop */
    .navbar-nav .platform-dropdown {
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 900px !important;
        max-width: 95vw !important;
        margin-top: 10px !important;
    }

    .navbar-nav .services-dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 1100px !important;
        max-width: 95vw !important;
        margin-top: 10px !important;
    }

    .navbar-nav .solutions-dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 980px !important;
        max-width: 95vw !important;
        margin-top: 10px !important;
    }

    .navbar-nav .locations-dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 980px !important;
        max-width: 95vw !important;
        margin-top: 10px !important;
    }

    .navbar-nav .resources-dropdown-menu,
    .navbar-nav .company-dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 380px !important;
        margin-top: 10px !important;
    }
}

/* --- MOBILE NAVBAR COLLAPSE BEHAVIOR --- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none;
    }

    .navbar-collapse.show {
        display: block !important;
        width: 100% !important;
        background: #ffffff;
        padding: 1.25rem 0.5rem;
        border-top: 1px solid var(--border-color);
        margin-top: 0.75rem;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        border-radius: 0 0 1rem 1rem;
    }

    .navbar-collapse .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        gap: 0.5rem;
    }

    .navbar-collapse .dropdown-menu {
        position: static !important;
        transform: none !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: 1px solid var(--border-color);
        margin-top: 0.5rem;
        padding: 1rem;
    }

    .navbar-collapse .dropdown-menu.show {
        display: block !important;
    }

    .navbar-collapse .platform-grid,
    .navbar-collapse .services-grid,
    .navbar-collapse .solutions-row,
    .navbar-collapse .industry-row,
    .navbar-collapse .locations-main-row,
    .navbar-collapse .cities-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

@keyframes navDropdownFade {
    from {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ==========================================================================
   5. COMPLETE BOOTSTRAP-TO-TAILWIND COMPONENT SUITE
   ========================================================================== */

/* --- Offcanvas --- */
.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: #1e293b;
    visibility: hidden;
    background-color: #ffffff;
    background-clip: padding-box;
    outline: 0;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.offcanvas-start {
    top: 0;
    left: 0;
    width: 380px;
    border-right: 1px solid var(--border-color);
    transform: translateX(-100%);
}

.offcanvas.show {
    visibility: visible;
    transform: none;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.offcanvas-title {
    margin-bottom: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.offcanvas-body {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    color: #64748b;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.15s ease-in-out;
}

.btn-close:hover {
    opacity: 1;
}

/* --- Modals --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: block;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 540px;
    pointer-events: none;
    transition: transform 0.3s ease-out;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1140px; }

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    outline: 0;
    overflow: hidden;
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    gap: 0.5rem;
}

/* --- Accordions --- */
.accordion {
    --bs-accordion-bg: #fff;
    --bs-accordion-border-color: var(--border-color);
    border-radius: var(--radius-lg);
}

.accordion-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.accordion-item:first-of-type {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.accordion-item:last-of-type {
    border-bottom-right-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.accordion-item:not(:first-of-type) {
    border-top: 0;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black-color);
    text-align: left;
    background-color: #ffffff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--main-color);
    background-color: var(--primary-light, #fff1f4);
    box-shadow: inset 0 -1px 0 var(--border-color);
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E00243'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-collapse {
    transition: height 0.35s ease;
}

/* Fix Tailwind CSS v4 conflict where .collapse sets 'visibility: collapse' */
.accordion-collapse,
.accordion-collapse *,
.accordion-body,
.hive-platform-faq-body,
.collapse.show,
.collapsing {
    visibility: visible !important;
}

.accordion-collapse:not(.show) {
    display: none;
}

.accordion-collapse.show {
    display: block;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        visibility: visible !important;
    }
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-color, #475569);
    line-height: 1.6;
}

/* --- Carousel --- */
.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease;
}

.carousel-item.active {
    display: block;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active {
    z-index: 1;
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: none;
    border: 0;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.9;
}

.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* --- Tables --- */
.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.02);
    width: 100%;
    margin-bottom: 1rem;
    color: #1e293b;
    vertical-align: top;
    border-color: var(--border-color);
}

.table th,
.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8fafc;
}

.table-hover tbody tr:hover {
    background-color: #f1f5f9;
}

.table-bordered {
    border: 1px solid var(--border-color);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- Breadcrumbs --- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 1rem;
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: 0.5rem;
    color: #94a3b8;
    content: "/";
}

.breadcrumb-item.active {
    color: #64748b;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: var(--radius-md);
    gap: 0.25rem;
}

.page-item .page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-item.active .page-link {
    z-index: 3;
    color: #ffffff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.page-item .page-link:hover {
    background-color: #f8fafc;
    border-color: var(--main-color);
    color: var(--main-color);
}

/* --- Alerts --- */
.alert {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
}

.alert-success {
    color: #065f46;
    background-color: #ecfdf5;
    border-color: #a7f3d0;
}

.alert-danger {
    color: #991b1b;
    background-color: #fef2f2;
    border-color: #fecaca;
}

.alert-warning {
    color: #92400e;
    background-color: #fffbeb;
    border-color: #fde68a;
}

.alert-info {
    color: #1e40af;
    background-color: #eff6ff;
    border-color: #bfdbfe;
}

/* --- Form Feedback & Validation --- */
.is-invalid {
    border-color: #ef4444 !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: #ef4444;
}

.is-valid {
    border-color: #10b981 !important;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: #10b981;
}

.form-text {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: #94a3b8;
}

/* --- Opacity and Border Variants for Dashboards --- */
.border-start { border-left: 1px solid var(--border-color) !important; }
.border-3 { border-width: 3px !important; }
.border-danger { border-color: #ef4444 !important; }
.border-success { border-color: #10b981 !important; }
.border-warning { border-color: #f59e0b !important; }
.border-info { border-color: #06b6d4 !important; }
.radius-10 { border-radius: 10px !important; }

.bg-opacity-10 { --tw-bg-opacity: 0.1; }
.bg-opacity-25 { --tw-bg-opacity: 0.25; }

.bg-gradient-scooter {
    background: linear-gradient(to right, #17ad37, #98ec2d) !important;
}

.bg-gradient-bloody {
    background: linear-gradient(to right, #f54ea2, #ff7676) !important;
}

.bg-gradient-ohhappiness {
    background: linear-gradient(to right, #00b09b, #96c93d) !important;
}

.bg-gradient-blooker {
    background: linear-gradient(to right, #ff7e5f, #feb47b) !important;
}

.widgets-icons-2 {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
}

/* ==========================================================================
   6. TAILWIND COMPONENT OVERLAYS & MICRO-ANIMATIONS
   ========================================================================== */
.animate-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* ==========================================================================
   7. ADMIN PANEL CENTRALIZED HELPERS & VALIDATION
   ========================================================================== */
.error-msg { color: #dc3545; font-size: 0.82rem; margin-top: 3px; display: block; }
.is-invalid-custom { border-color: #dc3545 !important; }
.current-img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; margin-bottom: 6px; border: 2px solid #dee2e6; }
.nav-tabs .nav-link.active { font-weight: 600; }

.gallery-row.has-error,
.text-row.has-error {
    border-color: #dc3545 !important;
}

.image-upload-row {
    position: relative;
    display: inline-block;
    margin: 6px;
}

.image-upload-row .remove-image-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    border: none;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}

.image-upload-row img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.image-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.image-input-row .form-control {
    flex: 1;
}

.inf-page .err                       { color: #dc3545; font-size: .8rem; margin-top: 3px; display: block; }
.inf-page .is-inv                    { border-color: #dc3545 !important; }
.inf-page .cur-img                   { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; border: 2px solid #E00243; }
.inf-page .nav-tabs .nav-link.active { font-weight: 700; color: #E00243; border-bottom-color: #E00243; }
.inf-page .stat-card                 { border-radius: 12px; border: none; }

/* ==========================================================================
   FLOATING PILL NAVBAR DESIGN (Capsule Header Matching Reference)
   ========================================================================== */
.hive-header-floating {
    position: sticky;
    top: 0;
    z-index: 1040;
    padding-top: 14px;
    padding-bottom: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.hive-pill-bar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 9999px !important;
    padding: 8px 14px 8px 24px !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

@media (min-width: 992px) {
    .hive-pill-bar {
        height: 66px;
    }
}

.hive-pill-bar .navbar-brand {
    font-weight: 800 !important;
    color: var(--black-color) !important;
    font-size: 1.25rem !important;
    display: inline-flex;
    align-items: center;
    margin-right: 1.25rem;
    padding: 0;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.hive-pill-bar .logo-text {
    background-color: var(--main-color) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 2px 7px;
    border-radius: 6px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hive-nav-pill-wrapper .navbar-nav .nav-link::after,
.hive-nav-pill-wrapper .navbar-nav .nav-link::before {
    display: none !important;
    content: none !important;
}

/* Center Navigation Inner Pill Container */
@media (min-width: 992px) {
    .hive-nav-pill-wrapper {
        background: #f8fafc;
        border: 1px solid #f1f5f9;
        border-radius: 9999px;
        padding: 4px 6px;
        display: inline-flex;
        align-items: center;
    }

    .hive-nav-pill-wrapper .navbar-nav {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 2px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link {
        font-size: 0.8125rem !important;
        font-weight: 500 !important;
        color: #475569 !important;
        -webkit-text-fill-color: #475569 !important;
        background: transparent;
        padding: 6px 14px !important;
        border-radius: 9999px !important;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link::after {
        display: none !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link:hover,
    .hive-nav-pill-wrapper .navbar-nav .nav-link.show,
    .hive-nav-pill-wrapper .navbar-nav .nav-item.show .nav-link {
        color: var(--main-color) !important;
        -webkit-text-fill-color: var(--main-color) !important;
        background: #ffffff !important;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link.active {
        color: var(--main-color) !important;
        -webkit-text-fill-color: var(--main-color) !important;
        background: #ffffff !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    }
}

/* Right Action Items */
.hive-nav-signin-link {
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 9999px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hive-nav-signin-link:hover {
    color: var(--main-color) !important;
}

.hive-nav-getstarted-btn {
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    padding: 8px 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap;
    border: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.hive-nav-getstarted-btn:hover {
    background: var(--main-color) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(224, 2, 67, 0.28);
}

.hive-nav-getstarted-btn i {
    transition: transform 0.2s ease;
}

.hive-nav-getstarted-btn:hover i {
    transform: translateX(3px);
}

/* Dropdown Menu Enhancements for Floating Pill */
.hive-pill-bar .dropdown-menu {
    border-radius: 1rem !important;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    margin-top: 0 !important;
}

@media (min-width: 992px) {
    .hive-pill-bar .platform-dropdown,
    .hive-pill-bar .services-dropdown-menu,
    .hive-pill-bar .solutions-dropdown-menu,
    .hive-pill-bar .locations-dropdown-menu,
    .hive-pill-bar .resources-dropdown-menu,
    .hive-pill-bar .company-dropdown-menu {
        position: absolute;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
    }
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991.98px) {
    .hive-header-floating {
        padding-top: 10px;
    }

    .hive-pill-bar {
        border-radius: 1.25rem !important;
        padding: 10px 18px !important;
    }

    .hive-pill-bar .navbar-collapse {
        margin-top: 12px;
        padding: 16px;
        background: #ffffff;
        border-radius: 1rem;
        border: 1px solid #e2e8f0;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    }

    .hive-nav-pill-wrapper {
        width: 100%;
        background: transparent;
        padding: 0;
    }

    .hive-nav-pill-wrapper .navbar-nav {
        width: 100%;
        gap: 4px;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link {
        padding: 10px 14px !important;
        border-radius: 0.5rem;
        display: block;
        color: #475569 !important;
        -webkit-text-fill-color: #475569 !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link:hover {
        background: #f8fafc;
        color: var(--main-color) !important;
        -webkit-text-fill-color: var(--main-color) !important;
    }

    .hive-header-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px !important;
        margin-top: 14px !important;
    }

    .hive-nav-signin-link,
    .hive-nav-getstarted-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
   ULTRA-MODERN MEGA DROPDOWN SYSTEM (Linear/Stripe Inspired)
   Strict Palette: #E00243 (Brand), #0f172a (Dark), #ffffff (White), #475569 (Slate)
   ========================================================================== */

.hive-mega-dropdown {
    background: #ffffff !important;
    border-radius: 1.25rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.6) !important;
    padding: 1.25rem !important;
    margin: 0 !important;
    backdrop-filter: blur(16px);
    z-index: 1050;
}

/* Desktop Centered Positioning and Dimensions */
@media (min-width: 992px) {
    .hive-pill-bar .dropdown {
        position: static;
    }

    .hive-nav-pill-wrapper {
        position: relative;
    }

    .hive-mega-dropdown {
        position: absolute !important;
        top: calc(100% + 14px) !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(8px) !important;
        right: auto !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    }

    /* Invisible bridge to prevent hover loss between nav pill and dropdown */
    .hive-mega-dropdown::before {
        content: "";
        position: absolute;
        top: -24px;
        left: 0;
        right: 0;
        height: 24px;
        background: transparent;
    }

    /* Support both Bootstrap .show class and hover state */
    .hive-mega-dropdown.show,
    .dropdown:hover .hive-mega-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }

    /* Rotate chevron on hover or active on desktop */
    .dropdown:hover > .dropdown-toggle .fa-chevron-down,
    .dropdown-toggle[aria-expanded="true"] .fa-chevron-down {
        transform: rotate(180deg);
        transition: transform 0.2s ease;
    }

    .hive-platform-dropdown {
        width: min(760px, calc(100vw - 40px)) !important;
    }

    .hive-services-dropdown {
        width: min(980px, calc(100vw - 40px)) !important;
    }

    .hive-solutions-dropdown {
        width: min(900px, calc(100vw - 40px)) !important;
    }

    .hive-locations-dropdown {
        width: min(920px, calc(100vw - 40px)) !important;
    }

    .hive-resources-dropdown {
        width: min(760px, calc(100vw - 40px)) !important;
    }

    .hive-company-dropdown {
        width: min(760px, calc(100vw - 40px)) !important;
    }
}

/* Card Components */
.hive-dropdown-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    border-radius: 0.875rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.hive-dropdown-card:hover {
    border-color: rgba(224, 2, 67, 0.35);
    background: #ffffff;
    box-shadow: 0 12px 24px -6px rgba(224, 2, 67, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    transform: translateY(-2px);
}

.hive-service-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.875rem;
    padding: 0.875rem;
    transition: all 0.2s ease;
}

.hive-service-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.06);
}

.hive-tier-chip {
    display: block;
    padding: 0.35rem 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.hive-tier-chip:hover {
    background: rgba(224, 2, 67, 0.06);
}

.hive-resource-card {
    display: flex;
    flex-direction: column;
    padding: 1.125rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.hive-resource-card:hover {
    border-color: rgba(224, 2, 67, 0.35);
    box-shadow: 0 14px 28px -6px rgba(224, 2, 67, 0.09), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    transform: translateY(-2px);
}

.hive-state-pill {
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    outline: none;
}

.hive-state-pill:hover,
.hive-state-pill.active {
    background: #E00243 !important;
    color: #ffffff !important;
    border-color: #E00243 !important;
    box-shadow: 0 4px 12px rgba(224, 2, 67, 0.25);
}

/* Custom Scrollbar for Dropdown Content */
.hive-mega-dropdown ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.hive-mega-dropdown ::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.hive-mega-dropdown ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.hive-mega-dropdown ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile & Tablet Responsiveness (< 992px) */
@media (max-width: 991.98px) {
    .hive-dropdown-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hive-state-pill {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
    }

    .hive-pill-bar .dropdown-toggle .fa-chevron-down {
        transition: transform 0.25s ease;
    }

    .hive-pill-bar .dropdown-toggle[aria-expanded="true"] .fa-chevron-down,
    .hive-pill-bar .dropdown-toggle.active .fa-chevron-down {
        transform: rotate(180deg);
        color: #E00243;
    }
}


/* ==========================================================================
   FONT AWESOME ICON OVERRIDE & RESTORATION
   Ensures *::before Poppins rule does not override Font Awesome icon glyphs
   ========================================================================== */
.fa, .fas, .far, .fal, .fad, .fa-solid, .fa-regular,
.fa::before, .fas::before, .far::before, .fal::before, .fad::before,
.fa-solid::before, .fa-regular::before,
[class^="fa-"]::before, [class*=" fa-"]::before {
    font-family: "Font Awesome 6 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.fab, .fa-brands,
.fab::before, .fa-brands::before {
    font-family: "Font Awesome 6 Brands", "FontAwesome" !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* ==========================================================================
   MOBILE & TABLET NAVBAR AND MEGA-DROPDOWN ENHANCEMENTS (< 992px)
   ========================================================================== */
@media (max-width: 991.98px) {
    .hive-header-floating {
        padding-top: 8px !important;
    }

    .hive-pill-bar {
        border-radius: 1.25rem !important;
        padding: 10px 16px !important;
        position: relative !important;
    }

    /* Collapsible container */
    .hive-pill-bar .navbar-collapse {
        margin-top: 12px !important;
        padding: 16px !important;
        background: #ffffff !important;
        border-radius: 1rem !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.15) !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }

    .hive-pill-bar .navbar-collapse:not(.show) {
        display: none !important;
    }

    .hive-pill-bar .navbar-collapse.show {
        display: block !important;
    }

    .hive-nav-pill-wrapper {
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: block !important;
        border-radius: 0 !important;
    }

    .hive-nav-pill-wrapper .navbar-nav {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-item {
        width: 100% !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 0.9375rem !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        -webkit-text-fill-color: #0f172a !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 0.75rem !important;
        opacity: 1 !important;
        visibility: visible !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link:hover,
    .hive-nav-pill-wrapper .navbar-nav .nav-link.active {
        color: #E00243 !important;
        -webkit-text-fill-color: #E00243 !important;
        background: #fff1f4 !important;
        border-color: rgba(224, 2, 67, 0.3) !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link::after,
    .hive-nav-pill-wrapper .navbar-nav .nav-link::before {
        display: none !important;
        content: none !important;
    }

    .hive-mega-dropdown,
    .hive-nav-pill-wrapper .dropdown-menu.hive-mega-dropdown {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 0.875rem !important;
        padding: 14px !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
        max-height: 60vh !important;
        overflow-y: auto !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .dropdown.show > .hive-mega-dropdown,
    .dropdown.show > .dropdown-menu.hive-mega-dropdown,
    .hive-mega-dropdown.show,
    .hive-nav-pill-wrapper .dropdown-menu.hive-mega-dropdown.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        animation: hiveMobileFadeIn 0.2s ease-out forwards;
    }

    @keyframes hiveMobileFadeIn {
        from {
            opacity: 0;
            transform: translateY(-4px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hive-header-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        margin-top: 16px !important;
        padding-top: 16px !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    .hive-nav-signin-link,
    .hive-nav-getstarted-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px !important;
    }
}


/* ==========================================================================
   HERO VIDEO BACKGROUND IN HEADER & GET STARTED FIX
   ========================================================================== */
.hive-header-floating {
    position: relative !important;
    z-index: 1040 !important;
    padding-top: 14px !important;
    padding-bottom: 8px !important;
    background: transparent !important;
}

.hive-header-hero-video-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    min-height: 680px !important;
    max-height: 980px !important;
    overflow: hidden !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.hive-header-hero-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 25% !important;
}

.hive-header-hero-video-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.40) 0%, 
        rgba(15, 23, 42, 0.60) 35%, 
        rgba(15, 23, 42, 0.82) 70%, 
        #0f172a 100%) !important;
    backdrop-filter: blur(1px) !important;
}

.hive-hero-dark {
    background: transparent !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Get Started Button & Pill Layout Fix */
.hive-pill-bar {
    width: 100% !important;
    max-width: 1380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 6px 18px 6px 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    box-sizing: border-box !important;
}

@media (min-width: 992px) {
    .hive-pill-bar .navbar-collapse {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        flex: 1 1 auto !important;
    }

    .hive-nav-pill-wrapper {
        margin-left: auto !important;
        margin-right: auto !important;
        flex-shrink: 1 !important;
    }

    .hive-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }

    .hive-nav-signin-link {
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        padding: 6px 12px !important;
        border-radius: 9999px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }

    .hive-nav-getstarted-btn {
        background: #0f172a !important;
        color: #ffffff !important;
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        border-radius: 9999px !important;
        padding: 7px 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2) !important;
    }

    .hive-nav-getstarted-btn span {
        white-space: nowrap !important;
    }
}

/* Specific Responsive Tuning for 992px - 1280px */
@media (min-width: 992px) and (max-width: 1280px) {
    .hive-pill-bar {
        padding: 5px 12px 5px 16px !important;
    }

    .hive-pill-bar .navbar-brand {
        font-size: 1.125rem !important;
        margin-right: 0.5rem !important;
    }

    .hive-nav-pill-wrapper {
        padding: 3px 4px !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link {
        padding: 5px 8px !important;
        font-size: 0.775rem !important;
        gap: 2px !important;
    }

    .hive-header-actions {
        gap: 6px !important;
    }

    .hive-nav-signin-link {
        padding: 5px 8px !important;
        font-size: 0.775rem !important;
    }

    .hive-nav-getstarted-btn {
        padding: 6px 12px !important;
        font-size: 0.775rem !important;
        gap: 4px !important;
    }
}


/* ==========================================================================
   PERFECT HEADER ALIGNMENT (DEAD-CENTER MENUS & VERTICAL CENTERLINE)
   ========================================================================== */
@media (min-width: 992px) {
    .hive-pill-bar {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 64px !important;
        padding: 0 20px 0 24px !important;
        box-sizing: border-box !important;
    }

    .hive-pill-bar .navbar-brand {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 42px !important;
        z-index: 2 !important;
    }

    .hive-pill-bar .navbar-collapse {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    /* Dead-Center Horizontal and Vertical Alignment for Navigation Menu */
    .hive-nav-pill-wrapper {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        padding: 3px 5px !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        background: #f8fafc !important;
        border: 1px solid #f1f5f9 !important;
        border-radius: 9999px !important;
        z-index: 10 !important;
        box-sizing: border-box !important;
    }

    .hive-nav-pill-wrapper .navbar-nav {
        display: inline-flex !important;
        align-items: center !important;
        height: 100% !important;
        gap: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-item {
        display: inline-flex !important;
        align-items: center !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link {
        height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        padding: 0 12px !important;
        font-size: 0.8125rem !important;
        font-weight: 500 !important;
        border-radius: 9999px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    /* Actions aligned cleanly to the right */
    .hive-header-actions {
        margin-left: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        height: 42px !important;
        z-index: 10 !important;
        flex-shrink: 0 !important;
    }

    .hive-nav-signin-link {
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 14px !important;
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        line-height: 1 !important;
        border-radius: 9999px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    .hive-nav-signin-link:hover {
        color: var(--main-color) !important;
        background: #fff1f4 !important;
    }

    .hive-nav-getstarted-btn {
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 18px !important;
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        background: #0f172a !important;
        line-height: 1 !important;
        border-radius: 9999px !important;
        text-decoration: none !important;
        gap: 6px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2) !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    .hive-nav-getstarted-btn:hover {
        background: var(--main-color) !important;
        color: #ffffff !important;
        box-shadow: 0 6px 16px rgba(224, 2, 67, 0.3) !important;
    }
}

/* Responsive tuning for 992px to 1240px viewports */
@media (min-width: 992px) and (max-width: 1240px) {
    .hive-pill-bar {
        padding: 0 14px 0 18px !important;
    }

    .hive-pill-bar .navbar-brand {
        font-size: 1.15rem !important;
    }

    .hive-nav-pill-wrapper {
        padding: 2px 4px !important;
    }

    .hive-nav-pill-wrapper .navbar-nav .nav-link {
        height: 32px !important;
        padding: 0 8px !important;
        font-size: 0.775rem !important;
    }

    .hive-header-actions {
        gap: 6px !important;
    }

    .hive-nav-signin-link {
        height: 34px !important;
        padding: 0 10px !important;
        font-size: 0.775rem !important;
    }

    .hive-nav-getstarted-btn {
        height: 34px !important;
        padding: 0 14px !important;
        font-size: 0.775rem !important;
        gap: 4px !important;
    }
}


/* ==========================================================================
   STRICT DESKTOP NAVBAR ALIGNMENT FIX (STATIC COLLAPSE & DEAD-CENTER MENU)
   ========================================================================== */
@media (min-width: 992px) {
    .hive-pill-bar {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        height: 64px !important;
        padding: 0 20px 0 24px !important;
        box-sizing: border-box !important;
    }

    .hive-pill-bar .navbar-brand {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 40px !important;
        line-height: 1 !important;
        z-index: 5 !important;
    }

    /* Set navbar-collapse to static so pill wrapper centers relative to hive-pill-bar */
    .hive-pill-bar .navbar-collapse {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    /* Dead-center in the whole pill-bar */
    .hive-pill-bar .hive-nav-pill-wrapper {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        padding: 3px 6px !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        background: #f8fafc !important;
        border: 1px solid #f1f5f9 !important;
        border-radius: 9999px !important;
        z-index: 20 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .hive-pill-bar .hive-nav-pill-wrapper .navbar-nav {
        display: inline-flex !important;
        align-items: center !important;
        height: 100% !important;
        gap: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hive-pill-bar .hive-nav-pill-wrapper .navbar-nav .nav-item {
        display: inline-flex !important;
        align-items: center !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hive-pill-bar .hive-nav-pill-wrapper .navbar-nav .nav-link {
        height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        padding: 0 12px !important;
        font-size: 0.8125rem !important;
        font-weight: 500 !important;
        border-radius: 9999px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    /* Right-side action buttons on the EXACT same centerline */
    .hive-pill-bar .hive-header-actions {
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        height: 40px !important;
        z-index: 5 !important;
        flex-shrink: 0 !important;
    }

    .hive-pill-bar .hive-nav-signin-link {
        margin: 0 !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 14px !important;
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        line-height: 1 !important;
        border-radius: 9999px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    .hive-pill-bar .hive-nav-getstarted-btn {
        margin: 0 !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 18px !important;
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        background: #0f172a !important;
        line-height: 1 !important;
        border-radius: 9999px !important;
        text-decoration: none !important;
        gap: 6px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2) !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }
}
