.websima-introduce-section {
  padding: 60px 0;
  position: relative;
}

.websima-tabs-nav {
  margin-top: 40px;
  margin-bottom: 40px;
}

.websima-tabs-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 5px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.websima-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.websima-tab-btn {
  background-color: #f5f5f5;
  color: #333;
  border: none;
  border-radius: 30px;
  padding: 12px 35px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  flex: 0 0 auto;
  white-space: nowrap;
}
button.websima-tab-btn:hover {
    color: var(--color3);
    background: var(--color1);
}
.websima-tab-btn.active {
  background-color: #9e1c22;
  color: #ffffff;
  position: relative;
}

.websima-tab-btn.active::before {
  content: "";
  position: absolute;
  top: 49%;
  right: 0px;
  width: 8px;
  height: 2px;
  background-color: #ffffff;
}

.websima-tab-btn.active::after {
  content: "";
  position: absolute;
  top: 49%;
  width: 8px;
  height: 2px;
  background-color: #ffffff;
  left: 0;
}

.websima-tab-content-wrapper {
  position: relative;
  min-height: 400px;
}

.websima-tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.websima-tab-pane.active {
  display: block;
}

.websima-tab-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: right;
}

.websima-tab-text-box {
  flex: 1;
  color: #fff;
}

.websima-tab-text-box h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
}

.websima-tab-text-box p {
  font-size: 15px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 30px;
  text-align: justify;
}

.websima-tab-img-box {
  flex: 1;
}

.websima-tab-img-box img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  .websima-tabs-wrapper {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .websima-tab-grid {
    flex-direction: column-reverse;
  }

  .websima-tabs-wrapper {
    justify-content: flex-start;
    padding-left: 5px;
    padding-right: 5px;
  }
}
