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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  pointer-events: auto;
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay.contact-active {
  background-color: #ffffff;
}

.main-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 1rem;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;
  min-height: 100vh;
  z-index: 2;
}

#weapon-container {
  position: relative;
  width: 100%;
  max-width: 1300px;
  aspect-ratio: 13 / 2.5;
  background: linear-gradient(45deg, #1a1a2e, #16213e);
  border-radius: 15px;
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
  overflow: hidden;
  opacity: 0;
  z-index: 3;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
  height: auto;
}

#weapon-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
  pointer-events: none;
  transition: transform 0.3s ease;
  opacity: 0;
  filter: brightness(1.2) contrast(1.1);
}

.info-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  width: 100%;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
}

.info-section {
  flex: 1 1 350px;
  max-width: 400px;
  height: 300px;
}

.bio-section {
  flex: 2 1 600px;
  max-width: calc(100% - 430px);
  height: 300px;
}

.cont,
.cont-two {
  color: white;
  font-family: sans-serif;
  position: relative;
  opacity: 0;
  transform: translateY(-100px);
  transition: all 1.2s ease-in-out;
  z-index: 55;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.cont::before,
.cont::after {
  content: "";
  background-color: #fab5704c;
  position: absolute;
}

.cont::before {
  border-radius: 50%;
  width: 6rem;
  height: 6rem;
  top: 30%;
  right: 7%;
}

.cont::after {
  height: 3rem;
  top: 8%;
  right: 5%;
  border: 1px solid;
}

.no-decor::before,
.no-decor::after {
  display: none !important;
}

.boxx,
.bio-box {
  flex-grow: 1;
  width: 100%;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.074);
  border: 1px solid rgba(255, 255, 255, 0.222);
  backdrop-filter: blur(20px);
  border-radius: 0.7rem;
  transition: all ease 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.boxx .title {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.boxx div strong {
  display: block;
  margin-bottom: 0.5rem;
}

.boxx div p,
.bio-box p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.8;
  text-align: justify;
  overflow-wrap: break-word;
  color: white;
}

.boxx div span {
  font-size: 0.7rem;
  font-weight: 300;
}

.boxx div span:nth-child(3) {
  font-weight: 500;
  margin-right: 0.2rem;
}

.boxx:hover {
  box-shadow: 0px 0px 20px 1px #ffbb763f;
  border: 1px solid rgba(255, 255, 255, 0.454);
}

.fragment {
  position: absolute;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  z-index: 20;
  opacity: 0;
  border-radius: 2px;
  backdrop-filter: blur(1px);
  mix-blend-mode: screen;
}

.connection-line {
  position: absolute;
  height: 2px;
  background-color: rgba(226, 33, 33, 0.3);
  pointer-events: none;
  transition: opacity 0.2s ease;
}



@media screen and (max-width: 1300px) {
  .main-container {
    padding: 1rem;
  }
}

@media screen and (max-width: 1024px) {
  .main-container {
    width: 95%;
    padding: 0.8rem;
  }
}

@media screen and (max-width: 768px) {
  .info-row {
    flex-direction: column;
    gap: 2rem;
  }

  .info-section,
  .bio-section {
    width: 100%;
    max-width: 100%;
    height: auto;
    flex: none;
  }

  .cont,
  .cont-two,
  .boxx,
  .bio-box {
    width: 100%;
    height: auto !important; 
  }

  .boxx .title {
    font-size: 1.4rem;
  }

  .boxx div p,
  .bio-box p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .cont::before,
  .cont::after {
    display: none; 
  }

  #weapon-container {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    height: auto;
    min-height: 1px;
  }

  #weapon-image {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 0;
  }
}

@media screen and (max-width: 480px) {
  .overlay {
    padding: 0.5rem;
  }

  .main-container {
    width: 100%;
    padding: 0.5rem;
  }

  .info-section,
  .bio-section {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .boxx,
  .bio-box {
    padding: 0.8rem;
  }

  .boxx .title {
    font-size: 1.2rem;
  }

  #weapon-container {
    margin-bottom: 1rem;
    border-radius: 8px;
    height: auto;
    min-height: 1px;
  }

  #weapon-image {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 0;
  }
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.spinner {
  width: 44px;
  height: 44px;
  animation: spinner-y0fdc1 2s infinite ease;
  transform-style: preserve-3d;
  position: relative;
  z-index: 10000;
}

.spinner > div {
  background-color: rgba(0, 77, 255, 0.2);
  height: 100%;
  position: absolute;
  width: 100%;
  border: 2px solid #004dff;
}

