
.main-header {
  background-color: var(--color-white); 
  position: fixed;
  top: 0;
  transition: height 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  z-index: 1000;
}
  
.menu-list-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  width: 90%;
  max-width: 1320px;
}
  
/* Top Bar */
.top-bar {
  background-color: var(--color-yellow);
  padding: 0.5rem 0;
}

.top-header {
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.contact-info {
  color: #333;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 1.5rem;
}
  
.logo-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.logo-wrap img {
  height: 175px;
}
  
/* Nav Bar */
.nav-bar {
  background-color: var(--color-blue);
  padding: 1.4rem 0;
}

.nav-container {
  align-items: center;
  padding-left: 20em; 
}
  
/* Menu List */
.main-menu .menu-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu .menu-list li a {
  color: var(--color-white);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-menu .menu-list li a:hover,
.main-menu .menu-list li.current-menu-item a {
  color: var(--color-yellow);
}
  
/* === Mobile Header Layout === */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  background-color: inherit;
  padding: 0.5rem 1rem;
  position: relative;
}

.mobile-header .logo-wrap img {
  height: 80px;
}
   
/* Hamburger menu on the right */
.mobile-toggle {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
}
.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-yellow);
  display: block;
}

/* === Fullscreen Overlay === */
.mobile-menu-overlay {
  background-color: #1e2b40;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  display: flex;
  transform: translateX(0);
}

.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-white);
  cursor: pointer;
}

.mobile-menu-overlay .mobile-cta-button {
  margin-left: auto;
  margin-right: auto;
}

.mobile-nav .mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav .mobile-menu-list li {
  margin: 1rem 0;
}
.mobile-nav .mobile-menu-list li a {
  color: var(--color-white);
  font-size: 1.25rem;
  text-decoration: none;
}
.mobile-nav .mobile-menu-list li.current-menu-item a {
  color: var(--color-yellow);
}

.mobile-contact {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-white);
}
.mobile-contact strong {
  color: var(--color-yellow);
}

.mobile-contact p {
  text-align: center;
}

.mobile-cta-button {
  display: inline-block;
  background-color: var(--color-yellow);
  color: var(--color-blue);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 2rem;
  box-shadow: 0 5px 0 #c9c9c9;
  transition: all 0.3s ease;
}

.mobile-cta-button:hover {
  background-color: #ffeb6f;
  box-shadow: 0 3px 0 #a5a5a5;
  transform: translateY(1px);
}

/* === Responsive Trigger === */
@media (max-width: 1127px) {
  .nav-container,
  .main-menu,
  .cta-button,
  .top-bar {
    display: none;
  }

  .mobile-header {
    display: flex;
  }
}

/* Sticky shadow effect when scrolled */
.main-header.scrolled {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

header.scrolled .logo-wrap {
  top: -32px;
  transform: scale(0.7);
  transition: all 0.5s;
}

.mobile-header .logo-wrap {
  top: -20px;
}
header.scrolled .mobile-header .logo-wrap {
  top: -20px;
  transform: scale(1);
}

@media (min-width: 1128px) and (max-width: 1444px) {
  .nav-container {
    padding-left: 14em;
  }
}
  
@media (max-width: 1127px) {
  .nav-container {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 0;
  }

  .main-menu .menu-list {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .contact-info {
    align-items: flex-end;
    flex-direction: column;
  }
}
  
  
  
  
  
  