/* ================= GLOBAL RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: 'Rajdhani', sans-serif;
  scroll-behavior: smooth;
  background: #0a0f1c;
  color: #eee;
}




/* ================= VARIABLES ================= */
:root {
    --bg: #0a1128;
    --bg2: #0f1a3c;
    --cyan: #00ffe5;
    --magenta: #ff006e;
    --yellow: #ffe600;
    --purple: #9000ff;
    --white: #ffffff;
    --surface: rgba(0, 255, 229, 0.03);
    --surface2: rgba(144, 0, 255, 0.06);
    --border-c: rgb(0, 255, 229);
    --border-m: rgba(255, 0, 110, 0.25);
    --text: #c8f0ec;
    --muted: #6fb0a8;
    --glow-c: 0 0 20px rgba(0, 255, 229, 0.4), 0 0 60px rgba(0, 255, 229, 0.15);
    --glow-m: 0 0 20px rgba(255, 0, 110, 0.4), 0 0 60px rgba(255, 0, 110, 0.15);
    --cat1: #00ffe7;
    --cat2: #ff2d78;
    --cat3: #ffe600;
    --c: #00ffe7;
    --c2: #ff2d78;
    --c3: #ffe600;
    --c4: #7b2fff;
    --panel: rgba(0, 255, 231, 0.03);
    --border: rgba(0, 255, 231, 0.14);
    --border2: rgba(0, 255, 231, 0.4);
    --text2: rgba(142, 207, 204, 0.5);
}

/* ================= BACKGROUND LAYERS ================= */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 60% 40% at 15% 20%,
      rgba(144, 0, 255, 0.2) 0%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 50% 50% at 85% 70%,
      rgba(0, 255, 229, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 30% at 50% 100%,
      rgba(255, 0, 110, 0.12) 0%,
      transparent 80%
    );
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 255, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 229, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(60px);
  }
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    rgba(0, 255, 229, 0.03) 0 1px,
    transparent 1px 4px
  );
}

/* ================= HERO ================= */
.hero {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 4rem 1rem 3rem;
  text-shadow:
    0 0 8px rgba(0, 255, 229, 0.5),
    0 0 12px rgba(144, 0, 255, 0.4);
}

.hero h1 {
  font-size: 4rem;
  color: #ffd400;
  text-shadow: 0 0 6px #ffa500;
  letter-spacing: 1px;
}

.hero h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-info {
  color: #7f9db9;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 1rem;
}

.contact-info a {
  color: #00ffe0;
  text-decoration: none;
  transition: 0.3s;
}

.contact-info a:hover {
  color: #ff0096;
}


/* ================= NAVIGATION ================= */
nav {
  position: relative;
  width: 100%;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-bottom: 1px solid var(--border-c);
  background: rgba(10, 17, 40, 1);
  backdrop-filter: blur(20px);
  padding: 0 3vh;
  z-index: 900;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-left {
  justify-content: flex-start;
}
.nav-right {
  justify-content: flex-end;
  gap: 1rem;
  margin-right: 5vw;
}

/* Regular nav logo */
.nav-logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 2vw;                 /* mobile-friendly size */
  color: #ffe600;                 /* bright yellow */
  text-shadow: 0 0 10px #ffe600, 0 0 20px rgba(255, 230, 0, 0.5);
  text-decoration: none;
  text-align: center;
}



.nav-logo .slash {
  color: var(--yellow);
  margin: 0 4px;
  animation: pulse 2s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  position: relative;
  transition: all 0.2s;
  padding: 1vh 1.5vh;
  font-size: 1.25vw;
}

.nav-links a::before {
  content: '>';
  color: var(--cyan);
  margin-right: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
  border-color: var(--border-c);
  text-shadow: var(--glow-c);
  background: rgba(0, 255, 229, 0.25);
}

.nav-links a:hover::before {
  opacity: 1;
}

.nav-links a.active {
  color: var(--yellow);
  text-shadow:
    0 0 10px var(--yellow),
    0 0 20px rgba(255, 230, 0, 0.5);
  border: none;
  background: none;
}

