body{
  opacity: 1 !important;
}
#particles-js{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 0;
  pointer-events: none;
}


*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Montserrat', sans-serif;
}

/* ROOT */
:root{
  --accent:#b44cff;
}

body{
  background:black;
  color:white;
  overflow-x:hidden;
}

/* NAVBAR */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 70px;
}

.logo{
  color:var(--accent);
  font-weight:700;
  letter-spacing:2px;
  font-size:14px;
}

.navbar nav a{
  color:#fff;
  margin-left:35px;
  text-decoration:none;
  font-size:13px;
  letter-spacing:1px;
  position:relative;
}

.navbar nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--accent);
  transition:0.3s;
}

.navbar nav a:hover::after{
  width:100%;
}

/* HERO */
.hero{
  display:flex;
  align-items:center;
  height:100vh;
  padding:0 80px;
}

/* IMAGE */
.hero-image{
  flex:1;
}

.hero-image img{
  width:90%;
  opacity:1;
  filter: grayscale(100%) brightness(0.9); /* subtle cinematic */
  transition: filter 0.8s ease-in-out;
}


/* CONTENT */
.hero-content{
  flex:1.2;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.hero-content h1{
  font-size:60px;
  margin-bottom:10px;
}

.hero-content h1 span{
  color:var(--accent);
}

.roles{
  font-size:18px;
  margin-bottom:20px;
  color:#ddd;
}

.hero-content p{
  max-width:520px;
  font-size:14px;
  line-height:1.8;
  color:#aaa;
}

/* RESUME BUTTON */
.buttons{
  
  display:flex;
 
  margin-top:32px;
}

.resume-btn{
  padding:12px 36px;
  border:2px solid var(--accent);
  border-radius:40px;
  color:var(--accent);
  text-decoration:none;
  font-size:14px;
  letter-spacing:1px;
  background:transparent;
  transition:0.3s;
}

.resume-btn:hover{
  animation:bounce 0.6s ease;
  background:rgba(180,76,255,0.08);
}

/* BOUNCE */
@keyframes bounce{
  0%{transform:translateY(0)}
  30%{transform:translateY(-6px)}
  60%{transform:translateY(2px)}
  100%{transform:translateY(0)}
}

/* SOCIAL ICONS */
.socials{
  
  display:flex;
  
  margin-top:16px;
  gap:24px;
}

.socials a{
  color:white;
  font-size:22px;
  transition:0.3s;
}

.socials a:hover{
  color:var(--accent);
  transform:translateY(-4px);
  text-shadow:
    0 0 8px var(--accent),
    0 0 16px rgba(180,76,255,0.8);
}

/* SCROLL ICON */
.scroll-down{
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  color:var(--accent);
  font-size:22px;
}

/* MOBILE */
@media(max-width:768px){
  .hero{
    flex-direction:column;
    padding:60px 25px;
    text-align:center;
  }

  .hero-content{
    align-items:center;
  }

  .hero-content p{
    max-width:100%;
  }

  .buttons{
    margin-top:26px;
  }

  .socials{
    gap:20px;
    margin-top:14px;
  }
}

  margin-top: 28px;
}

.socials{
  margin-top: 14px;
}
/* ABOUT SECTION */
.about{
  min-height: 100vh;
  padding: 100px 80px;
  background: transparent;
  display: flex;
  align-items: center;
}

.about-container{
  max-width: 900px;
}

.section-title{
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  color: white;
}

.section-title span{
  color: var(--accent);
}

.about-text{
  font-size: 16px;
  line-height: 1.9;
  color: #ccc;
  margin-bottom: 20px;
}

.about-text strong{
  color: var(--accent);
}

/* MOBILE */
@media (max-width:768px){
  .about{
    padding: 80px 25px;
  }

  .section-title{
    font-size: 34px;
  }

  .about-text{
    font-size: 15px;
  }
}
html{
  scroll-behavior: smooth;
}
/* ABOUT SECTION */
.about{
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
}

.about-container{
  max-width: 900px;
  text-align: center;
}

/* IMAGE */
.about-image{
  margin-bottom: 30px;
}

