.title-section {
  padding: 50px 0px;
}

.title-section h1 {
  margin-top: 40px;
  font-weight: 300;
  font-family: "Lato", Arial, sans-serif;
  font-style: italic;
  font-size: 60px;
  color: white;
  text-align: center;
}

.contact-us-section {
  display: flex;
  align-items: center;
  gap: 40px;
}

.form-text {
  flex: 0.3;
}

.form-text ul {
  list-style: none;
  color: white;
  font-size: 18px;
  font-family: "Lato", Arial, sans-serif;
  font-weight: 300;
  padding: 20px;
}

.form-text p {
  font-family: "Lato", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: white;
  padding: 20px;
}

.form-section {
  flex: 0.7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: auto;
}

.form-section form {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.full-width {
  grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  color: white;
  font-size: 20px;
  font-weight: 300;
  font-family: "Lato", Arial, sans-serif;
  width: 100%;
  outline: none;
  margin-top: 0;
  margin-bottom: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom: 2px solid #ff6b6b;
}

.form-group label {
  font-family: "Lato", Arial, sans-serif;
  color: white;
  font-size: 20px;
  font-weight: 300;
  display: inline-flexbox;
  margin-bottom: 4px;
}

.form-group option {
  font-size: 16px;
  color: black;
  display: inline-flexbox;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.form-group select option {
  background-color: #2c2c2c;
  color: white;
  font-size: 16px;
  font-family: "Lato", Arial, sans-serif;
}

.required {
  color: #ff6b6b;
  font-weight: bold;
  margin-left: 4px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.pound-symbol {
  position: absolute;
  left: 0;
  padding-left: 8px;
  padding-bottom: 8px;
  font-size: 20px;
  font-weight: 200;
  color: white;
  pointer-events: none;
  font-family: "Lato", Arial, sans-serif;
}

.input-wrapper input {
  padding-left: 30px;
  background: transparent;
  color: white;
  font-size: 20px;
  font-weight: 300;
  font-family: "Lato", Arial, sans-serif;
  width: 100%;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

#moreinfo {
  transition: height 0.2s ease;
  overflow: hidden;
}

#moreinfo:focus {
  border-bottom: 2px solid #ff6b6b;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.button-container {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  padding: 40px 0px;
  gap: 20px;
}

.button-container button {
  padding: 12px 30px;
  font-size: 18px;
  font-family: "Lato", Arial, sans-serif;
  font-weight: 400;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background-color: #ff6b6b;
  color: white;
  transition: background-color 0.3s ease;
}

.button-container button:hover {
  background-color: #e65555;
}

#backBtn {
  background-color: #3b4e61;
  color: white;
  border: none;
  box-shadow: none;
}

#backBtn:hover {
  background-color: #556f89;
}

.privacy-and-complaints-section {
  display: flex;
}

.privacy-section {
  flex: 0.5;
}

.complaints-section {
  flex: 0.5;
}

.privacy-section h1,
.complaints-section h1 {
  font-family: "Lato", Arial, sans-serif;
  font-size: 32px;
  padding-top: 40px;
  font-weight: 200;
  color: white;
  text-align: center;
}

.privacy-section p,
.complaints-section p {
  font-family: "Lato", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: white;
  padding: 30px;
}

.complaints-section ul {
  list-style-type: none;
  color: white;
  font-family: "Lato", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  padding-left: 30px;
}

.thank-you-message {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 40px;
  color: white;
  text-align: center;
  font-family: "Lato", Arial, sans-serif;
}

.thank-you-message h2 {
  font-size: 32px;
  font-weight: 200;
  padding-top: 30px;
}

.thank-you-message p {
  font-size: 18px;
  font-weight: 300;
  padding: 50px 0px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.06) inset !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.06) inset !important;
  -webkit-text-fill-color: white !important;
  caret-color: white;
  transition: background-color 9999s ease-in-out 0s !important;
}

.form-section .form-group.full-width.privacy-consent {
  display: flex;
  flex-direction: row; 
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;            
  text-align: center; 
}

.form-section .form-group.full-width.privacy-consent label {
  margin: 0;
}

.form-section .form-group.full-width.privacy-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: 0.5rem;
  cursor: pointer;
}

.form-section .form-group.full-width.privacy-consent a {
  color: #5f8d6d;
  text-decoration: underline;
}

.form-section .form-group.full-width.privacy-consent a:hover {
  color: #4f6c58;
}

#submitBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.grecaptcha-badge { visibility: hidden; }

.google-info {
  padding-bottom: 10px;
  text-align: center; 
}

.google-info p, a {
  color: grey;
  font-size: 16px;
}

@media (max-width: 768px) {
  .title-section {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .title-section h1 {
    font-size: 32px;
    margin-top: 0px;
  }

  .form-section form {
    padding: 30px;
  }

  .form-text p {
    font-size: 16px;
    padding: 10px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: auto;
  }

  .full-width {
    grid-column: span 1 !important;
  }

  .contact-us-section {
    display: grid;
  }

  .privacy-and-complaints-section {
    display: grid;
  }

  .complaints-section h1,
  .privacy-section h1 {
    font-size: 30px;
    font-weight: 200;
  }

  .complaints-section p,
  .privacy-section p {
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 0px;
  }

  .complaints-section ul {
    font-size: 16px;
    padding-top: 20px;
  }

  .form-group label {
    font-size: 18px;
  }

  .button-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 10px;
    margin-top: 2rem;
  }

  .button-container button {
    width: 100%;
    max-width: 100%;
    padding: 14px 0;
    font-size: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    font-family: "Lato", Arial, sans-serif;
    font-weight: 400;
  }

  .thank-you-message h2 {
    font-size: 30px;
  }

  .thank-you-message p {
    font-size: 16px;
    padding-top: 30px;
  }

  .google-info p, a {
    font-size: 14px;
  }
}
