* {
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f3f3f3;
}

.banner {
  position: fixed;
  top: 0;
  width: 100%;
  height: 10vh; /* Set a specific height for the banner, 10% of the viewport height */
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 7px;
  z-index: 100;
  overflow: hidden;
}

.logo {
  height: auto;
  width: auto; /* Adjust this as needed based on your design */
  max-height: 100%; /* Ensure the logo doesn't exceed the height of the banner */
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  resize: none;
}

h1 {
  color: #333;
  font-size: 28px;
}

h2 {
  color: #333;
  font-size: 24px;
}

p {
  color: #666;
  max-width: 100%;
  margin: 20px auto;
  line-height: 1.6;
  font-size: 16px;
}

.contact-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin: 10px auto;
  max-width: 600px;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Lato', sans-serif;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: none;
}

.contact-form button {
  padding: 10px;
  font-family: 'Lato', sans-serif;
  background-color: #ec651f;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.accreditation-logos {
  margin: 2%;
  padding: 2%;
  display: flex;
  flex-wrap: wrap;
  justify-content:  center;
  align-items: center;
}

.accreditation-logos img {
  max-height: 76px;
  width: auto;
  padding:4px;
  max-width: 100%;
  margin-bottom: 10px;
  justify-content: space-between;
}

/* Media query for smaller screens */
@media only screen and (max-width: 600px) {
  h1 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

  .contact-form {
    padding: 10px;
  }

  /* Adjust logo size for smaller screens */
  .logo {
    max-width: 80%; /* Adjust the max-width as needed */
    max-height: 365px; /* Set a specific max height for the logo on smaller screens */
    padding: 5px;
  }
}