* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-optical-sizing: auto;
  font-family: "Gill Sans", sans-serif;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;

}

.no-copy {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  cursor: default;
  text-align: center;
}


*:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

body.no-scroll {
  overflow: hidden;
}


body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
}



h2 {
  font-size: 30px;
  text-align: center;
  margin-top: 20px;
}

.gallery {
  width: 100%;
  height: auto;
  gap: 50px;
  padding: 20px;
  justify-content: center;
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.c_gallery {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.frame {
  width: 300px;
  height: 200px;
  background: whitesmoke;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.frame:hover {
  transform: scale(1.05);
}


.slider {
  position: relative;
  width: 80%;
  max-width: 400px;
}

.slider img {
  width: 100%;
  display: none;
  border-radius: 10px;
}

.slider img.active {
  display: block;
}

.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  display: none;
  z-index: 1;
}

.arrow.left {
  left: -60px;
}

.arrow.right {
  right: -60px;
}

.dots {
  margin-top: 15px;
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: white;
}


#dont_do_that {
  background-image: url("pc_images/Projects/premises_consulting/dont_do.png");
  background-position: center;
  object-fit: contain;
  background-size: cover;
}

#discover_luxury{
  background-image: url("pc_images/Projects/premises_consulting/discover_property.png");
  background-position: center;
  object-fit: contain;
  background-size: cover;
}

#trust_in_exp{
  background-image: url("pc_images/Projects/premises_consulting/trust_in_expertise.png");
  background-position: center;
  object-fit: contain;
  background-size: cover;
}

#navigating_the{
  background-image: url("pc_images/Projects/premises_consulting/navigating_property_market_alone.png");
  background-position: top;
  object-fit: contain;
  background-size: cover;
}


/* ---------- RESPONSIVE STYLES ---------- */


@media (max-width: 768px) {

  .gallery {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    background-color: white;
  }

  .c_gallery {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: scroll;
  }

  .frame {
    width: 300px;
    height: 200px;
    background-color: whitesmoke;
  }

  .slider {
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: row;
  }


  .arrow.left {
    left: -30px;
    display: none;

  }

  .arrow.right {
    position: absolute;
    right: -3px;
    display: none;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

}