/* ============================================================
   THE BUSBY AGENCIES — Shared Stylesheet
   Globe Life Liberty National Division
   ============================================================ */

:root {
  --blue:       #1B5E9B;
  --blue-dark:  #134878;
  --blue-mid:   #EEF4FB;
  --green:      #3A7D44;
  --green-dark: #2D6135;
  --green-light:#EBF5ED;
  --charcoal:   #0D2A45;
  --gray:       #6B7280;
  --gray-light: #F7F8FA;
  --gray-mid:   #E5E7EB;
  --white:      #FFFFFF;
  --text:       #111827;
  --text-light: #4B5563;
  --shadow:     0 2px 16px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.10);
  --radius:     6px;
  --radius-lg:  12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  padding-top: 70px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
p { line-height: 1.75; }

/* ── Layout ── */
.container  { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 80px 0; }
.section--gray { background: var(--gray-light); }
.section--blue { background: var(--blue); }
.section--charcoal { background: var(--charcoal); }

/* ── Typography ── */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.eyebrow--white { color: rgba(255,255,255,0.65); }

h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--charcoal); margin-bottom: 18px;
}
.section--blue .section-title,
.section--charcoal .section-title { color: var(--white); }

.section-lead {
  font-size: 1.05rem; color: var(--text-light);
  max-width: 640px; margin-bottom: 52px; line-height: 1.8;
}
.section--blue .section-lead,
.section--charcoal .section-lead { color: rgba(255,255,255,0.78); }

