body {
    margin: 0;
    padding: 0;
    font-family: "Poppins";
    scroll-behavior: smooth;
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}

body, html {
  overflow-x: hidden;
  width: 100%;
}


html {
  scroll-behavior: smooth;
    overflow-x: hidden;
}
.main-container {
    background-color: #161b21;
}
.hamburger .line {
    background: #00b08a; /* your theme green */
}

.nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
 position: sticky;
    top: 0;
    z-index: 9999;
}


.cv-btn {
    background-color: #00b08a;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.cv-btn:hover {
    background-color: #0dd1a4;
    box-shadow: 0 0 10px #00b08a, 0 0 20px #00ffb0;
}


.nav-ul {
    display: flex;
    flex-direction: row;
    justify-content: right;
    /* Center align items */
    gap: 4rem;
    /* Add a small gap between items */
    /* margin-right: 12rem; */
    
}
.nav-ul.open {
    pointer-events: auto; /* clickable when open */
    z-index: 99999;
}


.nav-ul a {
    color: hsl(0, 0%, 100%);
    text-decoration: none;
    list-style: none;

transition: ease-in 0.3s;
    font-size: 1.6rem;

}


.nav-ul a:hover{
    color: #00b08a; /* Base color */
    text-shadow: 0 0 10px #00b08a, 
                 0 0 20px #00b08a, 
                 0 0 30px #00b08a, 
                 0 0 40px #00ffb0, /* Lighter green glow */
                 0 0 50px #00ffb0, 
                 0 0 60px #00ffb0;
    font-weight: bold; /* Enhance visibility */
    font-size: 2rem; /* Optional: Make it stand out */
}



/* 
css for nav bar hameburger */

.hamburger {
    display: none;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2000;
}

/* Lines inside the hamburger */
.hamburger .line {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    margin: 4px 0;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* --- CROSS ANIMATION --- */
.hamburger.active .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active .line:nth-child(2) {
    opacity: 0; /* hide middle line */
}
.hamburger.active .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}




/* mobile behavior */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  /* keep original desktop style untouched; override only in mobile */
  .nav-ul {
    position: fixed;
    top: 68px;                 /* adjust so it sits below your sticky nav */
    right: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 1.5rem 0;
    background-color: rgba(22,27,33,0.98);
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    display: none;             /* hidden by default */
    z-index: 1200;
    transition: transform 0.28s ease, opacity 0.28s ease;
    transform-origin: top right;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
  }

  /* when open, show it */
  .nav-ul.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
pointer-events: auto;
  }

  /* make links full-width tappable */
  .nav-ul a { display: block; padding: 0.6rem 0; }
  .nav-ul li { font-size: 1.5rem; }

  .nav-container { justify-content: space-between; padding: 0.6rem 1rem; }
}









.intro-main {

    /* height: 40rem;
width: 60rem; */
margin-top: 15rem;
    display: flex;
    justify-content: start;
    align-items: center;
    margin-left: 20rem;

    flex-wrap: wrap;



}



.nav-container {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensures it stays above other content */
    height: 27%;
    background-color: rgba(22, 27, 33, 0.8);
}


.nav-container,
.nav-ul {
    max-width: 100%;
    overflow-x: hidden;
}


.mypic img {
    width: 20rem;
    height: 20rem;
}

.intro-text {
    color: aliceblue;
    font-size: 2.6rem;
}

.intro-head {
    color: #00b08a;
    font-size: 5rem;
    line-height: 0.6;


}



    


    .intro-head {
    position: relative;
    z-index: 1; /* Ensure text and this container are on top of background */
}

.intro-head:hover{color:    #00adb5;;}


.intro-head::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: -1; /* Keep it behind the text but above other elements */
    transform-origin: left;
    width: 19rem;
  height: 4rem;
}

.intro-head:hover::before {
    transform: scaley(2);
    transform-origin: right;
}







.intro-text h3 {
    font-size: 30px;
    font-weight: 600;
    margin-right: 1rem;
    line-height: 0.2;
}


.intro-text p {
    font-size: 1rem;
    font-weight: 200;
}


.intro-text button {
    background-color: #00a280;
    border: 2px solid #00a280;
    border-radius: 9%;
    padding: 18px;
    color: white;
    font-weight: 933;
    font-size: 12px;
    width: 130px;
    transition: box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.intro-text button:hover{ 
   

    /* Glowing effect */
    box-shadow: 0 0 20px #ffffff, 
                0 0 30px #ffffff, 
                0 0 50px #00ffb0, 
                0 0 60px #00ffb0;
  
}

/* Add hover effect */



.intro-icons i {
   
    cursor: pointer;
    color: #00b08a;
    font-size: 3rem;
    transition: 0.5s;
    margin-top: 3rem;

    line-height: 2;
    letter-spacing: 0.35em;
}

.intro-icons i:hover {
    color: hsl(0, 0%, 100%);
}
.mypic{
    width: 28rem;
}





.mypic img {
    width: 35rem;
    height: auto;
    background: black;
    margin-left: 10rem;
}




.typewriter-container {
    display: flex;
    align-items: center;
  font-weight: 400;
  font-size: 30px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid transparent;
  }
  
  .typewriter-text {
    display: inline-block;
    white-space: nowrap;
  }
  
  .cursor {
    display: inline-block;
    margin-left: 5px;
    color: #ffffff;
    animation: blink 0.7s steps(3, start) infinite;
  }
  
  @keyframes blink {
    50% {
      opacity: 0;
    }
  }
  






  .myself-cont{background-color: #272b37;
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
padding-top: 23rem;

}

#intro-wd{
    color: #00b08a;
font-size: 1.7rem;
font-weight: 714;
}


