body {
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* From Uiverse.io by jeremyssocial */
@keyframes blinkCursor {
  50% {
    border-right-color: transparent;
  }
}

@keyframes typeAndDelete {
  0%,
  10% {
    width: 0;
  }

  45%,
  55% {
    width: 6.2em;
  }

  /* adjust width based on content */
  90%,
  100% {
    width: 0;
  }
}

.terminal-loader {
  border: 0.1em solid #6d28d9;
  background-color: #1a1a1a;
  color: #d8b4fe;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  padding: 1.5em 1em;
  width: 12em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.terminal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background-color: #6d28d9;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 0 0.4em;
  box-sizing: border-box;
}

.terminal-controls {
  float: right;
}

.control {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.4em;
  border-radius: 50%;
  background-color: #d8b4fe;
}

.control.close {
  background-color: #f472b6;
}

.control.minimize {
  background-color: #d8b4fe;
}

.control.maximize {
  background-color: #571fb1;
}

.terminal-title {
  float: left;
  line-height: 1.5em;
  color: #d8b4fe;
}

.text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.2em solid #d8b4fe;
  animation: typeAndDelete 4s steps(11) infinite,
    blinkCursor 0.5s step-end infinite alternate;
  margin-top: 1.5em;
}

.active {
  color: #d8b4fe;
  position: relative;
}

.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d8b4fe;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.highlighted {
  color: #d8b4fe;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.highlighted::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d8b4fe;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.highlighted:hover::after {
  transform: scaleX(1);
}

.special-highlight {
  color: #f472b6;
  font-weight: 600;
  opacity: 0.7;
  position: relative;
  display: inline-block;
}

.special-highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #f472b6;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.special-highlight:hover::after {
  transform: scaleX(1);
}

.transparent-highlight {
  color: #f472b6;
  font-weight: 600;
  opacity: 0.7;
  position: relative;
  display: inline-block;
}

.transparent-highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #f472b6;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.transparent-highlight:hover::after {
  transform: scaleX(1);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-bar {
  height: 8px;
  background-color: #374151;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background-color: #d8b4fe;
  border-radius: 4px;
  transition: width 1s ease;
}

.certification-card {
  position: relative;
  overflow: hidden;
}

.certification-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(216, 180, 254, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.certification-card:hover::before {
  transform: translateX(100%);
}

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #d8b4fe;
  color: #1f2937;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: #f472b6;
  transform: translateY(-3px);
}

.profile-photo {
  position: relative;
  transition: all 0.3s ease;
  animation: float 6s ease-in-out infinite;
}

.profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(216, 180, 254, 0.5);
}

.soft-skill {
  position: relative;
  transition: all 0.3s ease;
}

.soft-skill:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 20px rgba(216, 180, 254, 0.6);
}

.soft-skill svg {
  color: #d1d5db;
  /* Light gray, matching body text */
  transition: all 0.3s ease;
}

.soft-skill span {
  color: #d1d5db;
  /* Light gray */
  transition: all 0.3s ease;
}

.soft-skill:hover svg,
.soft-skill:hover span {
  color: #f472b6;
}

.special-skill:hover {
  box-shadow: 0 0 30px rgba(216, 180, 254, 0.8);
  background: linear-gradient(145deg, #1f2937, #374151);
}

.tech-skill {
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(216, 180, 254, 0.1);
}

.tech-skill:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 25px rgba(216, 180, 254, 0.4);
}

.tech-skill svg {
  color: #d8b4fe;
  transition: all 0.3s ease;
}

.tech-skill span {
  color: #d8b4fe;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tech-skill:hover svg,
.tech-skill:hover span {
  color: #f472b6;
}

.tech-skill::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d8b4fe, #f472b6);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.tech-skill:hover::after {
  width: 80%;
}

@media (max-width: 640px) {
  #about p {
    font-size: 24px !important;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(216, 180, 254, 0.5);
  }

  50% {
    box-shadow: 0 0 20px rgba(216, 180, 254, 0.8);
  }

  100% {
    box-shadow: 0 0 5px rgba(216, 180, 254, 0.5);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

.pulsing {
  animation: pulse 2s ease-in-out infinite;
}

.glowing {
  animation: glow 2s ease-in-out infinite;
}

.hover-glow:hover {
  animation: glow 1s ease-in-out infinite;
}

.skill-icon {
  transition: transform 0.3s ease;
}

.skill-icon:hover {
  transform: scale(1.2) rotate(5deg);
}

.goal-card {
  transition: all 0.3s ease;
}

.goal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(216, 180, 254, 0.2);
}

