/* -------------------------------------------------animated---Hero Video Section  */
 
  
  /* Image/Video Styling */
  .welcome-video-startframe img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3/ 1; /* 3:1 aspect ratio */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #ffffff;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
  
  .scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fafafa00;
    z-index: 2;
  }
  
  .video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
  }
  
  .play-pause-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1px!important;
  }
  
  .play-pause-button:hover {
    background-color: #fafafa00;
    border: none;
    cursor: pointer;
    padding: 1px!important;
  } 





  .play-pause-button:focus {
    background-color: #00709500;
}
  .control-icon {
    width: 64px;
    height: 64px;
    fill: #fff;
  }
  
  .control-icon-circle {
    fill: rgba(213, 213, 213, 0.2);
  }
  
  .control-icon-pause, .control-icon-play {
    fill: #fff;
  }
  
  .control-icon-pause {
    display: block;
  }
  
  .control-icon-play {
    display: none;
  }
  
  .play-pause-button:hover .control-icon-circle {
    fill: #8b8b8b66;
}
  
  .play-pause-button:active .control-icon-circle {
    fill: rgba(211, 211, 211, 0.6);
  }
  
















.animated-card-container {
  position: relative;
  width: 100%;
  padding: 30px;
  background-color: #fafafa;
  overflow: hidden;
  background-image: url('pattern.jpg');
  background-attachment: fixed; /* Helps create a better parallax effect */
  background-size: cover;
  background-position: center;
}

.animated-card-container .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  z-index: 1;
}

.animated-card-container .card {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding: 20px;
  height: 100%;
  background-color: #f7f7f790;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform-origin: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(25px);
  text-decoration: none;
  will-change: transform, box-shadow;
  color: rgb(255, 255, 255);
}

.animated-card-container .card:hover {
  transform: translateZ(-20px) scale(0.95); /* Moves backward and shrinks */
  background-color: #f7f7f780;
  backdrop-filter: saturate(300%) blur(10px)
}

/* Change the icon color on hover */
.animated-card-container .card:hover .icon {
  color: white; /* Change icon color to white */
}



 


.animated-card-container .card p {
  line-height: 1.5;
  color: #444;
  margin-top: 1rem;
  text-align: center;
  opacity: 0.8;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background-color: #ffffff;
  border-radius: 15px;
}

.animated-card-container .card:hover p {
  transform: translateZ(10px); /* Moves slightly forward */
  opacity: 1;
}

.animated-card-container .animated-element {
  transition: all 0.6s ease-in-out;
}

.animated-card-container .card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}