.slider-container {

  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.slider-item {
  min-width: 100%;
  position: relative;
}

.slider-item img {
  width: 100%;

  object-fit: fill;
}

.slider-text {
  position: absolute;
  top: 52%;
  left: 12%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-size: 2rem;
  padding: 1rem;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  font-family: Avenir-Next-LT sans-serif;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 2;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.slider-indicator {
  width: 20px;
  height: 5px;
  background-color: gray;
  border-radius: 1%;
  cursor: pointer;
  display: inline-block;
}

.slider-indicator.active {
  background-color: white;
}

@media (max-width: 768px) {
  .slider-text {
    font-size: 1.2rem;
    padding: 1.5rem;
    width: 90%;
    top: 36%;
    left: 24%;
  }

}




/* gallery------------------home page-- */



.slider-pre {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



.slider-pre {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide-image-pre {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 769px) {
  .slide-image-pre {
    height: auto;
    object-fit: cover;
  }
}

.content-box-pre {
  position: relative;
  max-width: 600px;
  margin: -5rem 2rem 2rem auto;
  background: white;
  color: rgba(0, 0, 0, 0.6);
  z-index: 2;
  align-items: flex-start;
  padding: 50px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-nav-desktop-pre {
  display: flex;
  position: absolute;
  bottom: 320px;
  right: 50px;
  gap: 10px;
  align-items: center;
  z-index: 3;
}

.slide-nav-mobile-pre {
  display: none;
}

.nav-btn-pre {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: rgb(18, 17, 17);
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-btn-pre:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.slide-counter-pre {
  font-size: 0.9rem;
}

.content-box-pre h1 {
  font-size: 24px;
  margin-bottom: 1rem;
  font-family: "Avenir-Next-LT", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
}

.content-box-pre p {
  font-size: 16px;
  margin-bottom: 1rem;
  font-family: "Avenir-Next-LT", sans-serif;
  margin: 10px 0;
  line-height: 1.25;
}

.cta-button-pre {
  display: inline-block;
  background-color: #958a76;
  border: 1px solid #958a76;
  padding: 12px 41px;
  color: #fff;
  font-family: "Proxima-Nova", sans-serif;
  font-size: 16px;
  border-radius: 1.5em;
  letter-spacing: .4px;
  transition: all 0.1s linear;
  text-align: center;
  text-transform: capitalize;
  font-weight: 600;
  margin: 10px 0;
  text-decoration: none;
}

@media (max-width: 768px) {
  .content-box-pre {
    /* margin-top: 0rem; */
    background: none;
    color: black;
    text-align: left;
    position: relative;
    max-width: 600px;
    margin: 0rem 0rem 0rem;
    background: white;
    color: rgba(0, 0, 0, 0.6);
    z-index: 2;
    align-items: flex-start;
    padding: 20px 20px 15px;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
  }

  .slider-pre {
    display: flex;
    flex-direction: column;
  }

  .slide-image-pre {
    order: 1;
  }

  .content-box-pre {
    order: 2;
  }

  .slide-nav-desktop-pre {
    display: none;
  }

  .slide-nav-mobile-pre {
    display: flex;
    position: absolute;
    top: 27%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 3;
    width: 100%;
    pointer-events: none;
    /* allows clicks to pass through gaps */
  }

  .slide-nav-mobile-pre .nav-btn-pre {
    /* background-color: rgba(0, 0, 0, 0); */
    pointer-events: auto;
    /* re-enable clicks on buttons */
  }

  .nav-btn-pre {
    background-color: rgb(255 255 255 / 50%);
  }
}












.slider-pre1 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



.slider-pre1 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide-image-pre1 {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 769px) {
  .slide-image-pre1 {
    height: auto;
    object-fit: cover;
  }
}

.content-box-pre1 {
  position: relative;
  max-width: 600px;
  margin: -5rem auto 2rem 2rem;
  background: white;
  color: rgba(0, 0, 0, 0.6);
  z-index: 2;
  align-items: flex-start;
  padding: 50px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-nav-desktop-pre1 {
  display: flex;
  position: absolute;
  top: 50px;
  right: 50px;
  gap: 10px;
  align-items: center;
  z-index: 3;
}

.slide-nav-mobile-pre1 {
  display: none;
}

.nav-btn-pre1 {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: rgb(18, 17, 17);
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-btn-pre:hover1 {
  background-color: rgba(255, 255, 255, 0.4);
}

.slide-counter-pre1 {
  font-size: 0.9rem;
}

.content-box-pre1 h1 {
  font-size: 24px;
  margin-bottom: 1rem;
  font-family: "Avenir-Next-LT", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
}

.content-box-pre1 p {
  font-size: 16px;
  margin-bottom: 1rem;
  font-family: "Avenir-Next-LT", sans-serif;
  margin: 10px 0;
  line-height: 1.25;
}

.cta-button-pre1 {
  display: inline-block;
  background-color: #958a76;
  border: 1px solid #958a76;
  padding: 12px 41px;
  color: #fff;
  font-family: "Proxima-Nova", sans-serif;
  font-size: 16px;
  border-radius: 1.5em;
  letter-spacing: .4px;
  transition: all 0.1s linear;
  text-align: center;
  text-transform: capitalize;
  font-weight: 600;
  margin: 10px 0;
  text-decoration: none;
}

@media (max-width: 768px) {
  .content-box-pre1 {
    /* margin-top: 0rem; */
    background: none;
    color: black;
    text-align: left;
    position: relative;
    max-width: 600px;
    margin: 0rem 0rem 0rem;
    background: white;
    color: rgba(0, 0, 0, 0.6);
    z-index: 2;
    align-items: flex-start;
    padding: 20px 20px 15px;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
  }

  .slider-pre1 {
    display: flex;
    flex-direction: column;
  }

  .slide-image-pre1 {
    order: 1;
  }

  .content-box-pre1 {
    order: 2;
  }

  .slide-nav-desktop-pre1 {
    display: none;
  }

  .slide-nav-mobile-pre1 {
    display: flex;
    position: absolute;
    top: 27%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 3;
    width: 100%;
    pointer-events: none;
    /* allows clicks to pass through gaps */
  }

  .slide-nav-mobile-pre1 .nav-btn-pre1 {
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    /* re-enable clicks on buttons */
  }

  .nav-btn-pre1 {
    background-color: rgba(0, 0, 0, 0.5);
  }
}




/* ---------------------------projects gallery-------------------------- */

/* ---------------------------slider styles-------------------------- */
.slider-container-gallery {
  width: 100%;
  margin: 0 0px 58px 0px;

}

.image-slider-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.image-slider-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.arrow-gallery {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.arrow-gallery.left-gallery {
  left: 10px;
}

.arrow-gallery.right-gallery {
  right: 10px;
}

.counter-gallery {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.text-content-gallery {
  margin-top: 20px;
  animation: fadeIn 0.5s ease-in-out;
}

.text-content-gallery h2 {
  text-align: center;
  font-size: 24px;
  font-weight: normal;
  text-transform: uppercase;
  font-family: "Avenir-Next-LT", sans-serif;
  margin-bottom: 1rem;
}

.text-content-gallery h3 {
  font-size: 18px;
  margin-top: 15px;
  text-align: left;
  padding: 5px 20px;
  font-weight: normal;
  text-transform: uppercase;
  font-family: "Avenir-Next-LT", sans-serif;
}

.text-content-gallery p {
  text-align: left;
  margin: 10px 0;
  padding: 5px 20px;
  color: #0c0b0b;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: normal;
  font-family: "Avenir-Next-LT", sans-serif;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .text-content-gallery h2 {
    font-size: 20px;
  }

  .text-content-gallery h3 {
    font-size: 16px;
  }
}





/* home---gallery-------style */

.slider-gal {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.slide-image-gal {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 769px) {
  .slide-image-gal {
    height: auto;
    object-fit: cover;
  }
}

.content-box-gal {
  position: relative;
  max-width: 600px;
  margin: -5rem 2rem 2rem auto;
  background: white;
  color: rgba(0, 0, 0, 0.6);
  z-index: 2;
  align-items: flex-start;
  padding: 50px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-nav-desktop-gal {
  display: flex;
  position: absolute;
  bottom: 286px;
  right: 50px;
  gap: 10px;
  align-items: center;
  z-index: 3;
}

.slide-nav-mobile-gal {
  display: none;
}

.nav-btn-gal {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: rgb(18, 17, 17);
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-btn-gal:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.slide-counter-gal {
  font-size: 0.9rem;
}

.content-box-gal h1 {
  font-size: 24px;
  margin-bottom: 1rem;
  font-family: "Avenir-Next-LT", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
}

.content-box-gal p {
  font-size: 16px;
  margin-bottom: 1rem;
  font-family: "Avenir-Next-LT", sans-serif;
  margin: 10px 0;
  line-height: 1.25;
}

.cta-button-gal {
  display: inline-block;
  background-color: #958a76;
  border: 1px solid #958a76;
  padding: 12px 41px;
  color: #fff;
  font-family: "Proxima-Nova", sans-serif;
  font-size: 16px;
  border-radius: 1.5em;
  letter-spacing: .4px;
  transition: all 0.1s linear;
  text-align: center;
  text-transform: capitalize;
  font-weight: 600;
  margin: 10px 0;
  text-decoration: none;
}

@media (max-width: 768px) {
  .content-box-gal {
    /* margin-top: 0rem; */
    background: none;
    color: black;
    text-align: left;
    position: relative;
    max-width: 600px;
    margin: 0rem 0rem 0rem;
    background: white;
    color: rgba(0, 0, 0, 0.6);
    z-index: 2;
    align-items: flex-start;
    padding: 20px 20px 15px;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
  }

  .slider-gal {
    display: flex;
    flex-direction: column;
  }

  .slide-image-gal {
    order: 1;
  }

  .content-box-gal {
    order: 2;
  }

  .slide-nav-desktop-gal {
    display: none;
  }

  .slide-nav-mobile-gal {
    display: flex;
    position: absolute;
    top: 27%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 3;
    width: 100%;
    pointer-events: none;
  }

  .slide-nav-mobile-gal .nav-btn-gal {
    /* background-color: rgba(0, 0, 0, 0); */
    pointer-events: auto;
  }

  .nav-btn-gal {
    background-color: rgb(255 255 255 / 50%);
  }
}