* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #081b29;
  color: #ededed;
}

/* ---- Container for Skills ---- */
.skills-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 100px;
}

.container1 {
  flex: 1;
  max-width: 600px;
  padding: 40px;
  background: transparent;
}

.heading1 {
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 3px;
  margin-bottom: 30px;
}

/* ---- Technical Skills ---- */
.bar {
  margin: 20px 0;
  width: 100%;
}

.bar .info {
  margin-bottom: 5px;
}

.bar .info span {
  font-size: 17px;
  font-weight: 500;
  color: white;
}

.progress-line {
  position: relative;
  width: 100%;
  height: 8px;
  background: #090909;
  border-radius: 10px;
  overflow: hidden;
}

.progress-line span {
  height: 100%;
  display: block;
  background: rgb(23, 230, 216);
  border-radius: 10px;
  width: 0;
  transition: width 1s ease-in-out;
}

/* Skill widths */
.progress-line.html span { width: 90%; }
.progress-line.css span { width: 99%; }
.progress-line.javascript span { width: 50%; }
.progress-line.react span { width: 75%; }
.progress-line.python span { width: 70%; }

/* Percentage labels */
.progress-line span::after {
  position: absolute;
  padding: 1px 8px;
  background: #000;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  top: -28px;
  right: -20px;
}

.progress-line.html span::after { content: "90%"; }
.progress-line.css span::after { content: "99%"; }
.progress-line.javascript span::after { content: "50%"; }
.progress-line.react span::after { content: "75%"; }
.progress-line.python span::after { content: "70%"; }

/* ---- Radial Bars ---- */
.radial-bars {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.radial-bar {
  width: 45%;
  height: 170px;
  margin-bottom: 20px;
  position: relative;
}

.radial-bar svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 120px;
  height: 160px;
}

.progress-bar {
  stroke-width: 10;
  stroke: #000;
  fill: transparent;
  stroke-dasharray: 502;
  stroke-dashoffset: 0;
}

.path {
  stroke-width: 10;
  stroke: #0ef;
  fill: transparent;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  stroke-linecap: round;
}

/* Animate based on percentage */
.path-1 { animation: animate-path1 1s forwards; }
.path-2 { animation: animate-path2 1s forwards; }
.path-3 { animation: animate-path3 1s forwards; }
.path-4 { animation: animate-path4 1s forwards; }
.path-5 { animation: animate-path5 1s forwards; }
.path-6 { animation: animate-path6 1s forwards; }

@keyframes animate-path1 { 100% { stroke-dashoffset: 50; } }   /* 90% */
@keyframes animate-path2 { 100% { stroke-dashoffset: 75; } }   /* 85% */
@keyframes animate-path3 { 100% { stroke-dashoffset: 25; } }   /* 95% */
@keyframes animate-path4 { 100% { stroke-dashoffset: 50; } }   /* 90% */
@keyframes animate-path5 { 100% { stroke-dashoffset: 60; } }   /* 88% */
@keyframes animate-path6 { 100% { stroke-dashoffset: 60; } }   /* 88% */

.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  font-weight: 600;
}

.text {
  width: 100%;
  position: absolute;
  text-align: center;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 500;
}
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;400;500;600;700&display=swap");
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'poppins' , sans-serif;
}
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -10; 
}
body{
    color: #ededed;
    background: #081b29;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #051129;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo{
    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}
.navbar a {
    display: inline-block;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}.navbar a:hover{
    color: rgb(0, 255, 221);
}
.home{
    display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-content{
    /* font-size: 32px; */
    /* font-weight: 700; */
    max-width: 800px;
    order: 1; /* This keeps the content on the left */
    flex: 1;
}
.home-content h3{
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}
.home-content h3:nth-of-type(2){
    margin-bottom:  30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}
.home-content h3 span{
    color: rgb(255, 0, 217)
}
.home-content h1{
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}
.home-content p{
    font-size: 20px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}
.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid rgb(255, 102, 0);
    border-radius: 50%;
    font-size: 20px;
    color: rgb(19, 5, 210);
    text-decoration: none;
    transition: .5s ease;
    margin: 30px 15px 30px 0;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}
