﻿:root {
    --hg-0: #ffffff;
    --hg-50: #f5f7fb;
    --hg-100: #edf1f7;
    --hg-200: #dbe3ee;
    --hg-300: #bfc9d7;
    --hg-400: #8f9bb0;
    --hg-500: #66748d;
    --hg-700: #2b3547;
    --hg-800: #1c2433;
    --hg-900: #0f1624;
    --steel: #9aa7bd;
    --chrome: #d7dde8;
    --ink: #0b1220;
    --muted: #5f6e86;
    --accent: #9fb4ff; /* cold blue highlight */
    --accent-2: #7cf4ff; /* cyan spark */

    --border: rgba(200,210,230,.22);
    --border-strong: rgba(230,240,255,.34);
    --shadow: 0 18px 46px rgba(0,0,0,.22);
    --shadow-soft: 0 10px 24px rgba(0,0,0,.18);
    --radius: 18px;
}

body {
   font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: rgba(245,248,255,.92);
    background: radial-gradient(900px 500px at 15% 10%, rgba(159,180,255,.18), transparent 58%), radial-gradient(800px 480px at 85% 20%, rgba(124,244,255,.12), transparent 60%), radial-gradient(700px 520px at 55% 90%, rgba(215,221,232,.10), transparent 62%), linear-gradient(180deg, var(--hg-900), #070c14 55%, #050913);
    line-height: 1.6;
}

/* Navbar Base */
.navbar {
    background-color: teal;
    box-shadow: 0 4px 6px -1px var(--subtle-shadow), 0 2px 4px -2px var(--subtle-shadow);
    z-index: 11;
    margin-bottom:-1px!important;
}

/* Hamburger Icon color fix for dark background */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Brand */
.navbar-brand span {
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
}

.navbar-brand img {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    padding: 2px;
}

/* Nav Links */
.navbar-nav > li.nav-item {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
}

    .navbar-nav > li.nav-item:first-child {
        margin-left: 0;
    }

    .navbar-nav > li.nav-item:last-child {
        margin-right: 0;
    }

.nav-link {
    color: #3C3B6E !important;
    font-size: 0.9rem; /* smaller font */
    transition: color 0.3s ease, transform 0.3s ease;
}

    .nav-link:hover,
    .nav-link.active {
        color: lightcyan !important;
        transform: translateY(-1px);
    }



    .nav-link i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }

/* Dropdown Menu */
.dropdown-menu {
    margin-top: 0.2px;
    background: linear-gradient(135deg,rgb(255,255,255),rgb(183,182,216)) !important;
    border-radius: .5rem;
    box-shadow: 0 10px 15px -3px var(--dark-shadow),0 4px 6px -4px var(--dark-shadow);
}

    .dropdown-menu.multi-column {
        display: flex;
        gap: 0.5rem;
        min-width: 400px;
        padding: 1rem;
    }

    .dropdown-menu b {
        color: white;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

.dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    background-color: transparent;
    border-radius: 0.3rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        color: white;
        background-color: rgba(20,184,166,0.2);
    }

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

/* User Avatar */
.user-avatar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .user-avatar:hover {
        transform: scale(1.05);
    }

/* Search Box */
.search-reports-btn {
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 11px;
    background: linear-gradient(90deg, #0ca686, #14b8a6, #2dd4bf)!important;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(13,110,253,.25);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

    .search-reports-btn i {
        font-size: 1rem;
    }

    .search-reports-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 35px rgba(102,16,242,.4);
    }

    .search-reports-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -120%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.25), transparent );
        transition: .8s;
    }

    .search-reports-btn:hover::before {
        left: 120%;
    }

    .search-reports-btn .bi-arrow-right-circle-fill {
        transition: .3s;
    }

    .search-reports-btn:hover .bi-arrow-right-circle-fill {
        transform: translateX(4px);
    }


/* Prevent dropdown from pushing content down */
.navbar-nav .dropdown-menu {
    position: absolute; /* ensures dropdown floats over items */
}

/* Ensure no wrapping on small screens */
.navbar .d-flex.flex-nowrap {
    flex-wrap: nowrap !important;
}


