/* Header-specific CSS only. Bootstrap remains a separate dependency. */
.brand-green-color {

    color: var(--green-brand);
}

/* ============================= */
/* ============================================
   TRAVELLING GLOW SEGMENT — NAVBAR BORDER
   ============================================ */

/* 1. Register the custom property so we can animate the conic gradient angle */
@property --glow-angle {

  syntax: "<angle>";
  initial-value: 270deg;
  inherits: false;
}

/* 2. Navbar must be positioned so pseudo-elements sit behind it */
.site-navbar {

  position: relative;
  z-index: 1;
  /* Ensure this matches your pill shape (adjust if needed) */
  border-radius: 50px;
  background: #fff; /* or your navbar bg */
  overflow: visible; /* allow glow to sit outside */
}

/* 3. Sharp glowing segment (the bright travelling border) */
.site-navbar::before {

  content: "";
  position: absolute;
  inset: -3px;                /* sit just outside navbar edge */
  border-radius: inherit;     /* copy pill rounding */
  padding: 3px;               /* thickness of the glowing border */

  /* Small bright slice that rotates around the center */
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0%,
    transparent 2%,
    #00ff88 3%,      /* bright segment start  — change color here */
    #aaffaa 5%,      /* peak brightness */
    #00ff88 7%,      /* bright segment end */
    transparent 8%,
    transparent 100%
  );

  /* Mask everything EXCEPT the border ring */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;

  /* Travel animation */
  animation: travel-glow 2.5s linear infinite;

  /* Reveal on hover only */
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

