body {
  background: #02153d;
  background: linear-gradient(90deg, rgba(2, 21, 61, 1) 0%, rgba(0, 60, 102, 1) 37%, rgba(255, 0, 47, 1) 100%);
}

html::-webkit-scrollbar {
  display: none;
}

body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1 {
  color: aquamarine;
  text-align: center;
  font-size: 250%;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.self {
  color: burlywood;
  text-align: center;
  font-size: 400%;
  animation: fadeIn 1.5s ease-in forwards;
  text-shadow: 0 0 8px #8d7d23, 0 0 16px #816423, 0 0 24px #634816;
  /* background: #0400f0;
    background: linear-gradient(90deg, rgba(4, 0, 240, 1) 0%, rgba(204, 20, 20, 1) 59%, rgba(21, 200, 209, 1) 83%); */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }

  /* start invisible, slid down */
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  /* end fully visible */
}

.about {
  color: aqua;
  text-align: center;
  font-size: 250%;
  animation: fadeIn 3s ease-in forwards;
}

p {
  color: aqua;
  text-align: center;
  font-size: 150%;
}

/*Image Section*/

.image-container {
  margin: 50px auto;
  width: 265px;
  height: 265px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 30px #00cec9, 0 0 50px #6c5ce7;
  }

  50% {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 40px #00cec9, 0 0 60px #6c5ce7;
  }

  75% {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 40px #00cec9, 0 0 60px #1f05e7;
  }
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s ease;

}

.image-container:hover {
  transform: scale(1.2) translateY(-20px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6);
  z-index: 10;
  box-shadow: 0 0 30px #00cec9, 0 0 50px #6c5ce7;
}

/*Header Section*/
header {
  position: absolute;
  width: 100%;
  top: 0;
}

.btn_logo {
  background-color: Transparent;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
  display: inline-block;
  width: fit-content;
  height: fit-content;
  border: none;
  cursor: pointer;
  overflow: hidden;
  /* box-shadow: 0 0 12px #ff0000 , inset 0 0 8px #ff0000; */
}

.btn_logo img {
  display: block;
  width: 300%;
  height: 200px;
  max-width: 200px;
}