/* Go Pro Button */
.nav-link.go-pro-button {
    background: linear-gradient(45deg, var(--accent-teal), #6ee7b7);
    color: white !important;
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    font-weight: bold;
    margin-left: 0.5rem;
    box-shadow: 0 3px 5px -1px rgba(0,0,0,0.1), 0 2px 3px -2px rgba(0,0,0,0.1);
}

    .nav-link.go-pro-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 10px -3px rgba(0,0,0,0.2), 0 3px 6px -3px rgba(0,0,0,0.2);
    }

/* Offcanvas (Mobile) */
.offcanvas-end {
    width: 100% !important;
    background-color: rgba(55, 65, 81, 0.95) !important;
    color: white;
}

.offcanvas .btn-close {
    color: white !important;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.offcanvas-body .nav-link,
.offcanvas-body .dropdown-item {
    color: rgba(255,255,255,0.85);
}


/* Remove Bootstrap caret on desktop */
@media (min-width: 1200px) {
    .dropdown-toggle::after {
        display: none;
    }

    /* Desktop hover dropdowns */
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        margin-top: 0.1rem !important;
        transition: opacity 0.25s ease, margin-top 0.25s ease;
        pointer-events: none;
    }

    .navbar .dropdown:hover > .dropdown-menu,
    .navbar .dropdown .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        margin-top: 0.25rem;
        pointer-events: auto;
        transition-delay: 100ms;
    }
    .navbar .offcanvas-body ul {
        align-items: center !important;
    }

}


/* Mobile/offcanvas dropdowns: initially hidden */
@media (max-width: 1200px) {
    .offcanvas .dropdown-menu {
        display: none;
    }

        .offcanvas .dropdown-menu.show {
            display: block;
        }

    .offcanvas .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    .offcanvas .dropdown-item {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

}

/* Mega menu responsiveness */
@media (max-width: 1200px) {
    .dropdown-menu.multi-column {
        flex-wrap: wrap;
        min-width: auto;
        max-width: 90vw;
    }
    #top_nav .navbar-toggler {
        display: block!important;
    }

    .navbar .offcanvas-body ul {
        gap:5px!important;
    }
}

/* Keep desktop nav items in a single row */
#top_nav .navbar-nav {
    white-space: nowrap;
}

/* Navbar-toggler: hidden by default on desktop */
#top_nav .navbar-toggler {
    display: none;
}



/* Header background aligned with navbar teal theme */
.header-top {
    background: linear-gradient(90deg, #0ca686, #14b8a6, #2dd4bf);
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Language selector */
.custom-select {
    max-width: 120px;
    border-radius: 20px;
    border: none;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    background-color: #ffffff;
    color: #0ca686;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .custom-select:hover {
        box-shadow: 0 0 6px rgba(20,184,166,0.5);
    }

/* Action buttons */
.btn-action {
    background: #fff;
    border: 1px solid #0ca686;
    color: #0ca686;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    transition: all 0.2s ease;
}

    .btn-action:hover {
        background: #0ca686;
        color: #fff;
    }

/* Toggle button special look */
.toggle-btn {
    border-radius: 20px;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}

/* Typing text banner */
.typing-banner {
    background: linear-gradient(to right, #020556, #01ACD4, #01D1AE, #64DF31, #0CA686);
    font-weight: 500;
    font-size: 1rem;
    display: inline-block;
}

/* Scrolling text */
.scrolling-text {
    background: #0ca686;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 0.3rem;
    font-size: 0.9rem;
    animation: scroll-left 15s linear infinite;
}

/* Optional animation for scroll */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

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

:root {
    --bg: #f4f7fb;
    --surface: rgba(255,255,255,0.78);
    --surface-strong: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.08);
    --brand: #0f766e;
    --brand-2: #14b8a6;
    --brand-dark: #0b1120;
    --accent: #7c3aed;
    --success: #10b981;
    --shadow-soft: 0 10px 30px rgba(2, 6, 23, 0.08);
    --shadow-lg: 0 20px 60px rgba(2, 6, 23, 0.14);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, rgba(20,184,166,0.10), transparent 30%), radial-gradient(circle at top right, rgba(124,58,237,0.08), transparent 25%), linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* Top utility */
.top-utility {
    background: linear-gradient(90deg, #B22234, #FFFFFF, #3C3B6E);
    color: white;
    font-size: 13px;
    padding: 8px 0;
    box-shadow: var(--shadow-soft);
}

    .top-utility .btn,
    .top-utility .dropdown-toggle {
        border-radius: 999px;
    }

.announcement-bar {
    background: linear-gradient( 135deg, #3C3B6E 0%, rgba(60,59,110,0.9), rgba(178,34,52,0.7), rgba(178,34,52,0.9) );
    color: white;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 10px 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.scrolling-text {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    padding: 10px 16px;
    letter-spacing: .03em;
}

/* Navbar */
.navbar-lab {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient( 90deg, rgba(178,34,52,0.35), rgba(255,255,255,0.35), rgba(60,59,110,0.35) ) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    min-height: 50px;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), var(--shadow-soft);
}

    .brand-icon img {
        width: 24px;
        height: 24px;
        border-radius: 8px;
    }

.brand-main {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: var(--brand-dark);
    line-height: 1;
}

.brand-sub {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(16,185,129,.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16,185,129,.55);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16,185,129,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16,185,129,0);
    }
}

.navbar-nav .nav-link {
    color: var(--text) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 16px !important;
    border-radius: 12px;
    transition: all .25s ease;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: var(--brand) !important;
        background: rgba(60,59,110,0.09);
        font-size: 13.5px;
        font-weight: 400;
    }

.search-v5 {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    min-width: 220px;
    box-shadow: var(--shadow-soft);
}

    .search-v5 i {
        color: var(--muted);
    }

    .search-v5 input {
        border: none;
        outline: none;
        width: 100%;
        background: transparent;
        font-size: 13px;
        color: var(--text);
    }

.user-pill-v5 {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.82);
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: var(--shadow-soft);
    transition: all .25s ease;
}

    .user-pill-v5:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-lg);
    }

