html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Crucial to prevent scrollbars during horizontal animation */
  font-size: 20px;
  font-family: sans-serif;
  color: white;
}

body.loading-content {
  height: 100vh;
  overflow: hidden;
}

.fade-out {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s linear;
}

.loader-container {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10000;
}

.loader {
  position: absolute;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
  transform: translate(-50%, -50%);
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 100px;
  height: 100px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.panel {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* font-size: 48px; */
  box-sizing: border-box;
  /* padding: 2rem; */
}

.pinned-container-wrapper {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  /* Essential for containing the horizontal track */
  /* GSAP will handle pinning this element */
}

.panels-track {
  height: 100vh;
  display: flex;
}

.panel.p1 {
  margin-right: -1px;
}

.panel.p2 {
  margin-left: -1px;
}

.panel.p5 {
  margin-right: -1px;
}

.panel.p6 {
  margin-left: -1px;
}

#track1 {
  width: 500vw;
  /* 5 panels * 100vw each */
}

#track2 {
  width: 200vw;
  /* 2 panels * 100vw each */
}

/* .scroll-spacer class removed as it's no longer needed */

.ourStory-section-1 .hero {
  background: rgba(3, 23, 52, 255);
  height: 100vh;
  position: relative;
  color: white;
}

.ourStory-section-1 .hero .bottom-right-image-container {
  position: absolute;
  right: 0;
  bottom: 10%;
  width: 20%;
}

.ourStory-section-1 .logo {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.ourStory-section-1 .logo img {
  height: 175px;
}

.ourStory-section-1 .hero-container {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
}

.ourStory-section-1 .hero-container .hero-content-1 {
  font-size: 100px;
  letter-spacing: 10px;
  line-height: 105px;
  color: #fbf8f2;
  font-weight: 300;
  font-family: "Futura Light";
}

.ourStory-section-1 .hero-container .hero-content-2 {
  font-size: 55px;
  letter-spacing: 2px;
  line-height: 65px;
  text-transform: uppercase;
  color: #fbf8f2;
  font-weight: 300;
  font-family: "Futura Light";
}

.ourStory-section-1 .hero-container .horizontal-line {
  background: #fff;
  height: 15px;
  width: 50px;
}

.ourStory-section-1 .right-line-container {
  position: relative;
  right: -55%;
  width: 45%;
  height: 50px;
  top: 45%;
  z-index: 2;
}

.ourStory-section-1 .right-line-container .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 50%;
  animation: pulse-white 1.9s infinite;
  height: 25px;
  width: 25px;
}

.ourStory-section-1 .right-line-container .line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

.ourStory-section-1 .right-line-container .triangle-right {
  position: absolute;
  top: 32.5%;
  left: 60%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 20px solid #fff;
  border-bottom: 10px solid transparent;
}

.ourStory-section-2 {
  background: rgba(3, 23, 52, 255);
  height: 100vh;
  position: relative;
  color: white;
}

.ourStory-section-2 .top-right-image-container {
  position: absolute;
  right: 0;
  width: 50%;
}

.ourStory-section-2 .bottom-left-image-container {
  position: absolute;
  left: -12.5%;
  bottom: 10%;
  width: 27.5%;
}

.ourStory-section-2 .title-container {
  position: absolute;
  top: 28%;
  left: 23%;
  transform: translate(-50%, -50%);
}

.ourStory-section-2 .section-2-text-1 {
  font-size: 75px;
  letter-spacing: 5px;
  color: #fbf8f2;
  font-weight: 300;
  font-family: "Futura Light";
}

.ourStory-section-2 .future-text-container {
  top: 25%;
  left: 26%;
}

.ourStory-section-2 .section-2-text-2 {
  font-size: 150px;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #fbf8f2;
  font-weight: 800;
  font-family: "Futura Extra Bold";
}

.ourStory-section-2 .section-2-text-3 {
  font-size: 27px;
  letter-spacing: 1px;
  color: #fbf8f2;
  font-weight: 300;
  font-family: "Futura Light";
}

.ourStory-section-2 .section-2-text-4 {
  font-size: 27px;
  letter-spacing: 1px;
  color: #fbf8f2;
  font-weight: 900;
  font-family: "Futura";
}

.ourStory-section-3 {
  background: rgba(251, 248, 242, 255);
  height: 100vh;
  position: relative;
}

.ourStory-section-3 .left-line-container {
  position: relative;
  left: -0%;
  width: 45%;
  height: 50px;
  top: 45%;
}

