/* Our Services overview page */
body {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  color: #333;
  background-color: #fff;
}

.services-page {
  padding: 130px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-hero {
  text-align: center;
  margin-bottom: 50px;
}

.services-hero h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  padding-bottom: 12px;
  margin-bottom: 24px;
  position: relative;
}

.services-hero h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #f39c12;
  border-radius: 2px;
}

.services-hero p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

/* Portrait photo: show the board text at the top as well as the person */
.service-card img.img-show-board {
  object-position: center 30%;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-grow: 1;
  padding: 24px 28px 28px;
}

.service-badge {
  padding: 4px 12px;
  border-radius: 30px;
  background-color: rgba(243, 156, 18, 0.12);
  color: #b9770e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #2c3e50;
}

.service-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.service-cta {
  margin-top: auto;
  padding-top: 8px;
  color: #3498db;
  font-weight: 600;
}

.service-cta i {
  margin-left: 6px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-cta i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .services-page {
    padding-top: 110px;
  }

  .services-hero h1 {
    font-size: 2rem;
  }
}
