canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: contrast(1.2) brightness(1.1);
  background-color: black;
}

#overlay {
  position: fixed;
  top: 20px;
  left: 3%;
  text-align: left;
  z-index: 20;
}

#Title {
  font-family: 'VT323', monospace;
  font-size: 60px;
  color: black;
  text-shadow: 
    3px 3px 5px rgba(255, 255, 255, 0.8),
    -2px -2px 5px rgba(0, 0, 0, 0.5);
  margin: 10px 0;
}

#Subtitle {
  font-family: 'VT323', monospace;
  font-size: 24px;
  color: black;
  text-shadow: 
    2px 2px 3px rgba(255, 255, 255, 0.7),
    -1px -1px 3px rgba(0, 0, 0, 0.4);
  margin: 5px 0;
}

nav {
  opacity: 0;
  position: absolute;
  border-radius: 0px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 10;
  padding-left: 1%;
}

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

nav ul li {
  margin: 10px 0;
  pointer-events: none;
}

nav a {
  font-family: 'VT323', monospace;
  font-size: 32px;
  color: black;
  text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.7), -1px -1px 3px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  display: inline-block;
  pointer-events: auto;
}

nav b {
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: black;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0), -0.5px -0.5px 1px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  position: absolute;
  bottom: 10px;
  left: 2%;
}

nav a:hover {
  text-decoration: underline;
}

nav ul li, nav ul {
  pointer-events: none;
}

nav a {
  pointer-events: auto;
}

/* About Me Section Styles */
aboutme {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow-y: auto;
  font-family: 'VT323', monospace;
  color: black;
  line-height: 1.7;
  box-sizing: border-box;
  z-index: -1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

aboutme::-webkit-scrollbar {
  display: none;
}

aboutme h1 {
  font-size: 42px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 30px;
  color: black;
  font-weight: bold;
}

aboutme h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 12px;
  color: black;
  font-weight: bold;
}

aboutme p {
  font-size: 17px;
  margin: 0 0 18px 0;
  line-height: 1.7;
  text-align: justify;
}

.aboutme-photo-container-top {
  float: right;
  margin: 0 5% 20px 60px;
  shape-outside: circle(50%);
}

.aboutme-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid #333;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aboutme-photo:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.intro-text {
  font-size: 18px;
  margin: 0 20% 25px 20%;
  line-height: 1.8;
  text-align: justify;
}

.journey-section {
  margin: 25px 18% 30px 20%;
}

.journey-section p {
  margin-bottom: 20px;
}

.skills-passion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 18% 30px 20%;
}

.passion-col h2 {
  font-size: 22px;
  margin-bottom: 15px;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
}

.passion-col p {
  font-size: 16px;
  margin-bottom: 15px;
}

.achievements-subtle {
  margin: 30px 18% 30px 20%;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.05) 100%);
  border-left: 3px solid #333;
  border-radius: 5px;
}

.achievement-line {
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
  text-align: justify;
}

.achievement-line strong {
  font-weight: bold;
  color: #000;
}

.impact-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 35px 18% 35px 20%;
}

.impact-card {
  text-align: center;
  padding: 20px 15px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 0, 0.06);
}

.impact-stat {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.impact-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}

.closing-section {
  margin: 35px 18% 25px 20%;
  clear: both;
}

.aboutme-text {
  width: 100%;
}

