.instagram_follow_btn {
  padding: 6px 20px;
  background-color: #681e77;
  color: white;
  height: fit-content;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  transition: all 0.4s;
  display: flex;
  gap: 6px;
  align-items: center;
  i {
    font-size: 20px;
  }
}
.instagram_follow_btn:hover {
  background-color: white;
  color: #681e77;
}
.social-section {
  padding: 30px 0 0 0;
  background-color: #f8f9fa;
}

.profile-info {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.count {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.follow-btn {
  background-color: #681e77;
  color: white;
  border: 1px solid #6e2a7e;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 16px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.follow-btn::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  z-index: -1;
  border-radius: 0 0 50% 50%;
  height: 0%;
  transition: all 0.6s;
  color: white;
}

.follow-btn:hover:before {
  height: 190%;
}
.follow-btn:hover {
  color: #681e77;
}

.follow-btn .fa-square-instagram {
  font-size: 20px;
}

@media (max-width: 576px) {
  #instagram .d-flex {
    flex-direction: row;
    text-align: center;
  }

  #instagram .gap-4 {
    gap: 10px !important;
  }

  #instagram .follow-btn {
    margin-top: 20px;
    display: block;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  #instagram .count {
    font-size: 18px;
  }
}

.instagram_widgets {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.instagram_widgets .slick-slide {
  margin: 0 3px;
 }
 .instagram_widgets .slick-list {
  margin: 0 -3px;
}

.widget_container {
  position: relative;
  .widget {
    width: 100%;
    height: 350px;
    object-fit: cover;
  }
}
.widget_background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  opacity: 0;
  transition: all 0.4s;
  cursor: pointer;
}

.widget_container:hover .widget_background {
  opacity: 1;
  color: white !important;
}

.widget_next {
  right: 0;
  top: 0;
  z-index: 999;
}
.instagram-section {
  position: relative;
}

/*  .instagram_widgets .widget_next {
   position: absolute;
   top: -40px;
   right: 0;
   z-index: 99999;
 }
 .instagram_widgets .widget_prev {
   position: absolute;
   top: -40px;
   left: 0;
   z-index: 99999;
 } */
.widget_next {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  transition: all 0.4s;
  cursor: pointer;
}
.widget_prev {
  position: absolute;
  top: 50%;
  left: 7px;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.4s;
}

.widget_next img {
  width: 70px;
  height: 70px;
}
.widget_prev img {
  width: 70px;
  height: 70px;
}
.widget_next:active {
  transform: translateY(-50%) scale(0.9);
}
.widget_prev:active {
  transform: translateY(-50%) scale(0.9);
}