/* *****************************************************
    ** Nord Aurora Custom Stylesheet (2026 Light Mode) **
    Accent Color: #1e9fb4
***************************************************** */

:root {
    --white: #ffffff;

    /* Slate and Soft Gray Palette */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --neutral-950: #020617;

    /* Accent & Primary Colors (#1e9fb4) */
    --primary: #1e9fb4;
    --primary-lifted: #187e90;
    --primary-accented: #125e6c;

    --primary-50: #f0fbfc;
    --primary-100: #dcf6fa;
    --primary-200: #b0ebf4;
    --primary-300: #72d9e8;
    --primary-400: #2cbcd2;
    --primary-500: #1e9fb4;
    --primary-600: #187e90;

    /* Alerts and States */
    --success: #10b981;
    --info: #3b82f6;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Text & UI elements */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-500);
    --text-lifted: var(--neutral-600);
    --text-accented: var(--neutral-800);
    --text: var(--neutral-900);

    --border-muted: var(--neutral-100);
    --border: var(--neutral-200);
    --border-lifted: var(--neutral-300);

    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--white);
    --bg-accented: var(--neutral-100);
    --bg-inverted: var(--neutral-900);

    /* Layout Spacing & Rounding */
    --rounding-sm: 6px;
    --rounding-md: 12px;
    --rounding-lg: 20px;

    /* Premium Soft Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 8px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 8px 16px -8px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 25px rgba(30, 159, 180, 0.12);
}

/* Global Reset & Body Styling - Premium Light Mode */
html, body {
    background-color: #f8fafc !important;
    color: var(--neutral-800) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-image: none !important;
    overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 750;
    color: var(--neutral-900) !important;
    letter-spacing: -0.02em;
}

/* Modernized Header & Navigation - Sleek Compact Dark Glass */
header.header {
    background-color: #0f172a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2px 0 !important;
}

/* Compact Navbar height */
.navbar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.topbar {
    background-color: var(--neutral-950) !important;
    color: var(--neutral-300) !important;
    font-size: 0.8rem;
    padding: 8px 0;
    font-weight: 500;
    border-bottom: none !important;
}

.topbar a,
.topbar .btn {
    color: var(--neutral-400) !important;
    font-weight: 600;
}

.topbar a:hover {
    color: var(--white) !important;
    text-decoration: none;
}

.navbar-brand {
    font-weight: 850;
    font-size: 1.35rem;
    color: var(--white) !important;
    letter-spacing: -0.04em;
}

.navbar-brand span {
    color: var(--primary);
}

.main-navbar-wrapper {
    background-color: transparent !important;
    padding: 0 !important;
}

#nord-nav .nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

#nord-nav .nav-link {
    color: var(--neutral-300) !important;
    font-weight: 600;
    font-size: 0.825rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#nord-nav .nav-link:hover,
#nord-nav .nav-item.active .nav-link {
    color: var(--primary) !important;
}

/* Force Toolbar Nav Links & Buttons to respect Dark Header */
.header button.nav-link,
.header a.nav-link {
    color: var(--neutral-300) !important;
    transition: color 0.2s ease;
}

.header button.nav-link:hover,
.header a.nav-link:hover {
    color: var(--white) !important;
}

/* Custom Styled Header Cart Button */
.header a.cart-btn {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    border-radius: var(--rounding-md) !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

.header a.cart-btn:hover {
    background: rgba(30, 159, 180, 0.08) !important;
    color: var(--primary-lifted) !important;
    border-color: var(--primary-lifted) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 159, 180, 0.15) !important;
}

/* Elegant Buttons */
/* Elegant Buttons & Profile Pill CTAs */
.btn-primary {
    background: var(--primary) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: var(--rounding-md);
    padding: 0.7rem 1.5rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(30, 159, 180, 0.25) !important;
}

.btn-primary:hover {
    background: var(--primary-lifted) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(30, 159, 180, 0.35) !important;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.15) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border: 1px solid rgba(163, 177, 198, 0.25) !important;
    background: #f8fafc !important;
    font-weight: 600;
    border-radius: var(--rounding-md);
    padding: 0.7rem 1.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(163, 177, 198, 0.15) !important;
}

.btn-outline-primary:hover {
    color: var(--primary-lifted) !important;
    background: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(163, 177, 198, 0.25) !important;
}

.btn-outline-primary:active {
    transform: translateY(0);
    box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.2) !important;
}

.header a.client-pill-btn.btn-primary,
.header a.client-pill-btn.btn-outline-primary {
    border-radius: var(--rounding-md) !important;
    padding: 7px 22px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    background: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(30, 159, 180, 0.25) !important;
}

