html {
  scroll-behavior: auto !important;
}

canvas#bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

#scroll-driver {
  height: 600vh;
  width: 1px;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

#station-nav {
  position: fixed;
  right: 30px;
  top: 40%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (max-width: 760px) {
  #station-nav {
    right: 8px;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 86%;
    top: 5.2%;
    z-index: 20000;
    gap: 5px;
    margin-top: 5px;
  }
}
@media (min-width: 760px) {
  #station-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    z-index: 20000;
    gap: 5px;
    top: 22%;
    margin-top: 19px;
  }
}
@media (min-width: 1023px) {
  #station-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    z-index: 20000;
    gap: 5px;
    top: 20%;
  }
}
@media (min-width: 1280px) {
  #station-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    z-index: 20000;
    gap: 5px;
    top: 40%;
  }
}
#station-nav .st-dots {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 8px;
  background: rgba(8, 0, 15, 0.55);
  border: 1px solid rgba(245, 222, 179, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}
@media (max-width: 760px) {
  #station-nav .st-dots {
    display: none;
  }
}
#station-nav .st-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid cyan;
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
#station-nav .st-dot:hover {
  transform: scale(1.3);
}
#station-nav .st-dot.active {
  background: rgb(245, 222, 179);
  box-shadow: 0 0 10px rgba(245, 222, 179, 0.8);
}
#station-nav .st-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(245, 222, 179, 0.4);
  background: rgb(211, 191, 154);
  color: rgb(0, 158, 158);
  font-size: 0.8rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.25s, transform 0.2s;
}
#station-nav .st-arrow:hover:not(:disabled) {
  background: rgba(0, 91, 107, 0.65);
  transform: scale(1.08);
}
#station-nav .st-arrow:active:not(:disabled) {
  transform: scale(0.94);
}
#station-nav .st-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (max-width: 760px) {
  #station-nav .st-dot {
    width: 9px;
    height: 9px;
  }
  #station-nav .st-arrow {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}

#u-status {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 100;
  color: rgba(4, 170, 109, 0.82);
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 3px;
  pointer-events: none;
  display: none;
}

#panels {
  position: fixed;
  inset: 0;
  z-index: 10;
  left: 10%;
  pointer-events: none;
}

.universe-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-left: 8%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.universe-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.universe-panel.active .human-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.universe-panel.active .grid-container {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.universe-panel.active .project-card {
  min-height: 180px;
  padding: 16px;
}
.universe-panel.active .stat-card {
  padding: 14px 16px;
}
.universe-panel.active .evidence-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.universe-panel.active .video-wrapper {
  height: 180px;
}
.universe-panel.active .skill-bars .bar-container {
  margin-bottom: 6px;
}

.evidence-img {
  position: relative;
  top: 0.9%;
  border: 1.5px solid cyan;
  width: 62vh;
  height: 62vh;
  object-fit: cover;
}

.panel-inner {
  max-width: 520px;
  padding: 32px 28px;
  background: rgba(8, 0, 15, 0.72);
  border: 1px solid rgba(245, 222, 179, 0.22);
  border-radius: 4px;
  backdrop-filter: blur(14px);
}
.panel-inner .panel-tag {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 4px;
  color: rgba(4, 170, 109, 0.72);
  margin-bottom: 16px;
}
.panel-inner h1 {
  font-size: 1.9rem;
  color: rgb(245, 222, 179);
  line-height: 1.2;
  margin-bottom: 14px;
}
.panel-inner h2 {
  font-size: 1.5rem;
  color: rgb(245, 222, 179);
  margin-bottom: 12px;
}
.panel-inner p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 18px;
}
.panel-inner .panel-footnote {
  opacity: 0.5;
  font-size: 0.75rem;
}
.panel-inner .eq-block {
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  color: rgba(4, 170, 109, 0.88);
  border-left: 2px solid rgba(4, 170, 109, 0.4);
  padding: 8px 14px;
  margin: 16px 0;
  letter-spacing: 1px;
}
.panel-inner .skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.panel-inner .skill-tags span {
  padding: 4px 12px;
  border: 1px solid rgba(0, 91, 107, 0.55);
  border-radius: 20px;
  font-size: 0.72rem;
  color: rgba(245, 222, 179, 0.72);
  letter-spacing: 1px;
}
.panel-inner .panel-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  font-family: "Courier New", monospace;
}
.panel-inner .panel-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

