:root {
  --green: #1c3b2c;
  --orange: #c46a1d;
  --light: #f5f5f5;
  --dark: #0f1f14;
}

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

body {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--green);
  color: white;
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.3s;
}

.navbar nav a:hover {
  color: var(--orange);
}

/* Hero Section */
.hero {
  background: url("../images/hero-sawyer.jpg") center/cover no-repeat;
  position: relative;
  color: white;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.55);
  padding: 3rem;
  border-radius: 12px;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn {
  background: var(--orange);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: #a75b18;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  text-align: center;
  color: var(--green);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--light);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.card h3 {
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.uas-img {
  width: 100%;
  border-radius: 10px;
  margin: 1rem 0;
}

/* Outcomes Section */
.outcomes ul {
  list-style: disc;
  margin: 1rem 0 0 2rem;
}

/* Contact */
.contact a {
  color: var(--orange);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .navbar {
    flex-direction: column;
  }

  .navbar nav {
    margin-top: 0.5rem;
  }
}

/* =============================
   Home Ignition Zone (HIZ) component
   ============================= */
.hiz-container {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
}

.hiz-question {
  font: inherit;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background-color: var(--green);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color .25s ease, transform .05s ease;
}
.hiz-question:hover { background-color: #2e6045; }
.hiz-question:active { transform: scale(0.99); }
.hiz-question:focus-visible {
  outline: 2px solid #9bd3b1; outline-offset: 2px;
}

.hiz-info-box {
  visibility: hidden;
  opacity: 0;
  width: min(90vw, 340px);
  background-color: #fefefe;
  color: #222;
  text-align: left;
  border-radius: 12px;
  padding: 1rem;
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, -6px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.hiz-info-box::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #fefefe transparent;
}

.hiz-diagram {
  width: 100%;
  border-radius: 8px;
  margin-bottom: .6rem;
}

@media (hover: hover) and (pointer: fine) {
  .hiz-container:hover .hiz-info-box {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.hiz-container.open .hiz-info-box {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 420px) {
  .hiz-container { display: block; }
  .hiz-info-box { left: 0; transform: translate(0, -6px); width: 100%; }
  .hiz-container.open .hiz-info-box { transform: translate(0, 0); }
}

/* ==== HIZ visibility overrides (strong) ==== */
.hiz-container > .hiz-info-box {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .hiz-container:hover > .hiz-info-box {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
  }
}

.hiz-container.open > .hiz-info-box {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}
.hiz-link {
  color: #1c3b2c;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(28,59,44,0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hiz-link:hover {
  color: #2e6045;
  border-color: #2e6045;
}
.hiz-info-box.hovering {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
