/* ------------------------------------------------------------ */
/* TEAM MEMBER IMAGE                                             */
/* ------------------------------------------------------------ */
.team-member-img {
  width: 90%; /* Reduced width */
  max-width: 200px; /* Optional: set a max-width if needed */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto; /* Center the image */
}

/* ------------------------------------------------------------ */
/* LOGO CAROUSEL — SCOPED FIXES (ONLY AFFECTS CLIENT LOGOS)     */
/* ------------------------------------------------------------ */

/* Increase logo size inside the clients carousel */
.carousel-center-active-item .owl-item img {
  transform: scale(2);
  transform-origin: center center;
  transition: transform 0.3s ease;
  max-height: 90px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  image-rendering: auto;
}

/* Prevent clipping by increasing item container height */
.carousel-center-active-item .owl-item {
  padding: 10px 0;
}

/* Increase spacing between carousel items */
.carousel-center-active-item .owl-item > div {
  padding: 15px 65px !important;
}

/* Add vertical space to prevent clipping */
.carousel-center-active-item .owl-item {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Add outer padding */
.carousel-center-active-item .owl-stage-outer {
  padding: 10px 30px;
}

/* ------------------------------------------------------------ */
/* CASCADING IMAGES FIX (MEETING + DISCUSSION IMAGES)           */
/* ------------------------------------------------------------ */

/* Remove invalid mask-image references */
.custom-mask-img-2,
.custom-mask-img-3 {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* Ensure cascading images appear above abstract background */
.custom-cascading-images-wrapper-1 {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.custom-cascading-images-wrapper-1 .cascading-images {
  position: relative;
  pointer-events: auto;
  overflow: visible;
}

.custom-cascading-images-wrapper-1 .custom-mask-img {
  overflow: visible;
  display: block;
}

/* ------------------------------------------------------------ */
/* SERVICE ITEM                                                 */
/* ------------------------------------------------------------ */
.service-item {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 5px;
}

.service-item:hover {
    background-color: #f8f9fa;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Social Icons Hover Effect */
.social-icons li:hover.social-icons-linkedin a {
    background: transparent !important;
    color: var(--primary) !important; /* Change icon color to primary on hover */
}

.social-icons li:hover.social-icons-email a {
    background: transparent !important;
    color: var(--primary) !important; /* Change icon color to primary on hover */
}

#services-img {
    max-width: 80px;
}

/* ------------------------------------------------------------ */
/* CUSTOM FIXED HEIGHT CARD                                     */
/* ------------------------------------------------------------ */
.custom-fixed-height-card {
    min-height: 250px; /* Adjust this value as needed to fit the longest content */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-fixed-height-card .thumb-info-content-inner {
    flex-grow: 1;
}
