:root {
  --rwfd-red: #be1e2d;
  --rwfd-red-dark: #8f1420;
  --rwfd-blue: #2d3f8f;
  --rwfd-gold: #f4c441;
  --rwfd-charcoal: #17181c;
  --rwfd-smoke: #f3f4f6;
  --rwfd-white: #ffffff;
}

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--rwfd-charcoal);
  background: var(--rwfd-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* HERO SECTION
 * Apply class to top Elementor section: rwfd-home-hero
 */
.rwfd-home-hero {
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.rwfd-home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(18, 18, 22, 0.86) 18%, rgba(18, 18, 22, 0.52) 54%, rgba(18, 18, 22, 0.25) 100%),
    linear-gradient(0deg, rgba(18, 18, 22, 0.35), rgba(18, 18, 22, 0.35));
  z-index: 1;
}

.rwfd-home-hero .elementor-widget-wrap,
.rwfd-home-hero .elementor-container {
  position: relative;
  z-index: 2;
}

.rwfd-kicker {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(244, 196, 65, 0.95);
  color: #1e1e1e;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rwfd-hero-title {
  color: var(--rwfd-white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  margin: 0.65rem 0;
  line-height: 1.02;
}

.rwfd-hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
}

/* QUICK LINKS SECTION
 * Apply class to section: rwfd-quick-links
 * Apply class to each button: rwfd-quick-button
 */
.rwfd-quick-links {
  position: relative;
  margin-top: -1px;
  padding: 24px 14px 48px;
  background:
    linear-gradient(180deg, #0f1116 0, #17181c 38px, #f3f4f6 38px, #f3f4f6 100%);
}

.rwfd-quick-links .elementor-container {
  max-width: 1180px;
}

.rwfd-quick-links .elementor-column {
  padding: 0.55rem;
}

.rwfd-quick-button .elementor-button {
  width: 100%;
  min-height: 86px;
  border-radius: 12px;
  border: 2px solid rgba(45, 63, 143, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fb 100%);
  color: var(--rwfd-charcoal);
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 24px rgba(8, 14, 31, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rwfd-quick-button .elementor-button:hover,
.rwfd-quick-button .elementor-button:focus {
  transform: translateY(-4px);
  border-color: var(--rwfd-red);
  box-shadow: 0 16px 34px rgba(8, 14, 31, 0.18);
}

/* Use these optional per-button accent classes on the Elementor button widget */
.rwfd-education .elementor-button {
  border-top: 4px solid var(--rwfd-red);
}

.rwfd-safety .elementor-button {
  border-top: 4px solid var(--rwfd-blue);
}

.rwfd-iso .elementor-button {
  border-top: 4px solid var(--rwfd-gold);
}

/* OPTIONAL logo badge style if you place a logo image in hero */
.rwfd-hero-badge img {
  max-width: 120px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1024px) {
  .rwfd-home-hero {
    min-height: 62vh;
  }

  .rwfd-quick-links {
    background: linear-gradient(180deg, #17181c 0, #17181c 24px, #f3f4f6 24px, #f3f4f6 100%);
  }
}

@media (max-width: 767px) {
  .rwfd-home-hero {
    min-height: 66vh;
  }

  .rwfd-quick-button .elementor-button {
    min-height: 76px;
  }
}
