.fancy-btn {
      position: relative;
      padding: 16px 32px;
      border: 2px solid rgba(236, 93, 36, 1);
      font-size: 16px;
      font-weight: bold;
      color: rgba(236, 93, 36, 1);
      background: transparent;
      overflow: hidden;
      cursor: pointer;
      z-index: 1;
      background: white;
      /* height: 60px;
      width: 250px; */
    }

    .fancy-btn span {
      position: absolute;
      background: rgba(236, 93, 36, 1);
      transition: all 0.5s ease;
      z-index: -1;
  
    }

    /* Top Left Rectangle */
    .fancy-btn .rect1 {
      top: 0;
      left: 0;
      width: 50%;
      height: 50%;
      transform: translate(-100%, -100%);
    }

    /* Top Right Rectangle */
    .fancy-btn .rect2 {
      top: 0;
      right: 0;
      width: 50%;
      height: 50%;
      transform: translate(100%, -100%);
    }

    /* Bottom Left Rectangle */
    .fancy-btn .rect3 {
      bottom: 0;
      left: 0;
      width: 50%;
      height: 50%;
      transform: translate(-100%, 100%);
    }

    /* Bottom Right Rectangle */
    .fancy-btn .rect4 {
      bottom: 0;
      right: 0;
      width: 50%;
      height: 50%;
      transform: translate(100%, 100%);
    }

    /* Hover Effect: Animate into center */
    .fancy-btn:hover .rect1,
    .fancy-btn:hover .rect2,
    .fancy-btn:hover .rect3,
    .fancy-btn:hover .rect4 {
      transform: translate(0, 0);
    }

    .fancy-btn:hover {
      color: white;
    }

    /* orange button */

.fancy-btn1 {
  position: relative;
  padding: 16px 36px;
  border: 2px solid rgba(236,93,36,1);
  font-size: 16px;
  font-weight: bold;
  color: white;
  background: rgba(236,93,36,1);
  overflow: hidden;
  cursor: pointer;
  display: inline-block;
  z-index: 3 !important;
}

/* Keep text above animation */
.fancy-btn1 .btn-text{
  position: relative;
  z-index: 3 !important;
}

/* Animation rectangles */
.fancy-btn1 span[class^="rect"]{
  position: absolute;
  
  background: white;
  transition: transform 0.5s ease;
  z-index: 2;
}

/* Top Left */
.rect1{
  top:0;
  left:0;
  width:50%;
  height:50%;
  transform:translate(-100%,-100%);
}

/* Top Right */
.rect2{
  top:0;
  right:0;
  width:50%;
  height:50%;
  transform:translate(100%,-100%);
}

/* Bottom Left */
.rect3{
  bottom:0;
  left:0;
  width:50%;
  height:50%;
  transform:translate(-100%,100%);
}

/* Bottom Right */
.rect4{
  bottom:0;
  right:0;
  width:50%;
  height:50%;
  transform:translate(100%,100%);
}

/* Hover */
.fancy-btn1:hover .rect1,
.fancy-btn1:hover .rect2,
.fancy-btn1:hover .rect3,
.fancy-btn1:hover .rect4{
  transform:translate(0,0);
}

.fancy-btn1:hover{
  color:rgba(236,93,36,1) !important;
}
    .fancy-btn2{
       
        position: relative;
        background-color: rgba(236, 93, 36, 1);
        color: white;
         padding: 16px 32px;
      border: 2px solid rgba(236, 93, 36, 1);
      font-size: 16px;
      font-weight: bold;
      z-index: 100;
    }
     .fancy-btn2:hover{
        background-color: rgb(255, 255, 255);
        color: rgba(236, 93, 36, 1);
        transition: 0.5s;
    }


.our-g{
  margin-left: 20px;
}
    @media screen and (max-width: 768px) {
.fancy-btn1{
  margin-bottom: 12px;
  padding: 16px 24px;
   font-size: 16px;
   height: 56px;
      width: 100%;
      text-align: center;
      display: flex;
       justify-content: center;
}
.fancy-btn{
  font-size: 16px;
    padding: 16px 24px;
   height: 56px;
      width: 100%;
      text-align: center;
      display: flex;
      align-items: center;
       justify-content: center;
}
.our-g{
  margin-left: 0px;
}
}