.header a.client-pill-btn.btn-primary:hover,
.header a.client-pill-btn.btn-outline-primary:hover {
    background: var(--primary-lifted) !important;
    border-color: var(--primary-lifted) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 159, 180, 0.35) !important;
}

.header a.client-pill-btn.btn-primary:active,
.header a.client-pill-btn.btn-outline-primary:active {
    transform: translateY(0);
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.2) !important;
}

/* System logo constraints */
.header .logo-img {
    max-height: 108px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Premium Card Designs - Modern Bordered Neumorphic Style */
.card {
    background: #f8fafc !important;
    border: 1px solid rgba(163, 177, 198, 0.22) !important;
    border-radius: var(--rounding-md) !important;
    box-shadow: 6px 6px 16px rgba(163, 177, 198, 0.35), -6px -6px 16px #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
    color: var(--neutral-800) !important;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 12px 12px 24px rgba(163, 177, 198, 0.5), -12px -12px 24px #ffffff !important;
    border-color: rgba(30, 159, 180, 0.3) !important;
}

/* Hero Elements - Clean Solid Backgrounds */
.hero-section {
    padding: 175px 0;
    background: #0f172a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    color: var(--white) !important;
}

.hero-section .card {
    background: #16203a !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.45), -5px -5px 15px rgba(255, 255, 255, 0.06) !important;
    color: var(--neutral-300) !important;
    border-radius: var(--rounding-md) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-section .card:hover {
    background: #16203a !important;
    transform: translateY(-4px);
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.6), -10px -10px 25px rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(30, 159, 180, 0.4) !important;
}

.hero-section .card h1,
.hero-section .card h2,
.hero-section .card h3,
.hero-section .card h4,
.hero-section .card h5,
.hero-section .card h6 {
    color: var(--white) !important;
}

/* Button overrides in Dark Hero to prevent white neumorphic glow on dark background */
.hero-section .btn-primary {
    box-shadow: 0 4px 14px rgba(30, 159, 180, 0.3) !important;
}

.hero-section .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(30, 159, 180, 0.45) !important;
}

.hero-section .btn-outline-primary {
    background: transparent !important;
    border: 2px solid var(--primary) !important;
    color: var(--white) !important;
    box-shadow: none !important;
}

.hero-section .btn-outline-primary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: 0 6px 14px rgba(30, 159, 180, 0.3) !important;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.05em;
    color: var(--white) !important;
}

.hero-title span {
    color: var(--primary) !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-400) !important;
    font-weight: 450;
    line-height: 1.6;
}


.domain-search-input {
    border: none !important;
    background: #f8fafc !important;
    border-radius: var(--rounding-md) !important;
    padding: 16px 22px;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.4), inset -3px -3px 6px #ffffff !important;
    transition: all 0.2s ease;
}

.domain-search-input:focus {
    outline: none !important;
    box-shadow: inset 4px 4px 8px rgba(163, 177, 198, 0.5), inset -4px -4px 8px #ffffff, 0 0 10px rgba(30, 159, 180, 0.15) !important;
}

/* Plan Comparison Grid - Premium Aurora Glass Design */
.plan-card {
    background: #f8fafc !important;
    border: 1px solid rgba(163, 177, 198, 0.25) !important;
    border-top: 4px solid var(--primary) !important;
    border-radius: var(--rounding-md) !important;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 8px 8px 20px rgba(163, 177, 198, 0.4), -8px -8px 20px #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 14px 14px 30px rgba(163, 177, 198, 0.55), -14px -14px 30px #ffffff !important;
    border-color: var(--primary) !important;
}

.plan-card.popular {
    background: #f8fafc !important;
    border: 1px solid rgba(163, 177, 198, 0.25) !important;
    border-top: 5px solid var(--primary-lifted) !important;
    box-shadow: 8px 8px 20px rgba(30, 159, 180, 0.12), 4px 4px 15px rgba(163, 177, 198, 0.35), -8px -8px 20px #ffffff !important;
}

.plan-card.popular:hover {
    box-shadow: 14px 14px 30px rgba(30, 159, 180, 0.22), 8px 8px 25px rgba(163, 177, 198, 0.5), -14px -14px 30px #ffffff !important;
    border-color: var(--primary-lifted) !important;
}

.plan-card.popular::before {
    content: "POPULAR";
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.08em;
}

.plan-card-header {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: 5px;
}

