html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

body {
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #8cc6ec;
  text-decoration: none;
}

.nav-link:hover {
  color: #263287;
}

.foot-link:hover {
  color: #fff !important;
}

.social-icons {
  font-size: 2em;
}

.navbar-opacity {
  opacity: 0.9;
}

.bg-white {
  background-color: #fff;
}

.navbar-toggler:focus {
  outline: none !important; /* Remove the outline */
  box-shadow: none; /* Remove any shadow that may appear */
}

.navbar-toggler {
  border: none; /* Remove the default border */
}

.navbar-toggler-icon {
  background-image: none; /* Remove the default icon */
  width: 24px; /* Adjust width of the lines */
  height: 2px; /* Adjust thickness of the lines */
  background-color: white; /* Change color of the lines */
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  display: block;
  width: 24px; /* Same width as the main line */
  height: 2px; /* Same thickness as the main line */
  background-color: white;
  position: absolute;
  left: 0;
}

.navbar-toggler-icon::before {
  top: -6px; /* Position the first line above */
}

.navbar-toggler-icon::after {
  top: 6px; /* Position the third line below */
}

/* Make a wrapper for background sections */
.background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

/* Background sections */
.background-wrapper div {
  position: absolute;
  width: 110%; /* Slightly larger to prevent gaps */
  left: -5%; /* Offset to keep it centered */
  transform: skewY(-2deg);
}

/* Assign different colors to each section */
.background-wrapper div:nth-child(1) {
  background: #fff;
  top: 0;
  height: 120vh; /* Taller first section */
}

.background-wrapper div:nth-child(2) {
  background: #263287;
  top: 85vh;
  height: 60vh; /* Shorter second section */
}

.background-wrapper div:nth-child(3) {
  background: #fff;
  top: 145vh;
  height: 100vh; /* Tallest third section */
}

.background-wrapper div:nth-child(4) {
  background: #263287;
  top: 220vh;
  height: 65vh; /* Tallest third section */
}

/* Wrapper for skewed layers */
.background-wrapper-teak {
  position: relative;
  width: 100%;
  height: 150px; /* Allows space for absolutely positioned divs */
  margin-top: -80px; /* Pulls it upward to overlap fixed-hero */
  z-index: 1;
}

/* Each skewed background layer */
.background-wrapper-teak div {
  position: absolute;
  width: 110%;
  height: 150px;
  left: -5%;
  background: #f8f9fa; /* Match the content section background */
  transform: skewY(-2deg);
  transform-origin: top left;
  z-index: 1;
}

/* Content section below the skew */
.content-section {
  position: relative;
  z-index: 2;
}

/* Assign different colors to each section */
.background-wrapper-teak div:nth-child(1) {
  background: #263287;
  top: 0;
  height: 70vh; /* Taller first section */
  z-index: 1;
}

.background-wrapper-teak div:nth-child(2) {
  background: #fff;
  top: 95vh;
  height: 60vh; /* Shorter second section */
  z-index: 1;
}

.background-wrapper-teak div:nth-child(3) {
  background: #263287;
  top: 170vh;
  height: 150vh; /* Tallest third section */
  z-index: 1;
}

.background-wrapper-teak div:nth-child(4) {
  background: #fff;
  top: 275vh;
  height: 65vh; /* Tallest third section */
  z-index: 1;
}

/* Content sections */
.content {
  position: relative;
  z-index: 1;
  padding: 100px 20px;
}

hr {
  border: none;
  height: 4px;
  width: 2rem;
  opacity: 1;
}

.hidden {
  opacity: 0;
}

.fixed-hero {
  background-image: url("../images/Treadmaster-Aquateak-material-header.png");
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  height: 500px;
  width: 100%;
  margin-top: 245px; /* pushes it down */
  position: relative;
  z-index: 0;
}
