/* ---------------------------------------
   HEADER WRAPPER
--------------------------------------- */
.header-main {
    background: #fff !important;
    position: sticky;
    top: 0;
    z-index: 9999;
    margin: 0px !important;
}

/* ---------------------------------------
   MENU ALIGNMENT
--------------------------------------- */
ul#menu-new-header-menu {
    display: flex;
    align-items: center;
    margin: 0px;
    gap: 25px;
}

nav.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mainMenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---------------------------------------
   MAIN MENU ITEMS
--------------------------------------- */
.main-nav > li {
    margin: 0;
    position: relative;
    list-style: none;
    /* width: 175px; */
}

.main-nav > li > a {
    font-weight: 600;
    font-size: 18px;
    color: #0f1b17 !important;
    line-height: 80px;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize;
    justify-content: center;
}

/* Hover & Active Underline */
.main-nav > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 22px;
    width: 0;
    height: 2px;
    background: #0f1b17;
    transition: width .3s ease;
}

.main-nav > li > a:hover::after,
.main-nav > li.current-menu-item > a::after {
    width: 100%;
}

.logo img {
    height: 35px;
}

.logo {
    height: 30px;
}

/* ---------------------------------------
   DROPDOWN ICON
--------------------------------------- */
.dropdown-arrow {
    width: 14px;
    transition: transform .3s ease;
    margin-top: 5px;
}

/* Rotate when dropdown is open */
li.dropdown:hover > a > .dropdown-arrow,
li.dropdown.show > a > .dropdown-arrow {
    transform: rotate(180deg);
}

/* ---------------------------------------
   DROPDOWN MENU (sub-menus, not mega)
--------------------------------------- */
ul.sub-menu li {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    width: 100%;
}

ul.submenu-dropdown.submenu-level-2 {
    position: absolute;
    left: 175px;
    top: 0;
    background: #fff;
    width: 270px;
    visibility: hidden;
    padding-top: 20px;
    border-left: 1px solid var(--primary-color);
    box-shadow: 0 4px 4px 0 rgba(167, 167, 167, 0.25);
    transform: translateX(10px);
}

li.nav-item.dropdown.submenu-item:hover ul.submenu-dropdown.submenu-level-2 {
    transform: translateX(0px);
    transition: all 0.4s;
    visibility: visible;
}

ul.submenu-dropdown li:last-child {
    margin: 0px;
}

ul.submenu-dropdown.submenu-level-2 li a {
    padding: 0px 20px 17px;
}

ul.sub-menu li a {
    text-decoration: none;
    color: #000;
    display: block;
    padding: 0px 20px 10px 20px;
    width: 100%;
    position: relative;
}

span.menu-arrow.menu-arrow--sub {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(-20px);
    transition: all 0.4s;
}

ul.sub-menu li:hover span.menu-arrow {
    transform: translateX(-15px);
}

ul.sub-menu a:hover {
    color: var(--primary-color);
}

ul#menu-new-header-menu li.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Base dropdown menu */
.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    position: absolute;
    top: 70px;
    left: -20px;
    min-width: 220px;
    padding: 0px 20px 10px;
    background: #fff;
    border-radius: 0;
}

/* Dropdown Links */
.dropdown-menu a {
    padding: 0px;
    font-size: 18px;
    color: #0f1b17 !important;
    width: 100%;
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
}

.dropdown-menu a:hover {
    color: var(--primary-color) !important;
}

/* ---------------------------------------
   RIGHT SIDE ICONS
--------------------------------------- */
.right-icon-header {
    display: flex;
    gap: 24px;
    align-items: center;
}

.right-icon-header button {
    background: transparent;
    border: 0;
    padding: 0;
}

ul.right-side-icons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.inner--bunch {
    display: flex;
    align-items: center;
    gap: 60px;
}

ul.sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0 4px 4px 0 rgba(167, 167, 167, 0.25);
    width: 175px;
    padding: 20px 0px;
    z-index: 10000;
}

li.nav-item:hover ul.sub-menu {
    display: block;
}

/* Hide sub-menu on mega menu parents (safety, even if navwalker suppresses it) */
li.nav-item.mega-menu > ul.sub-menu {
    display: none !important;
}

body.postid-5151 header.header-main.sticky-top {
    display: inline-block;
    width: 100%;
}

