/* ==========================================================================
   CONSULTATION POPUP MODAL (SEO With Ibrar)
   Exact match to reference popup design with Ibrar Ahmad's details
   ========================================================================== */

.consult-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 11, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.consult-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.consult-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 94vh;
  overflow-y: auto;
  background: rgba(11, 14, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(163, 234, 67, 0.35);
  border-top: 3px solid #A3EA43;
  box-shadow: 0 40px 90px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(163, 234, 67, 0.16);
  transform: scale(0.94) translateY(14px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.consult-modal-overlay.active .consult-modal-dialog {
  transform: scale(1) translateY(0);
}

.consult-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 20;
  background: #141722;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 18px;
  border-radius: 6px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.consult-modal-close:hover {
  background: #A3EA43;
  color: #080808;
  border-color: #A3EA43;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(163, 234, 67, 0.35);
}

.consult-modal-close:active {
  transform: translateY(0);
}

.consult-modal-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: stretch;
  min-height: 490px;
}

.consult-modal-content {
  padding: 48px 36px 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.consult-kicker {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #A3EA43;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.consult-kicker::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A3EA43;
  box-shadow: 0 0 8px #A3EA43;
}

.consult-heading {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 35px;
  font-weight: 800;
  line-height: 1.14;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.consult-heading .text-accent-orange,
.consult-heading .text-accent-lime {
  color: #A3EA43;
  text-shadow: 0 0 24px rgba(163, 234, 67, 0.35);
}

.consult-subtext {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #94A3B8;
  margin-bottom: 24px;
  max-width: 440px;
}

.consult-channels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.consult-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(18, 22, 33, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.consult-channel-card:hover {
  border-color: rgba(163, 234, 67, 0.55);
  background: rgba(23, 28, 42, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(163, 234, 67, 0.2), 0 10px 26px -4px rgba(0, 0, 0, 0.6);
}

.consult-channel-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.consult-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.consult-channel-card:hover .consult-channel-icon {
  transform: scale(1.06);
}

.consult-channel-icon.icon-phone {
  background: rgba(163, 234, 67, 0.14);
  color: #A3EA43;
  border: 1px solid rgba(163, 234, 67, 0.25);
}

.consult-channel-icon.icon-whatsapp {
  background: rgba(37, 211, 102, 0.14);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.consult-channel-icon.icon-email {
  background: rgba(96, 165, 250, 0.14);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.consult-channel-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.consult-channel-title {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.consult-channel-tag {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
}

.consult-channel-detail {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12.5px;
  color: #94A3B8;
  margin-top: 2px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.consult-channel-arrow {
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.consult-channel-card:hover .consult-channel-arrow {
  color: #A3EA43;
  transform: translateX(4px);
}

.consult-footer-note {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
}

.consult-footer-note .highlight-orange,
.consult-footer-note .highlight-lime {
  color: #A3EA43;
  font-weight: 700;
}

.consult-avatar-side {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-right: 28px;
  overflow: hidden;
  background: #0B0D13;
}

.consult-avatar-img {
  width: auto;
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s ease;
}

.consult-modal-dialog:hover .consult-avatar-img {
  transform: scale(1.02);
}

/* Modal Responsive Styles */
@media (max-width: 890px) {
  .consult-modal-grid {
    grid-template-columns: 1fr;
  }
  .consult-modal-content {
    padding: 40px 28px 28px 28px;
  }
  .consult-avatar-side {
    padding: 0 20px 24px;
    max-height: 300px;
  }
  .consult-avatar-img {
    max-height: 280px;
  }
}

@media (max-width: 520px) {
  .consult-heading {
    font-size: 27px;
  }
  .consult-modal-dialog {
    border-radius: 16px;
    max-height: 92vh;
    overflow-y: auto;
  }
  .consult-modal-content {
    padding: 34px 20px 24px;
  }
  .consult-modal-close {
    top: 16px;
    right: 16px;
    padding: 7px 13px;
    font-size: 10px;
  }
  .consult-channel-card {
    padding: 12px 14px;
  }
  .consult-channel-icon {
    width: 38px;
    height: 38px;
  }
  .consult-avatar-img {
    max-height: 220px;
  }
}
