html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body {
  display: block; /* or block/grid depending on your layout */
  justify-content: center; /* optional - centers horizontally */
  align-items: center; /* optional - centers vertically */
  //overflow: hidden;        /* optional - hides overflow content */
}

html {
  scroll-behavior: smooth;
}

.backdrop {
  //z-index: 2;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #007faa;
  -webkit-transition: 250ms;
  transition: 250ms;
  overflow: auto; /* optional - hides overflow content */
}

.blog-backdrop {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  //background-color: #007faa;
  background-color: transparent;
  -webkit-transition: 250ms;
  transition: 250ms;
}

.index-level {
  z-index: 2;
}

.header {
  z-index: 6;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #e4f1fd;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  height: 60px;
  position: relative;
  -webkit-transition: background-color 0.5s ease;
  transition: background-color 0.5s ease;
  transition: top 0.3s ease; /* Transition effect for sliding */
}

.header.hidden {
  top: -20vh; /* Adjust this value based on the height of your header */
  opacity: 0;
  pointer-events: none;
}

header.header.header--top {
  background: transparent;
}

.header--overlap.header--top {
  background-color: rgba(228, 241, 253, 0.5);
}

.header--sticky.header--overlap {
  position: fixed;
}

header.header {
  height: 18vh;
  background: #233265;
  z-index: 9999;

  background-color: rgba(
    35,
    50,
    101,
    0.2
  ); /* Initial semi-transparent background */
  transition: background-color 0.3s ease, opacity 0.3s ease;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.header--overlap {
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.header--sticky {
  position: fixed;
  top: 0;
  -webkit-transition: background-color 0.5s ease, top 1s ease;
  transition: background-color 0.5s ease, top 1s ease;
  width: 100%;
}

header.header:hover,
header.header.header-hover {
  background: #fff;
  opacity: 1 !important;
}

/* Shared hero section height for large screens */
.hero-section,
#hero-frontpage {
  min-height: 100vh;
  height: 100vh;
  position: relative; /* if needed */
  z-index: 3; /* apply only if all sections need stacking */
}

/* Initial state for the navbar */
#hero-body {
  transition: background-color 0.3s ease; /* Transition effect for background color */
  z-index: 3;
}

#hero-content,
#hero-mgmt {
  position: relative;
  z-index: 3;
  left: 0;
  top: 0;
}

#hero-frontpage-img {
  z-index: 3;
  position: relative;
  overflow: hidden; /* Ensure the video does not overflow the container */
}

#hero-frontpage-img img {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}

.btn-large-text {
  font-size: 1.25rem;
  letter-spacing: 2px;
}

#hero-frontpage-img span {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-transform: uppercase;
}

#hero-frontpage-img-first-div {
  z-index: 3;
  background-size: cover;
  overflow: hidden;
  background-blend-mode: lighten;
  justify-content: center;
  align-items: center;
}

#hero-frontpage-vid {
  width: 100%;
  height: 100%;
  height: auto;
  display: block;

  object-fit: cover;
  z-index: -1; /* Ensure the video is behind the content */
  pointer-events: none; /* Ensure the video does not interfere with any user interactions */
}

#hero-frontpage-mission {
  z-index: 3;
}

.btn-large-text {
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.hero-frontpage-text {
  color: white; /* Adjust the color as needed */
  font-size: 5rem;
  line-height: 6.5rem;
  font-weight: 800;
  letter-spacing: 4px;
}

.hero-frontpage-text2 {
  color: white; /* Adjust the color as needed */
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: capitalize;
}

/* Face/head */
.head {
  position: absolute;
  top: 70px;
  left: 60px;
  width: 80px;
  height: 100px;
  background-color: transparent;
  border: 5px solid white;
  border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
}

#sustainability_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#sustainability_menu li {
  display: inline-block;
  margin-right: 20px;
  position: relative;
  border-bottom: 1px solid #c1c3c5;
}

#sustainability_menu li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.5px;
  background-color: #233265; /* You can change this color */
  background-color: #233265(311deg 59% 38%);

  transition: width 0.8s ease;
}

