.heading {
  display: flex;
  gap: 10px;
  padding-left: 93px;
  align-items: center;
  font-size: 70px;
  padding-top: 100px;
}

#our-team {
  max-height: 700px;
  display: flex;
  overflow-y: hidden;
  padding: 200px 93px;
  padding-top: 100px;
  gap: 40px;
}

#team-inf {
  max-height: 700px;

  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #222223;
  border-radius: 15px;
  z-index: 1;
  transition: opacity 0.5s ease;
  opacity: 1;
}

#team-inf.fade-out {
  opacity: 0;
}


.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.team-info-header {
    display: flex;
    gap: 40px;
}

#team-memb {
  max-height: 700px;
  flex: 1;
  overflow-y: auto;
    scrollbar-width: none;
  -ms-overflow-style: none; 
}

#team-memb::-webkit-scrollbar {
  display: none;
}

.member-card {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.member-card:hover {
  background-color: #2c2c2c;
}

.member-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  z-index: 2;
}

#team-inf img {
  width: 250px;
  height: 250px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

#team-inf h2 {
  font-size: 40px;
}

#team-inf h4 {
  color: #aaa;
  font-size: 30px;
}

#team-inf p {
    padding-top: 20px;
    font-size: 25px;
}

.member-card.active {
  background-color: #2a2a2a;
}

.category-title {
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 0;
}

.member-card strong {
    font-size: 35px;
}

.member-card span {
    font-size: 19px;
    color: #aaa;
}

#team-memb {
  flex: 1;
  overflow-y: auto;
  height: 750px; 
  scrollbar-width: none; 
  -ms-overflow-style: none;  
  padding-top: 30px;
}

#team-memb::-webkit-scrollbar {
  display: none; 
}

.content {
  padding-top: 100px;
}


@media (min-width: 1367px) and (max-width: 1600px) {
  #our-team {
    max-height: 1000px;
    height: 780px;
    padding: 120px 50px;
    padding-top: 0;
    gap: 24px;
  }

  #team-memb {
    height: 780px !important;
    max-height: 1000px;
  }
  .heading {padding-left: 50px; padding-top: 0;}
  #team-inf {max-height: 1000px;}
  .heading h1 {font-size: 100px;}
  .team-info-header { gap: 24px; }
  #team-inf img { width: 200px; height: 200px; }
  #team-inf h2 { font-size: 39px; }
  #team-inf h4 { font-size: 30px; }
  #team-inf p { font-size: 25px; }
  .category-title { font-size: 30px; }
  .member-card img { width: 90px; height: 90px; }
  .member-card strong { font-size: 25px; }
  .member-card span { font-size: 20px; }
}


@media (min-width: 1024px) and (max-width: 1366px) {
  #our-team {
    height: 650px;
    padding: 80px 20px;
    padding-top: 0;
    gap: 16px;
  }

  #team-memb {
    height: 650px !important;
  }
  .heading {padding-left: 20px; padding-top: 0;}
  .heading h1 {font-size: 100px;}
  .team-info-header { gap: 16px; }
  #team-inf img { width: 150px; height: 150px; }
  #team-inf h2 { font-size: 31px; }
  #team-inf h4 { font-size: 28px; }
  #team-inf p { font-size: 20px; }
  .category-title { font-size: 23px; }
  .member-card img { width: 80px; height: 80px; }
  .member-card strong { font-size: 25px; }
  .member-card span { font-size: 20px; }
}


@media (min-width: 768px) and (max-width: 1023px) {
  #our-team {
    height: 640px;
    padding: 0px 10px;
    gap: 10px;
    display: flex;
    justify-content: center;
  }
  #team-inf, #team-memb {
    width: 100%;
    min-width: 0;
    max-height: 1000px !important;
    padding: 10px;
  }
  .heading {padding-left: 20px; padding-top: 0;}
  .heading h1 {font-size: 80px;}
  .team-info-header { gap: 10px; }
  #team-memb {padding-top: 30px;}
  #team-inf img { width: 100px; height: 100px; }
  #team-inf h2 { font-size: 25px; }
  #team-inf h4 { font-size: 20px; }
  #team-inf p { font-size: 18px; }
  .category-title { font-size: 20px; }
  .member-card img { width: 70px; height: 70px; }
  .member-card strong { font-size: 20px; }
  .member-card span { font-size: 18px; }
}


@media (max-width: 767px) {
  #our-team {
    height: 970px;
    max-height: 100%;
    padding: 20px;
    gap: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  #team-inf, #team-memb {
    width: 100%;
    height: 550px;
    padding: 10px;
    min-width: 0;
    box-sizing: border-box;
  }
  .content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .member-card img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .member-card {
    min-width: 0;
    box-sizing: border-box;
  }
  .team-info-header { gap: 10px; }
  #team-inf img { width: 110px; height: 110px; }
  #team-inf h2 { font-size: 25px; }
  #team-inf h4 { font-size: 20px; }
  #team-inf p { font-size: 15px; }
  .category-title { font-size: 20px; }
  .member-card img { width: 50px; height: 50px; }
  .member-card strong { font-size: 20px; }
  .member-card span { font-size: 18px; }
  .heading h1 {font-size: 60px;}
  .heading {padding-left: 20px; padding-top: 0;}
}


@media (max-width: 480px) {
  #our-team {
    height: 970px;
    max-height: 100%;
    padding: 20px;
    gap: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  #team-inf, #team-memb {
    width: 100%;
    height: 550px;
    padding: 10px;
    min-width: 0;
    box-sizing: border-box;
  }
  .content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .member-card img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .member-card {
    min-width: 0;
    box-sizing: border-box;
  }
  .team-info-header { gap: 10px; }
  #team-inf img { width: 110px; height: 110px; }
  #team-inf h2 { font-size: 25px; }
  #team-inf h4 { font-size: 20px; }
  #team-inf p { font-size: 15px; }
  .category-title { font-size: 20px; }
  .member-card img { width: 50px; height: 50px; }
  .member-card strong { font-size: 20px; }
  .member-card span { font-size: 18px; }
  .heading h1 {font-size: 60px;}
  .heading {padding-left: 20px; padding-top: 0;}
}



@media (min-width: 2560px) {
  #our-team { height: 1100px; padding: 300px 300px; gap: 100px; padding-top: 100px; max-height: 1200px; padding-top: 0;}
  #team-memb { height: 1100px !important; max-height: 1200px;}
  #team-inf {max-height: 1200px;}
  .team-info-header { gap: 50px; }
  #team-inf img { width: 300px; height: 300px; }
  #team-inf h2 { font-size: 50px; }
  #team-inf h4 { font-size: 40px; }
  #team-inf p { font-size: 35px; }
  .category-title { font-size: 50px; }
  .member-card img { width: 150px; height: 150px; }
  .member-card strong { font-size: 40px; }
  .member-card span { font-size: 35px; }
  .heading h1 {font-size: 150px;}
}

@media (max-width: 320px) {
  .heading h1 {
    font-size: 50px;
  }
}

@media (max-width: 280px) {
    #team-inf p {
        font-size: 14px;
    }
}