.custom-tabs {
  max-width: 1400px;
  margin: auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 20px;
  gap:0px;
}
@media(max-width:786px){
  .tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap:0px;
}
}

.tab-btn {
  background: none !important;
  border: none;
  padding: 15px 20px;
  margin: 0 5px;
  font-size: 16px;
  color: #666 !important;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  width: 240px;
}

.tab-btn i {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #666;
}

/* Default state */
.tab-btn {
  font-family: "Roboto", Helvetica, Arial, Lucida, sans-serif;
  font-size: 18px;
  color: #bec5cf !important;
  background: none !important;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  transition: color 0.3s ease;
}
.tab-btn h3 {
  font-family: "Roboto", Helvetica, Arial, Lucida, sans-serif;
  font-size: 18px;
  
}
/* Hover state */
.tab-btn:hover {
  color: #898e96 !important;
}

/* Active (clicked) state */
.tab-btn.active {
  color: #007bff !important;
  font-weight: 600;
}



.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
}

.tab-content {
  display: none;
  padding: 20px 0;
}

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

.tab-inner {
  display: flex;
  padding-top: 0px;
  gap: 60px;
  align-items: center;
  flex-wrap: nowrap;
  width:100%;
}

.tab-text {
  flex: 1;
}

.tab-text h3 {
  font-family: "Gilroy-Bold", Helvetica, Arial, "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
}

.tab-text p {
  font-family: "Gilroy-Regular", Helvetica, Arial, "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  color: #666;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 20px;
}

.tab-btn-link {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  padding: 12px 20px;
  background: #007bff;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.tab-btn-link:hover {
  background: #0056b3;
}

.tab-img {
  flex: 1;
  width:800px;
}

.tab-img img {
  max-width: 85%;
  border-radius: 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .tab-inner {
    flex-direction: column;   /* stack vertically */
    text-align: center;       /* center align text */
    gap: 20px;                /* spacing between text and image */
  }

  .tab-text {
    flex: unset;              /* let text take full width */
    width: 100%;
  }

  .tab-img {
    flex: unset;
    width: 100%;
  }

  .tab-img img {
    max-width: 100%;
    height: auto;
  }

}