/* ==========================================================================
   PAGE / CONTACT US — FIGMA SPECIFIED
   ========================================================================== */

/* --- Page Header & Hero --- */
.contact-breadcrumb {
  max-width: 1772px;
  margin: 0 auto;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 20px;
  line-height: 72px;
  color: #000080;
  text-align: right;
}

.contact-page-header {
  max-width: 1772px;
  margin: 0 auto 40px;
  text-align: right;
}

.contact-title {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 60px;
  line-height: 72px;
  color: #000080;
  margin: 0 0 12px 0;
}

.contact-subtitle {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: #000080;
  margin: 0;
}

/* --- Layout Grid --- */
.contact-layout {
  display: flex;
  direction: rtl;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 48px;
  max-width: 1772px;
  margin: 0 auto 80px;
}

/* --- Left Column: Alternate Contact Info --- */
.contact-info-col {
  width: 570px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: -65px;
}

.contact-info-heading {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #000080;
  margin: 0;
}

.contact-info-wrap {display: flex;flex-wrap: wrap;justify-content: space-between;}

.contact-info-row {
  display: flex;
  flex-flow: column;
  gap: 32px;
}

/* WhatsApp Button */
.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 255px;
  height: 72px;
  border-radius: 12px;
  padding: 18px;
  background: rgba(127, 191, 101, 0.3);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  gap: 12px;
}

.contact-whatsapp-text {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 21px;
  line-height: 24px;
  color: #000080;
}

