
.containers{
  width:100%;
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
}

.slider {
  height: 750px;
  cursor: pointer;
  width:100vw;
  display: flex;
  perspective: 1000px;
  position: relative;
  align-items:center;
}


.slider [class*="box"] {
/*   float: left; */
  overflow: hidden;
  border-radius:20px;
  transition: all 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position:absolute;
}
.slider [class*="box"]:nth-child(7),
.slider [class*="box"]:nth-child(1) {
  width: 100vh;
  height: 60vh;
  transform: scale(0.2) translate(-50%,-50%);
  top: 10%;
  z-index:1;
}
.slider [class*="box"]:nth-child(2),
.slider [class*="box"]:nth-child(6) {
  width: 100vh;
  height: 60vh;
  transform: scale(0.4) translate(-50%,-50%);
  top: 20%;
  z-index:2;
}
.slider [class*="box"]:nth-child(3),
.slider [class*="box"]:nth-child(5) {
  width: 100vh;
  height: 60vh;
  transform: scale(0.6) translate(-50%,-50%);
  top: 30%;
  z-index:3;
}
.slider [class*="box"]:nth-child(4) {
  width: 60vw;
  height: 60vh;
  border-color: #c92026;
  color: #fff;
  transform: scale(1) translate(-50%,-50%);
  top: 50%;
  z-index:4;
}
.slider [class*="box"]:nth-child(1){
  left:-13%;}
.slider [class*="box"]:nth-child(2){
  left:-5%;}
.slider [class*="box"]:nth-child(3){
  left:10%;}
.slider [class*="box"]:nth-child(4){
  left:50%;}
.slider [class*="box"]:nth-child(5){
  left:71%;}
.slider [class*="box"]:nth-child(6){
  left:85%;}
.slider [class*="box"]:nth-child(7){
  left:100%;}
.slider .firstSlide {
    -webkit-animation:  firstChild 1s;
    animation:  firstChild 1s;
}
/*Animation for buyers landing page slider*/
@-webkit-keyframes firstChild {
    0% {left:100%; transform: scale(0.2) translate(-50%,-50%);}
    100% {left: -13%; transform: scale(0.2) translate(-50%,-50%);}
}
@keyframes firstChild {
   0% {left:100%; transform: scale(0.2) translate(-50%,-50%);}
    100% {left: -13%; transform: scale(0.2) translate(-50%,-50%);}

  }
  .bxs{
    text-align: center !important;
  }
.bxs h1 {
  position: relative;
  font-size: 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: filter 0.8s ease; /* Smooth transition for blur effect */
  position: relative; /* Required for glassmorphism positioning */
  text-transform: capitalize;
}

.bxs h1 {
  position: relative;
  font-size: 50px;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  background: rgba(255, 255, 255, 0.2); /* Transparent white background */

  padding: 20px 40px; /* Space inside the box */
  backdrop-filter: blur(10px); /* Frosted glass effect */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Thin border */
  
  opacity: 0; /* Initially invisible */
  transition: opacity 0.8s ease, backdrop-filter 0.8s ease; /* Smooth fade-in for text and blur */
}

/* Hover effect: blur the background image and reveal the glassmorphism text */


.bxs:hover h1 {
  opacity: 1; /* Make the text fully visible */
}

/* backdrop-filter: blur(24px) brightness(110%);
 -webkit-backdrop-filter: blur(24px) brightness(110%);
 box-shadow: 0px 4px 4px #00000010, inset 0px -1px 1px #ffffff25, inset 0px 1px 1px #ffffff50;
 transition: all 0.5s ease-in-out; */


.serviceBox {
  position: relative;
  width: auto;
  height: 480px;
  background: rgba(185, 185, 185, 0.3); 
  backdrop-filter: blur(20px); 
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 20px;
  overflow: hidden;
}

 .serviceBox .icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--i);
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition-delay: 0.25s;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

 .serviceBox:hover .icon {
  top: 30px;
  left: calc(50% - 40px);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transition-delay: 0s;
}



 .serviceBox .content {
  position: relative;
  padding: 20px;
  color: #fff;
  text-align: center;
  margin-top: 120px;

  border-radius: 8px;
  z-index: 1;
  transform: scale(0);
  transition: 0.5s;
  transition-delay: 0s;
  background: rgba(255, 255, 255, 0.2) !important; /* Transparent white background */

  backdrop-filter: blur(10px) !important; /* Frosted glass effect */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important; /* Subtle shadow for depth */
  
}

 .serviceBox:hover .content {
  transform: scale(1);
  transition-delay: 0.25s;
}

.serviceBox .content h2 {
  font-size: normal !important; 
  margin-top: 10px;
  margin-bottom: 5px;
}

 .serviceBox .content p {
  font-weight: 300;
  line-height: 1.5em;
}




.bxs1{
  text-align: center !important;
}
.bxs1 h1 {
position: relative;
font-size: 50px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transition: filter 0.8s ease; /* Smooth transition for blur effect */
position: relative; /* Required for glassmorphism positioning */
text-transform: capitalize;
}

.bxs1 h1 {
position: relative;
font-size: 50px;
color: #fff;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);

background: rgba(255, 255, 255, 0.2); /* Transparent white background */

padding: 20px 40px; /* Space inside the box */
backdrop-filter: blur(10px); /* Frosted glass effect */
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
border: 1px solid rgba(255, 255, 255, 0.3); /* Thin border */

opacity: 1; /* Initially invisible */
transition: opacity 0.8s ease, backdrop-filter 0.8s ease; /* Smooth fade-in for text and blur */
}

/* Hover effect: blur the background image and reveal the glassmorphism text */


.bxs1:hover h1 {
opacity: 0; /* Make the text fully visible */
}