/* ==========================================================================
   BHNsoftware — Contact Us Page Design System
   Cohesive dark obsidian hero + elevated channels + modern inquiry workspace.
   ========================================================================== */

#bhnsoftware-contact {
  font-family: 'Poppins', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  overflow-x: clip;
}

#bhnsoftware-contact h1,
#bhnsoftware-contact h2,
#bhnsoftware-contact h3,
#bhnsoftware-contact h4 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.025em;
}

/* Hide duplicate footer.php contact block on Contact page */
#bhnsoftware-contact ~ .wo-contact {
  display: none;
}

.bhn-cnt-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 1. HERO BANNER ── */
.ws-hero-banner {
  background: radial-gradient(ellipse 70% 55% at 20% 20%, rgba(37, 99, 235, 0.25) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 85% 70%, rgba(6, 182, 212, 0.16) 0%, transparent 60%),
              #050814;
  color: #ffffff;
  padding: 76px 0 112px;
  position: relative;
  overflow: hidden;
}

.ws-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 35%, transparent 100%);
  pointer-events: none;
}

.ws-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}

.ws-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.34);
  color: #93c5fd;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ws-hero-title {
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.ws-hero-title .ws-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 55%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ws-hero-subtitle {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.68;
  max-width: 580px;
  margin-bottom: 26px;
}

.ws-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ws-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ws-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -6px rgba(37, 99, 235, 0.75);
  text-decoration: none;
}

.ws-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ws-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #60a5fa;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Right Hero Stats Card */
.ws-hero-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.7);
}

.ws-hero-stat {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
}

.ws-hero-stat strong {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  display: block;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.ws-hero-stat span {
  font-size: 12.5px;
  color: #94a3b8;
}

/* ── 2. QUICK CONTACT CARDS (Floating Overlap) ── */
.ws-contact-cards {
  position: relative;
  z-index: 4;
  margin-top: -54px;
  padding-bottom: 56px;
}

.ws-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ws-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 20px 44px -16px rgba(15, 23, 42, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ws-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 28px 54px -16px rgba(37, 99, 235, 0.18);
}

.ws-card-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ws-card h3 {
  font-size: 1.16rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.ws-card p {
  font-size: 13.8px;
  color: #64748b;
  margin-bottom: 10px;
  line-height: 1.55;
}

.ws-link {
  color: #2563eb;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  word-break: break-word;
}

.ws-link:hover {
  color: #1d4ed8;
  text-decoration: none;
}

/* ── 3. MAIN INQUIRY WORKSPACE + TESTIMONIALS & TECH ── */
.ws-contact-form {
  padding: 16px 0 92px;
  background: #f8fafc;
}

.ws-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 32px;
  align-items: start;
}

.ws-trust-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Testimonial Slider Card */
.ws-testi-box {
  background: linear-gradient(155deg, #0b1120 0%, #172554 100%);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 22px;
  padding: 28px 24px;
  color: #ffffff;
  box-shadow: 0 22px 48px -16px rgba(15, 23, 42, 0.28);
}

.ws-testi-head {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 18px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}

.testimonial-card img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(96, 165, 250, 0.55);
  margin-bottom: 12px;
}

.testimonial-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.testimonial-card span {
  font-size: 12.5px;
  color: #93c5fd;
  display: block;
  margin-bottom: 10px;
}

.testimonial-card .stars {
  color: #fbbf24;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 36px;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  background-color: #2563eb;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background-size: 55% 55%;
}

/* Technologies Marquee */
.ws-tech-marquee {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 26px 20px;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.ws-tech-title {
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  font-size: 1.18rem;
  margin-bottom: 18px;
}

.ws-tech-lane {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.ws-tech-track {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.ws-tech {
  min-width: 78px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
  margin: 0;
}

.ws-tech img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.ws-tech figcaption {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.ws-left .ws-tech-track {
  animation: marquee-left 34s linear infinite;
}

.ws-right .ws-tech-track {
  animation: marquee-right 34s linear infinite;
}

.ws-tech-lane:hover .ws-tech-track {
  animation-play-state: paused;
}

/* Right Column: Form Panel */
.ws-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 34px;
  box-shadow: 0 24px 55px -18px rgba(15, 23, 42, 0.12);
}

.ws-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ws-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.ws-panel-sub {
  font-size: 14.5px;
  color: #64748b;
  margin-bottom: 26px;
}

.ws-label {
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #334155;
  margin-bottom: 7px;
}

.ws-input {
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  padding: 12px 14px;
  font-size: 14.5px;
  color: #0f172a;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

select.ws-input {
  height: 48px;
}

.ws-input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.ws-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ws-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -6px rgba(37, 99, 235, 0.65);
}

.ws-form-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: #64748b;
}

.ws-form-assurance i {
  color: #10b981;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1024px) {
  .ws-hero-layout,
  .ws-workspace-grid {
    grid-template-columns: 1fr;
  }

  .ws-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .bhn-cnt-container {
    padding: 0 16px;
  }

  .ws-hero-banner {
    padding: 52px 0 84px;
  }

  .ws-hero-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .ws-cards-grid {
    grid-template-columns: 1fr;
  }

  .ws-panel {
    padding: 24px 18px;
  }

  .ws-contact-form {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-left .ws-tech-track,
  .ws-right .ws-tech-track {
    animation: none;
  }
}
