.contact-title-section {
  color: var(--vvhite);
  background-color: rgba(0, 0, 0, 0.7);
  background-image: url("../images/common/contact-bg.webp");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.py-custom {
  padding: 128px 0;
}

.contact-title-section h1 {
  font-weight: 900;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.contact-title-section p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

@media (max-width: 768px) {
  .contact-title-section p {
    font-size: 1rem;
    padding: 0 20px;
  }
}

.location-card {
  display: none;
}

.location-card.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  #contact-branches .row > .col-lg-6 {
    display: flex;
  }

  #contact-branches .home-contact-wrapper,
  #contact-branches .location-card.active,
  #contact-branches .location-card.active .branch-card {
    width: 100%;
    height: 100%;
  }

  #contact-branches .location-card.active {
    display: flex;
    margin-bottom: 0 !important;
  }

  #contact-branches .location-card.active .branch-card {
    display: flex;
    flex-direction: column;
  }

  #contact-branches .location-card.active .branch-card > .p-3 {
    flex: 1 1 auto;
  }
}
