.form-step-content .form-field:nth-last-child(2) {
    margin-bottom: 0;
}
.expert-form-sec,
.expert-form-thankyou {
  padding-bottom: 50px;
}
.thankyou-fund-title img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.expert-form-thankyou .expert-form-container {
  padding: 0;
  max-width: 1280px;
}
h1.funding-title.thankyou-fund-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
p.thank-wlcm {
  color: #000;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  max-width: 864px;
  margin: 16px auto;
  font-family: "Inter", Sans-serif;
}
.expert-form-container {
  max-width: 1320px;
  margin: 0px auto;
  padding: 0 20px;
}

.form-wrapper {
  display: grid;
  grid-template-columns: 337px 1fr;
  gap: 50px;
}

/* Sidebar */
.form-sidebar {
  border-radius: 16px;
  border: 2px solid rgb(237 241 245);
  background: #f9fbfd;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-navigation button {
  width: 100%;
}

.sidebar-step {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: opacity 0.3s;
  position: relative;
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #edeff2;
  box-shadow: 1px 1px 2px 0 rgba(174, 174, 192, 0.4), -1px -1px 2px 0 #fff;
  color: #000;
  font-family: "Space Grotesk";
  font-size: 20px;
  font-weight: 700;
  line-height: 100%;
  padding: 2px 7.25px;
}

.sidebar-step.active .step-circle {
  background: #ff6b35;
  color: white;
}

.sidebar-step.completed .step-circle {
  background: #ff6b35;
  color: #fff;
}

.sidebar-step:before {
  position: absolute;
  content: "";
  height: 0%;
  width: 2px;
  background: transparent;
  left: 11px;
  top: 24px;
  transition: 0.4s all;
}

.sidebar-step.completed:before {
  background: #ff6b35;
  height: 100%;
}

.step-info h3 {
  color: #000;
  font-family: "Space Grotesk";
  font-size: 20px;
  font-weight: 700;
  line-height: 125%;
  margin-bottom: 8px;
}

.step-info p {
  color: #1a1a1a;
  font-family: Inter;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
  margin: 0;
}

.sidebar-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Main Form Area */
.form-main {
  padding: 54px;
  border-radius: 16px;
  border: 2px solid rgb(237 241 245);
  background: #f9fbfd;
}

.form-header {
  display: flex;
  gap: 24px;
  margin-bottom: 54px;
  flex-direction: column;
}

.header-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6b35;
}

.step-indicator {
  color: rgba(0, 0, 0, 0.5);
  font-family: "Space Grotesk";
  font-size: 20px;
  font-weight: 500;
  line-height: 100%;
}

.form-step-content {
  display: none;
}

.form-step-content.active {
  display: block;
}

.form-step-content .form-field {
  margin-bottom: 32px;
}

.form-field label,
.consent-label p {
  display: block;
  margin-bottom: 12px;
  color: #000;
  font-family: "Space Grotesk";
  font-size: 20px;
  font-weight: 500;
  line-height: 100%;
}
.consent-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.consent-label p {
  margin: 0;
}
.consent-item .radio-group {
  display: grid;
  gap: 16px;
  margin-left: 0;
  grid-template-columns: 1fr 1fr;
}
.consent-label p {
  margin: 0;
}
.consent-item .radio-group label.radio-label span.radio-custom {
  border-radius: 100px;
  border: 1px solid #edf1f5;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  width: 100%;
  padding: 10px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.consent-label svg {
  min-width: 26px;
}
.consent-item .radio-group label.radio-label {
  position: relative;
}
.consent-item .radio-group label.radio-label input[type="radio"] {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.consent-item .radio-group label.radio-label.active span.radio-custom {
  background: #ff6b35;
  color: #fff;
}
.consent-item:last-child {
  margin-bottom: 32px;
}
.form-submit-wrapper button#submitFinalBtn {
  width: 100%;
}
.form-step-content .form-field select, form#projectForm input.date-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url(/wp-content/uploads/2025/11/fi_pocket.svg);
  background-position: right 16px center;
  background-size: 20px;
  cursor: pointer;
  background-repeat: no-repeat;
}

form#projectForm input.date-input::-webkit-calendar-picker-indicator,
form#projectForm input.date-input::-moz-calendar-picker-indicator,
form#projectForm input.date-input::-webkit-clear-button,
form#projectForm input.date-input::-webkit-inner-spin-button {
    display: none;
    opacity: 0;
}
.form-field input,.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 16px 16px;
  transition: all 0.3s;
  border-radius: 100px;
  border: 1px solid #edf1f5;
  background: #fff;
  min-height: 56px;
  color: rgba(0, 0, 0, 0.5);
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
}

