/* Tabs Navigation */
.tabs-container {
  width: 80%;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Prevent overflow */
}

.tabs-nav {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

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

.tab {
  cursor: pointer;
  padding: 15px 20px;
  background-color: #fff;
  /* border: 1px solid #ddd; */
  flex: 1;
  text-align: center;
  font-size: 16px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  position: relative;
}

.tab:hover {
  background-color: #f1f1f1;
}

.tab.active {
  color: #fff;
  background-color: var(--primary-color);
  font-weight: bold;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--highlight-color);
}

.tabs-content {
  padding: 20px;
  border-top: 1px solid var(--secondary-color); /* Light border similar to the header */
  background-color: #f9f9f9;
  /* max-height: 500px; Added max-height */
  /* overflow-y: auto; Allows scrolling if content overflows */
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Layout for columns */
.fusion-builder-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.fusion-layout-column {
  flex: 1;
  min-width: 280px;
  max-width: 33.33%;
  padding: 10px;
}

/* Section Titles */
h4,
h5 {
  color: var(--primary-color);
}

h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

ul.fa-ul {
  list-style-type: none;
  padding-left: 0;
}

.fa-ul li {
  margin: 5px 0;
}

@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
  }

  .tab {
    width: 100%;
    margin-bottom: 5px;
  }

  .fusion-builder-row {
    flex-direction: column;
  }

  .fusion-layout-column {
    min-width: 100%;
    max-width: 100%;
  }

  .tabs-content {
    padding: 15px;
  }
}

/* Animation classes using AOS and animate.css */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-up"] {
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
