.hero-container .arrow {
  position: absolute;
  bottom: -10px; /* Moves the arrow 10px from the top of the container */
  right: 10px; /* Positions the arrow at the right end */
  transform: translateX(0); /* No need to translate horizontally when at the right end */
  animation: moveUpDown 2s infinite ease-in-out;
  width: 50px; /* Adjust width of the arrow */
  height: auto;
}

@keyframes moveUpDown {
  0%, 100% {
      transform: translate(-50%, 0); /* Start and end at the same position */
  }
  50% {
      transform: translate(-50%, 10px); /* Move down 10px at 50% of the animation */
  }
}
@media (max-width: 768px) {
  .hero-container .arrow {
    width: 40px; /* Reduce arrow size for smaller screens */
    right: 5px; /* Adjust right position for smaller screens */
   /* Adjust top position for smaller screens */
  }
}

@media (max-width: 576px) {
  .hero-container .arrow {
    width: 30px; /* Further reduce arrow size for extra small screens */
    right: 5px; /* Keep it close to the right edge on small screens */
     /* Adjust top position for extra small screens */
  }
}

/***************************************** take a peeks  *****************************************/
.takeapeek h2{
    font-family: "Lexend Deca";
    font-size: 32px;
    font-weight: 1000;
    color: #3F3F3F;
}
.takeapeek .beloved {
    font-family: "Lexend Deca";
    font-size: 32px;
    font-weight:1000;
    color: #3F3F3F;
}
.beloved span{
    font-family: "Lexend Deca";
    font-size: 32px;
    font-weight: "Bold";
    color: #22356F;
}
.galleryimg1{
  width: 100%;
}
@media (max-width: 576px) {
  .beloved {
    text-align: right;
  }
}


/* <!--************************************* filter **********************************************--> */
  
.filter-button {
    /* padding: 1em; */
    font-size: 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    display: inline-block;
    padding: 10px;
   
  }
  /* .gallery-text39{
    font-family: "Lexend Deca";
    font-size: 20px;
    font-style: "Regular";
    color: #FFFFFF;
    background: linear-gradient(to right, #2DB2C0 0%, #23A5C3 100%);
    border-radius: 4px;
    width: auto;
    height: auto;
  }
  .gallery-text39:hover{
    background: linear-gradient(to right, #2DB2C0 0%, #23A5C3 100%);
  } */
  /* .gallery-text39:active{
    background: linear-gradient(to right, #2DB2C0 0%, #23A5C3 100%);
  } */
  .filter-button:hover {
    background: linear-gradient(to right, #006570 0%, #90DCED 100%);
    color: white;
  }

  .filter-button.active {
    background: linear-gradient(to right, #2DB2C0 0%, #23A5C3 100%);
    color: white;
  }
  .scaffoldall{
    font-size: 20px;
    color: #000000;
    font-family: 'Lexend Deca', sans-serif;
    font-style: "Regular";
    border-style: solid;
    border-width: 2px;
    border-radius: 50% / 25%;
    justify-content: center;
    background-color: transparent;
    padding: 10px;
  }
  .scaffold {
    font-size: 20px;
    color: #000000;
    font-family: 'Lexend Deca', sans-serif;
    font-style: "Regular";
    border-style: solid;
    border-width: 2px;
    border-radius: 50px;
    justify-content: center;
    background-color: transparent;
}

  .button-container {
    text-align: center;
    
  }


  /* .filter-gallery {
    display: block;
  } */

  .image-container {
    margin-top: 1em;
    column-count: 4;
   
    column-gap: 10px;
  }

  .gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
  }

  @media (max-width: 768px) {
    .image-container {
      column-count: 1;
      
    }
  }

  .button1 {
    display: inline-block;
    padding: 0.5em 1.0em;
    border-radius: 4px;
    background: #ffffff;
    font-family: sans-serif;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #000000;
    margin: 10px;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    transition: background 0.3s;
  }

  .button1:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .button1:active,
  .button1.is-checked {
    background-color: rgba(0, 0, 0, 0.1);
    outline: none;
  }

  .button1-group {
    margin: 20px 0;
    text-align: center;
  }

  .button1-group:after {
    content: '';
    display: block;
    clear: both;
  }

  img {
    vertical-align: middle;
  }

  .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .grid article {
    background-color: #FFFFFF;
    display: block;
    float: left;
    margin: 1%;
    width: 23%;
  }

  #grid-container {
    display: flex;
    flex-wrap: wrap;
  }

  #grid-container article {
    flex: 1 1 calc(33.333% - 10px);
    margin: 5px;
    box-sizing: border-box;
  }

  .img-responsive {
    width: 100%;
    height: auto;
  }

  .is-checked {
    background-color: #ccc;
  }

  @media (max-width: 1024px) {
    .grid article {
      width: 31.3%;
    }
  }

  @media (max-width: 767px) {
    .grid article {
      width: 48%;
    }
  }

  @media (max-width: 479px) {
    .grid article {
      margin: 2% 0;
      width: 100%;
    }
  }
  .gallery-text-container {
    bottom: 0;
    left: 0;
    width: 100%;
  }
  
  .gallery-text1 {
    font-size: 1rem; /* Adjust as needed */
    font-weight: bold;
    color: orchid;
  }
  .gallery-text2 {
    font-size: 1rem; /* Adjust as needed */
    font-weight: bold;
    color: lightcoral;
  }
  
  .gallery-text3 {
    font-size: 1rem; /* Adjust as needed */
    font-weight: bold;
    color: darkturquoise;
  }
  
  
  .gallery-description {
    font-size: 0.875rem; /* Adjust as needed */
  }
  
  @media (max-width: 576px) {
    .gallery-text1 {
      font-size: 0.875rem; /* Smaller font size for smaller screens */
    }
  
    .gallery-description {
      font-size: 0.75rem; /* Smaller font size for smaller screens */
    }
  }
  
  /******************************************** webuild  *************************************************/
  
  .lottiedata{
    position: relative;
    margin-top: 5%;
    width: 20%;
    height: auto;
  }
  


/*=========================== Back to Top Button Styling ==========================*/

/* Back to Top Button */
#backToTop {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100; /* Make sure it is on top of other elements */
  cursor: pointer;
  border-radius: 50%;
  padding: 15px; /* Adjust padding for better spacing */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
  animation: smooth-move 3s ease-in-out infinite; /* Smooth up and down animation */
}

/* Styling for the Font Awesome arrow icon */
#backToTop i {
  font-size: 50px;
  color: #1E97C6; /* Arrow color */
  height: auto;
}

/* Show button when scrolled down */
body.scrolled #backToTop {
  display: block;
}

/* Smooth up and down animation keyframes */
@keyframes smooth-move {
  0%, 100% {
    transform: translateY(0); /* Starting and ending position */
  }
  50% {
    transform: translateY(-10px); /* Move up smoothly */
  }
}