.avatar-v5 {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: white;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;

}

.btn-pro-v5 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: var(--shadow-soft);
    transition: all .25s ease;
}

    .btn-pro-v5:hover {
        color: white;
        transform: translateY(-1px);
        box-shadow: var(--shadow-lg);
    }

/* Mega menu */
.mega-v5 {
    width: min(1100px, 95vw);
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: 1px solid var(--line) !important;
    border-radius: 24px !important;
    overflow: hidden;
    margin-top: 16px !important;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

.mega-v5-panel {
    padding: 28px 24px;
}

    .mega-v5-panel label {
        display: block;
        margin-bottom: 16px;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

.mega-v5-links a,
.mega-v5-links-analysis a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: all .2s ease;
}

    .mega-v5-links a:hover,
    .mega-v5-links-analysis a:hover {
        color: var(--brand);
        background: rgba(15,118,110,.06);
        transform: translateX(4px);
    }

.mega-dark {
    background: linear-gradient( 135deg, #0f172a 0%, rgba(60,59,110,0.70) 100% );
}


    .mega-dark .mega-v5-links a,
    .mega-dark .mega-v5-links-analysis a {
        color: rgba(255,255,255,0.82);
    }

        .mega-dark .mega-v5-links a:hover,
        .mega-dark .mega-v5-links-analysis a:hover {
            color: white;
            background: rgba(255,255,255,0.08);
        }

.dropdown-menu {
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 14px;
}

    .dropdown-item:hover {
        background: rgba(15,118,110,.08);
        color: var(--brand);
    }

/* Mobile offcanvas fix */
#mobileNav {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    overflow-y: auto;
}

    #mobileNav .offcanvas-header {
        background: linear-gradient(135deg, #0f172a, #134e4a);
        color: white;
    }

    #mobileNav .offcanvas-body {
        overflow-y: auto;
        padding-bottom: 96px;
    }

    #mobileNav .accordion,
    #mobileNav .accordion-item,
    #mobileNav .accordion-collapse,
    #mobileNav .accordion-body {
        overflow: visible !important;
    }

    #mobileNav .accordion-item {
        background: transparent;
        border: 0;
    }

    #mobileNav .accordion-button {
        font-weight: 800;
        color: var(--text);
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        padding-left: 0;
        padding-right: 0;
    }

        #mobileNav .accordion-button:not(.collapsed) {
            color: var(--brand);
        }

        #mobileNav .accordion-button::after {
            opacity: .75;
        }

    #mobileNav .accordion-body {
        padding: 8px 0 0;
    }

    #mobileNav .nav-link {
        padding: 10px 0;
        border-bottom: none;
    }