.right-icons.flex .globe-search-menu {
    display: flex;
}

/* ======================================
   WHAT WE DO – 2-COLUMN MEGA MENU
   - 800px wide, anchored to the "What We Do" <li>
====================================== */

/* Mega-menu <li> is the positioning context */
.navbar-nav > li.mega-menu,
li.nav-item.mega-menu {
    position: relative;
}

/* 800px panel, aligned with the LI's left edge */
.mega-menu--wwd.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: 800px;
    max-width: calc(100vw - 40px);
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: none;
}

/* Inner grid */
.mega-menu--wwd .mega-menu-inner--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 40px;
    max-width: none;
    margin: 0;
}

.mega-menu--wwd .mega-col--platform {
    padding-right: 32px;
}

.mega-menu--wwd .mega-col--services {
    padding-left: 32px;
    border-left: 0.05px solid var(--primary-color);
}

/* Column heading (PLATFORM / SERVICES) */
.mega-menu--wwd .mm-col-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 24px;
    line-height: 1;
}

/* Item block */
.mega-menu--wwd .mm-item {
    display: block;
    text-decoration: none;
    color: #0f1b17;
    padding: 0;
    margin-bottom: 22px;
    transition: color .25s ease;
}

.mega-menu--wwd .mm-item:last-child {
    margin-bottom: 0;
}

.mega-menu--wwd .mm-item-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.3;
    margin-bottom: 4px;
    transition: color .25s ease, gap .25s ease;
}

.mega-menu--wwd .mm-item-desc {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #676767;
    line-height: 1.45;
    margin-top: 2px;
}

/* Arrow */
.mega-menu--wwd .mm-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f1b17;
    transition: transform .25s ease, color .25s ease;
}

.mega-menu--wwd .mm-item:hover .mm-item-title,
.mega-menu--wwd .mm-item:hover .mm-arrow {
    color: var(--primary-color);
}

.mega-menu--wwd .mm-item:hover .mm-arrow {
    transform: translateX(4px);
}

/* Platform image card */
.mega-menu--wwd .mm-platform-image,
.mega-menu--wwd .mm-platform-image-link {
    display: block;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.mega-menu--wwd .mm-platform-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform .35s ease;
}

.mega-menu--wwd .mm-platform-image-link:hover img {
    transform: scale(1.02);
}

/* Services list */
.mega-menu--wwd .mm-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu--wwd .mm-services-list > li {
    margin: 0 0 15px;
    padding: 0;
}

.mega-menu--wwd .mm-services-list > li:last-child .mm-item {
    margin-bottom: 0;
}

/* Mega menu responsive */
@media (max-width: 860px) {
    .mega-menu--wwd.mega-menu-wrapper {
        width: calc(100vw - 40px);
        left: 50%;
        transform: translateX(-50%);
    }
    ul#menu-new-header-menu li.dropdown:hover .mega-menu--wwd.mega-menu-wrapper {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 988px) {
    .mega-menu--wwd .mega-menu-inner--2col {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .mega-menu--wwd .mega-col--platform {
        padding-right: 0;
        padding-bottom: 24px;
        border-bottom: 1px solid #E5E7E6;
    }
    .mega-menu--wwd .mega-col--services {
        padding-left: 0;
        padding-top: 24px;
        border-left: 0;
    }
}

/* ======================================
   MOBILE MENU STYLES
====================================== */

/* Mobile Drawer Menu */
.mobile-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 340px;
    height: 100%;
    background: var(--text-color);
    z-index: 9999;
    padding: 60px 25px;
    transition: right 0.35s ease-in-out;
    overflow-y: auto;
}

.mobile-menu-wrapper.active {
    right: 0;
}

/* Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 22, 33, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Close Button */
.close-mobile-menu {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 34px;
    color: #fff;
    cursor: pointer;
}

/* Mobile Menu Structure */
.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    position: relative;
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-link {
    display: block;
    padding: 14px 16px;
    color: #fff !important;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    text-transform: capitalize;
    width: 100%;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff !important;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
}

.submenu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.submenu-toggle .menu-text {
    flex: 1;
    text-align: left;
}

