* {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}

body {
  overflow-x: hidden;
}

 /* NAVBAR CONTAINER */
 .navbar {
  background-color: #000;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 40px; /* So there's some space on the right */
}

@media screen and (max-width: 600px) {
  .navbar {
    padding-left: 20px;
  }
}

/* NAV LOGO */
.nav-logo {
  width: 80px;
  height: 80px;
  /* Keep as needed */
}

/* NAVBAR LIST (DESKTOP / GENERAL) */
.nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
  width: 70%;
  /* By default, horizontal layout for large screens */
}

.nav-list li a {
  color: white;
  font-size: 14px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-list li a:hover {
  color: #0b5468;
}

/* NAV TEXT & ICON STYLING */
.nav-text {
  display: inline; /* visible by default for large screens */
  font-size: 15px;
  font-family: 'Lobster', sans-serif;
}

.nav-home {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 900;
  color: #0b5468;
}
.nav-home:hover {
  color: #308ca5;
}

.nav-icon {
  display: none; /* hidden by default for large screens */
}

/* WHEN SCREEN WIDTH < 700px */
@media (max-width: 700px) {
  /* Hide text, show icons */
  .nav-text {
    display: none;
  }
  .nav-icon {
    display: none;
    font-size: 1.3rem;
  }
}

/* HAMBURGER ICON (only for < 550px) */
.hamburger {
  display: none;
  font-size: 1.6rem;
  color: white;
  cursor: pointer;
}

/* THE BLACK, VERTICAL MENU FOR < 550px */
@media (max-width: 700px) {
  /* Show the hamburger icon */
  .hamburger {
    display: block;
  }

  /* We remove the default horizontal layout. Instead, we hide it by default */
  .nav-list {
    position: fixed;
    z-index: 9989;
    top: 90px;       /* below the navbar */
    left: 0;         /* slide in from the left */
    width: 100vw;    /* adjust as needed */
    background-color: #000;
    flex-direction: column;
    align-items: center;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
     padding-bottom: 10px;
    /* Hidden off-canvas by default */
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* When .show is toggled, bring the menu into view */
  .nav-list.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Each list item in the vertical menu */
  .nav-list li {
    margin: 10px 0;
  }

  /* Now override so text is visible along with icons for < 550px */
  .nav-text {
    display: inline;
    font-size: 16px; /* slightly larger for mobile if desired */
  }
  .nav-icon {
    display: inline;
    font-size: 1.3rem;
  }

  .nav-logo{
    width: 60px;
    height: 60px;
  }
}


/* Base styles for the scroll-to-top button */
#scrollBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: black;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
}

/* Show button when scrolling */
#scrollBtn.show {
  opacity: 1;
}

/* Hover effects */
#scrollBtn:hover {
  background-color: #616161;
}