/*
Theme Name: Spatial Method
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Spatial Method
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Child Theme For Spatial Method
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.7.1777260413
Updated: 2026-04-27 03:26:53

*/




/*scroll */
.scroll-up {
  max-height: 300px;
  overflow-y: auto !important;

  scrollbar-width: thin !important;
  scrollbar-color: #4169e1 transparent;
}

/* for Chrome / Safari / Edge */
.scroll-up::-webkit-scrollbar {
  width: 4px !important;
}

.scroll-up::-webkit-scrollbar-track {
  background: transparent!important;
}
.scroll-up::-webkit-scrollbar-thumb {
  background: #4169e1!important;
  border-radius: 100px!important;
}

.scroll-up::-webkit-scrollbar-thumb:hover {
  background: #6889f0!important;
}


.contact-us::after{
        content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}


/* =============================================
   ENQUIRY FORM — v8
   ============================================= */


/* ── 1. EQUAL GAPS ──────────────────────────────
   Row 1 gets margin-top:-10px to offset first-col's +10px.
   Row 2 stays at margin-top:0 so the 10px on its first col
   becomes a real 10px gap after Row 1.               */

.wpcf7-form .row {
  margin-top:    -10px !important;
  margin-bottom: 0     !important;
}

/* Second row: reset to 0 so gap comes from the col's margin */
.wpcf7-form .row + .row {
  margin-top: 0 !important;
}

/* Every col gets 10px top margin = equal gap when stacked */
.wpcf7-form .row > .col-md-4,
.wpcf7-form .row > [class*="col"] {
  margin-top: 10px !important;
}
.wpcf7-response-output {
    color: grey;
}

/* ── 2. FIELD SHELL ─────────────────────────────  */
.form-field {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  height: 100%;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.form-field:focus-within {
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05),
              0 4px 24px rgba(0, 0, 0, 0.3);
}


/* ── 3. KILL THE <br> AND FONT AWESOME ICONS ────
   Hide FA icons entirely — SVG ::after handles them.
   Hide <br> so the <p> doesn't inflate.             */

.form-field .field-icon {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden ;
  position: absolute !important;
  opacity: 0 !important;
}

.form-field > p {
  margin:   0 !important;
  padding:  0 !important;
  position: relative;
}

.form-field > p > br {
  display: none !important;
}

.form-field .wpcf7-form-control-wrap {
  display: block !important;
}


/* ── 4. SVG ICONS via ::after (guaranteed to render) */
.form-field::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  opacity: 0.38;
  background: no-repeat center / contain;
  pointer-events: none;
  transition: opacity .3s;
}

.form-field:focus-within::after      { opacity: 0.82; }
.form-field:has(textarea)::after     { top: 17px; transform: none; }
.form-field:has(input[type="file"])::after { display: none; }

/* Name — pencil */
.form-field:has(input[name*="name" i])::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z'/%3E%3C/svg%3E");
}
/* Phone — handset */
.form-field:has(input[type="tel"])::after,
.form-field:has(input[name*="phone" i])::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.61 3.4 2 2 0 0 1 3.6 1.21h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.8a16 16 0 0 0 6.29 6.29l.96-.96a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
/* Email — envelope */
.form-field:has(input[type="email"])::after,
.form-field:has(input[name*="email" i])::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}
/* Location — map pin */
.form-field:has(input[name*="location" i])::after,
.form-field:has(input[name*="site" i])::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
/* Project details — clipboard */
.form-field:has(textarea)::after,
.form-field:has(input[name*="project" i])::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3C/svg%3E");
}


