/* ===========================================
   ABOUT US - HERO SECTION
   =========================================== */
.page-contact .hero-banner__content {
  background: #00225066;
  border-radius: 20px;
}
.page-contact .hero-banner {
  padding-bottom: 80px;
}

/* ===========================================
   SECTION CONTACT
   =========================================== */
.section-contact {
  padding: 25rem 0 4rem;
  background: #f5f5f5;
  position: relative;
  z-index: 9;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 2rem;
}

/* MAIN FORM */
.main-form {
  max-width: 1023px;
  width: 100%;
  box-shadow: 0px 10px 35px 0px #00000008;
  background: #fff !important;
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* CONTACT CARD */
.contact-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-card__icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a90d9;
  background-color: #f2f6fd;
  border-radius: 10px;
}

/* Corner decorations */

.contact-card__icon svg {
  width: 50px;
  height: 50px;
  border: 1px dashed #1565d8;
  padding: 5px;
}

.contact-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 12px;
}

.contact-card__info {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card__info:hover {
  color: var(--color-secondary);
}

.contact-card__qr {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.contact-card__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media screen and (max-width: 1024px) {
  /* ===========================================
   CONTACT CARD
   =========================================== */
  /* FORM MAIN */
  .contact-hero {
    padding-bottom: 0;
  }
  .section-contact {
    padding: 5rem 1rem;
  }
  .main-form {
    transform: initial;
    position: initial;
    margin-bottom: 2rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card:last-child {
    grid-column: 1 / 3;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  /* ===========================================
   CONTACT CARD
   =========================================== */
  .section-contact {
    padding: 40px 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .contact-card__info {
    font-size: 16px;
  }
  .contact-card:last-child {
    grid-column: initial;
  }

  .contact-card__qr {
    width: 100px;
    height: 100px;
  }
}
