@import 'https://sbts.evaluationkit.com/canvas/css';

.btngold {
  align-items: center;
  appearance: none;
  background: #b98e2b; /* gold */
  border: 0;
  border-radius: 0;
  color: #FFFFFF !important; /* force white text */
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: .875rem;
  gap: 10px;
  justify-content: center;
  letter-spacing: .05em;
  padding: .78em 1.39em;
  text-align: center;
  text-decoration: none !important; /* force no underline */
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btngold:hover {
  background: #a77400;
  color: #ffffff !important;
  text-decoration: none !important; /* prevent underline on hover */
  transform: scale(1.02);
}



.btnblue {
  align-items: center;
  appearance: none;
  background: #09538c; /* blue */
  border: 0;
  border-radius: 0;
  color: #FFFFFF !important; /* force white text */
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: .875rem;
  gap: 10px;
  justify-content: center;
  letter-spacing: .05em;
  padding: .78em 1.39em;
  text-align: center;
  text-decoration: none !important; /* force no underline */
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btnblue:hover {
  background: #072743;
  color: #ffffff !important;
  text-decoration: none !important; /* prevent underline on hover */
  transform: scale(1.02);
}


.boycenav {
  font-weight: bold;
  font-size: 1.2rem;
  color: #ffffff !important; /* White */
  text-decoration: none !important; /* No underline */
  cursor: pointer;
  border-bottom: 3px solid transparent; /* No underline by default */
  transition: border-color 0.2s;
  padding: 0.2em 0.4em;
  margin: 0.3em 0;
}

.boycenav:hover {
  border-bottom: 3px solid #d52631 !important; /* Red underline on hover */
  color: #ffffff !important;
}



.boycenav-dark {
  font-weight: bold;
  font-size: 1.2rem;
  color: #273941 !important; /* Dark */
  text-decoration: none !important; /* No underline */
  cursor: pointer;
  border-bottom: 3px solid transparent; /* No underline by default */
  transition: border-color 0.2s;
  padding: 0.2em 0.4em;
  margin: 0.3em 0;
}

.boycenav-dark:hover {
  border-bottom: 3px solid #d52631 !important; /* Red underline on hover */
  color: #273941 !important; /* Dark */
}



.parallaximage {
  /* Parallax behavior */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Adjust height */
  min-height: 400px;


}

.imagehover {
  transition: transform 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.imagehover:hover {
  transform: scale(1.05);
}

.hero-bg {
  position: fixed
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none;          /* absolutely no blocking */
  z-index: -1;                   /* behind page content */
}
/* Objective tooltip tag */
.objective-tag {
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-weight: 600;
  color: #37765B;                 /* tweak to match your brand */
  text-decoration: underline;
  text-decoration-style: dotted;  /* dotted underline cue */
  text-underline-offset: 2px;
  outline: none;
}

/* Show tooltip on hover, focus (keyboard), or while active (touch) */
.objective-tag:hover::after,
.objective-tag:focus-visible::after,
.objective-tag:active::after,
.objective-tag:hover::before,
.objective-tag:focus-visible::before,
.objective-tag:active::before {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Tooltip bubble */
.objective-tag::after {
  content: attr(data-obj);
  position: absolute;
  left: -18px;                    /* moved 20px left */
  top: calc(100% + 8px);
  z-index: 9999;
  min-width: 145px;               /* ensures more room for text */
  max-width: min(95vw, 460px);    /* increased width by ~20px and gives flexibility */
  padding: 0.6rem .9rem;
  border-radius: 0.5rem;
  background: #111;
  color: #fff;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.35;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
  white-space: normal;            /* wrap long text */
  word-wrap: break-word;          /* ensures long words break properly */
}

/* Little arrow */
.objective-tag::before {
  content: "";
  position: absolute;
  left: 35px;                     /* restored to original alignment */
  top: 100%;
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #37765B transparent transparent transparent;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}
.objective-tag::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 100%;
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #111 transparent transparent transparent;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}

/* High-contrast mode & reduced motion niceties */
@media (prefers-reduced-motion: reduce) {
  .objective-tag::after,
  .objective-tag::before {
    transition: none;
  }
}
@media (forced-colors: active) {
  .objective-tag { text-decoration-style: solid; }
  .objective-tag::after {
    background: CanvasText;
    color: Canvas;
    border: 1px solid CanvasText;
  }
  .objective-tag::before { display: none; }
}

/* Optional: spacing when you list several objectives inline */
.objective-list .objective-tag + .objective-tag::before,
.objective-list .objective-tag + .objective-tag::after {
  margin-left: .15rem;
}


/* Default: tooltip boxes don't catch the mouse */
.objective-tag::after,
.objective-tag::before {
  pointer-events: none;     /* << key fix */
  visibility: hidden;       /* avoid invisible boxes being â€œthereâ€ */
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 0s linear 120ms;
}

/* Show only when the tag itself is hovered/focused/active */
.objective-tag:hover::after,
.objective-tag:focus-visible::after,
.objective-tag:active::after,
.objective-tag:hover::before,
.objective-tag:focus-visible::before,
.objective-tag:active::before {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  /* keep pointer-events: none; so moving into the bubble doesn't keep it open */
  transition: opacity 120ms ease, transform 120ms ease, visibility 0s;
}

/* Assignment Resource Card */
.resource-card {
  width: 100%;
  max-width: 90%;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%); /* soft tint */
  border: 2px solid #37765B;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
  overflow-wrap: break-word;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.resource-card:hover {
  border-color: #2e624d; /* richer green on hover */
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.1),
    0 0 0 4px rgba(55, 118, 91, 0.05); /* subtle halo effect */
}

/* Heading */
.resource-card h3 {
  color: #37765B;
  margin-top: 0;
  font-size: 12pt;
  font-weight: 700;
  letter-spacing: 0.25px;
  border-bottom: 1px solid rgba(55, 118, 91, 0.25);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
  text-transform: none; /* normal case */
}

/* List styling */
.resource-card ul {
  list-style-type: disc;
  margin-left: 1rem;
  margin-bottom: 0;
  line-height: 1.5;
}



