html {
  /* modern way to keep scrollbar space reserved */
  scrollbar-gutter: stable;
}

html, body {
  height: 100%;
}

.rrs-body {
  background-color: #f9fafb;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.text-rrs {
  color: #e11d48; /* rose-600-style accent */
}

.bg-hero {
  background: radial-gradient(circle at top left, #fee2e2 0, transparent 60%),
              radial-gradient(circle at top right, #dbeafe 0, transparent 55%),
              #ffffff;
}

.bg-hero-soft {
  background: radial-gradient(circle at top left, #dcfce7 0, transparent 55%),
              #ffffff;
}

.bg-rrs-soft {
  background: #fef2f2;
}

.btn-rrs {
  background-color: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
}

.btn-rrs:hover {
  background-color: #be123c;
  border-color: #be123c;
  color: #ffffff;
}

.bg-rrs-soft .btn-rrs {
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.2);
}

/* Hero card */
.rrs-hero-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* Generic cards */
.rrs-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rrs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* Tag cards */
.rrs-tag-card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Side card */
.rrs-side-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Form card */
.rrs-form-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Stats */
.rrs-stat-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.rrs-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
}

.rrs-stat-label {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Links */
.link-rrs {
  color: #e11d48;
  text-decoration: none;
}

.link-rrs:hover {
  text-decoration: underline;
}

/* Badges */
.bg-rrs-soft.text-rrs {
  background-color: #fef2f2;
}

/* Buttons & forms */
.form-control:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 0.2rem rgba(225, 29, 72, 0.25);
}

/* Spacing utilities */
.py-lg-6 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

/* Small helper */
@media (max-width: 575.98px) {
  .rrs-hero-card {
    margin-top: 1rem;
  }
}

.btn-outline-danger.btn-sm {
  border-radius: 999px;
  padding-inline: 1rem;
}

/* Hero section */
.bg-hero {
  background: url("../img/hero-bg.png") center/cover no-repeat;
  position: relative;
  color: #fff;
}

.bg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11,15,25,0.6);
}

.bg-hero > .container { position: relative; z-index: 1; }

.btn-rrs {
  background-color: #c53030;
  border: none;
  color: #fff;
}
.btn-rrs:hover {
  background-color: #a31e1e;
}

.bg-mesh {
  background: url("../img/bg-mesh.png") center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
}

.btn-rrs:hover {
  box-shadow: 0 0 15px rgba(255,70,70,0.5);
}

section { transition: background 0.5s ease-in-out, color 0.5s ease-in-out; }

.py-6 { padding-top: 6rem; padding-bottom: 6rem; }


/* Generic wave strip */
.rrs-wave {
  width: 100%;
  height: 80px;              /* adjust thickness */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center bottom;
  display: block;
}

/* Variants */
.rrs-wave-red {
  background-image: url("../svg/divider-red.svg");
}

.rrs-wave-orange {
  background-image: url("../svg/divider-orange.svg");
}

.rrs-wave-dark {
  background-image: url("../svg/divider-dark.svg");
}

.section-wave-top,
.section-wave-bottom {
  position: relative;
  z-index: 0;
}

.section-wave-top::before,
.section-wave-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  z-index: -1;
}

/* top vs bottom placement */
.section-wave-top::before {
  top: -79px;
}
.section-wave-bottom::after {
  bottom: -79px;
}

/* color variants */
.section-wave-red::before,
.section-wave-red::after {
  background-image: url("../svg/divider-red.svg");
}
.section-wave-orange::before,
.section-wave-orange::after {
  background-image: url("../svg/divider-orange.svg");
}
.section-wave-dark::before,
.section-wave-dark::after {
  background-image: url("../svg/divider-dark.svg");
}


body {
    font-family: 'Arial', sans-serif;
}

header nav a:hover {
    text-decoration: underline;
}

section {
    margin-top: 20px;
    margin-bottom: 20px;
}

form input,
form textarea {
    font-family: inherit;
    outline: none;
}

form button:hover {
    background-color: #e53e3e;
}

footer {
    margin-top: 20px;
}