

/* Spacing from "Contact Us" */
.nav-btn-highlight {
    list-style: none;
    margin-left: 22px;
    display: flex;
    align-items: center;
}

/* Gradient pill */
.nav-btn-highlight a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 9px 24px 9px 16px !important;
    overflow: hidden;
    isolation: isolate;

    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;

    background: linear-gradient(135deg, #00d97e 0%, #00be6f 45%, #00945a 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50px;
    box-shadow:
        0 4px 14px rgba(0, 190, 111, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);

    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    animation: tmGlow 2.4s ease-in-out infinite;
}

/* Ribbon icon (TMR se pehle) */
.nav-btn-highlight .tm-ribbon {
    flex: 0 0 auto;
    display: inline-flex;
    width: 25px;
    height: 30px;
    transform-origin: 50% 10%;
    filter: drop-shadow(0 2px 3px rgba(80, 0, 20, 0.45));
    animation: tmRibbonSway 2.6s ease-in-out infinite;
}

.nav-btn-highlight .tm-ribbon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-btn-highlight .tm-label {
    line-height: 1;
}

/* Diagonal shine sweep */
.nav-btn-highlight a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    animation: tmShine 3.5s ease-in-out infinite;
}

/* Hover */
.nav-btn-highlight a:hover {
    transform: translateY(-2px) scale(1.04);
    filter: brightness(1.08);
    box-shadow:
        0 8px 22px rgba(0, 190, 111, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    animation-play-state: paused;
}

.nav-btn-highlight a:hover .tm-ribbon {
    animation-play-state: paused;
}

.nav-btn-highlight a:active {
    transform: translateY(0) scale(0.98);
}

.nav-btn-highlight a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Animations */
@keyframes tmGlow {
    0%, 100% { box-shadow: 0 4px 14px rgba(0,190,111,.45), 0 0 0 0 rgba(255,255,255,.45), inset 0 1px 0 rgba(255,255,255,.35); }
    60%      { box-shadow: 0 4px 14px rgba(0,190,111,.45), 0 0 0 10px rgba(255,255,255,0), inset 0 1px 0 rgba(255,255,255,.35); }
}

@keyframes tmShine {
    0%, 55%  { left: -80%; }
    100%     { left: 140%; }
}

@keyframes tmRibbonSway {
    0%, 100% { transform: rotate(-7deg); }
    50%      { transform: rotate(7deg); }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    .nav-btn-highlight a,
    .nav-btn-highlight a::before,
    .nav-btn-highlight .tm-ribbon { animation: none; }
}

/* Small screens: full-width inside the mobile menu */
@media (max-width: 991px) {
    .nav-btn-highlight { margin: 12px 0; }
    .nav-btn-highlight a { justify-content: center; width: 100%; }
}