html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  max-width: 100%;
  background: black;
  overflow-y: auto;   /* allow vertical scroll */
  overflow-x: hidden; /* prevent sideways scroll */
  box-sizing: border-box;
  
}


.homepage {
  
    background: #fff !important;
    color: #000 !important;
    background-image: none !important;
    overflow: hidden;
    height: 100vh;

}

#tsparticles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.content {
  position: absolute;
  
  top: 50%;
  left: 50%;
  transform: translate(-100%, -50%);
  z-index: 1;
}

.profile-image {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  z-index: 0;
  position: relative; 
}
.content img{
  object-fit: cover;
  
}
/* Navbar starting */


.sidebar {
 
  width: 120px;
  height: 230px;
 
  margin-left: 15px;
  margin-top: 30px;
  padding: 20px;
  position: fixed;
  line-height: 0.25rem;
  letter-spacing: .0em;
        
}

.logo{
  width: 200px;
  height: 70px;
  margin-left: 40px;
  margin-top: 30px;
  position: fixed;

}

.logo-img {
  width: 160px;
  height: 50px;
  
}

.nav-links {
  margin-top: 40px;
  list-style: none;
  display: flex;
  background-color: #000;
  flex-direction: column;
  gap: 20px;
  font-family: poppins;
  padding-left: 1px;
}

.nav-links li a {
  font-family: "Bebas Neue", sans-serif;
 
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.nav-links li a:hover {
  background-color:none;
  color: #a855f7;
}

.content {
  margin-left: 240px;
  padding: 40px;
  flex: 1;
}




/* My iNTRO starting */

.homepage .myname {
  position: absolute;
  bottom: 20px;         /* Distance from bottom */
  left: 20px;           /* Distance from left */
  color: white;         /* Text color */
  font-size: 18px;
  font-family: "Bebas Neue", sans-serif;
  padding: 10px 15px;
  line-height: 0.55rem;
 
}
.myname h3{
  font-size: 15px;
  color: #bbb5b5;
  font-weight: 400;

}
.myname span{
  color: #a855f7;
}



/* CV BUTTON starting */


.cv-btn {
  font-family: "Poppins", sans-serif;
  position: absolute;
  bottom: 20px;         /* Distance from bottom */
  right: 20px;   
  display: inline-block;
  padding: 12px 25px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  color: white; /* text color */
  border: 2px solid rgb(102, 95, 95); /* white border */
  background-color: transparent;
  transition: all 0.3s ease;
}

.cv-btn:hover {
  background-color: #a855f7;
  color: white;
}



.social-links {
  position: absolute;
  top: 100px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social {
  width: 30px;
  height: 30px;
  background: transparent;
  border: 2px solid rgb(184, 176, 176);
  color: #a855f7;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social:hover {
  background: #a855f7;
  color: rgb(255, 250, 250);
}




/* Responsive styling */
@media (max-width: 768px) {
 .sidebar {
  
  margin-top: 75px;
margin-left: 6px;


 }
 .homepage .myname {
  font-size: 12px;
  

}
.logo{
  margin-top: 10px;
  margin-left: 10px;
}

.nav-links li a{
  font-size: 18px;
 
}
.nav-links{
  gap: 40px;
}

.profile-image {
 
  width: 270px;
  height: 270px;
 
}
.content{
  transform: translate(-120%, -50%);
  z-index: 1;
}
}
/* Hamburger default hidden */
.hamburger {
  display: none;
 
  font-size: 24px;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2000;
}

/* Mobile view */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -500px; /* hidden off screen */
    width: 110px;
    height: 30%;
    background: black;
    transition: left 0.3s ease;
    z-index: 1500;
   
  }

  .sidebar.active {
    left: 0; /* slide in */
  }
}






/* Router panel container */
#router-view{
  position: relative;
  z-index: 10; /* ensures it sits above hero image */

}

#router-view.panel {
 
  margin: 20px auto;
 

  max-width: 1020px;         /* adjust to your layout */
  transition: opacity .25s ease, transform .25s ease;
}