.submenu-toggle .arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.mobile-menu-item.has-children.open > .submenu-toggle .arrow {
    transform: rotate(-135deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-submenu li {
    border: none;
}

.mobile-submenu a {
    display: block;
    padding: 12px 16px 12px 32px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    text-transform: capitalize;
}

.mobile-submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.mobile-submenu .mobile-menu-item.has-children {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-submenu .submenu-toggle {
    padding: 12px 16px 12px 32px;
    font-size: 16px;
}

.mobile-submenu .mobile-submenu {
    padding-left: 16px;
}

.mobile-menu-btn .hamburger-line {
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: 0.3s ease;
}

.mobile-menu-btn {
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.mobile-menu-wrapper ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-wrapper ul li a button {
    width: auto;
    padding: 0;
}

/* ---------------------------------------
   SEARCH & GLOBE ICONS
--------------------------------------- */
.header-search-form {
    display: none !important;
    position: fixed;
    right: 0;
    top: 81px;
    width: 100%;
    z-index: 999;
}

.header-search-form.active {
    display: block !important;
}

.header-global-menu {
    display: none !important;
    position: absolute;
    top: 80px;
    background: #fff;
    box-shadow: 0px 4px 20px 0px #00000040;
    z-index: 99;
    right: 17%;
}

.header-global-menu.active {
    display: block !important;
}

.header-global-menu ul li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

form.searchwp-form input.swp-input--search {
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none'><path fill='%23000000' d='M6.068 12.136c1.31 0 2.533-.426 3.527-1.136l3.74 3.74c.174.173.402.26.64.26.512 0 .883-.395.883-.9a.87.87 0 0 0-.253-.63L10.89 9.744a6.04 6.04 0 0 0 1.247-3.677C12.136 2.73 9.406 0 6.068 0 2.722 0 0 2.73 0 6.068s2.722 6.068 6.068 6.068m0-1.31c-2.612 0-4.758-2.154-4.758-4.758S3.456 1.31 6.068 1.31c2.604 0 4.758 2.154 4.758 4.758s-2.154 4.758-4.758 4.758'/></svg>") !important;
    background-position: left 45px top 49.5% !important;
    padding-left: 90px !important;
    height: 60px;
    outline: 0;
    border: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.searchwp-live-search-results {
    min-height: 474px !important;
    padding: 5px 35px;
    top: 142px !important;
    box-shadow: 0px 4px 10px 0px #93939340 !important;
}

.searchwp-live-search-result--title {
    margin-bottom: 0 !important;
}

.searchwp-live-search-result--img img {
    -o-object-fit: cover !important;
    object-fit: cover !important;
    min-height: 73px;
}

.searchwp-live-search-result .searchwp-live-search-result--title a {
    font-size: 15px !important;
    color: #000 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.searchwp-live-search-result--desc {
    font-size: 14px;
    line-height: 150%;
}

.searchwp-live-search-result {
    align-items: center;
}

.searchwp-live-search-result--img {
    display: flex;
}

form.searchwp-form input.swp-input--search::placeholder {
    color: #6b6b6b !important;
    font-size: 16px !important;
}

input.search-submit.swp-button {
    display: none !important;
}

/* Arrow Animations */
span.arrow-mask.menu-arrow.menu-arrow--sub {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #000;
    -webkit-mask: url('https://gruve.ai/wp-content/uploads/2025/12/arrow-narrow-right-1.svg') center / contain no-repeat;
    mask: url('https://gruve.ai/wp-content/uploads/2025/12/arrow-narrow-right-1.svg') center / contain no-repeat;
    transition: background-color .25s ease, transform .3s ease;
    vertical-align: middle;
}

ul.sub-menu a:hover span.arrow-mask.menu-arrow.menu-arrow--sub {
    background: var(--primary-color);
}

header.header-main.sticky-top.transparent {
    background: transparent !important;
    position: absolute;
    top: 0;
    width: 100%;
}

header.header-main.sticky-top.transparent .logo img {
    filter: brightness(0) invert(1);
}

/*  */
/* ======================================
   MOBILE MEGA MENU – inside the drawer
====================================== */

.mobile-mega-submenu {
    padding: 0 !important;
    background: transparent;
}

.mobile-mega-submenu > li.mobile-mega-section {
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 16px 24px;
}

.mobile-mega-submenu > li.mobile-mega-section:last-child {
    border-bottom: none;
}

/* Section heading (PLATFORM / SERVICES) */
.mobile-mega-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 14px;
    line-height: 1;
    padding: 0px 15px;
}

/* Item row */
.mobile-mega-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 15px !important;
    color: #fff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    background: transparent !important;
    border: none;
    transition: color .25s ease, transform .25s ease;
}

.mobile-mega-item--lg {
    font-weight: 700;
    font-size: 18px;
}

.mobile-mega-item-label {
    flex: 1;
}

.mobile-mega-item:hover,
.mobile-mega-item:active {
    color: var(--primary-color) !important;
}

.mm-arrow-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    flex-shrink: 0;
    transition: transform .25s ease;
}

.mobile-mega-item:hover .mm-arrow-mobile {
    transform: translateX(3px);
}

/* Platform image card */
.mobile-mega-image,
.mobile-mega-image-link {
    display: block;
    margin-top: 0px;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.mobile-mega-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Topbar */
.pulse-banner {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(33, 165, 94, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(66, 218, 136, 0.12) 0%, transparent 50%),
        linear-gradient(90deg, var(--bg-mid) 0%, var(--bg-light) 50%, var(--bg-mid) 100%);
    color: var(--text-light);
    padding: 11px 16px;
    font-size: 18px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                max-height 0.5s ease;
    max-height: 90px;
    border-bottom: 1px solid rgba(66, 218, 136, 0.15);
    animation: bannerBreathe 4s ease-in-out infinite;
}

/* Whole banner breathes — very subtle glow shift */
@keyframes bannerBreathe {
    0%, 100% {
        box-shadow: inset 0 0 60px rgba(66, 218, 136, 0.05),
                    0 0 0 0 rgba(204, 252, 0, 0);
    }
    50% {
        box-shadow: inset 0 0 80px rgba(66, 218, 136, 0.15),
                    0 2px 24px rgba(204, 252, 0, 0.12);
    }
}

.pulse-banner.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    max-height: 0;
    padding: 0;
    border: 0;
}

/* Animated grid background — feels like AI infrastructure */
.pulse-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(66, 218, 136, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 218, 136, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    animation: gridShift 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridShift {
0%   { background-position: 0 0, 0 0; }
100% { background-position: 32px 32px, 32px 32px; }
}

/* Lime accent line at the bottom — sharp and on-brand */
.pulse-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary-color) 30%,
        var(--secondary-color) 50%,
        var(--primary-color) 70%,
        transparent 100%
    );
    opacity: 0.7;
    animation: glowLine 4s ease-in-out infinite;
}

