body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;


  justify-content: center;
  padding-top: 50px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  padding: 20px;
}

.image-box {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.image-box img {
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s;
}

.image-box img:hover {
  transform: scale(1.05);
}

.image-box p {
  padding: 10px;
  margin: 0;
  font-size: 16px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 4px;
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


/* Header container */
header {
  text-align: center;
}

/* Animated heading */
.animated-heading {
  font-size: 2rem;
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(270deg, #ff6ec4, #7873f5, #4ADEDE, #ff6ec4);
  background-size: 600% 600%;
  border: 4px solid transparent;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  animation: backgroundFlow 8s ease infinite;
  transition: transform 0.3s ease;
}

/* Border animation with pseudo-element */
.animated-heading::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #4ADEDE, #ff6ec4);
  background-size: 300% 300%;
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transform: scale(0.8);
  animation: borderFlow 6s linear infinite;
  transition: all 0.6s ease;
}

/* Triggered animation class */
.animated-heading.animate::before {
  opacity: 1;
  transform: scale(1);
}

/* Background movement animation */
@keyframes backgroundFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Border flow animation */
@keyframes borderFlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/*+++++++++++++++++++++++++++++++++++Button=++++++++++++++++++++++++++++++++++*/
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 5px;
}

#myBtn:hover {
  background-color: #555;
}

/* Responsive styles */
@media (max-width: 768px) {
  .animated-heading {
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
  }

  #toTopBtn {
  position: fixed;
  display: none; /* Hidden by default */
}
.whatsapp-float {
  position: fixed;
  display: flex;
  left:0px;
  bottom:0px;
  right:auto;

}
}

@media (max-width: 480px) {
  .animated-heading {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

   #toTopBtn {
  position: fixed;
  display: none; /* Hidden by default */
}
 .whatsapp-float {
  position: fixed;
  display: flex;
  left:0px;
  bottom:0px;
  right:auto;

}
}