/* Features Tabs Section */
.features-tabs-section {
  padding: 60px 0;
  background-color: #f9f4f1;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 15px;
  color: var(--dark-gray);
  font-weight: 600;
}

.section-header p {
  color: var(--medium-gray);
  max-width: 800px;
  margin: 0 auto;
}

/* Desktop Tabs Styling (Left Side) */
.tabs-sidebar {
  display: flex;
  flex-direction: column;
}

.tab-item {
  display: flex;
  align-items: baseline;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;

  transition: all 0.3s ease;
}

.tab-item:hover {
  background-color: #f0f0f0;
}

.tab-item.active {
  background-color: #ee3104;
}

.tab-icon {
  width: inherit;
  /* height: 40px; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border-radius: 50%;
  background-color: transparent;
}

.tab-icon i {
  color: #666;
  font-size: 18px;
}

.tab-item.active .tab-icon i {
  color: #fff;
}

.tab-text h5 {
  font-size: 16px;
  margin-bottom: 0;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.tab-item.active .tab-text h5 {
  color: #fff;
  font-weight: 600;
}

/* Mobile Tabs Slider (Top) */
.tabs-slider-container {
  position: relative;
  padding: 0 40px;
  margin-bottom: 30px;
}

.tabs-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  gap: 10px;
  padding: 10px 0;
}

.tabs-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.tabs-slider .tab-item {
  flex: 0 0 auto;
  width: 120px;
  flex-direction: column;
  text-align: center;
  padding: 15px 10px;
  align-items: center;
}
@media (max-width: 768px) {
  .tabs-slider .tab-item:not(.active) {
    background-color: #fff;
    box-shadow: var(--box-shadow);
  }
}

.tabs-slider .tab-icon {
  margin-right: 0;
  margin-bottom: 10px;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ddd;
  color: #ff3500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-nav-btn:hover {
  background-color: #ff3500;
  color: #fff;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* Tab Content Styling */
.tab-content-area {
  border-radius: 8px;
  padding: 30px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ff3500;
  font-weight: 600;
}

.tab-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--medium-gray);
  line-height: 1.6;
}

.tab-content ul {
  padding-left: 20px;
  margin-bottom: 30px;
  list-style-type: none;
}

.tab-content ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  color: var(--medium-gray);
}

.tab-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ff3500;
}

.tab-image {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .tab-content h3 {
    font-size: 22px;
  }

  .tab-content-area {
    padding: 8px;
  }
}

@media (max-width: 767px) {
  .features-tabs-section {
    padding: 60px 0;
  }

  .tab-content .row {
    flex-direction: column-reverse;
  }

  .tab-content .col-md-6:first-child {
    margin-top: 30px;
  }

  .tab-image {
    max-width: 100%;
    margin: 0 auto;
  }
}
