.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sticky-nav.scrolled {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
}

.sticky-nav.nav-hidden {
  transform: translateY(-100%);
}

/* Light text for transparent navbar on dark hero (About Page) */
.sticky-nav.is-about:not(.scrolled) .nav-link {
  color: #fff !important;
}

.sticky-nav.is-about:not(.scrolled) .hamburger-bar {
  background: #fff !important;
}

.sticky-nav.is-about:not(.scrolled) .nav-btn {
  background: #fff !important;
  color: #111 !important;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 90px; /* Navbar height */
  right: -100%;
  left: auto;
  width: 100%;
  height: calc(100vh - 90px);
  background: #fff;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  max-height: none;
}

.mobile-menu.open {
  right: 0;
  opacity: 1;
  visibility: visible;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

/* Make navbar white when menu is open */
.sticky-nav.menu-open {
  background: #fff !important;
  border-bottom: 1px solid #f0f0f0;
}

/* Ensure About page dark-mode links become dark when menu is open */
.sticky-nav.is-about.menu-open .nav-link {
  color: #111 !important;
}

.sticky-nav.is-about.menu-open .hamburger-bar {
  background: #111 !important;
}

.sticky-nav.is-about.menu-open .nav-btn {
  background: #d21f3c !important;
  color: #fff !important;
}

/* WhatsApp Floating Button */
.wa-float {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 60px !important;
  height: 60px !important;
  background-color: #25d366 !important;
  color: #FFF !important;
  border-radius: 50px !important;
  text-align: center !important;
  font-size: 30px !important;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2) !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s ease, background-color 0.3s ease !important;
  text-decoration: none !important;
}

.wa-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
}

@media (max-width: 768px) {
  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
