@import url('https://fonts.googleapis.com/css2?family=Changa:wght@300;400;500;600;700;800&display=swap');

.eco-contact {
  --eco-contact-navy: #0d2d58;
  --eco-contact-navy-2: #123f68;
  --eco-contact-green: #08733f;
  --eco-contact-green-2: #15915a;
  --eco-contact-blue: #1677a7;
  --eco-contact-gold: #d9a73f;
  --eco-contact-earth: #9a7850;
  --eco-contact-text: #17263b;
  --eco-contact-muted: #68778a;
  --eco-contact-white: #ffffff;
  --eco-contact-soft: #f6faf8;
  --eco-contact-line: rgba(13, 45, 88, 0.10);

  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--eco-contact-text);
  font-family: "Changa", sans-serif;
  background:
    radial-gradient(circle at 88% 12%, rgba(8, 115, 63, 0.09), transparent 27%),
    radial-gradient(circle at 10% 88%, rgba(22, 119, 167, 0.09), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f9f7 100%);
  isolation: isolate;
}

.eco-contact,
.eco-contact *,
.eco-contact *::before,
.eco-contact *::after {
  box-sizing: border-box;
}

.eco-contact a {
  color: inherit;
  text-decoration: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.eco-contact button,
.eco-contact input,
.eco-contact textarea,
.eco-contact select {
  font-family: inherit;
}

.eco-contact-bg-grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 45, 88, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 45, 88, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 96%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 96%);
}

.eco-contact-orb {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  pointer-events: none;
}

.eco-contact-orb-one {
  top: -230px;
  right: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(8, 115, 63, 0.12);
  box-shadow:
    0 0 0 55px rgba(8, 115, 63, 0.025),
    0 0 0 110px rgba(22, 119, 167, 0.018);
}

.eco-contact-orb-two {
  bottom: -250px;
  left: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(22, 119, 167, 0.08), transparent 68%);
}

.eco-contact-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.eco-contact-head {
  max-width: 820px;
  margin: 0 auto 50px;
  text-align: center;
}

.eco-contact-eyebrow {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 7px 8px 7px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--eco-contact-green);
  border: 1px solid rgba(8, 115, 63, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(13, 45, 88, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.eco-contact-eyebrow-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eco-contact-navy-2), var(--eco-contact-blue) 55%, var(--eco-contact-green));
  box-shadow:
    0 0 0 1px rgba(8, 115, 63, 0.13),
    0 8px 18px rgba(13, 45, 88, 0.16);
}

.eco-contact-eyebrow-mark svg,
.eco-contact-eyebrow-mark i {
  width: 16px;
  height: 16px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-contact-title {
  margin: 0;
  color: var(--eco-contact-navy);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1.1px;
}

.eco-contact-title span {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: var(--eco-contact-green);
}

.eco-contact-title span::after {
  content: "";
  position: absolute;
  right: -4px;
  left: -4px;
  bottom: 5px;
  z-index: -1;
  height: 11px;
  border-radius: 30px;
  background: linear-gradient(90deg, rgba(217, 167, 63, 0.34), rgba(8, 115, 63, 0.1));
  transform: rotate(-1deg);
}

.eco-contact-intro {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--eco-contact-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}

.eco-contact-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
}

.eco-contact-card {
  position: relative;
  min-width: 0;
  border-radius: 34px;
}

.eco-contact-info-card {
  min-height: 650px;
  padding: clamp(30px, 4vw, 44px);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 15%, rgba(21, 145, 90, 0.35), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(22, 119, 167, 0.30), transparent 31%),
    linear-gradient(145deg, #0b294f 0%, #0d375d 55%, #08463a 125%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    0 32px 74px rgba(13, 45, 88, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.eco-contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(135deg, transparent 4%, #000 35%, #000 72%, transparent 98%);
  mask-image: linear-gradient(135deg, transparent 4%, #000 35%, #000 72%, transparent 98%);
}

.eco-contact-info-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  left: -140px;
  bottom: -138px;
  border: 1px solid rgba(217, 167, 63, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(217, 167, 63, 0.035),
    0 0 0 76px rgba(217, 167, 63, 0.023);
  pointer-events: none;
}

.eco-contact-info-top,
.eco-contact-info-list,
.eco-contact-info-actions,
.eco-contact-info-note {
  position: relative;
  z-index: 2;
}

.eco-contact-info-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.eco-contact-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eco-contact-logo {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  padding: 7px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.13);
}

.eco-contact-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.eco-contact-brand-copy small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

.eco-contact-brand-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.45;
}

.eco-contact-brand-copy span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1.55;
}

.eco-contact-status {
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.075);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.eco-contact-status::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #5ade9b;
  box-shadow: 0 0 0 5px rgba(90, 222, 155, 0.12);
}

.eco-contact-info-copy {
  position: relative;
  z-index: 2;
  margin: 40px 0 0;
}

.eco-contact-info-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(25px, 2.6vw, 35px);
  font-weight: 800;
  line-height: 1.5;
}

.eco-contact-info-copy p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.95;
}

.eco-contact-info-list {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.eco-contact-info-item {
  min-width: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.eco-contact-info-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.11);
}

.eco-contact-info-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.eco-contact-info-icon svg,
.eco-contact-info-icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-contact-info-text {
  min-width: 0;
}

