body {
  max-width: 100vw;
  overflow-x: hidden; /* Hide horizontal scrollbar */
  margin: 0 auto; /* Center content horizontally */
}

#myVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: 100vh; /* changed 100vb to 100vh */
  opacity: 0.2;
  object-fit: cover;
}

.bg-header {
  background: #310404 url("../images/top-background.jpg")
    no-repeat center center fixed;
  background-size: cover;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow: hidden;
}

.sp-container {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: -webkit-radial-gradient(
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.3) 35%,
    rgba(0, 0, 0, 0.7)
  );
  background: -moz-radial-gradient(
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.3) 35%,
    rgba(0, 0, 0, 0.7)
  );
  background: -ms-radial-gradient(
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.3) 35%,
    rgba(0, 0, 0, 0.7)
  );
  background: radial-gradient(
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.3) 35%,
    rgba(0, 0, 0, 0.7)
  );
}

.sp-content {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  z-index: 1000;
}

.sp-container .frame {
  position: absolute;
  top: 40%;
  line-height: 100px;
  height: 90px;
  font-size: 11rem;
  width: 100%;
  text-align: center;
  color: gainsboro;
  -webkit-animation: blurFadeInOut 1.2s ease-in backwards;
  -moz-animation: blurFadeInOut 1.2s ease-in backwards;
  -ms-animation: blurFadeInOut 1.2s ease-in backwards;
  -o-animation: blurFadeInOut 1.2s ease-in backwards;
  animation: blurFadeInOut 1.2s ease-in backwards;
}

#fort_nautical {
  position: absolute;
  top: -0%;
  height: 100vh;
  font-size: 4rem;
  color: black;
  -webkit-animation: blurFadeIn 4s ease-in backwards;
  -moz-animation: blurFadeIn 4s ease-in backwards;
  -ms-animation: blurFadeIn 4s ease-in backwards;
  -o-animation: blurFadeIn 4s ease-in backwards;
  animation: blurFadeIn 4s ease-in backwards;
}

@-webkit-keyframes blurFadeInOut {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    -webkit-transform: scale(1.3);
  }
  20%,
  75% {
    opacity: 1;
    text-shadow: 0px 0px 1px gainsboro;
    -webkit-transform: scale(1);
  }
  100% {
    opacity: 0;
    text-shadow: 0px 0px 50px gainsboro;
    -webkit-transform: scale(0);
  }
}

@-moz-keyframes blurFadeInOut {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    -moz-transform: scale(1.3);
  }
  20%,
  75% {
    opacity: 1;
    text-shadow: 0px 0px 1px gainsboro;
    -moz-transform: scale(1);
  }
  100% {
    opacity: 0;
    text-shadow: 0px 0px 50px gainsboro;
    -moz-transform: scale(0);
  }
}

@-ms-keyframes blurFadeInOut {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    -ms-transform: scale(1.3);
  }
  20%,
  75% {
    opacity: 1;
    text-shadow: 0px 0px 1px gainsboro;
    -ms-transform: scale(1);
  }
  100% {
    opacity: 0;
    text-shadow: 0px 0px 50px gainsboro;
    -ms-transform: scale(0);
  }
}

@-o-keyframes blurFadeInOut {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    -o-transform: scale(1.3);
  }
  20%,
  75% {
    opacity: 1;
    text-shadow: 0px 0px 1px gainsboro;
    -o-transform: scale(1);
  }
  100% {
    opacity: 0;
    text-shadow: 0px 0px 50px gainsboro;
    -o-transform: scale(0);
  }
}

@keyframes blurFadeInOut {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    transform: scale(1.3);
  }
  20%,
  75% {
    opacity: 1;
    text-shadow: 0px 0px 1px gainsboro;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    text-shadow: 0px 0px 50px gainsboro;
    transform: scale(0);
  }
}

@-webkit-keyframes blurFadeIn {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    -webkit-transform: scale(1);
  }
  80% {
    opacity: 0.9;
    text-shadow: 0px 0px 10px gainsboro;
    -webkit-transform: scale(1);
  }
  100% {
    opacity: 1;
    text-shadow: 0px 0px 5px gainsboro;
    -webkit-transform: scale(1);
  }
}