.plan-price {
    font-weight: 850;
    color: var(--neutral-900);
    letter-spacing: -0.04em;
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.plan-price .currency-symbol {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary) !important;
    align-self: flex-start;
    position: relative;
    top: 3px;
    margin-right: 3px;
}

.plan-price .price-val {
    font-size: 3.1rem;
    line-height: 1;
    color: var(--neutral-900) !important;
}

.plan-price .currency-code {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary) !important;
    margin-left: 4px;
    text-transform: uppercase;
}

.plan-price .billing-cycle {
    font-size: 1.35rem;
    color: var(--primary) !important;
    font-weight: 750;
    margin-left: 2px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 9px 0;
    color: var(--neutral-700);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

/* Footer - Rich Dark Contrast */
footer.footer-modern {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 70px 0 35px;
    border-top: 1px solid #1e293b;
}

footer.footer-modern h5 {
    color: #ffffff !important;
    font-weight: 750;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}
footer.footer-modern h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

footer.footer-modern a {
    color: #94a3b8;
    transition: all 0.2s ease;
}

footer.footer-modern a:hover {
    color: var(--primary);
    text-decoration: none;
}

footer.footer-modern hr {
    border-color: #1e293b;
}

/* Quick fixes for WHMCS core pages to respect light mode accent */
.list-group-item.active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.badge-info {
    background-color: var(--primary) !important;
}

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

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

.nav-tabs .nav-link.active {
    border-color: var(--border) var(--border) var(--bg) !important;
    border-bottom: 3px solid var(--primary) !important;
}

.sidebar .panel-default>.panel-heading {
    background-color: var(--neutral-100) !important;
    color: var(--neutral-900) !important;
}

/* Text highlights and badges */
.text-accent {
    color: var(--primary) !important;
}

/* Mega Menu Style Definitions */
.navbar-nav .dropdown-menu.mega-menu {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    position: absolute !important;
    top: 100% !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.3) !important;
    margin-top: 0 !important;
    padding: 30px 0 !important;
    z-index: 99999 !important;
}


/* Standard Dropdowns (Support Portal, etc.) */
.navbar-nav .dropdown-menu:not(.mega-menu) {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--rounding-md) !important;
    margin-top: 0 !important;
    z-index: 99999 !important;
    position: absolute !important;
}

@media (max-width: 1199.98px) {
    .navbar-nav .dropdown-menu.mega-menu {
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }
}

/* Smooth Hover Dropdown Transition with Close Delay to prevent instant disappearances */
@media (min-width: 1200px) {
    .navbar-nav .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
            visibility 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
            transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0.15s !important;
        margin-top: 0 !important;
        /* Eliminate gaps between link and dropdown */
    }

    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1) 0s,
            visibility 0.15s cubic-bezier(0.4, 0, 0.2, 1) 0s,
            transform 0.15s cubic-bezier(0.4, 0, 0.2, 1) 0s !important;
    }
}

.dropdown-menu,
.mega-menu {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

.mega-menu-item {
    text-decoration: none !important;
    display: flex;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    padding: 12px 15px !important;
    margin: 4px 0;
}

.mega-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-left-color: var(--primary);
    transform: translateX(2px);
}

.mega-menu-item h6 {
    color: var(--white) !important;
    font-weight: 700 !important;
    font-size: 0.95rem;
}

.mega-menu-item:hover h6 {
    color: var(--primary) !important;
}

.mega-menu-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--neutral-400) !important;
}

.mega-menu-item .mega-icon {
    transition: all 0.2s ease;
}

.mega-menu-item:hover .mega-icon {
    color: var(--primary-lifted);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-item {
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    padding: 8px 15px !important;
    color: var(--neutral-300) !important;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: var(--primary) !important;
    border-left-color: var(--primary);
}

.dropdown-header {
    color: var(--white) !important;
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Force fullpage-overlay to hide when w-hidden is applied */
#fullpage-overlay.w-hidden {
    display: none !important;
}

/* Pricing Comparison Table Styling (Matched to GoodHosting grid aesthetics) */
.comparison-table {
    border-collapse: collapse !important;
    width: 100%;
    background: #ffffff !important;
}

.comparison-table thead tr.bg-light {
    background-color: rgba(30, 159, 180, 0.06) !important;
}

.comparison-table th {
    padding: 2.2rem 1.2rem !important;
    text-align: center;
    vertical-align: top !important;
    border-bottom: 1px solid rgba(163, 177, 198, 0.2) !important;
    border-right: 1px solid rgba(163, 177, 198, 0.15) !important;
}

.comparison-table th:first-child {
    text-align: left;
    vertical-align: middle !important;
    padding: 1.5rem 2rem !important;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--neutral-900) !important;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
    border-right: none !important;
}

