.intro {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 2rem;
  padding-bottom: 2rem;
}

.intro__left {
  width: 45%;
  padding-top: 2rem;
}

.intro__left img {
  width: 100%;
  height: 27.5rem;
  object-fit: contain;
}

.intro__right {
  width: 55%;
}

.intro__right h1 {
  padding-top: 2rem;
  font-size: 2.5rem;
  line-height: 3rem;
}

.intro__right .subtitle {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: rgb(14, 75, 57);
}

.vision {
  width: 100%;
  padding: 4rem 0;
  display: flex;
  align-items: stretch;
  justify-content: start;
  gap: 2rem;
}

.vision .card {
  width: calc(100% / 3);
  background-color: #ffffff;
  border: 1px solid #d3d3d3;
  border-top: 2px solid var(--primary-color);
  padding: 1.2rem;
}

.vision .card .head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vision .card .head img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.vision .card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.team {
  padding: 4rem 0;
  padding-bottom: 6rem;
}

.team .header {
  max-width: 800px;
  margin-bottom: 3rem;
}

.team .header .tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

/* Carousel Container */
.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  position: relative;
}

/* Carousel Wrapper */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

/* Carousel Track */
.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* Team Member Card */
.team-member-card {
  min-width: calc(100% / 3 - 1.125rem);
  flex: 0 0 calc(100% / 3 - 1.125rem);
  background: #ffffff;
  border: 1px solid #d3d3d3;
  border-top: 2px solid var(--primary-color);
  padding: 1rem;
  transition: border-color 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-member-card:hover {
  border-color: var(--primary-color);
}

.member-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.team-member-card h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.4;
}

.team-member-card .top {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.team-member-card .top .avatar {
  flex-shrink: 0;
}

.team-member-card .top .avatar img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.team-member-card .top .poste {
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.8rem;
  color: gray;
  line-height: 1rem;
}

.team-member-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  flex: 1;
}

/* Bio Container */
.bio-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.member-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  transition:
    max-height 0.4s ease-out,
    overflow 0.4s ease-out;
}

.member-bio.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 6.4em;
}

.member-bio.expanded {
  display: block;
  max-height: none;
}

/* Read More Button */
.read-more-btn {
  align-self: flex-start;
  color: var(--primary-color);
  background-color: transparent;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
}

.read-more-btn:active {
  transform: translateX(0);
}

/* Carousel Arrows */
.carousel-arrow {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: white;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.carousel-arrow:hover {
  background: #2b8cca;
  border-color: #2b8cca;
}

.carousel-arrow:active {
  background: #1a78b8;
}

.carousel-arrow:disabled {
  background: #e0e0e0;
  border-color: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  background: #d0d0d0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.indicator-dot:hover {
  background: #999;
}

.indicator-dot.active {
  background: var(--primary-color);
  width: 28px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .team-member-card {
    min-width: calc(100% / 3 - 1rem);
    flex: 0 0 calc(100% / 3 - 1rem);
  }
}

@media (max-width: 900px) {
  .intro {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }

  .intro__left,
  .intro__right {
    width: 100%;
  }

  .intro__left img {
    height: 20rem;
    object-fit: cover;
  }

  .intro__right h1 {
    font-size: 2rem;
    line-height: 2.4rem;
  }

  .vision {
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem 0;
  }

  .vision .card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .intro__right h1 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }

  .team {
    padding: 2.5rem 0 4rem;
  }

  .team .header {
    margin-bottom: 2rem;
  }

  .team .header h2 {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }

  .carousel-container {
    gap: 1rem;
  }

  .team-member-card {
    min-width: calc(100% / 2 - 0.75rem);
    flex: 0 0 calc(100% / 2 - 0.75rem);
    padding: 1rem;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .team-member-card h3 {
    font-size: 1rem;
  }

  .team-member-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 540px) {
  .intro__right h1 {
    font-size: 1.5rem;
    line-height: 2rem;
    padding-top: 0;
  }

  .intro__right .subtitle {
    font-size: 0.95rem;
  }

  .vision {
    padding: 2rem 0;
  }

  .carousel-container {
    gap: 0.5rem;
  }

  .team-member-card {
    min-width: 100%;
    flex: 0 0 100%;
    padding: 1rem;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }
}
