* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  --menu-color: white;
  --botton-border-color: rgba(255, 255, 255, 0.2);
  --menu-invert-color: black;
}

::-moz-selection { /* Code for Firefox */
  color: black;
  background: #FFCF73;
}

::selection {
  color: black;
  background: #FFCF73;
}

body {
  background-color: white;
  width: 100%;
  overflow-x: hidden;
}

/* Define colors for the light theme */
.light-theme {
  --menu-color: black;
  --botton-border-color: rgba(0, 0, 0, 0.2);
  --menu-invert-color: white;
}

.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    /*height: calc(100vh - 84px);*/
    height: 64vh;
    padding: 0 64px;
}

.hero-background-video {
    position: absolute;
    top: -84px;
    left: 0;
    width: 100%;
    height: calc(100% + 84px);
    object-fit: cover; /* Ensures the video covers the entire area */
    object-position: center; /* Centers the video content */
    z-index: -1; /* Places the video behind other content */
}

.hero-content-container {
    width: 100%;
    padding: 0 0 64px 0;
}

.hero-content-container > h1 {
    color: rgba(255, 255, 255, 0.5);
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 160%; /* 31.2px */
    letter-spacing: -0.48px;
    max-width: 336px;
}

.hero-content-container > h1 > span {
  color: rgba(255, 255, 255, 1);
}

/* Navigation Bar */

header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 15;
    width: 100%;
    height: 84px;
}

.site-logo > svg {
  height: 40px;
  fill: white;
}

.site-logo {
    position: fixed;
    top: 24px;
    left: 32px;
    z-index: 30;
    mix-blend-mode: difference;
    height: 40px;
    overflow: hidden; /* Prevent accidental overflow from scaling */
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s ease;
    padding: 0 0 0 32px;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: black;
  opacity: 0%;
  transition: ease 0.5s;
  pointer-events: none;
}

/* Default state: No ::before applied */
.navbar.menu-overlay::before {
  opacity: 50%;
  transition: ease 0.5s;
    pointer-events: none;
}

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
}

.sidebar-container {
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

/* Menu */

.menu-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 48px;
    transition: 0.2s ease;
    --underline-width: 0;
    --underline-offset-x: 0;
    list-style: none;
    padding: 0 16px 0 32px;
}

.menu-container::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: var(--underline-width);
  transform: translateX(var(--underline-offset-x));
  background-color: var(--menu-color);
  transition: transform 0.5s, width 0.5s;
  border-radius: 4px;
}

.menu-container:hover > li > .menu-item {
  opacity: 0.5;
}

.menu-container:hover > li > .menu-item:hover {
  opacity: 1;
}

.menu-item {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--menu-color);
    text-decoration: none;
    padding: 32px 0;
    transition: 0.2s ease;
    background: none;
    border: none;
    stroke: var(--menu-color);
    font-family: Montserrat ,sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.menu-item > svg {
    width: 20px;
}

.nav-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.nav-cta-btn {
  position: relative;
  border: 1px solid var(--botton-border-color);
  padding: 14px 24px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.nav-cta-label {
  position: relative;
  font-family: Montserrat ,sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--menu-color);
  transition: color 0.3s ease-out;
  z-index: 1;
}

.nav-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 225%;
  min-height: 225%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--menu-color);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease-out;
}

/* Nav Button Hover Styles */
.nav-cta-btn:hover .nav-cta-label {
  color: var(--menu-invert-color);
}
.nav-cta-btn:hover .nav-cta-bg {
  transform: translate(-50%, -50%) scale(1);
}

/* Sticky Nav */

.sticky {
  top: 0;
  width: 100%;
  transition: 0.2s ease;
}

.sticky .menu-container {
    background-color: white;
    padding: 0 16px 0 32px;
}

.sticky .menu-item {
  padding: 24px 0;
  transition: 0.2s ease;
  color: black;
  stroke: black;
}

.sticky .menu-container {
  gap: 48px;
}

.sticky .menu-container::before {
  background-color: black;
}

.sticky .menu-container > a::after {
  bottom: 0px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.0);
  transition: 0.2s ease;
}

.sticky .menu-container > a:hover::after  {
  border-bottom: 2px solid rgba(0, 0, 0, 1);
  transition: 0.2s ease;
}

.sticky .menu-btn:before {
background-color: black;
}

.sticky .menu-btn:after {
background-color: black;
}

.sticky .burger-container {
  background-color: white;
}

.sticky .nav-cta-btn {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 14px 24px;
  overflow: hidden;
  cursor: pointer;
}

.sticky .nav-cta-label {
  position: relative;
  font-family: Montserrat ,sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: black;
  transition: color 0.3s ease-out;
  z-index: 1;
}

.sticky .nav-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 225%;
  min-height: 225%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: black;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease-out;
}