.home-sci a:hover{
    background: rgb(0, 247, 255);
    color: #091823;
    box-shadow:0 0 20 rgb(0, 147, 122);
}
.home-img {
    order: 2; /* This moves the image to the right */
    flex: 1; /* Makes sure the image takes up some space */
  }
.home-img img{
    /* padding-bottom: 10%;
    max-width: 630px;
    height: auto;
    width: 100%;
    border-radius:8px;
    display: flex;
    justify-content: flex-end; */
    max-width: 800px; /* Ensures the image fits within its container */
    height: 800px;
}
.btn-box{
    display: inline-block;
    padding: 12px 28px;
    background: rgb(0, 200, 255);
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px rgb(0, 255, 213),
    0 0 25px #0ef;
}
.btn-box:hover{
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,0 0 50px cyan,
    0 0 100px cyan,0 0 200px cyan
}
.about{
   display: grid;
   grid-template-columns: repeat(2,1fr);
   align-items: center;
   gap: 1.5rem;
}
.about-img img{
    padding-bottom: 20%;
    max-width: 630px;
    height: auto;
    width: 100%;
    border-radius:8px;
}
.about-text h2{
    font-size: 60px;
}
.about-text h2 span{
    color: #0ef;
}
.about-text h4{
    font-size: 29px;
    font-weight: 600;
    color: #fff;
    line-height: 1.7;
    margin:15px 0 30px;
}
.about-text p{
    color: aliceblue;
    font-size: 20px;
    line-height:1.4;
    margin-bottom:4rem;
}
#services{
    color: aliceblue;
    font-size: 20px;
    padding-bottom: 70px;
}
.sub-title span{
    color: #0ef;
}
.container{
    padding: 90px;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(259px,1fr));
    grid-gap:40px;
    margin-top: 50px;
}
.services-list div{
    background-color: transparent;
    padding: 40px;
    font-size: 13px;
    font-weight: 13px;
    border-right: 10px;
    border-radius: 20px;
    transition: background 0.5s, transform 0.5s;
    box-shadow: 1px 1px 20px #012290f7,
               1px 1px 40px #0053b8f7;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: #000000;
    font-size:12px;
    margin-top: 20px;
    display: inline-block;
}
.read{
   display: inline-block;
   padding: 12px 28px;
   background: #0ef;
   border-radius: 40px;
   font-size: 16px;
   color: #081b29;
   letter-spacing: 1px;
   text-decoration: none;
   font-weight: 600;
   opacity: 0;
   animation: slideTop 1s ease forwards;
   animation-delay: 2s;
   box-shadow: 0 0 5px #0ef,
   0 0 25px #0ef;
}
.read:hover{
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,0 0 50px cyan,
    0 0 100px cyan,0 0 200px cyan
}
.services-list div:hover{
    transform:translateY(-10px);
}
.section{
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
}
.container1{
    width: 600px;
    height: 500px;
    padding: 75px 90px;
    margin-left: 120px;
    /* margin-right: 20px;
    flex: 1; */
    
}
.heading1{
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 5px;
    margin-bottom: 50px;
}
.bar{
    font-size: 23px;
}
.Technical-bars .bar {
    margin: 20px 0;
    width: 100%;
}

.Technical-bars .bar .info {
    margin-bottom: 5px;
}

.Technical-bars .bar .info span {
    font-size: 17px;
    font-weight: 500;
    color: white;
}

.Technical-bars .bar .progress-line {
    position: relative;
    width: 100%;
    height: 8px; /* Adjust height for better visibility */
    background-color: #090909; /* Background for the empty bar */
    border-radius: 10px;
    overflow: hidden;
}

.Technical-bars .bar .progress-line span {
    height: 100%;
    display: block;
    background-color: rgb(23, 230, 216); /* Filled bar color */
    border-radius: 10px;
    width: 0; /* Initially hidden (0 width) */
    transition: width 1s ease-in-out; /* Smooth transition to final width */
}

/* Progress bar fill percentages */
.progress-line.html span {
    width: 90%; /* HTML skill level 90% */
}

.progress-line.css span {
    width: 99%; /* CSS skill level 85% */
}

.progress-line.javascript span {
    width: 50%; /* JavaScript skill level 80% */
}

