.navbar-main {
    max-width: 1440px;
    width: 100%;
    padding: 10px 50px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

.navbar-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 128px;
}

.nav-logo {
    flex: 0 0 auto;
}

.navbar-links-container {
    flex: 1;
    min-width: 0;
}

.navbar-links-container-upper,
.navbar-links-container-lower {
    padding: 16px 0;
}

.navbar-links-container-upper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.stock-price {
    display: flex;
    gap: 16px;
}

.stock-price>h3 {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.618;
    display: flex;
    align-content: center;
    color: #fff;
}

.navbar-links {
    display: flex;
    gap: 24px;
}

.navbar-links>a {
    margin-left: 24px;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.618;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-links>a:first-of-type {
    margin-left: 0px;
}

.navbar-links-container-lower {
    display: flex;
    justify-content: space-between;
    gap: 64px;
}

/* Whole login and designing for mega menu */
.mega-menu-container {
    background-color: #fff;
    padding: 50px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 90%;
    list-style: none;
    opacity: 0;
    height: auto;
    transform-origin: top;
    clip-path: inset(0 0 100% 0);
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out, clip-path 0.5s ease-in-out;
}

.mega-menu:hover .mega-menu-container {
    opacity: 1;
    height: auto;
    clip-path: inset(0 0 0 0);
}

.mega-menu-row {
    display: flex;
    align-items: flex-start;
}

.mega-menu-col {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 26px;
    align-items: flex-start;
}

.mega-menu-col:nth-child(1) {
    border-right: 1px solid #f0f2f4;
}

.mega-menu-col>h2 {
    font-family: Urbanist, sans-serif;
    font-size: 1.618rem;
    font-weight: 600;
    line-height: 1.2;
}

.mega-menu-col>h3 {
    font-family: Urbanist, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.mega-menu-col>p {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
}

.mega-menu-button {
    padding: 12px 16px;
    background-color: transparent;
    color: #000;
    text-decoration: none;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    border: 1px solid #000;
    display: flex;
    align-self: flex-start;
}

.mega-menu-col-sub-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-menu-nav-item {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    color: #000;
}

/* ------ Whole login and designing for mega menu ends ------ */


.hamburger-menu,
.navbar-mobile {
    display: none;

}

@media screen and (max-width:1024px) {
    .navbar-links-container {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }
}

@media screen and (max-width:1024px) {
    .navbar-main {
        padding: 10px 20px;
    }
}


.navbar-mobile {
    width: 100%;
    background: #fff;
    padding: 10px 20px;
    height: auto;

}

.navbar-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-mobile-body {
    margin-top: 32px;
}


.navbar-mobile-body-links {
    padding: 16px 0;
}

.nav-link-mobile {
    font-family: Urbanist, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.mobile-mega-menu {
    transition: all ease-in;
}

/* ===== mobile mega panel (slide in from right) ===== */
.mobile-mega-menu-container {
    position: fixed;
    top: 10%;
    right: 0;
    /* keep at right edge but shifted by transform */
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    z-index: 11000;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;

    /* start off-screen to the right */
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
}

/* visible state -> slide in from right to left */
.mobile-mega-menu-container.active {
    transform: translateX(0);
}

/* closing state (optional) - we keep it for clarity */
.mobile-mega-menu-container.closing {
    transform: translateX(100%);
}

/* overlay behind panel */
.mobile-mega-overlay {
    position: fixed;
    inset: 0;
    /* background: rgba(0,0,0,0.45); */
    z-index: 10900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out;
}

.mobile-mega-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

/* prevent body scroll when menu open */
.body-no-scroll {
    overflow: hidden !important;
}

/* minor styling for header/back */
.mobile-mega-menu-container .go-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    font-weight: 700;
}

.mobile-mega-menu-col:first-child {
    gap: 24px;
}

.mobile-mega-menu-col {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-mega-menu-col>h2 {
    font-family: Urbanist, sans-serif;
    font-size: 1.618rem;
    font-weight: 600;
    line-height: 1.2;
}

.mobile-mega-menu-col>h3 {
    font-family: Urbanist, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.mobile-mega-menu-col>p {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
}

.go-back {
    font-family: Plus Jakarta Sans, sans-serif;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0px;
    text-decoration: none;
    color: #000;
}

.go-back>svg {
    margin-top: 2px;
}

.mobile-mega-menu-col-sub-container {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-mega-menu-nav-item {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    text-decoration: none;
    color: #000;
}