/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 50px;
    padding: 0 50px;

    display: flex;
    justify-content: flex-start;   /* <-- changed */
    align-items: center;

    background: rgb(13, 16, 28, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    flex-shrink: 0;

    margin-left: auto;  /* <-- spacing now adjustable */
    margin-right: 80px;
}

.navbar .logo {
    text-decoration: none !important;
}
.navbar a {
    text-decoration: none !important;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 99;  /* <-- ADD THIS */
    position: relative; /* <-- REQUIRED to let z-index work */
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 4px;
}

.intaraa-link {
    position: relative;
    font-weight: 600;
    color: #fff;
    padding: 5px 12px;             /* smaller pill */
    border-radius: 16px;           /* tighter curve */
    background: linear-gradient(90deg, #23476f, #427a92);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease;
    display: inline-block;
    white-space: nowrap;
}

/* Hover lift */
.intaraa-link:hover {
    transform: translateY(-2px);
}

/* Smaller shimmer sized for the small pill */
.intaraa-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -90%;
    width: 70%;                     /* narrower so it fits inside */
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.55),
        transparent
    );
    transform: skewX(-20deg);
    animation: shine 2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -90%; }
    50% { left: 130%; }
    100% { left: 130%; }
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 35px;
        right: 20px;              /* Move toward the right */
        width: 200px;             /* Narrower menu */
        background: rgba(0,0,0,0.9);
        flex-direction: column;
        text-align: left;         /* Optional: cleaner alignment */
        padding: 15px 0;
        border-radius: 10px;      /* Gives a nice modern look */
        z-index: 99;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        padding: 10px 20px;
    }

    .hamburger {
        display: flex;
        margin-right: 40px;
    }

    .navbar {
        justify-content: space-between;
        padding: 0 15px;  /* left & right padding = 15px each */
    }

    .nav-links {
        margin-left: 0;   /* remove auto margin on mobile */
        margin-right: 0;
    }
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;      /* adjust based on your navbar size */
    width: auto;
    object-fit: contain;
}
