.top-overview-section.b {
  display: flex;
  flex-direction: column;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 30px 0px;
  padding-bottom: 0px;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

label {
  font-size: 11px;
  color: #ffffff;
  margin-bottom: 5px;
}

input {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 0;
  font-size: 14px;
  background-color: transparent;
  outline: none;
  transition: all 0.3s ease;
  border-radius: 2px;
  color: #ffffff;
}

input:focus {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background-color: transparent;
  color: #ffffff;
}

input:invalid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

input:valid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.form-button {
  display: flex;
  justify-content: flex-end;
}

button {
  padding: 10px;
  background-color: transparent;
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

input:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 9999s ease-in-out 0s;
}

.submission-message {
  color: #ffffff;
  font-weight: 500;
  text-align: right;
  margin: 0;
  padding: 20px 0px;
  font-size: 13px;
}

.text.h {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
  color: #d7d7d7;
  line-height: 1.4em;
}

.top-overview-section-grid.c {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 35%;
}

textarea {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: transparent;
  color: #ffffff;
  font-size: 14px;
  padding: 8px;
  resize: vertical;
  border-radius: 2px;
  outline: none;
  transition: all 0.3s ease;
  height: 20vh;
}

textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

textarea:invalid {
  border-color: rgba(255, 255, 255, 0.2);
}

.enquiry {
  padding-bottom: 15px;
}

/* ✅ Checkbox styling fix */
.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

/* Works on modern browsers */
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #000;
  background-color: transparent;
  border: 1px solid #ffffff;
  cursor: pointer;
}
.footer.c{
  width: 100%;
}
/* Fallback for Safari / older browsers */
@supports not (accent-color: #ffffff) {
  .checkbox-label input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 3px;
    position: relative;
  }

  .checkbox-label input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: -2px;
    left: 2px;
    font-size: 14px;
    color: #ffffff;
  }
}

@media (max-width: 767px) {
  .top-overview-section-grid.c {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
  }

  input,
  textarea,
  select {
    font-size: 16px !important; /* at least 16px to avoid zoom */
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .top-overview-section-grid.c {
    width: 100%;
  }
}
@media (min-width: 992px) and (max-width: 1200px){
  .top-overview-section-grid.c {
  width: 100%;
}
}