/* ! Hero */
.c-hero-section {
  position: relative;
  min-height: 65dvh;
  width: 100%;
  background-image: url(../media/images/nuestrosServiciosBackground.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.c-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(56, 56, 56, 0.7),
    rgba(56, 56, 56, 0.7)
  );
  z-index: 1;
}

.c-hero-text {
  overflow: hidden;
  z-index: 2;
}

.c-hero-title {
  font-size: var(--font-size-hero-title);
  text-align: center;
  text-transform: uppercase;
  color: var(--alternative-text);
}

.c-hero-subtitle {
  max-width: 60%;
  font-size: var(--font-size-hero-subtitle);
  text-align: center;
  color: var(--alternative-text);
}

.c-services-title {
  font-size: var(--font-size-section-title);
  text-align: center;
  font-weight: bold;
}

.c-services-text {
  font-size: var(--font-size-section-text);
  text-align: start;
  color: var(--secondary-text);
}

/* ! Services */
.c-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 30px;
  row-gap: 40px;
}

.c-card-container {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.c-card {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  background-color: var(--alt-color);
  transition: transform 0.3s ease;
}

.c-card:hover {
  transform: scale(1.05);
}

.c-services-img {
  aspect-ratio: 3 / 3;
  object-fit: cover;
}

.c-card-title {
  font-size: var(--font-size-card-title);
  font-weight: bold;
  text-align: center;
  color: var(--primary-color);
}

@media (max-width: 480px) {
  .c-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 480px) and (max-width: 1023px) {
  .c-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
