html {
    scroll-behavior: smooth;
}


/* Base Navbar */
.navbar {
    position: fixed;
    top: 20px;
    /* gives space from top */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(248, 207, 132, 0.623);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: 0.3s ease-in;
}


.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px;
}

/* Logo */
.logo img {
    height: 50px;
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: var(--text-black);
    /* or your color */
    transition: transform 0.3s;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    /* adjust as needed */
    width: 100%;
    height: 2px;
    background: var(--color-400);
    /* your accent color */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links li a:hover {
    transform: scale(1.05);
}

.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-icons img {
    width: 28px;
    height: 28px;
    margin-left: 10px;
    object-fit: contain;
    transition: transform 0.3s;
    display: block;
}

.nav-icons a {
    display: inline-block;
}

.nav-icons img {
    display: block;
}

.nav-icons a:hover img {
    transform: scale(1.2);
}

.hamburger {
    font-size: 2rem;
    cursor: pointer;
    display: none;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
}

.mobile-icons {
    display: flex;
    align-items: center;
    gap: 40px;
    /* spacing between icons */
    margin-top: 20px;
    justify-content: center;
    /* center them in mobile menu */
}

.mobile-icons a img {
    width: 28px;
    /* or whatever size you used in nav-icons */
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.mobile-icons a:hover img {
    transform: scale(1.2);
}

/* Responsive: show hamburger, hide desktop nav */
@media (max-width: 992px) {

    .nav-links,
    .nav-icons {
        display: none;
    }

    .hamburger {
        display: block;
    }
}