/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: white;
  color: #333;
  padding-top: 0;
}

/* =========================================
   NEW GLASSMORPHISM NAVBAR
   ========================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;

  /* glassy look */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Optional darker on scroll (add .scrolled via JS) */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.15);
}

/* Logo container */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: 50px;
  margin-right: 10px;
}

/* Logo text — dark charcoal, no red glow */
.logo-text {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.2;
  color: grey;
}

/* Nav links — dark charcoal, no red glow */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-btn {
  color: grey;
  text-decoration: none;
  font-weight: 800;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: scale(1.05);
}

/* Hamburger menu icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  color: grey;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #111827;
  transition: 0.3s;
}

/* Close Button */
.close-btn {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: whitesmoke;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  transition: transform 0.2s ease;
}

.close-btn:hover {
  transform: scale(1.2);
  color: #ff4c4c;
}

/* Mobile Sidebar */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 60%;
    max-width: 220px;
    background-color: #111;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.7);
    transition: right 0.3s ease-in-out;
    border-left: 2px solid #444;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-btn {
    font-size: 1rem;
    width: 80%;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: whitesmoke;   /* keep light inside sidebar */
  }

  .nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px) scale(1.05);
  }

  .hamburger {
    display: flex;
  }

  .close-btn {
    display: block;
  }
}