.form-field input::placeholder,
.form-field select::placeholder,
.form-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-field textarea {
  min-height: 140px !important;
  resize: vertical;
  border-radius: 5px;
}

.form-step-content .form-field .button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  justify-content: flex-start;
}

.form-step-content .form-field .btn-option {
  border-radius: 100px;
  border: 1px solid #edf1f5;
  background: #fff;
  padding: 15px 16px;
  cursor: pointer;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  /* 24px */
  color: #000;
  width: calc(25% - 8px);
  box-shadow: none;
}

.button-group.primary-expertise button.btn-option.expertise-field {
  width: fit-content;
  min-width: fit-content;
}

.form-step-content .form-field .btn-option.active {
  background: #ff6b35;
  color: white;
  border-color: transparent;
}

.form-step-content .form-field:last-child {
  margin-bottom: 0;
}

.form-field-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.upload-area {
  border-radius: 100px;
  border: 1px solid rgb(237 241 245) !important;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #000;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  min-height: 56px;
  padding: 15px 16px;
  cursor: pointer;
}

.upload-area input {
  display: none;
}

.upload-icon {
  display: flex;
}

.consent-group {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.consent-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-direction: column;
}

.consent-buttons {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.consent-text a {
  color: rgb(0 0 0 / 50%) !important;
}

.consent-btn {
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 100px;
  border: 1px solid rgb(237 241 245) !important;
  background: #fff !important;
  color: #000 !important;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  padding: 15px 15px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.consent-btn.yes {
  background: #ff6b35 !important;
  color: white !important;
}

.consent-text {
  display: flex;
  gap: 10px;
  color: #000;
  font-family: "Space Grotesk";
  font-size: 20px;
  font-weight: 500;
  line-height: 100%;
}

.form-textarea_field {
  position: relative;
}

.form-textarea_field .word-count {
  position: absolute;
  bottom: 10px;
  margin: 0;
  right: 10px;
  color: rgba(0, 0, 0, 0.5);
  font-family: Inter;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
}

/* Navigation Buttons */
.form-navigation {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

/* .btn-next {
        flex: 1;
        padding: 14px 30px;
        border: none;
        border-radius: 30px;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ec4899 100%);
        color: white;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s;
    } */

/* .btn-back {
        padding: 14px 30px;
        border: 1px solid #e0e0e0;
        border-radius: 30px;
        background: white;
        color: #666;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    } */

.consent-btn svg {
  display: none;
}

.consent-btn.yes svg {
  display: block;
}

div#stepIndicator span {
  color: #000;
}
.form-submit-wrapper .btn-back {
  width: 100%;
  margin-bottom: 10px;
}
.project-sidebar-navigation button {
    width: 100%;
}
.policy-body .meta, .policy-body p, .policy-body ul li{
    color: #000;
    font-family: Inter;
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 24px;
}
.policy-body h2 {
    color: #000;
    font-family: "Space Grotesk";
    font-size: 48px;
    font-weight: 700;
    line-height: 125%;
    margin: 48px 0 24px;
}
.policy-body p {
    margin-bottom: 8px;
}
.policy-body ul li{
  margin-bottom: 0;
}
.policy-body h3 {
    color: #000;
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 24px;
    margin-top: 24px;
}
.policy-body ul {
    margin-left: 24px;
}
.policy-body a{
  color: #ff6b35;
}
.policy-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.policy-footer {
    position: sticky;
    bottom: -56px;
    z-index: 9;
    width: 100%;
    padding: 50px 0;
    top: auto;
}
.policy-body .meta {
    margin-bottom: -24px;
}
.policy-footer:after {
    position: absolute;
    width: 100%;
    content: "";
    left: 0;
    right: 0;
    bottom: 0;
    height: 420px;
    background: linear-gradient(180deg, rgba(249, 251, 253, 0.00) 0%, #F9FBFD 100%);
    z-index: -1;
}
.upload-text strong {
    font-weight: 500;
    word-break: break-all;
}
@media (max-width: 767px) {
	.policy-modal-content {
    max-height: calc(100% - 30px);
}
  .policy-footer:after {
    height: 200px;
}

.policy-footer {
    padding: 25px 0 !important;
    bottom: -52px;
}
  .policy-modal-content {
    padding: 54px 16px !important;
}
.policy-body h2 {
    font-size: 24px;
	margin: 40px 0 20px;
}

.policy-body h3 {
    font-size: 18px;
    font-weight: 500;
}
	.policy-body .meta, .policy-body p, .policy-body ul li {
    font-size: 16px;
}
.policy-footer {
    grid-template-columns: 1fr;
}
  .agree__privacyPolicy {
    font-size: 16px !important;
}

.privacyPolicy_box label {
    font-size: 14px !important;
}

.privacyPolicy_box+p a {
    font-size: 16px !important;
}
  .consent-item .consent-text {
    margin-top: 12px;
  }
  a.desktop-link-consent {
    display: none;
  }
  .mobile-next-btn button.btn-back {
    margin-bottom: 10px;
  }
  .consent-item .radio-group label.radio-label span.radio-custom {
    font-size: 14px;
    min-height: 46px;
  }
  .consent-label svg {
    min-width: 26px;
    display: none;
  }
  .consent-item .radio-group label.radio-label span.radio-custom svg {
    width: 18px;
  }
  .expert-form-container {
    padding: 0;
  }

  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .consent-label p {
    line-height: 150%;
  }
  .form-sidebar {
    padding: 16px;
  }

  .form-main {
    padding: 16px;
  }

  .step-info.desktop-visible,
  .desktop-visible {
    display: none;
  }

  .sidebar-steps-wrapper {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .sidebar-step {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 0;
    width: 25%;
    z-index: 1;
  }

  .sidebar-step:before {
    height: 1px;
    top: 11px;
    left: calc(100% - 50%);
    width: 0%;
    z-index: -1;
  }

  .sidebar-step.completed:before {
    height: 1px;
    width: 100%;
  }

  .step-info h3 {
    font-size: 12px;
    margin: 0;
  }

  .step-circle {
    width: 22px;
    height: 22px;
    font-size: 18px;
  }

  .header-icon {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .header-icon svg {
    width: 24px;
  }

  .form-header {
    gap: 16px;
    margin-bottom: 40px;
  }

  .step-indicator,
  .form-field label,
  .consent-label p {
    font-size: 16px;
  }

  .form-field input[type="text"],  .form-field input,
  .form-field input[type="email"],
  .form-field input[type="url"],
  .form-field select,
  .form-field textarea {
    min-height: 45px;
    padding: 12px 16px;
    font-size: 14px;
  }
.form-step-content .form-field select, form#projectForm input.date-input {
    background-size: 16px;
    padding-right: 36px;
    padding-top: 12px;
    padding-bottom: 12px;
    min-height: 45px;
}
  .form-step-content .form-field .btn-option {
    min-height: 45px;
    font-size: 14px;
    padding: 11px 7px;
    width: calc(25% - 6px);
  }

  .button-group.primary-expertise button.btn-option.expertise-field {
    padding: 11px 16px;
  }

  .upload-area {
    min-height: 45px;
    font-size: 14px;
    padding: 11px 16px;
    gap: 5px;
  }

  .upload-icon svg {
    width: 20px;
    height: 20px;
  }

  .consent-text {
    font-size: 16px;
    line-height: 150%;
  }

  .consent-text svg {
    display: none;
  }

  .consent-btn {
    min-height: 45px;
    padding: 11px 16px;
    font-size: 14px;
  }

  .consent-btn svg {
    height: 20px;
    width: 20px;
  }
  .consent-text a {
    display: none;
  }
  a.mobile-link-consent {
    display: block !important;
  }
  p.thank-wlcm {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .form-main {
    padding: 30px;
  }

  .form-wrapper {
    grid-template-columns: 300px 1fr;
    gap: 20px;
  }

  .form-step-content .form-field .btn-option {
    width: calc(50% - 8px);
  }
}

@media screen and (min-width: 768px) {
  .form-submit-wrapper button.btn-back {
    display: none !important;
  }

  .step-info.mobile-visible,
  .mobile-visible {
    display: none;
  }
  a.mobile-link-consent {
    display: none;
  }
}
@media screen and (max-width: 991px) {
  h1.funding-title.thankyou-fund-title {
    flex-direction: column;
    gap: 16px;
  }
}

/* Add this in your <style> block */
.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-color: #ff6b35 !important;
  background-color: #fff8f5 !important;
}

.form-field .error-message {
  color: #ff6b35 !important;
  font-family: Inter;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
  display: block;
}

.form-field .error-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff6b35;
  pointer-events: none;
}

.form-field {
  position: relative;
}