@keyframes bounce-cta {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-4px);
  }
}
@keyframes bounce-title {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-2deg);
  }
}
@keyframes happy-jump {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(4px, -4px) rotate(2deg);
  }
  35% {
    transform: translate(4px, -4px) rotate(2deg);
  }
  50% {
    transform: translate(4px, 4px) rotate(0deg);
  }
  75% {
    transform: translate(-4px, 4px) rotate(-2deg);
  }
  100% {
    transform: translate(-4px, -4px) rotate(0deg);
  }
}
@keyframes corner-dance {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(5px, -3px);
  }
  50% {
    transform: translate(0, 3px);
  }
  75% {
    transform: translate(-5px, -3px);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.attention-button {
  display: inline-block;
  padding: 10px 7px;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: whitesmoke;
  border-radius: 7px;
  border: 2px solid rgb(245, 222, 179);
  box-shadow: 8px 8px 0px 0px rgb(0, 0, 0);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  background: linear-gradient(135deg, rgb(245, 222, 179), rgb(0, 91, 107), #04aa6d, #16213e, rgb(245, 222, 179));
  background-size: 300% 300%;
  animation: bounce-cta 1.8s ease-in-out infinite, gradient-shift 4s ease infinite;
}
.attention-button:hover {
  animation-play-state: paused, running;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(4, 170, 109, 0.6);
}
.attention-button:active {
  transform: scale(0.96);
}

@keyframes bg-animation {
  0% {
    background-position: left;
  }
  100% {
    background-position: right;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-image: radial-gradient(rgb(0, 91, 107) 50%, rgb(47, 8, 66) 70%, rgb(3, 3, 3) 100%);
  color: white;
  overflow-x: hidden;
  width: 100%;
  margin: 0px;
  line-height: 1.6;
}

header {
  height: 90px;
  background: linear-gradient(-45deg, rgb(47, 8, 66), rgb(0, 91, 107), #16213e);
  animation: bg-animation 3s infinite alternate;
  background-size: 400%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  border-bottom: 3px solid rgb(245, 222, 179);
  position: fixed;
  width: 100%;
  z-index: 90;
  box-shadow: 0 0 60px 20px rgba(0, 0, 0, 0.662);
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  header {
    justify-content: center;
  }
}
header .logo_content {
  animation: fallin 0.7s ease-in forwards;
  display: flex;
  align-items: center;
  margin-right: 30px;
}
header .logo_content img {
  margin-right: 25px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.223px solid teal;
  box-shadow: 5px 4px 5px black;
}
@media (max-width: 760px) {
  header .logo_content img {
    margin-right: 25px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.223px solid black;
    box-shadow: 4px 3px 6px cyan;
  }
}
header .logo_content img:hover {
  box-shadow: 5px 4px 5px cyan;
  width: 80px;
  height: 80px;
  border: 2.223px solid black;
  animation: wiggle 1.8s ease infinite;
  transition: animation 2s ease, box-shadow 1s ease, border 1s ease, width 0.5s ease, height 0.5s ease;
}
header .logo_content .brand-text {
  margin-top: 5px;
}
header .logo_content .brand-text h1 {
  font-family: "Courier New", monospace;
  color: wheat;
  font-size: 1.25rem;
  margin-bottom: 0;
}
header .logo_content .brand-text h1:hover {
  color: rgb(245, 222, 179);
  animation: bounce-cta 1.8s ease infinite;
}
header .logo_content .brand-text .subtitle {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: whitesmoke;
}
header .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
header .navi1 ul {
  display: flex;
  animation: fallin_invers 0.7s ease-in forwards;
  gap: 50px;
  width: 100%;
}
@media (max-width: 760px) {
  header .navi1 ul {
    display: none;
  }
}
header .navi1 ul li a {
  color: rgba(245, 245, 245, 0.717);
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s;
  text-shadow: 3px 3px 30px cyan;
}
header .navi1 ul li a:hover {
  color: rgb(245, 222, 179);
  text-shadow: 0 0 10px rgb(245, 222, 179);
}
header .nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 4vw, 50px);
}
header .nav-link {
  /* Using Wheat color instead of undefined var */
  color: rgb(245, 222, 179);
  font-weight: 500;
  position: relative; /* Essential for the underline to stick to the text */
  padding: 5px 0;
  transition: color 0.3s;
}
header {
  /* The Underline Effect */
}
header .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: cyan;
  transition: width 0.3s ease-in-out; /* The smooth animation */
}
header {
  /* Hover State */
}
header .nav-link:hover::after {
  width: 100%;
}

@keyframes fallin {
  from {
    transform: translate(-20px, -20px);
    opacity: 0.3;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes fallin_down {
  from {
    transform: translateY(-30px);
    opacity: 0.3;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes fallin_invers {
  from {
    transform: translate(20px, -20px);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
main {
  width: 100%;
  position: relative;
  z-index: 1;
}

#section-about,
#section-research,
#section-projects,
#section-evidence,
#human-side {
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
  transform: translateY(20px);
}
#section-about.active,
#section-research.active,
#section-projects.active,
#section-evidence.active,
#human-side.active {
  position: fixed;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  width: 90%;
  height: auto;
  max-width: 960px;
  max-height: 82vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  z-index: 20;
  opacity: 0.95;
  padding: 18px 58px;
  pointer-events: auto;
  background: #16213e;
  border: 3px solid black;
  border-bottom: 2px solid wheat;
  box-shadow: 0 0 60px 20px rgba(0, 0, 0, 0.662);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}
@media (max-width: 760px) {
  #section-about.active,
  #section-research.active,
  #section-projects.active,
  #section-evidence.active,
  #human-side.active {
    width: 98%;
    max-height: 62vh;
    top: 58%;
    justify-content: center;
    align-items: center;
  }
}

.hero {
  min-height: 193vh;
  display: flex;
  align-items: start;
  padding-top: 90px;
  padding: 50px 0px;
  background-position: center;
  text-align: center;
  position: relative; /* Acts as the anchor for the absolute video */
  justify-content: center;
  overflow: hidden; /* Prevents the video from spilling out */
  background-color: transparent;
  background-image: none;
}
@media (max-width: 1023px) {
  .hero {
    justify-content: center;
    height: 100vh;
    padding: 0px 20px;
    padding-top: 40px;
  }
}
.hero .hero_text {
  max-width: 500px;
  padding: 0 20px;
  z-index: 2;
  animation: fallin_down 0.7s ease-in forwards;
}
.hero .hero_text:hover {
  border-radius: 120px;
  border: 2px solid wheat;
  margin-top: 0.1vh;
  background: linear-gradient(-45deg, rgba(47, 8, 66, 0.3), rgba(0, 91, 107, 0.3), rgba(22, 33, 62, 0.3));
  background-size: 400%;
  backdrop-filter: blur(3.5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 60px cyan, 0 0 0 999px rgba(0, 0, 0, 0.835);
  transition: backdrop-filter 1s ease, border 3s ease, margin-top 2s ease, transform 5s ease, box-shadow 3s ease, border-radius 2s ease;
}
.hero .hero_text h1.glitch {
  line-height: 1.1;
  margin-top: 80px;
  font-family: "Courier New", monospace;
  color: wheat;
  text-shadow: 0 0 10px cyan;
  font-size: 1.9rem;
  animation: bounce-cta 1.8s ease-in-out infinite, gradient-shift 4s ease infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
@media (max-width: 760px) {
  .hero .hero_text h1.glitch {
    font-size: 1.5rem;
  }
}
.hero .hero_text h1.glitch::before, .hero .hero_text h1.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: -20px;
  width: 100%;
  overflow: hidden;
  color: wheat;
}
.hero .hero_text h1.glitch::before {
  animation: glitch 2s infinite;
  clip-path: inset(0 0 50% 0);
  text-shadow: 2px 0 red;
}
.hero .hero_text h1.glitch::after {
  animation: glitch 2s infinite reverse;
  clip-path: inset(50% 0 0 0);
  text-shadow: -2px 0 blue;
}
.hero .hero_text h2 {
  font-family: "Courier New", monospace;
  font-size: 1.7rem;
  color: wheat;
  text-shadow: 0 0 10px cyan;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
@media (max-width: 760px) {
  .hero .hero_text h2 {
    font-size: 1.5rem;
  }
}
.hero .hero_text p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 10px;
  font-family: "Courier New", monospace;
}
.hero .hero_text .hero_buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.hero .hero_text .hero_buttons .btn-primary {
  background-color: rgb(245, 222, 179);
  color: rgb(47, 8, 66);
  padding: 15px 20px;
  font-weight: bold;
  border: 2px solid rgb(245, 222, 179);
  box-shadow: -8px 8px rgb(0, 0, 0);
  transition: transform 0.2s;
}
.hero .hero_text .hero_buttons .btn-primary:hover {
  transform: translate(-5px, -5px);
}
.hero .hero_text .hero_buttons .btn-primary {
  border-radius: 7px;
}
.hero .hero_text .hero_buttons .btn-secondary {
  background-color: transparent;
  color: whitesmoke;
  padding: 8px 30px;
  border: 2px solid rgb(245, 222, 179);
  box-shadow: 8px 8px 0px 0px rgb(0, 0, 0);
  animation: bounce-cta 1.6s ease-in-out infinite, gradient-shift 4s ease infinite;
}
.hero .hero_text .hero_buttons .btn-secondary:hover {
  background-color: rgba(245, 222, 179, 0.1);
  transform: translateY(-5px);
  transition: transform 0.2s, background-color 0.2s;
}
.hero .hero_text .hero_buttons .btn-secondary {
  border-radius: 7px;
}
.hero .hero_text .hero_buttons .btn-thirdly {
  background-color: rgb(245, 222, 179);
  color: rgb(47, 8, 66);
  padding: 15px 25px;
  font-weight: bold;
  border: 2px solid rgb(245, 222, 179);
  box-shadow: 8px 8px 0px 0px rgb(0, 0, 0);
  transition: transform 0.2s;
  align-content: center;
}
.hero .hero_text .hero_buttons .btn-thirdly:hover {
  transform: translate(5px, -5px);
}
.hero .hero_text .hero_buttons .btn-thirdly {
  border-radius: 7px;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}
/* ===================== */
/* ABOUT SECTION */
/* ===================== */
.about {
  justify-content: center;
  align-items: center;
}
.about h1 {
  padding: 10px 0px;
  font-size: 2.2rem;
  text-align: center;
  line-height: 0.6;
  color: whitesmoke;
  text-shadow: 0 0 10px cyan;
  margin-bottom: 10px;
}
@media (max-width: 990px) {
  .about h1 {
    font-size: 2.5rem;
    text-align: center;
    height: 2vh;
  }
}
.about p {
  text-align: center;
  margin-bottom: 1rem;
  color: wheat;
  line-height: 1.673;
}
.about a {
  color: var(#04aa6d);
  text-decoration: none;
  transition: var(all 0.3s ease);
}

.about-container {
  justify-content: center;
  align-items: center;
}

.about-content {
  display: grid;
  gap: 40px;
  justify-content: center;
  height: auto;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .about-content {
    display: flex;
    grid-template-columns: 1fr;
    text-align: center;
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: center;
    margin-bottom: 10px;
    margin: 0 auto;
  }
  .about-content h1 {
    padding: 10px 0px;
    font-size: 2.2rem;
    text-align: center;
    line-height: 0.6;
    color: whitesmoke;
    text-shadow: 0 0 10px cyan;
    margin-bottom: 30px;
  }
}
@media (max-width: 760px) and (max-width: 990px) {
  .about-content h1 {
    font-size: 2.5rem;
    text-align: center;
    height: 2vh;
  }
}
@media (max-width: 760px) {
  .about-content p {
    text-align: center;
    margin-bottom: 1rem;
    color: wheat;
    line-height: 1.373;
  }
  .about-content a {
    color: var(#04aa6d);
    text-decoration: none;
    transition: var(all 0.3s ease);
  }
}

.hover-video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Standardize the images so they act as thumbnails */
}
.hover-video-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  align-items: center;
  justify-self: center;
  margin-bottom: 10px;
}
.hover-video-card {
  /* Keep your specific sizing for img1 and img2 if you need them */
}
.hover-video-card .about-img1 {
  background: cyan;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  width: clamp(200px, 80%, 500px);
  height: auto;
  max-height: 400px;
  aspect-ratio: 250/321;
  box-shadow: 2px 2px 3px cyan;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: center;
  justify-content: center;
}
.hover-video-card .about-img1:hover {
  position: relative;
  z-index: 50;
  transform: translateY(1px) scale(1.05);
  margin-bottom: 4vh;
  margin-top: 2vh;
  background: transparent;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px cyan;
  transition: margin-top 3s ease, margin-bottom 3s ease, transform 5s ease, box-shadow 3s ease, border-radius 5s ease;
}
@media (max-width: 760px) {
  .hover-video-card .about-img1 {
    background: cyan;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    width: 100%;
    max-width: 60vw;
    height: 100%;
    max-height: 45vw;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px cyan;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
    justify-content: center;
  }
}
.hover-video-card .about-img2 {
  background: red;
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: cover;
  border-radius: 2rem;
  width: clamp(300px, 90%, 500px);
  height: auto;
  max-height: 400px;
  aspect-ratio: 982/337;
  box-shadow: 2px 2px 3px cyan;
  transition: transform 3s ease, box-shadow 0.3s ease;
  align-items: center;
  justify-content: center;
}
.hover-video-card .about-img2:hover {
  position: relative;
  z-index: 50;
  transform: translateY(-4px) scale(1.05);
  border-radius: 0px;
  background: transparent;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 255, 255, 0.25), 0 0 0 9999px rgba(0, 0, 0, 0.929);
  transition: transform 5s ease, width 2s ease, height 2s ease, box-shadow 3s ease, border-radius 5s ease;
}

.about-text {
  width: 100%;
  max-width: 700px;
}

.about-text h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.7rem;
  color: white;
}

.about-text p {
  margin-bottom: 0.2rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
  color: #04aa6d;
}
@media (max-width: 992px) {
  .skills-list {
    justify-content: center;
  }
}

.skill-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.skill-tag:hover {
  cursor: crosshair;
  color: wheat;
}

.showcase-section {
  opacity: 1;
  background: linear-gradient(rgba(41, 20, 20, 0) 50%, rgba(0, 0, 0, 0.344) 50%);
  background-size: 100% 5px;
  background-color: rgb(245, 222, 179);
  color: rgb(47, 8, 66);
  border-bottom: 2px solid rgb(0, 179, 255);
}
.showcase-section .section-title {
  margin-bottom: 20px;
}
.showcase-section .section-title h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  text-align: center;
  color: whitesmoke;
  text-shadow: 0 0 5px cyan;
}
.showcase-section .section-title .line {
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 5px;
  background: #04aa6d;
}
.showcase-section .research-card {
  display: flex;
  border: 2px solid black;
  background: white;
  box-shadow: 5px 5px 5px cyan;
  border-radius: 7px;
}
.showcase-section .research-card .research-visual {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: black;
}
.showcase-section .research-card .research-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.showcase-section .research-card .research-visual .code-overlay {
  position: absolute;
  top: auto;
  left: 5px;
  height: 98%;
  width: 98%;
  font-family: "Courier New", monospace;
  font-size: 10px;
  color: #0f0;
  background: rgba(0, 0, 0, 0.534);
  z-index: 2;
}
.showcase-section .research-card .research-info {
  flex: 1;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.showcase-section .research-card .research-info h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}
.showcase-section .research-card .research-info .tags-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.showcase-section .research-card .research-info .tag {
  background: rgb(0, 91, 107);
  color: white;
  border-radius: 7px;
  box-shadow: 3px 3px 0px rgb(0, 0, 0);
  font-size: 1rem;
  font-weight: bold;
  padding: 5px 10px;
  white-space: nowrap;
}
.showcase-section .research-card .research-info p {
  margin: 20px 0;
  line-height: 1.6;
  text-align: center;
}
.showcase-section .research-card .research-info .btn-small {
  background: rgb(0, 91, 107);
  color: whitesmoke;
  padding: 10px 50px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 8px 8px 0px 0px rgb(0, 0, 0);
  border-radius: 7px;
}
.showcase-section .research-card .research-info .btn-small:hover {
  background: rgb(4.5862068966, 194.9137931034, 124.974137931);
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

.human-section {
  opacity: 0.85;
  border-top: 2px solid rgb(245, 222, 179);
}
.human-section .section-title h2 {
  color: whitesmoke;
  text-shadow: 0 0 5px cyan;
  font-size: 2rem;
  text-align: center;
  padding: 2px 2px;
}
.human-section .line {
  justify-content: center;
  width: 100%;
  height: 5px;
  background: #04aa6d;
  margin-bottom: 40px;
}
.human-section .human-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
  gap: 40px;
}
@media (max-width: 700px) {
  .human-section .human-grid {
    display: block;
    padding: 0px 1%;
  }
}
.human-section .stat-card {
  background: rgb(30, 30, 30);
  border: 2px solid black;
  padding: 10px 20px;
  position: relative;
  transition: 0.3s;
  overflow: hidden;
}
@media (max-width: 700px) {
  .human-section .stat-card {
    margin-bottom: 15px;
  }
}
.human-section .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: rgb(245, 222, 179);
  transition: width 0.3s;
}
.human-section .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  opacity: 1;
}
.human-section .stat-card:hover::before {
  width: 100%;
}
.human-section .stat-card:hover .icon-box i {
  color: rgb(245, 222, 179);
  transform: scale(1.1);
}
.human-section .stat-card .icon-box {
  margin-bottom: 20px;
}
.human-section .stat-card .icon-box i {
  font-size: 2.5rem;
  color: rgb(0, 91, 107);
  transition: 0.3s;
}
.human-section .stat-card h3 {
  font-family: "Fjall One", sans-serif;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.human-section .stat-card p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.human-section .stat-card .skill-bars .bar-container {
  margin-bottom: 10px;
}
.human-section .stat-card .skill-bars .bar-container span {
  font-size: 0.8rem;
  color: rgb(245, 222, 179);
  display: block;
  margin-bottom: 3px;
  font-family: "Courier New", monospace;
}
.human-section .stat-card .skill-bars .bar-container .bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.human-section .stat-card .skill-bars .bar-container .bar .fill {
  height: 100%;
  background: rgb(0, 91, 107);
  border-radius: 3px;
}

.grid-section {
  background: linear-gradient(rgba(41, 20, 20, 0) 50%, rgba(0, 0, 0, 0.344) 50%);
  background-color: rgb(0, 90, 128);
  opacity: 0.75;
  background-size: 100% 5px;
  border: 1px solid black;
}
.grid-section .section-title {
  margin-bottom: 20px;
}
.grid-section .section-title h2 {
  font-size: 2.2rem;
  text-transform: uppercase;
  text-align: center;
  color: whitesmoke;
  text-shadow: 0 0 5px cyan;
}
.grid-section .section-title h2 a {
  text-decoration: none;
  color: inherit;
}
.grid-section .section-title h2 .arrow {
  display: inline-block;
  font-size: 3rem;
  color: whitesmoke;
  text-shadow: 0 0 10px cyan;
  transition: transform 0.2s;
}
.grid-section .section-title h2 .arrow:hover {
  transform: translateX(4px);
}
.grid-section .section-title .line {
  width: 100%;
  height: 5px;
  background: #04aa6d;
}
.grid-section .grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.grid-section .project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgb(0, 91, 107);
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  min-height: 200px;
}
.grid-section .project-card .icon-large {
  font-size: 3rem;
  color: rgb(245, 222, 179);
  margin-bottom: 20px;
  animation: happy-jump 2s ease infinite;
}
.grid-section .project-card h3 {
  color: wheat;
  margin-bottom: 10px;
  text-shadow: 0 0 5px cyan;
}
.grid-section .project-card p {
  color: black;
  margin-bottom: 20px;
}
.grid-section .project-card a {
  color: teal;
  font-weight: bold;
}
.grid-section .project-card:hover {
  background: rgb(0, 91, 107);
}
.grid-section .project-card:hover h3, .grid-section .project-card:hover p, .grid-section .project-card:hover a, .grid-section .project-card:hover .icon-large {
  color: white;
}
.grid-section .project-card:hover {
  transform: translateY(-5px);
}

