/* =====================================================
   INFOWISE — CONTACT PAGE STYLES v2.0 (Dark Theme)
   ===================================================== */

/* ─── Hero ─── */
.contact-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  background: var(--bg-elevated);
  overflow: hidden;
}
.contact-hero iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) invert(90%) contrast(1.2);
}
.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.65) 100%);
  pointer-events: none;
}
.contact-hero .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}
.contact-hero h6 {
  color: var(--secondary);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.contact-hero h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ─── Contact Layout ─── */
.contact-section {
  padding: 5rem 0;
  background: var(--bg);
}
.contact-wrapper {
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  min-height: 600px;
}

/* Sidebar */
.contact-sidebar {
  background: var(--bg-light);
  flex: 0 0 40%;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.contact-sidebar h3 {
  color: var(--text);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.contact-sidebar > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.info-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245,130,32,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.info-block:hover .icon-circle {
  background: var(--secondary);
  color: var(--bg);
}
.info-text h5 {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.info-text p {
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
}
.info-text a { color: var(--text); text-decoration: none; }
.info-text a:hover { color: var(--secondary); }

.social-orbs {
  margin-top: 3rem;
  display: flex;
  gap: 0.75rem;
}
.social-orb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.social-orb:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg);
  transform: translateY(-2px);
}

.bg-icon {
  position: absolute;
  bottom: -40px;
  right: -40px;
  font-size: 240px;
  color: rgba(240,240,240,0.03);
  pointer-events: none;
}

/* Form Area */
.contact-form-area {
  flex: 1;
  padding: 3.5rem;
  background: var(--bg-elevated);
}
.contact-form-area h3 {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
  background: var(--bg-light);
}
textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.alert-success {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #4ade80;
}
.alert-danger {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
}

/* Response time promise */
.response-promise {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.response-promise i { color: var(--secondary); }

/* ─── Responsive ─── */
@media (max-width: 992px) {
  .contact-wrapper { flex-direction: column; }
  .contact-sidebar { flex: 1; padding: 2.5rem; }
  .contact-form-area { padding: 2.5rem; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-sidebar { padding: 2rem; }
  .contact-form-area { padding: 2rem; }
  .contact-hero { min-height: 300px; }
}
