html {
  background-color: white;
}
/* .fixed-contact-label,
.mobile-navigation,
.mobile-mini-widgets,
.fixed-contact-container {
  display: none !important;
} */
.joinus-header {
  padding: 0 25px;
}
.joinus-header h1 {
    margin-bottom: 0px;
    font-weight: 400;
    font-size: 60px;
    line-height: 138% !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color:#000;
}
.joinus-header .header-container > div {
  margin-top: 32px;
}

.step-2.joinus-header h1 {
  font-size: 50px;
  text-transform: uppercase;
  color: white;
  -webkit-text-stroke: 1.5px #322625;
}

.step-2.joinus-header .header-container > div {
  letter-spacing: 7.70508px;
  text-transform: uppercase;
  color: #322625;
  font:
    normal 32px "Neutra Display",
    Helvetica,
    Arial,
    Verdana,
    sans-serif;
  font-size: 50px;
}

/* .mobile-header-bar {
  padding: 0 32px !important;
} */

.art-payroll h1,
.legends-survive h1,
.a-team h1 {
  max-width: 220px;
}

.shape-future h1 {
  max-width: 375px;
}
/* .joinus-form-container .vc_column-inner {
  padding: 0 32px !important;
} */

.joinus-form-container label {
  top: 8px;
}

.joinus-form-container .nice-select {
  width: 100%;
  padding: 5px 15px 5px 15px;
  font-size: 16px;
  margin-bottom: 10px;
}

.joinus-form-container .nice-select .current {
  color: #8b8d94;
}
.ast-contact-form input[type="file"]::before {
  width: auto !important;
  font-family: "Neutra Text";
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: 1px;
  color: #322625 !important;
  padding: 0 32px;
}
.joinus-form-container .nice-select .list {
  width: 100%;
  margin-left: 0;
  border-radius: 0;
  max-height: 200px;
  overflow-y: auto;
}
.joinus-form-container .nice-select .option:hover,
.joinus-form-container .nice-select .option.focus,
.joinus-form-container .nice-select .option.selected.focus {
  background-color: #e1f3f5 !important;
}

/* Match text and number input placeholders to select menu placeholder color */
.ast-contact-form input[type="text"]::placeholder,
.ast-contact-form input[type="email"]::placeholder,
.ast-contact-form input[type="tel"]::placeholder,
.ast-contact-form input[type="number"]::placeholder {
  color: #8b8d94 !important;
  opacity: 1 !important;
}

/* For Firefox */
.ast-contact-form input[type="text"]:-moz-placeholder,
.ast-contact-form input[type="email"]:-moz-placeholder,
.ast-contact-form input[type="tel"]:-moz-placeholder,
.ast-contact-form input[type="number"]:-moz-placeholder {
  color: #8b8d94 !important;
  opacity: 1 !important;
}

.ast-contact-form input[type="text"]::-moz-placeholder,
.ast-contact-form input[type="email"]::-moz-placeholder,
.ast-contact-form input[type="tel"]::-moz-placeholder,
.ast-contact-form input[type="number"]::-moz-placeholder {
  color: #8b8d94 !important;
  opacity: 1 !important;
}

/* For Internet Explorer */
.ast-contact-form input[type="text"]:-ms-input-placeholder,
.ast-contact-form input[type="email"]:-ms-input-placeholder,
.ast-contact-form input[type="tel"]:-ms-input-placeholder,
.ast-contact-form input[type="number"]:-ms-input-placeholder {
  color: #8b8d94 !important;
}

.ast-contact-form input[type="text"]::-ms-input-placeholder,
.ast-contact-form input[type="email"]::-ms-input-placeholder,
.ast-contact-form input[type="tel"]::-ms-input-placeholder,
.ast-contact-form input[type="number"]::-ms-input-placeholder {
  color: #8b8d94 !important;
}

/* File input styling */
/*.wpcf7-form-control.wpcf7-file {
    position: relative;
    cursor: pointer;
    min-height: 40px;
    display: block;
    width: 100%;
}*/

.joinus-file {
  overflow: visible;
}

.joinus-file .file-preview-container {
  /*    display: block;*/
  /*    margin-top: 10px;*/
}

.joinus-file .file-preview-container .file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 8px;
}

.joinus-file .file-preview-container .file-name {
  flex: 1;
  font-size: 14px;
  color: #322625;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.joinus-file .file-preview-container .delete-file {
  /*    background: #dc3232;*/
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  flex-shrink: 0;
}

.joinus-file .file-preview-container .delete-file:hover {
  /*    background: #a00;*/
}

span#error-msg {
  margin-top: 10px;
}

span#error-msg.hidden {
  display: none;
  opacity: 0;
}

.joinus-file .wpcf7-not-valid-tip {
  margin-top: 10px;
}

input.wpcf7-form-control.wpcf7-file {
  min-height: 40px;
}

.wpcf7-checkbox .wpcf7-list-item-label {
  display: none;
}

.wpcf7-checkbox .wpcf7-list-item {
  margin: 0 10px;
}

