.overview-tabs-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  font-family: 'Gilroy-Regular', sans-serif;
}

.tab-buttons {
  display: flex;
  justify-content: center;   /* center align */
  align-items: stretch;      /* equal height */
  gap: 12px;                 /* space between buttons */
  margin-bottom: 25px;
  flex-wrap: nowrap;         /* keep inline on desktop */
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.tab-button {
  flex: 1;                   /* equal width */
  text-align: center;
  padding: 12px 20px;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Gilroy-Bold', sans-serif;
  font-weight: 500;
  font-size: 18px;
  white-space: nowrap;       /* keep text in one line */
  box-sizing: border-box;
}

.tab-button.active,
.tab-button:hover {
  background: #002d72;
  color: #fff;
  border-color: #002d72;
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

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

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.tab-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
}

.tab-text h3 {
  font-family: 'Gilroy-Bold', sans-serif;
  font-size: 23px;
  color: #333;
  margin-bottom: 15px;
}

.tab-text p {
  font-family: 'Gilroy-Regular', sans-serif;
  font-size: 17px;
  color: #666;
  margin-bottom: 20px;
}

.tab-btn {
  display: inline-block;
  padding: 10px 15px;
  background: #002d72;
  color: #fff;
  font-family: 'Gilroy-Regular', sans-serif;
  font-size: 17px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
  width:270px;
}

.tab-btn:hover {
  background: #001a47;
}

@media (max-width: 768px) {
  .tab-grid {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    flex-wrap: wrap; /* stack on mobile */
  }

 .tab-button {
    flex: 100%; /* full width stacked */
  }
}