:root {
  --purple: #4B3B9E;
  --purple-dk: #352B78;
  --purple-lt: #EAE7F8;
  --yellow: #F5C842;
  --yellow-dk: #C9A22A;
  --yellow-lt: #FDF4D0;
  --dark: #1C1825;
  --mid: #5A556B;
  --muted: #8B87A0;
  --light: #F8F7F4;
  --border: rgba(28, 24, 37, 0.09);
  --white: #FFFFFF;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 120px 52px 60px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background: url('../img/uploads/contact-hero-image.png') center 40% / cover no-repeat;
  opacity: 0.12;
}
.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.page-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.page-header-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--yellow);
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.page-header h1 em {
  font-style: italic;
  color: var(--yellow);
}
.page-header-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #f3f3f3;
  font-weight: 300;
  max-width: 540px;
}

/* ── COMMON ── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-lt);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.section-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.section-h em {
  font-style: italic;
  color: var(--purple);
}

/* ── CONTACT SECTION ── */
.contact-section {
  padding: 80px 52px;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

/* Contact Info Cards */
.contact-info-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-info-card {
  background: var(--light);
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.contact-info-card:hover {
  box-shadow: 0 8px 28px rgba(75, 59, 158, 0.10);
  transform: translateY(-3px);
}
.contact-info-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.contact-info-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.contact-info-card p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-info-card a,
.contact-info-card span {
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.6;
}
.contact-info-card a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form-card {
  background: var(--light);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border);
}
.contact-form-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.contact-form-card h2 em {
  font-style: italic;
  color: var(--purple);
}
.contact-form-card > p {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 28px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(75, 59, 158, 0.08);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #b0acbf;
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
.form-select-wrap {
  position: relative;
}
.form-select {
  appearance: none;
  cursor: pointer;
}
.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-top: 6px solid var(--mid);
  pointer-events: none;
}
.btn-submit {
  background: var(--purple);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover {
  background: var(--purple-dk);
  transform: translateY(-1px);
}
.form-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── FAQ ── */
.faq-section {
  padding: 80px 52px;
  background: var(--light);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.faq-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.faq-card:hover {
  box-shadow: 0 6px 24px rgba(75, 59, 158, 0.08);
}
.faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.faq-a {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
}
.faq-a a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
}

/* ── LOCATION ── */
.location-section {
  padding: 80px 52px;
  background: var(--white);
}
.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--light);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.location-info {
  padding: 48px 40px;
}
.location-details {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.loc-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.loc-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.loc-row strong {
  font-size: 14px;
  color: var(--dark);
  display: block;
  margin-bottom: 2px;
}
.loc-row div {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}
.location-map {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.map-placeholder {
  text-align: center;
  color: #fff;
}
.map-pin {
  font-size: 48px;
  margin-bottom: 12px;
}
.map-placeholder p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 16px;
}
.map-link {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

/* ── ANIMATIONS ── */
.fade-up {
  /* opacity: 0; */
  transform: translateY(22px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .page-header,
  .contact-section,
  .faq-section,
  .location-section {
    padding-left: 28px;
    padding-right: 28px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .location-card {
    grid-template-columns: 1fr;
  }
  .contact-info-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .page-header,
  .contact-section,
  .faq-section,
  .location-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-header {
    padding-top: 96px;
  }
  .contact-info-col {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 28px 20px;
  }
  .location-info {
    padding: 32px 24px;
  }
}





/* Add these styles to existing contact.css */

/* Form alerts */
.form-alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.form-alert-error {
  background: #FFF5F5;
  color: #DC2626;
  border: 1px solid #FECACA;
  border-left: 3px solid #DC2626;
}

.form-alert-success {
  background: #F0FFF4;
  color: #1a5e38;
  border: 1px solid #BBF7D0;
  border-left: 3px solid #1a5e38;
}

/* Form error messages */
.form-error {
  display: none;
  color: #DC2626;
  font-size: 11px;
  margin-top: 4px;
  font-weight: 500;
}

/* Spinner animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinner {
  animation: spin 1s linear infinite;
}

/* Submit button states */
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#submitLoader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}