/* ==========================================================================
   Inotek Team Section Integration
   ========================================================================== */

/*======= Section Title Area ============*/
.title-wrap {
  margin-bottom: calc(var(--section-title-space, 60px) - 33px);
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) {
  .title-wrap {
    --section-title-space: 60px;
  }
}
@media (max-width: 767px) {
  .title-wrap {
    --section-title-space: 55px;
  }
}
.title-wrap.two {
  margin-bottom: calc(var(--section-title-space, 60px) - 22px);
}
.title-wrap.two .sec-title {
  margin-bottom: 0;
}
.title-wrap.twoT {
  margin-bottom: calc(var(--section-title-space, 60px) - 42px);
}
.title-wrap.twoT .sec-title {
  margin-bottom: 10px;
}
.title-wrap.three {
  margin-bottom: calc(var(--section-title-space, 60px) - 20px);
}
.title-wrap.threeT {
  margin-bottom: calc(var(--section-title-space, 60px) - 34px);
}
.title-wrap.threeT .sec-title {
  margin-bottom: 13px;
}
.title-wrap .sub-title {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white-color, #fff);
  padding: 6px 28px;
  border-radius: 30px;
  background-color: var(--theme-color, #1053f3);
  position: relative;
  transform: rotate(-10deg);
  margin-bottom: 25px;
}
.title-wrap .sub-title-2 {
  display: inline-block;
  font-size: 16px;
  line-height: 26px;
  color: var(--theme-color, #1053f3);
  background: var(--bs-bg-color5, #f4f7ff);
  font-weight: 500;
  font-family: var(--title-font, 'Manrope', sans-serif);
  margin-bottom: 12px;
  border: 1px solid var(--theme-color, #1053f3);
  border-radius: 16px;
  padding: 2px 15px;
}
.title-wrap .sub-title-2 i {
  margin-right: 10px;
  font-size: 14px;
}
.title-wrap .sub-title-2.two {
  border: 1px solid var(--bs-border-color3, rgba(255, 255, 255, 0.1));
}

.sec-title {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  position: relative;
  margin-bottom: 20px;
}
@media (max-width: 1299px) {
  .sec-title {
    font-size: 38px;
  }
}
@media (max-width: 1280px) {
  .sec-title {
    font-size: 34px;
  }
}
@media (min-width: 992px) and (max-width: 1024px) {
  .sec-title {
    font-size: 30px;
  }
}
@media (max-width: 540px) {
  .sec-title {
    font-size: 30px;
    letter-spacing: normal;
  }
}
@media (max-width: 430px) {
  .sec-title {
    font-size: 28px;
  }
}
@media (max-width: 414px) {
  .sec-title {
    font-size: 24px;
  }
}
@media (max-width: 360px) {
  .sec-title {
    font-size: 22px;
  }
}

.sec-text {
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-color2, #6b6b6b);
  margin-bottom: 0;
}
@media (min-width: 992px) and (max-width: 1024px) {
  .sec-text br {
    display: none;
  }
}
@media (max-width: 575px) {
  .sec-text br {
    display: none;
  }
}

.white .sec-title,
.white .sec-text {
  color: var(--white-color, #fff);
}
.white .sec-text {
  opacity: 0.8;
}

/* ==========================================================================
   Team Classes
   ========================================================================== */
.tv-team-section {
  --theme-color: #1053f3;
  --white-color: #ffffff;
  --dark-color: #061153;
  --bs-bg-color10: #ffffff;
  --bs-border-color3: rgba(255, 255, 255, 0.1);
  --title-font: "Manrope", sans-serif;
  --body-font: "Noto Sans", sans-serif;
}

.tv-team-card, .tv-team-card.style-2 {
  border-radius: 30px;
  border: 1px solid var(--white-color, #fff);
  background: var(--bs-bg-color10, #fff);
  box-shadow: 0px 20px 25px rgba(215, 219, 231, 0.3);
  padding: 20px 20px 80px 20px;
  text-align: center;
  transition: all 0.4s ease 0s;
  position: relative;
}
.tv-team-card .svg-border {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  left: -3px;
  top: -3px;
  right: -3px;
  bottom: -3px;
}
.tv-team-card .svg-border svg {
  width: 100%;
  height: 100%;
  fill: none;
}
.tv-team-card .svg-border .rect1,
.tv-team-card .svg-border .rect2 {
  stroke: var(--theme-color, #1053f3);
  stroke-width: 0.3;
  stroke-dasharray: 400;
  transition: stroke-dashoffset 1.3s ease-in-out;
}
.tv-team-card .svg-border .rect1 {
  stroke-dashoffset: 400;
}
.tv-team-card .svg-border .rect2 {
  stroke-dashoffset: -400;
}
.tv-team-card .team-photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.tv-team-card .team-photo::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background-image: linear-gradient(0deg, rgb(15, 83, 243) 0%, rgb(15, 83, 243) 20%, rgba(15, 83, 243, 0) 50%, rgba(15, 83, 243, 0) 100%);
  opacity: 0;
  transition: all 0.4s ease 0s;
}
.tv-team-card .team-photo img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 20px;
}
.tv-team-card .team-social {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  display: flex;
  gap: 10px;
  opacity: 0;
  z-index: 2;
  transition: all 0.4s ease;
}
.tv-team-card .team-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  text-align: center;
  color: var(--white-color, #fff);
  border: 1px solid var(--bs-border-color3, rgba(255, 255, 255, 0.1));
  font-size: 16px;
  text-decoration: none;
}
.tv-team-card .team-social a:hover {
  background-color: var(--white-color, #fff);
  color: var(--theme-color, #1053f3);
}
.tv-team-card .team-info {
  background: #f7f9ff;
  z-index: 2;
  border-radius: 20px;
  position: absolute;
  padding: 30px 30px 0 30px;
  width: 68%;
  transform: translate(-50%, -50px);
  left: 50%;
}
.tv-team-card .team-info::before {
  position: absolute;
  left: -20px;
  bottom: 64px;
  content: "";
  height: 24px;
  width: 24px;
  /* background: url('data:image/svg+xml,<svg viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-11 h-11"><path d="M11 1.54972e-06L0 0L2.38419e-07 11C1.65973e-07 4.92487 4.92487 1.62217e-06 11 1.54972e-06Z" fill="%23f7f9ff"></path></svg>'); */
  transform: rotate(-180deg);
}
.tv-team-card .team-info::after {
  position: absolute;
  right: -20px;
  bottom: 64px;
  content: "";
  height: 24px;
  width: 24px;
  /* background: url('data:image/svg+xml,<svg viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-11 h-11"><path d="M11 1.54972e-06L0 0L2.38419e-07 11C1.65973e-07 4.92487 4.92487 1.62217e-06 11 1.54972e-06Z" fill="%23f7f9ff"></path></svg>'); */
  transform: rotate(-90deg);
}
.tv-team-card .team-info .info-inner .team-name {
  font-size: 24px;
  line-height: 34px;
  color: var(--dark-color, #061153);
  font-weight: 600;
  font-family: var(--title-font, 'Manrope', sans-serif);
  text-align: center;
  margin: 0;
}
.tv-team-card .team-info .info-inner .team-name a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 853px) {
  .tv-team-card .team-info .info-inner .team-name {
    font-size: 22px;
  }
}
@media (max-width: 575px) {
  .tv-team-card .team-info .info-inner .team-name {
    font-size: 24px;
  }
}
@media (max-width: 375px) {
  .tv-team-card .team-info .info-inner .team-name {
    font-size: 18px;
  }
}
.tv-team-card .team-info .info-inner .team-role {
  font-size: 16px;
  line-height: 26px;
  color: var(--theme-color, #1053f3);
  font-family: var(--body-font, 'Noto Sans', sans-serif);
  text-align: center;
  margin-top: 10px;
}
.tv-team-card:hover {
  border-color: transparent;
}
.tv-team-card:hover .team-social {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.tv-team-card:hover .svg-border .rect1,
.tv-team-card:hover .svg-border .rect2 {
  stroke-dashoffset: 0;
}
.tv-team-card:hover .team-photo::before {
  height: 100%;
  opacity: 1;
}

.tv-team-section .team-inner .team-btn-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  .tv-team-section .team-inner .team-btn-wrapper {
    margin-bottom: 30px;
  }
}
.tv-team-section .team-inner .team-social-wrapper .client-social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (min-width: 992px) and (max-width: 1024px) {
  .tv-team-section .team-inner .team-social-wrapper .client-social-proof {
    flex-direction: column;
    align-items: start;
  }
}
.tv-team-section .team-inner .team-social-wrapper .client-social-proof .social {
  display: flex;
  align-items: center;
}
.tv-team-section .team-inner .team-social-wrapper .client-social-proof .social img {
  display: flex;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-left: -25px;
  background-color: var(--dark-color3, #061153);
  border: 3px solid var(--white-color, #fff);
}
.tv-team-section .team-inner .team-social-wrapper .client-social-proof .social img:first-child {
  margin-left: 0px;
}
.tv-team-section .team-inner .team-social-wrapper .client-social-proof .social h4 {
  background: var(--theme-color, #1053f3);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: var(--white-color, #fff);
  flex-shrink: 0;
  margin: 0;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--white-color, #fff);
  margin-left: -25px;
}
.tv-team-section .team-inner .team-social-wrapper .client-social-proof .text {
  color: var(--white-color, #fff);
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  font-family: var(--title-font, 'Manrope', sans-serif);
}
.tv-team-section .team-inner .team-social-wrapper .scribble-shape i {
  display: inline-block;
  font-size: 70px;
  color: var(--theme-color, #1053f3);
  animation: scribble 2s infinite linear;
}

/* ==========================================================================
   Custom CSS Grid (Replacing Bootstrap)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}