.comparison-table td {
    padding: 1.1rem 1.5rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid rgba(163, 177, 198, 0.12) !important;
    border-right: 1px solid rgba(163, 177, 198, 0.1) !important;
    text-align: center;
    color: var(--neutral-700) !important;
    font-weight: 600;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--neutral-900) !important;
    padding-left: 2rem !important;
}

.comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: rgba(30, 159, 180, 0.03) !important;
}

/* Font styles matching GoodHosting */
.comparison-table th div.font-weight-bold {
    font-size: 1.4rem !important;
    font-weight: 850 !important;
    color: var(--primary) !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem !important;
}

.comparison-table th .price-val {
    font-size: 2.2rem !important;
    font-weight: 850 !important;
    color: var(--neutral-900) !important;
}

.comparison-table th .currency-symbol {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--neutral-600) !important;
    margin-right: 0.1rem;
}

.comparison-table th .billing-cycle {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--neutral-500) !important;
}

.comparison-table th .plan-price {
    display: inline-flex !important;
    align-items: baseline !important;
}

/* Premium check icons matched to GoodHosting accent color */
.comparison-table .fa-check-circle {
    color: var(--primary) !important;
    font-size: 1.25rem !important;
}

.comparison-table .fa-times-circle {
    color: var(--neutral-300) !important;
    font-size: 1.25rem !important;
}

.accordion .card {
    background: #f8fafc !important;
    border: none !important;
    box-shadow: 5px 5px 12px rgba(163, 177, 198, 0.3), -5px -5px 12px #ffffff !important;
    border-radius: var(--rounding-md) !important;
    margin-bottom: 12px !important;
    transition: all 0.2s ease;
}

.accordion .card:hover {
    box-shadow: 8px 8px 16px rgba(163, 177, 198, 0.4), -8px -8px 16px #ffffff !important;
}

.accordion .card-header {
    background-color: transparent !important;
}

.accordion .btn-link {
    color: var(--neutral-900) !important;
    outline: none !important;
    box-shadow: none !important;
}

.accordion .card-body {
    color: var(--neutral-600) !important;
}

.accordion .btn-link .transition-icon {
    transition: transform 0.2s ease;
}

.accordion .btn-link[aria-expanded="true"] .transition-icon {
    transform: rotate(180deg);
}

/* Card Hover Lift Micro-Interactions */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

/* 3x Centered Feature Card Icon Wrapper */
.icon-wrapper {
    width: 64px !important;
    height: 64px !important;
    font-size: 1.8rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--rounding-md) !important;
    background: rgba(30, 159, 180, 0.08) !important;
    border: 1px solid rgba(30, 159, 180, 0.25) !important;
    color: var(--primary) !important;
    margin-bottom: 1.5rem !important;
}

/* Left-aligned card description paragraphs for clean readability */
.card p.text-muted,
.card p.text-sm {
    text-align: left !important;
    text-align-last: initial !important;
}

/* Neumorphic Speech Bubble Icon Container for Why Choose Us */
.why-icon-bubble {
    width: 80px;
    height: 80px;
    background: #ffffff !important;
    border-radius: 50% 50% 0 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 2rem !important;
    color: var(--primary) !important;
    border: 1px solid rgba(163, 177, 198, 0.25) !important;
    box-shadow: 4px 4px 10px rgba(163, 177, 198, 0.35), -4px -4px 10px #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
}

.why-icon-bubble:hover {
    transform: rotate(-10deg) scale(1.08);
    box-shadow: 6px 6px 14px rgba(163, 177, 198, 0.45), -6px -6px 14px #ffffff !important;
    border-color: var(--primary) !important;
}

/* Left-aligned Why Choose Us descriptions */
.why-item p {
    text-align: left !important;
    text-align-last: initial !important;
}

/* Responsive Navbar Spacing & Mobile Hamburger styling overrides */
@media (min-width: 1200px) and (max-width: 1350px) {
    .navbar-nav .nav-link {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        font-size: 0.8rem !important;
    }

    #nord-nav {
        margin-right: 1rem !important;
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: #0f172a !important;
        padding: 1.5rem !important;
        border-radius: var(--rounding-md);
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }

    .navbar-nav .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: var(--rounding-md);
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    /* Disable translate animations on mobile menu hover */
    .navbar-nav .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 1.5rem !important;
        display: none !important;
    }

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

