.event-banner {
  background-color: #2D3945;
  height: 790px;
}

/*css*/
.event-banner h1 {
  color: white;
  font-size: 65px;
  max-width: 985px;
  text-align: center;
}

.event-title {
  display: flex;
  justify-content: center;
}

.event-banner-img img {
  position: relative;
  height: 650px;
}

.event-contact {
  margin-top: 330px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 510px;
}

.event-contact img {
  width: 760px;
  height: 510px;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
}

.event-contact > div {
  max-width: 527px;
  background-color: #FAFAFAFA;
  height: 100%;
  padding: 46px 50px;
  border-radius: 0 16px 16px 0;
}

.event-contact h3 {
  font-size: 24px;
  color: #2D3945;
  font-weight: 600;
  margin-bottom: 16px;
}

.event-contact form {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0px 2px 16px 0px #0000000A;
}

.event-contact input, textarea {
  background-color: white;
  border: 1px solid #2D39451A;
  padding: 13px 15px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.event-contact input:focus, textarea:focus {
  outline: 1px solid #a1a1a1;
}

.event-contact button {
  background-color: #4C5864;
  padding: 15px 25px 15px 25px;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
}

.event-contact button:hover {
  background-color: #3c4752;
}


@media screen and (max-width: 1400px) {
  .event-contact img {
    width: 600px;
  }
}

@media screen and (max-width: 1200px) {
  .event-contact img {
    width: 500px;
  }
}

@media screen and (max-width: 992px) {
  .event-contact {
    grid-template-columns: repeat(1, 1fr);
    height: 100%;
  }

  .event-contact img {
    width: 100%;
    border-radius: 16px 16px 0 0;
  }

  .event-contact > div {
    max-width: 100%;
    border-radius: 0 0 16px 16px;
    padding: 16px;
  }

  .event-banner {
    height: 400px;
  }

  .service-banner {
    min-height: 600px;
  }

  .event-banner h1 {
    font-size: 38px;
  }

  .event-banner-img img {
    height: 100%;
    top: 30px;
  }

  .event-contact {
    margin-top: 200px;
  }
}

@media screen and (max-width: 767px) {
  .event-contact {
    margin-top: 100px;
  }

  .event-contact img {
    height: 100%;
  }
}

@media screen and (max-width: 576px) {
  .event-banner h1 {
    font-size: 28px;
    text-align: left;
  }

  .event-banner {
    height: 390px;
  }

  .service-banner {
    min-height: 390px;
  }

  .event-banner-img img {
    top: -20px;
  }

  .event-contact {
    margin-top: 200px;
  }
}

@media screen and (max-width: 485px) {
  .event-contact {
    margin-top: 150px;
  }
}

@media screen and (max-width: 365px) {
  .event-contact {
    margin-top: 100px;
  }
}