.contact-link {
  transition: all 0.3s ease;
}

.contact-link:hover {
  transform: translateX(5px);
}

.section-title {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, #d8b4fe, #f472b6);
  transition: width 0.3s ease;
}

.section-title:hover::after {
  width: 100%;
}

.section-title:hover {
  color: #d8b4fe;
  transform: translateY(-2px);
}

/* Project Card Styles */
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.project-card:hover {
  border-color: #d8b4fe;
  box-shadow: 0 0 25px rgba(216, 180, 254, 0.3);
}

.project-card a:hover h4 {
  color: #d8b4fe;
}

.neon-border {
  position: relative;
  overflow: visible;
}

.neon-border::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 40px;
  background: radial-gradient(
    ellipse,
    #d8b4fe 0%,
    #f472b6 25%,
    rgba(212, 180, 254, 0.6) 50%,
    rgba(244, 114, 182, 0.4) 75%,
    transparent 100%
  );
  border-radius: 50%;
  box-shadow: 0 0 30px #d8b4fe, 0 0 60px #f472b6,
    0 0 90px rgba(212, 180, 254, 0.8), 0 0 120px rgba(244, 114, 182, 0.6),
    0 0 150px rgba(212, 180, 254, 0.4);
  animation: moving-light 4s linear infinite;
  filter: brightness(1.5);
}

.neon-border::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 28px;
  background: radial-gradient(
    ellipse,
    rgba(212, 180, 254, 0.7) 0%,
    rgba(244, 114, 182, 0.5) 40%,
    rgba(212, 180, 254, 0.3) 70%,
    transparent 100%
  );
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(212, 180, 254, 0.6),
    0 0 50px rgba(244, 114, 182, 0.4), 0 0 75px rgba(212, 180, 254, 0.3);
  animation: moving-light-trail 4s linear infinite;
  filter: brightness(1.3);
}

hr {
  border: 5px solid purple;
  opacity: 0.4; /* Adjust the thickness and change the color */
}

@keyframes moving-light {
  0% {
    top: -20px;
    left: -10px;
    transform: rotate(0deg);
  }

  25% {
    top: -20px;
    left: calc(100% - 10px);
    transform: rotate(90deg);
  }

  50% {
    top: calc(100% - 20px);
    left: calc(100% - 10px);
    transform: rotate(180deg);
  }

  75% {
    top: calc(100% - 20px);
    left: -10px;
    transform: rotate(270deg);
  }

  100% {
    top: -20px;
    left: -10px;
    transform: rotate(360deg);
  }
}

@keyframes moving-light-trail {
  0% {
    top: -14px;
    left: -7px;
    opacity: 0;
    transform: rotate(0deg);
  }

  5% {
    opacity: 0.8;
  }

  25% {
    top: -14px;
    left: calc(100% - 7px);
    opacity: 0.9;
    transform: rotate(90deg);
  }

  50% {
    top: calc(100% - 14px);
    left: calc(100% - 7px);
    opacity: 0.7;
    transform: rotate(180deg);
  }

  75% {
    top: calc(100% - 14px);
    left: -7px;
    opacity: 0.5;
    transform: rotate(270deg);
  }

  95% {
    opacity: 0.3;
  }

  100% {
    top: -14px;
    left: -7px;
    opacity: 0;
    transform: rotate(360deg);
  }
}

.small-glow-wrapper::before {
  content: "";
  position: absolute;
  inset: -3px;
  /* Thin ring just outside the image */
  border-radius: 3rem;
  background: conic-gradient(from 0deg, #9333ea, #ec4899, #f59e0b, #9333ea);
  animation: spinGlow 8s linear infinite;
  z-index: 0;
  filter: blur(150px);
  opacity: 0.1;
}

@keyframes spinGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/* Target the scrollbar track and thumb */
::-webkit-scrollbar {
  width: 10px; /* width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: #000000; /* track color */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #462a74, #6b4c9a); /* thumb color */
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* color on hover */
}

.bounce-text {
  font-size: 35px;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-8px);
  }
}
body {
  cursor: url("cursor.png"), auto;
}
footer {
  background-color: #2d1950;
  background-opacity: 0.8;
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  position: relative;
  z-index: 10;
}