.nav-links a.active::before {
  content: '>';
  color: var(--yellow);
  opacity: 1;
}

/* Glowing block logo */
.logo-container {
  position: relative;
  display: inline-block;
}

.nav-links a.active {
  color: #FFD700; /* neon yellow */
  text-shadow:
    0 0 8px #FFD700,
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 30px rgba(255, 215, 0, 0.3);
  font-weight: 900;
  background: none;
  border: none;
  position: relative;
}

.nav-links a.active::before {
  content: '//';
  color: #FFD700;
  margin-right: 0.2em;
  text-shadow:
    0 0 8px #FFD700,
    0 0 20px rgba(255, 215, 0, 0.5);
}




.nav-block-logo {
  height: 80%;
  width: auto;
  position: relative;
  z-index: 2;
  object-fit: contain;
  transform: translateY(-20%);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 150, 255, 0.7))
    drop-shadow(0 0 20px rgba(0, 150, 255, 0.5))
    drop-shadow(0 0 30px rgba(0, 150, 255, 0.4));
}
.nav-block-logo {
  height: 5vh; /* limit logo height to 5vh */
  width: auto;
  position: relative;
  z-index: 2;
  object-fit: contain;
  transform: translateY(-20%);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 150, 255, 0.7))
    drop-shadow(0 0 20px rgba(0, 150, 255, 0.5))
    drop-shadow(0 0 30px rgba(0, 150, 255, 0.4));
}

.logo-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: rgba(0, 150, 255, 0.6);
  border-radius: 50%;
  filter: blur(25px);
  z-index: 1;
}

/* Main nav layout */
.main-nav {
  display: grid;
  grid-template-columns: 7fr 3fr;
  align-items: center;
  width: 100%;
  position: relative;
}

.main-nav::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--cyan);
  position: absolute;
  bottom: 0;
  left: 0;
}
@media (max-width:768px){

  /* kill grid layout */
  .main-nav{
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }

  .nav-left{
    display:flex;
    align-items:center;
  }

  /* BLOCK LOGO */
  .logo-container{
    margin-left:5vw;
  }

  .nav-block-logo{
    position:static;
    transform:none;
    height:5vh;
  }

  /* BRAND */
  .nav-logo{
    position:static;
    transform:none;
    font-size:5vw;
    margin-left:10px;
  }

  /* HAMBURGER */
  .nav-right{
    margin-left:auto;
    margin-right:5vw;
  }

}


/* ================= FINAL NAV HEIGHT OVERRIDE ================= */
nav,
.main-nav {
    min-height: 10vh !important;
}


/* ================= CUSTOM CURSOR ================= */

/* ================= CURSOR POSITION FIX ================= */
.red-cursor-inner,
.red-cursor-outer,
.corner-cursor,
.cross-cursor {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}
.red-cursor-inner {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: red;              /* small circle is red */
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255,0,0,0.5);
}


.corner-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.5);  /* light white 50% */
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
}

.cross-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9996;
    transform: translate(-50%, -50%);
}

.cross-cursor::before,
.cross-cursor::after {
    content: '';
    position: absolute;
    background: rgba(164, 164, 164, 0.5);  /* cyan cross */
}

.cross-cursor::before { width: 24px; height: 1px; top: -0.5px; left: -12px; }
.cross-cursor::after  { width: 1px; height: 24px; top: -12px; left: -0.5px; }

/* Small circle becomes white */
.red-cursor-inner {
    background:rgba(255,0,0,0.5);;                 /* change from red to white */
    box-shadow: 0 0 10px rgba(255,255,255,0.2); /* change from red glow to white */
}

/* Crosshair becomes red */
.cross-cursor::before,
.cross-cursor::after {
    background: rgba(255,0,0,1);     /* change from gray to red */
}