#sustainability_menu li:hover::after {
  width: 100%;
}

#sustainability_menu li a {
  text-decoration: none;
  color: #000;
  padding: 5px 0;
  display: inline-block;
  position: relative;
}

#sustainability_menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  transition: width 0.6s ease;
}

* {
  //outline: 2px solid red;
}

.montserrat-100 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.montserrat-200 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.montserrat-400 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400 !important;
  font-style: normal;
}

.montserrat-500 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500 !important;
  font-style: normal;
}

.montserrat-600 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.montserrat-900 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900 !important;
  font-style: normal;
}

.raleway-600 {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.raleway-900 {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.playfair-600 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.badge a {
  color: #0033cc; /* Adjust the color as needed */
}

.zindex-2 {
  z-index: 2;
}

#hero-content {
  position: relative;
  z-index: 3;
}

#hero-aboutUs,
#hero-people,
#hero-sustainability {
  background-color: rgba(255, 255, 255, 0.88);
  padding: 3rem;
  margin-top: 1rem;
  //max-width: 900px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1.5s ease-in-out;
}

#hero-mgmt-aboutUs {
  background-color: rgba(255, 255, 255, 0.88);
  padding: 0.5rem;
  margin-top: 1rem;
  animation: fadeIn 1.5s ease-in-out;
}

#hero-mgmt-aboutUs .row {
  flex-wrap: wrap !important;
  overflow: visible !important;
}

#hero-aboutUs img {
  width: 100%;
}

#hero-aboutUs span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white; /* Adjust the color as needed */
  z-index: 2;
}

#hero-aboutUs span h1,
#hero-aboutUs span h4 {
  color: inherit; /* Ensure the text color matches the span color */
}

#logo-box {
  width: 12vw;
  height: 12vh;
  display: flex;
  align-items: center;
  object-fit: contain;
  display: flex;
  justify-content: center;
}

#logo-box img {
  width: auto;
  height: 100%;
  object-fit: contain;
  align-items: center;
}

#hero-frontpage-img {
  width: 100%;
  height: 100%;
}

.hero-frontpage-text {
  font-size: 5rem;
  line-height: 6.5rem;
}

.text-color-bg {
  color: #233265;
}

.text-color-wheat {
  color: wheat !important;
}

.border-wheat {
  border: 2px solid wheat !important;
}

.border-bg-blue {
  border: 2px solid #233265 !important;
}

.bg-darkblue {
  background-color: #233265 !important;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.bg-color-darkblue {
  background-color: #233265 !important;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.bg-color-darkblue:hover {
  background-color: wheat !important;
  color: #233265 !important;
}

.bg-color-darkblue {
  background-color: #233265 !important;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.bg-color-darkblue:hover {
  background-color: wheat !important;
  color: #233265 !important;
}

.header-text {
  font-size: 2.5rem;
  font-weight: 600;
}

.body-header-text {
  font-size: 1.2rem;
}

#hero-investors {
  overflow: hidden;
}

#hero-investors-img {
  overflow: hidden;
  overflow: hidden;
  max-height: 100%;
  object-fit: contain;
  height: 100%;
}

#hero-people {
  overflow: hidden;
}

#hero-people-img {
  max-height: 100%;
  object-fit: contain;
  height: 100%;
}

#hero-people-img img {
  height: auto;
  object-fit: contain;
}

#hero-investors-img img {
  max-height: 100%;
  height: auto;
  width: 100%;
  display: block;
  margin: 0 auto;
}

#hero-sustainability-img img {
  max-height: 80%;
  height: auto;
  width: 100%;
  display: block;
  margin: 0 auto;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease, filter 1s ease;
}
.portfolio-img:hover {
  transform: scale(1.1);
  filter: blur(2px);
}
.portfolio-col {
  padding: 0;
  overflow: hidden; /* Ensures the image doesn't overflow out of the div when zoomed */
}

