/* General */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #124170;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #DDF4E7;
}

/* Navbar */
.navbar {
    border-radius: 2rem;
    position: fixed;
    top: 10px; /* reduced for small screens */
    left: 0;
    right: 0;
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.1rem 1rem; /* slightly reduced for mobile balance */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-sizing: border-box;

    /* Glass Effect */
    background: rgba(18, 65, 112, 0.35);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(103, 192, 144, 0.18);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Container (aligns with navbar max width) */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Logo */
.logo {
    font-size: 1.4rem;
    font-weight: bold;
    word-break: break-word; /* prevents overflow on tiny screens */
}

/* Nav Links (Desktop) */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #DDF4E7;
    transition: color 0.3s;
}
  
.nav-links a:hover {
    color: #67C090;
}

/* Hamburger Icon */
.menu-icon {
    display: none;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 767px) {

    .hero-section {
        padding-top: 9rem; /* keep breathing room below navbar */
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        z-index: 3000;
    }

    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 80px;
        right: 5%;
        width: 90%;
        padding: 1rem 0;
        border-radius: 1rem;

        /* Glass effect for dropdown */
        background: rgba(18, 65, 112, 0.95);
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
        border: 1px solid rgba(103, 192, 144, 0.18);
        box-shadow: 0 8px 25px rgba(0,0,0,0.25);
        z-index: 2000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        padding: 0.7rem 0;
        color: #DDF4E7;
        font-size: 1rem;
    }

    .nav-links li a:hover {
        transform: translateY(-3px);
        color: #67C090;
    }
}
