* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Background image for body */
body {
  background: url('/mainwebsitetestonly/img/background.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  padding: 1rem 2rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: center; /* center the whole row */
  position: relative;
}

/* Logo */
.nav-logo {
  position: absolute;
  left: 0;
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-left: 2rem;
}

/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

/* Link styling */
.nav-links li a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

/* Underline animation */
.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: white;
  bottom: 0;
  left: 50%;
  transition: all 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
  left: 0;
}

.nav-links li a:hover {
  color: #fff;
}
