/* ================================================================
   MAP Water Well Service — Homepage (index) Styles
   ================================================================ */

/* ── Trust bar ──────────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(135deg, #022c5b 0%, #0369a1 100%);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-item:last-child { border-right: none; }

.trust-item .fa {
  font-size: 14px;
  color: #7dd3fc;
}

/* ── Intro section ──────────────────────────────────────────── */
.home-intro { padding: 40px 0 20px; }

.home-intro h1 {
  color: #022c5b;
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.home-intro p {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 12px;
  max-width: 820px;
}

.home-intro .cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #022c5b 0%, #0369a1 100%);
  color: #ffffff;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  margin-top: 8px;
  transition: opacity 0.2s, transform 0.15s;
}

.home-intro .cta-inline:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Section divider ────────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 32px 0;
}

/* ── Service cards ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 8px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(2, 44, 91, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(2, 44, 91, 0.13);
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.service-card-body { padding: 20px 22px 24px; }

.service-card-body h3 {
  color: #022c5b;
  font-size: 17px;
  margin: 0 0 12px;
  border-bottom: 2px solid #0369a1;
  padding-bottom: 8px;
}

.service-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card-body ul li {
  font-size: 13.5px;
  color: #374151;
  padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-body ul li:last-child { border-bottom: none; }

.service-card-body ul li::before {
  content: "✓";
  color: #0369a1;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── Manufacturers section ──────────────────────────────────── */
.manufacturers-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 8px 0 32px;
}

.manufacturers-section h2 {
  color: #022c5b;
  font-size: 20px;
  margin: 0 0 18px;
  text-align: center;
}

.suppliers-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 780px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-bar .container { justify-content: flex-start; }
  .trust-item { padding: 6px 14px; font-size: 12px; }
  .manufacturers-section { padding: 20px 16px; }
}

@media (max-width: 540px) {
  .home-intro h1 { font-size: 22px; }
}