.contact-whatsapp-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Detail Rows */
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contact-detail-row {
  display: flex;
  direction: rtl;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(190, 225, 218, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-body {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail-label {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 18px;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000080;
}

.contact-detail-value {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 20px;
  line-height: 22px;
  color: #000080;
}

/* Waze Button */
.contact-waze-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 208px;
  height: 40px;
  border-radius: 9999px;
  padding: 10px 24px;
  background: #000080;
  color: #FFFFFF;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  border: none;
  cursor: pointer;
  margin-top: 16px;
  box-sizing: border-box;
  text-decoration: none;
}

.contact-waze-btn svg {
  width: 21px;
  height: 21px;
}

/* Social Icons Horizontal Row */
.contact-social-row {
  display: flex;
  flex-direction: column; /* Arranges icons side-by-side horizontally */
  align-items: center;
   /* Aligns row with text to the right for RTL */
  gap: 30px;
  margin-top: 41px;
}

.contact-social-icon-btn {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.contact-social-icon-btn:hover {
  transform: translateY(-2px);
}

.contact-social-icon-btn svg {
  width: 31px;
  height: 31px;
}

/* --- Right Column: Contact Form Card --- */
.contact-form-card {
  width: 1017px;
  min-height: 608px;
  border-radius: 12px;
  background: #FBF2F1;
  border: 1px solid rgba(196, 197, 217, 0.15);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  padding: 48px 48px 64px 48px;
  box-sizing: border-box;
}

.contact-form-row {
  display: flex;
  direction: rtl;
  gap: 32px;
  margin-bottom: 24px;
}

.contact-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.contact-field label {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  color: #183B51;
}

.contact-field input{
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 8px;
  padding: 17px 24px;
  background: rgba(0, 0, 128, 0.1);
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #183B51;
  direction: rtl;
  box-sizing: border-box;
}

.contact-field select {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 8px;
  padding: 17px 24px 17px 48px; /* Extra left padding so text doesn't overlap arrow */
  background-color: rgba(0, 0, 128, 0.1);
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #183B51;
  direction: rtl;
  box-sizing: border-box;

  /* Custom SVG Arrow Implementation */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.900391 0.900024L5.70039 5.70002L10.5004 0.900024' stroke='%236B7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 20px center; /* Positions the arrow on the left for RTL */
  cursor: pointer;
}

/* IE/Edge fallback */
.contact-field select::-ms-expand {
  display: none;
}

.contact-field textarea {
  width: 100%;
  height: 152px;
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  background: #E2DAE6;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 18px;
  color: #183B51;
  direction: rtl;
  resize: vertical;
  box-sizing: border-box;
  resize: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(24, 59, 81, 0.5);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid #CB6DA7;
  outline-offset: 1px;
}

/* Error-message styling (.field-error) and the [aria-invalid="true"]
   outline are shared, defined once, in
   assets/css/components/_forms.css — not duplicated here. */

.contact-form-submit-row {
  display: flex;
  margin-top: 32px;
}

.contact-submit-btn {
  width: 180px;
  height: 50px;
  border: none;
  border-radius: 100px;
  padding: 16px 48px;
  background: #CB6DA7;
  color: #FFFFFF;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- FAQ Section --- */
.contact-faq-section {
  max-width: 1022px;
}

.contact-faq-title {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  color: #000080;
  margin-bottom: 32px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  width: 100%;
  border-radius: 8px;
  background: #F5F5F5;
  box-sizing: border-box;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
  color: #000080;
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: #000080;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 21px;
  line-height: 28px;
  color: #183B51;
  margin-top: 16px;
  text-align: right;
  background: #F5F5F5;
}

.contact-form-success {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background-color: rgba(47, 122, 99, 0.1);
  color: #2F7A63;
  font-family: var(--font-main);
  font-weight: 500;
  text-align: center;
}

.contact-form-success[hidden] {
  display: none;
}

/* Media Queries */
@media (max-width: 1200px) {
  .contact-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info-col,
  .contact-form-card,
  .contact-faq-section {
    width: 100%;
  }

  .contact-form-row {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .contact-breadcrumb,
  .contact-page-header,
  .contact-layout {
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .contact-title {
    font-size: 42px;
    line-height: 50px;
  }

  .contact-subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  .contact-info-col {
    margin-top: 0;
  }

  .contact-form-card {
    padding: 32px 24px 40px;
  }
}

@media (max-width: 599px) {
  .contact-breadcrumb {
    font-size: 16px;
    line-height: 1.6;
  }

  .contact-title {
    font-size: 30px;
    line-height: 36px;
  }

  .contact-subtitle {
    font-size: 17px;
    line-height: 24px;
  }

  .contact-info-heading {
    font-size: 20px;
  }

  .contact-info-wrap {
    flex-direction: column;
    gap: 32px;
  }

  .contact-whatsapp-btn {
    width: 100%;
    flex-direction: row-reverse;
  }

  .contact-waze-btn {
    width: 100%;
  }

  .contact-form-card {
    padding: 24px 16px 32px;
  }

  .contact-field label {
    font-size: 17px;
  }

  .contact-submit-btn {
    width: 100%;
  }

  .contact-faq-title {
    font-size: 26px;
    line-height: 32px;
  }

  .faq-question {
    font-size: 18px;
    line-height: 24px;
  }

  .faq-answer {
    font-size: 17px;
    line-height: 24px;
  }

  /* Social Icons Horizontal Row */
  .contact-social-row {
    display: flex;
    flex-direction: row; /* Arranges icons side-by-side horizontally */
    flex-wrap: wrap; /* Safety net on very narrow screens; gap below keeps it to one row on real devices */
    align-items: center;
    justify-content: center; /* Aligns row with text to the right for RTL */
    gap: 30px;
    margin-top: 41px;
  }

  .contact-info-wrap {
    flex-direction: column;
    gap: 32px;
  }

  .contact-social-row {
    gap: 16px;
  }
}
/* ==========================================================================
   WordPress — CF7 API form states + FAQ accordion (smooth-accordion.js)
   ========================================================================== */

.contact-form-error {
  margin-top: var(--space-4, 16px);
  padding: var(--space-3, 12px) var(--space-4, 16px);
  border-radius: var(--radius-md, 16px);
  background-color: rgba(203, 45, 62, 0.08);
  color: #B3261E;
  font-family: var(--font-main);
  font-weight: 500;
  text-align: center;
}

.contact-form-error[hidden] {
  display: none;
}

[data-contact-form].is-submitting .contact-submit-btn {
  opacity: 0.6;
  cursor: progress;
}

.contact-detail-value a {
  color: inherit;
  text-decoration: none;
}

.contact-detail-value a:hover,
.contact-detail-value a:focus-visible {
  text-decoration: underline;
}

.faq-answer > :first-child { margin-top: 0; }
.faq-answer > :last-child  { margin-bottom: 0; }

/* While JS runs the accordion, the chevron follows .is-open (so it turns
   back as soon as closing starts, not when the slide-up ends). */
[data-smooth-accordion].is-ready .faq-item[open] .faq-chevron {
  transform: none;
}

[data-smooth-accordion].is-ready .faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}