.mobile-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #334155 !important;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
    white-space: normal;
    word-break: break-word;
}

    .mobile-link:hover {
        background: rgba(15,118,110,.06);
        color: var(--brand) !important;
        transform: translateX(3px);
    }

.mobile-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-soft);
}

/* Premium Glassy Gradient Icon */
.mega-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 15px;
    margin-right: 10px; /* ← the gap you want */

    backdrop-filter: blur(6px);
    color: #fff;
    font-weight: 1200;
}

/* Accent Icon Variants */
.icon-indigo {
    background: linear-gradient(135deg, #B22234, #6366f1);
}

.icon-cyan {
    background: linear-gradient(135deg, #FFFFFF, #06b6d4);
}


.icon-violet {
    background: linear-gradient(135deg, #3C3B6E, #8b5cf6);
}

.mega-links {
    display: grid;
    gap: 8px;
}

/* Footer */
.footer-main {
    margin-top: 48px;
    padding: 64px 0 32px;
    background: radial-gradient(circle at top left, rgba(20,184,166,.08), transparent 20%), linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
    color: rgba(255,255,255,.88);
}

    .footer-main h4 {
        font-size: 1rem;
        font-weight: 800;
        margin-bottom: 16px;
        color: white;
    }

    .footer-main ul {
        list-style: none;
        padding-left: 0;
    }

    .footer-main li {
        margin-bottom: 10px;
    }

    .footer-main a {
        color: rgba(255,255,255,.72);
        transition: all .2s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .footer-main a:hover {
            color: #7dd3fc;
            transform: translateX(2px);
        }

    .footer-main .bi {
        color: #2dd4bf;
    }

.contact-form-modern input,
.contact-form-modern textarea {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 14px 16px;
    width: 100%;
    outline: none;
    transition: all .2s ease;
}

    .contact-form-modern input::placeholder,
    .contact-form-modern textarea::placeholder {
        color: rgba(255,255,255,.45);
    }

    .contact-form-modern input:focus,
    .contact-form-modern textarea:focus {
        border-color: rgba(45,212,191,.5);
        box-shadow: 0 0 0 4px rgba(45,212,191,.12);
    }

.contact-form-modern button {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: white;
    font-weight: 800;
    transition: all .25s ease;
}

    .contact-form-modern button:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-lg);
    }

.map-container {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-soft);
}

    .map-container iframe {
        width: 100%;
        height: 320px;
        border: 0;
    }

.social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

    .social-icons a {
        width: 44px;
        height: 44px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: rgba(255,255,255,.08);
        color: white;
        transition: all .2s ease;
    }

        .social-icons a:hover {
            background: rgba(45,212,191,.18);
            color: #99f6e4;
            transform: translateY(-2px);
        }

.copyright {
    background: #08111f;
    color: rgba(255,255,255,.7);
    text-align: center;
    font-size: 13px;
    padding: 14px 16px;
}

.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
    display: none;
}