.checkbox-text {
  font-size: 16px;
  line-height: 1.5;
}

input[type="checkbox"] {
  accent-color: #322625;
}

/* Fix for nice-select validation errors */
.wpcf7-form-control-wrap.wpcf7-not-valid .nice-select {
  border-color: #dc3232 !important;
}

/* Force remove error styling when wrapper doesn't have error class */
.wpcf7-form-control-wrap:not(.wpcf7-not-valid) select,
.wpcf7-form-control-wrap:not(.wpcf7-not-valid) .nice-select {
  border-color: #8b8d94 !important;
}

/* Force hide error tips when wrapper is not invalid */
.wpcf7-form-control-wrap:not(.wpcf7-not-valid) .wpcf7-not-valid-tip {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure nice-select doesn't keep invalid styling */
.nice-select:not(.wpcf7-not-valid) {
  border-color: #8b8d94 !important;
}

/* Remove error styling from select when it has a valid value */
select[aria-invalid="false"] + .nice-select {
  border-color: #8b8d94 !important;
}

select[aria-invalid="false"] {
  border-color: #8b8d94 !important;
}

/* Label error styling for file inputs */
.wpcf7-form-control-wrap.wpcf7-not-valid + label,
label + .wpcf7-form-control-wrap.wpcf7-not-valid ~ label {
  color: #dc3232 !important;
}

/* Label styling for required file fields */
/*.joinus-file label.req {
    display: block;
    margin-bottom: 8px;
}*/
.joinus-file .wpcf7-form-control-wrap {
  margin-top: 20px;
}
label.req:after {
  bottom: 5px;
  top: unset !important;
}
/* Make sure label turns red when field is invalid */
.joinus-file .wpcf7-not-valid ~ label,
.joinus-file label + .wpcf7-form-control-wrap.wpcf7-not-valid {
  color: #dc3232 !important;
}
.whatsapp-continue-container {
  padding: 40px 20px;
  animation: fadeIn 0.5s ease-in;
}

/* WhatsApp Continue Section */
.whatsapp-continue-container {
  padding: 40px 32px 30px 32px;
  text-align: left;
  animation: fadeIn 0.5s ease-in;
}

.whatsapp-instruction {
  font-family:
    "Neutra Text Bold", Helvetica, Arial, Verdana, sans-serif !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #322625 !important;
  margin-bottom: 15px !important;
  font-weight: bold !important;
  line-height: 1.2 !important;
}

.whatsapp-continue-btn {
  width: 200px !important;
  height: 55px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Neutra Text Bold";
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #322625;
  text-decoration: none;
  overflow: hidden;
  transition: 0.5s all;
  color: #322625;
  z-index: 1;
  background: white;
  cursor: pointer;
  -webkit-appearance: button;
  padding: 0;
  vertical-align: baseline;
}

.whatsapp-continue-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #bfe5e6;
  z-index: -1;
  transition: 0.5s all;
}

.whatsapp-continue-btn:hover:before {
  left: 0%;
}

.whatsapp-continue-btn:hover {
  border: 1px solid transparent;
  background-color: #bfe5e6 !important;
}

/* For contact form variant if needed */
.ast-contact-form .whatsapp-continue-btn {
  font-family: "Neutra Text";
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 1px;
}

/* Force remove error styling when wrapper doesn't have error class */
.wpcf7-form-control-wrap:not(.wpcf7-not-valid) select,
.wpcf7-form-control-wrap:not(.wpcf7-not-valid) .nice-select {
  border-color: #8b8d94 !important;
}

/* Force hide error tips when wrapper is not invalid */
.wpcf7-form-control-wrap:not(.wpcf7-not-valid) .wpcf7-not-valid-tip {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure nice-select doesn't keep invalid styling */
.nice-select:not(.wpcf7-not-valid) {
  border-color: #8b8d94 !important;
}

/* Remove error styling from select when it has a valid value */
select[aria-invalid="false"] + .nice-select {
  border-color: #8b8d94 !important;
}

select[aria-invalid="false"] {
  border-color: #8b8d94 !important;
}

[data-class="wpcf7cf_group"] {
  margin-top: 0 !important;
}
@media (min-width: 1024px) {
  .ast-contact-form-row.items-50 > div {
    width: 50%;
  }
}

/* Apply only on small screens (mobile devices) */
@media (max-width: 768px) {
  /* Fix the ::before pseudo-element for multiline text */
  .wpcf7-form-control.wpcf7-file::before {
    white-space: normal !important;
  }
  .joinus-header h1 , .step-2.joinus-header .header-container > div{
    font-size: 40px;
    line-height: 118.5% !important;
    letter-spacing: 7.70508px;
    margin-bottom: 40px !important;
  }

}

/* Custom file input placeholder text */
.ast-contact-form input[type="file"][name="cv"]::before {
  content: "Allowed formats: PDF, DOC, DOCX" !important;
}

.ast-contact-form input[type="file"][name="photo"]::before {
  content: "Allowed formats: JPG, PNG, JPEG" !important;
}

.header-container h1 {
  max-width: 926px !important;
}
