/* =====================================================================
   DATASTRIVE ELEMENTOR COMPONENTS — Stylesheet
   All classes are namespaced under .ds- to avoid theme/plugin collision.
   ===================================================================== */

:root {
  --ds-navy: #03143A;
  --ds-navy-deep: #020D26;
  --ds-blue: #007FFF;
  --ds-blue-hover: #0066CC;
  --ds-cyan: #00CFFF;
  --ds-text: #1A2238;
  --ds-text-soft: #4A5568;
  --ds-bg-soft: #F4F8FF;
  --ds-border: #E2E8F0;
  --ds-radius: 10px;
  --ds-radius-lg: 16px;
  --ds-shadow-sm: 0 2px 8px rgba(3, 20, 58, 0.06);
  --ds-shadow: 0 12px 40px rgba(3, 20, 58, 0.12);
  --ds-shadow-lg: 0 24px 60px rgba(3, 20, 58, 0.18);
}

/* ------------------------------------------------------------
   PILL EYEBROW — dark backgrounds (cyan pill)
   ------------------------------------------------------------ */
.ds-eyebrow-dark {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(0, 207, 255, 0.15);
  border: 1px solid rgba(0, 207, 255, 0.4);
  color: var(--ds-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}
.ds-eyebrow-dark.ds-pulse-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ds-cyan);
  box-shadow: 0 0 12px var(--ds-cyan);
  margin-right: 8px;
  animation: ds-pulse 2s ease-out infinite;
}
@keyframes ds-pulse {
  0%   { box-shadow: 0 0 12px var(--ds-cyan), 0 0 0 0 rgba(0, 207, 255, 0.6); }
  70%  { box-shadow: 0 0 12px var(--ds-cyan), 0 0 0 10px rgba(0, 207, 255, 0); }
  100% { box-shadow: 0 0 12px var(--ds-cyan), 0 0 0 0 rgba(0, 207, 255, 0); }
}