.eco-contact-info-text small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.eco-contact-info-text strong {
  display: block;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.eco-contact-info-arrow {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
}

.eco-contact-info-arrow svg {
  width: 15px;
  height: 15px;
}

.eco-contact-info-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.eco-contact-action {
  min-height: 50px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.eco-contact-action svg,
.eco-contact-action i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-contact-action-whatsapp {
  color: var(--eco-contact-navy);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.eco-contact-action-whatsapp:hover {
  color: var(--eco-contact-green);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.eco-contact-action-call {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.eco-contact-action-call:hover {
  color: #ffffff;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.13);
}

.eco-contact-info-note {
  margin-top: 20px;
  padding-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.8;
}

.eco-contact-info-note svg,
.eco-contact-info-note i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: #d9a73f;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Card */
.eco-contact-form-card {
  min-height: 650px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(13, 45, 88, 0.09);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 72px rgba(13, 45, 88, 0.11);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.eco-contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--eco-contact-green), var(--eco-contact-blue), var(--eco-contact-gold));
}

.eco-contact-form-card::after {
  content: "";
  position: absolute;
  top: -105px;
  left: -85px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 119, 167, 0.09), transparent 68%);
  pointer-events: none;
}

.eco-contact-form-head,
.eco-contact-form-slot {
  position: relative;
  z-index: 2;
}

.eco-contact-form-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(13, 45, 88, 0.08);
}

.eco-contact-form-copy small {
  display: block;
  margin-bottom: 5px;
  color: var(--eco-contact-green);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.eco-contact-form-copy h3 {
  margin: 0;
  color: var(--eco-contact-navy);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.45;
}

.eco-contact-form-copy p {
  max-width: 570px;
  margin: 10px 0 0;
  color: var(--eco-contact-muted);
  font-size: 13px;
  line-height: 1.9;
}

.eco-contact-form-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: var(--eco-contact-green);
  background: linear-gradient(135deg, rgba(8, 115, 63, 0.12), rgba(22, 119, 167, 0.07));
  border: 1px solid rgba(8, 115, 63, 0.12);
}

.eco-contact-form-mark svg,
.eco-contact-form-mark i {
  width: 27px;
  height: 27px;
  font-size: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-contact-form-slot {
  min-height: 460px;
}

.eco-contact-form-placeholder {
  padding: 40px;
  background: rgba(0, 0, 0, 0.02);
  border: 2px dashed rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  text-align: center;
  font-weight: 500;
  color: var(--eco-contact-muted);
}

/* Fluent Forms Scoped CSS */
.eco-contact-form-slot .frm-fluent-form,
.eco-contact-form-slot .ff-el-form-control,
.eco-contact-form-slot .ff-btn-submit,
.eco-contact-form-slot .ff-el-input--label label {
  font-family: "Changa", sans-serif !important;
}

.eco-contact-form-slot .frm-fluent-form {
  margin: 0 !important;
}

.eco-contact-form-slot .ff-el-group {
  margin-bottom: 17px !important;
}

.eco-contact-form-slot .ff-el-input--label {
  margin-bottom: 7px !important;
}

.eco-contact-form-slot .ff-el-input--label label {
  color: var(--eco-contact-navy) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}

.eco-contact-form-slot .ff-el-form-control {
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 15px !important;
  color: var(--eco-contact-text) !important;
  border: 1px solid rgba(13, 45, 88, 0.11) !important;
  border-radius: 14px !important;
  background: #f8fbf9 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

.eco-contact-form-slot textarea.ff-el-form-control {
  min-height: 126px !important;
  resize: vertical !important;
}

.eco-contact-form-slot .ff-el-form-control:focus {
  border-color: rgba(8, 115, 63, 0.48) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(8, 115, 63, 0.08) !important;
  outline: none !important;
}

.eco-contact-form-slot .ff-btn-submit,
.eco-contact-form-slot button.ff-btn-submit {
  width: 100% !important;
  min-height: 55px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 15px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--eco-contact-green), var(--eco-contact-green-2) 55%, var(--eco-contact-blue)) !important;
  box-shadow: 0 16px 34px rgba(8, 115, 63, 0.20) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

/* Animations */
.eco-contact-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.eco-contact-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* DIRECTION-BASED CSS (RTL vs LTR) */
.eco-contact-rtl {
  direction: rlt;
}
.eco-contact-rtl .eco-contact-eyebrow {
  padding: 7px 8px 7px 17px;
}
.eco-contact-rtl .ff-el-form-control {
  direction: rtl !important;
  text-align: right !important;
}

.eco-contact-ltr {
  direction: ltr;
}
.eco-contact-ltr .eco-contact-eyebrow {
  padding: 7px 17px 7px 8px;
}
.eco-contact-ltr .eco-contact-info-item {
  grid-template-columns: 48px minmax(0, 1fr) auto;
}
.eco-contact-ltr .eco-contact-info-arrow svg {
  transform: scaleX(-1);
}
.eco-contact-ltr .ff-el-form-control {
  direction: ltr !important;
  text-align: left !important;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 1050px) {
  .eco-contact-layout {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  }

  .eco-contact-info-card,
  .eco-contact-form-card {
    padding: 30px;
  }

  .eco-contact-status {
    display: none;
  }
}

@media (max-width: 860px) {
  .eco-contact-inner {
    width: min(100% - 28px, 760px);
  }

  .eco-contact-layout {
    grid-template-columns: 1fr;
  }

  .eco-contact-info-card,
  .eco-contact-form-card {
    min-height: auto;
  }

  .eco-contact-info-card {
    order: 2;
  }

  .eco-contact-form-card {
    order: 1;
  }
}

@media (max-width: 600px) {
  .eco-contact-title {
    font-size: 32px;
  }

  .eco-contact-info-card,
  .eco-contact-form-card {
    padding: 24px 20px;
  }

  .eco-contact-logo {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .eco-contact-info-actions {
    grid-template-columns: 1fr;
  }
}
