/* ==========================================================================
   Cognizance Matrimonial Due Diligence & Investigation Styles
   (Harmonized with Cognizance Navy Blue & Slate Brand Palette)
   ========================================================================== */

:root {
  --cda-primary: #1d3573;
  --cda-primary-rgb: 29, 53, 115;
  --cda-primary-dark: #152754;
  --cda-accent: #2563eb;
  --cda-accent-light: #60a5fa;
  --cda-bg-dark: #111926;
  --cda-bg-card: #182232;
  --cda-bg-card-hover: #1f2b3e;
  --cda-border: rgba(37, 99, 235, 0.25);
  --cda-border-light: rgba(255, 255, 255, 0.08);
  --cda-text-light: #e6eaf0;
  --cda-text-muted: #9aa5b8;
  --cda-text-white: #ffffff;
}

/* Core Service Tags / Pill Badges */
.cda-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.cda-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  color: #00254e;
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.cda-pill i {
  color: #00254e;
}

.cda-pill:hover {
  background: #1d3573;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 53, 115, 0.4);
}

.cda-pill:hover i {
  color: #ffffff;
}

/* Section Wrapper & Spacing */
.cda-section {
  padding: 70px 0;
  position: relative;
}

.cda-section-alt {
  background: #0d131c;
}

.cda-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
  margin: 50px 0;
}

/* Section Header Typography */
.cda-heading-sub {
  color: #60a5fa;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cda-heading-sub::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: #2563eb;
}

.cda-heading-title {
  color: #1d3573;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  font-family: 'Wix Madefor Display', sans-serif;
}

.cda-heading-lead {
  color: #578ad6;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Feature & Service Cards */
.cda-card {
  background: #182232;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
}

.cda-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, transparent);
  transition: all 0.35s ease;
}

.cda-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background: #1d293d;
}