/* ================= CTA ================= */
.resume-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  padding: 1rem 1.5rem;
  background: rgba(10,10,25,0.9);  /* same dark navy as other boxes */
  border: 2px solid #00E5FF;       /* bright neon blue outline */
  border-radius: 12px;
  box-shadow: 0 0 15px #00E5FF, 0 0 30px rgba(0,229,255,0.5); /* glowing effect */
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 2rem auto;               /* centers the box */
  text-align: center;
}

.resume-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #00E5FF, 0 0 40px rgba(0,229,255,0.6);
}

.resume-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFD400;                 /* bright yellow */
  text-shadow: 0 0 8px #FFD400;  /* subtle neon glow */
}

.resume-subtitle {
  font-size: 0.8rem;
  color: #FFFFFF;                 /* white PDF text */
  margin-top: 0.25rem;
}


/* ================= FOOTER ================= */
/* ================= FOOTER ================= */
footer {
  width: 100vw;              /* Full viewport width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 1;
  border-top: 1px solid var(--border-c);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Share Tech Mono', monospace;
  color: var(--muted);
  background: linear-gradient(to top, rgba(36, 13, 70, 0.5) 0%, rgba(10, 17, 40, 0.5) 100%); /* 50% opacity */
  backdrop-filter: blur(5px); /* Optional: adds blur effect */
}

.footer-brand {
  font-size: 2rem;
  letter-spacing: 0.2em;
  color: #FFFF00;
  text-shadow:
    0 0 5px #FFFF00,
    0 0 10px #FFFF00,
    0 0 20px rgba(255, 255, 0, 0.5);
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 1rem;
  text-decoration: none;
  color: #888888;
  transition: color 0.2s ease;
  letter-spacing: 0.1em;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-top: 1rem;
  color: #888888;
}

/* Ensure footer is at bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
}


footer {
  width: 100%;
  left: 0;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

.footer-links {
  justify-content: center;
}


/* HAMBURGER LIGHTBOX */
/* ================= HAMBURGER LIGHTBOX ================= */
.hamburger-lightbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #0a0f1c; /* fallback base */
  font-family: 'Rajdhani', sans-serif;
  color: #eee;
  transition: opacity 0.5s ease, transform 0.5s ease;
}



/* ================= BACKGROUND EFFECTS ================= */
.hl-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(144,0,255,0.2) 0%, transparent 80%),
    radial-gradient(ellipse 50% 50% at 85% 70%, rgba(0,255,229,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(255,0,110,0.12) 0%, transparent 80%);
}

.hl-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,255,229,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,229,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

.hl-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(rgba(0,255,229,0.03) 0 1px, transparent 1px 4px);
}

@keyframes gridMove {
  from { transform: translateY(0); }
  to { transform: translateY(60px); }
}

/* ================= TOP BAR ================= */
.hl-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 10;
  background: none; /* removed navy background */
}


.hl-logo, .hl-title, .hl-close {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
}

.hl-title {
  color: #ffe600; /* yellow glow */
  text-shadow: 0 0 10px #ffe600, 0 0 20px #ffe600;
  font-size: 1.5rem;
}

.hl-logo { color: #00ffe5; }

/* X CLOSE BUTTON */
.hl-close {
  color: #fff; /* default white */
  border: 2px solid #fff;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  text-shadow: 0 0 5px #fff, 0 0 15px #fff;
}

.hl-close:hover {
  color: #ff0000; /* red on hover */
  border-color: #ff0000;
  box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
  background: none;
}

/* ================= CENTERED CONTENT ================= */
.hl-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5rem;
  z-index: 5;
}

.hl-name {
  color: #ffe600;
  text-shadow: 0 0 10px #ffe600, 0 0 20px #ffe600;
  font-size: 2rem;
}

.hl-subtitle {
  color: #fff;
  margin-top: 0.5rem;
  font-size: 1rem;
}


/* ================= BUTTONS ================= */
.hl-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  z-index: 10;
}

.hl-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 2rem;
  color: #00ffe5;
  border: 2px solid #00ffe5;
clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);

  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 10px #00ffe5, 0 0 20px #00ffe5;
  transition: all 0.2s;
}

