*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,body{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    margin: 0;
    background: #0B2E33;
    color: white;
}
.nav{
    display: flex;
    justify-content: space-between; 
    padding: 25px 40px; 
}

.nav > a {
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
}
.nav-links{
    display: flex;
    gap: 60px;
}
.nav-links a {
    color: white;;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #42d674;
}
@media (max-width: 650px) {
    .nav-links {
        display: none;
    }
}
.me{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}
.l{
    flex: 1;
    padding: 70px 140px;
    font-family: Arial, Helvetica, sans-serif;
    font-size:150%;
}
.r{
    flex: 1;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px ;
}
.key { color: #c792ea; }
.string { color: #f78c6c; }
.bracket { color: #ffffff; }
.boolean { color: #89ddff; }


.code-panel {
  background-color: #0B2E33;
  border: 1px solid #1d4d55;
  background-color: #1e1e1e;
  color: #d4d4d4;
  border-radius: 8px;
  padding: 20px;
  width: 100%;
  max-width: 600px;
  min-width: 400px;
  font-size: 15px;  
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative;
  overflow-x: auto;
  margin: 0 auto;
}
.code-header {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #1d4d55;
}
.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
}
.red {
  background-color: #ff5f56;
}
.yellow {
  background-color: #ffbd2e;
}
.green {
  background-color: #27c93f;
}
.code-panel pre {
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 16px;
  line-height: 1.5;
}
.light-button{
    display: inline-block;
    margin: 4px;
}
.light-button button.bt {
  position: relative;
  height: 150px;
  display: flex;
  align-items: flex-end;
  outline: none;
  background: none;
  border: none;
  cursor: pointer;
}
.light-button button.bt .button-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  background-color: #0a0a0a;
  border-radius: 5px;
  color: #0f0f0f;
  font-weight: 700;
  transition: 300ms;
  outline: #0f0f0f 2px solid;
  outline-offset: 20;
}

.light-button button.bt .button-holder svg {
  height: 40px;
  fill: #0f0f0f;
  transition: 300ms;
}
.light-button button.bt .light-holder {
  position: absolute;
  height: 120px;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.light-button button.bt .light-holder .dot {
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  background-color: #0a0a0a;
  border-radius: 10px;
  z-index: 2;
}
.light-button button.bt .light-holder .light {
  position: absolute;
  top: 0;
  width: 200px;
  height: 100px;
  clip-path: polygon(50% 0%, 25% 100%, 75% 100%);
  background: transparent;
}
.light-button button.bt:hover .button-holder svg {
  fill: rgba(88, 101, 242, 1);
}
.light-button button.bt:hover .button-holder {
  color: rgba(88, 101, 242, 1);
  outline: rgba(88, 101, 242, 1) 2px solid;
  outline-offset: 2px;
}
.light-button button.bt:hover .light-holder .light {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    180deg,
    rgba(88, 101, 242, 1) 0%,
    rgba(255, 255, 255, 0) 75%,
    rgba(255, 255, 255, 0) 100%
  );
}
.light-button.reddit button.bt:hover .button-holder {
  color: #ff4500;
  outline: #ff4500 2px solid;
  outline-offset: 2px;
}
.light-button.reddit button.bt:hover .light-holder .light {
  background: linear-gradient(
    180deg,
    #ff4500 0%,
    rgba(255, 69, 0, 0) 75%,
    rgba(255, 69, 0, 0) 100%
  );
}


.light-button.github button.bt:hover .button-holder {
  color: rgba(101, 101, 121, 1); 
  outline: rgba(101, 101, 121, 1) 2px solid; 
  outline-offset: 2px;
}
.light-button.github button.bt:hover .light-holder .light {
  background: linear-gradient(
    180deg,
    rgba(101, 101, 121, 1) 0%,
    rgba(255, 69, 0, 0) 75%, 
    rgba(255, 69, 0, 0) 100%
  );
}
.light-button.linkedin button.bt:hover .button-holder {
  color: rgba(88, 101, 242, 1); 
  outline: rgba(88, 101, 242, 1) 2px solid; 
  outline-offset: 2px;
}
.light-button.linkedin button.bt:hover .light-holder .light {
  background: linear-gradient(
    180deg,
    rgba(88, 101, 242, 1) 0%,       
    rgba(255, 69, 0, 0) 75%, 
    rgba(255, 69, 0, 0) 100%
  );
}
a.bt{
    text-decoration: none;
}




.nav > a {
  background-image: radial-gradient(
    ellipse 50% 35% at 50% 50%,
    #004d4d,
    transparent
  );
  transform: translate(-5%, -0%);
  letter-spacing: 2px;
  font-family: "Clip";
  
  color: #a3ffff;
  text-shadow: 
    0 0 0.6rem #a3ffff, 
    0 0 1rem #00ffff,
    -0.2rem 0.1rem 0.8rem #00ffff,
    0.2rem 0.1rem 0.8rem #00ffff, 
    0 -0.2rem 1rem #00b8b8,
    0 0.2rem 1.5rem #00b8b8;
}

@font-face {
  font-family: Clip;
  src: url("https://acupoftee.github.io/fonts/Clip.ttf");
}

@keyframes blink {
  0%, 22%, 36%, 75% {
    color: #a3ffff;
    text-shadow: 
      0 0 0.6rem #a3ffff, 
      0 0 1rem #00ffff,
      -0.2rem 0.1rem 0.8rem #00ffff, 
      0.2rem 0.1rem 0.8rem #00ffff,
      0 -0.2rem 1rem #00b8b8,
      0 0.2rem 1.5rem #00b8b8;
  }
  28%, 33% {
    color: #00ffff;
    text-shadow: none;
  }
  82%, 97% {
    color: #00b8b8;
    text-shadow: none;
  }
}

.flicker {
  animation: shine 2s forwards, blink 3s 2s infinite;
}

.fast-flicker {
  animation: shine 2s forwards, blink 10s 1s infinite;
}

@keyframes shine {
  0% {
    color: #004d4d;
    text-shadow: none;
  }
  100% {
    color: #a3ffff;
    text-shadow: 
      0 0 0.6rem #a3ffff, 
      0 0 1rem #00ffff,
      -0.2rem 0.1rem 0.8rem #00ffff, 
      0.2rem 0.1rem 0.8rem #00ffff,
      0 -0.2rem 1rem #00b8b8,
      0 0.2rem 1.5rem #00b8b8;
  }
}

@keyframes flicker {
  from { opacity: 1; }
  4% { opacity: 0.9; }
  6% { opacity: 0.85; }
  8% { opacity: 0.95; }
  10% { opacity: 0.9; }
  11% { opacity: 0.922; }
  12% { opacity: 0.9; }
  14% { opacity: 0.95; }
  16% { opacity: 0.98; }
  17% { opacity: 0.9; }
  19% { opacity: 0.93; }
  20% { opacity: 0.99; }
  24% { opacity: 1; }
  26% { opacity: 0.94; }
  28% { opacity: 0.98; }
  37% { opacity: 0.93; }
  38% { opacity: 0.5; }
  39% { opacity: 0.96; }
  42% { opacity: 1; }
  44% { opacity: 0.97; }
  46% { opacity: 0.94; }
  56% { opacity: 0.9; }
  58% { opacity: 0.9; }
  60% { opacity: 0.99; }
  68% { opacity: 1; }
  70% { opacity: 0.9; }
  72% { opacity: 0.95; }
  93% { opacity: 0.93; }
  95% { opacity: 0.95; }
  97% { opacity: 0.93; }
  to { opacity: 1; }
}



/* About Section */
#about {
  width: 100%;
  padding: 60px 0px;
  text-align: center;
  font-family: Arial, sans-serif;
}

#about h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
 
}

