/* Center only the enquiry form */
.enquiry-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  font-family: Arial, sans-serif;
}



/* Form container (already exists, just add position: relative) */
.form-container {
  max-width: 1000px;
  margin: 10px auto;
  padding: 0 10px 20px 10px;
  box-sizing: border-box;
  position: relative; /* new line so child can be absolutely positioned */
  background: #fd9473;
  border: 2px solid #ccc;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Logo inside form box */
.form-logo {
  position: absolute;
  top: -10px;    /* adjust overlap if needed */
  left: -10px;
  width: 125px;
  height: 125px;
}

/* Form box */
.form-box{
  width:100%;
  background: var(--form-bg);
  border-top:1px solid gray;
  border-bottom:1px solid gray;
  padding: 24px 0;
}
.form-placeholder{ max-width:1200px; margin:0 auto; padding:20px; text-align:center; color:#fff; }



/* Header */
.form-header {
  margin:0 auto;
  width:60%;
  background: #fd9473;
  padding: 35px 0 15px 0;
  text-align: center;
  border-radius: 6px 6px 0 0;
}
.form-header h2 {
  margin: 0;
  color: white;
  font-weight: bold;
  font-size: 30px;  
}

/* Form */
form {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
  text-align: left;
  color:#000;
}

input, textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

select {
  width: 100%;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-sizing: border-box;
  color: #000;
}

/* --- Checkbox section only --- */
.checkbox-title {
  margin: 20px 0 10px 10px;
  font-weight: bold;
  font-size:13px;
  text-align: left;
  color:#000;
}

/* Checkbox section */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* smaller min width to fit on small screens */
  gap: 10px 20px; /* vertical and horizontal spacing */
  margin: 0 10px 20px 20px;
  width: 100%;
  box-sizing: border-box; /* ensures grid fits container */
}

.checkbox-item {
  display: flex;          /* horizontal layout of checkbox + label */
  align-items: center;
  justify-content: flex-start;
  min-width: 0;           /* allows label text to wrap inside column */
  box-sizing: border-box; /* ensures padding/margin doesn't overflow */
  padding: 5px 0;         /* optional spacing around each pair */
}

.checkbox-item input[type="checkbox"] {
  width: auto;            /* override global width */
  margin: 0;
  margin-right: 10px;     /* fixed space between checkbox and label */
  flex-shrink: 0;
  box-sizing: content-box;
}

/* Label */
.checkbox-item label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #000;
  cursor: pointer;        /* makes entire label clickable */
}



/* Button */
button {
  background: #000;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
button:hover {
  background: #555;
}

/* Make logo responsive on smaller screens */
@media (max-width: 600px) {
  .form-logo {
    width: 110px;
    height: 110px;
  }
}