.myself-cont h2{font-size: 40px;
    color: #fff;
    letter-spacing: 0em;
    line-height: 1.1;}


    #self-para{color: gainsboro;
        line-height: 2.5;
        font-weight: 600;

    }

.myslef-intro button {
    margin-top: 2rem;
    padding: 1.3rem 2.5rem;
    background-color: #00a280;
    color: #ffffff;
    border: none;
    font-size: 17px;
    cursor: pointer;
    border-radius: 27% 0 27% 0;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.myself-pic img{
  border-radius: 50%;
}

.myslef-intro button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #00ffb3;
    z-index: -1;
    transition: all 0.4s ease;
    transform: skewX(-20deg);
}

.myslef-intro button:hover::before {
    left: 0;
}

.myslef-intro button:hover {
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 255, 195, 0.3);
}



.myself-pic img:hover {
  transform: scale(1.05) rotateY(3deg);
  transition: transform 0.4s ease;
}






    .skills-section {
        background-color: #161b21;
        color: #ffffff;
        padding: 7rem;
  
       
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      }
      
      .skills-heading {
        text-align: center;
        font-size: 4rem;
        margin-bottom: 2rem;
        color: #00b08a;
      }
      
      .skill {
        margin-bottom: 1.5rem;
      }
      
      .skill p {
        margin: 0;
        font-size: 1.2rem;
      }
      
      .progress-bar {
        background-color: #272b37;
        border-radius: 20px;
        height: 20px;
        overflow: hidden;
        position: relative;
        margin-top: 0.5rem;
      }
      
      .progress {
        height: 100%;
        background: linear-gradient(90deg, #00b08a, #22ffea);
        border-radius: 20px;
        animation: loading 2s ease-out;
        width: 83%;
      }
      
      @keyframes loading {
        from {
          width: 0%;
        }
        to {
          width: 100%; /* Adjust based on percentage */
        }
      }
      





.service-showcase{
  background-color: #272b37;
  color: #ffffff;
  text-align: center;
  margin-top: -3rem;


  
}

.serviecs{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-content: space-around;
  margin-top: 7rem;
  flex-wrap: wrap;
  gap: 7rem;
}

      .servivs{
        width: 23rem;
        background-color: #161b21;
        height: 23rem;
        border-radius: 9%;
      }


      .servivs i{
        font-size: 3rem;
  margin-top: 3rem;
  color: #00b08a;
      }

      .servivs p{
        font-weight: 300;
      }


      .service-head h1{
        color: #00E0A1;
        font-size: 61px;
  font-weight: 900;
      }



      
      .service-head h2{

        font-size: 37px;
        letter-spacing: 0.244em;
        font-weight: 900;
      }


      .serv {
        transition: transform 0.3s ease-in-out; /* Apply transition to transform */
        border: 2px solid #00b08a;
        margin-bottom: 55px;
      }
      
      .servivs:hover {
        transform: translateY(-6rem); 
       /* Moves the element smoothly */
       border: 2px solid #ffffff;
      }

      .do{
        background: linear-gradient(90deg, #00ffcc, #ffffff, #00ffcc);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
  filter: brightness(0.9);
      }


/*services moving text  */
.move {
  background-color: #1a1f2d;;
  overflow: hidden;
  padding: 3vw 0;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee {
  display: flex;
  align-items: center;
  gap: 3vw;
  background-color: #ffffff;
  padding: 0 2vw;
  flex-shrink: 0;
}

.marquee img {
  height: 3vw;
  transition: transform 0.3s ease;
}

.marquee h1 {
  font-size: 3vw;
  white-space: nowrap;
  color: rgb(0, 0, 0);
}


/* project styling start */

.project-showcase {
  background-color: #161b21;
  padding: 4rem 1rem;
  text-align: center;
  color: #fff;
}

.project-head h2 {
  letter-spacing: 0.1em;
  font-weight: 900;
  font-size: 32px;
  margin: 0;
}

.project-head h1 {
  font-size: 45px;
  font-weight: 700;
  color: #00ffc8;
  margin-bottom: 3rem;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project-card {
  width: 350px;
  height: 250px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
  border-radius: 10px;
}

.project-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 20px;
}

.demo-btn {
  padding: 10px 20px;
  background-color: #00ffc8;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.demo-btn:hover {
  background-color: #00c3a5;
}


/* project styling end */


@media screen and (max-width: 768px) {
  .projects {
    flex-direction: column;
    align-items: center;
  }
}

.contact {
  padding: 4rem 1rem;
  background-color: #272b37;
  text-align: center;
  color: #00E0A1;
}

.contact-para h2 {
  font-size: 2rem;
  font-weight: 300;
  margin: 0;
}

.contact-para h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.input-row input {
  width: 100%;
  max-width: 320px;
  height: 3.5rem;
  padding: 0 1rem;
  background-color: #161b21;
  color: #fff;
  border: 2px solid #00E0A1;
  border-radius: 25px;
  transition: 0.3s;
  outline: none;
}

.input-row input:focus,
textarea:focus {
  box-shadow: 0 0 12px #00ffc8;
}

textarea {
  width: 90%;
  height: 180px;
  padding: 1rem;
  background-color: #161b21;
  color: #fff;
  border: 2px solid #00E0A1;
  border-radius: 25px;
  resize: none;
  margin-bottom: 1.5rem;
  outline: none;
}

.send-btn {
  padding: 0.8rem 2rem;
  background-color: #00ffc8;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.send-btn:hover {
  background-color: #00c3a5;
}

.contact-info {
  margin-top: 2rem;
  color: #fff;
}

.contact-info a {
  color: #00ffc8;
  text-decoration: none;
}

      

      .footer {
        background-color: #161b21;
        color: #00E0A1;
        text-align: center;
        padding: 40px 20px;
      }
      
      .footer-content h2 {
        font-size: 30px;
        margin-bottom: 10px;
      }
      
      .footer-content p {
        font-size: 16px;
        margin-bottom: 20px;
      }
      
      .social-icons a {
        color: #00E0A1;
        font-size: 24px;
        margin: 0 10px;
        transition: 0.3s;
      }
      
      .social-icons a:hover {
        color: white;
      }
      
      .footer-bottom {
        margin-top: 20px;
        font-size: 14px;
        opacity: 0.8;
      }
      


      .string{

        position: absolute;
  top: 57rem;
  left: 26rem;
    }
    path {
        pointer-events: all;
    }
    .string path {
      stroke: #FFFFFF; /* Pure White */
      stroke-width: 5px; /* Thicker for visibility */
      filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.8)); /* Glow effect */
  }



  
.cursors {
  height: 50px;
  width: 50px;
  background-color: #fff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  stroke: #FFFFFF;
  filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.8));
  opacity: 0.4;
}



