:root {
  --bg: #0f0f0f;
  --dim: #666;
  --highlight: #fff;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #050505; /* Black background */
  color: #fff; /* White text */
  font-family: "Graduate", serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--highlight);
  overflow-x: hidden;
  height: 200vh;
}

h1,
h2 {
  font-family: "Graduate", serif;
}

.hero-1-text {
  font-size: 5rem; /* Base size for medium screens */
  text-align: center;
  max-width: 40vw;
}

@media (max-width: 1200px) {
  .hero-1-text {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-1-text {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-1-text {
    font-size: 1.6rem;
  }
}

h3,
h4,
h5,
h6 {
  font-family: "Segoe UI", sans-serif;
  color: #fff;
}

p {
  color: white;
  font-family: "Segoe UI", sans-serif;
}

a {
  color: #fff;
  text-decoration: underline;
}

a:hover {
  color: #ccc;
}

.btn-primary {
  background-color: #fff;
  color: #000;
  border: none;
}

.btn-primary:hover {
  background-color: #ccc;
  color: #000;
}

a:focus,
button:focus {
  outline: 2px solid #888;
  outline-offset: 2px;
}

.custom-navbar {
  background-color: #000;
  padding: 1.7rem;
  border-bottom: 1px solid #333;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* ensure it stays on top of all content */
}

.custom-navbar .navbar-brand {
  font-family: "Graduate", serif;
  font-weight: 800;
  color: #fff;
  font-size: 2rem;
  text-transform: uppercase;
}

.custom-navbar .nav-link {
  font-family: "Graduate", serif;
  color: #f5f5f5;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #969696;
}

.navbar-toggler {
  border-color: #fff;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Show dropdown menu on hover for admin */
/* Hover-trigger for Bootstrap dropdown */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* align correctly */
}

.dropdown-menu {
  transition: opacity 0.3s ease;
}

/* Optional: keep open a little longer after hover ends */
.navbar .dropdown-menu {
  pointer-events: auto;
}

.main-container {
  padding-top: 90px;
}

.alert {
  color: black;
  background-color: rgb(246, 246, 246, 0.8);
  width: 60%;
}

.table {
  color: #fff;
  background-color: #111;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #222;
}

input,
textarea,
select {
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
}

input::placeholder,
textarea::placeholder {
  color: #888;
}

/* index.html Hero Scroll Section */
/* Sticky Quote Section */

.hero {
  position: relative;
  width: 100%;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
  /* padding: 0 2rem; */
}

.hero-1 {
  background: linear-gradient(to bottom, rgb(25, 25, 25), var(--bg));
  color: white;
  z-index: 2;
  position: relative;
  border-bottom: 0.8px solid rgb(255, 255, 255, 0.2);
  margin-top: -90px;
}

.hero-1::after {
  content: "";
}

.hero-wrapper {
  position: relative;
  z-index: 0;
}

/* Hero 2 sits behind and is fixed */
.hero-2 {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  height: 100vh;
  width: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.hero-2 .content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
  width: 95vw;
  border-left: 0.8px solid rgba(255, 255, 255, 0.3);
  border-right: 0.8px solid rgba(255, 255, 255, 0.3);
}

.scroll-container {
  position: relative;
  z-index: 2;
  height: 300vh; /* ensure long enough to scroll */
  border-bottom: 0.8px solid rgb(255, 255, 255, 0.2);
}

.scroll-quote {
  max-width: 60ch;
  font-size: 2rem;
  text-align: center;
  line-height: 1.6;
  padding: 0 2rem;
}

.word {
  color: var(--dim);
  transition: color 0.3s ease;
  display: inline-block;
  margin: 0 0.2rem;
}

.section-button .login-dashboard {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.login-dashboard {
  z-index: 20;
  position: relative;
}

.plane {
  position: absolute;
  bottom: -45%;
  left: 0;
  max-width: 60vw; /* Responsive width */
  width: 100%;
  z-index: 5;
  pointer-events: none;
}

.left-offset-start {
  left: -10vw;
}

.privacy {
  background-color: #fff;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
  color: #222;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
}

.privacy h1,
.privacy h2 {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  color: #111;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.privacy h2 {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(
    1.4rem,
    3vw,
    2rem
  ); /* responsive between mobile and desktop */
}

.privacy p {
  color: #111;
}

.privacy ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy ul li {
  margin-bottom: 0.5rem;
}
