/* =============================================
   HERO — Split Card design (Mock 2)
   Left: light green gradient | Right: dark green tab panel
   ============================================= */

#hero {
  background: linear-gradient(135deg, #E8F2EC 0%, #f5fbf8 100%);
  border-bottom: 4px solid #fab317;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: 400px;
  align-items: stretch;
}

/* ── Left panel ─────────────────────────────── */
.hero-left {
  padding: 36px 36px 36px 24px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid #9FD4BE;
  position: relative;
  z-index: 1;
  gap: 12px;
}


.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #2A6E5A; border: 2px solid #fab317;
  font-size: 11px; font-weight: bold; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 16px;
  border-radius: 999px; align-self: flex-start;
}
.hero-pill span {
  width: 7px; height: 7px; background: #fab317;
  border-radius: 50%; display: inline-block;
}
#hero h1 { font-size: 38px; color: #0F3D2E; line-height: 1.2; margin: 0; }
#hero h1 strong { color: #2A6E5A; display: block; }
.hero-desc {
  font-size: 16px; color: #444; line-height: 1.65;
  max-width: 540px; margin: 0;
}
.hero-bullets {
  list-style: none; margin: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.hero-bullets li {
  font-size: 14px; color: #333;
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.5;
}
.hero-bullets li::before {
  content: '✔';
  color: #2A6E5A; font-size: 13px;
  flex-shrink: 0; margin-top: 1px;
}
.hero-ta {
  font-size: 15px; color: #2A6E5A;
  font-family: 'Latha','Nirmala UI',Arial,sans-serif;
  line-height: 1.75; margin: 0;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 18px; padding-top: 12px;
  border-top: 1px solid #d0e4d8; flex-wrap: wrap; margin: 0;
}
.ht-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #555; }
.ht-check {
  width: 20px; height: 20px; background: #E3F2EB;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 12px; color: #2A6E5A; flex-shrink: 0;
}

/* ── Hero Right — Dark Green Tab Panel ──────── */
.hero-right-tabs {
  background: #fff;
  border-left: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
}

/* Tab strip */
.tb-strip {
  display: flex;
  background: #FFF6DD;
  border-bottom: 3px solid #fab317;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.tb-strip::-webkit-scrollbar { display: none; }

.tb-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 10px 4px 7px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
  white-space: nowrap;
  line-height: 1.3;
}
.tb-tab-btn:hover  { color: #0F3D2E; background: rgba(250,179,23,0.15); }
.tb-tab-btn.active { color: #0F3D2E; border-bottom-color: #fab317; background: #fff; }
.tb-tab-btn:focus  { outline: 2px solid #fab317; outline-offset: -2px; }

.tb-en { font-size: 12px; font-weight: bold; letter-spacing: 0.5px; text-transform: uppercase; display: block; }
.tb-ta { font-size: 12px; font-family: 'Latha','Nirmala UI',Arial,sans-serif; color: #666; display: block; margin-top: 2px; }
.tb-tab-btn.active .tb-ta { color: #2A6E5A; }

/* Tab panels */
.tb-panel         { display: none; flex-direction: column; flex: 1; overflow: hidden; }
.tb-panel.active  { display: flex; }

.tb-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 13px 7px;
  border-bottom: 1px solid #E8F2EC;
  background: #F6FAF7;
  flex-shrink: 0;
}
.tb-panel-title { font-size: 12px; font-weight: bold; color: #2A6E5A; letter-spacing: 0.5px; text-transform: uppercase; }
.tb-view-all    { font-size: 12px; color: #2A6E5A; font-weight: bold; text-decoration: underline; }
.tb-view-all:hover { text-decoration: underline; }

/* Items list */
.tb-items {
  flex: 1; overflow-y: auto;
  background: #fff;
}
.tb-items::-webkit-scrollbar       { width: 3px; }
.tb-items::-webkit-scrollbar-thumb { background: #9FD4BE; border-radius: 2px; }

.tb-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 13px;
  border-bottom: 1px solid #E8F2EC;
  transition: background 0.15s;
}
.tb-item:hover      { background: #F6FAF7; }
.tb-item:last-child { border-bottom: none; }

/* Icon boxes */
.tb-ico {
  width: 34px; height: 34px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.ico-green { background: #E8F2EC; }
.ico-gold  { background: #FFF3D1; }
.ico-blue  { background: #E0EEF8; }
.ico-pink  { background: #FBE4E4; }

/* Item text */
.tb-info     { flex: 1; min-width: 0; }
.tb-name-ta  { font-size: 14px; font-weight: bold; color: #0F3D2E; line-height: 1.3; font-family: 'Latha','Nirmala UI',Arial,sans-serif; }
.tb-name-en  { font-size: 13px; color: #444; margin-top: 2px; line-height: 1.3; }
.tb-meta     { font-size: 13px; color: #666; margin-top: 2px; }

/* Badges */
.tb-badge {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: bold; letter-spacing: 0.3px;
  padding: 2px 7px; border-radius: 10px; flex-shrink: 0;
  margin-top: 2px; white-space: nowrap;
}
.tb-badge-active   { background: #E8F2EC; color: #1f5a47; border: 1px solid #9FD4BE; }
.tb-badge-upcoming { background: #FFF3D1; color: #6b4900; border: 1px solid #fab317; }
.tb-badge-new      { background: #FFF3D1; color: #6b4900; border: 1px solid #fab317; }

/* Panel footer */
.tb-footer {
  padding: 9px 13px;
  border-top: 1px solid #E8F2EC;
  background: #F6FAF7;
  text-align: center;
  flex-shrink: 0;
}
.tb-footer a { font-size: 12px; color: #2A6E5A; font-weight: bold; text-decoration: underline; }
.tb-footer a:hover { text-decoration: underline; }

/* ── Language Toggle ────────────────────────── */
.hero-ta { display: none; }
body.lang-ta .hero-ta { display: block; }

.tb-ta { display: none; }
body.lang-ta .tb-ta { display: block; }
body.lang-ta .tb-en { display: none; }

.tb-name-ta { display: none; }
body.lang-ta .tb-name-ta { display: block; }
body.lang-ta .tb-name-en { display: none; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 360px; }
}
@media (max-width: 768px) {
  .hero-grid       { grid-template-columns: 1fr; }
  .hero-left       { padding: 14px 16px 20px; border-right: none; gap: 8px; }
  .hero-left::after { display: none; }
  /* Compact so "Get Help Now" shows on the first phone screen */
  .hero-pill       { font-size: 11px; letter-spacing: 1px; padding: 5px 10px; }
  #hero h1         { font-size: 28px; line-height: 1.15; }
  .hero-desc       { font-size: 15px; line-height: 1.5; }
  .hero-bullets    { gap: 6px; }
  .hero-bullets li { line-height: 1.4; }
  .hero-btns       { flex-direction: column; }
  .hero-right-tabs { border-top: 3px solid #fab317; min-height: 320px; }
}

/* Start-here links in the hero card + empty-tab note */
a.sk-start-item { text-decoration: none; color: inherit; align-items: center; min-height: 60px; }
a.sk-start-item .tb-name-en { font-size: 15px; font-weight: bold; color: #0F3D2E; margin-top: 0; }
a.sk-start-item:hover .tb-name-en { color: #2A6E5A; text-decoration: underline; }
a.sk-start-item:focus-visible { outline: 3px solid #fab317; outline-offset: -3px; }
.tb-empty { padding: 18px 13px; margin: 0; color: #555; font-size: 14px; }

/* ── Hero side panel: soft tinted rows, pill tabs (matches the Get Help look) ── */
.hero-right-tabs { background: #F6FAF7; padding: 16px 16px 14px; border-left: 1px solid #DCEBE2; }
.tb-strip { background: none; border-bottom: 0; gap: 6px; padding: 0 0 12px; overflow-x: auto; }
.tb-tab-btn, .tb-tab-btn:hover, .tb-tab-btn:focus, .tb-tab-btn:active { flex: 1 0 auto; min-height: 44px; padding: 6px 12px; margin: 0; border: 1px solid #DCEBE2; border-radius: 99px; background: #fff; color: #0F3D2E; }
.tb-tab-btn:hover { background: #E8F2EC; border-color: #2A6E5A; }
.tb-tab-btn.active, .tb-tab-btn.active:hover, .tb-tab-btn.active:focus { background: #0F3D2E; border-color: #0F3D2E; color: #fff; }
.tb-tab-btn.active .tb-ta { color: #FDD05A; }
.tb-tab-btn:focus-visible { outline: 3px solid #fab317; outline-offset: 2px; }
.tb-en { font-size: 13px; letter-spacing: 0.6px; }
.tb-ta { font-size: 13px; color: #555; }
.tb-panel-header { background: none; border-bottom: 0; padding: 4px 2px 10px; }
.tb-panel-title { font-size: 14px; letter-spacing: 1.2px; color: #8A5F00; }
.tb-view-all { font-size: 14px; }
.tb-items { background: none; padding: 0; }
.tb-item { border: 1px solid #E3EEE7; border-bottom: 1px solid #E3EEE7; border-radius: 14px; margin: 0 0 10px; padding: 12px 14px; align-items: center; gap: 12px; transition: border-color .2s, box-shadow .2s; }
.tb-item:last-child { border-bottom: 1px solid #E3EEE7; }
.tb-item:nth-child(4n+1) { background: #EAF4EE; border-color: #BFE0CE; }
.tb-item:nth-child(4n+2) { background: #FFF6DD; border-color: #F2DC9E; }
.tb-item:nth-child(4n+3) { background: #E8F2FA; border-color: #BCD9EE; }
.tb-item:nth-child(4n+4) { background: #FDEDED; border-color: #F2C6C6; }
.tb-item:hover { border-color: #0F3D2E; box-shadow: 0 4px 14px rgba(15,61,46,0.10); }
.tb-ico, .ico-green, .ico-gold, .ico-blue, .ico-pink { width: 42px; height: 42px; border-radius: 50%; background: #fff; font-size: 20px; }
.tb-name-ta { font-size: 15px; }
.tb-name-en { font-size: 15px; font-weight: bold; color: #0F3D2E; margin-top: 0; }
.tb-meta { font-size: 13px; color: #444; margin-top: 3px; }
.tb-badge { font-size: 13px; padding: 3px 10px; background: #fff; }
.tb-badge-active { background: #fff; color: #1f5a47; border-color: #9FD4BE; }
.tb-badge-upcoming, .tb-badge-new { background: #fff; color: #6b4900; border-color: #fab317; }
.tb-footer { background: none; border-top: 0; padding: 4px 0 2px; }
.tb-footer a { font-size: 14px; }

/* all five tabs must fit without scrolling */
.tb-strip { gap: 4px; }
.tb-tab-btn, .tb-tab-btn:hover, .tb-tab-btn:focus, .tb-tab-btn:active { flex: 1 1 0; min-width: 0; padding: 6px 4px; }
.tb-en { letter-spacing: 0.2px; }

/* narrow panels: tabs keep their full text and the strip scrolls sideways */
@media (max-width: 1100px) {
  .tb-tab-btn, .tb-tab-btn:hover, .tb-tab-btn:focus, .tb-tab-btn:active { flex: 0 0 auto; padding: 6px 14px; }
}

/* ── Hero tab menu v2: clean underline tabs (no boxes, nothing can be clipped) ── */
.tb-strip { display: flex; justify-content: space-between; gap: 18px; padding: 0; margin: 0 0 14px; border-bottom: 1px solid #CFE3D8; overflow-x: auto; }
.tb-tab-btn, .tb-tab-btn:hover, .tb-tab-btn:focus, .tb-tab-btn:active,
.tb-tab-btn.active, .tb-tab-btn.active:hover, .tb-tab-btn.active:focus {
  flex: 0 0 auto; min-width: 0; min-height: 48px; padding: 8px 2px 10px; margin: 0 0 -1px;
  background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; box-shadow: none;
  color: #555;
}
.tb-tab-btn:hover { color: #0F3D2E; border-bottom-color: #9FD4BE; background: none; }
.tb-tab-btn.active, .tb-tab-btn.active:hover, .tb-tab-btn.active:focus { color: #0F3D2E; border-bottom-color: #fab317; background: none; }
.tb-tab-btn.active .tb-ta { color: #2A6E5A; }
.tb-tab-btn:focus-visible { outline: 3px solid #fab317; outline-offset: 2px; border-radius: 4px; }
.tb-en { font-size: 14px; letter-spacing: 0.6px; }
.tb-ta { font-size: 13px; }
@media (max-width: 1100px) {
  .tb-tab-btn, .tb-tab-btn:hover, .tb-tab-btn:focus, .tb-tab-btn:active { padding: 8px 2px 10px; }
}

/* all five tab names must be visible at once */
.tb-strip { gap: 8px; }
.tb-en { font-size: 13px; letter-spacing: 0.3px; }
