/* ============================================
   DIGITX RESPONSIVE HEADER CSS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: math;
    background-color: #0b1f3a;
    color: #fff;
}
.navbar {
    background-color: #0b1f3a;
    padding: 1rem 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.navbar-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}
.nav-link.active {
    color: #fff;
}
.nav-link.active::after {
    width: 100%;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.navbar-logo:hover {
    opacity: 0.8;
}
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.logo-icon svg {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}
.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}
.logo-text p {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #999;
    font-weight: 600;
    margin-top: -3px;
}
.navbar-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}
.nav-item {
    position: relative;
}
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding-bottom: 5px;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link.contact-link {
    color: #D4AF37;
}
.cta-button {
    font-family: math;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.7rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.cta-button:hover {
    background-color: #fff;
    color: #0b1f3a;
}
.arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}
.cta-button:hover .arrow {
    transform: translateX(3px);
}
.desktop-cta-button {
    display: flex;
}
.mobile-cta-button {
    display: none;
}
.mobile-cta {
    display: none;
}
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    flex-shrink: 0;
}
.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 1.5rem;
        gap: 1.5rem;
    }
    .nav-list {
        gap: 1.5rem;
    }
    .nav-link {
        font-size: 0.85rem;
    }
    .cta-button {
        font-family: math;
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
        gap: 1rem;
        grid-template-columns: auto auto;
    }
    .desktop-cta-button {
        display: none;
    }
    .mobile-cta {
        display: block;
        width: 100%;
    }
    .mobile-cta-button {
        display: block;
        width: 50%;
        padding: 0.8rem 1.5rem;
        margin: 1rem 1.5rem;
        font-size: 0.85rem;
    }
    .hamburger-menu {
        display: flex;
    }
    .navbar-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #0b1f3a;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-top: 1px solid rgba(212, 175, 55, 0.1);
        display: block;
        justify-content: flex-start;
    }
    .navbar-menu.active {
        max-height: 600px;
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1.5rem 0;
        justify-content: flex-start;
    }
    .nav-item {
        width: 100%;
        padding: 0;
    }
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 0.9rem;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }
    .nav-link::after {
        display: none;
    }
    .nav-link:hover {
        background-color: rgba(212, 175, 55, 0.1);
        border-left-color: #D4AF37;
        padding-left: 2rem;
    }
    .nav-link.contact-link {
        color: #D4AF37;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 0.75rem;
    }
    .logo-text h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    .logo-text p {
        font-size: 0.55rem;
    }
    .mobile-cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        margin: 0.8rem 1rem;
    }
    .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
    .hamburger-menu span {
        width: 22px;
        height: 2.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

.qp__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.qp__overlay.qp--open {
  opacity: 1;
  visibility: visible;
}
.qp__modal {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px #C9A84C22;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
}
.qp__overlay.qp--open .qp__modal {
  transform: translateY(0) scale(1);
}
.qp__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ffffff22;
  background: #fff;
  color: #0b1f3a;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.qp__close:hover { background: #fff; color: #0b1f3a; border-color: #0b1f3a; }
.qp__left {
  background: #0b1f3a;
  border-right: 1px solid #C9A84C22;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.qp__left-content { position: relative; z-index: 2; }
.qp__brand-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}
.qp__brand-icon svg { width: 48px; height: 48px; }
.qp__left-title {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.qp__left-title em { color: #fff; font-style: normal; }
.qp__left-sub {
  color: #fff;
  font-size: 12.5px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.qp__features { display: flex; flex-direction: column; gap: 12px; }
.qp__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
}
.qp__feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
.qp__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.qp__deco--1 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, #C9A84C18 0%, transparent 70%);
  bottom: -60px; right: -60px;
}
.qp__deco--2 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, #C9A84C10 0%, transparent 70%);
  top: -30px; left: -30px;
}
.qp__right {
  background: #0b1f3a;
  padding: 36px 32px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.qp__right::-webkit-scrollbar { width: 4px; }
.qp__right::-webkit-scrollbar-track { background: #1a1a1a; }
.qp__right::-webkit-scrollbar-thumb { background: #C9A84C44; border-radius: 4px; }
.qp__eyebrow {
  display: block;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.qp__form-title {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.qp__gold { color: #fff; }
.qp__form-divider {
  width: 36px; height: 2px;
  background: #fff;
}
.qp__form { display: flex; flex-direction: column; gap: 16px; }
.qp__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.qp__field { display: flex; flex-direction: column; gap: 6px; }
.qp__label {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.qp__req { color: #fff; }
.qp__input {
  background: #fff;
  border: 1px solid #0b1f3a;
  border-radius: 6px;
  color: #000;
  font-size: 13px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.qp__input::placeholder { color: #444; }
.qp__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.qp__select option { background: #0b1f3a; color: #fff; }
.qp__textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.6;
}
.qp__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #0b1f3a;
  border: none;
  border-radius: 6px;
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background .2s, transform .15s;
  margin-top: 4px;
}
.qp__submit:hover {
    background: #0b1f3a;
    transform: translateY(-1px);
    color: #fff;
    border: 1px solid #fff;
}
.qp__submit:active { transform: translateY(0); }
.qp__submit-arrow { font-size: 15px; }
 
@media (max-width: 700px) {
  .qp__modal {
    grid-template-columns: 1fr;
    max-height: 95vh;
    border-radius: 12px;
  }
  .qp__left { display: none; }
  .qp__right { padding: 28px 22px 24px; }
  .qp__row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 400px) {
  .qp__overlay { padding: 10px; }
  .qp__right { padding: 24px 16px 20px; }
  .qp__form-title { font-size: 19px; }
}

.error{
    color:red;
    font-size:14px;
    margin-top:5px;
}
.success-msg{
    color:green;
    margin-top:15px;
    font-weight:600;
}
.newsletter-error{
    color:red;
    margin-top:10px;
}

.newsletter-success{
    color:green;
    margin-top:10px;
}
.name-error,
.email-error,
.phone-error,
.service-error{
    color:red;
    font-size:14px;
    margin-top:5px;
}
.quote-success{
    color:green;
    margin-top:15px;
}