/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}




html {
  font-size-adjust: 0.52;
}


/* ========== HEADER ========== */
header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}





/* HOME - fully transparent */
header.nav-transparent {
  background: transparent;
  border-bottom: none;
}

/* HOME - blur while scrolling in banner */
header.nav-blur {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

/* AFTER banner */
header.nav-solid {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid #e5e7eb;
}

/* ========== HEADER CONTAINER ========== */
.header-container {
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}


/* ========== LOGO ========== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 34px;
}

.logo span {
  font-size: 22px;
  font-weight: 600;
  color: #1f2937;
}

nav {
  margin: 0 auto;
  display: flex;
  gap: 28px;
}

nav a {
  margin: 0 14px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}



nav a:hover {
  color: #4f7cff;
}




/* ACTIVE NAV */
nav a.active,
.mobile-nav a.active {
  color: #4f7cff;
}


/* ========== CONTACT BUTTON ========== */
.contact-btn {
  background: #4f7cff;
  color: #fff;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

/* ========== HAMBURGER (MOBILE) ========== */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ========== MOBILE MENU ========== */
.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  z-index: 1000;
}

.mobile-nav a {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  font-weight: 600;
  color: #374151;
}

.mobile-nav a:hover {
  background: #f8fafc;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet */
@media(max-width:1024px) {
  nav {
    gap: 20px;
  }
}

/* Mobile */
@media(max-width:768px) {

  /*  IMPORTANT FIX: desktop nav force hide */
  nav {
    display: none !important;
    gap: 28px;
  }

  .menu-toggle {
    display: block;
  }
}


/* Page spacing because header fixed */
.page-space {
  height: 64px;
}