@keyframes glowLine {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.9; }
}

.pulse-banner__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;
}

/* "NEW" badge — lime outline with pulsing dot + blinking background */
.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(204, 252, 0, 0.08);
    border: 1px solid rgba(204, 252, 0, 0.35);
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 0.08em;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    flex-shrink: 0;
    text-shadow: 0 0 12px rgba(204, 252, 0, 0.3);
    animation: badgeBlink 2s ease-in-out infinite;
}

@keyframes badgeBlink {
    0%, 100% {
        background: rgba(204, 252, 0, 0.08);
        border-color: rgba(204, 252, 0, 0.35);
        box-shadow: 0 0 0 0 rgba(204, 252, 0, 0);
    }
    50% {
        background: rgba(204, 252, 0, 0.22);
        border-color: rgba(204, 252, 0, 0.75);
        box-shadow: 0 0 16px rgba(204, 252, 0, 0.35);
    }
}

.pulse-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 8px var(--secondary-color);
    animation: pulseDot 1.6s ease-out infinite;
}

@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 var(--lime-glow), 0 0 8px var(--secondary-color); }
    70%  { box-shadow: 0 0 0 10px rgba(204, 252, 0, 0), 0 0 8px var(--secondary-color); }
    100% { box-shadow: 0 0 0 0 rgba(204, 252, 0, 0), 0 0 8px var(--secondary-color); }
}

/* Message */
.pulse-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 400;
    min-width: 0;
}

.pulse-message .product {
    background: linear-gradient(
        90deg,
        var(--base-color) 0%,
        var(--secondary-color) 50%,
        var(--base-color) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    animation: gradientText 5s linear infinite,
                textBlink 2.2s ease-in-out infinite;
    position: relative;
}

/* Pulsing lime glow halo around the product name */
@keyframes textBlink {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(204, 252, 0, 0))
                drop-shadow(0 0 0 rgba(66, 218, 136, 0));
        opacity: 0.92;
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(204, 252, 0, 0.55))
                drop-shadow(0 0 12px rgba(66, 218, 136, 0.35));
        opacity: 1;
    }
}