.aboutme-text p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.contact-links {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.aboutme-link {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.aboutme-link:hover {
  color: #0b529f;
  text-decoration: underline;
}

.contact-info {
  font-size: 16px;
  color: #555;
  margin-top: 15px;
  line-height: 1.6;
  text-align: left;
}

/* Experience Section Styles */
experience {
  display: none;
  position: absolute;
  top: 0;
  left: 3%;  /* Offset nav's padding */
  width: 100%;
  height: 100%;
  padding: 20px;
  padding-left: 0;
  overflow-y: auto;
  font-family: 'VT323', monospace;
  color: black;
  box-sizing: border-box;
  z-index: -1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

experience::-webkit-scrollbar {
  display: none;
}

experience h1 {
  font-size: 36px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 25px;
  color: black;
  font-weight: bold;
}

.experience-item {
  margin-left: 18%;
  margin-right: 5%;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid #555;
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-header {
  margin-bottom: 15px;
}

.experience-title-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
}

.company-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px #000);
}

experience h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 5px 0;
  color: black;
}

experience h3 {
  font-size: 20px;
  font-weight: normal;
  margin: 0 0 5px 0;
  color: #333;
}

.experience-date {
  font-size: 16px;
  color: #555;
  font-style: italic;
  margin: 0;
}

.experience-details {
  list-style-type: disc;
  padding-left: 20px;
  margin: 15px 0;
  line-height: 1.6;
}

.experience-details li {
  font-size: 16px;
  margin-bottom: 10px;
  color: black;
}

.experience-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.experience-image {
  width: 85%;
  height: auto;
  border: 2px solid #333;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.experience-image:hover {
  transform: scale(1.05);
}

.experience-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid-item .experience-image {
  width: 100%;
}

.image-caption {
  font-size: 14px;
  color: #555;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Education Section Styles */
education {
  display: none;
  position: absolute;
  top: 0;
  left: 8%;
  width: 100%;
  height: 100%;
  padding: 20px;
  padding-right: 7%;  /* ADD THIS for right padding */
  overflow-y: auto;
  font-family: 'VT323', monospace;
  color: black;
  text-align: justify;
  line-height: 1.6;
  box-sizing: border-box;
  z-index: -1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

education::-webkit-scrollbar {
  display: none;
}

.education-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  margin-bottom: 10px;
}

.education-heading h1 {
  font-size: 36px;
  font-weight: bold;
  color: black;
  margin: 0;
}

.uottawa {
  width: 35px;
  height: auto;
}

.program-info {
  text-align: center;
  margin-bottom: 25px;
}

.program-info h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 5px 0;
}

.program-info p {
  font-size: 18px;
  margin: 5px 0;
  color: #333;
}

.degree-specialization {
  font-size: 16px;
  font-style: italic;
  color: #555;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 10% 30px 10%;
}

.stat-box {
  background-color: rgba(0, 0, 0, 0.03);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 2px solid #333;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
  background-color: rgba(0, 0, 0, 0.06);
}

.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 16px;
  color: #555;
}

.section-container {
  margin: 30px 10% 30px 10%;
}

.section-container h3 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: black;
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
}

.intro-paragraph {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.deans-list-banner {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 15px 20px;
  border-radius: 5px;
  text-align: center;
  margin: 20px 0;
  border: 2px solid #333;
}

.deans-list-banner p {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.achievement-item {
  background-color: rgba(0, 0, 0, 0.02);
  padding: 15px;
  border-left: 3px solid #333;
  border-radius: 3px;
}

.achievement-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.achievement-detail {
  font-size: 16px;
  color: #555;
}

.coursework-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

.coursework-category {
  background-color: rgba(0, 0, 0, 0.02);
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #555;
}

.category-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #000;
}

.coursework-category ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.coursework-category li {
  font-size: 16px;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.coursework-category li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #333;
}

.course-code {
  font-weight: bold;
  color: #000;
}

.scholarships-list {
  list-style-type: none;
  padding-left: 0;
}

.scholarships-list li {
  font-size: 18px;
  margin-bottom: 10px;
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.02);
  border-left: 3px solid #333;
  border-radius: 3px;
}

.scholarship-amount {
  font-weight: bold;
  color: #000;
}

