/* ==========================================================================
   MODERN NEUMORPHIC CONTACT STYLES (DIRECT DEBIT SYSTEM)
   Used by: contact.html
   Theme: Titanium Pearl (#edf2f7) with Deep Navy (#083a60) & Turquoise (#35b398)
   ========================================================================== */

/* Main Canvas & Ambient Glow */
.contact-page-main {
  background-color: var(--dds-neu-bg, #edf2f7);
  position: relative;
  overflow: hidden;
  color: var(--dds-navy, #083a60);
  min-height: 100vh;
}

.contact-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.contact-glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(53, 179, 152, 0.12) 0%, transparent 70%);
  top: 6%;
  right: -8%;
}

.contact-glow-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(8, 58, 96, 0.08) 0%, transparent 70%);
  top: 45%;
  left: -12%;
}

.contact-glow-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(53, 179, 152, 0.09) 0%, transparent 70%);
  bottom: 5%;
  right: -5%;
}

/* ==========================================================================
   HERO / HEADER SECTION
   ========================================================================== */
.contact-hero-section {
  position: relative;
  z-index: 1;
  padding: 145px 0 35px;
  text-align: center;
}

@media (max-width: 991px) {
  .contact-hero-section {
    padding: 120px 0 25px;
  }
}

.contact-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: #edf2f7;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.95), 4px 4px 10px rgba(8, 58, 96, 0.08);
  font-size: 13px;
  font-weight: 700;
  color: var(--dds-navy, #083a60);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 20px;
}

.contact-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dds-turquoise, #35b398);
  box-shadow: 0 0 8px rgba(53, 179, 152, 0.65);
  animation: contactPulse 2.2s infinite;
}

@keyframes contactPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(53, 179, 152, 0.5); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(53, 179, 152, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(53, 179, 152, 0); }
}

.contact-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dds-navy, #083a60);
  line-height: 1.22;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.contact-hero-title .text-accent {
  color: var(--dds-turquoise, #35b398);
}

.contact-hero-subtitle {
  font-size: 1.15rem;
  color: #556778;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT MAIN INTERACTION GRID
   ========================================================================== */
.contact-interaction-section {
  position: relative;
  z-index: 1;
  padding: 20px 0 100px;
}

/* Form Chassis */
.contact-form-chassis {
  background: #edf2f7;
  border-radius: 30px;
  padding: 38px 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: -10px -10px 24px rgba(255, 255, 255, 0.95), 10px 10px 24px rgba(8, 58, 96, 0.1);
  height: 100%;
}

@media (max-width: 767px) {
  .contact-form-chassis {
    padding: 26px 20px;
    border-radius: 22px;
  }
}

.contact-form-header {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(8, 58, 96, 0.08);
}

.contact-form-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dds-navy, #083a60);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form-header p {
  font-size: 13.5px;
  color: #66788a;
  margin: 0;
}

/* Form Groups & Inset Inputs */
.contact-field-group {
  margin-bottom: 20px;
}

.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dds-navy, #083a60);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.contact-label .req {
  color: var(--dds-turquoise, #35b398);
}

.contact-input-well {
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  background: #edf2f7;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 3px 3px 6px rgba(8, 58, 96, 0.09), inset -3px -3px 6px rgba(255, 255, 255, 0.95);
  font-size: 14px;
  color: #1e293b;
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
}

.contact-input-well:focus {
  background: #f4f8fb;
  border-color: rgba(53, 179, 152, 0.7);
  box-shadow: inset 3px 3px 6px rgba(8, 58, 96, 0.12), inset -3px -3px 6px rgba(255, 255, 255, 0.95), 0 0 10px rgba(53, 179, 152, 0.2);
}

/* Active Live Validation States */
.contact-input-well.is-valid {
  border-color: #10b981 !important;
  background-color: #f8fdfa !important;
  box-shadow: inset 2px 2px 5px rgba(16, 185, 129, 0.15), inset -2px -2px 5px rgba(255, 255, 255, 0.95), 0 0 0 1px rgba(16, 185, 129, 0.2) !important;
}

.contact-input-well.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fef8f8 !important;
  box-shadow: inset 2px 2px 5px rgba(239, 68, 68, 0.15), inset -2px -2px 5px rgba(255, 255, 255, 0.95), 0 0 0 1px rgba(239, 68, 68, 0.2) !important;
}

textarea.contact-input-well {
  resize: vertical;
  min-height: 120px;
}

/* Inline Form Errors */
.contact-field-error {
  display: block;
  font-size: 12px;
  color: #ef4444;
  font-weight: 600;
  margin-top: 5px;
  line-height: 1.35;
  transition: all 0.2s ease;
}

