
        /* Dropdown Button */


        .slant_tab {
            position: fixed;
            top: 1;
            left: 0;
            line-height: 1rem;
            background-color: lightgrey;
            border: none;      
	height: 25.5px;
            font-size: .80rem;
    font-weight: bold;
    color: #25262e; /* Gray color for a distinct look */


            margin-right: 8px;
            width: 100px;

                        z-index: 2500; /* Ensure dropdown is above sidebar */
        
        }


        .slant_tab i {   padding: 0.5rem;}

.slant_tab:after {
      display: block;
      content:" ";
      position: absolute;
      transform:skewX(-45deg);
      -ms-transform:skewX(-45deg);
      -webkit-transform:skewX(-45deg);
      z-index: -1;
      background-color: lightgrey;
      background:lightgrey;
      height: 25.5px;
      top: -.15px;

      border: none;

      width: 30px;
      right: -14px;
  }


        .slant_tab_inner {
            border: none;
            padding: 4px 20px 4px 8px;
            margin-right: -20px;
            cursor: pointer;

        }

        .slant_tab_inner i {
            font-size: 1rem;
            color: black;
        }






/* Default: hide the new bar on desktop */
.mobile-blue-bar {
  display: none;
}

/* Mobile-only blue bar styles */
@media (max-width: 900px) {

  .mobile-blue-bar {
    display: block;
    background-color: #007bff; 
min-height: 12.75px;
font-size: 0.85rem;
    color:white;
    padding: 0.75rem 1rem;
    font-weight: 600;
    text-align: center;
    position: fixed;
    top: 40px; 
    width: 100%;
    z-index: 2199;
  padding-left: 1rem;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1);
  opacity: 0.75;
  }


 #subnav.active .subnav-close {
        display: block;
    }

}



















        /* Unified Navigation */
        #subnav {
            background-color: #007bff;
            height: 22px; /* Set the height of the navigation bar */
            color: white;
            position: fixed;
            top: 1;
            z-index: 2500; /* Ensure it's above other elements */
            width: 100%;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 0;
            transition: left 0.3s ease;
        }

        #subnav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        #subnav ul li {
            padding: 3px 10px;
        }

        #subnav ul li a {
            text-decoration: none;
            color: white;
            font-size: .65rem;
            font-weight: bold;
        }


.subnav-close {
    display: none;
    position: absolute;
    top: 13px;
    right: 5px;
    font-size: 2rem;
 
    cursor: pointer;
    color: #333;
    z-index: 3000;
background-color: lightgrey;
border-radius: 0.125rem;
 z-index: 2500;
}


        /* Desktop View */
        @media (min-width: 901px) {
            #subnav {
                display: flex;
                justify-content: center;
                align-items: center;
 		left: 0 !important;           /* lock it in place */
   		 transition: none !important;  /* remove the slide effect */
            }

            #subnav ul {
                display: flex;
                justify-content: flex-start;
    		justify-content: center; /* Center horizontally */
    		align-items: center; /* Center vertically */
            }

            #subnav ul li {
                margin-right: 20px;
            }

                    #subnav ul li a:hover {
            color: #E0E0E0;
             }

		.subnav-close {display: none;}

        }



.slant_tab, .subpgtitle {display: none; /* Hidden by default (shown in mobile view) */

}
        /* Mobile View (Sidebar) */
        @media (max-width: 900px) {





            #subnav {
                background-color: #f0f0f0;
                left: -250px; /* Initially hidden */
                height: 100%;
                padding-top: 40px;
                z-index: 2300; /* Below dropdown button */
                width: 250px;
            }

 #subnav.active {
    display: flex;
    left: 0;
  transition: left 0.3s ease;

}

 .subnav-close {display: flex; transition: left 0.3s ease;}



#subnav:not(.active) {
  transition: none;
}



            .subpgtitle {
              display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #666; /* Gray color for a distinct look */
    cursor: default; /* Indicate it’s not clickable */
    padding: 10px 0; /* Add spacing */
    margin: 0;
    list-style: none; /* Ensure no bullet is displayed */
}

            #subnav.active {
                left: 0; /* Slide into view */
            }

            #subnav ul {
                flex-direction: column;
                display: flex;
                justify-content: flex-start;
    		justify-content: left; 
    		align-items: left; 
            }


            #subnav ul li {
                margin: 5px 0;
            }

            #subnav ul li a {
            text-decoration: none;
            color: black;
            font-size: 1rem;
            font-weight: bold;
    	    }
                #subnav ul li a:hover {
            color: #007bff;
  	      }


            
        
            .slant_tab {
                display: flex; /* Show the dropdown button on mobile */
                top:50px; /* tab vert position */
            }


        #subnav {display: block; /* Ensure visibility for mobile */ }


        }


        /* Page Content */
#page_content {
            top:200px;
        }


       .hero {
            background: #f4f4f4;
            padding: 3rem;
            text-align: center;
  	line-height: 1.125;
        }


        .content-section {
            padding: 2rem;
            border-bottom: 1px solid #ddd;
	line-height: 1.125;

        }


        .content-section h2 {
            color: #007bff;
        }



.section:hover {filter: brightness(0.98);}

