body{
  font-family: 'Roboto Slab', serif;
}

.contact-hero {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  margin-bottom: 30px;
}

.contact-hero .hero-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #0F2BC9;
}

.contact-hero .hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: #444;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0ebff 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-row .form-group {
  flex: 1 1 calc(50% - 0.5rem);
}

label {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.required {
  color: red;
  font-size: 1rem;
  margin-left: -0.25rem;
}

input,
textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
}

textarea {
  min-height: 120px;
}

.form-submit {
  text-align: center;
  margin-top: 1.5rem;
}

.form-submit button {
  padding: 1rem 4rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background-color: #0F2BC9;
  color: #fff;
  transition: background-color 0.5s;
  text-transform: uppercase;
}

.form-submit button:hover {
  background-color: #000000;
}

/* Feedback message box */
#form-feedback.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#form-feedback.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/***** Media Query *****/
/***** Standard tablets & landscape phones (≤768px) ******/
@media (max-width: 768px) {
.contact-hero .hero-title {
  font-size: 2.6rem;
}
}

/***** Large smartphones & phablets (≤617px) ******/
@media (max-width: 617px) {
.contact-hero .hero-title {
  font-size: 2.3rem;
}

.contact-hero .hero-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
}

.form-submit button {
  padding: 0.8rem 4rem;
  font-size: 0.9rem;
}
}

/***** Small smartphones (≤450px) ******/
@media (max-width: 450px) {
.contact-hero .hero-title {
  font-size: 2rem;
}

.contact-hero .hero-subtitle {
  font-size: 1rem;
  max-width: 700px;
}

.form-submit button {
  padding: 0.8rem 4rem;
  font-size: 0.9rem;
}

label {
  font-size: 1rem;
}

#form-feedback.success {
  font-size: 1rem;
}
}

/***** Extra small phones & older devices (≤365px) ******/
@media (max-width: 365px) {
.contact-hero .hero-title {
  font-size: 1.8rem;
}

.contact-hero .hero-subtitle {
  font-size: 0.9rem;
  max-width: 700px;
}

.form-submit button {
  padding: 0.7rem 4rem;
  font-size: 0.8rem;
}

label {
  font-size: 0.9rem;
}

input,
textarea {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

#form-feedback.success {
  font-size: 0.9rem;
}
}




