/* ================================================================
   ELSA ENERGY — Modern SaaS Frontend CSS
   Clean energy palette: deep navy + electric teal + white
   Font: Inter (system), accent: Space Grotesk for headings
================================================================ */

/* ────────────────────────────────────────────────────────────────
   DESIGN TOKENS
──────────────────────────────────────────────────────────────── */
:root {
    /* Brand */
    --primary: #0ea5e9;
    /* electric sky blue */
    --primary-dark: #0284c7;
    --primary-deeper: #0369a1;
    --accent: #06d6a0;
    /* teal-green energy */
    --accent-dark: #059669;

    /* Neutrals */
    --navy: #0c1830;
    /* deep navy bg for sections */
    --navy-mid: #132038;
    --dark: #0f172a;
    --slate: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.08);
    --surface: #f8fafc;
    --white: #ffffff;

    /* Gradients */
    --grad-hero: linear-gradient(135deg, #0c1830 0%, #0f2c4e 50%, #0c1830 100%);
    --grad-primary: linear-gradient(135deg, #0ea5e9 0%, #06d6a0 100%);
    --grad-card: linear-gradient(135deg, rgba(14, 165, 233, 0.06) 0%, rgba(6, 214, 160, 0.06) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.18);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.28s;
}

/* ────────────────────────────────────────────────────────────────
   RESET & BASE
──────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

img {
    max-width: 100%;
}

/* ────────────────────────────────────────────────────────────────
   MARQUEE — top announcement bar
──────────────────────────────────────────────────────────────── */
.marquee {
    background: var(--grad-primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1031;
    transition: transform 0.3s ease;
}

.marquee.hidden {
    transform: translateY(-100%);
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: inline-block;
    padding: 0 2.5rem;
}

.marquee-item::before {
    content: '⚡';
    margin-right: 0.5rem;
    opacity: 0.8;
}

.marquee:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ────────────────────────────────────────────────────────────────
   NAVBAR
──────────────────────────────────────────────────────────────── */
.navbar-custom {
    background: rgba(12, 24, 48, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
    padding: 0.9rem 1rem;
    transition: all 0.35s var(--ease);
}

.navbar-custom.scrolled {
    background: rgba(12, 24, 48, 0.97) !important;
    padding: 0.65rem 1rem;
}

/* Nav links */
.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 0.45rem 0.75rem !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
    transition: transform var(--dur) var(--ease);
    transform-origin: center;
}

.navbar-custom .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.07);
}

.navbar-custom .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-custom a:hover {
    transform: none;
}

/* ── Mega menu ── */
.dropdown-menu.mega-menu {
    left: 0 !important;
    right: 0 !important;
    background: rgba(12, 28, 56, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-dark) !important;
    border-top: 2px solid var(--primary) !important;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32) !important;
    overflow: hidden;
}

.mega-dropdown>.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.mega-dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

/* Product cards in mega menu */
.product-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
    min-width: 250px;
}

.product-card:hover {
    transform: translateY(-4px);
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.3);
}

.product-image {
    height: 160px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--grad-primary);
    color: white;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.product-info {
    padding: 12px 14px 16px;
}

.btn-learn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.2);
    width: 100%;
    justify-content: center;
    transition: background var(--dur) ease, border-color var(--dur) ease;
}

.btn-learn:hover {
    background: rgba(14, 165, 233, 0.22);
    border-color: rgba(14, 165, 233, 0.4);
    color: var(--white) !important;
    transform: none;
}

/* Dropdown service links */
.dropdown-item-adv {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid transparent;
    transition: all var(--dur) ease;
}

.dropdown-item-adv:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
    color: var(--white);
    transform: translateX(4px);
}

.dropdown-item-adv::after {
    display: none;
}

.dropdown-item-adv i {
    color: var(--primary);
}

/* Scroll containers in mega menu */
.products-scroll-container,
.services-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.05);
}

.products-scroll-container::-webkit-scrollbar,
.services-scroll-container::-webkit-scrollbar {
    height: 4px;
}

.products-scroll-container::-webkit-scrollbar-track,
.services-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}

.products-scroll-container::-webkit-scrollbar-thumb,
.services-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.products-scroll-container .row,
.services-scroll-container .row {
    display: inline-flex;
    flex-wrap: nowrap;
    width: auto;
    min-width: 100%;
}

/* Cart icon */
.cart-icon-wrapper {
    position: relative;
}

.cart-icon-wrapper .bi-cart3 {
    color: var(--primary) !important;
    font-size: 1.5rem !important;
}

.cart-icon-wrapper:hover {
    transform: none !important;
}

