* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth !important;
}
body {
  font-family: "Sofia Pro Regular";
}
section {
  margin: auto;
}
img {
  width: 100%;
  height: auto;
  display: block;
  object-position: center;
  object-fit: cover;
}
.blur-load {
  background-size: cover;
  background-position: center;
}
li {
  list-style: none;
}

a {
  font-size: 18px;
  color: #545454;
  text-decoration: none;
}

a:hover {
  color: #ff914d;
}

.title-header {
  color: white;
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  display: flex;
  align-items: center;
}
.filter-img-rotate {
  /* transform: rotate(180deg); */
  aspect-ratio: 4/3;
}
.banner {
  width: 100%;
  height: auto;
}
.banner-img-container img {
  content: url("assets/courtney-rose-_rEP16HvSxI-unsplash.webp");
  aspect-ratio: 4/3;
}
.header {
  background-color: #ffffff;
  position: fixed;
  justify-content: center;
  top: 0;
  left: 0;
  right: 0;
  transition: top 0.3s;
  z-index: 1000;
}

.hidden-header {
  top: -150px;
}
.about-us {
  background-color: #f8efef;
  padding: 40px 20px 60px;
}
.logo {
  width: 100%;
  max-width: 150px;
  height: auto;
}
img.title-header .logo {
  aspect-ratio: 1/1;
}

.grid-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.menu-links {
  display: flex;
  gap: 5px;
  align-items: center;
}

button.scroll-down-cta {
  background-color: #ff914d;
  font-size: 18px;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px;
  margin-top: 4px;
  font-weight: 600;
  white-space: nowrap;
}
button.scroll-down-cta:hover {
  background-color: #fff;
  border: #f26b17 solid 1.5px;
  color: #f26b17;
  font-weight: 600;
}
.banner-about-us {
  text-align: center;
  font-size: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}
h1.about-us-text {
  color: #545454;
}

.overlay {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
h1.about-us-translations {
  color: #545454;
}
.border-radius {
  border-radius: 6px;
  aspect-ratio: 3/4;
}
.services {
  background-color: #fff;
  color: #ff914d;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 40px 20px;
  padding: 20px 0px;
}

.services-main-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
}
h1.services-text {
  font-size: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0px 70px;
  letter-spacing: -1.5px;
  padding-top: 10px;
}

.language-button-container {
  display: flex;
  flex-direction: column;
}

select {
  border: #ff914d solid 1px;
  color: #ff914d;
  width: 40px;
  padding: 6px;
  background-color: #ffffffc9;
  margin-top: 5px;
  align-content: end;
  border-radius: 5px;
  margin-bottom: 5px;
  display: block;
  width: 100%;
  border: solid 1px #ccc;
  resize: vertical;
}

ion-icon {
  font-size: 40px;
  color: #fff;
}
.contact-us-container {
  background-color: #737070;
  color: white;
  padding: 80px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon-and-service-container {
  margin-bottom: 20px;
  width: 130px;
  height: 130px;
  font-size: 14px;
  border-radius: 200px;
  background-color: #ff914d;
  color: #fbfbfb;
  display: flex;
  padding: 20px 20px;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
h1.contact-us-text {
  display: flex;
  justify-content: center;
}
.footer {
  background-color: #ff914d;
  color: #fff;
}
label {
  display: block;
  margin: 1em 0 0.2em;
}
/* single-line text, checkbox, and button */
input,
textarea {
  display: block;
  width: 100%;
  padding: 0.3em;
  font-size: 20px;
  background-color: #fbfbfb;
  border: solid 1px #ccc;
  resize: vertical;
  border-radius: 6px;
}
textarea {
  min-height: 180px;
}
select {
  color: rgb(54, 52, 56);
}
option {
  color: blue;
  background: lavenderBlush;
}
input[type="checkbox"] {
  display: inline;
  width: auto;
  color: red;
}

input[type="submit"] {
  background: #ff914d;
  margin: 1em 0 0;
  color: white;
  border: none;
  font-size: 22px;
  border-radius: 8px;
  transition: all 0.3s ease-out;
}

input:focus,
input:hover,
select:focus,
select:hover,
textarea:focus,
textarea:hover {
  background: lavenderBlush;
}
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: rgb(234, 198, 156);
  outline: none;
  color: #545454;
}
.footer.contact-us-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}
li.footer-list-center {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.over-the-banner-text {
  position: absolute;
  padding-top: 30%;
  z-index: 999;
  color: #ffffff;
  font-size: 60px;
  text-align: center;
  width: 100%;
}
h3.h3-flex {
  display: flex;
}
.flex {
  display: flex;
  justify-content: space-evenly;
}
h1.services-text-example {
  text-align: center;
  font-size: 35px;
  color: #545454;
}
.img-container-pics-work {
  background-color: #f8efef;
  padding: 40px 0px 60px;
}
/* Slideshow container */
.slideshow-container {
  max-width: 80%;
  position: relative;
  margin: auto;
}
/* Hide the images by default */
.mySlides {
  display: none;
}
/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 8px;
  color: white;
  font-weight: bold;
  font-size: 48px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: #808080a3;
}

