.mod-container {
  margin-top: 60px;
  margin-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  min-height: 80vh;
  justify-content: center;
}

.mod-card {
  width: 80%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  flex-flow: row wrap;
}

.mod-main-title {
  font-size: 35px;
  margin-bottom: 20px;
  color: #194493;
  font-family: "Br Black";
  text-align: center;
}

.mod-left-column {
  width: 40%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background-color: #ffffff;
  justify-items: center;
  align-items: center;
}

.mod-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mod-item {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #194493;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
  color: inherit;
}

.mod-item:hover {
  background-color: #194493;
  color: white;
}

.mod-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.mod-title {
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: bold;
  color: #194493;
  font-family: "Br Black";
}

/* Columna Derecha */
.mod-right-column {
  width: 40%;
  min-width: 300px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---------------------- */
/* RESPONSIVE DESIGN */
/* ---------------------- */
@media (max-width: 900px) {
  .mod-card {
    flex-direction: column; /* Cambia de fila a columna */
    gap: 50px; /* Menos espacio entre columnas */
  }

  .mod-left-column,
  .mod-right-column {
    width: 100%; /* Ocupan todo el ancho */
    padding: 20px;
  }

  .mod-left-column {
    order: 1; /* Arriba */
    grid-template-columns: repeat(2, 1fr);
  }

  .mod-right-column {
    order: 2; /* Abajo */
  }
}

@media (max-width: 600px) {
  .mod-left-column {
    grid-template-columns: 1fr; /* Ítems en una sola columna en móviles */
  }

  .mod-title {
    font-size: 13px;
  }

  .mod-right-column {
    padding: 20px;
  }
}