.cart-badge {
    background: var(--accent) !important;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart dropdown */
#cart-dropdown .dropdown-menu {
    background: rgba(12, 28, 56, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: rgba(255, 255, 255, 0.85);
}

.cart-header {
    border-bottom: 1px solid var(--border-dark);
}

.cart-header h6 {
    color: var(--white);
    font-weight: 600;
}

.cart-footer {
    border-top: 1px solid var(--border-dark) !important;
}

.cart-footer strong {
    color: var(--white);
}

#cart-dropdown .btn-primary {
    background: var(--grad-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
    .navbar-custom {
        padding: 1rem;
    }

    .navbar-custom .navbar-collapse {
        background: rgba(9, 20, 42, 0.98);
        margin: 0.5rem -1rem -0.5rem;
        padding: 1rem;
        border-top: 1px solid var(--border-dark);
    }

    .mega-dropdown>.dropdown-menu {
        display: none;
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .mega-dropdown.show>.dropdown-menu {
        display: block;
    }

    .dropdown-menu.mega-menu {
        border-radius: var(--radius-md) !important;
    }

    .products-scroll-container .col-12 {
        width: 260px;
        margin-right: 12px;
    }

    #cart-dropdown .dropdown-menu {
        right: -73px !important;
    }
}

@media (min-width: 992px) {
    .services-scroll-container {
        overflow-x: hidden;
        white-space: normal;
    }

    .services-scroll-container .row {
        flex-wrap: wrap;
    }

    .services-scroll-container .col-12 {
        width: 100%;
    }

    .services-scroll-container .col-sm-6 {
        width: 50%;
    }

    .products-scroll-container .col-12 {
        width: 270px;
        margin-right: 12px;
    }

    .navbar-custom .container {
        max-width: 1320px;
    }
}

/* ────────────────────────────────────────────────────────────────
   CAROUSEL / HERO SLIDER
──────────────────────────────────────────────────────────────── */
#carouselExampleRide .carousel-item img {
    width: 100%;
    object-fit: cover;
    filter: brightness(0.72) saturate(1.1);
}

@media (min-width: 768px) {
    #carouselExampleRide .carousel-item img {
        height: 700px;
    }
}

@media (max-width: 767.98px) {
    #carouselExampleRide .carousel-item img {
        height: 380px;
    }
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 20px;
}

.carousel-caption h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.carousel-caption p {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* ────────────────────────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────────────────────────── */
.btn-primary,
.btn-calculator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--grad-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
    transition: all var(--dur) var(--ease);
    cursor: pointer;
}

.btn-primary:hover,
.btn-calculator:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
    color: var(--white);
}

.btn-primary:active,
.btn-calculator:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: var(--radius-md);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--dur) ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    border-radius: var(--radius-md);
    padding: 8px 20px;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all var(--dur) ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

/* ────────────────────────────────────────────────────────────────
   SECTION HEADINGS
──────────────────────────────────────────────────────────────── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Legacy cool-heading support */
.cool-heading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    padding: clamp(20px, 5vw, 40px) 0;
}

.cool-heading {
    margin: 0;
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 28px;
    background: var(--navy);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 99px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
    white-space: nowrap;
}

.cool-divider {
    flex: 1;
    height: 2px;
    position: relative;
    min-width: 20px;
}

.left-divider {
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent));
}

.right-divider {
    background: linear-gradient(90deg, var(--accent), var(--primary), transparent);
}

.shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {

    0%,
    100% {
        transform: translateX(-100%)
    }

    50% {
        transform: translateX(100%)
    }
}

/* ────────────────────────────────────────────────────────────────
   CARDS (generic)
──────────────────────────────────────────────────────────────── */
.card-modern {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) ease;
}

.card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.2);
}

.card-modern .icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--grad-card);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

/* ────────────────────────────────────────────────────────────────
   STATS / KPI STRIP
──────────────────────────────────────────────────────────────── */
.stats-strip {
    background: var(--navy);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(6, 214, 160, 0.06) 0%, transparent 60%);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-value {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ────────────────────────────────────────────────────────────────
   DARK SECTIONS (navy bg)
──────────────────────────────────────────────────────────────── */
.section-dark {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

/* ────────────────────────────────────────────────────────────────
   FEATURE / WHY-EMS / PRODUCT SECTIONS
──────────────────────────────────────────────────────────────── */
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--grad-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
    flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────────
   FORMS (calculator, contact, etc.)
──────────────────────────────────────────────────────────────── */
.form-control,
.form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
    background: var(--white);
    color: var(--dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--slate);
    margin-bottom: 0.4rem;
}

/* ────────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────────── */
.footer-section {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-floating-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.07) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.footer-floating-square {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    background: rgba(6, 214, 160, 0.04);
    bottom: 60px;
    left: -60px;
    transform: rotate(25deg);
    pointer-events: none;
}

.footer-brand .footer-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--grad-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-description {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-heading {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.2rem !important;
}

.footer-link {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color var(--dur) ease;
    display: inline-block;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--dur) ease;
}

.footer-link:hover {
    color: var(--white) !important;
}

.footer-link:hover::after {
    width: 100%;
}

/* Social icons */
.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.9rem;
    transition: all var(--dur) ease;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

/* App buttons */
.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--dur) ease;
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Footer divider */
.footer-divider {
    margin: 2.5rem 0 1.5rem;
}

