.card-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; 
  padding: 20px;
}

.card {
  background: #001f3f;
  border-radius: 25px;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.342);
  max-width: 550px;
  display: flex;
  height: 310px;
  flex-direction: row;
  position: relative;
}

.card h2 {
  margin: 0;
  padding: 0 1rem;
  color: white;
}

.card .title {
  padding: 1rem;
  text-align: right;
  color: rgb(255, 115, 0);
  font-weight: bold;
  font-size: 12px;
}

.card .desc {
  padding: 0.5rem 1rem;
  font-size: 15px;
  color: white;
}

.card .actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 0.5rem 1rem;
  
}

.card-text {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 7rem;
}

.title-total {
  padding: 2.5em 1.5em 1.5em 1.5em;
}

.img-portada {
  width: 100%;
}

.portada {
  width: 140%;
  height: 100%;
  background-position: bottom center;
  background-size: contain;
}

.contact-title {
  font-size: 24px; 
  color: rgb(255, 136, 0); 
  margin-bottom: 5px; 
  font-weight: bold;
  gap: 7rem;
}

button {
  border: none;
  background: none;
  font-size: 20px;
  font-weight: bold;
  color: rgb(255, 102, 0);
  cursor: pointer;
  transition: 0.5s;
  display: flex;
  align-items: center;
  gap: 10px; 
}

button i {
  font-size: 20px; 
}

button:hover {
  color: rgb(255, 166, 0);
}

/* Mobile screen responsiveness */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    gap: 20px;
    padding: 10px;
  }

  .card {
    flex-direction: column; 
    width: 100%;
    max-width: 100%; 
  }

  .card-text {
    display: grid;
    gap: 3rem; 
  }

  .portada {
    width: 150%; 
    height: 90%; 
    padding-top: 25%;
  }

  .card h2 {
    font-size: 1.5rem; 
  }

  .card .desc {
    font-size: 14px; 
  }

  .card .actions {
    grid-template-columns: repeat(3, 1fr);
    padding: 0.5rem;
  }

  .contact-title {
    font-size: 18px; 
    margin-bottom: 3px;
    gap: 3rem; 
  }

  button {
    font-size: 14px; 
  }

button i {
  font-size: 15px; 
}
}