#about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.6;
}



html {
  scroll-behavior: smooth;
}


#projects {
  width: 100%;
  padding: 200px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px; 
  
}



.inner {
  --w: 120px; 
  --h: 180px;
  --translateZ: 350px; 
  
  width: var(--w);
  height: var(--h);
  position: relative;
  transform-style: preserve-3d;
  animation: rotating 25s linear infinite;
}



@keyframes rotating {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}



.card {
  width: var(--w);
  height: var(--h);
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid rgba(var(--color-card));
  border-radius: 12px;
  transform: rotateY(calc((360deg / var(--quantity)) * var(--index))) translateZ(var(--translateZ));
}



.img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: radial-gradient(
    circle,
    rgba(var(--color-card), 0.2) 0%,
    rgba(var(--color-card), 0.6) 80%,
    rgba(var(--color-card), 0.9) 100%
  );
}
.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}




.resume{
  background-color: white;
  display: flex;
  justify-content: space-around;
}
.dying img {
  width: 450px;   
  height: 354px;   
  display: block;
  border-radius: 8px;
}
@media (max-width: 800px) {
  .dying img {
    display: none;
  }
}





.stepper-box {
  background-color: white;
  border-radius: 12px;
  padding: 32px;
  width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stepper-step {
  display: flex;
  margin-bottom: 32px;
  position: relative;
}

.stepper-step:last-child {
  margin-bottom: 0;
}

.stepper-line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -32px;
  width: 2px;
  background-color: #e2e8f0;
  z-index: 1;
}

