/* =================================================
SERVICE PAGE LAYOUT
================================================= */

.service-page {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: auto;
  background: var(--bg-main);
  color: var(--text-main);
}

/* =================================================
SECTION HEADERS
================================================= */

.service-page h2 {
  color: #e03131;   /* Valley red */
}
/* =================================================
CARDS
================================================= */

.card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--shadow-soft);
}


/* =================================================
IMAGES
================================================= */

.hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}


/* =================================================
LISTS
================================================= */

.styled-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
  columns: 2;
  column-gap: 2rem;
}

.styled-list li {
  margin-bottom: 0.6rem;
}


/* =================================================
BRANDS GRID
================================================= */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}


/* =================================================
BRAND CARD
================================================= */

.brand-card {
  text-align: center;
  padding: 1rem;
  display: block;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s ease;
  overflow: hidden; /* keeps logos inside card */
}

.brand-card:hover {
  transform: translateY(-4px);
}

.brand-card img {
  max-width: 100%;
  max-height: 65px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  display: block;
}

/* brand name */

.brand-card p {
  font-size: 0.85rem;
  margin-top: 0.4rem;
  color: #e03131; /* Valley red */
  font-weight: 600;
}


/* =================================================
LOGO
================================================= */

.logo-img {
  max-width: 300px;
  margin: 1.5rem auto;
  display: block;
}


/* =================================================
CTA BUTTONS
================================================= */

.cta-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
}


/* =================================================
UTILITY
================================================= */

.center-text {
  text-align: center;
}

.service-meta {
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-size: 0.9rem;
}


/* =================================================
RESPONSIVE
================================================= */

@media (max-width: 900px) {

  .styled-list {
    columns: 1;
  }

}

@media (max-width: 768px) {

  .service-page {
    padding: 2rem 1rem;
  }

  .card {
    padding: 1.6rem;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .brand-card img {
    max-height: 55px;
  }

}

@media (max-width: 480px) {

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-img {
    max-height: 260px;
  }

}
