/*
 * Service Grid Module
 * ========================================================================
 * Styles for displaying services in a responsive grid layout.
 * Includes service cards, hover effects, and responsive adjustments.
 */

/* ==========================================================================
   Base Service Grid Styles
   ========================================================================== */

.service-grid-section {
  padding: 3.75rem 0;
  background-color: var(--bs-white);
}

.service-grid-tag-name {
  font-size: 1rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  color: var(--bs-gray-800);
  margin-bottom: 0.25rem;
  font-weight: 400;
}

.service-grid-title {
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 3.4375rem;
  margin-bottom: 0;
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 3.4375rem;
    margin-bottom: 0;
  }
  p {
    margin-bottom: 0;
  }
  span {
    color: var(--bs-primary);
  }
}

.service-grid-title .font-serif {
  font-size: 3.4375rem;
  line-height: 3.4375rem;
  font-weight: 400;
}
.service-grid-subtitle {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2.125rem;
  color: var(--bs-gray-500);
  max-width: 45rem;
}
@media (max-width: 61.99875rem) {
  .service-grid-section {
    padding: 3.125rem 0;
  }
  .service-grid-title {
    font-size: 2.125rem;
    line-height: 2.75rem;
  }
  .service-grid-title .font-serif {
    font-size: 2.5rem;
    line-height: 2.75rem;
  }
}
.content-left {
  text-align: left;
}

.content-right {
  text-align: right;
}

.content-center {
  text-align: center;
  .service-grid-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Service Cards */
.service-card {
  background: var(--bs-white);
  border: 0.0625rem solid var(--bs-gray-300);
  gap: 1.5rem;
  opacity: 1;
  padding: 1.625rem 1.5rem;
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--bs-transition-slow);
  height: 100%;
}
.service-icon img {
  width: auto;
  height: 4.375rem;
}
.service-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  gap: 0rem;
}
.service-title {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2.125rem;
  text-align: center;
  color: var(--bs-gray-800);
  margin-bottom: 0;
}
.service-description {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5rem;
  text-align: center;
  color: var(--bs-gray-500);
  margin-bottom: 0;
}