.about-image img{
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
  border: 4px solid #b44cff;
  box-shadow: 0 0 35px rgba(180,76,255,0.6);
}

/* CONTENT */
.about-content h2{
  font-size: 48px;
  margin-bottom: 20px;
}

.about-content h2 span{
  color: #b44cff;
}

.about-content p{
  font-size: 15px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 18px;
}

/* Highlighted words */
.about-content span{
  color: #b44cff;
  font-weight: 600;
}
@media (max-width: 768px){
  .about-content h2{
    font-size: 36px;
  }

  .about-image img{
    width: 180px;
    height: 180px;
  }
}

/* SKILLS SECTION */
.skills{
  min-height: 100vh;
  padding: 100px 80px;
  background:transparent;
}

.skills-container{
  max-width: 1200px;
  margin: 0 auto;     /* ✅ centers container */
}


/* GRID */
.skills-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: stretch;
}


/* CARD */
.skill-card{
  background: #0c0c0c;
  border: 1px solid rgba(180,76,255,0.4);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.skill-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 0 26px rgba(180,76,255,0.45);
}


/* TOP BAR */
.skill-header{
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* DOTS */
.dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red{ background:#ff5f56; }
.dot.yellow{ background:#ffbd2e; }
.dot.green{ background:#27c93f; }

/* BODY */
.skill-body{
  flex: 1;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skill-body img{
  width: 72px;       /* 🔥 BIGGER ICON */
  height: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


/* FOOTER (SKILL NAME) */
.skill-footer{
  padding: 14px;
  text-align: center;
  font-size: 15px;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #0f0f0f;
  letter-spacing: 0.5px;
}


.skill-card:hover .skill-footer{
  color: var(--accent);
}

@media (max-width:768px){
  .skills{
    padding: 70px 20px;
  }

  .skills-grid{
    gap: 26px;
  }

  .skill-body img{
    width: 60px;
    height: 60px;
  }
}
/* CONTACT SECTION */
.contact{
  min-height: 100vh;
  padding: 100px 80px;
  background: transparent;
  display: flex;
  align-items: center;
}

.contact-container{
  max-width: 600px;
  margin: 0 auto;
}

/* FORM */
.contact-form{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea{
  background: #0c0c0c;
  border: 1px solid rgba(180,76,255,0.4);
  border-radius: 12px;
  padding: 14px 16px;
  color: white;
  font-size: 14px;
}

.contact-form textarea{
  resize: none;
  height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: var(--accent);
}

/* BUTTON */
.contact-form button{
  margin-top: 10px;
  padding: 14px;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover{
  background: rgba(180,76,255,0.12);
}

/* THANK YOU POPUP */
.thankyou-popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-box{
  background: #0c0c0c;
  padding: 30px 40px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(180,76,255,0.5);
  box-shadow: 0 0 25px rgba(180,76,255,0.5);
}

.popup-box h3{
  color: var(--accent);
  margin-bottom: 10px;
}

.popup-box p{
  color: #ccc;
  margin-bottom: 20px;
}

.popup-box button{
  padding: 10px 22px;
  border-radius: 20px;
  border: none;
  background: var(--accent);
  color: black;
  cursor: pointer;
}

/* PROJECTS */
.projects{
  min-height: 100vh;
  padding: 100px 20px;
}

.projects-container{
  max-width: 1200px;
  margin: 0 auto;
}

.projects-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}

/* PROJECT CARD */
.project-card{
  background: #0c0c0c;
  border: 1px solid rgba(180,76,255,0.4);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s ease;
}

.project-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(180,76,255,0.5);
}

/* TOP BAR */
.project-top{
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.red{ background:#ff5f56; }
.yellow{ background:#ffbd2e; }
.green{ background:#27c93f; }

/* BODY */
.project-body{
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-body img{
  width: 80%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: 0.3s;
}

.project-card:hover img{
  filter: grayscale(0);
}

/* FOOTER */
.project-footer{
  padding: 14px;
  text-align: center;
}

.project-footer h4{
  font-size: 15px;
  margin-bottom: 4px;
}

.project-footer p{
  font-size: 13px;
  color: #aaa;
}

/* MODAL */
.project-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.project-modal-box{
  background: #0c0c0c;
  border-radius: 16px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  border: 1px solid rgba(180,76,255,0.5);
  box-shadow: 0 0 30px rgba(180,76,255,0.6);
}

.project-modal-box img{
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.close-project{
  position: absolute;
  top: 20px;
  right: 25px;
  cursor: pointer;
  font-size: 22px;
  color: #fff;
}

.project-links{
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.project-links a{
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid #b44cff;
  color: #b44cff;
  text-decoration: none;
  transition: 0.3s;
}

.project-links a:hover{
  background: rgba(180,76,255,0.15);
}

/* RESPONSIVE */
@media(max-width: 900px){
  .projects-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px){
  .projects-grid{
    grid-template-columns: 1fr;
  }
}
/* CONTACT SECTION */
.contact{
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
}

/* CONTACT CARD */
.contact-container{
  position: relative; /* REQUIRED FOR DOTS */
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 50px 35px 40px;
  border: 1px solid rgba(180,76,255,0.4);
  box-shadow: 0 0 40px rgba(180,76,255,0.25);
  text-align: center;
}

/* DOTS */
.contact-dots{
  display: flex;
  gap: 8px;
  position: absolute;
  top: 18px;
  left: 18px;
}

.dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red{ background:#ff5f56; }
.dot.yellow{ background:#ffbd2e; }
.dot.green{ background:#27c93f; }

/* TITLE */
.contact-container h2{
  font-size: 40px;
  margin-bottom: 30px;
}

.contact-container h2 span{
  color:#b44cff;
}
/* ALL CONTENT ABOVE BACKGROUND */
header,
section,
footer{
  position: relative;
  z-index: 2;
}
body{
  position: relative;
  background: #000;
}


@keyframes pageFade{
  from{
    opacity: 0;
    transform: scale(0.98);
  }
  to{
    opacity: 1;
    transform: scale(1);
  }
}

/* HERO TEXT ANIMATION */
.hero-content{
  animation: heroSlide 1s ease forwards;
}

@keyframes heroSlide{
  from{
    opacity: 0;
    transform: translateY(20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.navbar nav a.active{
  color: #b44cff;
}

.navbar nav a.active::after{
  width: 100%;
}
.skill-card{
  position: relative;
}

.skill-level{
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 10;
}

.skill-card:hover .skill-level{
  opacity: 1;
}

.skill-level.expert{
  color: #00ffcc;
  border: 1px solid #00ffcc;
  box-shadow: 0 0 10px rgba(0,255,204,0.4);
}

.skill-level.advanced{
  color: #b44cff;
  border: 1px solid #b44cff;
}

.skill-level.intermediate{
  color: #ffaa00;
  border: 1px solid #ffaa00;
}
.project-close{
  position: absolute;     /* 🔥 INSIDE MODAL ONLY */
  top: 16px;
  right: 16px;
  z-index: 10;

  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #b44cff;
  color: #000;
  font-size: 18px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.project-modal-box{
  position: relative;
}

.about{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  padding: 40px 20px;
}

.about-content h2{
  font-size: 42px;
  margin-bottom: 20px;
}

.about-content h2 span{
  color: #b44cff;
}

.about-content p{
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 15px;
}

.about-content span{
  color: #b44cff;
  font-weight: 500;
}
.contact-cta{
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-card{
  width: 160px;
  height: 110px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(180,76,255,0.4);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-card i{
  font-size: 26px;
  margin-bottom: 8px;
  color: #b44cff;
}

.cta-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(180,76,255,0.6);
}

.cta-card.whatsapp i{
  color: #25D366;
}
.cursor-glow{
  position: fixed;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);

  background: radial-gradient(
    circle,
    rgba(180,76,255,0.65) 0%,
    rgba(180,76,255,0.35) 30%,
    rgba(180,76,255,0.15) 50%,
    transparent 70%
  );
}
.resume-wrapper {
  position: relative;
  display: inline-block;
}

.download-badge {
  background: #b44cff;
  color: #000;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  font-weight: 600;
}

.resume-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(180, 76, 255, 0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(180, 76, 255, 0.4);
}

.resume-wrapper:hover .resume-tooltip {
  opacity: 1;
}
.status-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  padding:6px 14px;
  border-radius:20px;
  font-size:14px;
  color:#b44cff;
  border:1px solid rgba(180,76,255,0.4);
  background:rgba(180,76,255,0.08);
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#b44cff;
  animation:pulse 1.5s infinite;
}

@keyframes pulse{
  0%{ box-shadow:0 0 6px #b44cff; }
  50%{ box-shadow:0 0 14px #b44cff; }
  100%{ box-shadow:0 0 6px #b44cff; }
}
#scroll-progress{
  position:fixed;
  top:0;
  left:0;
  height:3px;
  width:0%;
  background:linear-gradient(90deg,#b44cff,#7f3cff);
  z-index:9999;
}
#easter-egg{
  position:fixed;
  bottom:40px;
  right:40px;
  padding:12px 18px;
  background:#111;
  color:#b44cff;
  border-radius:12px;
  box-shadow:0 0 20px rgba(180,76,255,0.4);
  opacity:0;
  pointer-events:none;
  transition:0.4s;
  z-index:999;
}

#easter-egg{
  transform: translateY(10px);
}

#easter-egg.show{
  opacity: 1;
  transform: translateY(0);
}
#profileImage{
  transition: opacity 0.8s ease-in-out;
}

/* ABOUT PROFILE WRAPPER */
.about-profile {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* PURPLE GLOW RING */
.profile-ring {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  padding: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 3px solid #b44cff;
  box-shadow:
    0 0 15px rgba(180, 76, 255, 0.6),
    0 0 35px rgba(180, 76, 255, 0.4),
    0 0 70px rgba(180, 76, 255, 0.25);
}

/* PROFILE IMAGE */
.profile-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30% /* keeps face visible */
  transform: scale(0.92);
}
/* ========================= */
/* 📱 MOBILE OPTIMIZATION */
/* ========================= */

@media (max-width: 768px) {

  /* ---------- NAVBAR ---------- */
  .navbar {
    flex-direction: column;
    padding: 14px 20px;
    gap: 12px;
  }

  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .navbar nav a {
    margin: 0;
    font-size: 12px;
  }

  /* ---------- HERO ---------- */
  .hero {
    height: auto;
    padding: 90px 20px 60px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .roles {
    font-size: 14px;
  }

  .hero-content p {
    font-size: 14px;
  }

  /* Hide hero image (already correct but reinforced) */
  .hero-image {
    display: none;
  }

  /* ---------- BUTTONS ---------- */
  .buttons {
    width: 100%;
    justify-content: center;
  }

  .resume-btn {
    width: 100%;
    text-align: center;
  }

  /* ---------- SOCIAL ICONS ---------- */
  .socials {
    justify-content: center;
    gap: 20px;
  }

  .socials a {
    font-size: 24px;
  }

  /* ---------- STATUS BADGE ---------- */
  .status-badge {
    font-size: 13px;
    margin: 16px auto;
  }

  /* ---------- SKILLS ---------- */
  .skills {
    padding: 70px 20px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    max-width: 100%;
  }

  /* ---------- PROJECTS ---------- */
  .projects {
    padding: 70px 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-body {
    height: 200px;
  }

  /* ---------- ABOUT ---------- */
  .about {
    padding: 80px 20px;
  }

  .about-content h2 {
    font-size: 32px;
  }

  .about-content p {
    font-size: 14px;
  }

  .profile-ring {
    width: 200px;
    height: 200px;
  }

  /* ---------- CONTACT ---------- */
  .contact {
    padding: 80px 20px;
  }

  .contact-container {
    padding: 40px 20px;
  }

  .contact-container h2 {
    font-size: 32px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    width: 100%;
  }

  /* ---------- CTA CARDS ---------- */
  .cta-card {
    width: 140px;
    height: 100px;
  }

  /* ---------- MODALS ---------- */
  .project-modal-box {
    padding: 20px;
  }

  /* ---------- CURSOR GLOW ---------- */
  .cursor-glow {
    display: none; /* improves mobile performance */
  }
}
.status-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 18px;   /* ✅ FIXED */
  border-radius: 24px;

  font-size: 14px;
  line-height: 1;      /* ✅ prevents vertical squeeze */

  color: #b44cff;
  border: 1px solid rgba(180,76,255,0.45);
  background: rgba(180,76,255,0.12);
}

.status-dot{
  width: 9px;
  height: 9px;
}
/* ============================= */
/* 🎯 HERO CTA FINAL FIX */
/* ============================= */

/* STATUS BADGE */
.status-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 18px;
  margin: 14px 0 10px;

  border-radius: 24px;
  font-size: 14px;
  line-height: 1;

  color: #b44cff;
  border: 1px solid rgba(180,76,255,0.45);
  background: rgba(180,76,255,0.12);
}

/* RESUME BUTTON */
.resume-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 38px;
  min-height: 48px;

  border-radius: 40px;
}

/* DOWNLOAD COUNT BADGE */
.download-badge{
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1;
}

/* SOCIAL ICON ROW */
.socials{
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 22px;
}

.socials a{
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
}
@media (max-width: 768px){

  .hero-content{
    align-items: center;
    text-align: center;
  }

  .status-badge{
    margin: 18px auto 14px;
  }

  .buttons{
    justify-content: center;
    width: 100%;
  }

  .resume-btn{
    width: 100%;
    max-width: 280px;
  }

  .socials{
    justify-content: center;
  }
}
@media (max-width: 768px){

  .hero{
    padding: 40px 20px 60px;
    text-align: center;
  }

  .hero-image{
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
  }

  .hero-image img{
    width: 200px;
    opacity: 1;
    filter: grayscale(0);
  }

  .hero-content{
    align-items: center;
    margin-top: -10px;
  }
}

/* ========================= */
/* ✨ PREMIUM INTRO */
/* ========================= */

#intro-screen{
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity 0.8s ease;
}

#intro-screen.hide{
  opacity: 0;
  pointer-events: none;
}

/* Center block */
.intro-center{
  position: relative;
  text-align: center;
}

/* Glow */
.intro-glow{
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(180,76,255,0.35),
    transparent 70%
  );
  animation: glowPulse 2.2s ease-in-out infinite;
  z-index: -1;
}

@keyframes glowPulse{
  0%{ transform: scale(0.9); opacity:0.6 }
  50%{ transform: scale(1.05); opacity:1 }
  100%{ transform: scale(0.9); opacity:0.6 }
}

/* Text */
.intro-title{
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}

.prompt{
  color: #00ff88;
  margin-right: 6px;
}

#intro-text{
  color: #b44cff;
}

.cursor{
  color: #b44cff;
  animation: blink 1s infinite;
}

/* Subtitle */
.intro-sub{
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #aaa;
  opacity: 0;
  animation: subFade 0.8s ease forwards;
  animation-delay: 1.8s;
}

@keyframes blink{
  0%,50%,100%{opacity:1}
  25%,75%{opacity:0}
}

@keyframes subFade{
  to{ opacity:1 }
}

/* Mobile */
@media(max-width:768px){
  .intro-title{ font-size: 18px }
  .intro-sub{ font-size: 13px }
}
/* ========================= */
/* 🌗 THEME TOGGLE BUTTON */
/* ========================= */
#themeToggle{
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 99999;

  background: var(--accent);
  color: #000;
  font-size: 18px;

  box-shadow: 0 0 20px rgba(180,76,255,0.6);
  transition: 0.3s ease;
}

#themeToggle:hover{
  transform: scale(1.1);
}

/* ========================= */
/* 🌞 LIGHT MODE OVERRIDES */
/* ========================= */
body.light-mode{
  --accent: #2563eb; /* BLUE */
  background: #ffffff;
  color: #000;
}

/* TEXT */
body.light-mode p,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode span,
body.light-mode a{
  color: #000;
}

/* NAVBAR */
body.light-mode .navbar{
  background: rgba(255,255,255,0.9);
}

/* STATUS BADGE */
body.light-mode .status-badge{
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.4);
  color: #2563eb;
}

body.light-mode .status-dot{
  background: #2563eb;
}

/* CARDS */
body.light-mode .skill-card,
body.light-mode .project-card,
body.light-mode .contact-container{
  background: #f8fafc;
  border-color: rgba(37,99,235,0.35);
}

/* BUTTONS */
body.light-mode .resume-btn,
body.light-mode .contact-form button,
body.light-mode .project-links a{
  color: #2563eb;
  border-color: #2563eb;
}

/* =============================== */
/* 🌞 LIGHT MODE DEFAULT */
/* =============================== */
body{
  --accent: #2563eb; /* blue */
}

body:not(.light-mode){
  --accent: #b44cff; /* violet */
}

/* =============================== */
/* ✨ GRADIENT GLOW – LIGHT MODE */
/* =============================== */
body.light-mode .skill-card:hover,
body.light-mode .project-card:hover,
body.light-mode .contact-container:hover{
  box-shadow:
    0 0 20px rgba(37,99,235,0.85),
    0 0 45px rgba(96,165,250,0.6),
    0 0 80px rgba(147,197,253,0.45);
}

body.light-mode .profile-ring{
  border-color: #2563eb;
  box-shadow:
    0 0 25px rgba(37,99,235,0.8),
    0 0 55px rgba(96,165,250,0.55),
    0 0 95px rgba(147,197,253,0.4);
}

/* =============================== */
/* 🟣 GRADIENT GLOW – DARK MODE */
/* =============================== */
body:not(.light-mode) .skill-card:hover,
body:not(.light-mode) .project-card:hover,
body:not(.light-mode) .contact-container:hover{
  box-shadow:
    0 0 20px rgba(180,76,255,0.85),
    0 0 45px rgba(200,120,255,0.6),
    0 0 80px rgba(220,170,255,0.45);
}

body:not(.light-mode) .profile-ring{
  box-shadow:
    0 0 25px rgba(180,76,255,0.8),
    0 0 55px rgba(200,120,255,0.55),
    0 0 95px rgba(220,170,255,0.4);
}

/* ================================================= */
/* 🌞 LIGHT THEME – CLEAN PREMIUM UI FIX (FINAL) */
/* ================================================= */

/* ---------- GLOBAL LIGHT BASE ---------- */
body.light-mode{
  background: #ffffff;
  color: #0f172a;
}

/* ---------- SECTION BACKGROUND ---------- */
body.light-mode section{
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

/* ================================================= */
/* 🧩 SKILLS SECTION – REMOVE BLACK CARDS */
/* ================================================= */

body.light-mode .skill-card{
  background: #f8fafc;
  border: 1px solid rgba(37,99,235,0.35);
  box-shadow: 0 4px 12px rgba(15,23,42,0.06);
}

body.light-mode .skill-footer{
  background: transparent;
  color: #0f172a;
}

body.light-mode .skill-body img{
  filter: none;
}

/* ================================================= */
/* 📩 CONTACT SECTION – REMOVE BLACK INPUTS */
/* ================================================= */

body.light-mode .contact-container{
  background: #f8fafc;
  border: 1px solid rgba(37,99,235,0.35);
}

/* Inputs & textarea */
body.light-mode .contact-form input,
body.light-mode .contact-form textarea{
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid rgba(37,99,235,0.35);
}

/* Placeholder */
body.light-mode .contact-form input::placeholder,
body.light-mode .contact-form textarea::placeholder{
  color: #64748b;
}

/* Focus state */
body.light-mode .contact-form input:focus,
body.light-mode .contact-form textarea:focus{
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18);
}

/* Send button */
body.light-mode .contact-form button{
  background: #eef2ff;
  color: #2563eb;
  border: 2px solid #2563eb;
}

body.light-mode .contact-form button:hover{
  background: #2563eb;
  color: #ffffff;
}

/* ================================================= */
/* ✨ GRADIENT BLUE GLOW (LIGHT MODE) */
/* ================================================= */

body.light-mode .skill-card:hover,
body.light-mode .project-card:hover,
body.light-mode .contact-container:hover{
  box-shadow:
    0 0 20px rgba(37,99,235,0.8),
    0 0 45px rgba(96,165,250,0.55),
    0 0 85px rgba(147,197,253,0.35);
}

/* About image glow */
body.light-mode .profile-ring{
  border-color: #2563eb;
  box-shadow:
    0 0 25px rgba(37,99,235,0.75),
    0 0 55px rgba(96,165,250,0.45),
    0 0 95px rgba(147,197,253,0.3);
}
html.light-mode body{
  background: #ffffff;
  color: #0f172a;
}
/* ======================================= */
/* 📄 RESUME BUTTON – LIGHT MODE FIX */
/* ======================================= */

/* Button */
body.light-mode .resume-btn{
  background: #ffffff;
  border: 2px solid #2563eb;
  color: #2563eb;
  box-shadow: 0 6px 18px rgba(37,99,235,0.15);
}

/* Hover */
body.light-mode .resume-btn:hover{
  background: #eef2ff;
}

/* Download count badge */
body.light-mode .download-badge{
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.25);
}

/* Tooltip */
body.light-mode .resume-tooltip{
  background: rgba(37,99,235,0.12);
  color: #0f172a;
  border: 1px solid rgba(37,99,235,0.35);
  box-shadow: 0 8px 24px rgba(37,99,235,0.2);
  backdrop-filter: blur(10px);
}
/* ======================================= */
/* 📄 RESUME TOOLTIP – POSITION FIX */
/* ======================================= */

.resume-wrapper{
  margin-top: 36px; /* creates space from text above */
}

/* Tooltip position */
body.light-mode .resume-tooltip{
  bottom: calc(100% + 14px); /* move tooltip up */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 20;
}

/* Small arrow (optional but premium) */
body.light-mode .resume-tooltip::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: rgba(37,99,235,0.12);
  border-left: 1px solid rgba(37,99,235,0.35);
  border-bottom: 1px solid rgba(37,99,235,0.35);
  transform: translateX(-50%) rotate(45deg);
}
/* ======================================= */
/* 🧠 SKILL LEVEL BADGE – HEADER FIX */
/* ======================================= */

/* Make header relative so badge can sit inside */
.skill-header{
  position: relative;
}

/* Move skill level into black header bar */
.skill-level{
  position: absolute;
  top: 6px;
  right: 12px;

  padding: 3px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 14px;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);

  opacity: 1;               /* always visible now */
  transform: none;
}

/* ======================================= */
/* 🎯 LEVEL COLORS (UNCHANGED LOGIC) */
/* ======================================= */

.skill-level.expert{
  color: #00ffcc;
  border: 1px solid #00ffcc;
}

.skill-level.advanced{
  color: #2563eb;
  border: 1px solid #2563eb;
}

.skill-level.intermediate{
  color: #ffaa00;
  border: 1px solid #ffaa00;
}
/* ======================================= */
/* 🌗 THEME TOGGLE – HEADER RIGHT */
/* ======================================= */

.theme-toggle{
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);

  width: 40px;
  height: 40px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-left: 24px;
  cursor: pointer;

  transition: all 0.3s ease;
}

/* Hover effect */
.theme-toggle:hover{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px rgba(37,99,235,0.5);
}

/
/* 🔥 HERO IMAGE FIX */
.hero-image img{
  width: 100%;
  max-width: 420px;
  height: auto;

  object-fit: cover;
  object-position: center top; /* keeps face visible */

  filter: grayscale(100%) contrast(1.05);
  border-radius: 12px;
}
.hero-image{
  display: flex;
  justify-content: center;
  align-items: center;
}
/* 🌗 HEADER THEME TOGGLE FIX */
.theme-toggle{
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);

  width: 42px;
  height: 42px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  flex-shrink: 0; /* VERY IMPORTANT */

  transition: 0.3s ease;
}

.theme-toggle:hover{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(37,99,235,0.45);
}
#particles-js{
  position: absolute;   /* 🔥 changed from fixed */
  top: 0;
  left: 0;

  width: 100%;
  height: 100vh;

  z-index: 0;
  pointer-events: none;
}
.hero{
  position: relative;   /* 🔥 REQUIRED */
  min-height: 100vh;
  overflow: hidden;     /* 🔥 stops particles leaking */
}
header,
.hero,
section{
  position: relative;
  z-index: 2;
}
@media (max-width: 768px){
  #particles-js{
    height: 100vh;
  }
}














