body {
  font-family: "poppins";
  margin: 0;
  overflow-x: hidden;
  padding-top: 66px;
}

html{
  overflow-x: hidden;
}


#top-section {
  position: relative;

  .bg {
    position: relative;
  }

  .banner {
    position: absolute;
    bottom: 0;
    z-index: 2;
    width: 100%;
    background-color: rgba(15, 59, 77, 0.8);
    min-height: 219px;
    padding: 1rem 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideInFromRight 1.5s ease-in-out;

    p,
    h1 {

      font-family: Poppins;
      font-size: 26px;
      font-weight: 600;
      line-height: 42px;
      color: #FFFFFF;
      text-transform: uppercase;

    }

    h1 {
      font-size: 44px;
      color: #A3CC39;
      text-transform: uppercase;

    }
  }


  

  .bg img {
    width: 100%;
    height: auto;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

#middle-section {
  .contact-form-container {
    max-width: 600px;
    /* padding: 20px 30px; */
    /* margin-left: 6.5rem; */
  }

  .contact-form-container h1 {
    font-size: 32px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 20px;
    color: #0F3B4D;
  }

  label {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 1px;
    text-align: left;
    color: #0F3B4D;
    margin-bottom: 0px;

  }

  .form-control {
    border: 1px solid #A3CC39;
    border-radius: 4px;
    color: #555;
  }

  .form-control:focus {
    border-color: #0F3B4D;
    box-shadow: none;
  }

  textarea{
    max-height: 150px;
  }

  .btn-submit {
    background-color: #A3CD39;
    color: #0F3B4D;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    width: 100%;
  }

  .btn-submit:hover {
    background-color: #85a72e;
    color: #0F3B4D;
  }
}

.bottom-section {
  display: flex;
  flex-direction: column;
  align-items: center;

  /* background: #A3CD3933; */
  /* padding: 5rem 0rem; */

  p,
  h1 {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 1px;
    text-align: center;
    color: #0F3B4D;
    text-transform: uppercase;

  }

  h1 {

    font-size: 32px;
    font-weight: 600;
    line-height: 42px;
    text-align: center;
    text-transform: uppercase;


  }

  p {
    max-width: 45rem;
    text-transform: uppercase;

  }

  iframe {
    border: 0;
    width: 100%;
    height: 450px;
    border-radius: 8px;
  }
}


/* Responsive design for small screens */
@media (max-width: 768px) {

  #top-section,
  #bottom-section {
    .bg {
      .banner {
        padding: 0.5rem;
        display: flex;
        min-height: auto;

        h1 {
          font-size: 20px;
          line-height: 24px;
          margin-bottom: 1rem;
        }

        p {
          font-size: 12px;
          line-height: 16px;
          margin-bottom: 0.5rem;
        }
      }
    }

    h1 {
      font-size: 28px;
      line-height: 32px;
    }

  }

  #bottom-section {

    h1 {
      font-size: 20px;
      line-height: 24px;
      margin-bottom: 1rem;
    }

    p {
      font-size: 12px;
      line-height: 16px;
      margin-bottom: 0.5rem;
    }

    .flex {
      flex-direction: column;
    }

  }

  #middle-section {

    .contact-form-container {
      margin-left:0px;
    }
  }
}


@media (max-width: 480px) {
  .bg {
    .banner {
      display: flex;
      min-height: auto;

      img {
        width: 80%;
      }
    }
  }

  #top-section {
    h1 {
      font-size: 16px;
      line-height: 20px;
    }

  }


  #bottom-section {

    h1 {
      font-size: 18px;
      line-height: 22px;
      margin-bottom: 0.8rem;
    }

    p {
      font-size: 10px;
      line-height: 14px;
      margin-bottom: 0.4rem;
    }

    .flex {
      flex-direction: column;
    }

  }

  #middle-section {

    .contact-form-container {
      margin-left:0px;
    }
  }

}

main{
  min-height: 100%;
}