/* ==========================================================================
   JH WEB SOLUTIONS - MODERN HERO SECTION FOR WEBSITE DESIGN PAGE
   Color-aligned with JH Web Solutions Logo & Home Page Branding:
   - Primary Brand Blue: #0256d3 & #2563eb
   - Midnight Navy: #0b1120 & #0f172a
   - Accent Amber/Gold: #f59e0b
   - Accent Emerald: #10b981
   - Cyan Glow: #06b6d4 & #38bdf8
   ========================================================================== */

.jh-wd-hero-section {
  background-color: #FFFFFF;
  background-image: radial-gradient(circle at 10% 20%, rgba(2, 86, 211, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 45%);
  padding: 65px 20px 75px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.jh-wd-hero-section *,
.jh-wd-hero-section *::before,
.jh-wd-hero-section *::after {
  box-sizing: border-box;
}

.jh-wd-hero-container {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 50px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   LEFT COLUMN
   -------------------------------------------------------------------------- */
.jh-wd-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Trust Pill Badge (With subtle brand border and gold star) */
.jh-wd-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(2, 86, 211, 0.18);
  border-radius: 9999px;
  padding: 7px 18px;
  box-shadow: 0 4px 14px rgba(2, 86, 211, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 22px;
  transition: all 0.25s ease;
}

.jh-wd-trust-pill:hover {
  border-color: #0256d3;
  transform: translateY(-1px);
}

.jh-wd-star-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #F59E0B;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

/* Eyebrow - Royal Brand Blue */
.jh-wd-eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0256d3;
  margin-bottom: 12px;
  display: block;
}

/* Main Headline */
.jh-wd-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}

/* Contrast Italic Serif Tagline with Brand Gradient */
.jh-wd-tagline {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.jh-title-gradient {
  background: linear-gradient(135deg, #0256d3 0%, #2563eb 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Description */
.jh-wd-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
  max-width: 530px;
  margin: 0 0 32px;
  font-weight: 400;
}

/* Action Buttons */
.jh-wd-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.jh-wd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.jh-wd-btn:hover,
.jh-wd-btn:focus {
  text-decoration: none;
}

/* Primary Button (Home Page Royal Blue Gradient) */
.jh-btn-consult {
  background: linear-gradient(135deg, #0256d3 0%, #1d4ed8 100%);
  color: #FFFFFF !important;
  border: 1px solid #0256d3;
  box-shadow: 0 10px 25px -4px rgba(2, 86, 211, 0.45);
  position: relative;
  overflow: hidden;
}

.jh-btn-consult::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.7s ease;
}

.jh-btn-consult:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px -4px rgba(2, 86, 211, 0.55);
}

.jh-btn-consult:hover::before {
  left: 100%;
}

.jh-btn-consult svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.jh-btn-consult:hover svg {
  transform: translate(2px, -2px);
}

/* Secondary Button (WhatsApp Green Accent) */
.jh-btn-whatsapp-pill {
  background-color: #FFFFFF;
  color: #0f172a;
  border: 1.5px solid #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.12);
}

.jh-btn-whatsapp-pill:hover {
  background-color: rgba(37, 211, 102, 0.08);
  border-color: #128C7E;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.2);
}

.jh-btn-whatsapp-pill svg {
  width: 18px;
  height: 18px;
  fill: #25D366;
}

/* Stats Bar */
.jh-wd-stats-grid {
  border-top: 1px solid #E2E8F0;
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.jh-stat-col {
  display: flex;
  flex-direction: column;
}

.jh-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #0256d3;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.jh-stat-lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN (LIVE LEAD DASHBOARD COMPONENT)
   -------------------------------------------------------------------------- */
.jh-wd-hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Dashboard Card (Midnight Navy from Logo #0b1120) */
.jh-dashboard-card {
  background-color: #0b1120;
  border-radius: 26px;
  padding: 26px 24px 24px;
  box-shadow: 0 30px 65px -15px rgba(2, 86, 211, 0.25), 0 0 0 1px rgba(2, 86, 211, 0.2);
  width: 100%;
  max-width: 480px;
  color: #FFFFFF;
  position: relative;
}

/* Glow behind card */
.jh-dashboard-card::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(2, 86, 211, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

/* Top bar of dashboard */
.jh-dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.jh-dash-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #94a3b8;
  text-transform: uppercase;
}

.jh-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
}

.jh-dash-loc {
  background-color: rgba(2, 86, 211, 0.22);
  border: 1px solid rgba(2, 86, 211, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  color: #93c5fd;
  font-weight: 600;
}

/* 3 Metrics Row */
.jh-dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.jh-metric-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.jh-metric-box:hover {
  border-color: rgba(2, 86, 211, 0.4);
  transform: translateY(-2px);
}

.jh-metric-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.jh-metric-val {
  font-size: 23px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 4px;
}

.jh-metric-delta {
  font-size: 11px;
  font-weight: 700;
  color: #10B981;
}

.jh-metric-sub {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
}

/* Enquiries White Container */
.jh-dash-enquiries {
  background-color: #FFFFFF;
  border-radius: 18px;
  padding: 18px 16px;
  color: #0f172a;
}

.jh-enquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.jh-enquiry-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.jh-enquiry-tag {
  background: linear-gradient(135deg, #059669 0%, #0256d3 100%);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(2, 86, 211, 0.25);
}

.jh-enquiry-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.jh-enquiry-item {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.2s;
}

.jh-enquiry-item:hover {
  background-color: #F1F5F9;
}

.jh-enquiry-dot {
  width: 7px;
  height: 7px;
  background-color: #F59E0B;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

/* Bottom Watch Demo Button */
.jh-demo-badge-btn {
  margin-top: 14px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #0b1120;
  color: #FFFFFF;
  padding: 10px 22px 10px 10px;
  border-radius: 16px;
  border: 1px solid rgba(2, 86, 211, 0.3);
  box-shadow: 0 10px 25px rgba(2, 86, 211, 0.15);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.jh-demo-badge-btn:hover {
  background-color: #1e293b;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(2, 86, 211, 0.3);
  text-decoration: none;
}

.jh-demo-play-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #0256d3 0%, #2563eb 100%);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 86, 211, 0.4);
}

.jh-demo-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.jh-demo-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.jh-demo-sub {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   RESPONSIVE STYLES
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .jh-wd-hero-section {
    padding: 40px 16px 55px;
  }

  .jh-wd-hero-container {
    .jh-wd-hero-container {
      gap: 40px;
      margin-top: 20px;
    }
  }

  .jh-wd-hero-right {
    width: 100%;
  }

  .jh-dashboard-card {
    max-width: 100%;
  }

  .jh-wd-stats-grid {
    gap: 25px;
  }

  .jh-demo-badge-btn {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .jh-wd-actions {
    flex-direction: column;
    width: 100%;
  }

  .jh-wd-btn {
    width: 100%;
  }

  .jh-dash-metrics {
    gap: 8px;
  }

  .jh-metric-val {
    font-size: 20px;
  }

  .jh-wd-stats-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
}