/* The see-through card */
#router-view .panel-inner {
  background: rgba(17, 17, 17, 0.15);   /* transparent dark */
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); */
  border-radius: 16px;
  /* border: 1px solid #8819f0; */
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  color: #fff;
 /* Let height follow content */
 height: auto;        /* ✅ allow auto resizing */
 min-height: 60vh;    /* ✅ at least 60% of viewport */
 box-sizing: border-box;
}

/* Show/Hide + transitions */
#router-view[hidden] { display: none; }
#router-view.enter { opacity: 0; transform: translateY(6px); }
#router-view.enter.active { opacity: 1; transform: translateY(0); }

/* Optional: active nav highlight */
.menu a.active { text-decoration: underline; text-underline-offset: 4px; }

/* Mobile: make panel edge-to-edge if you want */
@media (max-width: 640px) {
  #router-view .panel-inner { border-radius: 12px; padding: 16px; }
  #router-view.panel { max-width: 100%; }
}



/* aBOUT PAGE START  */

.about-image img{
  width: 100%;
  height: 100%;
  display: block;   
 
 
}
.about-text2{
  
  padding: 25px;
  max-width: 90%;
  font-family: "Bebas Neue", sans-serif;
}

.about-text2 h1{
  color: white;         /* Text color */
  font-size: 50px;
  font-family: "Bebas Neue", sans-serif;
}


.about-text2 h3{
  font-size: 15px;
  color: #d6cfcf;
  font-weight: 400;

}
.about-text2 span{
  color: #a855f7;
}
.about-text2 p{
  font-size: 16px;
  line-height: 1.25rem;
  letter-spacing: .085rem;
  padding-bottom: 20px;
}

.cv-btn2 {
  font-family: "Poppins", sans-serif;
  
  padding: 12px 25px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  color: white; /* text color */
  border: 2px solid rgb(102, 95, 95); /* white border */
  background-color: transparent;
  transition: all 0.3s ease;
}

.cv-btn2:hover {
  background-color: #a855f7;
  color: white;
}







.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.3); /* outer border */
}

.grid-box {
  
  /* padding: 20px; */
  background: rgba(0, 0, 0, 0.3); /* transparent background */
  color: white;
}

/* Add inner vertical line between columns */
.custom-grid > :nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

/* Add horizontal lines between rows */
.custom-grid > :nth-child(n+3) {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .custom-grid {
    grid-template-columns: 1fr;
  }
  .custom-grid > :nth-child(odd) {
    border-right: none;
  }
  .custom-grid > :nth-child(n+2) {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
 .contact-container{
  flex-direction: column;
 }

}


.about-text3{
  padding: 25px;
  max-width: 90%;
  font-family: "Bebas Neue", sans-serif;
}
.first-span{
  font-size: 25px;
  
  font-weight: 600;
  margin-bottom: 70px;
}
.fa-award{
  font-size: 30px;
  margin-right: 8px;
}
.about-text3 h2{
  font-size: 24px;
  margin-top: 40px;
  
}
.about-para{
  font-size: 15px;
  color: rgb(196, 191, 191);
  line-height: 1.25rem;
  letter-spacing: .085rem;
}
.second-span{
  font-size: 18px;
  padding: 5px;
  background-color: #a855f7;
}

.about-text4{
  padding: 25px;
  max-width: 90%;
  font-family: "Bebas Neue", sans-serif;
}
.fa-laptop{
  font-size: 30px;
  margin-right: 8px;
  margin-bottom: 20px;
}

.about-text5{
  padding: 25px;
  max-width: 90%;
  font-family: "Bebas Neue", sans-serif;
}
.fa-wave-square{
  font-size: 30px;
  margin-right: 8px;
  margin-bottom: 20px;
}




.skills-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
 
}

.skills-column {
  padding: 20px;
  border-left: 1px solid #a855f7; /* column divider */
}

.skills-column:first-child {
  border-left: none;
}

.skill {
  margin-bottom: 20px;
}