.hl-btn:hover {
  background: rgba(0,255,229,0.2);
  box-shadow: 0 0 10px #00ffe5, 0 0 20px #00ffe5;
}
.hl-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 2rem;
    color: #00ffe5;
    border: 2px solid #00ffe5;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 0 10px #00ffe5, 0 0 20px #00ffe5;
    transition: all 0.2s;

    /* Slanted rectangle */
clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);

}

.hl-btn:hover {
    background: rgba(0,255,229,0.2);
    box-shadow: 0 0 10px #00ffe5, 0 0 20px #00ffe5;
    color: #fff;
    border-color: #00ffe5;
}

.hl-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 2rem;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  color: #00ffe5;
  background: rgba(0, 255, 229, 0.2);
  text-decoration: none;
  overflow: visible; /* important for pseudo-element */
}

/* Slanted border using ::before */
.hl-btn::before {
  content: '';
  position: absolute;
  inset: 0; /* cover the button */
  border: 2px solid #00ffe5;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  pointer-events: none;
  transition: all 0.3s;
}

/* Hover effect */
.hl-btn:hover::before {
  border-color: #ffe600;
  box-shadow: 0 0 10px #ffe600, 0 0 20px rgba(255, 230, 0, 0.3);
}

.hl-btn:hover {
  color: #fff;
  background: rgba(255, 230, 0, 0.4);
}
/* Hover state */
.hl-btn:hover {
    color: #fff;                        /* text turns white */
    text-shadow: 0 0 5px #fff, 0 0 20px #ffe600; /* text glow */
}

.hl-btn:hover::before {
    border-color: #ffe600;              /* border turns yellow */
    box-shadow: 0 0 10px #ffe600, 0 0 20px #ffe600; /* border glow */
}

.hl-btn:hover {
    color: #fff; /* text turns white */
    text-shadow: 0 0 10px #fff, 0 0 20px #fff; /* text glow */

    border-color: #ffe600; /* outline turns yellow */
    box-shadow: 0 0 10px #ffe600, 0 0 20px #ffe600; /* outline glow */
}
.hl-topbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
}

.hl-left,
.hl-right {
  width: 50px; /* fixed width so center doesn’t overlap */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hamburger-nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  color: #ffe600;
  text-shadow: 0 0 10px #ffe600, 0 0 20px #ffe600;
  white-space: nowrap;
}

.hl-bottom-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  z-index: 10;
}

.hl-bottom-row .hl-social {
  color: #00ffe5;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
  text-shadow: 0 0 5px #00ffe5, 0 0 15px #00ffe5;
}

.hl-bottom-row .hl-social:hover {
  color: #fff;
  text-shadow: 0 0 10px #00ffe5, 0 0 20px #00ffe5;
}

.hl-bottom-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: absolute;
  bottom: 2rem; /* sticks to bottom */
  width: 100%;
  z-index: 10;
}

.hl-bottom-row .hl-social {
  color: #6a8ea5; /* muted blue-grey */
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
  text-shadow: none; /* remove glow */
}

.hl-bottom-row .hl-social:hover {
  color: #fff; /* white on hover */
  text-shadow: 0 0 10px #00ffe5, 0 0 20px #00ffe5; /* optional glow on hover */
}

/* Default: lightbox hidden on desktop */
.hamburger-lightbox {
  display: none;
}

/* Mobile: hidden initially, will be toggled with JS */
@media (max-width: 768px) {
  .hamburger-lightbox {
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.3s ease;
    transform: translateY(-10%);
  }

  .hamburger-lightbox.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Default: hidden offscreen right */
.hamburger-lightbox {
  transform: translateX(100%); /* start offscreen right */
  transition: transform 0.5s ease;
}

/* Active: slide in */
.hamburger-lightbox.active {
  transform: translateX(0); /* fully visible */
}

/* Default hidden */
.hamburger-lightbox {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Active: slide in + visible */
.hamburger-lightbox.active {
  transform: translateX(0);
  opacity: 1;
}


.hamburger-lightbox .hamburger-nav-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Orbitron', monospace;
  font-size: 5vw;
  font-weight: bold;
  color: #ffe600;
  text-shadow: 0 0 10px #ffe600, 0 0 20px rgba(255, 230, 0, 0.5);
  z-index: 10;
  pointer-events: none;
  text-align: center;
}

.hamburger-lightbox .hamburger-nav-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Orbitron', monospace;
  font-size: 5vw;
  font-weight: bold;
  color: #ffe600;
  text-shadow: 0 0 10px #ffe600, 0 0 20px rgba(255, 230, 0, 0.5);
  z-index: 10;
  pointer-events: none;
  text-align: center;
}

