/* =========================================================
   SITE THEME (loaded on every page from includes/header.php)
   Brand polish + global animations shared by the whole site.
   Js/site-theme.js adds the progress bar, back-to-top button,
   button shine and click ripples.
   ========================================================= */

:root {
    --st-green: #19a985;
    --st-green-dark: #12655f;
    --st-forest: #092c2a;
    --st-blue: #118ba7;
    --st-gold: #ffae00;
    --st-mint: #e1f7f1;
}

/* ---------- Global polish ---------- */
html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--st-green);
    color: #fff;
}

/* Slim branded scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--st-green) #eef5f4;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #eef5f4;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--st-green), var(--st-green-dark));
    border-radius: 10px;
    border: 2px solid #eef5f4;
}

/* Keyboard focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(25, 169, 133, 0.45);
    outline-offset: 2px;
}

/* Page fades in on load */
body {
    animation: stPageIn 0.6s ease both;
}

@keyframes stPageIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---------- Scroll progress bar (created by JS) ---------- */
#st-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    z-index: 100000;
    transform-origin: left;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--st-green), #67e5c4, var(--st-gold));
    box-shadow: 0 0 10px rgba(25, 169, 133, 0.6);
    pointer-events: none;
}

/* ---------- Back-to-top button with progress ring (created by JS) ---------- */
#st-top {
    position: fixed;
    right: 26px;
    bottom: 96px;
    z-index: 9998;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    background: #fff;
    color: var(--st-green-dark);
    box-shadow: 0 8px 22px rgba(9, 44, 42, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s, background 0.3s ease, color 0.3s ease;
}

#st-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

#st-top:hover {
    background: var(--st-green);
    color: #fff;
}

#st-top svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

#st-top circle {
    fill: none;
    stroke-width: 3;
}

#st-top .st-ring-bg { stroke: #e1efec; }
#st-top .st-ring    { stroke: var(--st-green); stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }

#st-top i {
    position: relative;
    font-size: 16px;
    transition: transform 0.3s ease;
}

#st-top:hover i {
    transform: translateY(-3px);
}

/* ---------- Header ---------- */
.top-bar {
    background: linear-gradient(120deg, #092c2a 0%, #12655f 45%, #1c8d78 70%, #12655f 100%) !important;
    background-size: 220% 220% !important;
    animation: stGradient 14s ease infinite;
}

@keyframes stGradient {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Gold underline that sweeps in under top-bar links */
.top-bar .nav-links > a,
.top-bar .nav-links .dropdown > a {
    position: relative;
}

.top-bar .nav-links > a::after,
.top-bar .nav-links .dropdown > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--st-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.top-bar .nav-links > a:hover::after,
.top-bar .nav-links .dropdown:hover > a::after {
    transform: scaleX(1);
}

/* Dropdown items cascade in */
.top-bar .sub-links {
    border-top: 3px solid var(--st-green) !important;
}

.top-bar .dropdown:hover .sub-links a {
    animation: stDropIn 0.35s ease both;
}

.top-bar .dropdown:hover .sub-links a:nth-child(2) { animation-delay: 0.03s; }
.top-bar .dropdown:hover .sub-links a:nth-child(3) { animation-delay: 0.06s; }
.top-bar .dropdown:hover .sub-links a:nth-child(4) { animation-delay: 0.09s; }
.top-bar .dropdown:hover .sub-links a:nth-child(5) { animation-delay: 0.12s; }
.top-bar .dropdown:hover .sub-links a:nth-child(6) { animation-delay: 0.15s; }
.top-bar .dropdown:hover .sub-links a:nth-child(7) { animation-delay: 0.18s; }
.top-bar .dropdown:hover .sub-links a:nth-child(n+8) { animation-delay: 0.21s; }

@keyframes stDropIn {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: none; }
}

/* Frosted glass header once the page is scrolled */
#mainHeader.scrolled {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    box-shadow: 0 8px 28px rgba(9, 44, 42, 0.12) !important;
}

.nav-logo img {
    transition: transform 0.4s ease, height 0.3s ease;
}

.nav-logo a:hover img {
    transform: scale(1.05) rotate(-1deg);
}