.evidence-section {
  max-width: 2000px;
}
.evidence-section .section-title h2 {
  color: smokewhite;
  font-size: 2rem;
  text-align: center;
  padding: 10px 0px;
  text-shadow: 0 0 10px cyan;
}
.evidence-section .evidence-grid {
  justify-content: center;
  align-items: center;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(298px, 1fr));
  gap: 30px;
  padding: 25px 10px;
}
.evidence-section .evidence-card {
  background: rgb(37.2824324324, 6.3459459459, 52.3540540541);
  border: 2px solid wheat;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}
.evidence-section .evidence-card .card-header {
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  color: rgb(0, 91, 107);
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.evidence-section .evidence-card .card-header .status-light {
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
  display: inline-block;
  transition: 0.3s;
}
.evidence-section .evidence-card .video-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  background: black;
  overflow: hidden;
}
.evidence-section .evidence-card .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.evidence-section .evidence-card .video-wrapper .scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(118, 14, 14, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}
.evidence-section .evidence-card .card-footer {
  padding: 15px;
}
.evidence-section .evidence-card .card-footer p {
  color: #bbb;
  font-size: 0.9rem;
  font-family: sans-serif;
}

footer {
  background: linear-gradient(-45deg, rgb(47, 8, 66) 5%, rgb(0, 91, 107), #16213e);
  background-size: 400%;
  animation: bg-animation 3s infinite alternate;
  padding-block: 20px;
  text-align: center;
  color: wheat;
  font-weight: bold;
  width: 100%;
  opacity: 0.85;
  z-index: 5;
  border-top: 3px solid wheat;
}
footer .socials {
  margin-top: 10px;
}
footer .socials a {
  color: rgb(245, 222, 179);
  font-size: 1.5rem;
  margin: 0 10px;
}

.footerimg {
  width: 100%;
  max-width: 298px;
  height: 170px;
  border-radius: 7px;
  box-shadow: 15px 5px 15px black;
  /* The Video Setup */
}

/* 1. The Container: Control all your sizing right here! */
.hover-video-card-footer {
  position: relative;
  width: 100%;
  height: 180px; /* Match the image height */
  max-width: 298px;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 4px 4px 0px 0px rgb(0, 0, 0);
  transition: transform 0.3s ease-in-out;
  justify-content: center;
  align-items: center;
  /* 2. The Thumbnail Image */
}
.hover-video-card-footer .footerimg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
  gap: 30px;
}

/* ===================== */
/* MEDIA QUERIES */
@media (max-width: 760px) {
  .hero h1 {
    font-size: 2rem;
  }
  .research-card {
    flex-direction: column;
  }
  header {
    padding: 0 20px;
  }
  .navi1 {
    display: none;
  }
}
@media (max-width: 1030px) {
  .brand-text .subtitle {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
  }
}
/* ===================== */
/* RESPONSIVE STYLES */
/* ===================== */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .contact-content {
    grid-template-columns: 1fr;
  }
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item::after {
    left: 21px;
  }
  .timeline-item:nth-child(even)::after {
    left: 21px;
  }
}
@media (max-width: 760px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background: var(--primary-blue);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    gap: 0;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-item {
    margin: 15px 0;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}