.hamburger-lightbox .hamburger-nav-logo {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-family: 'Orbitron', monospace !important;
  font-size: 5vw !important;
  font-weight: 900 !important;
  color: #ffe600 !important;
  text-shadow: 0 0 10px #ffe600, 0 0 20px rgba(255, 230, 0, 0.5) !important;
  z-index: 9999 !important;
  pointer-events: none !important;
  text-align: center !important;
}




/* ================= NAVIGATION ================= */
nav {
    position: relative;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    border-bottom: 1px solid var(--border-c);
    background: rgba(10,17,40,1);
    backdrop-filter: blur(20px);
    padding: 0 3vh;
    z-index: 900;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; gap: 1rem; margin-right: 5vw; }

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700;
    text-decoration: none;
    transform: translateY(-0.5vh);
    text-shadow: var(--glow-c);
    letter-spacing: 0.15em;
}

.nav-logo .slash { color: var(--yellow); margin: 0 4px; animation: pulse 2s ease-in-out infinite; }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Share Tech Mono', monospace;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    border: 1px solid transparent;
    position: relative;
    transition: all 0.2s;
    padding: 1vh 1.5vh;
    font-size: 2vh;
}

.nav-links a::before {
    content: '>';
    color: var(--cyan);
    margin-right: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    color: var(--cyan);
    border-color: var(--border-c);
    text-shadow: var(--glow-c);
    background: rgba(0, 255, 229, 0.25);
}

.nav-links a:hover::before { opacity: 1; }

.nav-links a.active {
    color: var(--yellow);
    text-shadow: 0 0 10px var(--yellow), 0 0 20px rgba(255, 230, 0, 0.5);
    border: none;
    background: none;
}

.nav-links a.active::before { content: '>'; color: var(--yellow); opacity: 1; }

/* Glowing block logo */
.logo-container {
    position: relative;
    display: inline-block;
}

.nav-block-logo {
    height: 80%;
    width: auto;
    position: relative;
    z-index: 2;
    object-fit: contain;
    transform: translateY(-20%);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0,150,255,0.7))
            drop-shadow(0 0 20px rgba(0,150,255,0.5))
            drop-shadow(0 0 30px rgba(0,150,255,0.4));
}
.nav-block-logo {
    height: 5vh;       /* limit logo height to 5vh */
    width: auto;
    position: relative;
    z-index: 2;
    object-fit: contain;
    transform: translateY(-20%);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0,150,255,0.7))
            drop-shadow(0 0 20px rgba(0,150,255,0.5))
            drop-shadow(0 0 30px rgba(0,150,255,0.4));
}


.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: rgba(0,150,255,0.6);
    border-radius: 50%;
    filter: blur(25px);
    z-index: 1;
}

/* Main nav layout */
.main-nav {
    display: grid;
    grid-template-columns: 7fr 3fr;
    align-items: center;
    width: 100%;
    position: relative;
}

.main-nav::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--cyan);
    position: absolute;
    bottom: 0;
    left: 0;
}