.spinner div:nth-of-type(1) {
  transform: translateZ(-22px) rotateY(180deg);
}

.spinner div:nth-of-type(2) {
  transform: rotateY(-270deg) translateX(50%);
  transform-origin: top right;
}

.spinner div:nth-of-type(3) {
  transform: rotateY(270deg) translateX(-50%);
  transform-origin: center left;
}

.spinner div:nth-of-type(4) {
  transform: rotateX(90deg) translateY(-50%);
  transform-origin: top center;
}

.spinner div:nth-of-type(5) {
  transform: rotateX(-90deg) translateY(50%);
  transform-origin: bottom center;
}

.spinner div:nth-of-type(6) {
  transform: translateZ(22px);
}

@keyframes spinner-y0fdc1 {
  0% {
    transform: rotate(45deg) rotateX(-25deg) rotateY(25deg);
  }

  50% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(25deg);
  }

  100% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(385deg);
  }
}

.glow-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.9), rgba(0, 153, 255, 0.2) 70%);
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: blur(40px);
  transition: transform 0.03s ease;
}
.bio-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: white;
}

.white-flex-box {
  width: 100%;
  margin: 1.5rem auto 1rem auto;
  background-color: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  height: 650px;
  opacity: 0; 
}

.white-flex-box:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.white-box-content {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  color: #222;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.scroll-trigger {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 153, 255, 0);
}

@keyframes subtle-pulse {
  0% {
    background: rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 rgba(0, 153, 255, 0);
  }
  50% {
    background: rgba(0, 153, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.1);
  }
  100% {
    background: rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 rgba(0, 153, 255, 0);
  }
}

.scroll-trigger:hover {
  background: rgba(0, 153, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.15);
}

@media screen and (max-width: 768px) {
  .white-flex-box {
    width: 95%;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .white-box-content {
    font-size: 0.95rem;
  }

  .scroll-trigger {
    height: 25px;
  }
}

@media screen and (max-width: 480px) {
  .white-flex-box {
    width: 98%;
    padding: 1rem;
    border-radius: 12px;
  }

  .white-box-content {
    font-size: 0.9rem;
  }

  .scroll-trigger {
    height: 20px;
  }
}

.scroll-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 153, 255, 0.18);
  pointer-events: none;
  transform: scale(0);
  animation: scroll-ripple-anim 0.7s cubic-bezier(0.4,0,0.2,1);
  z-index: 20;
}

@keyframes scroll-ripple-anim {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}


@keyframes scrollbox-pop {
  0% {
    transform: translateY(80px) scale(0.95);
    opacity: 0;
  }
  70% {
    transform: translateY(-10px) scale(1.03);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.scrollbox-pop-animate {
  animation: scrollbox-pop 0.7s cubic-bezier(0.4,1.4,0.2,1) both;
  z-index: 30;
}

.project-card-grid {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem;
  margin: 2rem 0 1rem 0;
  padding: 1.5rem 0.5rem;
  width: 100%;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 153, 255, 0.4) transparent;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.project-card-grid::-webkit-scrollbar {
    height: 8px;
}

.project-card-grid::-webkit-scrollbar-track {
    background: transparent;
}

.project-card-grid::-webkit-scrollbar-thumb {
    background-color: rgba(0, 153, 255, 0.4);
    border-radius: 10px;
}

.project-card-grid:active {
  cursor: grabbing;
}

.project-card {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.13);
  border-radius: 1.1rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.08), 0 1.5px 8px 0 rgba(0,153,255,0.08);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(.4,1.4,.2,1), box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  border: 1.5px solid rgba(0,153,255,0.08);
  position: relative;
  white-space: normal;
  scroll-snap-align: start;
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 12px 40px 0 rgba(0,153,255,0.25), 0 4px 12px 0 rgba(0,0,0,0.15);
  border-color: #00bfff88;
}

.project-card-img {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #e0e7ef 40%, #b6eaff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #00bfff;
  border-bottom: 1.5px solid #e0e7ef;
  position: relative;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.project-card:hover .project-card-img img {
  transform: scale(1.05);
}

.project-card-content {
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.project-card-content h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0a223a;
  letter-spacing: 0.01em;
}

.project-card-content p {
  margin: 0;
  font-size: 1rem;
  color: #1a2a3a;
  opacity: 0.9;
  line-height: 1.5;
}

#parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(120deg, #e0e7ef 0%, #b6eaff 100%);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

#parallax-bg.fade-out {
  opacity: 0;
  transform: scale(1.1);
}

body {
  overflow: hidden;
}

