form {
  display: flex !important;
  flex-direction: column;
  gap: 28px;
  padding: 1rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.hs-dependent-field {
  display: flex !important;
  flex-direction: column;
  gap: 28px;
}

.hs-form-field {
  width: 100% !important;
}

/* Shared styles for both layouts */
.form-columns-1,
.form-columns-2 {
  max-width: unset !important;
  display: grid !important;
  gap: 28px;
  width: 100%;
}

/* Class 1: Always one column (Mobile, Tablet, Desktop) */
.form-columns-1 {
  grid-template-columns: 1fr;
}

/* Class 2: Responsive (1 column on Mobile, 2 on Tablet/Desktop) */
.form-columns-2 {
  /* Mobile First: Stacked vertically */
  grid-template-columns: 1fr;
}

/* Breakpoint for Tablet and up */
@media (min-width: 768px) {
  .form-columns-2 {
    /* Two equal columns */
    grid-template-columns: 1fr 1fr;
  }
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
/*.contact-us__form-row-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .contact-us__form-row-2col {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.contact-us__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-us__form-group label {
  font-family: DM Sans;
  font-weight: 400;
  font-style: regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #2E3A39;
}

.contact-us__file-input-label {
  font-family: DM Sans !important;
  font-weight: 400 !important;
  font-style: regular !important;
  font-size: 16px !important;
  line-height: 24px !important;
  letter-spacing: 0% !important;
  color: #2E3A39 !important;
}

.contact-us__form-group input,
.contact-us__form-group textarea {
  padding: 12px 16px;
  border: 1px solid #9CB1AF;
  border-radius: 4px;
  width: 100%;
  background-color: #fff;
}

.contact-us__form-group input:focus,
.contact-us__form-group textarea:focus {
  outline: 2px solid #397E77;
}

.contact-us__form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 12px 16px;
  border: 1px solid #9CB1AF;
  border-radius: 4px;
  width: 100%;
  background-color: #fff;
  font-size: 1rem;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23397E77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem; 
}

.contact-us__form-group select:focus {
  outline: 2px solid #397E77;
}

.contact-us__form-group select:invalid {
  color: #999;
}

.contact-us__form-group span {
  font-family: DM Sans;
  font-weight: 400;
  font-style: regular;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  color: #3F504F;
}

.contact-us__info-text {
  font-family: DM Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #748E8B;
}

.contact-us__submit-button {
  width: 100%;
  padding: 12px 16px;
  color: white;
  background: #397E77;
  margin-inline: auto;
  border: none;
  border-radius: 4px;
}

.contact-us__file-input {
  border: 1px dashed #9CB1AF !important;
  border-radius: 4px;
  padding: 8px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  height: 180px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.contact-us__form-group input[type="radio"],
.contact-us__form-group input[type="checkbox"]{
  border: none !important;
  width: unset !important;
  margin-right: 12px;
  accent-color: #397E77;
  transform: scale(1.5);
}

.contact-us__form-group input[type="radio"]:focus {
  outline: unset !important;
}

.contact-us__form-group input[type="checkbox"]:focus {
  outline: unset !important;
}

.radio-group,
.checkbox-group{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.radio-item,
.checkbox-item{
  display: flex;
}*/

label {
  font-family: DM Sans;
  font-weight: 400;
  font-style: regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #2E3A39;
}

form input[type="text"],
form input[type="email"]{
  padding: 12px 16px;
  border: 1px solid #9CB1AF;
  border-radius: 4px;
  width: 100% !important;
  background-color: #fff;
}

form textarea {
  padding: 12px 16px;
  border: 1px solid #9CB1AF;
  border-radius: 4px;
  width: 100% !important;
  background-color: #fff;
}

form input:focus,
form textarea:focus {
  outline: 2px solid #397E77;
}

form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 12px 16px;
  border: 1px solid #9CB1AF;
  border-radius: 4px;
  width: 100% !important;
  background-color: #fff;
  font-size: 1rem;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23397E77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem; 
}

form select:focus {
  outline: 2px solid #397E77;
}

form select:invalid {
  color: #999;
}

form input[type="radio"],
form input[type="checkbox"]{
  border: none !important;
  width: unset !important;
  margin-right: 12px;
  accent-color: #397E77;
  transform: scale(1.5);
}

form input[type="radio"]:focus {
  outline: unset !important;
}

form input[type="checkbox"]:focus {
  outline: unset !important;
}

form input[type="submit"] {
  width: 100%;
  padding: 12px 16px;
  color: white;
  background: #397E77;
  margin-inline: auto;
  border: none;
  border-radius: 4px;
}



/* 1. Target the specific HubSpot field container */
.hs_TICKET\.hs_file_upload .input {
    position: relative; /* Essential for absolute positioning children */
    width: 100%;
    
    /* Your desired styles applied to the container */
    border: 1px dashed #9CB1AF;
    border-radius: 4px;
    padding: 20px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    height: 180px;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9; /* Light background */
    transition: all 0.3s ease;
}

/* 2. Highlight effect when dragging over */
.hs_TICKET\.hs_file_upload .input.drag-active {
    background-color: #e6f7f6;
    border-color: #5d7a77;
}

/* 3. Make the Native Input cover the whole area but be invisible */
.hs_TICKET\.hs_file_upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Make it invisible */
    cursor: pointer;
    z-index: 10; /* Ensure it sits on top of the text */
}

/* 4. Style the custom text/icon we will inject via JS */
.custom-file-upload-text {
    text-align: center;
    color: #555;
    pointer-events: none; /* Let clicks pass through to the input */
    z-index: 1;
}

.custom-file-upload-text strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

/* 5. Style for the file name once uploaded */
.file-name-display {
    margin-top: 10px;
    font-size: 0.9em;
    color: #008000;
    font-weight: 600;
}

.hs-error-msg {
  font-size: 12px;
  color: red;
}