/* ================= MEDIA QUERIES ================= */
@media (max-width: 768px) {


    .portfolio-container {
        flex-direction: column;
        gap: 0;
    }

    .project-panel {
        flex-direction: column !important;
        width: 100% !important;
        height: 100vh !important;
    }

    .left-column,
    .right-column {
        flex: 1 1 auto !important;
        width: 100% !important;
    }

    .image-zone { min-height: 50% !important; }


    /* Make all project panels stack vertically */
    .project-panel {
        flex-direction: column;  /* left above right */
        width: 100%;             /* full container width */
        height: auto;            /* let height adjust naturally */
        gap: 1rem;               /* optional spacing between columns */
    }

    /* Columns take full width */
    .left-column,
    .right-column {
        flex: 1 1 100%;          /* full width each */
        width: 100%;             /* ensure full width */
    }

    /* Optional: adjust image height to fill top half */
    .image-zone {
        min-height: 40vh;        /* adjust for mobile viewport */
    }


}






/* ================= MOBILE NAV ================= */
.mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 10vh;
    padding: 0 3vh;
    background: rgba(10,17,40,1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-c);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.mobile-nav .nav-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav .nav-right {
    display: flex;
    align-items: center;
}

/* Hamburger styling */
.hamburger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none; /* hidden by default (desktop) */
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 768px) {
    /* Hide full nav links on mobile */
    .nav-links { display: none; }

    /* Show hamburger on mobile */
    .hamburger { display: flex; }
}


.nav-links a.active {
    color: var(--yellow);
    text-shadow: 0 0 10px var(--yellow), 0 0 20px rgba(255, 230, 0, 0.5);
    border: none;
    background: none;
}

.nav-links a.active::before { content: '>'; color: var(--yellow); opacity: 1; }


.section-block h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer; /* optional hover */
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.toggle-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #00ffff; /* cyan border */
  color: #00ffff; /* cyan text */
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.toggle-circle:hover {
  border-color: #ffff00; /* yellow on hover */
  color: #ffff00;        /* yellow text on hover */
  transform: scale(1.1);  /* optional small grow effect */
}
.toggle-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #00ffff; /* cyan border */
  color: #00ffff; /* cyan text */
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.toggle-circle:hover {
  border-color: #ffff00; /* yellow on hover */
  color: #ffff00;        /* yellow text on hover */
  transform: scale(1.1);
}

/* Active state */
.toggle-circle.active {
  border-color: #ffffff; /* white border */
  color: #ffffff;        /* white text */
}
.section-block.collapsed > .experience-container,
.section-block.collapsed > .education-container,
.section-block.collapsed > .skills-container {
  display: none;
}
.toggle-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: cyan;
  color: white;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

/* default: plus */
.toggle-circle::before {
  content: "+";
}

/* when active: minus */
.toggle-circle.active::before {
  content: "-";
  background-color: white;
  color: black; /* optional if you want the minus visible on white */
}
.skills-section h3 {
  text-align: center;
  color: #fff;   /* this is bright yellow */
  text-shadow: 0 0 0px #fff;
  margin-bottom: 2rem;
}

.hl-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  z-index: 10;
}

.hl-btn {
  /* ... multiple conflicting styles ... */
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a1128;
    --bg2: #0f1a3c;
    --cyan: #00ffe5;
    --magenta: #ff006e;
    --yellow: #ffe600;
    --purple: #9000ff;
    --white: #ffffff;
    --surface: rgba(0, 255, 229, 0.03);
    --surface2: rgba(144, 0, 255, 0.06);
    --border-c: rgb(0, 255, 229);

    --border-m: rgba(255, 0, 110, 0.25);
    --text: #c8f0ec;
--muted: #6fb0a8; /* brighter, same tone */

    --glow-c: 0 0 20px rgba(0, 255, 229, 0.4), 0 0 60px rgba(0, 255, 229, 0.15);
    --glow-m: 0 0 20px rgba(255, 0, 110, 0.4), 0 0 60px rgba(255, 0, 110, 0.15);

    --cat1: #00ffe7;
    --cat2: #ff2d78;
    --cat3: #ffe600;
    --c: #00ffe7;
    --c2: #ff2d78;
    --c3: #ffe600;
    --c4: #7b2fff;
    --panel: rgba(0, 255, 231, 0.03);
    --border: rgba(0, 255, 231, 0.14);
    --border2: rgba(0, 255, 231, 0.4);
    --text2: rgba(142, 207, 204, 0.5);
}

