/**
 * PixelPass Phase 1 — Header + Footer
 * Premium minimal. No gradients. Poppins.
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.pp-phase1 {
  font-family: 'Poppins', sans-serif;
}

/* ── Header ─────────────────────────────────────────────── */
.pp-phase1 .pp-phase1-header {
  position: relative;
  z-index: 999;
  width: 100%;
}

.pp-phase1 .pp-phase1-header-upper {
  background: #ffffff !important;
  border-bottom: 1px solid #F2F4F7;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  min-height: 84px;
  display: flex;
  align-items: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: box-shadow 0.3s ease, backdrop-filter 0.3s ease, background 0.3s ease;
}

.pp-phase1 .pp-phase1-header.fixed-header .pp-phase1-header-upper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  animation: ppPhase1Sticky 0.4s ease;
}

@keyframes ppPhase1Sticky {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.pp-phase1 .pp-phase1-header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 84px;
}

.pp-phase1 .pp-phase1-logo img {
  max-height: 44px;
  width: auto;
  display: block;
}

/* Search */
.pp-phase1 .pp-phase1-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #E4E7EC;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 4px 4px 4px 16px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pp-phase1 .pp-phase1-search-form:focus-within {
  border-color: #D0D5DD;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.pp-phase1 .pp-phase1-search-icon {
  color: #98A2B3;
  font-size: 14px;
  flex-shrink: 0;
}

.pp-phase1 .pp-phase1-search-form input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #101828;
  padding: 10px 12px;
  min-width: 0;
}

.pp-phase1 .pp-phase1-search-form input[type="search"]::placeholder {
  color: #98A2B3;
}

.pp-phase1 .pp-phase1-search-submit {
  border: none;
  background: #101828;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.pp-phase1 .pp-phase1-search-submit:hover {
  background: #1D2939;
}

/* Right actions */
.pp-phase1 .pp-phase1-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pp-phase1 .pp-phase1-location-form {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #E4E7EC;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  min-width: 130px;
}

.pp-phase1 .pp-phase1-location-form i {
  color: #667085;
  font-size: 13px;
}

.pp-phase1 .pp-phase1-location-form input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #344054;
  width: 90px;
  min-width: 0;
}

.pp-phase1 .pp-phase1-location-form input::placeholder {
  color: #98A2B3;
}

.pp-phase1 .pp-phase1-lang-select {
  border: 1px solid #E4E7EC;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  color: #344054;
  background: #fff;
  outline: none;
  cursor: pointer;
}

.pp-phase1 .pp-phase1-link {
  font-size: 13px;
  font-weight: 500;
  color: #344054 !important;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.pp-phase1 .pp-phase1-link:hover {
  color: #101828 !important;
  text-decoration: none;
}

.pp-phase1 .pp-phase1-signup {
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  background: #101828;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.pp-phase1 .pp-phase1-signup:hover {
  background: #1D2939;
  color: #fff !important;
  text-decoration: none;
}

.pp-phase1 .pp-phase1-dropdown .dropdown-menu {
  border: 1px solid #F2F4F7;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
  margin-top: 8px;
}

.pp-phase1 .pp-phase1-dropdown .dropdown-item {
  font-size: 13px;
  color: #344054 !important;
  padding: 8px 16px;
}

.pp-phase1 .pp-phase1-dropdown .dropdown-item:hover {
  background: #F9FAFB;
  color: #101828 !important;
}

/* Mobile */
.pp-phase1 .pp-phase1-mobile-toggle {
  justify-self: end;
  border: 1px solid #E4E7EC;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.pp-phase1 .pp-phase1-mobile-toggle .icon-bar {
  background: #344054;
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
}

.pp-phase1 .pp-phase1-mobile-menu {
  padding: 16px 0 20px;
  border-top: 1px solid #F2F4F7;
  margin-top: 4px;
}

.pp-phase1 .pp-phase1-search-form--mobile,
.pp-phase1 .pp-phase1-location-form--mobile {
  margin-bottom: 12px;
  max-width: 100%;
}

.pp-phase1 .pp-phase1-location-form--mobile {
  width: 100%;
}

.pp-phase1 .pp-phase1-location-form--mobile input {
  width: 100%;
}

.pp-phase1 .pp-phase1-lang-form--mobile {
  margin-bottom: 14px;
}

.pp-phase1 .pp-phase1-lang-form--mobile .pp-phase1-lang-select {
  width: 100%;
}

.pp-phase1 .pp-phase1-mobile-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 991px) {
  .pp-phase1 .pp-phase1-header-grid {
    grid-template-columns: 1fr auto;
  }
}

/* Override legacy blue header inline styles */
.pp-phase1 .main-header .header-upper,
.pp-phase1 .fixed-header .header-upper {
  background: #ffffff !important;
}

.pp-phase1 .main-header .header-upper .main-menu .navigation > li > a,
.pp-phase1 .fixed-header .header-upper .main-menu .navigation > li > a {
  color: #344054 !important;
}

/* ── Footer ─────────────────────────────────────────────── */
.pp-phase1 .pp-phase1-footer {
  background: #071A52;
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 0;
}

.pp-phase1 .pp-phase1-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.pp-phase1 .pp-phase1-footer-logo img {
  max-height: 40px;
  width: auto;
  margin-bottom: 14px;
}

.pp-phase1 .pp-phase1-footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
  max-width: 260px;
}

.pp-phase1 .pp-phase1-footer-social {
  display: flex;
  gap: 10px;
}

.pp-phase1 .pp-phase1-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pp-phase1 .pp-phase1-footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.pp-phase1 .pp-phase1-footer-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.pp-phase1 .pp-phase1-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-phase1 .pp-phase1-footer-links li {
  margin-bottom: 8px;
}

.pp-phase1 .pp-phase1-footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pp-phase1 .pp-phase1-footer-links a:hover {
  color: #fff !important;
}

.pp-phase1 .pp-phase1-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  position: relative;
}

.pp-phase1 .pp-phase1-footer-bar p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.pp-phase1 .pp-phase1-scroll-top {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pp-phase1 .pp-phase1-scroll-top:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .pp-phase1 .pp-phase1-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 575px) {
  .pp-phase1 .pp-phase1-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pp-phase1 .pp-phase1-footer-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding-bottom: 50px;
  }
}
