@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

body {
  margin: 0;
  padding: 0;
}

.nav-link.active {
  background-color: #263287; /* Bootstrap primary */
  color: #fff; /* optional: make text white */
}

.buy-link {
  background-color: #ffc107; /* bright yellow */
  color: #000 !important; /* black text */
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
}

.buy-link:hover {
  background-color: #e0a800; /* darker on hover */
  color: #000;
}

/* Angle styles for all headers */
.angle {
  position: relative;
  background: none; /* we’ll handle background with ::before */
}

/* the skewed background */
.angle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: skewY(-2deg);
  transform-origin: top left;
  z-index: -1;
}

/* different backgrounds */
.angle.bg-pale::before {
  background-color: #8cc6ec;
}

.angle.bg-darker::before {
  background-color: #263287;
}

.angle.bg-lighter::before {
  background-color: #fff;
}

/* Angle styles for all headers */
.angle-hidden {
  position: relative;
  overflow: hidden; /* make sure the skewed bg doesn't overflow */
  background: none; /* we’ll handle background with ::before */
}

/* the skewed background */
.angle-hidden::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: skewY(-2deg);
  transform-origin: top left;
  z-index: -1;
}

.angle-hidden.bg-darker::before {
  background-color: #263287;
}

.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: 20px; /* Adjust width of the lines */
  height: 3px; /* Adjust thickness of the lines */
  background-color: #8cc6ec; /* Change color of the lines */
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  display: block;
  width: 20px; /* Same width as the main line */
  height: 3px; /* Same thickness as the main line */
  background-color: #8cc6ec;
  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 */
}

/* 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: 120vh;
  left: -5%;
  background: #fff; /* Match the content section background */
  transform: skewY(-2deg);
  transform-origin: top left;
  z-index: 1;
}

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

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

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

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

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

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

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: 205px; /* pushes it down */
  position: relative;
  z-index: 0;
}

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

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

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

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .my-class {
    padding: 1rem;
  }
  /* Each skewed background layer */
  .background-wrapper-teak div {
    position: absolute;
    width: 110%;
    height: 120vh;
    left: -5%;
    background: #fff; /* Match the content section background */
    transform: skewY(-2deg);
    transform-origin: top left;
    z-index: 1;
  }
  /* Assign different colors to each section */
  .background-wrapper-teak div:nth-child(1) {
    background: #263287;
    top: 10vh;
    height: 110vh; /* Taller first section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(2) {
    background: #fff;
    top: 110vh;
    height: 160vh; /* Shorter second section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(3) {
    background: #263287;
    top: 250vh;
    height: 310vh; /* Tallest third section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(4) {
    background: #fff;
    top: 700vh;
    height: 1vh; /* Tallest third section */
    z-index: 1;
  }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .my-class {
    padding: 2rem;
  }
  /* Each skewed background layer */
  .background-wrapper-teak div {
    position: absolute;
    width: 110%;
    height: 120vh;
    left: -5%;
    background: #fff; /* Match the content section background */
    transform: skewY(-2deg);
    transform-origin: top left;
    z-index: 1;
  }
  /* Assign different colors to each section */
  .background-wrapper-teak div:nth-child(1) {
    background: #263287;
    top: 10vh;
    height: 110vh; /* Taller first section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(2) {
    background: #fff;
    top: 110vh;
    height: 160vh; /* Shorter second section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(3) {
    background: #263287;
    top: 250vh;
    height: 220vh; /* Tallest third section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(4) {
    background: #fff;
    top: 500vh;
    height: 1vh; /* Tallest third section */
    z-index: 1;
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .my-class {
    padding: 3rem;
  }
  /* Each skewed background layer */
  .background-wrapper-teak div {
    position: absolute;
    width: 110%;
    height: 120vh;
    left: -5%;
    background: #fff; /* Match the content section background */
    transform: skewY(-2deg);
    transform-origin: top left;
    z-index: 1;
  }
  /* Assign different colors to each section */
  .background-wrapper-teak div:nth-child(1) {
    background: #263287;
    top: 10vh;
    height: 90vh; /* Taller first section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(2) {
    background: #fff;
    top: 90vh;
    height: 100vh; /* Shorter second section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(3) {
    background: #263287;
    top: 190vh;
    height: 235vh; /* Tallest third section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(4) {
    background: #fff;
    top: 500vh;
    height: 1vh; /* Tallest third section */
    z-index: 1;
  }
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .my-class {
    padding: 4rem;
  }
  /* Each skewed background layer */
  .background-wrapper-teak div {
    position: absolute;
    width: 110%;
    height: 120vh;
    left: -5%;
    background: #fff; /* Match the content section background */
    transform: skewY(-2deg);
    transform-origin: top left;
    z-index: 1;
  }
  /* Assign different colors to each section */
  .background-wrapper-teak div:nth-child(1) {
    background: #263287;
    top: 10vh;
    height: 90vh; /* Taller first section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(2) {
    background: #fff;
    top: 90vh;
    height: 100vh; /* Shorter second section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(3) {
    background: #263287;
    top: 200vh;
    height: 130vh; /* Tallest third section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(4) {
    background: #fff;
    top: 350vh;
    height: 1vh; /* Tallest third section */
    z-index: 1;
  }
}
/* XXL devices (very large desktops, 1400px and up) */
@media (min-width: 1400px) {
  .my-class {
    padding: 5rem;
  }
  /* Each skewed background layer */
  .background-wrapper-teak div {
    position: absolute;
    width: 110%;
    height: 120vh;
    left: -5%;
    background: #fff; /* Match the content section background */
    transform: skewY(-2deg);
    transform-origin: top left;
    z-index: 1;
  }
  /* Assign different colors to each section */
  .background-wrapper-teak div:nth-child(1) {
    background: #263287;
    top: 10vh;
    height: 60vh; /* Taller first section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(2) {
    background: #fff;
    top: 90vh;
    height: 100vh; /* Shorter second section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(3) {
    background: #263287;
    top: 150vh;
    height: 100vh; /* Tallest third section */
    z-index: 1;
  }
  .background-wrapper-teak div:nth-child(4) {
    background: #fff;
    top: 300vh;
    height: 1vh; /* Tallest third section */
    z-index: 1;
  }
}