#Transcript {
  margin-top: 15px;
  width: 90%;
  margin-left: 5%;
  height: 600px;
  border: 2px solid #333;
  border-radius: 5px;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stats-container,
  .coursework-grid,
  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .section-container {
    margin: 20px 5%;
  }
}
/* Projects Section Styles */
/* Projects Section Styles */
projects {
  display: none;
  position: absolute;
  top: 0;
  left: 3%;
  width: 100%;
  height: 100%;
  padding: 20px;
  padding-left: 0;
  padding-right: 5%;
  overflow-y: auto;
  font-family: 'VT323', monospace;
  color: black;
  box-sizing: border-box;
  z-index: -1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

projects::-webkit-scrollbar {
  display: none;
}

.projects-title {
  font-size: 42px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 40px;
  margin-left: 18%;
  margin-right: 5%;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Project Cards */
.project-card {
  background-color: white;
  padding: 35px;
  margin-left: 18%;
  margin-right: 5%;
  margin-bottom: 40px;
  border-radius: 8px;
  border: 2px solid #333;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.15);
}

.project-card:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Project Header */
.project-header {
  margin-bottom: 20px;
}

.project-title {
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: black;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background-color: #000;
  color: white;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  color: #1a73e8;
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #1a73e8;
  padding: 6px 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.project-link:hover {
  background-color: #1a73e8;
  color: white;
  transform: scale(1.05);
}

/* Elevator Pitch */
.project-pitch {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #333;
  line-height: 1.6;
}

/* Impact Metrics */
.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.metric-box {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  border: 2px solid #333;
}

.metric-number {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 16px;
  color: #555;
}

/* Project Highlights */
.project-highlights {
  background-color: rgba(0, 0, 0, 0.03);
  padding: 20px 25px;
  border-radius: 5px;
  margin-bottom: 25px;
  border-left: 4px solid #000;
}

.highlights-title {
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-highlights ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.project-highlights li {
  font-size: 18px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.project-highlights li:before {
  content: "▸";
  position: absolute;
  left: 0;
  font-size: 20px;
  color: #000;
  font-weight: bold;
}

/* Full Story Toggle */
.full-story {
  margin: 25px 0;
}

.full-story-toggle {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  font-family: 'VT323', monospace;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}

.full-story-toggle:hover {
  background-color: #000;
}

.full-story-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 15px;
}

.full-story-content.expanded {
  max-height: 1000px;
}

.full-story-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

/* Media Sections */
.media-section {
  margin: 30px 0;
}

.section-header {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
}

/* Unified Image Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

/* Gallery Item - Remove extra spacing */
.gallery-item {
  position: relative;
  overflow: visible; /* Changed from hidden */
  border-radius: 5px;
  border: 2px solid #333;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white; /* Add background so border shows properly */
  padding: 10px; /* Small padding for breathing room */
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 10;
}

.gallery-item img {
  width: auto; /* Changed from 100% */
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* Changed from default */
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.image-caption {
  font-size: 14px;
  color: #555;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
  width: 100%;
}

/* Video Embeds */
.video-embed {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.video-embed iframe {
  border: 3px solid #333;
  border-radius: 5px;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
}

/* Special handling for portrait phone screenshots (Hermes) */
.hermes-gallery {
  grid-template-columns: repeat(3, minmax(150px, 200px));
  justify-content: center;
}

.hermes-gallery .gallery-item {
  max-width: 200px;
}

.hermes-gallery .gallery-item img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hermes-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .project-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-title {
    font-size: 26px;
  }

  .impact-metrics {
    grid-template-columns: 1fr;
  }

  .project-card {
    margin-left: 5%;
    margin-right: 5%;
    padding: 25px;
  }

  .projects-title {
    margin-left: 5%;
    margin-right: 5%;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border: 3px solid #fff;
  border-radius: 5px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 50px;
  color: white;
  font-family: 'VT323', monospace;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  transform: scale(1.2);
  color: #ff4444;
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: 'VT323', monospace;
  font-size: 24px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 5px;
  max-width: 80%;
}

/* Make gallery images clickable */
.gallery-item img {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

aboutme::-webkit-scrollbar {
  display: none;
}

body {
  cursor: url('assets/cursors/retrocursor.png'), auto;
}

#overlay:hover, #Title:hover, #Subtitle:hover {
  cursor: url('assets/cursors/retrocursorsel.png'), auto;
}