@font-face {
  font-family: 'Figra';
  font-style: normal;
  src:url('./assets/fonts/Figra.ttf') format('truetype');
}

@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  src:url('./assets/fonts/AlbertSans/AlbertSans-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 700;
  src: url('./assets/fonts/AlbertSans/AlbertSans-Black.otf') format('opentype');
}

* {
  margin: 0;
  margin-top: 6px;
  padding: 0;
  /*outline: 1px solid red;*/
}

:root {
  /*default colors*/
  --primary-background-color: #FFFFFF;
  --primary-text-color: #000000;

  /*dark background light text for footer and download buttons*/
  --secondary-text-color: #ECECEC;
  --secondary-background-color: #002922;

  --highlight-button-color: #CBDAF5;

  --font-size-base: 16px;
  --padding: 1rem;
  --header-height: 100px;
  --footer-height: 100px;

  --page-margin: 100px;
}


@media (max-width: 1200px) {
  :root {
    --page-margin: 20px; /* Smaller margins on small screens */
  }
}

@media (max-width: 480px) {
  :root {
    --page-margin: 10px; /* Even smaller margins for mobile */
  }
}


ul {
  margin: 16px 50px;
  list-style-type: disc;
}

li {
  display: list-item;
  margin-right: 16px;
}

ol {
  padding-left: 1em; /* Ensure room for list marker (like "b.") */
  margin-top: 14px;
  margin-bottom: 20px;
}

.no-prefix {
  list-style-type: none;
  margin-top: 14px;
  margin-left: -1em;
  margin-bottom: 20px;
}

h1, h2{

  font-family: 'Figra', sans-serif;
}

h4{
  font-family: 'Albert Sans', sans-serif;
  font-weight: bold;
}

p {
  margin-right: 50px;
}

a {
  text-decoration: none;
}

a.page-nav-link-mobile:visited{
  color: purple !important; /* Replace with your desired color */
}

a:visited {
  color: mediumpurple !important; /* Replace with your desired color */
}

a.email-link {
  color: var(--secondary-text-color); /* Match general 'a' style */
  text-decoration: none; /* Match general 'a' style */
}

/* Ensure visited state for email link */
.email-link:visited {
  color: mediumpurple !important; /* Match a:visited */
}

body {
  min-height: 100vh;
  font-family: 'Albert Sans', sans-serif;
  font-size: var(--font-size-base);
  margin-left: 60px;
}

.join-the-waitlist {
  margin-top: 0;
  flex: 0 0 auto;
  width: 160px;
  height: 40px;
  font-family: 'Albert Sans', sans-serif;
  border-radius: 16px;
  padding: 8px 16px;
  background: var(--secondary-background-color);
  color: var(--secondary-text-color)
}

.header::before {
  margin-top: 0;
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-image: url('./assets/PNG/images/gradient_rectangle.png');
  background-size: cover; /* Ensures image covers entire element */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat;
  opacity: 0.4; /* 40% opacity for the background image only */
  z-index: -1; /* Places the background behind the content */
}

.header
{
  margin-top: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  background-color: var(--primary-background-color);
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  align-items:  center;
  z-index: 1000; /* ensure it stays on top */
}

.header-download{
  margin-top: 0;
  margin-right: 100px;
}

.mobile-header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-image: url('./assets/PNG/images/gradient_rectangle.png');
  background-size: cover; /* Ensures image covers entire element */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat;
  opacity: 0.4; /* 40% opacity for the background image only */
  z-index: -1; /* Places the background behind the content */
}

.mobile-header
{
  display: none;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  background-color: var(--primary-background-color);
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  align-items:  center;
  z-index: 1000; /* ensure it stays on top */
}

.mobile-menu-button {
  display: none;
  font-size: 32px;
  cursor: pointer;
  user-select: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  margin-right: 16px;
}

/* Mobile dropdown menu (hidden by default) */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 60px;
  right: 0;
  bottom: 0;          /* stretches box to the bottom */
  background-color: #FFFFFF;
  border-radius: 16px;
  width: 200px;
  overflow: auto;   /* ensures any contents are clipped and not shown. */
  transition: transform 0.3s ease;
  transform: translateX(100%);  /* start off-screen to the right */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* When open */
.mobile-dropdown.open {
  transform: translateX(0);  /* slide in to visible */
  max-height: 100%;
}

/* Responsive rules */
@media (max-width: 886px) {
  .header {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .mobile-menu-button {
    display: block;
  }

}

.page-nav-link-mobile {
  display: flex;
  margin-top: 20px;
  margin-bottom: 20px;
  justify-content: flex-end;
  text-align: right;
  padding-right: 20px;       /* Optional spacing from the edge */
  flex: none;
  color: #002922;
}

.page-nav-links {
  margin-top: 0;
  display: flex;
  gap: 100px;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: var(--primary-text-color);
}

.page-nav-link{
  margin-top: 0;
  color: var(--primary-text-color);
  font-weight: 400;
}

.content{
  display:flex;
  flex-direction: column;
  overflow-y: auto; /*hide unhide the scrollbar*/
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height)); /* Ensure content fills viewport */
}



#join-offer-box{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  border-radius: 20px;
  background-color: white;
  padding: 32px;
  border: 1px solid var(--highlight-button-color);
}


html { scroll-behavior: smooth; }

