/* ===========================================================
   Dark theme override for individual public pages (Services,
   About) — matches the sidebar / account area palette
   (#0d1f35 bg, #00c8ee accent) instead of the default light
   marketing theme. Scoped to .page-dark-theme so it doesn't
   bleed into Home/Contact/other pages sharing the same
   .mad-* classes.
   =========================================================== */

.page-dark-theme {
  background-color: #0d1f35;
}

.page-dark-theme .mad-content {
  background-color: #0d1f35;
}

.page-dark-theme h1,
.page-dark-theme h2,
.page-dark-theme h3,
.page-dark-theme h4,
.page-dark-theme h5,
.page-dark-theme h6,
.page-dark-theme .mad-page-title,
.page-dark-theme .mad-entity-title,
.page-dark-theme .mad-icon-box-title {
  color: #ffffff;
}

.page-dark-theme p,
.page-dark-theme .mad-icon-box,
.page-dark-theme .mad-entity-content,
.page-dark-theme li {
  color: #b0c9d6;
}

.page-dark-theme .mad-sub-title {
  color: #00c8ee;
}

/* Colorized sections (icon box grid, additional services, etc.) */
.page-dark-theme .mad-colorizer--scheme-color-2 > .mad-colorizer-bg-color,
.page-dark-theme .mad-colorizer--scheme > .mad-colorizer-bg-color,
.page-dark-theme .mad-colorizer--scheme-color-3 > .mad-colorizer-bg-color {
  background: #132943;
}

.page-dark-theme .mad-colorizer--scheme-color-2,
.page-dark-theme .mad-colorizer--scheme-color-2 .mad-title-wrap,
.page-dark-theme .mad-colorizer--scheme-color-2 label {
  color: #b0c9d6;
}

.page-dark-theme .mad-icon-box .mad-icon-box-icon .svg path {
  fill: #00c8ee;
}

/* Additional Services table */
.page-dark-theme table th,
.page-dark-theme table tfoot {
  color: #ffffff;
}

.page-dark-theme table:not(.mad-table--vertical) tr.bg,
.page-dark-theme .mad-table.mad-table--vertical tr th {
  background: #16324f;
}

.page-dark-theme table td {
  color: #b0c9d6;
  border-color: rgba(0, 200, 238, 0.15);
}

.page-dark-theme table tr:hover {
  background: rgba(0, 200, 238, 0.06);
}

/* Location / map card on Contact-style rows, entity media borders */
.page-dark-theme .mad-entity-media img {
  border-radius: 12px;
}

.page-dark-theme a:not(.mad-btn) {
  color: #00c8ee;
}

.page-dark-theme .video_wrapper_full.with-half-bg:after {
  background: #0d1f35;
}