.cda-card:hover::before {
  background: linear-gradient(90deg, #1d3573, #2563eb, #60a5fa);
}

.cda-card-num {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 6px;
}

.cda-card-title {
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: 'Wix Madefor Display', sans-serif;
}

.cda-card-text {
  color: #9aa5b8;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* 360 Degree Process Pipeline */
.cda-pipeline-wrapper {
  background: #131b26;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 16px;
  padding: 35px 25px;
  margin: 30px 0;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cda-pipeline-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cda-pipeline-step {
  background: #1b2638;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.cda-pipeline-step i {
  color: #60a5fa;
  font-size: 14px;
}

.cda-pipeline-step:hover {
  background: #1d3573;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
}

.cda-pipeline-step:hover i {
  color: #ffffff;
}

.cda-pipeline-arrow {
  color: #60a5fa;
  font-size: 18px;
  font-weight: bold;
}

/* Red Flags Table / Cards */
.cda-redflags-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin-top: 20px;
}

.cda-redflags-table thead th {
  background: #182232;
  color: #60a5fa;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 14px 20px;
  border: none;
}

.cda-redflags-table thead th:first-child {
  border-radius: 8px 0 0 8px;
  width: 25%;
}

.cda-redflags-table thead th:last-child {
  border-radius: 0 8px 8px 0;
}

.cda-redflags-table tbody tr {
  background: #151e2c;
  transition: all 0.25s ease;
}

.cda-redflags-table tbody tr:hover {
  background: #1d293d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.cda-redflags-table tbody td {
  padding: 16px 20px;
  border: none;
  vertical-align: middle;
  color: #d1d8e3;
  font-size: 14.5px;
  line-height: 1.6;
}

.cda-redflags-table tbody td:first-child {
  border-radius: 8px 0 0 8px;
  border-left: 3px solid #2563eb;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Wix Madefor Display', sans-serif;
}

.cda-redflags-table tbody td:last-child {
  border-radius: 0 8px 8px 0;
}

/* Deliverables Checklist Grid */
.cda-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.cda-check-item {
  background: #16202e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
}

.cda-check-item:hover {
  background: #1c2738;
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateX(4px);
}

.cda-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.cda-check-text {
  color: #e2e7ef;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

/* Before vs After Comparison Table */
.cda-compare-wrap {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #141c28;
  margin-top: 25px;
}

.cda-compare-table {
  width: 100%;
  margin: 0;
}

.cda-compare-table th {
  padding: 18px 24px;
  font-size: 18px;
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 700;
}

.cda-compare-table th.col-before {
  background: #1d293d;
  color: #60a5fa;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  width: 50%;
}

.cda-compare-table th.col-after {
  background: #202e44;
  color: #ffffff;
  width: 50%;
}

.cda-compare-table td {
  padding: 14px 24px;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cda-compare-table td.col-before {
  color: #c9d2de;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.cda-compare-table td.col-after {
  color: #c9d2de;
}

.cda-compare-table tr:hover td {
  background: rgba(37, 99, 235, 0.08);
}

/* Legal Compliance Callout */
.cda-legal-notice {
  background: linear-gradient(135deg, rgba(29, 53, 115, 0.3) 0%, rgba(17, 25, 38, 0.95) 100%);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-left: 5px solid #2563eb;
  border-radius: 12px;
  padding: 25px 30px;
  margin-top: 35px;
  position: relative;
}

.cda-legal-title {
  color: #60a5fa;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cda-legal-text {
  color: #010813;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Hero CTA banner */
.cda-cta-banner {
  background: linear-gradient(135deg, #182232 0%, #101620 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 16px;
  padding: 45px 35px;
  text-align: center;
  margin: 50px 0 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cda-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1d3573;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 35px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid #2b59c3;
  margin: 6px;
  box-shadow: 0 4px 15px rgba(29, 53, 115, 0.4);
}

.cda-btn-primary:hover {
  background: #2563eb;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.cda-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin: 6px;
}

.cda-btn-outline:hover {
  border-color: #60a5fa;
  color: #60a5fa !important;
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

/* Suggested SEO Landing Pages Cloud & Box */
.cda-seo-section {
  background: #0f1724;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 45px 0 35px;
}

.cda-seo-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cda-seo-title i {
  color: #60a5fa;
}

.cda-seo-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.cda-seo-tag {
  display: inline-flex;
  align-items: center;
  background: #172233;
  color: #c5d2e3;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cda-seo-tag:hover {
  background: #1d3573;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
}

/* Light mode comparison table for homepage / light sections */
.cda-compare-wrap-light {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(29, 53, 115, 0.08);
  background: #ffffff;
}

.cda-compare-table-light {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.cda-compare-table-light th {
  padding: 18px 24px;
  font-size: 16px;
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cda-compare-table-light th.col-before {
  background: #1d3573;
  color: #ffffff;
  width: 50%;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.cda-compare-table-light th.col-after {
  background: #212c40;
  color: #ffffff;
  width: 50%;
}

.cda-compare-table-light td {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}

.cda-compare-table-light td.col-before {
  border-right: 1px solid #e2e8f0;
  background: #ffffff;
}

.cda-compare-table-light td.col-after {
  background: #f8fafc;
}

.cda-compare-table-light tr:hover td {
  background: #eff6ff;
}

.cda-compare-table-light td i {
  color: #1d3573 !important;
}

@media (max-width: 991px) {
  .cda-pipeline-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .cda-pipeline-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .cda-redflags-table thead,
  .cda-compare-table thead,
  .cda-compare-table-light thead {
    display: none;
  }

  .cda-redflags-table,
  .cda-redflags-table tbody,
  .cda-redflags-table tr,
  .cda-redflags-table td,
  .cda-compare-table,
  .cda-compare-table tbody,
  .cda-compare-table tr,
  .cda-compare-table td,
  .cda-compare-table-light,
  .cda-compare-table-light tbody,
  .cda-compare-table-light tr,
  .cda-compare-table-light td {
    display: block;
    width: 100%;
  }

  .cda-redflags-table tbody tr,
  .cda-compare-table tbody tr,
  .cda-compare-table-light tbody tr {
    margin-bottom: 15px;
    border-radius: 8px;
  }
}