:root {
  --primary-color: #0072ab;
  --secondary-color: #BED4DE;
  --white: #ffffff;
  --text-dark: #202020;
}

/* ------------------- GLOBAL ------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: "Montserrat", Helvetica, sans-serif;
  width: 100%;
  height: 100%;
  line-height: 1.6;
}

a { color: var(--primary-color); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: (--secondary-color); text-decoration: underline; }

/* --- HEADINGS --- */
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  margin: 0 0 0.6em 0;
  color: #1a1a1a;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3rem); font-weight: 700; letter-spacing: -0.02em; text-align: center; }
h2 { font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem); font-weight: 600; border-bottom: 2px solid #e6e6e6; padding-bottom: 0.2em; }
h3 { font-size: clamp(1.2rem, 1.2vw + 0.5rem, 1.6rem); font-weight: 500; }

h1 span, h2 span, h3 span { color: #0066cc; }

strong {
  display: inline !important;
  font-weight: 700;
  color: var(--primary-color);
  word-break: normal;
}

/* ------------------- START CONTAINER ------------------- */
.start {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  background-color: var(--secondary-color);
  background-image: url('../img/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.content-page {
  background-color: var(--secondary-color);
}

/* ------------------- NAVBAR ------------------- */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background-color: var(--primary-color);
  height: 74px;
  position: relative;
  z-index: 20;
}

.navbar .logo {
  height: 50px;
  max-width: 40%;
  object-fit: contain;
}

.navbar .user-icon {
  height: 28px;
  width: 28px;
  object-fit: contain;
}

/* Nav links (desktop) */
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
  transition: color 0.2s ease;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  overflow: hidden;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  transition: width 0.3s ease, opacity 0.3s ease, left 0.3s ease;
  opacity: 0;
  transform: translateX(5px);
}

.nav-links a:hover {
  color: #d7ecf6;
}

.nav-links a:hover::after {
  width: 100%;
  opacity: 1;
  transform: translateX(0);
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  z-index: 25;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--white);
  border-radius: 2px;
}

.menu-close {
  display: none;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 60px;
  color: #fff;
  cursor: pointer;
  z-index: 30;
}

/* ------------------- CONTENT ------------------- */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  width: 100%;
  flex: 1;
}

/* ------------------- CENTER MODULE ------------------- */
.center-module {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  padding: 48px 32px;
  margin: 32px 16px 0 0;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  width: 90%;
  max-width: 1280px;
  /* text-align: center; */
}

.start .center-module {
  width: 60%;
}

.center-module .header-text {
  font-weight: 600;
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.center-module .sub-text {
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-color);
  line-height: 36px;
  white-space: nowrap;
}

.center-module p {
  padding: 12px 0;
}

.content-center-module {
  text-align: left;
}

/* ------------------- BUTTONS ------------------- */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: center;
}

.buttons .home-navigation-btn {
    width:100%;
  }

.button {
  all: unset;
  box-sizing: border-box;
  width: 350px;
  max-width: 90%;
  margin:0 auto;
  height: 46px;
  background-color: var(--primary-color);
  border-radius: 6px;
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #71BCE2;
  transform: translateY(-2px);
}

.button:active {
  background-color: #71BCE2;
  transform: translateY(0);
}

.need-help-click-here {
  margin-top: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.text-link {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ------------------- CHECKMARK LIST ------------------- */
.checklist { list-style: none; padding: 0; margin: 1em 0; text-align: left; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 900;
}

/* ------------------- FOOTER ------------------- */
.footer {
  /* background-color: #808080; */
  color: #000;
  text-align: center;
  padding: 30px 20px;
  /* border-top: 1px solid #ddd; */
}

.footer-logo img,
.footer-secondary-logo img { width: auto; max-height: 60px; }

.footer-links { margin-top: 15px; font-size: 0.95rem; line-height: 1.6; }
.footer-links a { color: var(--primary-color); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--primary-color); text-decoration: underline; }

.footer-disclaimer { margin-top: 15px; font-size: 0.85rem; color:#333; max-width: 700px; margin: 15px auto 0 auto; }

.start .footer {
  width: 100%;
  background-color: var(--secondary-color);
}

/* ------------------- INSTRUCTIONS ------------- */

.img-shadow {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* ------------------- TABLET ------------------- */
@media (max-width: 992px) {
  .navbar { padding: 0 20px; }
  .center-module { width: 95%; padding: 16px; margin:32px 0 0 0;}
  .header-text { font-size: 22px; }
  .button { width: 90%; }

  .navbar .logo { height: 40px; max-width: 60%; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    height: calc(100% - 74px);
    background-color: #0072ab;
    gap: 0;
    align-items: center;
    z-index: 15;
  }
  .navbar.active .nav-links { display: flex; }
  .navbar.active .menu-toggle { display: none; }
  .navbar.active .menu-close { display: block; }
  .nav-links a {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 32px 0;
    width: 100%;
    text-align: center;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links a:last-child { border-bottom: none; }
}

/* ------------------- MOBILE ------------------- */
@media (max-width: 576px) {
  
  .center-module { width: 95% !important; max-width: 95% !important; padding: 16px; }
  .header-text { font-size: 20px; }
  .button { width: 90%; }
  .content { padding: 0 8px; }
}
