body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.navbar-brand img {
  height: 50px;
}
.ratio {
  max-width: 100%;
}

.shop-cat-box {
  margin-bottom: 30px;
  position: relative;
  padding: 3px;
  overflow: hidden;
  border: 0px solid #000000;
  -webkit-box-shadow: 9px 9px 30px 0px rgba(0, 0, 0, 0.3);
          box-shadow: 9px 9px 30px 0px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

/* ─── Shop Cat Box ───────────────────────────────────────────────────────────
   ARIA: Button text must meet WCAG AA 4.5:1 contrast ratio.
   Dark semi-transparent background ensures readable contrast over any image.
   Single consolidated rule prevents conflicting declarations.
   ──────────────────────────────────────────────────────────────────────────── */
.shop-cat-box a,
.shop-cat-box .btn {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  border: none !important;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 0;
  background-color: rgba(40, 40, 40, 0.85) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.shop-cat-box #galleryHighlightCarousel ~ a,
.shop-cat-box #galleryHighlightCarousel ~ .btn {
    background-color: rgb(40, 40, 40) !important;
    opacity: 1 !important;
    position: absolute !important;  /* back to absolute like the others */
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: block;
    z-index: 10;
    padding: 12px 0 !important;
}
.shop-cat-box a:hover,
.shop-cat-box .btn:hover {
  background-color: rgba(0, 0, 0, 0.95) !important;
  color: #ffffff !important;
}

.shop-cat-box img {
  margin: -10px 0 0 -10px;
  max-width: none;
  width: calc(100% + 10px);
  opacity: 0.9;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(10px, 10px, 0);
  transform: translate3d(10px, 10px, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.shop-cat-box:hover img {
  opacity: 0.6;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* ─── Carousel box button override ──────────────────────────────────────────
   The carousel container needs its button positioned relative to the 
   carousel wrapper, not the outer shop-cat-box, so we use a stronger
   selector and ensure it sits flush at the bottom with full opacity.
   ──────────────────────────────────────────────────────────────────────────── */
.shop-cat-box #galleryHighlightCarousel~a,
.shop-cat-box #galleryHighlightCarousel~.btn {
  background-color: rgba(40, 40, 40, 0.85) !important;
  opacity: 1 !important;
  position: relative !important;
  display: block;
  z-index: 10;
}

.hvr-hover {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0);
          box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  overflow: hidden;
}

.hvr-hover::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  border-radius: 100%;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition-property: transform;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.hvr-hover:hover::after {
  -webkit-transform: scale(2);
  transform: scale(2);
  color: #ffffff;
}

.sidebar {
  background-color: rgba(120, 194, 173, 0.2);
  padding: 0.5rem;
}

.navspacer {
  height: 50px;
  background-image: url("../imgs/wave-high.png");
  background-repeat: repeat;
}


.main{
  display:flex;
  justify-content: center;
  align-items: center;
 
  
}
.container {
  height:100%
}

footer {
  margin-top: auto;
}

label {
  font-weight: bold;
}

.ans {
  font-style: italic;
  text-decoration: underline;
}


textarea {
  width: 100%;
  resize:vertical"
}

.text-secondary {
  text-shadow: 2px 2px 5px grey;
  margin-right: 5px;
}

.list-unstyled li+li {
  margin-top: 0.25rem;
}

/* ─── Typography ─────────────────────────────────────────────────────────────
   Override browser defaults for headings.
   h1-h3 are scaled down and given consistent weight and spacing.
   Using rem units so they scale with user browser font preferences (accessibility).
   ──────────────────────────────────────────────────────────────────────────── */
h1 {
  font-size: 1.75rem;
  /* ~28px vs browser default ~32px+ */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #2d2d2d;
}

h2 {
  font-size: 1.4rem;
  /* ~22px - clean section titles */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: #2d2d2d;
}

h3 {
  font-size: 1.1rem;
  /* ~18px - subtitles */
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.4rem;
  color: #444444;
}

/* ─── Navbar Contrast Fix ────────────────────────────────────────────────────
   WCAG AA requires 4.5:1 contrast ratio for normal text.
   White on your teal (#78C2AD) only achieves ~2.3:1 — fails AA.
   Dark text on teal passes AA and keeps the green brand feel.
   ──────────────────────────────────────────────────────────────────────────── */
.navbar-dark .navbar-nav .nav-link {
  color: #1a1a1a !important;
  /* near-black — high contrast on teal */
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #000000 !important;
  text-decoration: underline;
  /* underline on focus helps keyboard users */
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #000000 !important;
  font-weight: 700;
  text-decoration: underline;
}

/* Dropdown items inherit the same dark text */
.navbar-dark .dropdown-menu .dropdown-item {
  color: #1a1a1a;
}

.navbar-dark .dropdown-menu .dropdown-item:hover,
.navbar-dark .dropdown-menu .dropdown-item:focus {
  background-color: rgba(120, 194, 173, 0.2);
  color: #000000;
}

/* ─── Navbar Brand ───────────────────────────────────────────────────────────
   The toggler icon (hamburger) also needs to be visible on teal.
   ──────────────────────────────────────────────────────────────────────────── */
.navbar-dark .navbar-toggler {
  border-color: #1a1a1a;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 26, 26, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── Facebook icon in nav ───────────────────────────────────────────────────
   Keep the icon color readable — text-secondary was grey but on teal needs darker
   ──────────────────────────────────────────────────────────────────────────── */
.navbar .fa-facebook-square {
  color: #1a1a1a !important;
  text-shadow: none;
}

.navbar .fa-facebook-square:hover {
  color: #000000 !important;
}