/* 4. Diffuse outer glow (blur layer) for neon bloom effect */
.site-navbar::after {

  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  padding: 3px;

  background: conic-gradient(
    from var(--glow-angle),
    transparent 0%,
    transparent 2%,
    rgba(0, 255, 136, 0.45) 3%,
    rgba(0, 255, 136, 0.45) 7%,
    transparent 8%,
    transparent 100%
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;

  animation: travel-glow 2.5s linear infinite;
  filter: blur(8px);

  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -2;
}

/* 5. Trigger on hover */
.site-navbar:hover::before,
.site-navbar:hover::after {

  opacity: 1;
}

/* 6. Keyframes: LEFT → TOP → RIGHT → BOTTOM → LEFT */
@keyframes travel-glow {

  0%   { --glow-angle: 270deg; }  /* LEFT   */
  25%  { --glow-angle: 360deg; }  /* TOP    */
  50%  { --glow-angle: 450deg; }  /* RIGHT  */
  75%  { --glow-angle: 540deg; }  /* BOTTOM */
  100% { --glow-angle: 630deg; }  /* LEFT   (270 + 360) */
}

.site-navbar-box {

    margin-bottom: 30px;
}

.mobile-menu-toggle {

    display: none;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #101010;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease;
}

.mobile-menu-toggle:hover {

    transform: translateY(-1px);
}

.mobile-menu-toggle span {

    display: block;

    width: 18px;
    height: 1.8px;

    border-radius: 2px;

    background: #fff;

    transition:
        transform .3s ease,
        opacity .2s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {

    transform: translateY(6.8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {

    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {

    transform: translateY(-6.8px) rotate(-45deg);
}

/* ------------------ */
.mobile-menu-overlay {

    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(10, 20, 15, .48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.mobile-menu-overlay.active {

    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}

.mobile-menu {

    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 80vw;
    max-width: 360px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: #ffffff;
    box-shadow:
        12px 0 40px rgba(20, 35, 25, .15);
    transform: translate3d(-100%, 0, 0);
    visibility: hidden;
    transition:
        transform .42s cubic-bezier(.22, 1, .36, 1),
        visibility .42s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {

    transform: translate3d(0, 0, 0);

    visibility: visible;
}

.mobile-menu-header {

    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 58px;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(20, 30, 25, .08);
}

.mobile-menu-header .brand-tm {

    position: absolute;
    top: 0.8em;
    right: 1.99em;
    font-size: 0.90em;
    font-weight: 400;
    line-height: 1;
    color: #212529;
}

.mobile-menu-brand {

    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #151515;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
}

.mobile-menu-brand img {

    width: 38px;
    height: 38px;

    object-fit: contain;
}

.mobile-menu-brand span span {

    color: #198754;
}

.mobile-menu-close {

    position: relative;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #f1f1ef;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease;
}

.mobile-menu-close:hover {

    background: #e7e7e4;

    transform: rotate(5deg);
}

.mobile-menu-close span {

    position: absolute;
    left: 12px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #151515;
}

.mobile-menu-close span:first-child {

    transform: rotate(45deg);
}

.mobile-menu-close span:last-child {

    transform: rotate(-45deg);
}

.mobile-menu-nav {

    display: flex;

    flex-direction: column;

    padding-top: 28px;
}

.mobile-menu-nav a {

    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(20, 30, 25, .08);
    color: #151515;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    transition:
        color .2s ease,
        padding-left .25s ease;
}

.mobile-menu-nav a:hover {

    padding-left: 8px;

    color: #198754;
}

.mobile-menu-nav a i {

    font-size: 17px;

    opacity: .45;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.mobile-menu-nav a:hover i {

    opacity: 1;

    transform: translate(3px, -3px);
}

.mobile-menu-bottom {

    margin-top: auto;

    padding-top: 25px;
}

.mobile-login-btn {

    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 28px;
    background: #eeeeee;
    color: #151515;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease;
}

.mobile-login-btn:hover {

    background: #e4e4e4;

    transform: translateY(-1px);
}

body.mobile-menu-open {

    overflow: hidden;
}

@media (max-width: 575.98px) {
.site-navbar {

        width: calc(100% - 20px);

        min-height: 64px;

        margin-top: 14px;

        padding: 7px 9px 7px 14px;
}

.brand {

        font-size: 19px;

        letter-spacing: -1px;
}

.brand img {

        width: 36px;
        height: 36px;
}

.mobile-menu-toggle {

        width: 43px;
        height: 43px;
}

.mobile-menu {

        width: 80vw;

        max-width: 340px;

        padding: 18px;
}

.mobile-menu-nav {

        padding-top: 20px;
}

.mobile-menu-nav a {

        min-height: 58px;

        font-size: 18px;
}
}

@media (max-width: 359.98px) {
.site-navbar {

        width: calc(100% - 16px);

        margin-top: 10px;
}

.brand {

        font-size: 17px;
}

.brand img {

        width: 32px;
        height: 32px;
}

.mobile-menu-toggle {

        width: 40px;
        height: 40px;
}

.mobile-menu {

        padding: 16px;
}
}

.nav-actions .nav-icon {

    color: black;
    font-size: 24px;
}

.nav-actions a {
 
    align-items: center;
    gap: 20px;
}

.brand-name {

    position: relative;
    display: inline-block;
    line-height: 1;
}

.brand-tm {

    position: absolute;
    top: .0em;
    right: -0.8em;
    font-size: 0.90em;
    font-weight: 400;
    line-height: 1;
    color: #212529;
}

.site-navbar {

    position: relative;
    z-index: 20;
    width: min(970px, calc(100% - 32px));
    min-height: 80px;
    margin: 25px auto 0;
    padding: 6px 29px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 48px; 
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* =================== */



/* =================== */

.brand {

    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #151515;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1.25px;
    white-space: nowrap;
}

.brand-mark {

    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
}

.brand img {

    width: 45px;
    height: 45px;
}

.brand-mark::before,
.brand-mark::after {

    content: "";
    position: absolute;
    background: #151515;
    border-radius: 4px;
    transform: rotate(45deg);
}

.brand-mark::before {

    width: 11px;
    height: 6px;
    left: 1px;
    top: 9px;
}

.brand-mark::after {

    width: 11px;
    height: 6px;
    right: 0;
    top: 5px;
}

.brand-dot {

    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    top: 1px;
    left: 7px;
    z-index: 2;
}

.brand-yellow {

    color: #f5bd00;
}

.nav-links {

    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 38px;
}

.nav-links a {

    color: #161616;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {

    opacity: 0.58;
    color: #077c07;
}

.nav-actions {

    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.nav-btn {

    border: 0;
    height: 59px;
    padding: 0 31px;
    border-radius: 32px;
    font: inherit;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-btn:hover {

    transform: translateY(-1px);
}

.login-btn {

    background: #eeeeee;
    color: #171717;
    min-width: 111px;
}

.start-btn {

    background: var(--yellow);
    color: #111;
    min-width: 170px;
}

@media (max-width: 991.98px) {
/* Hide desktop navigation */
.nav-links {

    display: none;
}

.mobile-menu-toggle {

    display: inline-flex;
}

.site-navbar {

    width: calc(100% - 24px);
    min-height: 68px;
    margin-top: 22px;
    padding: 8px 12px 8px 18px;
    border-radius: 35px;
}

.site-navbar {

min-height: 78px;
padding: 9px 18px;
}

.brand {

    font-size: 21px;
}

.brand img {

    width: 40px;
    height: 40px;
}

.nav-actions {

    gap: 8px;
}

.nav-actions .login-btn {

    display: none;
}

.nav-actions a {

    display: none !important;
}

.nav-links {

gap: 20px;
margin-left: 25px;
}

.nav-links a {

font-size: 15px;
}

.nav-btn {

height: 51px;
padding: 0 22px;
font-size: 15px;
}

.login-btn {

min-width: 92px;
}

.start-btn {

min-width: 140px;
}
}

@media (max-width: 767.98px) {
.site-navbar {

width: calc(100% - 24px);
min-height: 68px;
border-radius: 35px;
padding: 8px 12px 8px 18px;


position: fixed;
left: 12px;
top: -8px;
background: #f1f1f1;
}

.brand {

font-size: 21px;
}

.nav-links {

display: none;
}

.nav-actions {

gap: 7px;
}

.nav-btn {

height: 49px;
padding: 0 17px;
font-size: 14px;
}

.login-btn {

min-width: 74px;
}

.start-btn {

min-width: 116px;
}
}

@media (max-width: 480px) {
.brand {

font-size: 24px;
letter-spacing: -1px;
}

.brand-mark {

transform: scale(0.85);
transform-origin: left center;
margin-right: -2px;
}

.nav-btn {

height: 44px;
padding: 0 12px;
font-size: 13px;
}

.login-btn {

min-width: 67px;
}

.start-btn {

min-width: 98px;
}
}

@media (max-width: 767.98px) {
.mobile-menu-brand {

        font-size: 36px;
}
}


/* Responsive header rule preserved from the original stylesheet. */
@media (max-width: 767.98px) {
    .site-navbar-box {
        margin-bottom: 19px;
    }
}
