/* ==========================================================================
   SUPERMAN ELECTRONICS - CONTACT US PAGE STYLESHEET
   Ultra-modern, responsive styling with contact channels, map, and FAQ
   ========================================================================== */

:root {
  --primary-teal: #0b7a75;
  --primary-teal-hover: #085f5b;
  --primary-teal-light: #e6f6f5;
  --accent-gold: #f59e0b;
  --dark-navy: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --card-shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.contact-page-body {
  background-color: var(--slate-50);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate-800);
}

/* ==========================================================================
   HERO HEADER
   ========================================================================== */
.contact-hero-section {
  position: relative;
  background: linear-gradient(135deg, #091e28 0%, #0d2836 50%, #083344 100%);
  padding: 4rem 0 4.5rem;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.contact-hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(11, 122, 117, 0.35) 0%, rgba(11, 122, 117, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.contact-hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5eead4;
  margin-bottom: 1.25rem;
}

.contact-hero-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact-hero-title .text-highlight {
  background: linear-gradient(120deg, #5eead4 0%, #2dd4bf 50%, #fef08a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-hero-subtitle {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   QUICK CONTACT CHANNELS (CARDS GRID)
   ========================================================================== */
.contact-channels-wrapper {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 3.5rem;
}

.contact-channel-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-channel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(11, 122, 117, 0.3);
}

.channel-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.icon-teal {
  background: var(--primary-teal-light);
  color: var(--primary-teal);
}

.icon-amber {
  background: #fef3c7;
  color: #d97706;
}

.icon-blue {
  background: #e0f2fe;
  color: #0284c7;
}

.icon-purple {
  background: #f3e8ff;
  color: #9333ea;
}

.channel-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.35rem;
}

.channel-card-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.channel-card-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.channel-card-link:hover {
  color: var(--primary-teal-hover);
  gap: 0.6rem;
}

/* ==========================================================================
   MAIN INQUIRY FORM & SIDEBAR SECTION
   ========================================================================== */
.contact-main-section {
  padding-bottom: 4rem;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.form-header-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-teal);
  margin-bottom: 0.4rem;
}

.form-header-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.form-header-desc {
  color: var(--slate-500);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Topic Pills Selector */
.topic-pills-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.6rem;
  display: block;
}

.topic-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.topic-pill {
  padding: 0.45rem 0.9rem;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.topic-pill:hover {
  background: var(--primary-teal-light);
  color: var(--primary-teal);
  border-color: rgba(11, 122, 117, 0.3);
}

.topic-pill.active {
  background: var(--primary-teal);
  color: #ffffff;
  border-color: var(--primary-teal);
}

/* Form Inputs */
.contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  color: var(--dark-navy);
  transition: var(--transition-fast);
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(11, 122, 117, 0.15);
}

.btn-contact-submit {
  padding: 0.9rem 2.2rem;
  background: var(--primary-teal);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(11, 122, 117, 0.25);
}

.btn-contact-submit:hover {
  background: var(--primary-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 122, 117, 0.35);
}

/* Success Banner */
.contact-success-alert {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-success-icon {
  font-size: 1.5rem;
  color: #16a34a;
  flex-shrink: 0;
}

/* ==========================================================================
   SIDEBAR CARDS & HQ DETAILS
   ========================================================================== */
.contact-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem;
}

.contact-sidebar-card:last-child {
  margin-bottom: 0;
}

.sidebar-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Status Indicator */
.status-pill-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #15803d;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Operating Hours Row */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--slate-200);
}

.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-label {
  color: var(--slate-600);
  font-weight: 500;
}

.hours-val {
  color: var(--dark-navy);
  font-weight: 600;
}

/* HQ Address Box */
.hq-address-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.6;
}

/* Social links in sidebar */
.social-links-grid {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-circle-btn:hover {
  background: var(--primary-teal);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.contact-faq-section {
  padding: 4rem 0 5rem;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.faq-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-teal);
  margin-bottom: 0.4rem;
  display: block;
}

.faq-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.faq-subtitle {
  color: var(--slate-500);
  font-size: 1rem;
}

/* Accordion Customization */
.custom-faq-accordion .accordion-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--slate-50);
  transition: var(--transition-fast);
}

.custom-faq-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.custom-faq-accordion .accordion-button {
  background: var(--slate-50);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary-teal-light);
  color: var(--primary-teal);
}

.custom-faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(11, 122, 117, 0.25);
}

.custom-faq-accordion .accordion-body {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 991.98px) {
  .contact-hero-title {
    font-size: 2.4rem;
  }
  .contact-channels-wrapper {
    margin-top: -1.5rem;
  }
  .contact-form-card {
    padding: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .contact-hero-title {
    font-size: 2rem;
  }
}
