* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
}

.navbar {
  height: 100px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #C8A7C4;
}

.logo-image {
  height: 100px;
  object-fit: cover;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.hero-banner {
  background-color: #e0e0e0;
  padding: 10rem;
  text-align: center;
  background-image: url("/assets/img/banner-image-1.webp");
  object-fit: cover;
  background-repeat: no-repeat;
  background-size: cover; /* Ensures the image covers the entire div */
  background-position: center; /* Centers the image */
}

.contact-heading {
  padding: 0.5rem;
  width: 80%;
  max-width: 400px;
  border: 1px solid #ddd;
  border-radius: 8px;
  opacity: 0.5;
}

.contact-heading h2 {
  font-size: 50px;
  color: snow;
}

.contact-section {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}

.contact-section h2{
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.contact-section-row{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 90px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  width: 100%;
}

#contact-form label {
  font-weight: bold;
  color: #555;
}

#contact-form input,
#contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
}

#contact-form textarea {
  resize: vertical;
  height: 100px;
}

.info-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.contact-info {
  text-align: left;
  background-color: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 200px;
  width: 350px;
  height: 200px;
}

.office-hours {
  background-color: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-wrap: nowrap;
}

.office-hours p{
  text-align: center;
  padding: 5px;
}

.office-hours h2,
.contact-info  h2 {
  color: #333;
  margin-bottom: 1rem;
}

.contact-info  a {
  color: #0073e6;
  text-decoration: none;
  font-weight: bold;
}

.contact-info  a:hover {
  text-decoration: underline;
}

.submit-btn {
  padding: 0.75rem 2rem;
  background-color: #d3d3d3;
  color: #333;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}


.submit-btn:hover {
  background-color: #C8A7C4;
}

@media (max-width: 1024px) {
  .contact-heading h2 {
    font-size: 40px;
  }
}


@media (max-width: 600px){
  .contact-heading{
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .contact-section-row {
    display: flex;
    flex-direction: column;
  }

  .navbar a {
    display: none;
    padding: 10px 0;
    font-size: 1.2rem;
  }

  #contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .contact-heading h2 {
    font-size: 30px;
  }

  #contact-form input,
  #contact-form textarea {
    width: 100%;
    font-size: 1rem;
  }

  .submit-button {
    width: 100%;
    padding: 10px;
    font-size: 1.2rem;
    margin-top: 15px;
  }

  .office-hours,
  .map-link {
    width: 100%;
    text-align: center;
    margin: 15px 0;
  }

  .logo {
    margin: 0 auto 15px;
    display: block;
  }
}