/* Nav Button Hover Styles */
.sticky .nav-cta-btn:hover .nav-cta-label {
  color: white;
}
.sticky .nav-cta-btn:hover .nav-cta-bg {
  transform: translate(-50%, -50%) scale(1);
}


/* Burger */

.burger {
    display: none;
}

/* Burger Menu */

.burger-container {
  right: 0;
  padding: 27px 21px;
  z-index: 5;
}

.menu-btn {
  display: block;
  width: 30px;
}

.menu-btn:before,
.menu-btn:after {
  background-color: var(--menu-color);
  content: '';
  display: block;
  height: 1.5px;
  transition: all 200ms ease-in-out;
}
.menu-btn:before {
  margin-bottom: 6px;
}
.burger-active:before {
  background-color: black;
  transform: translateY(5px) rotate(45deg);
}
.burger-active:after{
  background-color: black;
  transform: translateY(-3px) rotate(-45deg);
}


@media only screen and (max-width: 880px) {

  .menu-container::before {
    display: none;
  }

  .hero-section {
    position: static;
    padding: 0 24px;
    height: calc(85vh - 72px);
  }

  .hero-background-video {
    position: absolute;
  }

  .hero-content-container {
    padding: 0 0 32px 0;
  }

  .hero-content-container > h1 {
    font-size: 20px;
    line-height: 150%; /* 27px */
    letter-spacing: -0.4px;
    width: 300px;
  }


  /* Sidebar */

    .sidebar-container {
      position: fixed;
      z-index: 1;
      top: 0px;
      right: 0px;
      width: 0;
      height: 100dvh;
      overflow-x: hidden;
      background-color: white;
      flex-direction: column;
      transition: 0.5s ease-in-out;
    }

    .menu-container {
      position: absolute;
      right: 0;
      flex-direction: column;
      height: calc(100% - 74px);
      width: 272px;
      gap: 24px !important;
    }

    .sticky .menu-container {
      height: calc(100% - 74px);
      width: 272px;
      gap: 24px !important;
    }

    .sidebar-active {
      transition: 0.5s ease-in-out;
      width: 272px;
    }


    .outlined {
      border: 1px solid rgba(0, 0, 0, 0.8);
      color: black;
      transition: 0.2s ease;
    } 

    .menu-item {
      display: flex;
      gap: 16px;
      align-items: center;
      color: black;
      font-size: 20px;
      width: 100%;
      text-align: left;
      stroke: black;
      padding: 32px 0;
    }

    .sticky .menu-item {
      padding: 32px 0;
      transition: 0.2s ease;
      color: black;
      stroke: black;
    }

    .sticky .btn {
      padding: 16px 20px;
    }

    .menu-item > svg {
      width: 24px;
    }

    /* Sidebar Menu Line */

    .menu-item::before {
      content: '';
      position: absolute;
      left: -60px;
      width: 0px;
      height: 2px;
      background-color: black;
      transition: 0.5s ease-in-out;
    }

    .menu-item:hover::before {
      content: '';
      position: absolute;
      left: -60px;
      width: 40px;
      height: 2px;
      background-color: black;
      transition: 0.2s ease-in-out;
    }

    .menu-item:hover {
      transform: translateX(10px);
    }

    .dropdown-content {
      display: flex;
      position: static;
      box-shadow: none;
    }

    .dropdown-content > a {
      padding: 15px 40px !important;
    }

    .menu-container > a::after {
      border-bottom: 2px solid rgba(0, 0, 0, 0.0);
    }
  
    .menu-container > a:hover::after  {
      border-bottom: 2px solid rgba(0, 0, 0, 0.0);
    }

    .nav-container {
      width: 100%;
      justify-content: end;
    }

    .nav-button-container {
      flex-direction: column;
      position: absolute;
      bottom: 24px;
      left: 0;
      width: 100%;
      padding: 0 24px;
    }

    .nav-button-container .btn{
      display: flex;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(0, 0, 0, 0.2);
      padding: 24px 24px;
      width: 100%;
    }

    .nav-cta-label {
      text-align: center;
      font-size: 20px;
      color: black;
    }
    
    .nav-cta-bg {
      background-color: black;
    }

    .sticky .nav-button-container {
      position: absolute;
      bottom: 24px;
      left: 0;
      width: 100%;
      padding: 0 24px;
    }

    .sticky .nav-cta-btn {
      display: flex;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(0, 0, 0, 0.2);
      padding: 24px 24px;
      width: 100%;
    }
    
    .sticky .nav-cta-label {
      text-align: center;
      font-size: 20px;
      color: black;
    }
    
    .sticky .nav-cta-bg {
      background-color: black;
    }

    .menu-container > li {
      transform: translateY(-50%);
    }


}

/* Large devices (laptops/desktops, 993px and up) */
@media only screen and (min-width: 880px) {
    .burger-container {
      display: none;
  }
}