/* 
skill section if you want to add another thisgs ok */













/* 
.skills-section {
  background-color: #161b21;
  color: #ffffff;
  padding: 4rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: flex-start;
}

.check {
  width: 40%; 
  min-width: 250px; 
}

.skills-heading {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #00b08a;
}

.skill {
  margin-bottom: 1rem;
}

.skill p {
  margin: 0;
  font-size: 1rem;
}

.progress-bar {
  background-color: #272b37;
  border-radius: 15px;
  height: 15px;
  overflow: hidden;
  position: relative;
  margin-top: 0.3rem;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #00b08a, #22ffea);
  border-radius: 15px;
  animation: loading 2s ease-out;
}

@keyframes loading {
  from {
      width: 0%;
  }
  to {
      width: 100%;
  }
}


@media (max-width: 768px) {
  .skills-section {
      flex-direction: column;
      align-items: center;
  }

  .check {
      width: 80%; 
  }
} */











/* 2nd skill section */


.skills-section {
  background-color: #1a1f2d;
  color: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-width: 550px;
  margin: 0rem auto;
  font-family: Arial, sans-serif;
}

.skills-heading {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 2.5rem;
  color: #00d4a9;
  font-weight: bold;
  border-bottom: 2px solid #00d4a9;
  padding-bottom: 0.5rem;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2b3145;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s;
}

.skill-item:hover {
  transform: translateY(-4px);
  background-color: #343b52;
}

.skill-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: #00b08a;
}

.skill-level {
  font-weight: 400;
  font-size: 1rem;
  color: #b3b6c3;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #ffffff;
  color: #000;
  padding: 2rem;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #f00;
}

#skill-title {
  margin-bottom: 1rem;
  color: #00b08a;
}

#skill-description {
  color: #333;
}


.skill-show{
  background-color: #1a1f2d;
}



/* Default (Light Mode) */
/* body {
  background: #ffffff;
  color: #000;
  transition: background 0.3s ease, color 0.3s ease;
} */

/* Dark Mode */
/* body.dark-mode {
  background: #121212;
  color: #ffffff;
}

/* Example: styling for sections in dark mode */
.dark-mode .card,
.dark-mode header,
.dark-mode footer {
  background: #1e1e1e;
  color: #fff;
} */

/* Toggle button styling */
/* #theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 12px 18px;
  background: #000;
  color: #fff;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  z-index: 9999;
}

body.dark-mode #theme-toggle {
  background: #fff;
  color: #000;
} */








::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #191c24;
}
::-webkit-scrollbar-thumb {
  background: rgb(21, 255, 0);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(46, 16, 16);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: rgb(0, 212, 169) #191c24;
  scroll-behavior: smooth;
}