.rule {
  width: 40px; height: 3px;
  background: var(--green); border-radius: 2px; margin-bottom: 20px;
}
.rule--white { background: rgba(255,255,255,0.35); }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 13px 30px;
  border-radius: var(--radius); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.02em;
  cursor: pointer; border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary  { background: var(--blue); color: #fff; }
.btn-primary:hover  { background: var(--blue-dark); }
.btn-green    { background: var(--green); color: #fff; }
.btn-green:hover    { background: var(--green-dark); }
.btn-outline  { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover  { background: #fff; color: var(--blue); }
.btn-outline-blue { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

/* ── Navigation ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  height: 70px;
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 70px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 7px 12px; border-radius: var(--radius);
  font-size: 0.83rem; font-weight: 600;
  color: var(--text-light); transition: all 0.18s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-mid); }
.nav-links a.active { color: var(--blue); }
.nav-cta {
  background: var(--green) !important; color: #fff !important;
  margin-left: 6px; white-space: nowrap;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* Social Icons — Nav (desktop) */
.nav-social {
  display: flex; align-items: center; gap: 10px; margin-left: 10px;
}
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  transition: opacity 0.2s, transform 0.2s;
  opacity: 0.85;
}
.nav-social a:hover { opacity: 1; transform: scale(1.12); }
.nav-social a[aria-label="Facebook"]    { background: #1877F2; color: #fff; }
.nav-social a[aria-label="Instagram"]   { background: #E4405F; color: #fff; }
.nav-social a[aria-label="LinkedIn"]    { background: #0A66C2; color: #fff; }
.nav-social a[aria-label="YouTube"]     { background: #FF0000; color: #fff; }
.nav-social svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 860px) { .nav-social { display: none; } }

/* Mobile social row — inside hamburger menu */
.nav-mobile-social {
  display: flex; gap: 14px; justify-content: center;
  padding: 16px 12px 6px; border-top: 1px solid var(--gray-mid); margin-top: 8px;
}
.nav-mobile-social a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  transition: opacity 0.2s, transform 0.2s; opacity: 0.9;
}
.nav-mobile-social a:hover { opacity: 1; transform: scale(1.1); }
.nav-mobile-social a[aria-label="Facebook"]  { background: #1877F2; color: #fff; }
.nav-mobile-social a[aria-label="Instagram"] { background: #E4405F; color: #fff; }
.nav-mobile-social a[aria-label="LinkedIn"]  { background: #0A66C2; color: #fff; }
.nav-mobile-social a[aria-label="YouTube"]   { background: #FF0000; color: #fff; }
.nav-mobile-social svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Social Icons — Footer */
.footer-social {
  display: flex; gap: 10px; margin-top: 14px;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  transition: opacity 0.2s, transform 0.2s; opacity: 0.85;
}
.footer-social a:hover { opacity: 1; transform: scale(1.1); }
.footer-social a[aria-label="Facebook"]  { background: #1877F2; color: #fff; }
.footer-social a[aria-label="Instagram"] { background: #E4405F; color: #fff; }
.footer-social a[aria-label="LinkedIn"]  { background: #0A66C2; color: #fff; }
.footer-social a[aria-label="YouTube"]   { background: #FF0000; color: #fff; }
.footer-social svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Hamburger */
.nav-ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-ham span { display: block; width: 24px; height: 2px; background: var(--blue); border-radius: 1px; }
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--gray-mid);
  padding: 12px 28px 20px; gap: 4px;
}
.nav-mobile a {
  display: block; padding: 10px 12px; border-radius: var(--radius);
  font-size: 0.92rem; font-weight: 600; color: var(--text);
}
.nav-mobile a:hover { color: var(--blue); background: var(--blue-mid); }
.nav-mobile a.nav-cta { color: #fff !important; background: var(--green); margin-top: 8px; }
.nav-mobile.open { display: flex; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-ham { display: flex; }
}

/* ── Cards ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px; transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray);
}
.card h3 {
  font-size: 1rem; color: var(--charcoal);
  margin-bottom: 10px; font-weight: 700;
}
.card p { font-size: 0.88rem; color: var(--text-light); }

/* ── Resource rows ── */
.resource-row {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; background: var(--white);
  border: 1px solid var(--gray-mid); border-radius: var(--radius);
  margin-bottom: 8px; transition: border-color 0.18s, box-shadow 0.18s;
}
.resource-row:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.resource-label { flex: 1; }
.resource-label strong { display: block; font-size: 0.92rem; color: var(--text); margin-bottom: 2px; }
.resource-label span { font-size: 0.8rem; color: var(--gray); }
.resource-tag {
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 11px; border-radius: 50px;
  background: var(--blue-mid); color: var(--blue);
  white-space: nowrap;
}
.resource-tag--green { background: var(--green-light); color: var(--green-dark); }
.resource-tag--amber { background: #FEF3C7; color: #92400E; }

/* ── Footer ── */
footer {
  background: var(--charcoal); color: rgba(255,255,255,0.65);
  padding: 52px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 44px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.75; }
.footer-col h5 {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.18s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.18s; }
.footer-bottom a:hover { color: #fff; }
.footer-legal {
  font-size: 0.70rem; color: rgba(255,255,255,0.30);
  margin-top: 18px; line-height: 1.65; max-width: 800px;
}

/* ── Sign-in Gate ── */
.gate-wrap {
  min-height: calc(100vh - 70px); display: flex;
  align-items: center; justify-content: center;
  background: var(--gray-light); padding: 40px 24px;
}
.gate-card {
  background: var(--white); border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg); padding: 48px;
  max-width: 440px; width: 100%; text-align: center;
  box-shadow: var(--shadow-md);
}
.gate-card img { height: 44px; margin: 0 auto 28px; }
.gate-card h2 { font-size: 1.3rem; color: var(--charcoal); margin-bottom: 10px; }
.gate-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 28px; line-height: 1.7; }
.g-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 13px 20px; border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius); font-size: 0.92rem; font-weight: 600;
  color: var(--text); cursor: pointer; background: var(--white);
  transition: all 0.18s; font-family: inherit;
}
.g-btn:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.g-btn svg { flex-shrink: 0; }
.gate-note {
  margin-top: 20px; font-size: 0.78rem; color: var(--gray); line-height: 1.6;
}

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Tabs ── */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-mid); margin-bottom: 32px; }
.tab-btn {
  padding: 12px 22px; font-size: 0.88rem; font-weight: 600;
  color: var(--gray); cursor: pointer; border: none; background: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all 0.18s; font-family: inherit;
}
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Steps ── */
.steps { display: flex; gap: 0; position: relative; }
.steps::before {
  content: ''; position: absolute;
  top: 20px; left: 20px; right: 20px; height: 1px;
  background: var(--gray-mid);
}
.step { flex: 1; text-align: center; position: relative; padding: 0 12px; }
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; position: relative; z-index: 1;
}
.step-num--green { background: var(--green); }
.step h4 { font-size: 0.85rem; font-weight: 700; color: var(--charcoal); margin-bottom: 5px; }
.step p  { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }
@media (max-width: 600px) {
  .steps { flex-direction: column; gap: 20px; }
  .steps::before { display: none; }
}

/* ── Career Ladder ── */
.ladder { display: flex; flex-direction: column; gap: 6px; }
.ladder-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px; border-radius: var(--radius);
  border: 1px solid var(--gray-mid); background: var(--white);
}
.ladder-row--top {
  background: var(--charcoal); border-color: var(--charcoal);
}
.ladder-level {
  font-size: 0.95rem; font-weight: 700; color: var(--charcoal); flex: 1;
}
.ladder-row--top .ladder-level { color: #fff; }
.ladder-potential {
  font-size: 0.82rem; font-weight: 600; color: var(--green-dark);
  background: var(--green-light); padding: 4px 12px; border-radius: 50px;
}
.ladder-row--top .ladder-potential { background: rgba(255,255,255,0.15); color: #fff; }
.ladder-time { font-size: 0.78rem; color: var(--gray); min-width: 110px; text-align: right; }
.ladder-row--top .ladder-time { color: rgba(255,255,255,0.55); }
@media (max-width: 560px) { .ladder-row { flex-direction: column; align-items: flex-start; } }

/* ── Quote ── */
.blockquote {
  border-left: 3px solid var(--green); padding: 18px 22px;
  background: var(--green-light); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text-light); font-size: 0.97rem; line-height: 1.75;
}

/* ── Gallery ── */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; bottom:0; left:0; right:0;
  padding: 24px 14px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.70));
  color: #fff; font-size: 0.82rem; font-weight: 600;
}
.gallery-item--wide { grid-column: span 2; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery-item--wide { grid-column: auto; } }
@media (max-width: 440px) { .gallery { grid-template-columns: 1fr; } }

/* ── Two column ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.two-col--center { align-items: center; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ── Dark card ── */
.dark-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 26px;
}
.dark-card h4 { font-size: 0.95rem; color: #fff; font-weight: 700; margin-bottom: 8px; }
.dark-card p { font-size: 0.87rem; color: rgba(255,255,255,0.72); line-height: 1.7; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 1px; background: rgba(255,255,255,0.2);
}
.tl-item { position: relative; margin-bottom: 28px; }
.tl-dot {
  position: absolute; left: -32px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); border: 2px solid rgba(255,255,255,0.3);
}
.tl-dot--green { background: var(--green); }
.tl-dot--gold  { background: #D97706; }
.tl-item h4 { font-size: 0.97rem; color: #fff; font-weight: 700; margin-bottom: 3px; }
.tl-item .tl-sub { font-size: 0.78rem; color: var(--green); font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.tl-item p { font-size: 0.87rem; color: rgba(255,255,255,0.68); line-height: 1.65; }

/* ── Stat strip ── */
.stat-strip {
  background: var(--charcoal); padding: 32px 0;
}
.stat-strip-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; }
.stat-item span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* ── Info banner ── */
.info-banner {
  background: var(--blue); border-radius: var(--radius-lg); padding: 32px 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.info-banner h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.info-banner p { font-size: 0.88rem; color: rgba(255,255,255,0.80); }