@-moz-keyframes blurFadeIn {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    -moz-transform: scale(1);
  }
  80% {
    opacity: 0.9;
    text-shadow: 0px 0px 10px gainsboro;
    -moz-transform: scale(1);
  }
  100% {
    opacity: 1;
    text-shadow: 0px 0px 5px gainsboro;
    -moz-transform: scale(1);
  }
}

@-ms-keyframes blurFadeIn {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    -ms-transform: scale(1);
  }
  80% {
    opacity: 0.9;
    text-shadow: 0px 0px 10px gainsboro;
    -ms-transform: scale(1);
  }
  100% {
    opacity: 1;
    text-shadow: 0px 0px 5px gainsboro;
    -ms-transform: scale(1);
  }
}

@-o-keyframes blurFadeIn {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    -o-transform: scale(1);
  }
  80% {
    opacity: 0.9;
    text-shadow: 0px 0px 10px gainsboro;
    -o-transform: scale(1);
  }
  100% {
    opacity: 1;
    text-shadow: 0px 0px 5px gainsboro;
    -o-transform: scale(1);
  }
}

@keyframes blurFadeIn {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 40px gainsboro;
    transform: scale(1);
  }
  80% {
    opacity: 0.9;
    text-shadow: 0px 0px 10px gainsboro;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    text-shadow: 0px 0px 5px gainsboro;
    transform: scale(1);
  }
}

@media screen and (max-width: 980px) {
  .sp-container .frame {
    font-size: 8rem;
  }
  #fort_nautical {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 750px) {
  .sp-container .frame {
    font-size: 4rem;
  }
  #fort_nautical {
    font-size: 1.5rem;
  }
}

/* ######################################### */

/* center the blockquote in the page */
.blockquote-wrapper {
  display: flex;
  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding-left: 5px;
}

/* Blockquote main style */
.blockquote {
  position: relative;
  font-weight: 800;
  color: black;
  padding: 30px 0;
  width: 100%;
  z-index: 1;
  margin: 80px auto;
  align-self: center;
  border-top: solid 1px;
  border-bottom: solid 1px;
}

/* Blockquote header */
.blockquote h1 {
  position: relative;
  color: black;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

/* Blockquote right double quotes */
.blockquote:after {
  position: absolute;
  content: "”";
  color: black;
  font-size: 10rem;
  line-height: 0;
  bottom: -43px;
  right: 30px;
}

/* increase header size after 600px */
@media all and (min-width: 600px) {
  .blockquote h1 {
    font-size: 40px;
  }
}

/* Blockquote subheader */
.blockquote h4 {
  position: relative;
  color: #292a2b;
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1;
  margin: 0;
  padding-top: 20px;
  z-index: 1;
}

/* ######################################### */

.bg-sustainability {
  background: #310404 url("../images/bg-one.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-style: normal;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* ######################################### */

.bg-solution {
  background: #310404 url("../images/bg-three.jpg") no-repeat center center
    fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: white;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* ######################################### */

.bg-marine {
  background: #310404 url("../images/bg-five.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-style: normal;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* ######################################### */
.bg-agency {
  background: #310404 url("../images/bg-four.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-style: normal;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* ######################################### */
#pointer {
    background-color: brown;
    color: white;
    padding: 10px 20px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 25px;
    border: 2px solid darkred;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

#pointer:hover {
    background-color: darkred;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Responsive styles */
@media screen and (min-width: 480px) {
    #pointer {
        padding: 12px 25px;
        font-size: 18px;
    }
}

@media screen and (min-width: 768px) {
    #pointer {
        padding: 15px 35px;
        font-size: 20px;
    }
}

@media screen and (min-width: 1024px) {
    #pointer {
        padding: 15px 40px;
        font-size: 24px;
    }
}
/* ############################ */
.nav-link.active {
  background-color: #EF4444;
  color: white !important;
}
.nav-link.active:hover {
  background-color: #DC2626;
}

/* Styles for mobile navigation */
@media (max-width: 767px) {
  body {
    padding-bottom: 4rem;
  }
  #mobile-navbar {
    transform: translateY(100%);
  }
  #mobile-navbar.visible {
    transform: translateY(0);
  }
  #mobile-navbar a.active {
    color: #EF4444;
  }
  #mobile-navbar a {
    transition: color 0.3s ease;
  }
  #mobile-navbar a:hover {
    color: #DC2626;
  }
  #mobile-navbar a.active svg {
    fill: #EF4444;
  }
}
