/* SoTex Training Co. Theme */
:root {
  --slate: #1e2530;
  --slate-light: #2d3644;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fbbf24;
  --bg: #f8f9fa;
  --bg-dark: #111827;
  --text: #1e2530;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 37, 48, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
/* Logo image in navbar and footer */
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}
.footer-logo-img {
  height: 36px;
}
.logo-text {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }

/* Hero */
.hero {
  background: var(--slate);
  position: relative;
  overflow: hidden;
  padding: 80px 24px 0;
}
.hero-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(180deg, rgba(245,158,11,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
}
.pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 14px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,158,11,0.2);
  margin-top: 0;
}
.stat-item {
  padding: 28px 32px;
  border-right: 1px solid rgba(245,158,11,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-light);
  display: block;
}

/* Trust bar */
.trust-bar {
  background: var(--amber);
  padding: 14px 24px;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
  white-space: nowrap;
}
.trust-items {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
}
.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--slate);
  opacity: 0.4;
}

/* Shared section styles */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--slate);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
}

/* Categories */
.categories {
  background: var(--white);
  padding: 96px 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
}
.cat-icon {
  margin-bottom: 20px;
}
.cat-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 16px;
}
.cat-list {
  list-style: none;
  margin-bottom: 20px;
}
.cat-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.cat-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}
.cat-note {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}

/* How it works */
.how-it-works {
  background: var(--slate);
  padding: 96px 0;
}
.how-it-works .section-tag,
.how-it-works .section-title { color: var(--white); }
.how-it-works .section-title { color: var(--white); }
.how-it-works .section-sub { color: var(--text-light); }
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}
.step-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 12px;
  padding: 32px 28px;
}
.step-num {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 12px;
  opacity: 0.5;
}
.step-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.step-connector {
  display: flex;
  align-items: center;
  padding-top: 48px;
  flex-shrink: 0;
}
.osha-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 20px 24px;
}
.osha-note p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Certification tracker */
.cert-tracker {
  background: var(--bg);
  padding: 96px 0;
}
.cert-content {
  max-width: 520px;
}
.cert-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.cert-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.cert-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.cert-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  max-width: 340px;
}
.cert-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cert-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cert-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cert-status.active {
  background: #dcfce7;
  color: #166534;
}
.cert-status.warning {
  background: #fef9c3;
  color: #854d0e;
}
.cert-detail {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(229,231,235,0.5);
}
.detail-label {
  font-size: 12px;
  color: var(--text-muted);
}
.detail-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.detail-value.warning { color: #b45309; }
.detail-value.urgent { color: #dc2626; font-weight: 600; }
.cert-progress {
  margin-top: 14px;
}
.progress-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 2px;
  transition: width 0.3s;
}
.progress-fill.warn { background: #f59e0b; }

/* RGV Presence */
.rgv-presence {
  background: var(--white);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.rgv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.rgv-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.rgv-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.area-tag {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}
.map-visual {
  background: var(--slate);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  min-height: 280px;
}
.map-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 28px;
  text-align: center;
}
.map-dots {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding-left: 20px;
}
.map-dot {
  position: relative;
  padding-left: 24px;
}
.map-dot::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245,158,11,0.4);
  border: 2px solid var(--amber);
}
.map-dot.primary::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.2);
}
.dot-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

/* Closing */
.closing {
  background: var(--amber);
  padding: 96px 0;
}
.closing-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: var(--slate);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.closing-sub {
  font-size: 17px;
  color: var(--slate-light);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--slate);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 280px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  padding-top: 8px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-light);
  opacity: 0.5;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-headline { font-size: 36px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(245,158,11,0.15); padding: 20px 0; }
  .category-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; }
  .step-connector { display: none; }
  .rgv-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .cert-features { grid-template-columns: 1fr; }
  .cert-visual { max-width: 100%; }
  .cert-card { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 16px 0; }
  .section-inner { padding: 0 16px; }
  .hero-pills { gap: 8px; }
  .footer-cols { grid-template-columns: 1fr; }
}