.progress-line.react span {
    width: 75%; /* React skill level 75% */
}

.progress-line.python span {
    width: 70%; /* Python skill level 70% */
}
.progress-line span::after{
    position: absolute;
    padding: 1px 8px;
    background-color: #000000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: -20px;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
} 
.progress-line.html span::after{
    content: 90%;
}
.progress-line.css span::after{
    content: 90%;
}
.progress-line.javascript span::after{
    content: 90%;
}
.progress-line.react span::after{
    content: 90%;
}
.progress-line.python span::after{
    content: 90%;
}
.progress-line span::before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: #000000;
    top: -10px;
    right: 0;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}
@keyframes showText {
    100%{
        opacity: 1;
    }
}
.radial-bars{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-end;
}
.radial-bars .radial-bar{
    width: 50%;
    height: 170px;
    margin-bottom: 10px;
    position: relative;
}
.radial-bars .radial-bar svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(-90deg);
    width: 120px;
    height: 160px;
}
.radial-bars .radial-bar .progress-bar{
    stroke-width: 10;
    stop-color: #000000;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-linecap: round;
    animation: animate-bar 1s linear forwards;
}
@keyframes animate-bar {
    100%{
        stroke-dashoffset: -1;
    }
}
.path{
    stroke-width: 10;
    stroke: #0ef;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
}
.path-1{animation: animate-path1 1s 1s linear forwards;}
.path-2{animation: animate-path2 1s 1s linear forwards;}
.path-3{animation: animate-path3 1s 1s linear forwards;}
.path-4{animation: animate-path4 1s 1s linear forwards;}
@keyframes animate-path1 {
    100%{
        stroke-dashoffset: 50;
    }
    
}
@keyframes animate-path2 {
    100%{
        stroke-dashoffset: 175;
    }
    
}
@keyframes animate-path3 {
    100%{
        stroke-dashoffset: 125;
    }
    
}
@keyframes animate-path4 {
    100%{
        stroke-dashoffset: 75;
    }
    
}
.radial-bar .percentage{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}
.radial-bar .text{
    width: 100%;
    position: absolute;
    text-align: center;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50px);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;

}
#Skills .Technical-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-text{
    padding-top: 130px;
    margin-top: 200px;
}
.main-text h2{
font-size: 60px;
line-height: 1;
text-align: center;
padding-bottom:3%;
}
.main-text h2 span{
    color: #0ef;
}
.portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(359px,auto));
}
.row{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}
.row img{
    /* width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
    display: grid;
    /* display: inline-grid; */
    border-radius: 25px;
}
.layer{
    width: 100%;
    height: 0;
    background:linear-gradient(rgba(0,0,0,0.1),rgb(1, 244, 240));
    position: absolute;
    border-radius: 8px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    transition: height 0.5s;
}
.layer h2{
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}
.layer p{
    color: #dc6f2bc3;
    font-size: 1rem;
    line-height: 1.8;
}
.layer i{
    color: deeppink;
    margin-top: 20px;
    font-size: 20px;
    background: #dc6f2bc3;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.row:hover{
    transform: scale(1.1);
}
.row:hover .layer{
    height: 100%;
}
.contact{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 3rem;
    padding-left: 30px;
    margin-top: 130px;
    padding-top: 10%;
}
.contact-text h2{
    font-size: 70px;
    line-height: 1;
    text-align: center;
    padding-top: 3%;
}
.contact-text h2 span{
    color: #0ef;
}
.contact-text h4{
    margin: 15px 0;
    color: #ededed;
    font-size: 20px;
    font-weight: 600;
}
.contact-text p{
    color: #ededed;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 2rem;
}
.contact-list{
    margin-bottom: 3rem;
}
.contact-list li{
    margin-bottom: 10px;
    display: block;
}
.contact-list li{
    margin-bottom: 10px;
    display: block;
}
.contact-list i{
    display: inline-block;
    color: #0ef;
    font-size: 20px;
    font-weight: 600;
    transition: all .40s ease;
}
.contact-list li a:hover{
    transform: scale(1.01) translateY(-5px);
    color: #0ef;
}
.contact-icons i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}
.contact-icons i:hover{
    background: #0ef;
    color: #000000;
    box-shadow: 0 0 20px #0ef;
}
.contact-form form{
    position: relative;
}
.contact-form form input,form textarea{
    border: none;
    outline: none;
    width:50%;
    padding: 18px;
    background: #555557;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}
.contact-form textarea{
    resize: none;
    height: 220px;
}
.contact-form form .send{
    display: inline-block;
    padding: 14px 60px;
    background: aqua;
    border-radius: 40px;
    font-size: 10px;
    color: #081b29;
    letter-spacing: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: o o 5px #0ef,
    0 0 25px #0ef;
}
.contact-form form .send:hover{
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,0 0 50px cyan,
    0 0 100px cyan,0 0 200px cyan
}
.last-text{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: rgb(7, 85, 91); 
    font-weight: 300;
    margin-top :70px;
}
.top{
    position: fixed;
    bottom: 2.1rem;
    right: 2.1rem;
}
.top i{
    color: #000000;
    background: #0ef;
    font-size: 20px;
    padding: 10px;
    border-radius: 0.5rem;
}




@keyframes slideRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}
@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}
@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}
.colored-letter {
    color: red;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #081b29;
  color: #ededed;
}