.portfolio-col h2 {
  position: absolute;
  top: 50%;
  width: 100%;
  color: #fff;
  text-align: center;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  font-family: "DIN Next W01 Bold";
  padding: 0 15px;
  pointer-events: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#fast {
  border-bottom: 4px solid #233265(311deg 59% 38%);
  background-size: 100% 200%;
  background-image: linear-gradient(to bottom, #e3ebe8 50%, #233265 50%);
  transition: background-position 1s, opacity 0.5s;
  opacity: 0.85;
  display: flex;
  justify-content: center;
  align-items: center;
}

#left-footer {
  overflow: hidden;
}

#left-footer img {
  transition: transform 0.5s ease;
}

#left-footer:hover #fast {
  background-position: 0 100%;
  opacity: 0.8;
}

#left-footer:hover img {
  transform: scale(1.05);
  //padding: 40px;
  //margin: 40px;
}

#fast h4 {
  color: #233265; /* Change text color on hover */
}

#fast a {
  color: #233265; /* Change link color on hover */
}

#left-footer:hover #fast h4 {
  color: white; /* Change text color on hover */
}

#left-footer:hover #fast a {
  color: white; /* Change link color on hover */
  background-color: darkblue; /* Change button background color on hover */
}

/* Default styles already apply to xs (extra small) devices */

/* Override for smaller screens */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
    height: auto;
  }

  .h-half,
  #hero-people-img,
  #hero-investors-img {
    height: auto !important;
    max-height: 50% !important;
    margin-bottom: 20px;
  }
}

/* xtra Small devices (≥576px) */
@media (min-width: 295px) {
  #logo-box {
    width: 20vw;
    height: 10vh;
    display: flex;
    align-items: center;
  }

  .header-text {
    font-size: 2.5rem;
    font-weight: 600;
  }

  .body-header-text {
    font-size: 1.75rem;
  }

  .btn-large-text {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .hero-frontpage-text {
    font-size: 3rem;
    line-height: 2.5rem;
  }

  .hero-frontpage-text2 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
}

/* Small devices (≥576px) */
@media (min-width: 576px) {
  .body-header-text {
    font-size: 1.2rem;
  }

  .btn-large-text {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .hero-frontpage-text {
    font-size: 3rem;
    line-height: 2.5rem;
  }

  .hero-frontpage-text2 {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }
}

/* Medium devices (≥768px) */
@media (min-width: 768px) {
  #logo-box {
    width: 15vw;
    height: 12vh;
    display: flex;
    align-items: center;
  }

  .btn-large-text {
    font-size: 1.4rem;
    letter-spacing: 2.5px;
  }

  .hero-frontpage-text {
    font-size: 3rem;
    line-height: 2.5rem;
  }

  .hero-frontpage-text2 {
    font-size: 1.75rem;
    line-height: 2rem;
  }
}

/* Large devices (≥992px) */
@media (min-width: 992px) {
  #logo-box {
    width: 12vw;
    height: 12vh;
    display: flex;
    align-items: center;
  }

  .btn-large-text {
    font-size: 1.5rem;
    letter-spacing: 2.5px;
  }

  .hero-frontpage-text {
    font-size: 3.5rem;
    line-height: 3rem;
  }

  .hero-frontpage-text2 {
    font-size: 2rem;
    line-height: 2rem;
  }
}

/* Extra large devices (≥1200px) */
@media (min-width: 1200px) {
  .btn-large-text {
    font-size: 1.6rem;
    letter-spacing: 2.8px;
  }

  .hero-frontpage-text {
    font-size: 4rem;
    line-height: 3.5rem;
  }

  .hero-frontpage-text2 {
    font-size: 2.5rem;
    line-height: 2.2rem;
  }
}

/* Extra extra large devices (≥1400px) */
@media (min-width: 1400px) {
  .btn-large-text {
    font-size: 1.7rem;
    letter-spacing: 3px;
  }

  .hero-frontpage-text {
    font-size: 4.5rem;
    line-height: 4rem;
  }

  .hero-frontpage-text2 {
    font-size: 2.75rem;
    line-height: 2.4rem;
  }
}
