

/* Main Section Container */
.vision-mission-section {
  padding: 64px 20px 64px 20px;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.vision-mission-section-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  gap: 32px;
}

.vision-mission-container {
  position: relative;
  display: flex;
  overflow: hidden;
  gap: 40px;
}

.section-header-vision {
  font-weight: 600;
  font-size: 25px;
  line-height: 140%;
  letter-spacing: 0%;
  text-transform: uppercase;
  align-self: flex-start !important;
}

.card-vision-container {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 1200px;
}

.card-vision {
  background: #fff;
  overflow: hidden;
  display: flex;
  gap: 32px;
  width: 580px;
  flex-direction: column;
  justify-content: flex-start;
}

.card-vision img {
  width: 100%;
  height: 288px;
  object-fit: cover; 
  object-position: top;
  display: block;
  border-radius: 4px;
}

.card-vision hr {
  width: 100%;
  border: none;
  height: 1px;
  background-color: #CACBCC;  
}

.card-vision-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-vision h3 {
  font-weight: 600;
  font-style: Bold;
  font-size: 25px;
  line-height: 150%;
  letter-spacing: 0%;
}

.card-vision ul {
  padding-left: 1.4em;
  margin: 0;
  list-style: disc;
  list-style-position: outside;
}

.card-vision ul li {
  font-weight: 400;
  font-size: 19px;
  line-height: 180%;
  letter-spacing: 0.04rem;
  position: relative;
  text-indent: 0;
  color: #454545;
}

.company-value-section-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-header-value {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0%;
  line-height: 1.4;
  text-transform: uppercase;
  align-self: flex-start !important;
}

.rootslab-tabs {
  width: 100%; 
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tab-menu {
  display: flex;
  width: 100%;
  padding: 0;
  list-style: none;
}

.tab-menu .tab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  line-height: 180%;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border-right: 1px solid #CACBCC;
  background-color: #F2F3F5;
  color: #5B5B5C;
  padding: 20px;
  text-align: center;
}

.tab-menu .tab-item:last-child {
  border-right: none;
}

.tab-menu .tab-item.active {
  background: var(--primary-color);
  color: var(--background-primary, #FFFFFF);
  border-color: var(--primary-color);
}


.tab-content {
  display: none;
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tab-content .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.tab-content .text {
  position: relative;
  width: 100%;
  height: 600px;
  z-index: 2;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0%;
}

.tab-content .text p {
  margin: 0 auto;
  color: #FFFFFF
}

@media (max-width: 1439px) {
  .vision-mission-section {
    padding: 56px 0px 56px 0px;
    max-width: 896px;
    gap: 80px;
  }

  .vision-mission-section-container {
    max-width: 896px;
  }

  .section-header-vision {
    font-size: 21px;
    height: 29px;
  }

  .card-vision {
    gap: 32px;
    width: 428px;
  }

  .card-vision img {
    width: 100%;
    height: 212.52px;
    border-radius: 4px;
  }

  .section-header-value {
    font-size: 21px;
    height: 29px;
  }

  .tab-menu .tab-item {
    font-size: 16px;
    padding: 16px;
  }

  .tab-content {
    height: 448px;
  }

  .tab-content .text p {
    font-size: 24px;
  }

  .tab-content .text {
    height: 448px;
  }
}

@media (max-width: 1023px) {
  .vision-mission-section {
    padding: 56px 0px 56px 0px;
    max-width: 688px;
    gap: 80px;
  }

  .vision-mission-section-container {
    max-width: 688px;
  }

  .card-vision {
    gap: 32px;
  }

  .card-vision img {
    width: 100%;
    height: 160.88px;
    border-radius: 4px;
  }

  .section-header-value {
    font-size: 21px;
  }

  .company-value-section-container {
    gap: 20px;
  }

  .rootslab-tabs {
    gap: 20px;
  }

  .tab-menu .tab-item {
    font-size: 15px;
  }

  .tab-content {
    height: 344px;
  }

  .tab-content .text p {
    font-size: 20px;
  }

  .tab-content .text {
    height: 344px;
  }
}

@media (max-width: 767px) {
  .vision-mission-section {
    padding: 48px 0px 48px 0px;
    max-width: 343px;
    gap: 64px;
  }

  .section-header-value,
  .section-header-vision {
    font-size: 19px;
    font-weight: 600;
    height: 27px;
  }

  .card-vision h3 {
    font-size: 16px;
    font-weight: 600;
  }

  .card-vision-content {
    gap: 12px;
  }

  .card-vision ul {
    padding-left: 1em;
  }

  .card-vision ul li {
    font-size: 14px;
  }

  .vision-mission-section-container {
    max-width: 343px;
  }

  .vision-mission-container {
    flex-direction: column;
    gap: 40px;
  }

  .card-vision {
    gap: 20px;
    max-width: 343px;
  }

  .card-vision img {
    max-width: 343px;
    height: 170.32px;
  }

  .vision-mission-section-container,
  .vision-mission-container,
  .card-vision {
    height: auto;
  }

  .card-vision-content {
    height: auto;
    flex: 1 1 auto;
    align-items: flex-start;
    box-sizing: border-box;
  }

  .section-header-value {
    font-size: 19px;
  }

  .tab-menu .tab-item {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    padding: 8px 5px 8px 5px;
  }

  .tab-content {
    height: 171.5px;
  }

  .tab-content .text p {
    font-size: 18px;
  }

  .tab-content .text {
    height: 171.5px;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 180%;
    letter-spacing: 4%;
    text-align: center;
  }
}