.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Back to top */
.back-to-top {
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 6px 16px;
}

/* WhatsApp float */
.whatsapp-float {
    transition: transform var(--dur) ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* ────────────────────────────────────────────────────────────────
   MOBILE BOTTOM NAV
──────────────────────────────────────────────────────────────── */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: rgba(9, 20, 42, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(14, 165, 233, 0.15);
    z-index: 1100;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
    padding: 0 10px;
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 8px 0;
    border-radius: var(--radius-md);
    margin: 0 4px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav .nav-icon {
    width: 42px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border-radius: var(--radius-sm);
}

.mobile-bottom-nav .nav-item i {
    font-size: 19px;
    transition: all 0.25s ease;
}

.mobile-bottom-nav .nav-item span {
    margin-top: 3px;
}

.mobile-bottom-nav .nav-item:hover {
    color: rgba(255, 255, 255, 0.65);
}

.mobile-bottom-nav .nav-item.active {
    color: var(--primary);
    transform: translateY(-3px);
}

.mobile-bottom-nav .nav-item.active .nav-icon {
    background: rgba(14, 165, 233, 0.12);
    animation: pulse-nav 1.8s infinite;
}

.mobile-bottom-nav .nav-item.active i {
    transform: scale(1.12);
}

@keyframes pulse-nav {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.22);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(14, 165, 233, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    }
}

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 78px;
    }
}

/* ────────────────────────────────────────────────────────────────
   COMPARISON / TABLE UTILITIES
──────────────────────────────────────────────────────────────── */
.rotate-180 {
    transform: rotate(180deg);
}

.bg-blue-soft {
    background: rgba(14, 165, 233, 0.08);
}

.bg-red-soft {
    background: rgba(239, 68, 68, 0.08);
}

@media (max-width: 768px) {
    .rotate-180 {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

/* ────────────────────────────────────────────────────────────────
   UTILITY CLASSES
──────────────────────────────────────────────────────────────── */
.text-primary {
    color: var(--primary) !important;
}

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

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

.bg-navy {
    background: var(--navy) !important;
}

.bg-surface {
    background: var(--surface) !important;
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.3px;
}

/* Divider lines */
hr {
    border-color: var(--border);
    opacity: 1;
}

/* Scrollbar (page-wide) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.35);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ────────────────────────────────────────────────────────────────
   AOS OVERRIDES (keep animations smooth)
──────────────────────────────────────────────────────────────── */
[data-aos] {
    will-change: transform, opacity;
}

/* ────────────────────────────────────────────────────────────────
   LEGACY OVERRIDES (keep old blade content working)
──────────────────────────────────────────────────────────────── */
.btn-calculator-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.btn-calculator-wave {
    display: none;
}

/* bootstrap btn-sm in the admin override */
.btn-sm {
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: var(--radius-sm);
}

/* ================================================================
   CUSTOM CALCULATOR MODAL STYLING (Preserved)
   ================================================================ */
/* Calculator Selection Modal Styling */
.calculator-select-modal .modal-content {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 28px !important;
    padding: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}
.calculator-select-modal .modal-header {
    border-bottom: none !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-bottom: 10px !important;
}
.calculator-select-modal .modal-header .modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.calculator-select-modal .modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.calculator-select-modal .modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    transform: rotate(90deg);
}
.calculator-select-modal .modal-body {
    padding-top: 15px !important;
}
.calculator-card {
    display: flex;
    flex-direction: column;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.calculator-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.7);
}
.ems-card:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15) !important;
}
.roi-card:hover {
    border-color: rgba(251, 191, 36, 0.4) !important;
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.15) !important;
}
.calc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.ems-card .calc-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.15);
}
.roi-card .calc-icon {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.15);
}
.calculator-card:hover .calc-icon {
    transform: scale(1.1) rotate(5deg);
}
.ems-card:hover .calc-icon {
    background: #3b82f6;
    color: #ffffff;
}
.roi-card:hover .calc-icon {
    background: #fbbf24;
    color: #000000;
}
.calc-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 750;
    color: #ffffff !important;
    margin-bottom: 12px;
}
.calc-desc {
    color: #94a3b8 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.calc-action {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.ems-card .calc-action {
    color: #60a5fa;
}
.roi-card .calc-action {
    color: #fcd34d;
}
.calc-action i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.calculator-card:hover .calc-action i {
    transform: translateX(5px);
}