/* ===============================
   UCDML ABOUT – Modern (No conflict)
   Prefix: ucdml-aboutx-
================================ */

.ucdml-aboutx{
  padding: 70px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6fffb 100%);
}

.ucdml-aboutx__wrap{
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.ucdml-aboutx__grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

/* Image card */
.ucdml-aboutx__media{
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

.ucdml-aboutx__img{
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
}

/* Right content */
.ucdml-aboutx__kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(30,198,198,0.10);
  border: 1px solid rgba(30,198,198,0.22);
  color: #003436;
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}

.ucdml-aboutx__title{
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: #003436;
  line-height: 1.15;
}

.ucdml-aboutx__text{
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #4b5f5f;
  text-align: justify;
  text-justify: inter-word;
}

/* Pills */
.ucdml-aboutx__pills{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ucdml-aboutx__pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0,52,54,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  color: #003436;
  font-weight: 650;
  font-size: 13.5px;
}

.ucdml-aboutx__pill i{
  color: #1ec6c6;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 991px){
  .ucdml-aboutx__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ucdml-aboutx__img{
    height: 320px;
  }
}

@media (max-width: 480px){
  .ucdml-aboutx{
    padding: 54px 0;
  }
  .ucdml-aboutx__img{
    height: 260px;
  }
}


.ucdml-aboutx__pills{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* mobile-এ সুন্দর break হবে */
}








/* ===============================
   TEAM CARD TEXT CENTER – FIX
   No HTML change required
================================ */

/* Full card center */
.single-team_item{
  text-align: center !important;
}

/* Content wrapper */
.single-team_item .team-content{
  width: 100%;
  text-align: center !important;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Name */
.single-team_item .team-content h3{
  text-align: center !important;
  margin: 0 0 6px;
}

/* Designation */
.single-team_item .team-content span{
  text-align: center !important;
  display: block;
  line-height: 1.6;
}

/* Image center (extra safety) */
.single-team_item .team_thumb{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}


/* ===============================
   COUNTER AREA – MOBILE FIX
================================ */

/* Section title fix */
.counter_area .section_title h1{
  line-height: 1.35;
  word-break: break-word;
}

/* Upper spacing */
.counter_upper{
  margin-bottom: 25px;
}

/* Mobile specific */
@media (max-width: 767px){

  .counter_area{
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .counter_area .section_title h1{
    font-size: 22px !important;   /* mobile friendly */
    text-align: center;
    margin-bottom: 15px;
  }

  .counter_upper .row{
    justify-content: center;
    text-align: center;
  }

}


/* ===============================
   TEAM CARD – HARD CENTER FIX
================================ */

/* পুরো card */
.single-team_item,
.single-team_item *{
  text-align: center !important;
}

/* content wrapper */
.single-team_item .team-content{
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Name */
.single-team_item .team-content h3{
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Designation */
.single-team_item .team-content span{
  width: 100% !important;
  text-align: center !important;
  display: block !important;
}

/* Image center */
.single-team_item .team_thumb{
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}


/* =====================================
   TEAM CARD – MOBILE HARD RESET
===================================== */

@media (max-width: 768px){

  /* Bootstrap column reset */
  .team_area .col-lg-4,
  .team_area .col-md-6{
    display: flex !important;
    justify-content: center !important;
  }

  /* Card full center */
  .team_area .single-team_item{
    width: 100% !important;
    text-align: center !important;
  }

  /* Force content center */
  .team_area .team-content{
    width: 100% !important;
    text-align: center !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Name */
  .team_area .team-content h3{
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto 6px !important;
  }

  /* Designation */
  .team_area .team-content span{
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Image center */
  .team_area .team_thumb{
    margin-left: auto !important;
    margin-right: auto !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}