.contact-field-error:empty {
  display: none;
}

/* Clean override if alert class was attached */
.contact-field-error.alert {
  padding: 6px 12px;
  margin-top: 6px;
  margin-bottom: 0;
  border-radius: 8px;
  font-size: 12px;
}

/* Agreement & Checkbox */
.contact-policy-notice {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
}

.contact-policy-notice a {
  color: var(--dds-turquoise, #35b398);
  font-weight: 600;
  text-decoration: underline;
}

.contact-policy-notice a:hover {
  color: var(--dds-navy, #083a60);
}

.contact-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-custom-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--dds-turquoise, #35b398);
}

.contact-checkbox-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dds-navy, #083a60);
  cursor: pointer;
  margin: 0;
  user-select: none;
}

#agree_chk_error {
  display: none;
  font-size: 12px;
  color: #ef4444;
  font-weight: 600;
  margin-top: -10px;
  margin-bottom: 14px;
}

/* Inline Form Submission Result Banner */
#emailSent {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  transition: all 0.3s ease;
  text-align: left;
}

#emailSent.is-success {
  display: flex !important;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  color: #166534;
  border: 1.5px solid #86efac;
  box-shadow: inset 2px 2px 5px rgba(22, 101, 52, 0.08), 0 4px 12px rgba(22, 101, 52, 0.06);
}

#emailSent.is-error {
  display: flex !important;
  align-items: center;
  gap: 12px;
  background: #fef2f2;
  color: #991b1b;
  border: 1.5px solid #fca5a5;
  box-shadow: inset 2px 2px 5px rgba(153, 27, 27, 0.08), 0 4px 12px rgba(153, 27, 27, 0.06);
}

#emailSent i {
  font-size: 18px;
  flex-shrink: 0;
}

/* Submit Button */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 30px;
  background: var(--dds-navy, #083a60);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(8, 58, 96, 0.28);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.contact-submit-btn:hover {
  background: var(--dds-turquoise, #35b398);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(53, 179, 152, 0.38);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   CONTACT DETAILS DECK (RIGHT COLUMN)
   ========================================================================== */
.contact-info-deck {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.contact-info-card {
  background: #edf2f7;
  border-radius: 26px;
  padding: 32px 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: -8px -8px 20px rgba(255, 255, 255, 0.95), 8px 8px 20px rgba(8, 58, 96, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: -10px -10px 24px rgba(255, 255, 255, 1), 10px 10px 24px rgba(8, 58, 96, 0.12);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(8, 58, 96, 0.08);
}

.contact-card-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf2f7;
  color: var(--dds-turquoise, #35b398);
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.95), 3px 3px 8px rgba(8, 58, 96, 0.08);
}

.contact-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--dds-navy, #083a60);
  margin: 0;
}

.contact-card-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Contact Channel Rows */
.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #edf2f7;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.95), 3px 3px 8px rgba(8, 58, 96, 0.06);
  text-decoration: none !important;
  color: inherit;
  transition: all 0.25s ease;
}

.contact-channel-item:hover {
  transform: translateX(4px);
  border-color: rgba(53, 179, 152, 0.5);
  box-shadow: -4px -4px 10px rgba(255, 255, 255, 1), 4px 4px 10px rgba(8, 58, 96, 0.1);
}

.contact-channel-icon-well {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf2f7;
  color: var(--dds-navy, #083a60);
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 2px 2px 5px rgba(8, 58, 96, 0.08), inset -2px -2px 5px rgba(255, 255, 255, 0.9);
  transition: all 0.25s ease;
}

.contact-channel-item:hover .contact-channel-icon-well {
  background: var(--dds-turquoise, #35b398);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(53, 179, 152, 0.5);
}

.contact-channel-item.whatsapp-channel .contact-channel-icon-well {
  color: #25d366;
}

.contact-channel-item.whatsapp-channel:hover .contact-channel-icon-well {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}

.contact-channel-details {
  flex-grow: 1;
  min-width: 0;
}

.contact-channel-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #7b8e9f;
  margin-bottom: 2px;
}

.contact-channel-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--dds-navy, #083a60);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Result Modal Styling */
.modal-result {
  background: #edf2f7 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 28px !important;
  box-shadow: -12px -12px 30px rgba(255, 255, 255, 0.95), 12px 12px 30px rgba(8, 58, 96, 0.15) !important;
  padding: 20px;
}

.modal-result .result-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf2f7;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.95), 4px 4px 10px rgba(8, 58, 96, 0.09);
}

.modal-result.success .result-icon {
  color: var(--dds-turquoise, #35b398);
}

.modal-result.error .result-icon {
  color: #e11d48;
}
