:root {
  --rw-forest: #0b3d2e;
  --rw-forest-2: #114b38;
  --rw-leaf: #2e7d57;
  --rw-sand: #f3f0e7;
  --rw-sun: #f2b544;
  --rw-ink: #17231f;
  --rw-mist: #f8f5ee;
  --rw-shadow: 0 18px 40px rgba(10, 41, 31, 0.12);
  --bs-body-font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --bs-body-color: var(--rw-ink);
  --bs-primary: var(--rw-forest);
  --bs-primary-rgb: 11, 61, 46;
  --bs-warning: var(--rw-sun);
  --bs-warning-rgb: 242, 181, 68;
  --bs-link-color: var(--rw-forest);
  --bs-link-hover-color: #0f523d;
  --bs-border-radius: 1.1rem;
}

body {
  background-color: var(--rw-mist);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(46, 125, 87, 0.12), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(242, 181, 68, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(248, 245, 238, 0.9), rgba(248, 245, 238, 0.96));
  min-height: 100vh;
}

h1, h2, h3, .navbar-brand span {
  font-family: "Fraunces", "Georgia", serif;
}

.navbar {
  padding: 1rem 0;
}

.rw-navbar {
  background: linear-gradient(90deg, #0b3d2e, #115640 65%, #0b3d2e);
  box-shadow: 0 16px 30px rgba(11, 61, 46, 0.25);
}

.rw-navbar .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.rw-navbar .nav-link:hover,
.rw-navbar .nav-link:focus,
.rw-navbar .nav-link.active {
  color: #fff;
}

.rw-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.rw-logo {
  height: 44px;
  width: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.hero {
  position: relative;
  color: #fff;
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 15% 20%, rgba(242, 181, 68, 0.35), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(46, 125, 87, 0.6), transparent 50%),
    linear-gradient(135deg, #0b3d2e, #145840 55%, #0b3d2e 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 46% 54% 54% 46%;
  filter: blur(0.2px);
  pointer-events: none;
}

.hero::before {
  top: -120px;
  right: -80px;
}

.hero::after {
  bottom: -140px;
  left: -60px;
}

.hero-content {
  animation: rise-in 0.9s ease-out both;
}

.eyebrow {
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-stats .stat-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(6px);
}

.stat-number {
  font-size: 1.35rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
}

.page-hero {
  padding: 72px 0 64px;
  background: linear-gradient(120deg, rgba(11, 61, 46, 0.95), rgba(17, 85, 63, 0.92));
  color: #fff;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: #4b5a53;
  max-width: 640px;
}

.rw-card {
  border: 0;
  border-radius: 1.4rem;
  box-shadow: var(--rw-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats-section {
  margin-top: -36px;
}

.metric-card {
  background: #fff;
  border-radius: 1.2rem;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(10, 41, 31, 0.12);
  border: 1px solid rgba(17, 75, 56, 0.12);
}

.metric-number {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--rw-forest);
}

.metric-label {
  font-size: 0.9rem;
  color: #51605a;
  margin-bottom: 0;
}

.steps-section {
  background: #fff;
}

.steps-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card {
  background: linear-gradient(135deg, rgba(11, 61, 46, 0.08), rgba(242, 181, 68, 0.12));
  border-radius: 1.2rem;
  padding: 22px;
  border: 1px solid rgba(11, 61, 46, 0.08);
  box-shadow: 0 16px 30px rgba(10, 41, 31, 0.08);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(11, 61, 46, 0.14);
  color: var(--rw-forest);
  margin-bottom: 14px;
}

.ops-section {
  background: linear-gradient(180deg, rgba(248, 245, 238, 0.65), rgba(248, 245, 238, 0.95));
}

.workflow-panel {
  background: #101f1a;
  border-radius: 1.4rem;
  padding: 24px;
  color: #fff;
  box-shadow: 0 22px 40px rgba(11, 61, 46, 0.35);
}

.workflow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 16px;
}

.workflow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2dd4bf;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.8);
}

.workflow-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.workflow-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.1rem;
}

.workflow-value {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0;
}

.workflow-chart {
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(45, 212, 191, 0.2), rgba(14, 116, 144, 0.35));
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.workflow-chart::before,
.workflow-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  opacity: 0.7;
}

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.workflow-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-band {
  padding: 64px 0 80px;
  background: linear-gradient(135deg, rgba(11, 61, 46, 0.95), rgba(17, 85, 63, 0.96));
  color: #fff;
}

.cta-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.4rem;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(11, 61, 46, 0.3);
}

.rw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(10, 41, 31, 0.2);
}

.rw-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(46, 125, 87, 0.14);
  color: #1a5b40;
  margin-bottom: 0.9rem;
}

.rw-surface {
  border: 0;
  border-radius: 1.4rem;
  box-shadow: var(--rw-shadow);
  background: #fff;
}

.rw-list .list-group-item {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding-left: 0;
}

.form-control,
.form-select {
  border-radius: 0.9rem;
  border-color: rgba(23, 35, 31, 0.18);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(11, 61, 46, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(11, 61, 46, 0.12);
}

.footer {
  background: #0b3d2e;
  color: #fff;
  padding: 28px 0;
}

.footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.footer a:hover {
  color: #f2b544;
  border-bottom-color: transparent;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .hero {
    padding: 80px 0 70px;
  }

  .section-title {
    font-size: 2rem;
  }

  .workflow-metrics,
  .workflow-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }

  .rw-card {
    transition: none;
  }
}
