/* ==========================================================================
   UPGRADEBI - CONTACT US PAGE STYLES (contact.css)
   3D Dark Surfaces · High-Conversion Form · Chips & Pills · Responsive Layout
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Contact Main Grid Layout
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 60px 0 80px 0;
  position: relative;
  background-color: var(--bg-primary);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 40px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   2. Direct Channels & Info Column (Left)
   -------------------------------------------------------------------------- */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-channel-card {
  background: #0E142C;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: var(--shadow-3d-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(6, 182, 212, 0.2);
}

.contact-channel-card.orange-accent:hover {
  border-color: rgba(255, 122, 0, 0.45);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 122, 0, 0.2);
}

.contact-channel-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.contact-channel-card:hover .contact-channel-icon {
  transform: scale(1.1);
}

.channel-icon-teal {
  background: rgba(6, 182, 212, 0.12);
  color: var(--brand-teal);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.2);
}

.channel-icon-orange {
  background: rgba(255, 122, 0, 0.12);
  color: var(--brand-orange);
  border: 1px solid rgba(255, 122, 0, 0.3);
  box-shadow: 0 0 16px rgba(255, 122, 0, 0.2);
}

.channel-icon-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.2);
}

.contact-channel-body {
  flex-grow: 1;
}

.contact-channel-body h4 {
  font-size: 1.12rem;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.contact-channel-body p {
  font-size: 0.9rem;
  color: var(--color-slate-400);
  line-height: 1.5;
  margin-bottom: 8px;
}

.contact-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.contact-channel-link:hover {
  color: var(--brand-orange);
  transform: translateX(3px);
}

.contact-channel-link.teal-link:hover {
  color: var(--brand-teal);
}

.contact-channel-link.wa-link:hover {
  color: #25D366;
}

/* Response Time / Live Status Pill */
.status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ADE80;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
}

.status-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  position: relative;
}

.status-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.4;
  animation: pulseDot 1.8s infinite;
}

/* Micro-Process Card (What Happens Next) */
.process-box-card {
  background: linear-gradient(180deg, #101832 0%, #0B1124 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-3d-card);
}

.process-box-card h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-mini-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-mini-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.15);
  color: var(--brand-orange);
  border: 1px solid rgba(255, 122, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-mini-text strong {
  display: block;
  font-size: 0.94rem;
  color: #FFFFFF;
}

.step-mini-text span {
  font-size: 0.84rem;
  color: var(--color-slate-400);
}

/* --------------------------------------------------------------------------
   3. Interactive Consultation Form (Right Column)
   -------------------------------------------------------------------------- */
.contact-form-card {
  background: #0E142C;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-3d-card);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-form-header {
  margin-bottom: 26px;
}

.contact-form-header h3 {
  font-size: 1.65rem;
  margin-bottom: 8px;
}

.contact-form-header p {
  font-size: 0.92rem;
  color: var(--color-slate-300);
}

/* Service Requirement Chip Selector */
.service-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 22px;
}

.service-chip-label {
  cursor: pointer;
  user-select: none;
}

.service-chip-label input {
  display: none;
}

.service-chip-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.service-chip-label input:checked + .service-chip-text {
  background: rgba(255, 122, 0, 0.18);
  border-color: var(--brand-orange);
  color: #FFA034;
  box-shadow: 0 0 16px rgba(255, 122, 0, 0.3);
}

.service-chip-label:hover .service-chip-text {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

/* Budget Selector Pills */
.budget-pills-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 22px;
}

.budget-pill-label {
  cursor: pointer;
  user-select: none;
  text-align: center;
}

.budget-pill-label input {
  display: none;
}

.budget-pill-text {
  display: block;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.budget-pill-label input:checked + .budget-pill-text {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--brand-teal);
  color: #38BDF8;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
}

.budget-pill-label:hover .budget-pill-text {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

/* Form Row Grid */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Trust Bar Below Form */
.form-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--color-slate-400);
}

.form-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-trust-item svg {
  color: var(--brand-teal);
}

/* Form Success State Notification */
.form-alert-box {
  display: none;
  padding: 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.form-alert-box.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86EFAC;
}

.form-alert-box.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
}

/* --------------------------------------------------------------------------
   4. Map & Headquarters Showcase Section
   -------------------------------------------------------------------------- */
.hq-map-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-3d-card);
  height: 420px;
  background: #0A0F1F;
}

.hq-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(100%);
  opacity: 0.88;
  transition: opacity var(--transition-fast);
}

.hq-map-iframe:hover {
  opacity: 1;
}

.hq-floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(7, 11, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  max-width: 380px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  z-index: 5;
}

.hq-floating-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.hq-floating-card p {
  font-size: 0.88rem;
  color: var(--color-slate-300);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   5. Responsive Styles
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .budget-pills-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0 60px 0;
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .budget-pills-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .hq-map-wrapper {
    height: 340px;
  }

  .hq-floating-card {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 100%;
    margin-top: 14px;
  }
}