.cookie-content {
    max-width: 960px;
    margin: 0 auto;
    background: rgba(15,23,42,0.92);
    backdrop-filter: blur(12px);
    color: white;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@@media (max-width: 1199px) {
    .navbar-lab {
        min-height: 68px;
    }

    .search-v5 {
        display: none !important;
    }
}

@@media (max-width: 768px) {
    .brand-main {
        font-size: 12px;
    }

    .brand-sub {
        font-size: 9px;
        letter-spacing: .08em;
    }

    .announcement-bar {
        font-size: 12px;
        border-radius: 12px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-main {
        text-align: center;
    }

        .footer-main a {
            justify-content: center;
        }
}

.small-limited {
    font-size: 0.75rem; /* smaller than default <small> *//* Navbar Base */
.navbar {
    background-color: teal;
    box-shadow: 0 4px 6px -1px var(--subtle-shadow), 0 2px 4px -2px var(--subtle-shadow);
    z-index: 11;
    margin-bottom: -1px !important;
}

/* Hamburger Icon color fix for dark background */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Brand */
.navbar-brand span {
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
}

.navbar-brand img {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    padding: 2px;
}

/* Nav Links */
.navbar-nav > li.nav-item {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
}

.navbar-nav > li.nav-item:first-child {
    margin-left: 0;
}

.navbar-nav > li.nav-item:last-child {
    margin-right: 0;
}

.nav-link {
    color: #3C3B6E !important;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: lightcyan !important;
    transform: translateY(-1px);
}

.nav-link i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* User Avatar */
.user-avatar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
}

/* Search Box */
.search-box {
    background-color: darkslategray;
    border-radius: 9999px;
    box-shadow: none !important;
    border: none !important;
    transition: none;
}

.search-box:focus-within {
    box-shadow: none !important;
    border: none !important;
    background-color: darkslateblue !important;
}

.search-box .form-control {
    background-color: transparent;
    color: lightcyan !important;
    border: none;
    box-shadow: none !important;
    font-size: 0.75rem;
}

.search-box .form-control::placeholder {
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
}

.search-box .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border: none;
    background: transparent;
    box-shadow: none !important;
}

/* Prevent dropdown from pushing content down */
.navbar-nav .dropdown-menu {
    position: absolute;
}

/* Ensure no wrapping on small screens */
.navbar .d-flex.flex-nowrap {
    flex-wrap: nowrap !important;
}

/* Go Pro Button */
.nav-link.go-pro-button {
    background: linear-gradient(45deg, var(--accent-teal), #6ee7b7);
    color: white !important;
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    font-weight: bold;
    margin-left: 0.5rem;
    box-shadow: 0 3px 5px -1px rgba(0,0,0,0.1), 0 2px 3px -2px rgba(0,0,0,0.1);
}

.nav-link.go-pro-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 10px -3px rgba(0,0,0,0.2), 0 3px 6px -3px rgba(0,0,0,0.2);
}

/* Offcanvas (Mobile) */
.offcanvas-end {
    width: 100% !important;
    background-color: rgba(55, 65, 81, 0.95) !important;
    color: white;
}

.offcanvas .btn-close {
    color: white !important;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.offcanvas-body .nav-link,
.offcanvas-body .dropdown-item {
    color: rgba(255,255,255,0.85);
}

/* Remove Bootstrap caret on desktop */
@media (min-width: 1200px) {
    .dropdown-toggle::after {
        display: none;
    }

    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        margin-top: 0.1rem !important;
        transition: opacity 0.25s ease, margin-top 0.25s ease;
        pointer-events: none;
    }

    .navbar .dropdown:hover > .dropdown-menu,
    .navbar .dropdown .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        margin-top: 0.25rem;
        pointer-events: auto;
        transition-delay: 100ms;
    }

    .navbar .offcanvas-body ul {
        align-items: center !important;
    }
}

/* Mobile/offcanvas dropdowns: initially hidden */
@media (max-width: 1200px) {
    .offcanvas .dropdown-menu {
        display: none;
    }

    .offcanvas .dropdown-menu.show {
        display: block;
    }

    .offcanvas .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    .offcanvas .dropdown-item {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Mega menu responsiveness */
@media (max-width: 1200px) {
    .dropdown-menu.multi-column {
        flex-wrap: wrap;
        min-width: auto;
        max-width: 90vw;
    }

    #top_nav .navbar-toggler {
        display: block !important;
    }

    .navbar .offcanvas-body ul {
        gap: 5px !important;
    }
}

/* Keep desktop nav items in a single row */
#top_nav .navbar-nav {
    white-space: nowrap;
}

/* Navbar-toggler: hidden by default on desktop */
#top_nav .navbar-toggler {
    display: none;
}