.stepper-step:last-child .stepper-line {
  display: none;
}

.stepper-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  z-index: 2;
}

.stepper-completed .stepper-circle {
  background-color: #0f172a;
  color: white;
}

.stepper-active .stepper-circle {
  border: 2px solid #0f172a;
  color: #0f172a;
}

.stepper-pending .stepper-circle {
  border: 2px solid #e2e8f0;
  color: #94a3b8;
}

.stepper-content {
  flex: 1;
}

.stepper-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.stepper-completed .stepper-title {
  color: #0f172a;
}

.stepper-active .stepper-title {
  color: #0f172a;
}

.stepper-pending .stepper-title {
  color: #94a3b8;
}

.stepper-status {
  font-size: 13px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 4px;
}

.stepper-completed .stepper-status {
  background-color: #dcfce7;
  color: #166534;
}

.stepper-active .stepper-status {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.stepper-pending .stepper-status {
  background-color: #f1f5f9;
  color: #64748b;
}

.stepper-time {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.stepper-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.stepper-button {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background-color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stepper-button-primary {
  background-color: #0f172a;
  color: white;
  border-color: #0f172a;
}




/* Contact Section */
 
#contact{
  position: relative;
  z-index: 3;
  padding-top: 100px;
  padding-bottom: 50px;
  min-height: 100vh;
}
 
.container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
 
.section-header {
  margin-bottom: 50px;
  text-align: center;
}
 
.section-header h2 {
  color: #FFF;
  font-weight: bold;
  font-size: 3em;
  margin-bottom: 20px;
}
 
.section-header p {
  color: #FFF;
}
 
.row  {
  display: flex;
  justify-content: center;
}
 
.contact-info {
  width: 50%;
}
 
.contact-info-item {
  display: flex;
  margin-bottom: 30px;
}
 
.contact-info-icon {
  height: 70px;
  width: 70px;
  text-align: center;
  border-radius: 50%;
}
 
.contact-info-icon i {
  font-size: 30px;
  line-height: 70px;
}
 
.contact-info-content {
  margin-left: 20px;
}
 
.contact-info-content h4 {
  color: #1da9c0;
  text-align: left;
  font-size: 1.4em;
  margin-bottom: 5px;
}
 
.contact-info-content p {
  color: #FFF;
  font-size: 1em;
}
 
.contact-form {
  background-color: #fff;
  padding: 40px;
  width: 45%;
  padding-bottom: 20px;
  padding-top: 20px;
}
 
.contact-form h2 {
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 10px;
  color: #333;
}
 
.contact-form .input-box {
  position: relative;
  width: 100%;
  margin-top: 10px;
}
 
.contact-form .input-box input,
.contact-form .input-box textarea{
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
}
 
.contact-form .input-box span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}
 
.contact-form .input-box input:focus ~ span,
.contact-form .input-box textarea:focus ~ span{
  color: #e91e63;
  font-size: 12px;
  transform: translateY(-20px);
}
 
.contact-form .input-box input[type="submit"]
{
  width: 100%;
  background: #00bcd4;
  color: #FFF;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  border: 1px solid #00bcd4;
  transition: 0.5s;
}
 
.contact-form .input-box input[type="submit"]:hover
{
  background: #FFF;
  color: #00bcd4;
}
 
@media (max-width: 991px) {
  #contact {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .row {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: 40px;
    width: 100%;
  }
  
  .contact-form {
    width: 100%;
  }
}





/*ants*/

.ants {
  fill: black;
  width: 15px;
  height: 25px;
  position: absolute;
}

#ant1 {
  left: 50%;
  bottom: -60px;
  animation: ant-1-animation 26s infinite;
}

#ant2 {
  left: 0;
  bottom: -50px;
  animation: ant-2-animation 28s infinite;
}

#ant3 {
  left: 100px;
  bottom: -70%;
  animation: ant-3-animation 19s infinite;
  animation-delay: 1s;
}

#ant4 {
  left: 0;
  bottom: -50px;
  animation: ant-2-animation 12s infinite;
  animation-delay: 3s;
}