.ourStory-section-3 .left-line-container .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000;
  border-radius: 50%;
  animation: pulse-black 1.9s infinite;
  height: 25px;
  width: 25px;
}

.ourStory-section-3 .left-line-container .black-line {
  position: absolute;
  top: 50%;
  left: -0%;
  width: 50%;
  height: 2px;
  background-color: #000;
}

.ourStory-section-3 .left-line-container .white-line {
  position: absolute;
  top: 50%;
  left: -50%;
  width: 50%;
  height: 2px;
  background-color: #fff;
}

@keyframes pulse-black {
  0% {
    transform: scale(0.9) translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  }

  80% {
    transform: scale(1) translate(-50%, -50%);
    box-shadow: 0 0 0 11px rgba(255, 82, 82, 0);
  }

  100% {
    transform: scale(0.9) translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

.ourStory-section-3 .eagle-image {
  position: absolute;
  height: 80%;
  top: 10%;
  left: 35%;
  z-index: 1;
}

/* .ourStory-section-3 .chess-image {
  position: absolute;
  width: 20%;
  top: 30%;
  left: 52.5%;
  z-index: 2;
} */

.ourStory-section-4 {
  background: rgba(251, 248, 242, 255);
  height: 100vh;
  position: relative;
}

.ourStory-section-4 .title-container {
  position: absolute;
  top: 10%;
}

.ourStory-section-4 .title-container .title {
  font-size: 75px;
  letter-spacing: 5px;
  color: #03173e;
  font-weight: 300;
  font-family: "Futura Light";
}

.ourStory-section-4 .title-container .title.line-2 {
  padding-left: 250px;
}

.ourStory-section-4 .content-container {
  width: 100%;
  position: absolute;
  top: 45%;
}

.ourStory-section-4 .content-container .content {
  font-size: 25px;
  letter-spacing: 1px;
  color: #03173e;
  font-weight: 300;
}

/* Styles for the new Panel P4.5 */
.ourStory-section-4-5 {
  background: rgba(251, 248, 242, 255);
  position: relative;
  height: 100vh;
}

.ourStory-section-4-5 .top-right-image-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
}

.ourStory-section-4-5 .curve-line-container {
  position: relative;
  top: calc(45% + 25px);
  left: 0%;
  height: 100%;
}

.ourStory-section-4-5 .curve-line-container .black-line {
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 2px;
  background-color: #000;
}

.ourStory-section-4-5 .curve-line {
  position: absolute;
  top: 0;
  left: 0;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  border-radius: 0px 600px;
  height: 55%;
  width: 20%;
}

/* End of styles for new Panel P4.5 */

.ourStory-section-5 {
  background-image: url('../images/our-story/mountain-one.png');
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  position: relative;
}

.ourStory-section-5 .dot-line-container {
  position: relative;
  top: 0;
  left: calc(20% - 2px);
  width: 50px;
  height: 45%;
}

.ourStory-section-5 .dot-line-container .line {
  position: absolute;
  top: 0;
  left: -2px;
  /* Because border is 2px */
  height: 50%;
  width: 2px;
  background-color: #fff;
}

.ourStory-section-5 .dot-line-container .circle {
  position: absolute;
  top: 50%;
  left: calc(50% - 25px - 2px);
  /* Because width is 50px so need to divide by 2, and border is 2px */
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 50%;
  animation: pulse-white 1.9s infinite;
  height: 25px;
  width: 25px;
}

.ourStory-section-5 .right-line-container {
  position: relative;
  right: -55%;
  width: 30%;
  height: 50px;
  top: -2.5%;
  z-index: 2;
}

.ourStory-section-5 .right-line-container .circle {
  position: absolute;
  top: 50%;
  left: 95%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 50%;
  animation: pulse-white 1.9s infinite;
  height: 25px;
  width: 25px;
}

.ourStory-section-5 .right-line-container .line {
  position: absolute;
  top: 50%;
  left: 95%;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

.ourStory-section-5 .right-line-container .triangle-right {
  position: absolute;
  top: 32.5%;
  left: 110%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 20px solid #fff;
  border-bottom: 10px solid transparent;
}

@keyframes pulse-white {
  0% {
    transform: scale(0.9) translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
  }

  80% {
    transform: scale(1) translate(-50%, -50%);
    box-shadow: 0 0 0 11px rgba(255, 82, 82, 0);
  }

  100% {
    transform: scale(0.9) translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

.ourStory-section-5 .content-container {
  position: absolute;
  top: 40%;
  left: 30%;
}

.ourStory-section-5 .content-container .title {
  font-size: 100px;
  letter-spacing: 10px;
  line-height: 105px;
  text-transform: uppercase;
  color: #fbf8f2;
  font-weight: 300;
  font-family: "Futura Light";
}

.ourStory-section-6 {
  background-image: url('../images/our-story/mountain-two.png');
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
  /* background: rgba(3, 23, 52, 255); */
  height: 100vh;
  position: relative;
  color: white;
}

.ourStory-section-6 .title {
  font-size: 60px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #fbf8f2;
  font-weight: 300;
  font-family: "Futura Light";
}

.ourStory-section-6 .subtitle {
  font-size: 30px;
  color: #fbf8f2;
  font-weight: 300;
  font-family: "Futura Light";
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .ourStory-section-1 .hero-container .hero-content-1 {
    font-size: 70px;
  }

  .ourStory-section-1 .hero-container .hero-content-2 {
    font-size: 35px;
  }

  .ourStory-section-2 .title-container {
    top: 32%;
  }

  .ourStory-section-2 .section-2-text-1 {
    font-size: 50px;
  }

  .ourStory-section-2 .future-text-container {
    top: 30%;
  }

  .ourStory-section-2 .section-2-text-2 {
    font-size: 100px;
  }

  .ourStory-section-2 .section-2-text-3,
  .ourStory-section-2 .section-2-text-4 {
    font-size: 18px;
  }

  .ourStory-section-4 .title-container .title {
    font-size: 55px;
  }

  .ourStory-section-5 .content-container .title {
    font-size: 70px;
  }

  .ourStory-section-6 .title {
    font-size: 45px;
  }

  .ourStory-section-6 .subtitle {
    font-size: 25px;
  }
}

@media (max-width: 767.98px) {

  .panel {
    height: unset;
  }

  .ourStory-section-1 .logo img {
    height: 150px;
  }

  .ourStory-section-1 .hero .bottom-right-image-container {
    bottom: 30%;
  }

  .ourStory-section-1 .hero-container .hero-content-1 {
    font-size: 20px;
    line-height: 30px;
  }

  .ourStory-section-1 .hero-container .hero-content-2 {
    font-size: 12.5px;
    line-height: 20px;
  }

  .ourStory-section-1 .hero-container .horizontal-line {
    height: 10px;
  }

  .ourStory-section-1 .right-line-container .triangle-right {
    left: 70%;
  }

  .ourStory-section-2 .bottom-left-image-container {
    bottom: 27.5%;
    left: -27.5%;
    width: 45%;
  }

  .ourStory-section-2 .top-right-image-container {
    width: 100%;
  }

  .ourStory-section-2 .title-container {
    width: 100%;
    top: 42.5%;
    left: 75%;
  }

  .ourStory-section-2 .section-2-text-1 {
    font-size: 12.5px;
  }

  .ourStory-section-2 .future-text-container {
    top: 42.5%;
    left: 25%;
  }

  .ourStory-section-2 .section-2-text-2 {
    font-size: 30px;
  }

  .ourStory-section-2 .section-2-text-3,
  .ourStory-section-2 .section-2-text-4 {
    font-size: 12.5px;
  }

  .ourStory-section-3 .eagle-image {
    height: 50%;
    top: 25%;
    left: 30%;
    width: 50%;
    object-fit: cover;
  }

  .ourStory-section-3 .chess-image {
    width: 30%;
    top: 40%;
    left: 65%;
  }

  .ourStory-section-4 .title-container .title {
    font-size: 20px;
  }

  .ourStory-section-4 .title-container {
    top: 35%;
  }

  .ourStory-section-4 .title-container .title.line-2 {
    padding-left: unset;
  }

  .ourStory-section-4 .content-container {
    top: 52.5%;
  }

  .ourStory-section-4 .content-container .content {
    font-size: 12.5px;
  }

  .ourStory-section-4-5 .top-right-image-container {
    left: 50%;
    top: 30%;
    width: 65%;
  }

  .ourStory-section-4-5 .curve-line {
    width: 50%;
  }

  .ourStory-section-5 .dot-line-container {
    left: calc(50% - 2px);
  }

  .ourStory-section-5 .content-container {
    top: 35%;
    left: 50%;
    width: 100%;
    transform: translate(-50%);
  }

  .ourStory-section-5 .content-container .title {
    font-size: 25px;
    line-height: 30px;
    text-align: center;
  }

  .ourStory-section-5 .right-line-container .triangle-right {
    left: 120%;
  }

  .ourStory-section-6 .title {
    font-size: 20px;
  }

  .ourStory-section-6 .subtitle {
    font-size: 12.5px;
  }
}