/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.logo h1 {
    color: #ECF0F1;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4rem;
}

.nav-links a {
    text-decoration: none;
    color: #ECF0F1;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.nav-links a::after,
.nav-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #34495E, #7F8C8D);
    left: 0;
    transform: scaleX(0);
    transition: transform 0.4s ease-out;
}

.nav-links a::after {
    bottom: -5px;
    transform-origin: right;
}

.nav-links a::before {
    top: -5px;
    transform-origin: left;
}

.nav-links a:hover::after,
.nav-links a:hover::before {
    transform: scaleX(1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: #ECF0F1;
    transition: all 0.3s ease;
}