/* ============================================================
   ROCK TRANSPORTATION — GLOBAL STYLES
   style.css
============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Oswald:wght@400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --red: #e12222;
  /* hsl(0, 72%, 51%) */
  --red-dark: #b91c1c;
  --red-light: rgba(225, 34, 34, 0.12);
  --bg: #121212;
  /* hsl(0, 0%, 7%) is roughly #121212 */
  --bg2: #161616;
  --bg3: #1e1e1e;
  --bg4: #252525;
  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(255, 255, 255, 0.14);
  --white: hsl(0, 0%, 95%);
  --gray: hsl(0, 0%, 60%);
  --gray2: hsl(0, 0%, 45%);
  --gray3: hsl(0, 0%, 30%);
  --font: 'Inter', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --radius: 0px;
  --transition: all 0.25s ease;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: var(--font);
  outline: none;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

/* ---- Container ---- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.container--sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 2.25rem;
  /* 36px - text-4xl */
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 .highlight {
  color: var(--red);
}

.section-header p {
  font-size: 1rem;
  /* 16px - text-base */
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.625;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  /* 14px - text-sm */
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  padding: 0.65rem 1.5rem;
  /* Slightly more padding for impact */
  line-height: 1.25rem;
}

.btn-primary {
  background: var(--red) !important;
  color: var(--white) !important;
  border: 2px solid var(--red) !important;
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 27, 35, 0.35);
}

.btn-outline {
  background: #000;
  color: var(--white);
  border: 2px solid #000;
}

.btn-outline:hover {
  border-color: #f57878ab;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-dark {
  background: #000;
  color: var(--white);
  border: 2px solid #000;
}

.btn-dark:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  color: #DC2828;
}

.btn-sm {
  padding: 10px 20px !important;
  font-size: 15px !important;
}

.btn-lg {
  padding: 10px 36px;
  font-size: 15px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 44px;
  height: 44px;
  padding: 0;
}

/* ---- Form Elements ---- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
  letter-spacing: 0.2px;
}

.form-label .required {
  color: var(--red);
}

.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 16px;
  font-size: 14px;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder {
  color: var(--gray2);
}

.form-control:focus {
  border-color: var(--red);
  background: var(--bg4);
}

.form-control.error {
  border-color: #ff4444;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

select.form-control option {
  background: var(--bg3);
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* ---- Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(227, 27, 35, 0.3);
}

/* ---- Card Base ---- */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}

.card:hover {
  border-color: var(--border2);
}

/* ---- Page Hero (reusable for inner pages) ---- */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(227, 27, 35, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 18px;
}

.page-hero h1 .highlight {
  color: var(--red);
}

.page-hero p {
  font-size: 16px;
  color: var(--gray);
  max-width: 540px;
  line-height: 1.75;
}

/* ---- Stats Bar ---- */
.stats-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
}

.stat-box {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}

.stat-box:last-child {
  border-right: none;
}

.stat-box:hover {
  background: var(--bg3);
}

.stat-box .num {
  font-size: 30px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-box .lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray2);
}

/* ---- Scroll-reveal utility ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ---- Page Wrapper ---- */
.page-wrapper {
  padding: 80px 0;
}

/* ---- Alert / Notification ---- */
.alert {
  padding: 14px 20px;
  border-left: 3px solid;
  font-size: 14px;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  color: #86efac;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #fca5a5;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  color: #93c5fd;
}

/* ---- Form Animations ---- */
.form-step-animate {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-step-animate.active {
  opacity: 1;
  transform: translateY(0);
}


/* ---- Responsive ---- */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .container--sm {
    padding: 0 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat-box {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--border);
  }

  .page-hero {
    padding: 120px 0 60px;
  }
}

@media (max-width: 480px) {
  .stat-box {
    flex: 1 1 100%;
  }

  .btn-lg {
    padding: 14px 24px;
  }
}


.gap-10 {
  gap: 10px !important;
}

.form-control {
  color: #fff !important;
}

.footer-orig-links {
  padding-left: 0px !important;
}

.form-control:focus {
  box-shadow: unset !important;
}


@media (max-width: 500px) {


  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 110px 20px 60px !important;
  }

  .material-tile {
    flex-direction: row !important;
    align-items: center !important;
  }

  #hero {
    position: relative;
    min-height: 80vh !important;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center !important;
  }

  .footer-bottom {
    padding: 10px !important;
  }

  .footer-copy {
    margin-bottom: 0px !important;
  }
}