.fvh {height: 100vh;}
.hvh {height: 50vh;}
.tvh {height: 33.333vh;}
.qvh {height: 25vh;}

.bg0 {background-color: #ffffff; /* Pure white */}
.bg1 {background-color: #dcdcdc; /* Soft grey */}
.bg2 {background-color: #f9f9f9; /* Very light grey */}
.bg3 {background-color: #f2f2f2; /* Slightly darker light grey */}
.bg4 {background-color: #ececec; /* Medium-light grey */}
.bg5 {background-color: #e6e6e6; /* Darker light grey */}



.arrow-wrapper {
  position: fixed;
  left: 15px;
  width: 40px;
  z-index: 1000;
  cursor: pointer;
  user-select: none;
}


/* Disable hover highlight on chrome*/
#arrow {
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: rgba(0, 0, 0, 0);
  outline: none;
}



.arrow-wrapper.up {
  top: calc(50% - 100px);
  height: 60px; /* same as before */
}

.arrow-wrapper.down {
  top: calc(50% - 35px);
  height: 170px; /* 150px shaft + arrowhead */
}

/* No padding, shaft left aligned like original */
.arrow-wrapper.up,
.arrow-wrapper.down {
  width: 40px;
}

/* Restore shaft width to 2px and left: 0 */
.up-arrow, .down-arrow {
  position: absolute;
  left: 0;
  width: 2px;
  background-color: #00ffcc;
  box-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

/* Up arrow shaft and arrowhead */
.up-arrow {
  height: 20px;
  bottom: 0;
}

.up-arrow::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: -4px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #00ffcc transparent;
  filter: drop-shadow(0 0 3px rgba(0, 255, 204, 0.5));
}

/* Down arrow shaft and arrowhead */
.down-arrow {
  height: 150px;
  top: 0;
  background-color: #00ffcc;
  animation: none;
  transition: background-color 0.2s ease;

}

.down-arrow::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: #00ffcc transparent transparent transparent;
  filter: drop-shadow(0 0 3px rgba(0, 255, 204, 0.6));
}

.arrow-wrapper .hitbox {
  position: absolute;
  left: -9px;              /* Center 20px hitbox over 2px shaft */
  width: 20px;
  height: 100%;
  cursor: pointer;
  background: transparent;
  z-index: 2;
}

.arrow-wrapper.up .hitbox {
  height: 20px;  /* Matches the up-arrow shaft height */
  bottom: 0;     /* Aligns it with the arrow */
}

.arrow-wrapper.down:not(.bottom-flip) .down-arrow {
  background-color: #00ffcc !important;
  animation: none !important;
}

/* Grey out top arrow when disabled */
.arrow-wrapper.up.disabled {
  cursor: default;
}

.arrow-wrapper.up.disabled .up-arrow,
.arrow-wrapper.up.disabled .up-arrow::after {
  opacity: 0.4;
  filter: grayscale(100%);
  pointer-events: none;
}

/* Bottom arrow flip + red pulse animation */
@keyframes redShadePulse {
  0%, 100% {
    background-color: #ff4d4d;
    box-shadow: 0 0 8px #ff4d4d;
  }
  50% {
    background-color: #b22222;
    box-shadow: 0 0 12px #b22222;
  }
}

@keyframes redTipPulse {
  0%, 100% {
    border-color: #ff4d4d transparent transparent transparent;
    filter: drop-shadow(0 0 4px #ff4d4d);
  }
  50% {
    border-color: #b22222 transparent transparent transparent;
    filter: drop-shadow(0 0 6px #b22222);
  }
}

.arrow-wrapper.down.bottom-flip .down-arrow {
  transform: scaleY(-1) translateY(-5px);
  animation: redShadePulse 1.5s infinite ease-in-out;
  background-color: #ff4d4d !important; /* override green */
}

.arrow-wrapper.down.bottom-flip .down-arrow::after {
  animation: redTipPulse 1.5s infinite ease-in-out;
  border-color: #ff0000 transparent transparent transparent !important;
  filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.8)) !important;
}

/* Rotation animation classes */
.arrow-wrapper.up.rotate .up-arrow {
  transform: rotate(-5deg);
}

.arrow-wrapper.down.rotate .down-arrow {
  transform: rotate(5deg);
}

/* Ensure smooth rotation transition */
.up-arrow,
.down-arrow {
  transition: transform 0.25s ease-in-out;
}


#arrow:focus,
#arrow:active {
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
}





















@keyframes h2-underline-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}



.section-title {
  position: relative;
  color: #007bff; /* base blue color */
  background: linear-gradient(
    90deg,
    #007bff 25%,
    #0056b3 50%, /* black shimmer */
    #007bff 75%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.3s ease;
}

.highlight .section-title {
  animation: h2-underline-shimmer 6s linear 1;
}


.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;           /* so icon centers */
  align-items: center;
  justify-content: center;
  color: #00ffcc;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 1000;
}

/* When we add “show”, it fades in */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top {
  transition: transform 0.15s ease;
}
.back-to-top:active {
  transform: translateY(-3px) rotate(-5deg);
}
.back-to-top i {
  text-shadow: 0 0 6px #00ffcc;
}