@keyframes ant-1-animation {
  0% {
    left: 50%;
    bottom: -60%;
  }
  10% {
    left: 50%;
    bottom: 5%;
    transform: rotate(0deg);
  }
  12% {
    left: 50%;
    bottom: 5%;
    transform: rotate(-90deg);
  }
  18% {
    transform: rotate(-90deg);
  }
  20% {
    left: 5%;
    bottom: 5%;
    transform: rotate(-90deg);
  }
  22% {
    transform: rotate(0);
  }
  32% {
    transform: rotate(0);
  }
  38% {
    left: 5%;
    bottom: 87%;
    transform: rotate(90deg);
  }
  50% {
    left: 90%;
    bottom: 87%;
    transform: rotate(90deg);
  }
  55% {
    left: 90%;
    bottom: 87%;
    transform: rotate(230deg);
  }
  72% {
    left: 5%;
    bottom: 5%;
    transform: rotate(230deg);
  }
  78% {
    left: 5%;
    bottom: 5%;
    transform: rotate(90deg);
  }
  85% {
    left: 50%;
    bottom: 5%;
    transform: rotate(90deg);
  }
  90% {
    left: 50%;
    bottom: 5%;
    transform: rotate(180deg);
  }
  100% {
    left: 50%;
    bottom: -60%;
    transform: rotate(180deg);
  }
}

@keyframes ant-2-animation {
  0% {
    left: 0;
    bottom: -50%;
    transform: rotate(45deg);
  }
  15% {
    left: 50%;
    bottom: 5%;
    transform: rotate(45deg);
  }
  18% {
    left: 50%;
    bottom: 5%;
    transform: rotate(90deg);
  }
  28% {
    left: 85%;
    bottom: 5%;
    transform: rotate(90deg);
  }
  30% {
    left: 85%;
    bottom: 5%;
    transform: rotate(0deg);
  }
  40% {
    left: 85%;
    bottom: 85%;
    transform: rotate(0deg);
  }
  48% {
    left: 85%;
    bottom: 85%;
    transform: rotate(-90deg);
  }
  58% {
    left: 5%;
    bottom: 85%;
    transform: rotate(-90deg);
  }
  68% {
    left: 5%;
    bottom: 85%;
    transform: rotate(-180deg);
  }
  79% {
    left: 5%;
    bottom: 5%;
    transform: rotate(-180deg);
  }
  81% {
    left: 5%;
    bottom: 5%;
    transform: rotate(-270deg);
  }
  88% {
    left: 50%;
    bottom: 5%;
    transform: rotate(-270deg);
  }
  90% {
    left: 50%;
    bottom: 5%;
    transform: rotate(-140deg);
  }
  100% {
    left: 0%;
    bottom: -50%;
    transform: rotate(-140deg);
  }
}

@keyframes ant-3-animation {
  0% {
    left: 100%;
    bottom: -70%;
    transform: rotate(-45deg);
  }
  15% {
    left: 50%;
    bottom: -15%;
    transform: rotate(-45deg);
  }
  18% {
    left: 50%;
    bottom: -15%;
    transform: rotate(-90deg);
  }
  28% {
    left: -10%;
    bottom: -15%;
    transform: rotate(-90deg);
  }
  30% {
    left: -10%;
    bottom: -15%;
    transform: rotate(0deg);
  }
  45% {
    left: -10%;
    bottom: 100%;
    transform: rotate(0deg);
  }
  48% {
    left: -10%;
    bottom: 105%;
    transform: rotate(90deg);
  }
  58% {
    left: 105%;
    bottom: 100%;
    transform: rotate(90deg);
  }
  60% {
    left: 105%;
    bottom: 105%;
    transform: rotate(180deg);
  }
  75% {
    left: 105%;
    bottom: -15%;
    transform: rotate(180deg);
  }
  81% {
    left: 105%;
    bottom: -15%;
    transform: rotate(270deg);
  }
  88% {
    left: 50%;
    bottom: -15%;
    transform: rotate(270deg);
  }
  90% {
    left: 50%;
    bottom: -15%;
    transform: rotate(180deg);
  }
  92% {
    left: 50%;
    bottom: -15%;
    transform: rotate(130deg);
  }
  100% {
    left: 100%;
    bottom: -70%;
    transform: rotate(130deg);
  }
}


.ants-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}


footer {
  width: 100%;
  background: #abbaba;
  color: black;
  text-align: center;
  padding: 10px 0;
  position: relative;
  z-index: 10;
}
footer small {
  background: none;
  color: inherit;
  padding: 0;
}