.tabs-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.tabs {
  /* padding: 10px 20px 15px 20px;  */
}

.tab-links {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}

#tab-8 h5 {
  color: black;
  text-align: left;
  font-size: 20px;
  margin-bottom: 8px;
}

#tab-8 h6 {
  color: black;
  text-align: left;
  font-size: 16px;
  margin-bottom: 16px;
}

#tab-8 .card-text {
  color: #555;
  text-align: justify;
  font-size: 16px;
  font-weight: 400;
  margin-top: 0px;
  margin-bottom: 16px;
}

#tab-8 .btn {
  padding: 10px;
  border-radius: 50px;
  width: fit-content;
  background: linear-gradient(90deg, #fe4e44 0%, #9f0900 100%);
  display: flex;
  justify-self: start;
}

.tab-link {
  background: none !important;
  border: none;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 30px; /* Increased padding for spacing */
  color: #ccc;
  width: 100%;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  outline: none;
}

.tab-link.active,
.tab-link:hover {
  color: var(--web-hover); /* Gradient purple */
}

.tab-link i {
  margin-right: 10px;
}

.tab-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -1px;
  left: 50%;
  background: linear-gradient(45deg, #fd4e4e, #ff8d8d);
  transition: all 0.4s ease;
  outline: none;
}

.tab-link.active::after {
  width: 100%;
  outline: none;
  left: 0;
}

.tab-content {
  /* display: none; */
  animation: fadeInUp 0.5s ease;
  padding: 5px 0px 15px 0px;
}

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

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

/* Buttons */
.cta-btn {
  display: inline-block;
  padding: 12px 25px; /* More padding */
  background: linear-gradient(45deg, #b84de5, #7d41ff); /* Purple gradient */
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.4s ease;
  font-weight: 500;
  margin-top: 20px;
}

.cta-btn:hover {
  background: linear-gradient(
    45deg,
    #9c3bce,
    #6b3ee8
  ); /* Darker gradient on hover */
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px; /* Increased padding for inputs */
  margin-bottom: 15px;
  border: 1px solid #ddd;
  /* border-radius: 10px; */
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b84de5;
  outline: none;
}

/* FAQ List */
.faq-list {
  padding: 0;
  list-style: none;
}

.faq-list li {
  margin-bottom: 10px;
}

.faq-list li strong {
  font-weight: 600;
}

#tab-8 .insidecard {
  /* width: 24%; */
  /* border: 1px solid lightgrey; */
  /* box-shadow: 0px 0px 5px -1px rgba(0, 0, 0, 0.25); */
}

#tab-8 .insidestuff {
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
  #tab-8 .insidestuff {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  #tab-8 .insidecard {
    width: 100%;
  }
}

/* Responsive Design */
@media screen and (max-width: 600px) {
  .tab-links {
    flex-direction: column;
    align-items: center;
  }

  .tab-link {
    text-align: center;
    width: 100%;
    padding: 15px 0;
  }
}
