.cm-our-organizers-group .item {
  float: left;
  margin-bottom: 40px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  width: 20%;
}
.cm-our-organizers-group {
  display: flex;
  flex-wrap: wrap;
  margin-left:0;
  margin-right:0;
}
.cm-our-organizers-group .title {
  margin-bottom: 4px;
  color: #004141;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.cm-our-organizers-group .text {
  color: #1B1B19;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.team-pop {
  z-index: 8010;
  top: 0;
  left: 0;
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: rgb(0 0 0 / 73%);
  overflow: auto;
  overflow-y: scroll;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all .3s ease;
}

.fancy-wrap {
  z-index: 8030;
  width: 1047px;
  height: auto;
  position: absolute;
  top: 20px;
  left: 428px;
  opacity: 1;
  overflow: visible;
}

.fancybox-skin {
  position: relative;
  background: #f9f9f9;
  color: #444;
  text-shadow: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 10px 25px rgb(0 0 0 / 50%);
  -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  box-shadow: 0 10px 25px rgb(0 0 0 / 50%);
  max-width: 1000px;
  margin: auto;
  padding: 15px;
  width: auto;
  height: auto;
}

.fancybox-outer {
  max-width: 1000px;
  position: relative;
  overflow: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 30px);
}
.open-pop .team-pop {opacity: 1;pointer-events: all;visibility: visible;}
.fancy-wrap {
  left: 50%;
  width: 100%;
  max-width: 95%;
  top: auto;
  position: static;
}

.team-pop {
  height: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: auto;
}
.fancybox-inner {
  text-align: left;
}
.cm-our-organizers-group .item .img-wrap.pop-trig img {
  cursor: pointer;
}
a.fancybox-item.fancybox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 8040;
  background: url(https://19677218.fs1.hubspotusercontent-na1.net/hubfs/19677218/fancybox_sprite.png);
}
[dir="rtl"] .fancybox-inner {text-align: right;}
.item-inner {
  cursor: pointer;
}
span.dj_know_more.text_underline {
  font-weight: 700;
  color: #000;
  display: inline-block;
  font-size: 12px;
  text-transform: capitalize;
  padding-bottom: 3px;
  position: relative;
}

span.dj_know_more.text_underline:after {
  height: 1px;
  content: "";
  position: absolute;
  display: inline-block;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  background: #000;
}
.img-wrap img {
  border-radius: 100%;
  overflow: hidden;
  height: auto;
  max-width: 170px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.img-wrap {
  width: 170px;
  height: 170px;
  margin: 0 auto;
  position: relative;
  margin-bottom: 25px;
}
.img-wrap a {
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  top: auto;
}
.team-pop .fancybox-outer {
  position: static;
}
.team-pop .fancybox-outer .fancybox-inner {
  position: static;
}
.team-pop .fancybox-outer .fancybox-inner img {
  height: auto;
}

@media(max-width:1200px){
  .cm-our-organizers-group {
    margin-left: 0;
    margin-right: 0;
  }
  .cm-our-organizers-group .item {
    padding-left: 20px;
    padding-right: 20px;
    width:25%;
  }
}

@media(max-width:1024px){
  .cm-our-organizers-group .item {
    width: 33.333%;
  }
}

@media(max-width:767px){
  .cm-our-organizers-group .item {
    width: 50%;
    margin-bottom: 40px;
  }
  .cm-our-organizers-group .item:nth-child(2n) {
    margin-top: 0;
  }
  .cm-our-organizers-group {
    margin-left: -15px;
    margin-right: -15px;
  }
}
@media(max-width:440px){
  .img-wrap {
    height: 120px;
    width: 120px;
  }
  .cm-our-organizers-group .title {
    font-size: 16px;
  }
  .cm-our-organizers-group .text {
    font-size: 13px;
  }
  .cm-our-organizers-group .item {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* 
@media(max-width:479px){
  .cm-our-organizers-group .item {
    width:100%;
    margin-bottom: 40px;
  }
} */


/* Loading Animation */
.cm-our-organizers-group {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Item Hover Animation */
.item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* 
.item:hover {
  transform: translateY(-8px);
  z-index: 10;
}
 */
.item-inner {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Image Hover Effect */
.img-wrap {
  position: relative;
  border-radius: 8px;
}

.img-wrap img {
  transition: transform 0.5s ease, filter 0.3s ease;
  transform-origin: center;
}

/* .item:hover .img-wrap img {
  transform: scale(1.05);
  filter: brightness(1.05);
}
 */
/* SVG Icon Animation */
.img-wrap svg {
  bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2));
  opacity: 1;
  left: 0;
  right: 0;
  margin: 0px auto;
  position: absolute;
  transition: all .4s ease;
}
/* 
.item:hover .img-wrap svg {
  opacity: 1;
  transform: translateY(0);
  animation: pulse 2s infinite;
}
 */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Text Animation */
.title, .text {
  transition: transform 0.3s ease;
}
/* 
.item:hover .title {
  transform: translateX(5px);
  color: #00d2aa; /* Change to your brand color */
} */

/* .item:hover .text {
  transform: translateX(5px);
}
 */
/* Stagger animation for items */
.item {
  animation-delay: calc(var(--item-order) * 0.1s);
}