/* Light-bg eyebrow (uppercase blue label, no pill) */
.ds-eyebrow-light {
  color: var(--ds-blue);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   SECTION HEADING — centered eyebrow + h2 + lead
   ------------------------------------------------------------ */
.ds-section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.ds-section-heading-eyebrow {
  margin-bottom: 12px;
}
.ds-section-heading-title {
  color: var(--ds-navy);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.ds-section-heading-lead {
  font-size: 1.0625rem;
  color: var(--ds-text-soft);
  margin: 0;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   TRUST BAR — 4-column stat row
   ------------------------------------------------------------ */
.ds-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 32px 0;
}
.ds-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ds-trust-num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--ds-blue);
  line-height: 1;
}
.ds-trust-label {
  font-size: 0.875rem;
  color: var(--ds-text-soft);
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .ds-trust-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------
   PAIN POINT CARD — blue left border
   ------------------------------------------------------------ */
.ds-pain-card {
  background: #FFFFFF;
  border: 1px solid var(--ds-border);
  border-left: 4px solid var(--ds-blue);
  padding: 24px;
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-sm);
  height: 100%;
}
.ds-pain-card-title {
  color: var(--ds-navy);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
}
.ds-pain-card-desc {
  color: var(--ds-text-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------------------------
   SERVICE CARD — gradient icon box, hover lift
   ------------------------------------------------------------ */
.ds-service-card {
  background: #FFFFFF;
  padding: 32px 28px;
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-sm);
  border: 1px solid var(--ds-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ds-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow);
  border-color: var(--ds-blue);
}
.ds-service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ds-blue), var(--ds-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(0, 127, 255, 0.25);
  flex-shrink: 0;
}
.ds-service-card-icon i,
.ds-service-card-icon svg {
  color: #FFFFFF;
  fill: #FFFFFF;
  font-size: 28px;
  width: 28px;
  height: 28px;
}
.ds-service-card-title {
  color: var(--ds-navy);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.ds-service-card-desc {
  color: var(--ds-text-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 14px;
  flex-grow: 1;
}
.ds-service-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease, color 0.15s ease;
  margin-top: auto;
}
.ds-service-card .ds-service-card-link,
.ds-service-card .ds-service-card-link:link,
.ds-service-card .ds-service-card-link:visited {
  color: var(--ds-blue) !important;
}
.ds-service-card .ds-service-card-link:hover {
  gap: 10px;
  color: var(--ds-blue-hover) !important;
}

/* ------------------------------------------------------------
   PROCESS STEP — circular gradient number
   ------------------------------------------------------------ */
.ds-process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.ds-process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ds-blue), var(--ds-cyan));
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 127, 255, 0.3);
}
.ds-process-title {
  color: var(--ds-navy);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.ds-process-desc {
  color: var(--ds-text-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------------------------
   SERVICE AREAS — pill row
   ------------------------------------------------------------ */
.ds-areas {
  text-align: center;
  padding: 56px 0;
}
.ds-areas-eyebrow { margin-bottom: 14px; }
.ds-areas-title {
  color: var(--ds-navy);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.ds-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.ds-areas-list a {
  background: var(--ds-bg-soft);
  border: 1px solid var(--ds-border);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.ds-areas-list a,
.ds-areas-list a:link,
.ds-areas-list a:visited {
  color: var(--ds-navy) !important;
}
.ds-areas-list a:hover,
.ds-areas-list a:focus {
  background: var(--ds-blue) !important;
  color: #FFFFFF !important;
  border-color: var(--ds-blue) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* ------------------------------------------------------------
   WHY BADGE — dark glass card with stat + tags
   ------------------------------------------------------------ */
.ds-why-badge {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--ds-radius-lg);
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ds-why-badge-num {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--ds-cyan), #FFFFFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.ds-why-badge-label {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin: 0;
}
.ds-why-badge-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 24px 0;
}
.ds-why-badge-heading {
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 14px;
}
.ds-why-badge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.ds-why-badge-tags span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ------------------------------------------------------------
   FAQ — card-style accordion with + → × indicator
   ------------------------------------------------------------ */
.ds-faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.ds-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--ds-shadow-sm);
}
.ds-faq-q {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ds-navy);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}
.ds-faq-q::-webkit-details-marker { display: none; }
.ds-faq-q::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--ds-blue);
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.ds-faq-item[open] .ds-faq-q::after { transform: rotate(45deg); }
.ds-faq-a {
  padding: 0 24px 20px;
  color: var(--ds-text-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ------------------------------------------------------------
   OUTLINE BUTTON — used on dark backgrounds (why-badge CTA)
   ------------------------------------------------------------ */
.ds-btn-outline-light {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  background: transparent;
  transition: all 0.15s ease;
  text-decoration: none !important;
  line-height: 1.4;
  cursor: pointer;
}
.ds-btn-outline-light,
.ds-btn-outline-light:link,
.ds-btn-outline-light:visited {
  color: #FFFFFF !important;
}
.ds-btn-outline-light:hover,
.ds-btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   CTA PHONE LINK — "Or call 1-773-863-3868" on dark sections
   ------------------------------------------------------------ */
.ds-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1.0625rem;
  margin-top: 8px;
  transition: color 0.15s ease;
}
.ds-cta-phone,
.ds-cta-phone:link,
.ds-cta-phone:visited {
  color: #FFFFFF !important;
}
.ds-cta-phone:hover,
.ds-cta-phone:focus {
  color: #00CFFF !important;
}
.ds-cta-phone svg {
  width: 22px;
  height: 22px;
  fill: var(--ds-cyan);
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   ELEMENTOR EDITOR — small visibility tweaks so dark widgets
   show up clearly on the editor's light canvas.
   ------------------------------------------------------------ */
.elementor-editor-active .ds-why-badge {
  background: linear-gradient(135deg, #03143A, #020D26);
}