@keyframes gradientText {
    to { background-position: 200% center; }
}

.pulse-message .divider {
    color: var(--base-color);
    margin: 0 4px;
    opacity: 0.7;
    font-weight: 700;
}

/* CTA — bright lime, the showstopper with a blinking glow halo */
.pulse-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--secondary-color);
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    animation: ctaBlink 1.8s ease-in-out infinite;
}

@keyframes ctaBlink {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(204, 252, 0, 0.6),
                    0 0 0 0 rgba(204, 252, 0, 0);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px 2px rgba(204, 252, 0, 0.55),
                    0 0 0 6px rgba(204, 252, 0, 0.15);
        transform: scale(1.03);
    }
}

.pulse-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.pulse-cta:hover {
    background: #d9ff1a;
    color: var(--text-color);
    transform: translateY(-1px) scale(1);
    box-shadow: 0 6px 20px var(--lime-glow),
                0 0 0 4px rgba(204, 252, 0, 0.15);
    animation-play-state: paused;
}

.pulse-cta:hover::before {
    transform: translateX(100%);
}

.pulse-cta .arrow {
    transition: transform 0.2s ease;
    font-size: 1.05rem;
    font-weight: 700;
}

.pulse-cta:hover .arrow {
    transform: translateX(3px);
}

/* Close */
.pulse-close {
    background: transparent;
    border: 1px solid rgba(232, 245, 238, 0.18);
    color: var(--text-muted);
    width: 26px;
    height: 26px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.pulse-close:hover {
    background: rgba(232, 245, 238, 0.08);
    color: var(--text-light);
    border-color: var(--base-color);
}

/* ============ HEADER ============ */
.site-header {
    background: var(--bg-deep);
    border-bottom: 1px solid rgba(232, 245, 238, 0.06);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-header nav {
    display: flex;
    gap: 28px;
}

@media (max-width: 768px) {
.site-header nav { display: none; }
}

.brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.03em;
}

.brand .accent-dot {
    color: var(--secondary-color);
    text-shadow: 0 0 12px var(--lime-glow);
}

.nav-link {
/* color: var(--text-muted) !important; */
/* font-size: 0.92rem; */
/* font-weight: 500; */
/* transition: color 0.2s ease; */
}

.nav-link:hover {
/* color: var(--text-light) !important; */
}

.header-cta {
    background: var(--primary-color);
    color: #fff;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.header-cta:hover {
    background: var(--base-color);
    color: var(--text-color);
}

/* ============ HERO ============ */
.hero {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-light);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero h1 .accent {
    color: var(--secondary-color);
    text-shadow: 0 0 24px var(--lime-glow);
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.show-again-btn {
    background: transparent;
    border: 1px solid rgba(204, 252, 0, 0.3);
    color: var(--secondary-color);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.show-again-btn:hover {
    background: rgba(204, 252, 0, 0.08);
    border-color: var(--secondary-color);
}

.pulse-banner__inner p {
    display: flex;
    gap: 15px;
    align-items: center;
}

header.header-main.sticky-top.transparent div#pulseBanner {
    display: none;
}

.header-global-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-global-menu .geo-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
    flex: 0 0 auto;
}
.header-global-menu .geo-flag-icon {
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex: 0 0 auto;
}

/* ============ MOBILE ============ */
@media (max-width: 768px) {
    .pulse-banner {
        padding: 15px 12px;
        font-size: 0.82rem;
        max-height: max-content;
    }

    .pulse-banner__inner {gap: 8px;}

    .pulse-message {
        font-size: 0.82rem;
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
        order: 2;
        line-height: 1.4;
    }

    .pulse-badge {
        order: 1;
        font-size: 0.62rem;
        padding: 3px 8px;
    }

    .pulse-cta {
        order: 3;
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .pulse-close {
        order: 4;
        width: 24px;
        height: 24px;
    }

    /* Reduce animation cost on mobile */
    .pulse-banner::before { animation-duration: 40s; }
}

@media (max-width: 420px) {
    .pulse-message .full-text { display: none; }
    .pulse-message .short-text { display: inline; }
}

@media (min-width: 421px) {
    .pulse-message .full-text { display: inline; }
    .pulse-message .short-text { display: none; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .pulse-banner,
    .pulse-banner::before,
    .pulse-banner::after,
    .pulse-badge,
    .pulse-badge .dot,
    .pulse-message .product,
    .pulse-cta {
        animation: none !important;
    }
}

/* ======================================
   RESPONSIVE MEDIA QUERIES
====================================== */

@media (max-width: 767px) {
    .pulse-banner__inner p {
        display: unset;
        text-align: center;
    }
    body.home .logo img {
        /* filter: brightness(0) invert(1); */
    }

    body.home .home--content-banner p {
        color: #F6F6F6BD;
    }
}

@media (max-width: 988px) {
    body.home header.header-main {
        /* background: transparent !important; */
        /* position: fixed; */
        /* z-index: 99; */
    }

    header.header-main {
        /* padding: 20px 0px; */
        width: 100%;
    }
    nav.navbar {
        padding: 20px 0px;
    }
    .right-icon-header {
        display: none;
    }

    .desktop-menu {
        display: none !important;
    }

    .inner--bunch {
        justify-content: space-between;
        width: 100%;
    }

    ul.sub-menu {
        background: transparent;
        position: unset;
        padding: 15px 20px;
    }

    ul.sub-menu ul.sub-menu {
        padding: 0px 20px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .main-nav > li {
        width: auto;
    }

    .main-nav > li > a {
        font-size: 12px;
        line-height: 50px;
    }

    img.dropdown-arrow {
        height: 5px;
        margin: 0px;
    }

    header .btn-yellow {
        padding: 10px;
        font-size: 12px;
    }

    .main-nav > li > a::after {
        bottom: 10px;
    }

    ul#menu-new-header-menu {
        gap: 20px;
    }

    .logo img {
        height: 25px;
    }

    .right-icon-header {
        gap: 10px;
    }

    .inner--bunch {
        gap: 30px;
    }
}

@media (max-width: 1366px) and (min-width: 1025px) {
    .main-nav > li{
    }
    .main-nav > li > a {
        font-size: 14px;
        line-height: 50px;
    }

    ul#menu-new-header-menu {
        gap: 10;
    }

    .logo img {
        height: 25px;
    }

    .right-icon-header {
        gap: 10px;
    }

    .main-nav > li > a::after {
        bottom: 10px;
    }

    .inner--bunch {
        gap: 30px;
    }

    .dropdown-menu a {
        font-size: 14px;
    }

    ul.sub-menu a {
        font-size: 14px;
        margin-bottom: 10px;
    }

    img.dropdown-arrow {
        height: 8px;
        margin: 0px;
    }

    header .btn-yellow {
        padding: 10px;
        font-size: 14px;
    }

    .header-main {
        /* padding: 10px 0; */
    }
    nav.navbar{
        padding: 10px 0 ;
    }
}

/* li.has--mega-menu::after {
	content: "";
	display: inline-block;
	position:absolute;
	width: 4px;
	height: 4px;
	margin-left: 5px;
	border-right: 1.9px solid currentColor;
	border-bottom: 1.9px solid currentColor;
	transform: rotate(45deg);
	transform-origin: center;
	vertical-align: middle;
	top: 38px;
	right: -12px;
} */
/* optional: flip the arrow when the mega menu is open */
.has--mega-menu.is-open > a::after { transform: rotate(-135deg); }


/* Header region trigger: flag + name */
.geo-globe-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.current-region-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
    flex: 0 0 auto;
}
.current-region-label {
    font-size: 14px;
    font-weight: 600;
    color: #0f1b17;
    white-space: nowrap;
}

/* Mobile region dropdown — flags aligned left, override the space-between */
.mobile-region-submenu a {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 10px;
    padding: 12px 16px 12px 32px;
}
.mobile-region-submenu .geo-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
    flex: 0 0 auto;
}
.mobile-region-submenu .geo-flag-icon {
    width: 20px;
    font-size: 15px;
    text-align: center;
    flex: 0 0 auto;
    color: #fff;
}
.mobile-region-submenu li.geo-current a {
    color: var(--primary-color) !important;
    font-weight: 700;
}