header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 10px 40px;
    background: var(--white-color);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;

    /* Add a super soft, elegant shadow */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    min-height: 70px;
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff99, transparent);
    opacity: 0.3;
}

.logo {
    height: 50px;
    width: auto;
}

.tagline {
    margin: 0;
    color: var(--black-color);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--logo-color);
    border-radius: 3px;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: var(--logo-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--logo-color);
    transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--black-color);
    text-shadow: none;
}

nav a:hover::after {
    width: 100%;
}

/* ===============================
   CUSTOM MODAL POPUP (Logout)
=============================== */
.logout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.logout-modal-box {
  background: #ffffff;
  color: #333;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logout-modal-icon-circle {
  width: 60px;
  height: 60px;
  background-color: #e8f5e9; /* Light green */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.logout-modal-icon-circle i {
  color: #4CAF50; /* Green */
  font-size: 30px;
}

.logout-modal-box h3 {
  margin: 0 0 10px 0;
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: bold;
}

.logout-modal-box p {
  margin: 0 0 30px 0;
  color: #666;
  font-size: 1rem;
}

.logout-modal-buttons {
  display: flex;
  gap: 15px;
  width: 100%;
}

.btn-logout-confirm {
  background: #388E3C;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  flex: 1;
  transition: background 0.3s ease;
}

.btn-logout-confirm:hover {
  background: #2E7D32;
}

.btn-logout-cancel {
  background: #f1f1f1;
  color: #333;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  flex: 1;
  transition: background 0.3s ease;
}

.btn-logout-cancel:hover {
  background: #e0e0e0;
}