@charset "UTF-8";

/* ============================================
   NEW LIFE COMPUTERS - Header Styles
   Use with existing template CSS (nl- prefix)
   ============================================ */

/* === TOP BAR === */
.nl-top-bar {
  background: #08090f;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
  font-size: 15px;
}
.nl-top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.nl-top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nl-top-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9CA3AF;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nl-top-bar-left i {
  font-size: 14px;
  color: #818cf8;
}
.nl-top-bar-left a:hover { color: #F9FAFB; }
.nl-top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nl-welcome {
  color: #9CA3AF;
  font-size: 13px;
}
.nl-whatsapp-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #25D366;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

/* === HEADER === */
.nl-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,15,25,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.nl-header.scrolled {
  background: rgba(11,15,25,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.nl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 92px;
}

/* Logo */
.nl-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nl-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: 800;
}
.nl-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nl-logo-name {
  font-size: 18px;
  font-weight: 800;
  color: #F9FAFB;
  letter-spacing: -0.5px;
}
.nl-logo-tag {
  font-size: 10px;
  color: #818cf8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Navigation - Left Aligned */
.nl-header-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  margin-left: 50px;
}
.nl-header-nav > ul {
  display: flex;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nl-header-nav > ul > li {
  position: relative;
}
.nl-header-nav > ul > li > a {
  font-size: 17px;
  font-weight: 500;
  color: #D1D5DB;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  display: block;
  transition: all 0.3s ease;
}
.nl-header-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  transition: all 0.3s ease;
}
.nl-header-nav > ul > li > a:hover,
.nl-header-nav > ul > li.active > a {
  color: #F9FAFB;
}
.nl-header-nav > ul > li > a:hover::after,
.nl-header-nav > ul > li.active > a::after {
  width: 100%;
}

/* Submenu */
.nl-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #1a2235;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  list-style: none;
  margin-top: 8px;
  display: block;
  flex-direction: column;
  gap: 0;
}
.nl-header-nav > ul > li:hover .nl-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nl-submenu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #D1D5DB;
}
.nl-submenu li a:hover {
  background: rgba(99,102,241,0.1);
  color: #F9FAFB;
}

/* Header Actions */
.nl-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nl-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D1D5DB;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nl-action-btn:hover {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.4);
  color: #F9FAFB;
}

/* Language Dropdown */
.nl-lang-dropdown {
  position: relative;
}
.nl-lang-trigger {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D1D5DB;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.nl-lang-trigger:hover {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.4);
  color: #F9FAFB;
}
.nl-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #1a2235;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  z-index: 100;
  list-style: none;
  margin: 0;
}
.nl-lang-dropdown:hover .nl-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nl-lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #D1D5DB;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nl-lang-menu a:hover {
  background: rgba(99,102,241,0.1);
  color: #F9FAFB;
}
.nl-lang-menu a.active {
  background: rgba(99,102,241,0.15);
  color: #818cf8;
}
.nl-lang-menu a span { font-size: 18px; }

/* Inquiry Button */
.nl-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nl-inquiry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
  color: #fff !important;
}
.nl-inquiry-btn i { font-size: 13px; }

/* Mobile Toggle */
.nl-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  align-items: center;
  justify-content: center;
  color: #F9FAFB;
  font-size: 18px;
  cursor: pointer;
}

/* === Logo Image === */
.nl-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

/* === Flag Images === */
.nl-flag-img {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  display: inline-block;
}

