.office {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
 
  height: 100%;
  margin-bottom: 12%;
}

.card-title-ofis {
  text-align: center;
  color: #0f4667;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
  width: 100%;
  font-size: 1.5rem;
}

.card-ofis {
  position: relative;
  width: 70vh;
  height: 45vh;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;

}

.card-ofis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card-ofis:hover img {
  transform: scale(1.1);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-ofis:hover .card-content {
  opacity: 1;
}

.card-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card-content a.button {
  color: #fff;
  background-color: #0f4667;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
}

.card-content a.button:hover {
  background-color: #1a74b9;
  transition: background-color 0.3s ease;
}




@media (max-width: 768px) {
  .card-ofis{
  padding: 1.5rem;
}
  
}