/* Diagnostika Geely Page specific styles */

.cma-diagnostika-page {
  /* Fix gap above the header */
  margin-top: -80px;
}

.cma-diagnostika-page .breadcrumb-bg {
  background-size: cover !important;
  background-position: center 40% !important;
  position: relative;
}

.cma-diagnostika-page .breadcrumb-bg .breadcrumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 17, 26, 0.9) 0%, rgba(26, 26, 30, 0.4) 100%);
  z-index: 1;
}

.cma-diagnostika-page .breadcrumb-bg .container {
  position: relative;
  z-index: 2;
}

/* Advantages cards */
.cma-diag-advantages {
  background-color: #f1f3f6;
  padding: 48px 0;
}

.cma-diag-adv-card {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.cma-diag-adv-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.cma-diag-adv-icon {
  flex-shrink: 0;
  text-align: center;
  width: 44px;
}

.cma-diag-adv-icon i {
  color: #ff3737;
  font-size: 32px;
}

.cma-diag-adv-card span {
  color: #2d3444;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Dark theme Tables */
.geely-diagnostika-tables-section {
  position: relative;
  overflow: hidden;
}

.geely-diagnostika-tables-section::before {
  background: radial-gradient(circle at center, rgba(255, 55, 55, 0.24), transparent 62%);
  content: "";
  height: 420px;
  position: absolute;
  right: -90px;
  top: -100px;
  width: 420px;
  pointer-events: none;
}

.geely-diag-table {
  border-color: rgba(255, 255, 255, 0.18);
}

.geely-diag-table thead th {
  border-color: rgba(255, 255, 255, 0.18);
  font-size: 17px;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 55, 55, 0.5);
}

.geely-diag-table tbody td {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  vertical-align: middle;
}

.geely-diag-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.06);
}

.geely-diag-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.1);
}

/* Contact info icons */
.cma-diag-contact-icon {
  flex-shrink: 0;
  text-align: center;
  width: 44px;
}

.cma-diag-contact-icon i {
  color: #ff3737;
  font-size: 28px;
}

/* Sidebar sticky — keep below the site header (nav-area z-index: 100) */
.cma-diagnostika-page .service-sidebar.sticky-top {
  z-index: 10;
}

/* FAQ Accordion Chevron Fix */
.cma-diagnostika-page .accordion .card-header button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
  .cma-diagnostika-page {
    margin-top: 0;
  }
}