:root {
  --white: white;
  --black: black;
}

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}

.hero-section {
  color: #fff;
  background-image: url('../images/_MG_1123-copySMALLER-TRY.jpeg');
  background-position: 50% 100%;
  background-repeat: repeat;
  background-size: cover;
  flex-flow: column;
  justify-content: flex-end;
  height: 100vh;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
}

.container {
  flex-flow: column;
  justify-content: space-between;
  width: 100%;
  max-width: 1024px;
  height: 85%;
  min-height: 300px;
  margin-top: auto;
  display: flex;
  position: relative;
}

.logo-wrapper {
  text-align: center;
  margin-bottom: auto;
}

.white {
  color: #000;
  font-size: 50px;
}

.service-categories {
  text-align: center;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.service {
  color: #000;
  text-transform: uppercase;
  font-size: 20px;
}

.contact-details {
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  display: flex;
}

.contact-detail {
  color: #fff;
  letter-spacing: 1px;
  font-size: 16px;
  font-weight: 700;
}

.contact-detail.spacer {
  padding-left: 20px;
  padding-right: 20px;
}

.unstyled {
  text-decoration: none;
}

.utility-page-wrap {
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  display: flex;
}

.utility-page-content {
  text-align: center;
  flex-direction: column;
  width: 260px;
  display: flex;
}

.utility-page-form {
  flex-direction: column;
  align-items: stretch;
  display: flex;
}

.image {
  width: auto;
  max-height: 64.0157%;
}

.image-2 {
  max-width: 350px;
}

.div-block {
  height: 20px;
}

.text-block {
  color: #000;
  text-align: center;
  background-color: #ffffff61;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}

.div-block-2 {
  height: 20px;
}

.div-block-3 {
  height: 450px;
}

@media screen and (max-width: 991px) {
  .hero-section {
    height: 100svh;
  }

  .container {
    width: 95%;
    height: 80%;
  }

  .service-categories {
    flex-flow: row;
  }

  .service {
    padding-left: 0;
  }

  .contact-detail {
    color: #fff;
  }

  .image-2 {
    max-width: 40%;
  }

  .text-block {
    background-color: #0000;
    font-size: 18px;
    line-height: 30px;
  }

  .div-block-2 {
    height: 40px;
    padding-top: 0;
  }

  .div-block-3 {
    height: 280px;
  }
}

@media screen and (max-width: 767px) {
  .container {
    width: 92%;
    height: 750px;
  }

  .logo-wrapper {
    margin-bottom: auto;
    padding-bottom: 0;
  }

  .white {
    line-height: 60px;
  }

  .service-categories {
    background-color: #ffffff40;
    flex-flow: column;
  }

  .contact-details {
    flex-flow: column;
  }

  .contact-detail {
    padding-bottom: 5px;
    font-size: 16px;
  }

  .image-2 {
    max-width: 60%;
  }

  .text-block {
    font-size: 16px;
    line-height: 28px;
  }

  .div-block-2 {
    height: 60px;
  }

  .div-block-3 {
    height: 80px;
  }
}

@media screen and (max-width: 479px) {
  .hero-section {
    background-position: 35% 0;
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100svh;
  }

  .container {
    grid-column-gap: 2svh;
    grid-row-gap: 2svh;
    height: auto;
    margin-top: auto;
    margin-bottom: auto;
  }

  .white {
    font-size: 36px;
    line-height: 50px;
  }

  .service-categories {
    grid-column-gap: 21px;
    grid-row-gap: 21px;
    color: #0000;
    flex-flow: column;
    margin-bottom: 50px;
  }

  .service {
    margin-top: 0;
  }

  .contact-details {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    flex-flow: column;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: auto;
  }

  .contact-detail {
    letter-spacing: 1px;
    font-size: 16px;
    line-height: 23px;
  }

  .contact-detail.spacer {
    display: none;
  }

  .image-2 {
    max-width: 80%;
  }

  .text-block {
    overflow-wrap: normal;
    font-size: 16px;
    line-height: 28px;
  }

  .div-block-2 {
    height: 30px;
  }

  .div-block-3 {
    height: 10vh;
  }
  /* --- iPhone SE / small phones fixes --- */
@media screen and (max-width: 479px) {
  /* Stop iOS from pinning the background and mis-sizing the viewport */
  .hero-section {
    background-attachment: scroll;    /* was: fixed */
    min-height: 100dvh;               /* use dynamic vh */
    height: auto;                     /* don't force a hard height */
    padding-bottom: calc(20px + env(safe-area-inset-bottom)); /* leave room for browser bar */
    overflow: visible;
  }

  /* Remove wasted vertical space */
  .div-block-3 {
    height: 0;                        /* was: 10vh */
  }

  /* Ease the vertical pressure inside the column layout */
  .container {
    justify-content: flex-start;      /* was: space-between (global) */
    gap: 16px;                        /* add breathing room without pushing footer off */
    margin-top: 0;
    margin-bottom: 0;
  }

  /* Make contact row resilient on narrow screens */
  .contact-details {
    flex-wrap: wrap;
    justify-content: center;          /* was: flex-end */
    margin-bottom: 0;                 /* was: auto */
    row-gap: 6px;
  }

  .contact-details a,
  .contact-detail {
    white-space: normal;
    overflow-wrap: anywhere;          /* allow long emails to break */
    word-break: break-word;
  }
}
}