/* === Search Popup === */
.search-popup {
  position: fixed;
  inset: 0;
  background: rgba(11,15,25,0.95);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.search-popup.active {
  opacity: 1;
  visibility: visible;
}
.search-popup__content {
  width: 90%;
  max-width: 600px;
  text-align: center;
  position: relative;
}
.search-popup__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F9FAFB;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-popup__close:hover {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.4);
}
.search-popup__title {
  font-size: 28px;
  font-weight: 700;
  color: #F9FAFB;
  margin-bottom: 24px;
}
.search-popup__form {
  display: flex;
  gap: 12px;
}
.search-popup__input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #F9FAFB;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}
.search-popup__input:focus {
  border-color: rgba(99,102,241,0.5);
  background: rgba(255,255,255,0.08);
}
.search-popup__input::placeholder { color: #6B7280; }
.search-popup__btn {
  padding: 16px 24px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-popup__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}

/* === Mobile Menu === */
.nl-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.nl-mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.nl-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #111827;
  border-left: 1px solid rgba(255,255,255,0.08);
  z-index: 2000;
  padding: 80px 24px 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.nl-mobile-menu.open { right: 0; }
.nl-mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F9FAFB;
  font-size: 18px;
  cursor: pointer;
}
.nl-mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nl-mobile-menu nav ul li a {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
  font-weight: 500;
  color: #D1D5DB;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nl-mobile-menu nav ul li a:hover,
.nl-mobile-menu nav ul li a.active {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.4);
  color: #F9FAFB;
}
.nl-mobile-submenu {
  margin-top: 8px;
  margin-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nl-mobile-submenu li a {
  padding: 10px 16px;
  font-size: 14px;
  background: rgba(255,255,255,0.02);
}
.nl-lang-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nl-lang-section h5 {
  font-size: 13px;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.nl-lang-options {
  display: flex;
  gap: 8px;
}
.nl-lang-options a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #D1D5DB;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nl-lang-options a:hover,
.nl-lang-options a.active {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  color: #fff;
  border-color: transparent;
}
.nl-inquiry-btn-mobile {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
  padding: 14px;
  font-size: 15px;
}

/* === Quote Popup === */
.quote-popup {
  position: fixed;
  inset: 0;
  background: rgba(11,15,25,0.95);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.quote-popup.active {
  opacity: 1;
  visibility: visible;
}
.quote-popup__content {
  background: #1a2235;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.quote-popup.active .quote-popup__content {
  transform: scale(1);
}
.quote-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #F9FAFB;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.quote-popup__close:hover {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.4);
}
.quote-popup__title {
  font-size: 24px;
  font-weight: 800;
  color: #F9FAFB;
  margin-bottom: 8px;
}
.quote-popup__desc {
  font-size: 14px;
  color: #9CA3AF;
  margin-bottom: 24px;
}
.quote-popup__row {
  margin-bottom: 16px;
}
.quote-popup__row input,
.quote-popup__row textarea {
  width: 100%;
  background: #0f1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: #F9FAFB;
  font-family: inherit;
  transition: all 0.3s ease;
  resize: vertical;
}
.quote-popup__row input::placeholder,
.quote-popup__row textarea::placeholder {
  color: #6B7280;
}
.quote-popup__row input:focus,
.quote-popup__row textarea:focus {
  outline: none;
  border-color: rgba(99,102,241,0.5);
  background: #121620;
}
.quote-popup__btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .nl-welcome { display: none; }
  .nl-header-nav { display: none; }
  .nl-mobile-toggle { display: flex; }
}
@media (max-width: 768px) {
  .nl-top-bar-left { gap: 12px; }
  .nl-top-bar-left a { font-size: 12px; }
  .nl-whatsapp-link { font-size: 12px; }
  .nl-inquiry-btn span { display: none; }
  .nl-inquiry-btn { padding: 10px 14px; }
  .search-popup__form { flex-direction: column; }
  .search-popup__title { font-size: 22px; }
  .quote-popup__content { padding: 28px 20px; }
  .quote-popup__title { font-size: 20px; }
}
@media (max-width: 480px) {
  .nl-top-bar { padding: 6px 0; }
  .nl-top-bar-inner { flex-direction: column; gap: 4px; }
  .nl-header-inner { height: 60px; }
  .nl-logo-img { max-height: 34px; }
}
