/* =========================
   FONT & DESIGN TOKENS
   ========================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
  /* Layout */
  --header-height: 3rem;

  /* Typography */
  --body-font: "Poppins", sans-serif;
  --font-semi: 600;
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: 0.938rem;
  --smaller-font-size: 0.75rem;

  /* Colors */
  --first-color: #f93f22;   /* accent (Skynett red/orange) */
  --second-color: #c1c2c5;  /* body text */

  /* Spacing */
  --mb-2: 1rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /* Z-index */
  --z-back: -10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
    --smaller-font-size: 0.875rem;
  }
}

/* =========================
   BASE
   ========================= */
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--second-color);
  background-color: #25262b;
}

.l-main {
  padding-top: 4rem; /* pushes content below fixed navbar */
}

h1,
h2,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   GRID LAYOUT
   ========================= */
.bd-grid {
  max-width: 1024px;
  display: grid;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

@media screen and (min-width: 992px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================
   HEADER & NAV
   ========================= */
.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: #1a1b1e;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.15);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-semi);
}

.nav__logo {
  display: flex;
  align-items: center;
  color: var(--second-color);
}

.nav__logo-img {
  height: 2.5rem;
  object-fit: contain;
  display: block;
}

.nav__item {
  margin-bottom: var(--mb-4);
}

.nav__link {
  position: relative;
  color: #ffffff;
}

/* hover underline */
.nav__link:hover::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: red;
}

/* active link underline */
.active::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--first-color);
}

/* mobile burger */
.nav__toggle {
  color: var(--second-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================
   HOW TO DROPDOWN (DESKTOP)
   ========================= */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1a1b1e; /* matches navbar */
  border-radius: 0.25rem;
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 1000;
}

/* Desktop: show dropdown on hover */
.nav__item--dropdown:hover .nav__dropdown {
  display: block;
}

.nav__dropdown-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: var(--normal-font-size);
  text-decoration: none;
  color: var(--second-color);
  white-space: nowrap;
}

.nav__dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.nav__dropdown-icon {
  font-size: 1rem;
  margin-left: 0.25rem;
}

/* =========================
   MOBILE NAV
   ========================= */
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: #1a1b1e;
    transition: 0.5s;
  }
}

/* =========================
   DESKTOP NAV
   ========================= */
@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background-color: transparent;
  }

  .nav__list {
    display: flex;
    padding-top: 0;
  }

  .nav__item {
    margin-left: var(--mb-6);
    margin-bottom: 0;
  }

  .nav__toggle {
    display: none;
  }

  .nav__link {
    color: var(--second-color);
  }

  /* Desktop: hide Home from top nav (mobile-only item) */
  .nav__item--home {
    display: none;
  }
}

/* =========================
   MOBILE: FLATTEN DROPDOWN
   ========================= */
@media screen and (max-width: 768px) {
  .nav__item--dropdown {
    width: 100%;
  }

  /* Hide the "How to" label and chevron on mobile –
     we just show the children as a flat list */
  .nav__item--dropdown > .nav__link,
  .nav__dropdown-icon {
    display: none;
  }

  .nav__dropdown {
    position: static;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    display: block; /* always visible in mobile menu */
    margin: 0;
  }

  .nav__dropdown-link {
    display: block;
    padding: 0.5rem 0;
    font-size: var(--normal-font-size);
    color: var(--second-color);
  }
}

/* =========================
   SIDE NAV (legacy / unused)
   ========================= */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: whitesmoke;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* =========================
   HOME / MAIN CONTENT
   ========================= */
.home {
  position: relative;
  row-gap: 3rem;
  padding: 1rem 0 3rem;
}

.home__data {
  align-self: center;
}

.home__title {
  font-size: var(--big-font-size);
  margin-bottom: var(--mb-5);
}

.home__title-color {
  color: var(--first-color);
}

/* wrapper div you used */
.GettingStarted {
  margin-bottom: var(--mb-4);
}

/* responsive spacing tweaks */
@media screen and (max-width: 320px) {
  .home {
    row-gap: 2rem;
  }
}

@media screen and (min-width: 576px) {
  .home {
    padding: 4rem 0 2rem;
  }
}

@media screen and (min-width: 768px) {
  .home {
    padding: 8rem 0 2rem;
  }
}

/* =========================
   FAQ TEXT BLOCKS
   ========================= */
.FAQ__subtitle {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  color: #ffffff;
}

.FAQ__text {
  line-height: 1.6;
  margin-bottom: var(--mb-4);
  color: var(--second-color);
}

/* =========================
   BUTTONS
   ========================= */
.button {
  display: inline-block;
  font-size: 0.9rem;
  background-color: var(--first-color);
  color: #ffffff;
  padding: 0.75rem 2.5rem;
  font-weight: var(--font-semi);
  border-radius: 0.5rem;
  transition: 0.3s;
}

.button:hover {
  box-shadow: 0px 10px 36px rgba(0, 0, 0, 0.15);
}

.Nextbutton {
  background-color: var(--first-color);
  color: #ffffff;
  padding: 0.75rem 2.5rem;
  font-weight: var(--font-semi);
  margin-top: 20px;
  margin-bottom: 10px;
  border-radius: 0.5rem;
  transition: 0.3s;
  display: inline-block;
}

.Nextbutton:hover {
  box-shadow: 0px 10px 36px rgba(0, 0, 0, 0.15);
}

/* Inline <a> button */
.inline-btn {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.2s ease;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.inline-btn:hover {
  background-color: #ff5d3b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* =========================
   MATERIAL ICONS
   ========================= */
.material-symbols-outlined {
  font-size: 30px;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background-color: #1a1b1e;
  color: #ffffff;
  text-align: center;
  font-weight: var(--font-semi);
  padding: 2rem 0;
}

.footer__title {
  font-size: 2rem;
  margin-bottom: var(--mb-4);
}

.footer__social {
  margin-bottom: var(--mb-4);
}

.footer__icon {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 var(--mb-2);
}

.footer__copy {
  font-size: var(--smaller-font-size);
}

/* =========================
   REQUESTING HOW-TO PAGE
   ========================= */
.howto {
  padding: 2rem 1.5rem 3rem;
  max-width: 1200px;
  margin: 90px auto 0;
}

@media (max-width: 768px) {
  .howto {
    margin-top: 75px;
  }
}

.howto__intro {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 1rem;
  opacity: 0.75;
}

.howto__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

/* 2 columns on tablets */
@media (min-width: 768px) {
  .howto__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 3 columns on desktop */
@media (min-width: 1024px) {
  .howto__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* STEP CARD STYLE */
.howto__step {
  background: #202126;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.howto__step h2 {
  color: #e94e2f;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.howto__step p {
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.9;
}

.howto-img {
  margin-top: 0.75rem;
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: contain;
}

.howto__divider {
  margin: 3rem 0 1rem;
  opacity: 0.15;
}

/* =========================
   PURE CSS MOBILE NAV TOGGLE
   ========================= */

/* Hide the checkbox */
.menu-toggle {
  display: none;
}

/* When the checkbox is ON, reveal the mobile menu */
.menu-toggle:checked ~ .nav__menu {
  right: 0 !important;
}