/* Neumorphic vertical divider between Why Choose Us and FAQ */
@media (min-width: 992px) {
    .faq-column-divider {
        border-left: 1px solid rgba(163, 177, 198, 0.22) !important;
        box-shadow: -1px 0 0 #ffffff !important;
        padding-left: 3.5rem !important;
    }
}

/* Custom Modern Dropdown Caret Icons */
.navbar-nav .dropdown-toggle::after {
    display: inline-block !important;
    content: "" !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 2px solid var(--neutral-400) !important;
    border-bottom: 2px solid var(--neutral-400) !important;
    border-top: none !important;
    border-left: none !important;
    transform: rotate(45deg) !important;
    margin-left: 0.5rem !important;
    vertical-align: middle !important;
    margin-bottom: 3px !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease !important;
}
.navbar-nav .nav-item.dropdown:hover .dropdown-toggle::after,
.navbar-nav .nav-item.dropdown.show .dropdown-toggle::after {
    transform: rotate(-135deg) !important;
    border-color: var(--primary) !important;
}

/* Homepage Hero Overhaul CSS */
.hero-price-bubble {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(30, 159, 180, 0.95) !important;
    border: 3px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    backdrop-filter: blur(10px);
    pointer-events: none; /* Let clicks pass through if overlapping elements */
    animation: heroPulse 3s infinite ease-in-out;
}

@keyframes heroPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
    }
}

.bubble-inner {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.bubble-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 750;
    opacity: 0.9;
}

.bubble-price {
    font-size: 1.55rem;
    font-weight: 900;
    margin: 2px 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.bubble-cycle {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Adjust layout on smaller screens */
@media (max-width: 991.98px) {
    .hero-price-bubble {
        display: none !important;
    }
}

/* Tabs Pill active background */
.hero-tabs .nav-link.active {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(30, 159, 180, 0.3) !important;
}
.hero-tabs .nav-link {
    color: var(--neutral-300) !important;
    transition: all 0.2s ease !important;
}
.hero-tabs .nav-link:hover:not(.active) {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.hero-interactive-card .tab-pane {
    animation: fadeInTab 0.35s ease;
}

/* Footer - Rich Dark Contrast */
footer.footer-modern {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 70px 0 35px;
    border-top: 4px solid var(--primary) !important;
}

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

/* Mobile Alignment & Styling Enhancements */
@media (max-width: 1199.98px) {
    /* Center logo on mobile viewport */
    .navbar-brand {
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    /* Ensure brand layout is not pushed by absolute flex siblings */
    .navbar > .container {
        display: flex !important;
        align-items: center !important;
        position: relative !important;
        justify-content: space-between !important;
    }
    
    /* Align cart to the right, just before the hamburger toggle */
    .header-mobile-cart {
        margin-left: auto !important;
        order: 2 !important;
        display: flex !important;
    }
    
    /* Right align mobile hamburger icon toggle */
    .navbar-toggler {
        margin-left: 10px !important;
        order: 3 !important;
    }
    
    /* Pull logo to the left order so margin-left: auto centers it between gaps */
    .navbar-brand {
        order: 1 !important;
    }

    /* Center megamenu and mobile drawer links */
    .navbar-collapse {
        text-align: center !important;
        order: 4 !important;
        width: 100% !important;
    }
    .navbar-nav {
        align-items: center !important;
        width: 100% !important;
    }
    .navbar-nav .dropdown-menu {
        text-align: center !important;
        float: none !important;
    }
    .dropdown-item, .mega-menu-item {
        text-align: center !important;
        border-left: none !important;
    }
}

@media (max-width: 767.98px) {
    /* Center footer contents on mobile */
    footer.footer-modern {
        text-align: center !important;
    }
    footer.footer-modern .row > div {
        text-align: center !important;
        margin-bottom: 2.2rem !important;
    }
    footer.footer-modern .row > div:last-child {
        margin-bottom: 0 !important;
    }
    footer.footer-modern h5::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    footer.footer-modern .payment-icons {
        justify-content: center !important;
    }
    footer.footer-modern .social-icons,
    footer.footer-modern .mt-4 {
        justify-content: center !important;
        display: flex !important;
    }
}

/* Prevent FAQ text wrapping under accordion icons */
.accordion button.btn-link span {
    display: inline-flex !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.accordion button.btn-link span i {
    margin-top: 4px !important;
    flex-shrink: 0 !important;
}

/* Center Policy Page Big Headers */
.legal-content h2, .legal-content h3, .bigheader, .bigheader h2, .bigheader h3, section.container > h2 {
    text-align: center !important;
    font-weight: 700 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
}