/* "View All" pill in the service row */
.nav-box > .nav-links a:last-child {
    background: linear-gradient(135deg, var(--st-green), var(--st-green-dark)) !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 16px rgba(25, 169, 133, 0.3);
}

/* ---------- Buttons: lift + shine (shine element added by JS) ---------- */
.st-fx {
    overflow: hidden;
    isolation: isolate;
}

.st-shine {
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 1;
}

.st-fx:hover .st-shine {
    animation: stShine 0.85s ease;
}

@keyframes stShine {
    to { left: 140%; }
}

/* Click ripple */
.st-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: stRipple 0.65s ease-out forwards;
    pointer-events: none;
    z-index: 1;
}

@keyframes stRipple {
    to { transform: scale(4); opacity: 0; }
}

/* ---------- Forms across the site ---------- */
.form-group input,
.form-group select,
.form-group textarea,
.inquiry-form-card input,
.inquiry-form-card textarea,
.contact-section input,
.contact-section select,
.contact-section textarea {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.inquiry-form-card input:focus,
.inquiry-form-card textarea:focus,
.contact-section input:focus,
.contact-section select:focus,
.contact-section textarea:focus {
    outline: none;
    border-color: var(--st-green) !important;
    box-shadow: 0 0 0 4px rgba(25, 169, 133, 0.14) !important;
    background: #fff;
}

.submit-btn,
.submit-inquiry-btn {
    background: linear-gradient(135deg, var(--st-green), var(--st-green-dark)) !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 22px rgba(25, 169, 133, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.submit-btn:hover,
.submit-inquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(25, 169, 133, 0.4);
}

/* ---------- "OUR SERVICES" on location pages: same light look as the homepage ----------
   Those pages set a dark inline background and a white heading. */
section.services-sec[style] {
    background-color: #effaf7 !important;
    background-image:
        radial-gradient(circle at 12% 15%, rgba(25, 169, 133, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 88% 88%, rgba(17, 139, 167, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #f5fcfa 0%, #e1f7f1 100%) !important;
}

section.services-sec[style] .services-sec-heading h2 {
    color: #0a272f !important;
}

/* Service cards: image zoom + lift everywhere they appear */
.services-sec .waste-card {
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease, border-color 0.45s ease !important;
}

.services-sec .waste-card img {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-sec .waste-card:hover img {
    transform: scale(1.07);
}

/* ---------- Location pages: locality cards ---------- */
.locality-card {
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease !important;
}

.locality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 44px rgba(9, 44, 42, 0.22) !important;
}

.locality-card img {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.locality-card:hover img {
    transform: scale(1.08);
}

.locality-link i {
    transition: transform 0.3s ease;
}

.locality-card:hover .locality-link i {
    transform: translateX(6px);
}

/* ---------- Contact page ---------- */
.contact-section .contact-icons {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-section .contact-icons:hover {
    transform: translateY(-4px);
}

.contact-section .contact-icons i {
    transition: transform 0.5s ease;
}

.contact-section .contact-icons:hover i {
    transform: rotateY(360deg);
}

/* ---------- Footer ---------- */
body .zk-footer {
    background:
        radial-gradient(circle at 8% 20%, rgba(25, 169, 133, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 92% 80%, rgba(17, 139, 167, 0.14) 0%, transparent 35%),
        linear-gradient(135deg, #071716 0%, #092c2a 55%, #0b3431 100%);
    overflow: hidden;
}

/* Animated colour line along the top of the footer */
body .zk-footer::before {
    background: linear-gradient(90deg, #19a985, #ffae00, #118ba7, #19a985) !important;
    background-size: 300% 100% !important;
    animation: stFlow 8s linear infinite;
}

@keyframes stFlow {
    to { background-position: 300% 0; }
}

body .zk-footer-col ul li a {
    transition: color 0.3s ease, transform 0.3s ease !important;
}

body .zk-footer-col ul li a:hover {
    color: var(--st-gold) !important;
    transform: translateX(6px);
}

body .zk-footer-social a {
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease !important;
}

body .zk-footer-social a:hover {
    transform: translateY(-5px) rotate(8deg) !important;
    background: var(--st-gold) !important;
    color: var(--st-forest) !important;
    box-shadow: 0 10px 20px rgba(255, 174, 0, 0.3);
}

/* ---------- WhatsApp button: pulsing rings ---------- */
.whatsapp-float::before,
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: stPulse 2.4s ease-out infinite;
    pointer-events: none;
}

.whatsapp-float::after {
    animation-delay: 1.2s;
}

@keyframes stPulse {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body,
    .top-bar,
    body .zk-footer::before,
    .whatsapp-float::before,
    .whatsapp-float::after {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    #st-top {
        right: 18px;
        bottom: 88px;
        width: 44px;
        height: 44px;
    }
}

/* =====================================================================
   HEADER upgrade — shimmering top bar, ringing phone, dotted header
   strip with a flowing colour line, livelier nav links + hamburger.
   ===================================================================== */
.top-bar { isolation: isolate; }
/* light sweep across the top bar (background-position only, so nothing
   overflows and the top-bar dropdowns are not clipped) */
.top-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent) -60% 0 / 30% 100% no-repeat;
    animation: hdSweep 7s ease-in-out infinite;
    pointer-events: none;
}
/* faint dot texture on the top bar */
.top-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.4px) 0 0 / 14px 14px;
    pointer-events: none;
}
.top-bar .info-box i { display: inline-block; color: #ffae00; }
.top-bar .info-box:first-child i { animation: hdRing 3.5s ease-in-out infinite; }
.top-bar .info-box:hover i { animation: hdHop 0.6s ease; }

/* white nav strip: soft dots + glows */
#mainHeader {
    background:
        radial-gradient(circle at 0% 100%, rgba(25, 169, 133, 0.10) 0, rgba(25, 169, 133, 0) 22%),
        radial-gradient(circle at 100% 0%, rgba(255, 174, 0, 0.10) 0, rgba(255, 174, 0, 0) 20%),
        radial-gradient(rgba(25, 169, 133, 0.10) 1px, transparent 1.4px) 0 0 / 18px 18px,
        #ffffff;
}
/* flowing teal → amber → ocean line under the header */
#mainHeader::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #19a985, #ffae00, #0992b2, #19a985) 0 0 / 300% 100%;
    animation: stFlow 8s linear infinite;
    pointer-events: none;
}

/* nav links: underline grows from the centre, text lifts */
.nav-box > .nav-links a { transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease; }
.nav-box > .nav-links a::after {
    left: 14px; right: 14px;
    background: linear-gradient(90deg, #19a985, #ffae00) !important;
    transform-origin: center !important;
}
.nav-box > .nav-links a:not(:last-child):hover { transform: translateY(-2px); }
/* "View All" pill: soft glow pulse + shine */
.nav-box > .nav-links a:last-child { overflow: hidden; animation: hdGlow 2.8s ease-in-out infinite; }
.nav-box > .nav-links a:last-child::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    animation: hdShine 3.5s ease-in-out infinite;
    pointer-events: none;
}

/* hamburger: teal gradient tile that turns on hover */
.hamburger-menu {
    background: linear-gradient(135deg, #19a985, #12655f) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 16px rgba(25, 169, 133, 0.3);
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}
.hamburger-menu i { color: #fff !important; }
.hamburger-menu:hover { transform: rotate(90deg) scale(1.05); box-shadow: 0 10px 22px rgba(25, 169, 133, 0.4); }

@keyframes hdSweep { 0% { background-position: -60% 0; } 60%, 100% { background-position: 160% 0; } }
@keyframes hdRing {
    0%, 50%, 100% { transform: rotate(0); }
    5%, 15%, 25% { transform: rotate(-16deg); }
    10%, 20%, 30% { transform: rotate(16deg); }
}
@keyframes hdHop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes hdGlow { 0%, 100% { box-shadow: 0 6px 16px rgba(25, 169, 133, 0.3); } 50% { box-shadow: 0 6px 22px rgba(25, 169, 133, 0.55), 0 0 0 4px rgba(25, 169, 133, 0.12); } }
@keyframes hdShine { 0% { left: -60%; } 55%, 100% { left: 130%; } }

/* =====================================================================
   FOOTER upgrade — circuit pattern, turning recycle watermark, floating
   leaf, gradient headings, always-visible aligned list icons, social
   rings, and a two-line bottom bar with copyright.
   ===================================================================== */
body .zk-footer {
    isolation: isolate;
    background:
        radial-gradient(circle at 8% 20%, rgba(25, 169, 133, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 92% 80%, rgba(17, 139, 167, 0.14) 0%, transparent 35%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%2319a985' stroke-opacity='.10' stroke-width='1.4'%3E%3Cpath d='M0 40h40l20 20h40l20-20h40M40 160v-40l20-20h40M120 0v30l20 20v40l20 20'/%3E%3C/g%3E%3Cg fill='%2319a985' fill-opacity='.16'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='100' cy='60' r='3'/%3E%3Ccircle cx='100' cy='100' r='3'/%3E%3Ccircle cx='140' cy='90' r='3'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 160px 160px,
        linear-gradient(135deg, #071716 0%, #092c2a 55%, #0b3431 100%);
}
/* big recycle symbol turning, bottom-right */
body .zk-footer::after {
    content: "\f1b8";
    position: absolute;
    right: -70px;
    bottom: -80px;
    z-index: -1;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 360px;
    line-height: 1;
    color: rgba(25, 169, 133, 0.06);
    animation: srSpinSlow 80s linear infinite;
    pointer-events: none;
}
/* leaf floating, top-left */
body .zk-footer-container::before {
    content: "\f06c";
    position: absolute;
    top: -30px;
    left: -40px;
    z-index: -1;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 180px;
    line-height: 1;
    color: rgba(255, 174, 0, 0.05);
    animation: ftLeaf 9s ease-in-out infinite;
    pointer-events: none;
}

body .zk-footer-col:first-child p strong { color: #ffffff; font-weight: 600; }

/* headings: gradient bar that grows on hover */
body .zk-footer-col h4::after {
    background: linear-gradient(90deg, #19a985, #ffae00) !important;
    width: 46px;
}
body .zk-footer-col:hover h4::after { width: 80px; }

/* list icons always shown, fixed width so every row lines up */
body .zk-footer-col ul:not(.zk-contact) li a i {
    opacity: 0.85 !important;
    transform: none !important;
    width: 16px;
    text-align: center;
    flex: 0 0 16px;
    color: #19a985 !important;
}
body .zk-footer-col ul:not(.zk-contact) li a:hover i {
    color: #ffae00 !important;
    animation: ftSwing 0.6s ease;
}

/* contact cards: soft glass on hover */
body .zk-contact li { border-radius: 0 10px 10px 0; transition: background 0.3s ease, border-left-color 0.3s ease; }
body .zk-contact li:hover { background: rgba(255, 255, 255, 0.04); border-left-color: #ffae00 !important; }

/* social: pulse ring */
body .zk-footer-social a { position: relative; }
body .zk-footer-social a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(25, 169, 133, 0.6);
    animation: stPulse 2.6s ease-out infinite;
    pointer-events: none;
}
body .zk-footer-social a:nth-child(2)::after { animation-delay: 0.8s; }
body .zk-footer-social a:nth-child(3)::after { animation-delay: 1.6s; }

/* bottom bar: flowing line + copyright */
body .zk-footer-bottom {
    position: relative;
    border-top: 0 !important;
}
body .zk-footer-bottom::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #19a985, #ffae00, #19a985, transparent);
    opacity: 0.6;
}
body .zk-footer-bottom .zk-copy {
    display: block;
    margin-top: 6px;
    background: none;
    font-size: 0.8rem;
    color: rgba(206, 235, 232, 0.7);
}

@keyframes ftLeaf { 0%, 100% { translate: 0 0; rotate: -10deg; } 50% { translate: 16px 18px; rotate: 8deg; } }
@keyframes ftSwing { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-18deg); } 60% { transform: rotate(14deg); } }
@keyframes srSpinSlow { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
    body .zk-footer::after { font-size: 220px; right: -50px; bottom: -50px; }
    body .zk-footer-container::before { font-size: 120px; left: -20px; }
}

@media (prefers-reduced-motion: reduce) {
    .top-bar::before, .top-bar .info-box i,
    #mainHeader::after,
    .nav-box > .nav-links a:last-child, .nav-box > .nav-links a:last-child::before,
    body .zk-footer::after, body .zk-footer-container::before,
    body .zk-footer-social a::after { animation: none !important; }
}

/* =====================================================================
   HEADER — E-Waste Mart style (overrides the earlier header upgrade):
   • top bar: solid brand gradient, icons in round chips, amber CTA
   • logo/menu row: pastel gradient + dot grid whose colours change
     every ~2.5 s, with two faint recycle symbols slowly turning
   ===================================================================== */

/* ---- Top bar ---- */
.top-bar {
    background: linear-gradient(90deg, #0b4f4a 0%, #12655f 55%, #19a985 100%) !important;
    background-size: 100% 100% !important;
    animation: none !important;
}
.top-bar::before,
.top-bar::after { content: none !important; }

.top-bar .top-bar-right { gap: 18px; align-items: center; }
.top-bar .info-box { display: inline-flex; align-items: center; gap: 8px; }
.top-bar .info-box i {
    width: 26px;
    height: 26px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
    font-size: 11px;
    transition: background 0.3s ease, color 0.3s ease;
}
.top-bar .info-box:hover i { background: #ffae00; color: #092c2a !important; }
.top-bar .info-box a:hover { color: #ffae00 !important; }

.tb-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 50px;
    background: #ffae00;
    color: #092c2a !important;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 174, 0, 0.35);
    transition: background 0.25s ease, transform 0.25s ease;
}
.tb-cta:hover { background: #ffc340; transform: translateY(-1px); }
.tb-cta i { font-size: 12px; }

/* ---- Logo / menu row: colour-changing pastel band ---- */
@property --nav-a { syntax: "<color>"; inherits: false; initial-value: #b6e6d6; }
@property --nav-b { syntax: "<color>"; inherits: false; initial-value: #ffe58f; }

#mainHeader {
    background:
        radial-gradient(rgba(25, 169, 133, 0.13) 1px, transparent 1.3px) 0 0 / 16px 16px,
        linear-gradient(90deg, var(--nav-a) 0%, #f7fbf9 50%, var(--nav-b) 100%) !important;
    animation: srNavColors 12.5s ease-in-out infinite;
}
#mainHeader.scrolled {
    background:
        radial-gradient(rgba(25, 169, 133, 0.13) 1px, transparent 1.3px) 0 0 / 16px 16px,
        linear-gradient(90deg, var(--nav-a) 0%, rgba(247, 251, 249, 0.95) 50%, var(--nav-b) 100%) !important;
}

/* 5 colour pairs, each held ~2.5 s */
@keyframes srNavColors {
    0%, 16%  { --nav-a: #b6e6d6; --nav-b: #ffe58f; }  /* teal / yellow   */
    20%, 36% { --nav-a: #b9d9f5; --nav-b: #b6e6d6; }  /* blue / teal     */
    40%, 56% { --nav-a: #fcc994; --nav-b: #b9d9f5; }  /* orange / blue   */
    60%, 76% { --nav-a: #d6c5f0; --nav-b: #fcc994; }  /* purple / orange */
    80%, 96% { --nav-a: #ffe58f; --nav-b: #d6c5f0; }  /* yellow / purple */
    100%     { --nav-a: #b6e6d6; --nav-b: #ffe58f; }
}

/* faint recycle symbols turning in the band */
#mainHeader .nav-box { position: relative; }
#mainHeader .nav-box::before,
#mainHeader .nav-box::after {
    content: "\f1b8";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    margin-top: -35px;
    font-size: 70px;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    animation: srSpinSlow 50s linear infinite;
}
#mainHeader .nav-box::before { left: 24%; color: rgba(25, 169, 133, 0.07); }
#mainHeader .nav-box::after  { right: 30%; color: rgba(255, 174, 0, 0.16); animation-direction: reverse; }
#mainHeader .nav-box > * { position: relative; z-index: 1; }

/* menu links: dark text, teal underline like E-Waste Mart */
.nav-box > .nav-links a:not(:last-child) { color: #1d2b2a; font-weight: 600; }
.nav-box > .nav-links a:not(:last-child):hover { color: #12655f; background: rgba(255, 255, 255, 0.55); }

@media (max-width: 767px) {
    #mainHeader .nav-box::before { left: 46%; font-size: 54px; margin-top: -27px; }
    #mainHeader .nav-box::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    #mainHeader,
    #mainHeader .nav-box::before,
    #mainHeader .nav-box::after { animation: none !important; }
}