.btn_logo:hover {
  filter: drop-shadow(0 0 12px #0099ff);
  box-shadow: 0 0 12px #ff0000, 0 0 24px #ff0000, inset 0 0 8px #ff0000;
}

.sidebar {
  height: 100vh;
  width: 260px;
  position: fixed;
  top: 0;
  left: 0;
  /* background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(10px);
      box-shadow: 2px 0 10px rgba(0, 255, 195, 0.2); */
  padding: 30px 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.sidebar .logo {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.sidebar .logo img {
  max-width: 700px;
  /* for Devang logo Image*/
  height: auto;
  /* max-width: 100px;
      height: 100px; */
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 12px #0099ff);
  /* Neon glow effect */
}

hr {
  color: #00cec9;
}

.btn_logo {
  border: 2px solid;
  border-image: linear-gradient(to right, #ff6ec4, #7873f5) 0 1 0 1;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: none;
  /* hidden by default */
  flex-direction: column;
  /* vertical layout */
  align-items: flex-start;
  gap: 10px;
}

.nav-links.show {
  display: flex;
  /* shown when toggled */
}

.nav-links li a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  color: #00ffc3;
  border-radius: 6px;
  font-size: 18px;
  transition: background 0.3s, color 0.3s;
}

.nav-links li a i {
  margin-right: 8px;
}

.nav-links li a:hover {
  background: rgba(0, 255, 195, 0.1);
  color: #f0ba07;
}

/*About Section*/
h1.about {
  color: rgba(179, 255, 0, 0.822);
  font-size: 200%;
  font-family: 'Fira Code', monospace;
  text-shadow: 0 0 5px #ffde59;
}

.about-box {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  /* Transparent white */
  box-shadow: inset 0 0 20px #00ffcc66;
  ;
  backdrop-filter: blur(10px);
  /* Frosted glass effect */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  text-align: center;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: aquamarine;
}

.about_me {
  color: deepskyblue;
  font-size: 150%;
  /* font-family: 'Press Start 2P', cursive; */
  font-family: 'Fira Code', monospace;
}

/*Skills Section*/
.skills-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid #00ffc3;
  box-shadow: 0 0 15px #00ffc3;
  text-align: center;
  font-family: 'Fira Code', monospace;
  color: #00ffcc;
  background: rgba(255, 255, 255, 0.08);
  /* Transparent white */
  box-shadow: inset 0 0 20px #00ffcc66;
  ;
  backdrop-filter: blur(10px);
  /* Frosted glass effect */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.skills-title {
  font-size: 2rem;
  color: #00ffe0;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgb(110, 151, 49), 0 0 20px #3ba8a1d7;
}

.terminal-box {
  background-color: #000;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.2rem;
  color: #00ffcc;
  text-align: left;
  font-family: 'Fira Code', monospace;
  min-height: 250px;
  box-shadow: inset 0 0 20px #00ffcc66;
}

#typed-skill {
  white-space: pre-line;
}

#typed-skill::after {
  content: '|';
  animation: blink 0.8s infinite;
  white-space: pre-line;
  color: #00ffc3;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.skills-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: var(--muted);
  border-radius: var(--radius);
  transition: transform 0.2s ease;
}

.skill-item:hover {
  transform: translateY(-2px);
}

.skill-icon {
  font-size: 1.25rem;
}

.skill-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.content-title {
  color: rgb(167, 32, 32);
  font-size: 2rem;
  font-weight: 600;
  text-shadow: 0 0 5px #ffde59;
  /* Optional: glowing effect */
}

/* ✨ GLOW on hover */
/* .skill-item:hover{
  transform:translateY(-3px);
  box-shadow:
    0 0 12px #00ffe0,
    0 0 24px #00ffe0,
    inset 0 0 8px #00ffe0;   }      inner glow */


/* optional: make the icon/text glow too */
.skill-item:hover .skill-icon,
.skill-item:hover .skill-name {
  color: #ff0022;
  text-shadow: 0 0 6px #00ffe0, 0 0 12px #00ffe0;
}

/* ---------- Icon grids ---------- */
.skills-section {
  max-width: 800px;
  margin: 40px auto;
}

.skill-category {
  margin-bottom: 40px;
}

.skill-category-title {
  text-align: left;
  color: #ffde59;
  font-size: 1.25rem;
  text-shadow: 0 0 5px red;
  margin-bottom: .75rem
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

@media(min-width:640px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

.skill-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 8px #00ffc355;
  transition: transform .2s;
}

.skill-item:hover {
  transform: translateY(-3px)
}

.skill-icon {
  font-size: 1.3rem
}

.skill-name {
  font-size: .9rem;
  color: #e8e8e8
}

/* card hover glow you already have … add tooltip below */
.skill-item[data-tooltip] {
  position: relative;
}

.skill-item[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 110%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #00ffc3;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 2000;
}

.skill-item[data-tooltip]:hover::after {
  opacity: 1;
}

/*Projects Section*/
.section-box {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  /* Frosted glass effect */
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* Light border for glass */
  box-shadow: inset 0 0 20px #00ffcc66;
  /* Inner glowing effect */
  font-family: 'Fira Code', monospace;
  color: #00ffcc;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  /* Transparent white */
  -webkit-backdrop-filter: blur(10px);
  /* Safari support */
}

.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00ffe0;
  text-shadow: 0 0 10px #229184, 0 0 20px #1bcfba;
}

.projects-grid {
  display: grid;
  gap: 1rem;
}

.project-item {
  background: rgba(7, 141, 231, 0.062);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: inset 0 0 10px #00ffc355;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 12px #00ffc3, inset 0 0 8px #00ffc3;
}

.Project {
  text-align: left;
  font-family: 'Fira Code', monospace;
}

/*Certificates Section*/
.cert-box {
  max-width: 800px;
  position: relative;
  margin: 50px auto;
  padding: 30px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  /* Frosted glass effect */
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* Light border for glass */
  box-shadow: inset 0 0 20px #00ffcc66;
  /* Inner glowing effect */
  font-family: 'Fira Code', monospace;
  color: #2fac93;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  /* Transparent white */
  -webkit-backdrop-filter: blur(10px);
  /* Safari support */
}

.modal::-webkit-scrollbar {
  display: none;
}

.certificate-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 1rem;
  flex-direction: column;
  /* Ensures vertical layout */
  gap: 10px;
  /* Optional spacing between items */
}

.certificate-list li {
  padding: 8px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #00ffc3;
  box-shadow: 0 0 5px #00ffc3aa;
  transition: transform 0.2s;
}

