/*
 Theme Name:   Afyabora Child Theme
 Theme URI:    https://yourwebsite.com/
 Description:  Child theme for the Kadence theme
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     kadence
 Version:      1.0.0
*/

/* Import parent theme styles */
@import url("../kadence/style.css");

.staff {
  width: 100%;
  height: 450px;
  display: block;
  padding: 25px;
  border: 1px solid whitesmoke;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (max-width: 767.98px) {
  .staff {
    margin-bottom: 30px;
  }
}
.staff .info {
  width: 100%;
}
.staff .info h3 {
  font-size: 18px;
}
.staff .info h3 a {
  color: #000;
}
.staff .info span.position {
  display: block;
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 400;
  color: #2f89fc;
}
.staff .img {
  width: 100%;
  height: 280px;
  margin: 0 auto;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.staff .text .ftco-social {
  padding: 0;
}
.staff .text .ftco-social li {
  list-style: none;
  display: inline-block;
  margin: 0 5px;
}
.staff:focus {
  -webkit-box-shadow: 0px 3px 66px -24px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 3px 66px -24px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 3px 66px -24px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .block-3 {
    margin-bottom: 7em;
  }
}

.services-slider-image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.services-slider-image:hover {
  transform: scale(1.03);
}

.carousel-services .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  pointer-events: none;
}

.carousel-services .owl-nav button.owl-prev,
.carousel-services .owl-nav button.owl-next {
  position: absolute;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 40px;
  color: #ccc;
  pointer-events: all;
  transition: all 0.3s ease;
  opacity: 0;
}

.carousel-services .owl-nav button.owl-prev {
  left: 10px;
}

.carousel-services .owl-nav button.owl-next {
  right: 10px;
}

.carousel-services:hover .owl-nav button.owl-prev,
.carousel-services:hover .owl-nav button.owl-next {
  opacity: 1;
  color: #1bd0ca;
}

.carousel-services .owl-dots {
  text-align: center;
  margin-top: 20px;
  display: block !important;
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.carousel-services .owl-dot {
  width: 10px;
  height: 10px;
  margin: 5px;
  transform: rotate(45deg);
  border: 1px solid #ccc;
  display: inline-block;
  transition: all 0.3s ease;
}

.carousel-services .owl-dot.active,
.carousel-services .owl-dot:hover {
  background: #1bd0ca;
  border-color: #1bd0ca;
}

/* === Services Image Styling === */
.services-slider-image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.services-slider-image:hover {
  transform: scale(1.03);
}

/* Optional: Better spacing below each item */
.carousel-services .staff {
  padding: 10px;
}
.info.text-center {
  margin-top: 10px;
}

.services-slider-btn {
  background-color: #1bd0ca;
  border: none;
}

.about-wrap .list-services .icon:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 60px;
  height: 60px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: -1;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.about-wrap .list-services .icon span {
  color: #fff;
  font-size: 30px;
}
.about-wrap .list-services .text {
  width: calc(100% - 60px);
  padding-left: 40px;
}
.about-wrap .list-services .text h3 {
  font-size: 20px;
  color: #fff;
}
.about-wrap .list-services:hover .icon:after,
.about-wrap .list-services:focus .icon:after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

/* pricing plans */

.pricing-entry {
  border: 1px solid #f0f0f0;
  position: relative;
  transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
  .pricing-entry {
    margin-bottom: 4em;
  }
}

.pricing-entry > div {
  padding: 20px;
}

.pricing-entry > div p {
  margin-bottom: 0;
}

.pricing-entry h3 {
  font-size: 14px;
  text-transform: uppercase;
}

.pricing-entry p .price {
  font-weight: 400;
  font-size: 26px;
  color: #1bd0ca;
}

.pricing-entry p .per {
  font-size: 12px;
}

.pricing-entry ul {
  margin: 0;
  padding: 0;
}

.pricing-entry ul li {
  list-style: none;
  padding: 10px 20px;
}

.pricing-entry ul li:nth-child(odd) {
  background: #fafafa;
}

.pricing-entry .button {
  position: absolute;
  bottom: -26px;
  left: 0;
  right: 0;
  margin-bottom: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.pricing-entry .button .btn {
  border-radius: 30px;
}

.pricing-entry .button .btn.btn-outline-primary {
  background: #fff;
  border: 1px solid #f0f0f0;
  color: #cccccc;
}

.pricing-entry .button .btn.btn-outline-primary:hover,
.pricing-entry .button .btn.btn-outline-primary:focus {
  background: #fff !important;
}

.pricing-entry:hover,
.pricing-entry:focus {
  border: 1px solid #1bd0ca;
}

.pricing-entry:hover .button,
.pricing-entry:focus .button {
  opacity: 1;
}

.pricing-entry:hover .button .btn.btn-outline-primary,
.pricing-entry:focus .button .btn.btn-outline-primary {
  background: #1bd0ca !important;
  border: 1px solid #1bd0ca !important;
  color: #fff;
}

/* testimonials */

.testimony-wrap {
  background: #fff;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.user-img {
  width: 100px;
  height: 100px;
  background-size: cover;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}
.quote {
  width: 40px;
  height: 40px;
  background: #1bd0ca;
  color: #fff;
  border-radius: 50%;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}
.text .name {
  font-weight: 600;
  font-size: 18px;
}
.position {
  font-size: 14px;
  color: #999;
}

.footer-widget-area{
  align-items: center;
}

.service-desc {
  margin: 10px 0 15px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* show up to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