.skill span {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.bar {
  background: #222;
  border: 1px solid #126628;
  height: 8px;
  position: relative;
}

.progress {
  height: 100%;
  background: #a855f7;
}


.about-text6{
  padding: 25px;
  max-width: 90%;
  font-family: "Bebas Neue", sans-serif;
}
.fa-language{
  font-size: 30px;
  margin-right: 8px;
  margin-bottom: 20px;
}



.clients-section {
  text-align: center;
  padding: 40px 0;
  color: rgb(253, 253, 253);
  font-family: "Bebas Neue", sans-serif;
}

.clients-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.clients-logos {
  
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  color: rgb(168 85 247);
}

.clients-logos img {
  color: #a855f7;
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1); /* makes dark logos appear white on dark background */
  transition: transform 0.3s, filter 0.3s;
}

.clients-logos img:hover {
  transform: scale(1.1);
  filter: brightness(1.2) invert(1);
}




/* Projects Section */
.projects {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  color: #fff;
  font-family: Arial, sans-serif;
}

.projects h2 {
  font-size: 28px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.projects .subtitle {
  color: #aaa;
  margin-bottom: 30px;
}

/* Project Card */
.project-card {
  display: flex;
  flex-wrap: wrap;
  background: #111;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.project-image {
  flex: 1 1 40%;
  min-width: 280px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  flex: 1 1 60%;
  padding: 20px;
}

.project-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #a855f7; /* purple heading */
}

.project-content p {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Tech Stack */
.tech-stack {
  margin-bottom: 15px;
}

.tech-stack span {
  background: #222;
  border: 1px solid #555;
  padding: 5px 10px;
  margin-right: 8px;
  font-size: 12px;
  border-radius: 5px;
}

/* Footer */
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.project-footer a {
  color: #4fa3f7;
  text-decoration: none;
}

.project-footer a:hover {
  text-decoration: underline;
}


.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.projects {
  max-width: 1100px;
  margin: auto;
}

.project-card {
  display: flex;
  flex-wrap: wrap;
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid #7c3aed;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.6);
}

.project-image {
  flex: 1 1 300px;
  max-height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  flex: 1 1 400px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.project-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.project-client {
  font-size: 1rem;
  font-weight: 600;
}

.project-title {
  font-size: 1.5rem;
  margin: 10px 0;
  font-weight: bold;
}

.project-desc {
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 15px;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.tags span {
  background: rgba(124, 58, 237, 0.7);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 0.9rem;
  color: #aaa;
}

.project-footer a {
  color: #a78bfa;
  text-decoration: none;
}

.project-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
  }
  .project-image {
    max-height: 200px;
  }
}




h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 1px;
}

p {
  color: #bbb;
}

/* Contact Section */
.contact-section {
  padding: 15px;
  text-align: center;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1000px;
  margin: 40px auto;
  border: 1px solid #6a0dad; /* Purple border around both */
}

/* Left side - Info */
.contact-info {
  flex: 1;
  padding: 30px;
  border-right: 1px solid #6a0dad; /* Divider line */
  background: transparent; /* Transparent background */
  text-align: left;
}

