/* Import Manrope from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700&display=swap');

/* ============================= */
/* GLOBAL STYLES & CONTAINER     */
/* ============================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  background: #f9f9f9;
  color: #333;
}

#contact-section {
  background-color: #fffefe;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-header {
  width: 100%;
  background-color: #fffefe;
  color: #000000;
  padding: 20px;
  text-align: center;
}

.contact-form {
  background-color: #fff;
  padding: 20px;
  width: 100%;
  text-align: left;
  max-width: 600px;
}

.contact-intro {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #000000;
  font-weight: bold;
}


.contact-form input,
.contact-form textarea {
  color: #000000;
  width: 100%;
  padding: 10px 10px 10px 2px;
  margin-bottom: 20px;
  border: none;
  text-align: left;
  border-bottom: 1px solid #ccc;
  /* background-color: transparent; */
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}


.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom: 2px solid #ffcc00;
  background-color: #f5f5f5;
}

.contact-form textarea {
  resize: none;
  min-height: 100px;
}

.contact-form button {
  display: inline-block;
  padding: 10px 24px;
  font-size: 16px;
  background-color: #ffaa00;
  color: #000000;
  border: none;
  font-weight: bold;
  /* text-transform: uppercase; */
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.5s, color 0.5s;
}

.contact-form button:hover,
.contact-form button:focus {
  background-color: #000000;
  color: #cacaca;
  outline: none;
}

.contact-form select {
  color: #000000;
  width: 100%;
  padding: 10px 10px 10px 2px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 1px solid #ccc;
  /* background-color: transparent; */
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}


.contact-form select:focus {
  border-bottom: 2px solid #ffcc00;
  background-color: #f5f5f5;
}

.contact-form option {
  color: #8b3838;
  background: #fff;
}


/* js-only styles */
.error {
  border: 1px solid #e74c3c !important;
  background-color: #fff4f0;
  transition: all 0.2s ease-in-out;
  padding: 10px;
  border-radius: 5px;
}

select.error {
  color: #e74c3c;
}

.error-label {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-bottom: 4px;
  font-weight: 500;
}



/* ============================= */
/* PAGE TITLE                  */
/* ============================= */
h1 {
  text-align: center;
  font-size: 2em;
  margin: 10px;
  color: #222;
}