.contact-banner {
  background-image: url('https://images.unsplash.com/photo-1587560699334-bea93391dcef?q=80&w=1770&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-position: center;
  background-size: cover;
  height: 60vh;
  position: relative;
}

.contact-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.contact-banner h1 {
  color: white;
  font-size: 4rem;
  position: absolute;
  z-index: 1;
  padding: 0 20px;
  letter-spacing: 4px;
}

.contact-detail {
  box-shadow: 0px 10px 80px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 20px;
  width: 100%;
  height: 300px;
  transition: transform 0.4s ease-in-out;
}
.contact-detail-info h3 {
  margin-bottom: 15px;
}

.contact-detail-info h5 {
  font-weight: 300;
  color: rgba(106, 106, 106, 1);
  user-select: none;
}

.contact-detail-info h5 a {
  text-decoration: none;
  color: rgba(106, 106, 106, 1);
  user-select: none;
}

.contact-detail-info h5 a:hover {
  color: var(--hover-color);
}

.contact-detail:hover {
  transform: translateY(-5%);
}

/* Base styles */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background-color: white;
}

.contact-detail-icon {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  background-color: var(--active-color);
  margin-bottom: 10px;
}

#message-form {
  background-color: var(--accent-color-light);
}

.form-floating > label {
  padding: 1rem 1.25rem !important;
}

@media screen and (min-width: 768px) {
  .contact-detail {
    width: 48%;
  }
}

@media screen and (min-width: 1024px) {
  .contact-detail {
    width: 30%;
  }

  #contact-form {
    margin-inline: auto;
    width: 50%;
  }
}