.certificate-list li:hover {
  transform: translateX(5px);
  color: #00ffe0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.658);
  inset: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 55%;
  max-height: 80vh;
  object-fit: contain;
  border: 3px solid #00ffc0;
  border-radius: 10px;
  box-shadow: 0 0 15px #25b9a8;
  overflow-y: auto;
}

.modal-content img{
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 12px #00ffc3;
}

#caption {
  margin: auto;
  text-align: center;
  color: #00ffc3;
  font-size: 20px;
  padding: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #00ffe0;
}

/*Resume Section*/
.resume-box {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 20px #00ffcc66;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #e8e8e8;
  font-family: 'Fira Code', monospace;
}

.resume-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00ffe0;
  text-shadow: 0 0 10px #229184, 0 0 20px #1bcfba;
}

.resume-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.resume-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Fira Code', monospace;
  font-weight: 600;
  text-decoration: none;
  background: #00ffc3;
  color: #000;
  box-shadow: 0 0 10px #00ffc3aa;
  transition: transform 0.3s, box-shadow 0.3s;
}

.resume-btn:hover {
  color: #000 !important;
  background: #00ffc3;
  text-shadow: none !important;
  transform: translateY(-3px);
  box-shadow: 0 0 12px #ff0000, inset 0 0 6px #00ffc3;
}

.view-btn i,
.download-btn i {
  margin-right: 8px;
}

/*Contact Section*/
.contact-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 20px #00ffcc66;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #e8e8e8;
  font-family: 'Fira Code', monospace;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00ffe0;
  text-shadow: 0 0 10px #269184, 0 0 20px #00ffe0;
}

.contact-title i {
  margin-right: 8px
}

/*contact info lines*/
.contact-info p {
  margin: .5rem 0;
  font-size: 1rem
}

.contact-info i {
  margin-right: 6px;
  color: #ffde59
}

/*Form*/
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  font-family: inherit;
}

.contact-form button {
  align-self: center;
  padding: .6rem 1.5rem;
  cursor: pointer;
  background: #00ffc3;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform .2s;
}

.contact-form button:hover {
  transform: translateY(-2px)
}

.contact-form button i {
  margin-right: 6px
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px #00ffe0;
}

.contact-form button i {
  /* paper‑plane icon */
  font-size: 1.1rem;
}

a {
  text-decoration: none;
  /* removes underline */
  color: #00ffcc;
  /* changes link color to neon cyan */
}

/* Optional: Hover effect */
a:hover {
  color: #00ffe0;
  /* slightly lighter neon on hover */
  text-shadow: 0 0 5px #00ffe0;
}

/*Footer Section*/
.site-footer {
  background: linear-gradient(90deg, rgba(2, 21, 61, 1) 0%, rgba(0, 60, 102, 1) 37%, rgba(255, 0, 47, 1) 100%);
  /* background: linear-gradient(120deg,#02153d,#003c66,#ff0030); */
  color: #00ffc3;
  text-align: center;
  position: relative;
  padding: 60px 20px 20px;
  font-family: 'Fira Code', monospace;
  overflow-x: hidden;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
  position: absolute;
  top: -60px;
  left: 0;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

.footer-socials a {
  color: #00ffc3;
  font-size: 24px;
  transition: transform 0.3s, color 0.3s;
}

.footer-socials a:hover {
  color: #ff4ecb;
  transform: scale(1.2);
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 20px 0;
}

.footer-links li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: #00ffc3;
}

.footer-credit {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}

/*Fun-Section*/
.hidden-terminal {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 400px;
  height: 250px;
  background-color: #000;
  color: #0f0;
  font-size: 16px;
  font-family: 'Fira Code', monospace;
  padding: 20px;
  border: 2px solid #0f0;
  display: none;
  z-index: 1000;
  overflow-y: auto;
}

.hidden-terminal::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

#terminalOutput {
  margin-bottom: 10px;
  white-space: pre-wrap;
}

#terminalInput {
  width: 100%;
  background: black;
  color: lime;
  border: none;
  font-family: 'Fira Code', monospace;
  outline: none;
}

.fun {
  color: cornflowerblue;
  display: flex;

}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: black;
  /* fallback */
}

@media (max-width: 600px) {
  .resume-btn,
  .contact-form button {
    padding: 16px;
    font-size: 1rem;
  }
}
