/* Contact page — form card, info cards, map */

@keyframes mlwa-contact-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mlwa-contact-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.page-wrapper.mlwa-contact-page {
  background-color: #fff;
}

.mlwa-contact-page .contact-details {
  background: linear-gradient(165deg, #f8f4fa 0%, #fff 45%, #f3eef6 100%) !important;
  padding: 3rem 0 4rem !important;
}

.mlwa-contact-page .contact-details > .container {
  max-width: 1140px;
}

.mlwa-contact-page .contact-details .row {
  align-items: stretch;
  gap: 0;
}

/* Shared panel */
.mlwa-contact-panel {
  height: 100%;
  animation: mlwa-contact-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.mlwa-contact-panel--form {
  animation-delay: 0.06s;
}

.mlwa-contact-panel--info {
  animation-delay: 0.14s;
}

.mlwa-contact-page .contact-details .sec-title {
  margin-bottom: 1.25rem;
}

/* Form column headings only — do not affect Get in touch panel */
.mlwa-contact-page .mlwa-contact-panel--form .sec-title .sub-title {
  color: #580868 !important;
  font-weight: 600;
}

.mlwa-contact-page .mlwa-contact-panel--form .sec-title h2 {
  color: #1e293b !important;
  font-weight: 700 !important;
}

/* Form card (Zoho iframe wrapper) */
.mlwa-contact-form-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(88, 8, 104, 0.1);
  box-shadow:
    0 4px 12px rgba(46, 7, 117, 0.06),
    0 16px 40px rgba(88, 8, 104, 0.1);
  transition:
    box-shadow 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}

.mlwa-contact-form-card:hover {
  border-color: rgba(88, 8, 104, 0.18);
  box-shadow:
    0 8px 24px rgba(46, 7, 117, 0.1),
    0 20px 48px rgba(88, 8, 104, 0.14);
  transform: translateY(-4px);
}

.mlwa-contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2e0775, #580868, #d8a040, #580868, #2e0775);
  background-size: 200% 100%;
  animation: mlwa-contact-shimmer 4s linear infinite;
}

.mlwa-contact-form__iframe {
  display: block;
  width: 100% !important;
  min-height: 520px;
  height: 520px !important;
  border: none !important;
  border-radius: 14px;
  background: #fafafa;
}

/* Info sidebar */
.mlwa-contact-panel--info {
  background: linear-gradient(145deg, #2e0775 0%, #580868 100%);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  color: #fff;
  box-shadow: 0 16px 48px rgba(46, 7, 117, 0.25);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mlwa-contact-panel--info:hover {
  transform: translateY(-4px);
}

.mlwa-contact-page .mlwa-contact-panel--info .sec-title .sub-title,
.mlwa-contact-page .contact-details .mlwa-contact-panel--info .sec-title .sub-title {
  color: #d8a040 !important;
  opacity: 1;
}

.mlwa-contact-page .mlwa-contact-panel--info .sec-title h2,
.mlwa-contact-page .contact-details .mlwa-contact-panel--info .sec-title h2 {
  color: #d8a040 !important;
}

.mlwa-contact-panel--info,
.mlwa-contact-panel--info .contact-details__right {
  color: #fff;
}

.mlwa-contact-page .contact-details__info {
  margin-top: 1.5rem !important;
}

.mlwa-contact-page .contact-details__info li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  transition:
    background 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
  animation: mlwa-contact-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.mlwa-contact-page .contact-details__info li:nth-child(1) {
  animation-delay: 0.2s;
}

.mlwa-contact-page .contact-details__info li:nth-child(2) {
  animation-delay: 0.28s;
}

.mlwa-contact-page .contact-details__info li:nth-child(3) {
  animation-delay: 0.36s;
}

.mlwa-contact-page .contact-details__info li:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(216, 160, 64, 0.35);
  transform: translateX(6px);
}

.mlwa-contact-page .contact-details__info li + li {
  margin-top: 1rem !important;
}

.mlwa-contact-page .contact-details__info li .icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #d8a040, #f5e6a8) !important;
}

.mlwa-contact-page .contact-details__info li:hover .icon {
  background: #fff !important;
  transform: scale(1.05);
}

.mlwa-contact-page .contact-details__info li .icon i {
  color: #2e0775 !important;
  font-size: 1.25rem !important;
  line-height: 1;
}

.mlwa-contact-page .contact-details__info li:hover .icon i {
  color: #580868 !important;
}

.mlwa-contact-page .contact-details__info li .text {
  margin-left: 1rem !important;
}

.mlwa-contact-page .contact-details__info li .text h6 {
  color: #fff !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem !important;
  opacity: 0.92;
}

.mlwa-contact-page .contact-details__info li .text a,
.mlwa-contact-page .contact-details__info li .text span {
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.6;
  transition: opacity 0.25s ease;
}

.mlwa-contact-page .contact-details__info li .text a:hover {
  opacity: 0.85;
  color: #fff !important;
}

.mlwa-contact-page .contact-details__info li:hover .text a,
.mlwa-contact-page .contact-details__info li:hover .text a span,
.mlwa-contact-page .contact-details__info li:hover .text span {
  color: #fff !important;
}

/* Map */
.mlwa-contact-page .map-section {
  padding: 0 1rem 3rem;
  background: #fff;
}

.mlwa-contact-page .map-section iframe {
  display: block;
  width: 100% !important;
  height: 420px !important;
  border: 0 !important;
  border-radius: 20px;
  box-shadow:
    0 4px 12px rgba(46, 7, 117, 0.08),
    0 12px 32px rgba(88, 8, 104, 0.12);
  animation: mlwa-contact-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

@media (max-width: 991.98px) {
  .mlwa-contact-panel--info {
    margin-top: 2rem;
  }

  .mlwa-contact-form__iframe {
    min-height: 480px;
    height: 480px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mlwa-contact-panel,
  .mlwa-contact-form-card,
  .mlwa-contact-page .contact-details__info li,
  .mlwa-contact-page .map-section iframe {
    animation: none;
    transition: none;
  }

  .mlwa-contact-form-card:hover,
  .mlwa-contact-panel--info:hover,
  .mlwa-contact-page .contact-details__info li:hover {
    transform: none;
  }

  .mlwa-contact-form-card::before {
    animation: none;
  }
}