/* Header background aligned with navbar teal theme */
.header-top {
    background: linear-gradient(90deg, #0ca686, #14b8a6, #2dd4bf);
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Language selector */
.custom-select {
    max-width: 120px;
    border-radius: 20px;
    border: none;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    background-color: #ffffff;
    color: #0ca686;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-select:hover {
    box-shadow: 0 0 6px rgba(20,184,166,0.5);
}

/* Action buttons */
.btn-action {
    background: #fff;
    border: 1px solid #0ca686;
    color: #0ca686;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: #0ca686;
    color: #fff;
}

/* Toggle button special look */
.toggle-btn {
    border-radius: 20px;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}

/* Typing text banner */
.typing-banner {
    background: linear-gradient(to right, #020556, #01ACD4, #01D1AE, #64DF31, #0CA686);
    font-weight: 500;
    font-size: 1rem;
    display: inline-block;
}

/* Optional animation for scroll */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

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

:root {
    --bg: #f4f7fb;
    --surface: rgba(255,255,255,0.78);
    --surface-strong: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.08);
    --brand: #0f766e;
    --brand-2: #14b8a6;
    --brand-dark: #0b1120;
    --accent: #7c3aed;
    --success: #10b981;
    --shadow-soft: 0 10px 30px rgba(2, 6, 23, 0.08);
    --shadow-lg: 0 20px 60px rgba(2, 6, 23, 0.14);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, rgba(20,184,166,0.10), transparent 30%), radial-gradient(circle at top right, rgba(124,58,237,0.08), transparent 25%), linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* Top utility */
.top-utility {
    background: linear-gradient(90deg, #B22234, #FFFFFF, #3C3B6E);
    color: white;
    font-size: 13px;
    padding: 8px 0;
    box-shadow: var(--shadow-soft);
}

.top-utility .btn,
.top-utility .dropdown-toggle {
    border-radius: 999px;
}

.announcement-bar {
    background: linear-gradient(135deg, #3C3B6E 0%, rgba(60,59,110,0.9), rgba(178,34,52,0.7), rgba(178,34,52,0.9));
    color: white;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 10px 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.scrolling-text {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    padding: 10px 16px;
    letter-spacing: .03em;
}

/* Navbar */
.navbar-lab {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(90deg, rgba(178,34,52,0.35), rgba(255,255,255,0.35), rgba(60,59,110,0.35)) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    min-height: 50px;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), var(--shadow-soft);
}

.brand-icon img {
    width: 24px;
    height: 24px;
    border-radius: 8px;
}

.brand-main {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: var(--brand-dark);
    line-height: 1;
}

.brand-sub {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(16,185,129,.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16,185,129,.55);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16,185,129,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16,185,129,0);
    }
}

.navbar-nav .nav-link {
    color: var(--text) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 16px !important;
    border-radius: 12px;
    transition: all .25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--brand) !important;
    background: rgba(60,59,110,0.09);
    font-size: 13.5px;
    font-weight: 400;
}

.search-v5 {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    min-width: 220px;
    box-shadow: var(--shadow-soft);
}

.search-v5 i {
    color: var(--muted);
}

.search-v5 input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 13px;
    color: var(--text);
}

.user-pill-v5 {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.82);
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: var(--shadow-soft);
    transition: all .25s ease;
}

.user-pill-v5:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.avatar-v5 {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: white;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}

.btn-pro-v5 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: var(--shadow-soft);
    transition: all .25s ease;
}

.btn-pro-v5:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Mega menu */
.mega-v5 {
    width: min(1100px, 95vw);
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: 1px solid var(--line) !important;
    border-radius: 24px !important;
    overflow: hidden;
    margin-top: 16px !important;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

.mega-v5-panel {
    padding: 28px 24px;
}

.mega-v5-panel label {
    display: block;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mega-v5-links a,
.mega-v5-links-analysis a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: all .2s ease;
}

.mega-v5-links a:hover,
.mega-v5-links-analysis a:hover {
    color: var(--brand);
    background: rgba(15,118,110,.06);
    transform: translateX(4px);
}

.mega-dark {
    background: linear-gradient(135deg, #0f172a 0%, rgba(60,59,110,0.70) 100%);
}

.mega-dark .mega-v5-links a,
.mega-dark .mega-v5-links-analysis a {
    color: rgba(255,255,255,0.82);
}

.mega-dark .mega-v5-links a:hover,
.mega-dark .mega-v5-links-analysis a:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

.dropdown-menu {
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 14px;
}

.dropdown-item:hover {
    background: rgba(15,118,110,.08);
    color: var(--brand);
}

/* Mobile offcanvas fix */
#mobileNav {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    overflow-y: auto;
}

#mobileNav .offcanvas-header {
    background: linear-gradient(135deg, #0f172a, #134e4a);
    color: white;
}

#mobileNav .offcanvas-body {
    overflow-y: auto;
    padding-bottom: 96px;
}

