.tabs {
  display: flex;
  justify-content: center; /* Center-align the 4 tabs */
  gap: 12px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 24px;
  overflow-x: auto;
}

/* === Individual Tab Buttons === */
.tab-btn {
  position: relative;
  background: #fff;
  border: 1px solid #d0d0d0;
  padding: 12px 18px;
  font-weight: 500;
  font-size: 1rem;
  color: #666;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* === Green underline when user hovers on tab handle === */
.tab-btn::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 10%;
  width: 0;
  height: 2px;
  background: #1DB24C; /* Brand green */
  transition: width 0.3s ease;
}
.tab-btn:hover::after {
  width: 80%;
}

/* === Active tab state === */
.tab-btn.active {
  color: #1DB24C;
  font-weight: 600;
  background-color: #f9fafb;
  border-bottom: none; /* Remove bottom border so tab looks connected */
}

.table td:first-child {
  text-align: left;
}
.table td:nth-child(2),
.table td:nth-child(3),
.table th {
  text-align: right;
}

/* === Animated Underline for Highlighted Sentences === */
.highlight-line {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
}

/* The animated underline bar (draws from left to right) */
.highlight-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #1DB24C;
  transition: width 2s ease;
}

.highlight-line.reveal::after {
  width: 100%;
  background-color: #1DB24C;
}

.tab-content {
  background: linear-gradient(135deg, #e0f7ff, #f0faff); 
  /* Soft blue gradient for tab content only */
  /* background: #f9fafb; Light gray background for tab content */
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.tab-pane.position-relative {
  position: relative;
}

.learnmore-btn {
  position: absolute;
  left: 50%;
  bottom: 12px; /* adjust as needed */
  transform: translateX(-50%);
  z-index: 2;
}

@media (max-width: 576px) {
  .tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 0;
    align-items: stretch;
    justify-content: center;
    padding-bottom: 20px;
  }
  .tab-btn {
    width: 50%;
    min-width: unset;
    border-radius: 999px !important; /* Optional: pill style */
    margin: 0;
    text-align: center;
  }
  .highlight-line::after,
  .highlight-line.reveal::after {
    width: 0 !important;
    transition: none !important;
    background: none !important;
  }
  .us-vs-them-nmorcard{
  	height: 140px !important;

  }
}
.us-vs-them-nmorcard{
  	height: 120px;
		max-width: 90%;
		border-radius: 30px;
		justify-content: center;
}