.info-box {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.info-box i {
  font-size: 22px;
  color: #a855f7; /* Purple */
  margin-right: 15px;
}

/* Right side - Form */
.contact-form {
  flex: 1;
  padding: 35px;
  background: #0d0d0d; /* Solid black box */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #6a0dad;
  padding: 12px;
  margin-bottom: 15px;
  color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form textarea {
  min-height: 100px;
  resize: none;
}

.contact-form button {
  background: #a855f7;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #7c3aed;
}

/* Footer */
footer {
  margin-top: 40px;
  text-align: center;
  padding: 10px;
  color: #999;
}

/* ---------- Preloader layout ---------- */
#preloader{
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
  transition: opacity var(--intro-fade) ease;
}

/* ---------- Eye + effects ---------- */
.eye-container{
  position: relative;
  width: 220px;
  height: 220px;

  /* Put your image here — adjust the path */
  background: url("images/12.webp") center/contain no-repeat;

  filter: drop-shadow(0 0 18px var(--glow));
  animation: pulse 2s infinite alternate;
}

/* Pulsing glow */
@keyframes pulse{
  from{ filter: drop-shadow(0 0 10px var(--glow)); }
  to  { filter: drop-shadow(0 0 30px var(--glow)); }
}

/* Scanning line */
.scan-line{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:6px;
  background: rgba(0,255,255,.9);
  box-shadow: 0 0 25px var(--glow), 0 0 50px var(--glow);
  
    animation: scan 1s linear infinite;  /* 3s = duration */
 
  
}

/* Sweep animation */
@keyframes scan{
  0%   { top:0; opacity:0; }
  10%  { opacity:1; }
  50%  { top:100%; opacity:1; }
  90%  { opacity:1; }
  100% { top:0; opacity:0; }
}

/* Circular radar ring */
.radar{
  position:absolute;
  width:300px;
  height:300px;
  border-radius:50%;
  border:2px solid rgba(0,255,255,.35);
  box-shadow: 0 0 18px rgba(0,255,255,.25) inset, 0 0 20px rgba(0,255,255,.25);
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  pointer-events:none;
}

/* Rotating glowing arc for radar sweep */
/* Circular radar ring */
.radar {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(0,255,255,.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  overflow: hidden; /* to keep the sweep inside */
  box-shadow: 0 0 20px rgba(0,255,255,.25) inset, 0 0 25px rgba(0,255,255,.25);
}

/* Radar sweep arc (glowing sector) */
.radar::before {
  content: "";
  position: absolute;
  inset: -50%; /* bigger than container for smooth edges */
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(0,255,255,0.4) 0deg,
    rgba(0,255,255,0.25) 30deg,
    rgba(0,255,255,0.05) 60deg,
    rgba(0,255,255,0.0) 120deg,
    rgba(0,255,255,0.0) 360deg
  );
  filter: blur(6px);
  animation: rotate 2s linear infinite;
  transform-origin: center center;
}


/* ---------- Text states ---------- */
.scan-text{
  margin-top:6px;
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--glow);
  text-shadow: 0 0 10px var(--glow);
  animation: blink 1.4s infinite;
}

@keyframes blink{
  0%,100%{ opacity:1; }
  50%    { opacity:.35; }
}

.access-granted{
  display:none;
  margin-top:6px;
  font-size: 22px;
  color: #39ff14; /* neon green */
  text-shadow: 0 0 14px #39ff14;
  animation: granted 1s ease-in-out infinite alternate;
}

@keyframes granted{
  from{ transform: scale(1);   opacity:.8; }
  to  { transform: scale(1.06); opacity:1; }
}

/* ---------- Small screens ---------- */
@media (max-width:480px){
  .eye-container{ width:180px; height:180px; }
  .radar{ width:250px; height:250px; }
  .scan-text{ font-size:16px; }
  .access-granted{ font-size:20px; }
}

/* --- Vertical scanning line over the eye --- */
.eye-container .eye-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;                 /* thickness of scan line */
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0) 0%,
    rgba(0, 255, 255, 0.8) 50%,
    rgba(0, 255, 255, 0) 100%
  );
  box-shadow: 0 0 12px rgba(0,255,255,0.9), 0 0 24px rgba(0,255,255,0.7);
  animation: eye-scan 3s linear infinite;
}

/* Animation: move left → right */
@keyframes eye-scan {
  0%   { left: 0%; }
  50%  { left: 100%; }
  100% { left: 0%; }
}






.contact-mini {
  display: flex;
  flex-direction: column;   /* stack items vertically */
  gap: 15px;               /* space between rows */
  max-width: 300px;        /* optional, keeps it neat */
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: background .2s ease, transform .15s ease;
}

.contact-item:hover {
  background: rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.contact-item .icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b574f1; /* your brand color */
}

.contact-item .text {
  font-weight: 600;
}




 /*Cyber Page*/
 /*Cyber Page*/
 
 
 