#mobileNav .accordion,
#mobileNav .accordion-item,
#mobileNav .accordion-collapse,
#mobileNav .accordion-body {
    overflow: visible !important;
}

#mobileNav .accordion-item {
    background: transparent;
    border: 0;
}

#mobileNav .accordion-button {
    font-weight: 800;
    color: var(--text);
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

#mobileNav .accordion-button:not(.collapsed) {
    color: var(--brand);
}

#mobileNav .accordion-button::after {
    opacity: .75;
}

#mobileNav .accordion-body {
    padding: 8px 0 0;
}

#mobileNav .nav-link {
    padding: 10px 0;
    border-bottom: none;
}

.mobile-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #334155 !important;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
    white-space: normal;
    word-break: break-word;
}

.mobile-link:hover {
    background: rgba(15,118,110,.06);
    color: var(--brand) !important;
    transform: translateX(3px);
}

.mobile-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-soft);
}

/* Premium Glassy Gradient Icon */
.mega-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 15px;
    margin-right: 10px;
    backdrop-filter: blur(6px);
    color: #fff;
    font-weight: 1200;
}

/* Accent Icon Variants */
.icon-indigo {
    background: linear-gradient(135deg, #B22234, #6366f1);
}

.icon-cyan {
    background: linear-gradient(135deg, #FFFFFF, #06b6d4);
}

.icon-violet {
    background: linear-gradient(135deg, #3C3B6E, #8b5cf6);
}

.mega-links {
    display: grid;
    gap: 8px;
}

/* Footer */
.footer-main {
    margin-top: 48px;
    padding: 64px 0 32px;
    background: radial-gradient(circle at top left, rgba(20,184,166,.08), transparent 20%), linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
    color: rgba(255,255,255,.88);
}

.footer-main h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.footer-main ul {
    list-style: none;
    padding-left: 0;
}

.footer-main li {
    margin-bottom: 10px;
}

.footer-main a {
    color: rgba(255,255,255,.72);
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-main a:hover {
    color: #7dd3fc;
    transform: translateX(2px);
}

.footer-main .bi {
    color: #2dd4bf;
}

.contact-form-modern input,
.contact-form-modern textarea {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 14px 16px;
    width: 100%;
    outline: none;
    transition: all .2s ease;
}

.contact-form-modern input::placeholder,
.contact-form-modern textarea::placeholder {
    color: rgba(255,255,255,.45);
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
    border-color: rgba(45,212,191,.5);
    box-shadow: 0 0 0 4px rgba(45,212,191,.12);
}

.contact-form-modern button {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: white;
    font-weight: 800;
    transition: all .25s ease;
}

.contact-form-modern button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.map-container {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-soft);
}

.map-container iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

.social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    color: white;
    transition: all .2s ease;
}

.social-icons a:hover {
    background: rgba(45,212,191,.18);
    color: #99f6e4;
    transform: translateY(-2px);
}

.copyright {
    background: #08111f;
    color: rgba(255,255,255,.7);
    text-align: center;
    font-size: 13px;
    padding: 14px 16px;
}

.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
    display: none;
}

.cookie-content {
    max-width: 960px;
    margin: 0 auto;
    background: rgba(15,23,42,0.92);
    backdrop-filter: blur(12px);
    color: white;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (max-width: 1199px) {
    .navbar-lab {
        min-height: 68px;
    }

    .search-v5 {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .brand-main {
        font-size: 12px;
    }

    .brand-sub {
        font-size: 9px;
        letter-spacing: .08em;
    }

    .announcement-bar {
        font-size: 12px;
        border-radius: 12px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-main {
        text-align: center;
    }

    .footer-main a {
        justify-content: center;
    }
}

.small-limited {
    font-size: 0.75rem;
    max-width: 60%;
    line-height: 0.3;
}

.rounded-pill {
    transition: all 0.3s ease;
}

.rounded-pill:hover {
    box-shadow: 0 0 12px rgba(60,59,110,0.45);
    transform: translateY(-2px);
}
    max-width: 60%; /* stays within 80% of parent */
    line-height: 0.3; /* ensures width constraint applies */
}

.rounded-pill {
    transition: all 0.3s ease;
}

    .rounded-pill:hover {
        box-shadow: 0 0 12px rgba(60,59,110,0.45);
        transform: translateY(-2px);
    }
    