.scroll-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  z-index: 1;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.fade-section {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  z-index: 10;
  background: transparent;
  transition: opacity 1s cubic-bezier(.4,1.4,.2,1), transform 1s cubic-bezier(.4,1.4,.2,1);
  opacity: 1;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transform-origin: center center;
}

.fade-section.faded {
  opacity: 0; 
  pointer-events: none;
  transform: scale(0.95);
}


.fade-section:not(.faded) .white-flex-box {
  display: flex;
  flex-direction: column;
    box-sizing: border-box;
    overflow-y: auto; 
    margin-top: 0; 
    margin-bottom: 0; 
    align-self: center; 
}

.white-box-content {
    flex-grow: 1;
 
}


.fade-section.faded .ide-skills-box {
    opacity: 1 !important;
    pointer-events: auto !important;
}


.fade-section:not(.faded) .ide-skills-box {
    margin-top: 0; 
    margin-bottom: 0; 
    display: flex; 
    flex-direction: column; 
    box-sizing: border-box; 
    overflow-y: auto; 
    align-self: center; 
}






.project-card-grid::before,
.project-card-grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.project-card-grid::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.1), transparent);
}

.project-card-grid::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.1), transparent);
}


.project-card-grid.at-start::before,
.project-card-grid.at-end::after {
  opacity: 0;
}

.timeline-content {
  display: none;
}

.timeline-item {
  display: none;
}

.timeline-dot {
  display: none;
}

.timeline-date {
  display: none;
}

.skills-builder-container {
  display: none;
}

.skills-palette {
  display: none;
}

.skill-block {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  position: absolute;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-block:active {
  cursor: grabbing;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


.skill-block[data-pole="north"] {
  background: linear-gradient(145deg, rgba(255, 77, 77, 0.8), rgba(204, 0, 0, 0.8));
  box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
  border: 1px solid rgba(255, 77, 77, 0.4);
}

.skill-block[data-pole="south"] {
  background: linear-gradient(145deg, rgba(77, 121, 255, 0.8), rgba(0, 51, 204, 0.8));
  box-shadow: 0 4px 15px rgba(77, 121, 255, 0.3);
  border: 1px solid rgba(77, 121, 255, 0.4);
}

.skills-baseplate {
  display: none;
}

.bottom-text {
  display: none;
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    border-radius: 50%;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
    flex-shrink: 0;
    flex-basis: auto;
    cursor: pointer;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-indicator svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    display: block;
    max-width: 100%;
    max-height: 100%;
    flex-grow: 1;
    flex-shrink: 0;
}

.scroll-indicator circle {
    fill: none;
    stroke-width: 4;
}

.scroll-indicator .progress-ring {
    stroke: url(#gradient);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
}

.scroll-indicator .background-ring {
    stroke: rgba(255, 255, 255, 0.2);
}

.scroll-indicator:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.1);
}

/* Add styles for the click animation effects */
.scroll-indicator-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.scroll-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: screen;
    filter: blur(1px);
    will-change: transform, opacity;
}

.scroll-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    mix-blend-mode: screen;
    filter: blur(2px);
    will-change: transform, opacity;
}

/* Add a subtle glow effect to the scroll indicator */
.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    filter: blur(5px);
}

.scroll-indicator:hover::after {
    opacity: 1;
}

/* Add a pulsing glow effect */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 20px rgba(0, 153, 255, 0.5),
                    0 0 40px rgba(0, 153, 255, 0.3),
                    0 0 60px rgba(0, 153, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 153, 255, 0.7),
                    0 0 60px rgba(0, 153, 255, 0.5),
                    0 0 90px rgba(0, 153, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 153, 255, 0.5),
                    0 0 40px rgba(0, 153, 255, 0.3),
                    0 0 60px rgba(0, 153, 255, 0.1);
    }
}

.scroll-indicator {
    animation: pulse-glow 2s infinite;
}

