/* instagram widget styling */
.slider-wrapper {
  position: relative;
}

.custom-prev,
.custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  border: none;
  padding: 5px 8px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.custom-prev {
  left: -40px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.custom-next {
  right: -40px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.custom-prev:hover,
.custom-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.insta-image {
  width: 100%;
  height: 300px; /* Adjust based on your needs */
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.ig-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 90%;
  justify-content: center;
  align-items: center;
}

@media (max-width: 650px) {
  .custom-next {
    display: none;
  }
  .custom-prev {
    display: none;
  }
}

.question {
  color: red;
  font-size: 30px;
  text-decoration: bold;
}

/* Custom */
p strong,
.text-highlight {
  color: var(--highlight);
}

.text-primary-hover {
  color: var(--primary-hover);
}

.bg-highlight {
  background-color: var(--highlight);
}

section {
  padding: 4rem 0;
}

.object-fit-cover {
  object-fit: cover;
}

.btn {
  border-width: 2.5px;
}

/* Form */
.form-control {
  background-color: #fff7ef;
  border: var(--primary-hover) 2px solid;
  color: var(--dark);
}

/* Services */
.service-item:before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--primary);
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.5s;
}
.service-item:hover:before {
  border-color: var(--highlight);
}

.service-item .bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-item:hover .bg-img {
  opacity: 1;
}

.service-item .service-text {
  background: var(--light);
  transition: 0.5s;
  padding: 4rem 2.5rem;
}

.service-item:hover .service-text {
  background: rgba(0, 0, 0, 0.6);
}

.service-item * {
  transition: 0.8;
}

.service-item:hover * {
  color: #ffffff;
}

.service-item .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  border-radius: 50px;
  padding: 0 0 0 0;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.4s,
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-sizing: border-box;
}
.service-item .btn i {
  color: var(--dark);
  display: inline-block;
  margin-right: 0;
  transition: opacity 0.2s, margin 0.4s, width 0.4s;
  opacity: 1;
  width: 24px;
}
.service-item .btn span {
  color: var(--dark);
  opacity: 0;
  width: 0;
  margin-left: 0;
  overflow: hidden;
  transition: opacity 0.3s, width 0.3s, margin 0.3s;
  display: inline-block;
  vertical-align: middle;
}
.service-item:hover .btn {
  width: 140px;
  border-radius: 50px;
}
.service-item:hover .btn i {
  opacity: 0;
  width: 0;
  margin-right: 0;
  transition-delay: 0.15s;
}
.service-item:hover .btn span {
  opacity: 1;
  width: auto;
  transition-delay: 0.4s;
}
.icon-box {
  width: 40px; /* or 48px for fa-2x */
  text-align: center;
  flex-shrink: 0;
}

/* Contact */
@media screen and (max-width: 991px) {
  .contact-card {
    border: none !important;
  }
}