/* ---- Container for Skills ---- */
.skills-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 100px;
}

.container1 {
  flex: 1;
  max-width: 600px;
  padding: 40px;
  background: transparent;
}

.heading1 {
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 3px;
  margin-bottom: 30px;
}

/* ---- Technical Skills ---- */
.bar {
  margin: 20px 0;
  width: 100%;
}

.bar .info {
  margin-bottom: 5px;
}

.bar .info span {
  font-size: 17px;
  font-weight: 500;
  color: white;
}

.progress-line {
  position: relative;
  width: 100%;
  height: 8px;
  background: #090909;
  border-radius: 10px;
  overflow: hidden;
}

.progress-line span {
  height: 100%;
  display: block;
  background: rgb(23, 230, 216);
  border-radius: 10px;
  width: 0;
  transition: width 1s ease-in-out;
}

/* Skill widths */
.progress-line.html span { width: 90%; }
.progress-line.css span { width: 99%; }
.progress-line.javascript span { width: 50%; }
.progress-line.react span { width: 75%; }
.progress-line.python span { width: 70%; }

/* Percentage labels */
.progress-line span::after {
  position: absolute;
  padding: 1px 8px;
  background: #000;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  top: -28px;
  right: -20px;
}

.progress-line.html span::after { content: "90%"; }
.progress-line.css span::after { content: "99%"; }
.progress-line.javascript span::after { content: "50%"; }
.progress-line.react span::after { content: "75%"; }
.progress-line.python span::after { content: "70%"; }


.radial-bars {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.radial-bar {
  width: 45%;
  height: 170px;
  margin-bottom: 20px;
  position: relative;
}

.radial-bar svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 120px;
  height: 160px;
}

.progress-bar {
  stroke-width: 10;
  stroke: #000;
  fill: transparent;
  stroke-dasharray: 502;
  stroke-dashoffset: 0;
}

.path {
  stroke-width: 10;
  stroke: #0ef;
  fill: transparent;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  stroke-linecap: round;
}

/* Animate based on percentage */
.path-1 { animation: animate-path1 1s forwards; }
.path-2 { animation: animate-path2 1s forwards; }
.path-3 { animation: animate-path3 1s forwards; }
.path-4 { animation: animate-path4 1s forwards; }
.path-5 { animation: animate-path5 1s forwards; }
.path-6 { animation: animate-path6 1s forwards; }

@keyframes animate-path1 { 100% { stroke-dashoffset: 50; } }   /* 90% */
@keyframes animate-path2 { 100% { stroke-dashoffset: 75; } }   /* 85% */
@keyframes animate-path3 { 100% { stroke-dashoffset: 25; } }   /* 95% */
@keyframes animate-path4 { 100% { stroke-dashoffset: 50; } }   /* 90% */
@keyframes animate-path5 { 100% { stroke-dashoffset: 60; } }   /* 88% */
@keyframes animate-path6 { 100% { stroke-dashoffset: 60; } }   /* 88% */

.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  font-weight: 600;
}

.text {
  width: 100%;
  position: absolute;
  text-align: center;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 500;
}
