html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
body { overflow-x: hidden; }
.navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px !important;
    background-color: #3d4e6f !important;
    position: relative !important; 
}

.logo {
    height: 50px; /* Adjust as needed */
}

.nav-menu {
    display:flex;               /* no flex-direction here; defaults to row */
  gap: 16px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 18px;
}
.hamburger{
  display:block;
  font-size:28px;
  line-height:1;
  width:44px; height:44px;
  color:#fff; background:none; border:0; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.hamburger:focus-visible{ outline:2px solid #0ff; outline-offset:2px; }

.nav-menu a:hover {
    color: #0ff; /* Neon hover effect */
}

.cta-button {
    color: #fff;
    background-color: #ff0;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #0ff;
}
.hamburger {
    display: none; /* Hidden by default, visible on mobile */
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000; /* Ensure it stays on top */
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #3d4e6f;
        position: fixed; /* Covers the entire screen */
        top: 0;
        left: 0;
        height: 100%; /* Full screen height */
        width: 100%; /* Full screen width */
        z-index: 1000;
        opacity: 0;
        transform: scale(0.9);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.show {
        display: flex;
        opacity: 1;
        transform: scale(1); /* Smooth zoom-in effect */
    }

    .nav-menu a {
        padding: 15px;
        font-size: 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #444;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .cta-button {
        font-size: 18px;
        padding: 12px 20px;
    }
}
@media (max-width: 480px) {
    .nav-menu a {
        font-size: 18px;
    }

    .cta-button {
        font-size: 16px;
    }
}
@media (max-width: 768px){
  .nav-menu{
    display: none;            /* hidden until opened */
    position: fixed;
    inset: 0;                 /* top/right/bottom/left:0 */
    background: #3d4e6f;
    z-index: 1000;

    /* stack items vertically */
    flex-direction: column !important;
    justify-content: center;
    align-items: center;

    /* your animation */
    opacity: 0;
    transform: scale(.9);
    transition: opacity .3s ease, transform .3s ease;
  }

  .nav-menu.show{
    display: flex;
    opacity: 1;
    transform: scale(1);
  }

  .nav-menu a{
    display:block;
    width: 100%;
    padding: 15px 24px;
    text-align: center;
    font-size: 20px;
    border-bottom: 1px solid #444;
  }

  .nav-menu a:last-child{ border-bottom: none; }
}

/* optional: prevent background scroll when menu is open */
.no-scroll{ overflow: hidden; }