/* ── 5. INPUTS & TEXTAREA ───────────────────────  */
.form-field input:not([type="file"]),
.form-field textarea {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #fff !important;
  padding: 16px 48px 16px 18px !important;
  font-family: Poppins, sans-serif !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.form-field textarea {
  min-height: 80px !important;
  resize: none !important;
}


/* ── 6. FILE UPLOAD FIELD ───────────────────────  */
.form-field:has(input[type="file"]) {
  border-style: dashed !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
.form-field:has(input[type="file"]):hover {
  border-color: rgba(255, 255, 255, 0.38) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

/* "Upload Documents" — <small> tag */
.form-field small {
  display: block !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-family: Poppins, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  padding: 12px 16px 4px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.wpcf7-file {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 16px 14px !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-family: Poppins, sans-serif !important;
  font-size: 13px !important;
  cursor: pointer !important;
  margin: 0 !important;
  line-height: normal !important;
}

.wpcf7-file::-webkit-file-upload-button,
.wpcf7-file::file-selector-button {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 20px !important;
  padding: 6px 16px !important;
  font-family: Poppins, sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  margin-right: 10px !important;
  transition: background .2s, border-color .2s !important;
}
.wpcf7-file:hover::-webkit-file-upload-button,
.wpcf7-file:hover::file-selector-button {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}


/* ── 7. CONFIDENTIAL TEXT ───────────────────────  */
.form-confidential {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 7px !important;
  font-family: Poppins, sans-serif !important;
  font-weight: 300 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  color: rgba(255, 255, 255, 0.42) !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  margin: 10px 0 4px !important;
  padding: 0 !important;
}

.form-confidential br { display: none !important; }

.form-confidential::before {
  content: "🔒";
  font-size: 11px;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
  filter: grayscale(1) brightness(2) opacity(0.45);
}


/* ── 8. SUBMIT BUTTON ───────────────────────────  */
.btn-submit,
input.wpcf7-submit,
.wpcf7-submit {
  display: block !important;
  width: auto !important;
  min-width: 180px !important;
  max-width: 100% !important;
  margin: 4px 0 0 auto !important;
  background: #ffffff !important;
  color: #0a0f1e !important;
  border: none !important;
  padding: 14px 32px !important;
  font-family: Poppins, sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
  transition: background .25s, transform .2s, box-shadow .25s;
}
.btn-submit:hover,
input.wpcf7-submit:hover {
  background: #ebebeb !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 255, 255, 0.18);
}
.btn-submit:active,
input.wpcf7-submit:active { transform: translateY(0) !important; }

.wpcf7-spinner { vertical-align: middle; margin-left: 8px; }


/* ── 9. RESPONSIVE ──────────────────────────────  */
@media (max-width: 767px) {
  .form-field input:not([type="file"]),
  .form-field textarea {
    font-size: 15px !important;
    padding: 14px 42px 14px 14px !important;
  }
  .btn-submit,
  input.wpcf7-submit {
    min-width: 100% !important;
    margin-left: 0 !important;
  }
  .form-confidential { justify-content: center !important; }
}


/* ── 10. STAGGER ANIMATION ──────────────────────  */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-field { animation: fadeUp .45s ease both; }
.col-md-4:nth-child(1) .form-field { animation-delay: .04s; }
.col-md-4:nth-child(2) .form-field { animation-delay: .10s; }
.col-md-4:nth-child(3) .form-field { animation-delay: .16s; }
.row:nth-child(2) .col-md-4:nth-child(1) .form-field { animation-delay: .22s; }
.row:nth-child(2) .col-md-4:nth-child(2) .form-field { animation-delay: .28s; }
.row:nth-child(2) .col-md-4:nth-child(3) .form-field { animation-delay: .34s; }
.form-confidential { animation: fadeUp .4s .40s ease both; }
.btn-submit,
.wpcf7-submit      { animation: fadeUp .4s .42s ease both; }


/* ── 11. VALIDATION ─────────────────────────────  */
.wpcf7-not-valid-tip {
  font-family: Poppins, sans-serif; font-size: 12px;
  color: #ff8080; padding: 3px 4px 0;
  display: block; line-height: 1.3;
}
.wpcf7-response-output {
  font-family: Poppins, sans-serif; font-size: 13px;
  border-radius: 6px; padding: 12px 18px;
  margin-top: 10px; border: none !important; text-align: center;
}
.wpcf7-mail-sent-ok { background: rgba(80,200,120,.15); color: #6feba0; }
.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-validation-errors,
.wpcf7-spam-blocked { background: rgba(255,100,100,.12); color: #ff8080; }




/* =============================================
   SM Read More
   Classes: sm-readmore | sm-readmore-mobile | sm-readmore-desktop
   ============================================= */

/* smrm-body can be a <div> or <span> depending on context
   Force block display either way                          */
.smrm-body {
  display: block !important;
  max-height: 5.4em;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  position: relative;
}

.smrm-body::after {
  display: none; /* no gradient */
}

.smrm-inner {
  display: block !important;
}

/* Open state */
.smrm--open .smrm-body {
  cursor: default;
}

/* Chevron */
.smrm-chevron {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 8px 0 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: color .25s;
  -webkit-appearance: none;
  appearance: none;
}

.smrm-chevron:hover {
  color: #fff;
  background: none !important;
}

.smrm-chevron svg {
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.smrm--open .smrm-chevron svg {
  transform: rotate(180deg);
}