/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* ================= HEADER ================= */
.navbar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: block;
}

/* ================= TOP BAR ================= */
.top-bar {
  width: 100%;
  background: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;

  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.logo-box img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 26px;
  font-weight: bold;
  color: #0b2559;
  line-height: 1.2;
}

.logo-text p {
  font-size: 10px;
  letter-spacing: 3px;
  color: #1e4ea1;
}

/* ================= NAVBAR ================= */
.nav-bar {
  width: 100%;
  min-height: 50px;
  background: #0b2559;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;

  position: relative;
  padding: 0 20px;
}

/* HOME BUTTON */
.home {
  width: 50px;
  height: 50px;

  background: #1d4ed8;
  color: white;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 5px;
  transition: 0.3s;
}

.home:hover {
  background: #8dc63f;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;

  padding: 10px 12px;
  border-radius: 4px;
  transition: 0.3s;
}

.nav-links a:hover {
  background: #1e4ea1;
}

/* MENU BUTTON */
.menu-btn {
  display: none;

  position: absolute;
  right: 20px;

  background: none;
  border: none;
  color: white;

  font-size: 28px;
  cursor: pointer;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  display: none;
  flex-direction: column;
  width: 100%;
  background: #0b2559;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  border-top: 1px solid #1e4ea1;
}

.mobile-menu a:hover {
  background: #1e4ea1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-bar {
    justify-content: flex-start;
    padding-left: 15px;
  }

  .logo-box img {
    width: 50px;
    height: 50px;
  }

  .logo-text h1 {
    font-size: 20px;
  }

  .logo-text p {
    font-size: 8px;
    letter-spacing: 2px;
  }
}