section.contact-section a {
  color: #ffffff;
}
.cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.cards-container .flex {
  display: flex;
  gap: 18px;
  align-items: start;
  margin-bottom: 48px;
}
.cards-container .flex p,
.cards-container .flex a {
  margin-bottom: 0;
  font-size: 20px;
}
.cards-container .flex a:hover {
  text-decoration: underline;
}
.cards-container .content {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.contactcard {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-radius: 10px;
}

.contactheader-section {
  font-size: 46px;
  font-weight: 600;
  margin: 10px 0;
}

.contact-section .contactus-header {
  margin-bottom: 30px;
}
.contact-section .contactus-header p {
  font-size: 20px;
  font-weight: 300;
}
.contactcard.large {
  position: relative;
}
.contactcard.large::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 51%);
}

.card-large-img {
  width: 100%;
}
.contactcard.large .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 60px 20px 60px 60px;
}

.contactcard.large h3 {
  font-size: 6rem;
  font-weight: 600;
  opacity: 0.5;
  color: #ffffffbf;
  padding-top: 40px;
}
.contactcard.large h4 {
  font-size: 2.6rem;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 60px;
}

.contactcard.small {
  width: 25%;
}
.contactcard.small::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 10%);
}

.contactcard.small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contactcard.small .text {
  position: absolute;
  bottom: 0;
  padding: 20px;
  color: white;
}

.contactcard.small h3 {
  font-size: 4rem;
  margin: 20px 0px;
  font-weight: 600;
  color: #ffffffbd;
  opacity: 0.9;
}

.contactcard.small h4 {
  font-size: 1.5rem;
  margin: 0;
  text-transform: uppercase;
  font-weight: 600;
  color: #ffffff;
}
.slide-up {
  animation: slideUp 0.5s ease-out;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design for Tablets */

@media (min-width: 1024px) and (max-width: 1199px) {
  .cards-container {
    gap: 20px;
  }
  .contactheader-section {
    font-size: 32px;
  }
  .contact-section .contactus-header p {
    font-size: 17px;
  }
  .contactcard.large {
    width: 100%;
    height: 100%;
  }
  .contactcard.large .content {
    padding: 40px 30px;
  }
  .cards-container .flex p,
  .cards-container .flex a {
    font-size: 16px;
  }

  .contactcard.large {
    width: 100%;
    height: 100%;
  }

  .cards-container .flex {
    margin-bottom: 16px;
  }

  .contactcard.large h3 {
    font-size: 5rem;
  }

  .contactcard.large h4 {
    font-size: 1.8rem;
  }

  .contactcard.small h3 {
    font-size: 3rem;
  }

  .contactcard.small h4 {
    font-size: 1rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cards-container {
    gap: 20px;
  }
  .contactheader-section {
    font-size: 32px;
  }
  .contact-section .contactus-header p {
    font-size: 17px;
  }
  .contactcard.large {
    width: 100%;
    height: 100%;
  }
  .contactcard.large .content {
    padding: 20px;
  }
  .cards-container .flex p,
  .cards-container .flex a {
    font-size: 18px;
  }

  .contactcard.large {
    width: 100%;
    height: 100%;
  }

  .cards-container .flex {
    margin-bottom: 32px;
  }

  .contactcard.large h3 {
    font-size: 4rem;
    line-height: 60px;
    padding-top: 20px;
  }

  .contactcard.large h4 {
    font-size: 1.5rem;
    margin-top: 10px;
    margin-bottom: 24px;
  }

  .contactcard.small h3 {
    font-size: 3rem;
    margin: 10px 0px;
  }

  .contactcard.small h4 {
    font-size: 0.8rem;
  }

  .contactcard.small .text {
    padding: 6px;
  }
  img.location-icon {
    margin-top: 3px;
  }
}
@media (max-width: 374px) {
}
@media (max-width: 767px) {
  .lpe-icon {
    width: 20px;
  }
  .card-large-img {
    height: 500px !important;
  }
  .cards-container {
    flex-direction: column;
    gap: 15px;
  }
  .contactheader-section {
    font-size: 32px;
  }
  .contact-section .contactus-header p {
    font-size: 17px;
  }
  .contactcard.large {
    width: 100%;
    height: 100%;
  }
  .contactcard.large .content {
    padding: 40px 15px;
  }
  .cards-container .flex p,
  .cards-container .flex a {
    font-size: 16px;
  }

  .contactcard.small {
    width: 100%;
    height: 180px;
  }
  .cards-container .flex {
    margin-bottom: 28px;
  }

  .contactcard.large h3 {
    font-size: 4rem;
    padding-top: 10px;
  }

  .contactcard.large h4 {
    font-size: 1.8rem;
  }

  .contactcard.small h3 {
    font-size: 3rem;
  }

  .contactcard.small h4 {
    font-size: 1rem;
  }
  img.location-icon {
    margin-top: 5px;
  }
}