body {
    background-color: #0a0a0a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

/* Background layer that fades */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -2;
    pointer-events: none;
}

/* Dark overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* When active, show the background image */
body.show-bg::after {
    opacity: 1;
}

.container {
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
    margin: 0 auto;
}

/* Each section stacks vertically */
.background-box {
    background: transparent;
    padding: 2rem 0 3rem 0;
    position: relative;
    backdrop-filter: blur(2px);
    width: 100%;
    margin-bottom: 1rem;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.section-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.horizontal-bar {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

/* Boxes container - keeps cards in a row, wraps on mobile */
.boxes-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 1rem;
}

/* Project card - fixed width */
.project-wrapper {
    display: flex;
    flex-direction: column;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
}

.project-box {
    width: 180px;
    height: 320px; /* 9:16 ratio */
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Dim other boxes when hovering over container */
.boxes-container:hover .project-box:not(:hover) {
    opacity: 0.5;
    filter: brightness(0.5);
}

.project-box .box-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.project-box:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Text container - below the box */
.project-info {
    margin-top: 0.75rem;
    width: 100%;
    text-align: left;
    color: white;
}

.project-title {
    color: #FFD700;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

/* Studio and year side by side */
.project-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.15rem;
    flex-wrap: wrap;
}

.project-studio {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.project-year {
    color: #6B8E9B;
    font-size: 0.75rem;
    font-weight: 300;
}

.project-award {
    color: #FF69B4;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 0.1rem;
}

/* Dim text of non-hovered cards */
.boxes-container:hover .project-wrapper:not(:hover) .project-info {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

@media (max-width: 1024px) {
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    body {
        justify-content: flex-start;
    }
    
    .title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .horizontal-bar { 
        width: 100%; 
    }
    
    .boxes-container {
        justify-content: center;
    }
    
    .project-wrapper { 
        width: 160px;
        min-width: 160px;
        max-width: 160px;
    }
    
    .project-box {
        width: 160px;
        height: 284px; /* 9:16 ratio for 160px width */
    }
}

.section-title {
    font-family: 'Orbitron', monospace;
    text-shadow: var(--glow-c);
}

.horizontal-bar {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan) 0%, rgba(0, 255, 229, 0) 100%);
    box-shadow: var(--glow-c);
}


/* Remove the dimming effect by default */
.boxes-container:hover .project-box:not(:hover) {
    opacity: 1;
    filter: brightness(1);
}

/* Keep the hover effect for the hovered box */
.project-box:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Remove text dimming */
.boxes-container:hover .project-wrapper:not(:hover) .project-info {
    opacity: 1;
}

/* Dim other boxes when hovering over container */
.boxes-container:hover .project-box:not(:hover) {
    opacity: 0.5;
    filter: brightness(0.5);
}

/* ================= FIXED BACKGROUND IMAGE - ABOVE EVERYTHING ================= */




/* Make sure body content is above background */
body {
    position: relative;
    z-index: 10 !important;
}

/* Keep background image below content */
body::after {
    z-index: 5 !important;
}

/* Ensure any other background layers are even lower */
.bg-layer,
.bg-grid,
.scanlines {
    z-index: 1 !important;
}
/* ================= FIX Z-INDEX HIERARCHY ================= */
body {
    z-index: 10;
    position: relative;
}

.container,
.background-box,
.title-row,
.section-title,
.horizontal-bar,
.boxes-container,
.project-wrapper,
.project-box,
.project-info,
.project-title,
.project-meta,
.project-studio,
.project-year,
.project-award {
    position: relative;
    z-index: 10;
}

/* Background image - below everything */
body::after {
    z-index: 5 !important;
}

/* Background effects - lowest */
.bg-layer,
.bg-grid,
.scanlines {
    z-index: 1 !important;
}

/* ================= BACKGROUND IMAGE OPACITY ================= */
body.show-bg::after {
    opacity: 0.25 !important; /* 50% opacity when visible */
}




