*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'poppins' , sans-serif;
}
body
{
    color:#ededed ;
    background: #0a2a43;
}
.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: 20px;
    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: #0ef;
    border-bottom: 2px solid #0ef;
}
.home
{
    position: relative;
    width: 100%;
    justify-content: space-between;
    height: 100vh;
    background: url(./image/kajal.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 70px 10% 0;
}
.home-content
{
    max-width: 600px;
}
.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: #0ef;
}
.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 #0ef;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 600;
    color: #0ef;
    text-decoration: none;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
    margin: 30px 15px 30px 0;


}
.home-sci a:hover
{
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef ,
                0 0 40px #0ef,
                0 0 60px #0ef;
}
.btn-box
{
    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;
}
.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 Section */

.about
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;
}
.about-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 200px;
}
.about-img img
{
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid #0ef;
    box-shadow: 0 0 20px #0ef,
                0 0 40px #0ef,
                0 0 60px #0ef;
    transition: 0.3s ease;
    animation: glow 2s infinite;

}
.about-text h2
{
    font-size: 60px;
    margin-right:50px ;
    

}
.about-text h2 span
{
    color: #0ef;
}
.about-text h4
{
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    line-height: 1.7;
    margin: 15px 0;
}
.about-text p
{
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;

}

/* service Section */


#services
{
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;

}
.sub-title
{
    text-align: center;
    font-size: 60px;
    padding-bottom:70px ;
}
.sub-title span
{
    color: #0ef;
}
.container
{
    padding: 40px 60px;
}
.services-list
{
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
    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;
    opacity: 1;
}
.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);
    box-shadow: 0 0 30px #00e5ff88;
    
}

/* Skill Section  */


.title
{
    text-align: center;
    font-size: 60px;
    padding-bottom:70px ;
}
.title span
{
    color: #0ef; 
}
.skills-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 50px;
  color: white;
}

/* Technical Skills */
.skill-container {
  width: 45%;
}

.heading1 {
  font-size: 24px;
  margin-bottom: 30px;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.technical-bars .bar {
  margin: 20px 0;
}

.technical-bars .bar .info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 16px;
}
 .progress-line
  {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 5px;
    background-color: #000;
    animation: animate 1s 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    transform: scaleX(0);
    transform-origin: left;
  }
  @keyframes animate
  {
    100%
    {
      transform: scaleX(1);
    }
  }
   .progress-line span
  {
    height: 100%;
    background-color: #0ef;
    position: absolute;
    border-radius: 10px;
    animation: animate 1s 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    transform:scaleX(0);
    transform-origin:left ;
  }


/* Progress Widths */
.progress-line.html span { width: 90%; }
.progress-line.css span { width: 70%; }
.progress-line.javascript span { width: 85%; }
.progress-line.bootstrap span { width: 90%; }
.progress-line.react span { width: 75%; }
.progress-line.mongo span { width: 80%; }
.progress-line.python span { width: 60%; }

.progress-line span::after {
  content: '';
  position: absolute;
  top: -25px;
  right: 0;
  padding: 2px 6px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  opacity: 0;
  animation: showText 0.5s 1s linear forwards;
}

@keyframes showText {
  100% {
    opacity: 1;
  }
}
.progress-line.html span::after { content: "90%"; }
.progress-line.css span::after { content: "70%"; }
.progress-line.javascript span::after { content: "85%"; }
.progress-line.bootstrap span::after { content: "90%"; }
.progress-line.react span::after { content: "75%"; }
.progress-line.mongo span::after { content: "80%"; }
.progress-line.python span::after { content: "60%"; }

.progress-line span::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 5px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #000;
  animation: showText 0.5s 1s linear forwards;
  opacity: 0;
}


/* Professional Skills */
.radial-bars {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.radial-bar {
  position: relative;
  width: 48%;
  height: 180px;
  padding-bottom: 20px;
}

.radial-bar svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-bar {
  stroke: #000;
  stroke-width: 10;
  fill: none;
}

.path {
  stroke: #0ef;
  stroke-width: 10;
  fill: none;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  stroke-linecap: round;
}

.path1 { animation: animate-path1 1s forwards; }
.path2 { animation: animate-path2 1s forwards; }
.path3 { animation: animate-path3 1s forwards; }
.path4 { animation: animate-path4 1s forwards; }

@keyframes animate-path1 { to { stroke-dashoffset: 50; } }
@keyframes animate-path2 { to { stroke-dashoffset: 175; } }
@keyframes animate-path3 { to { stroke-dashoffset: 125; } }
@keyframes animate-path4 { to { stroke-dashoffset: 75; } }

.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 16px;
  font-weight: bold;
}

