#masthead {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}
/* #################################### */
/* gallery start */

.eael-filter-gallery-container.eael-filter-gallery-grid{
	overflow:visible;
}

.gallery-item-caption-over {
    display: none;
}

.eael-gallery-grid-item {
     transition: all .9s ease;
}

.eael-gallery-grid-item:hover {
    transform: scale(1.02); 
   box-shadow: rgb(11, 37, 22) 0px 48px 100px 0px;
	background-color: #c09d79;
}



/* gallery end */
/*  ####################################*/
/*  Floating Animation */
@keyframes organicSway {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) translateX(4px) rotate(0.4deg);
    }
    66% {
        transform: translateY(-4px) translateX(-4px) rotate(-0.4deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
}

.float-element {
    animation: organicSway 7s ease-in-out infinite;
    will-change: transform;
}

/* 3. Optional: Pause the floating effect slightly when a user hovers over it */
.float-element:hover {
    animation-play-state: paused;
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

/* floating animation end */

/*  ####################################*/
/*  */
/* --- Container Setup --- */
.magic-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}

/* --- Animated Gradient Text + Float + Vibration --- */
.magic-stat-card .magic-stat-number {
  font-size: 4rem;
  font-weight: 800;
  
  /* UPDATED: Custom gradient featuring your #c09d79 color */
  background: linear-gradient(
    90deg, 
    #dfc2a4 0%, 
    #c09d79 25%, 
    #f3e7e2 50%, 
    #c09d79 75%, 
    #dfc2a4 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Combining Shimmer, Floating up-and-down, and subtle Vibration */
  animation: 
    textShine 4s linear infinite, 
    organicSway 7s ease-in-out infinite;
	 will-change: transform;
    
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 1. Continuous Moving Metallic Shimmer */
@keyframes textShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* 3. Micro-Vibration / Quiver Effect (Triggers on hover) */
@keyframes textVibrate {
  0% { transform: translate(0, 0) scale(1.1); }
  20% { transform: translate(-1px, 1px) scale(1.1); }
  40% { transform: translate(1px, -1px) scale(1.1); }
  60% { transform: translate(-1px, -1px) scale(1.1); }
  80% { transform: translate(1px, 1px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1.1); }
}

/* --- Subtitle ("Weddings served") Styling --- */
.magic-stat-card .magic-stat-label {
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #71717a;
  font-weight: 500;
  margin-top: 5px;
  transition: all 0.3s ease;
}

/* --- Hover Reactions --- */
.magic-stat-card:hover .magic-stat-number {
  animation: 
    textShine 1.5s linear infinite, 
    textVibrate 0.25s ease infinite;
}

.magic-stat-card:hover .magic-stat-label .elementor-heading-title,
.magic-stat-card:hover .magic-stat-label {
  color: #c09d79; /* Subtitle updates to match your custom color on hover */
  letter-spacing: 4px; 
}

/* badge animation */
/*  ####################################*/