/* ==========================================================================
   NETRA TECHNOSYS - "GOT A PROJECT?" BESPOKE OFFCANVAS DRAWER
   100% Synchronized: public/css/nt-get-touch.css & css/nt-get-touch.css
   ========================================================================== */

body .nt-gt-drawer.offcanvas,
body #offcanvasRight.offcanvas,
.nt-gt-drawer.offcanvas,
#offcanvasRight.offcanvas {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(520px, 94vw) !important;
  max-width: 520px !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  background: linear-gradient(180deg, #0e1322 0%, #070912 100%) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: -25px 0 80px rgba(0, 0, 0, 0.8) !important;
  color: #ffffff !important;
  padding: 0 !important;
  z-index: 100050 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* Offcanvas Backdrop */
.offcanvas-backdrop {
  background-color: rgba(4, 7, 14, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 100040 !important;
}

/* Header */
.nt-gt-header {
  padding: 24px 28px 18px 28px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(14, 19, 34, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
}

/* Body */
.nt-gt-body {
  padding: 24px 28px 36px 28px !important;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.nt-gt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E7201A;
  background: rgba(231, 32, 26, 0.1);
  border: 1px solid rgba(231, 32, 26, 0.22);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.nt-gt-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E7201A;
  box-shadow: 0 0 0 0 rgba(231, 32, 26, 0.7);
  animation: ntGtPulse 2s infinite;
}

@keyframes ntGtPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(231, 32, 26, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(231, 32, 26, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(231, 32, 26, 0); }
}

.nt-gt-title {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  margin: 0 !important;
  line-height: 1.15;
}

.nt-gt-highlight {
  color: #E7201A !important;
  position: relative;
}

/* Close Button */
.nt-gt-close-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s ease !important;
}

.nt-gt-close-btn i,
.nt-gt-close-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  display: block !important;
  transition: transform 0.25s ease, color 0.25s ease, stroke 0.25s ease !important;
}

.nt-gt-close-btn:hover {
  background: #E7201A !important;
  border-color: #E7201A !important;
  box-shadow: 0 4px 16px rgba(231, 32, 26, 0.5) !important;
  transform: rotate(90deg) !important;
}

.nt-gt-close-btn:hover i,
.nt-gt-close-btn:hover svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Body */
.nt-gt-body {
  padding: 24px 28px 36px 28px !important;
  overflow-y: auto !important;
}

.nt-gt-desc {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 22px !important;
}

.nt-gt-alert {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 13.5px !important;
  margin-bottom: 20px !important;
}

/* Interest Chips */
.nt-gt-interest-label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.nt-gt-tech-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 22px !important;
}

.nt-gt-tech-grid input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

.nt-gt-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 8px 14px !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  user-select: none !important;
  margin: 0 !important;
  transition: all 0.22s ease !important;
}

.nt-gt-chip i {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  transition: color 0.2s ease !important;
}

.nt-gt-chip:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.nt-gt-tech-grid input[type="checkbox"]:checked + .nt-gt-chip {
  background: linear-gradient(135deg, rgba(231, 32, 26, 0.9) 0%, rgba(255, 60, 50, 0.8) 100%) !important;
  border-color: rgba(231, 32, 26, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(231, 32, 26, 0.4) !important;
}

.nt-gt-tech-grid input[type="checkbox"]:checked + .nt-gt-chip i {
  color: #ffffff !important;
}

/* Input Fields */
.nt-gt-input-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  display: block;
}

.nt-gt-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 0 14px !important;
  transition: all 0.25s ease !important;
}

.nt-gt-input-box i {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 12px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

/* Strict reset: Input element inside nt-gt-input-box NEVER has border, background or inner box */
.nt-gt-input-box .form-control,
.nt-gt-input-box .form-control:focus,
.nt-gt-input-box .form-control:active,
.nt-gt-input-box .form-control:hover,
.nt-gt-input-box input,
.nt-gt-input-box input:focus,
.nt-gt-input-box input:active,
.nt-gt-input-box input:hover,
.nt-gt-input-box textarea,
.nt-gt-input-box textarea:focus,
.nt-gt-input-box textarea:active,
.nt-gt-input-box textarea:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  padding: 12px 0 !important;
  height: 48px !important;
  width: 100% !important;
  margin: 0 !important;
}

.nt-gt-input-box .form-control::placeholder,
.nt-gt-input-box input::placeholder,
.nt-gt-input-box textarea::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

.nt-gt-input-box.is-textarea {
  align-items: flex-start;
  padding-top: 12px !important;
}

.nt-gt-input-box.is-textarea i {
  margin-top: 4px;
}

.nt-gt-input-box.is-textarea textarea.form-control,
.nt-gt-input-box.is-textarea textarea {
  height: auto !important;
  min-height: 80px !important;
  padding: 0 !important;
  resize: vertical;
}

/* Focused state: outer container smoothly highlights, no inner box */
.nt-gt-input-box:focus-within {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(231, 32, 26, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(231, 32, 26, 0.18) !important;
}

.nt-gt-input-box:focus-within i {
  color: #E7201A !important;
}

/* Submit Button */
.nt-gt-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #E7201A 0%, #FF3C32 100%);
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  box-shadow: 0 6px 22px rgba(231, 32, 26, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nt-gt-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(231, 32, 26, 0.6);
  color: #ffffff;
}

/* Trust Indicators */
.nt-gt-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.nt-gt-trust-item {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nt-gt-trust-item i {
  color: #E7201A;
  font-size: 11.5px;
}

/* Direct Connect Row */
.nt-gt-direct-connect {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  margin-bottom: 16px;
}

.nt-gt-dc-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.nt-gt-dc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nt-gt-dc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.nt-gt-dc-pill i {
  color: #E7201A;
  font-size: 12px;
}

.nt-gt-dc-pill.whatsapp i {
  color: #25D366;
}

.nt-gt-dc-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Privacy Note */
.nt-gt-privacy-note {
  font-size: 11.5px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  margin-bottom: 0 !important;
}

.nt-gt-privacy-note a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: underline !important;
  transition: color 0.2s ease;
}

.nt-gt-privacy-note a:hover {
  color: #E7201A !important;
}

@media (max-width: 576px) {
  .nt-gt-drawer.offcanvas,
  #offcanvasRight.offcanvas {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .nt-gt-header {
    padding: calc(18px + env(safe-area-inset-top, 0px))
      calc(16px + env(safe-area-inset-right, 0px))
      14px
      calc(16px + env(safe-area-inset-left, 0px)) !important;
  }
  .nt-gt-header > div {
    min-width: 0;
  }
  .nt-gt-kicker {
    max-width: 100%;
    font-size: clamp(9px, 2.8vw, 10.5px);
  }
  .nt-gt-title {
    font-size: clamp(22px, 6vw, 26px) !important;
  }
  .nt-gt-body {
    min-height: 0;
    padding: 18px
      calc(16px + env(safe-area-inset-right, 0px))
      calc(28px + env(safe-area-inset-bottom, 0px))
      calc(16px + env(safe-area-inset-left, 0px)) !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }
  .nt-gt-dc-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359px) {
  .nt-gt-header {
    padding-right: calc(12px + env(safe-area-inset-right, 0px)) !important;
    padding-left: calc(12px + env(safe-area-inset-left, 0px)) !important;
  }
  .nt-gt-body {
    padding-right: calc(12px + env(safe-area-inset-right, 0px)) !important;
    padding-left: calc(12px + env(safe-area-inset-left, 0px)) !important;
  }
  .nt-gt-chip {
    gap: 5px !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}