.radial-bars.text {
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  font-size: 16px;
}

       

/* Education Section  */


.education-section {
  padding: 60px 20px;
  background: #0a2a43;
  color: #ededed;
}
.education-flip-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.education-section .flip-card {
  background: transparent;
  width: 280px;
  height: 360px;
  perspective: 1000px;
}

.education-section .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.education-section .flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.education-section .flip-front,
.education-section .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 171, 240, 0.7), 0 10px 30px rgba(0, 171, 240, 0.5);
}

.education-section .flip-front {
  background: #0f2c45;
}

.education-section .flip-back {
  background: #00abf0;
  color: #081b29;
  transform: rotateY(180deg);
}

.education-section .flip-front h3 {
  font-size: 22px;
  color: #00abf0;
}

.education-section .flip-front p,
.education-section .flip-back p {
  font-size: 15px;
  margin-top: 8px;
  line-height: 1.4;
}

.education-section .flip-back h4 {
  font-size: 20px;
  margin-bottom: 10px;
}


/* Project section */



.main-text
{
    padding-top:130px ;
    margin-top: 50px;
}
.main-text h2
{
    font-size: 60px;
    line-height: 1;
    text-align: center;
    margin-bottom: 30px;
}
.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: 500px;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
}
.layer
{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.1),#0ef);
    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 h5
{
    color: #000;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}
.layer p
{
    color: #000;
    font-size: 1rem;
    line-height: 1.8;
}
.layer i 
{
    color: #ff004f;
    margin-top: 20px;
    font-size: 20px;
    background: #fff;
    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 section */


.contact
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
    padding-left: 30px;
    margin-top: 130px;
}
.contact-text h2
{
    font-size: 90px;
    line-height: 1;
    text-align: center;
}
.contact-text h2 span
{
    color: #0ef;
}
.contact-text h4
{
    margin: 15px 0;
    color: rgb(228,228,228);
    font-size:20px;
    font-weight:600;
}
.contact-text p
{
    color: rgb(177,177,177);
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 2rem;
}
.contact-list
{
    margin-bottom: 3rem;
}
.contact-list li
{
    margin-top: 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-form form
{
    position: relative;
}
.contact-form form input,form textarea
{   
    border: none;
    outline: none;
    width: 90%;
    padding: 18px;
    background: #555557;
    color: #000;
    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: #0ef;
    border-radius: 40px;
    font-size: 18px;
    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;
    opacity: 1;
}
.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;
} 
.top
{
    position: fixed;
    bottom: 2.1rem;
    right: 2.1rem;
}
.top i
{
    color: #000;
    background: #0ef;
    font-size: 20px;
    padding: 10px;
    border-radius: 0.5rem;
}


/* footer */

.footer {
  background: rgb(7,85,91);
  padding: 40px 0;
  text-align: center;
  color: white;
  border-top: 2px solid #0ef;
  margin-top: 60px;
}

.footer-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-content span {
  color: #0ef;
  font-weight: bold;
}

/* Neon Circle Icon Style */
.footer-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #0ef;
  border-radius: 50%;
  font-size: 26px;
  color: #0ef;
  transition: 0.4s ease;
  position: relative;
  background: transparent;
  z-index: 1;
  text-decoration: none;
}

.footer-icons a:hover {
  background: #0ef;
  color: #000;
  box-shadow: 0 0 15px #0ef, 0 0 40px #0ef;
  transform: scale(1.1);
}



 




@keyframes slideRight
{
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideLeft
{
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop
{
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom
{
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 20px #0ef,
                    0 0 40px #0ef,
                    0 0 60px #0ef;
    }
    50% {
        box-shadow: 0 0 30px #0ff,
                    0 0 60px #0ff,
                    0 0 90px #0ff;
    }
    100% {
        box-shadow: 0 0 20px #0ef,
                    0 0 40px #0ef,
                    0 0 60px #0ef;
    }
}


