/* ── Navbar & Top Banner ──────────────────────────────── */
.uppersection {
  background-color: #ffc700;
  margin-top: 0;
  height: auto;
  min-height: 54px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uppersection h5 {
  text-align: center;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(0.88rem, 2.2vw, 1.25rem);
  line-height: 1.5;
  margin: 0;
  word-spacing: 2px;
  max-width: 1200px;
}

.uppersection span {
  color: black;
  background-color: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-block;
  margin: 2px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar {
  height: 80px;
  background-color: white;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  width: 95px;
  height: auto;
}

.brand-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.4px;
}

.nav-toggle {
  display: none;
}

.links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.links a {
  margin-right: 0;
  text-decoration: none;
  color: #1a1a1a;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.links a:hover {
  color: #b07e00;
}

/* ── Mobile Navigation Responsive (`max-width: 768px`) ── */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
    height: 70px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-brand {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
  }

  .nav-brand img {
    width: 75px;
  }

  .brand-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #111;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .hamburger-line {
    width: 100%;
    height: 2.5px;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 28px 0;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    z-index: 999;
  }

  .links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .links a {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 8px 20px;
    width: 100%;
    text-align: center;
  }
}