/* ================= HEADER ================= */
header {
  /* 🔧 keep it in the viewport at all times */
  position: fixed;
  /* instead of sticky               */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  /* higher than .menu-overlay       */
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

.contact-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 50px;
  padding: 0 20px;
  gap: 12px;
  background: linear-gradient(to right, #000b47, #074692);
    position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
}

.contact-info-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  border-bottom: 2px solid #ccc;
}

/* ================= LOGO ================= */
.logo img {
  height: 40px;
}

.logo {
  transition: transform 0.7s ease;
  margin-top: 10px;
}

.logo:hover {
  transform: scale(1.1);
}

/* ================= HAMBURGER ================= */
.hamburger-menu {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 1000;
}

.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 30px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #333;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
  background-color: #4f4f4f;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: #4f4f4f;
}

/* ================= MENU OVERLAY ================= */
.menu-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 30%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #ccc;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.2s ease-in-out;
  pointer-events: none;
  z-index: 999;
}

.menu-overlay.show {
  transform: scaleY(1);
  pointer-events: auto;
}

.menu-overlay ul {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-overlay a {
  color: #777777;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.menu-overlay a:hover {
  color: #004f9f;
  font-weight: 600;
}

.menu-icon {
  width: 40px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  transition: transform 0.7s ease;
}

.menu-icon:hover {
  transform: scale(1.2);
}

/* ================= MEDIA QUERIES ================= */

/* ====== Tablet and below (max-width: 992px) ====== */
@media (max-width: 992px) {

  .contact-info-bar {
    padding: 0 12px;
  }

  .contact-info-item {
    font-size: 12px;
  }

  .contact-info-item img {
    width: 18px;
    height: 18px;
  }

  /* === Logo === */
  .logo img {
    height: 30px;
  }

  /* === Hamburger Menu === */
  .hamburger {
    width: 25px;
    height: 25px;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* === Menu Overlay === */
  .menu-overlay {
    height: 70%;
  }

  .menu-overlay ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 80px;
    column-gap: 40px;
    justify-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
  }
}

/* ====== Mobile (max-width: 600px) ====== */
@media (max-width: 600px) {
  .contact-info-bar {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 8px 16px;
    gap: 10px;
  }

  .contact-info-item {
    justify-content: center;
    width: 100%;
  }
  .menu-overlay {
  top: 60px;
  }
}