@media screen and (max-width: 768px) {
    .scroll-indicator {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .scroll-indicator {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}


.ide-skills-box {
    width: 100%;
    max-width: 1100px;
    margin: 1.5rem auto 3rem auto;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Consolas', 'Courier New', monospace;
    color: #cccccc;
    min-height: 650px;
    z-index: 9999; 

    
    p,
    span,
    li,
    div:not(.ide-controls) { 
        color: #cccccc !important; 
    }
    .ide-sidebar .file-tree li.file { 
        color: #9cdbfe !important; 
    }
    .editor-area pre,
    .editor-area code { 
         color: #cccccc !important;
    }
    
    .language-txt .comment { color: #6a9955 !important; } 
    .language-json .string { color: #ce9178 !important; } 
    .language-json .key { color: #9cdbfe !important; } 
    .language-markdown strong { color: #569cd6 !important; } 
    .language-markdown em { color: #b5cea8 !important; } 
    .language-markdown { color: #cccccc !important; } 
}

.ide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #252526;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #333333;
    user-select: none;
}

.ide-title {
    font-size: 0.9rem;
    color: #cccccc;
}

.ide-controls {
    display: flex;
    gap: 5px;
}

.ide-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.ide-control.close { background: #ff605c; }
.ide-control.minimize { background: #ffbd44; }
.ide-control.maximize { background: #00ca4e; }

.ide-content {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

.ide-sidebar {
    width: 200px;
    background: #252526;
    border-right: 1px solid #333333;
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
    flex-shrink: 0;
    overflow-y: auto;
}

.sidebar-header {
    color: #888888;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.file-tree ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-tree li {
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-tree li:hover {
    background: #333333;
    color: #ffffff;
}

.file-tree li.folder {
    font-weight: bold;
    color: #cccccc;
}

.file-tree li.file {
    color: #9cdbfe;
}

.ide-editor {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.editor-tabs {
    display: flex;
    background: #2d2d2d;
    border-bottom: 1px solid #333333;
    user-select: none;
}

.editor-tab {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-right: 1px solid #333333;
    color: #cccccc !important; 
    transition: background 0.2s ease, color 0.2s ease;
}

.editor-tab.active {
    background: #1e1e1e;
    color: #cccccc !important; 
    border-bottom-color: transparent;
}

.editor-tab:hover:not(.active) {
    background: #3a3a3a;
    color: #eeeeee !important; 
}

.editor-area {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    min-height: 0; 
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: auto; 
}

.editor-area pre,
.editor-area code {
    display: block; 
    width: 100%; 
    box-sizing: border-box; 
    word-wrap: break-word; 
    white-space: pre-wrap; 
    color: #cccccc !important;
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-x: auto; 
}


.language-txt .comment { color: #6a9955 !important; }
.language-json .string { color: #ce9178 !important; }
.language-json .key { color: #9cdbfe !important; }
.language-markdown strong { color: #569cd6 !important; }
.language-markdown em { color: #b5cea8 !important; }
.language-markdown { color: #cccccc !important; }


@media screen and (max-width: 768px) {
    .ide-skills-box {
        margin: 1rem auto 2rem auto;
        border-radius: 6px;
        min-height: 500px;
    }

    .ide-header {
        padding: 0.4rem 0.8rem;
    }

    .ide-title {
        font-size: 0.85rem;
    }

    .ide-sidebar {
        width: 150px;
        padding: 0.8rem 0.4rem;
        font-size: 0.85rem;
    }
    
    .sidebar-header {
        margin-bottom: 0.8rem;
    }

    .file-tree li {
        padding: 0.15rem 0.4rem;
    }

    .ide-editor {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .editor-tabs {
        padding: 0 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
     .editor-tab {
        flex-shrink: 0;
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .editor-area {
        padding: 0.8rem;
    }

    .editor-area pre {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .ide-skills-box {
        margin: 0.8rem auto 1.5rem auto;
        border-radius: 4px;
        min-height: 400px;
    }

     .ide-header {
        padding: 0.3rem 0.5rem;
    }

    .ide-title {
        font-size: 0.8rem;
    }

    .ide-controls {
        gap: 3px;
    }
    
    .ide-control {
        width: 10px;
        height: 10px;
    }

    .ide-content {
        flex-direction: column;
        overflow: visible;
    }

    .ide-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #333333;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        overflow-y: visible;
    }
    
    .sidebar-header {
         margin-bottom: 0.5rem;
    }

    .file-tree ul ul {
        padding-left: 1rem;
    }

    .editor-tabs {
        padding: 0 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
     .editor-tab {
        flex-shrink: 0;
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }

    .editor-area {
        padding: 0.5rem;
    }

     .editor-area pre {
        font-size: 0.85rem;
    }
}


.revamped-contact-box {
  max-width: 100%; 
  margin: 3rem auto;
  padding: 5rem 3rem; 
  background: transparent; 
  border-radius: 12px;
  text-align: center; 
  color: #000000; 
  z-index: 99999;
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif; 
}

.revamped-contact-box h2 {
  font-size: 3rem;
  color: #000000; 
  margin-top: 0;
  margin-bottom: 4rem; 
}

.contact-info-simple {
    display: flex;
    flex-direction: column;
    gap: 1.2rem; 
    align-items: center;
}

.contact-info-simple p {
    margin: 0;
    font-size: 1.2rem; 
    color: #000000; 
}

.contact-info-simple a {
    color: #000000; 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease; 
    display: inline-block;
    font-size: 1.1rem;
}

.contact-info-simple a:hover {
    color: #444444; 
    text-decoration: underline;
    transform: translateX(5px);
}

 
.contact-button {
    display: flex;
    align-items: center;
    padding: 1.1rem 2.2rem; 
    background: rgba(0, 153, 255, 0.1);
    color: #000000; 
    border: 1px solid rgba(0, 153, 255, 0.4); 
    border-radius: 25px;
    font-family: 'Plus Jakarta Sans', sans-serif; 
    font-size: 1.25rem; 
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    user-select: none;
    white-space: nowrap;
}

.contact-button:hover {
    background-color: rgba(0, 153, 255, 0.2);
    border-color: rgba(0, 153, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.2), inset 0 0 5px rgba(255, 255, 255, 0.1);
}

.contact-button:active {
    background-color: rgba(0, 153, 255, 0.3);
    transform: translateY(0);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}


.contact-button i {
    margin-right: 8px; 
}


@media screen and (max-width: 768px) {
  .revamped-contact-box {
    margin: 2rem auto;
    padding: 1.5rem;
    max-width: 95%;
  }
  
  .revamped-contact-box h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-info-simple p,
  .contact-info-simple a {
    font-size: 1rem;
  }
   .contact-info-simple a:hover {
        transform: translateX(3px); 
    }
}

@media screen and (max-width: 480px) {
  .revamped-contact-box {
    margin: 1.5rem auto;
    padding: 1rem;
    max-width: 98%;
    border-radius: 8px;
  }
  
  .revamped-contact-box h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .contact-info-simple p,
  .contact-info-simple a {
    font-size: 0.95rem;
  }
   .contact-info-simple a:hover {
        transform: translateX(2px); 
    }
}

.card {
  width: fit-content;
  height: fit-content;
  background-color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  gap: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.055);
}


.socialContainer {
  width: 52px;
  height: 52px;
  background-color: rgb(44, 44, 44);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: .3s;
}

.containerOne:hover {
  background-color: #d62976;
  transition-duration: .3s;
}

.containerTwo:hover {
  background-color: #5865F2;
  transition-duration: .3s;
}

.containerThree:hover {
  background-color: #0072b1;
  transition-duration: .3s;
}

.containerFour:hover {
  background-color: #333333;
  transition-duration: .3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: .3s;
}

.socialSvg {
  width: 17px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


.site-views {
  text-align: center;
  margin-top: 2.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #000000;
  font-size: 1.8rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.site-views:hover {
  opacity: 1;
}

.site-views span:first-child {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-views span:last-child {
  font-weight: 700;
  color: #00bfff;
  display: inline-block;
  background: linear-gradient(135deg, #00bfff, #0066ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 191, 255, 0.2);
  padding: 0 0.3rem;
  position: relative;
  overflow: hidden;
  height: 1.2em;
}

.site-views span:last-child::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00bfff, transparent);
  opacity: 0.5;
}

.site-views span:last-child.animate {
  animation: slotMachine 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slotMachine {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  20% {
    transform: translateY(-100%);
    opacity: 0.5;
  }
  40% {
    transform: translateY(100%);
    opacity: 0.5;
  }
  60% {
    transform: translateY(-50%);
    opacity: 0.7;
  }
  80% {
    transform: translateY(50%);
    opacity: 0.7;
  }
  90% {
    transform: translateY(-25%);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
  }

  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

  .main-container {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    margin: 0;
    box-sizing: border-box;
  }

  .overlay {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    left: 0;
    right: 0;
  }

  .scroll-container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .fade-section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    left: 0;
    right: 0;
  }

  .white-flex-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 1rem auto;
  }

  .ide-skills-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 1rem auto;
  }

  .project-card-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 1rem 0.5rem;
  }

  .info-row {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .info-section,
  .bio-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .revamped-contact-box {
    width: 100%;
    max-width: 100%;
    margin: 2rem auto;
    padding: 1.5rem;
  }

  .card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
  }

  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

  .main-container {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem;
    margin: 0;
    box-sizing: border-box;
  }

  .overlay {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    left: 0;
    right: 0;
  }

  .scroll-container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .fade-section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    left: 0;
    right: 0;
  }

  .white-flex-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0.8rem auto;
  }

  .ide-skills-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0.8rem auto;
  }

  .project-card-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.8rem 0.3rem;
  }

  .info-row {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .info-section,
  .bio-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .revamped-contact-box {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem auto;
    padding: 1rem;
  }

  .card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}