/* Caption text */
.text {
  background-color: #808080a3;
  color: #f2f2f2;
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  bottom: 1px;
  width: 100%;
  text-align: center;
  border-radius: 0px 0px 10px 10px;
}
/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active,
.dot:hover {
  background-color: #717171;
}
/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.icon-footer {
  width: 200px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.border-radius-img {
  border-radius: 10px;
}
img.border-radius-img {
  aspect-ratio: 3/4;
}
.phone-link {
  -webkit-text-fill-color: white; /* This fixes text disappearing on Safari */
  text-decoration: none;
}
ion-icon.mail-icon-footer.md.hydrated {
  position: absolute;
  font-size: 60px;
}
.flex-email {
  display: flex;
}
ion-icon.plane-icon.md.hydrated {
  height: 25px;
  width: 40px;
}

.blur-load {
  background-size: cover;
  background-position: center;
  position: relative;
}

.blur-load > img {
  opacity: 0;
}

.blur-load.loaded > img {
  opacity: 1;
}

.blur-load.loaded::before {
  content: none;
}

@media print, screen and (min-width: 320px) and (max-width: 520px) {
  .title-header {
    font-size: 15px;
  }
  .text {
    font-size: 15px;
    border-radius: 0 0 10px 10px;
  }
  .prev,
  .next {
    font-size: 20px;
  }
  .logo {
    max-width: 100px;
  }
  .button.scroll-down-cta {
    font-size: 13px;
  }
  .testimonials {
    display: none;
  }
  a.scroll-down-cta {
    font-size: 18px;
    font-weight: 900;
  }
  .menu-links {
    display: flex;
    flex-direction: column;
  }
  button.scroll-down-cta {
    font-size: 15px;
  }
  .banner-about-us {
    grid-template-columns: none;
  }
  .services-main-container {
    grid-template-columns: 1fr;
  }
  .icon-and-service-container {
    width: 180px;
    height: 180px;
    font-size: 20px;
  }
  ion-icon {
    width: 60px;
    height: 60px;
  }
  .footer.contact-us-container {
    grid-template-columns: 1fr;
  }
  .flex {
    flex-direction: column;
  }

  @media (max-width: 768px) {
    .over-the-banner-text {
      font-size: 48px;
      padding-top: 50%;
    }
  }
}

@media screen and (min-width: 600px) {
  /*  make the form 2 columns */
  form:after {
    content: "";
    display: block;
    clear: both;
  }
  .column {
    width: 50%;
    padding: 1em;
    float: left;
  }
}
@media print, screen and (min-width: 521px) and (max-width: 767px) {
  .banner-about-us {
    grid-template-columns: none;
  }
  .testimonials {
    display: none;
  }
  .over-the-banner-text {
    font-size: 60px;
    padding-top: 50%;
  }
}

@media print, screen and (min-width: 992px) {
  .over-the-banner-text {
    font-size: 60px;
  }

  .slideshow-container {
    width: 50%;
  }
}
@media print, screen and (min-width: 521px) and (max-width: 991px) {
}
@media (max-width: 767px) {
  .banner-img-container .blur-load img {
    max-width: 767px;
    background-image: url("assets/david-pisnoy-small.jpg"); /* Use the smaller background image */
    background-size: cover;
    background-position: center;
    aspect-ratio: 3/4;
  }
  .banner-img-container img {
    max-width: 767px;
    content: url("assets/david-pisnoy-46juD4zY1XA-unsplash.webp");
    transform: rotate(0deg);
    /* filter: grayscale(0%); */
    aspect-ratio: 3/4;
  }
}
