* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
    scroll-behavior: smooth;
}

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

.header1 {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 10%;
    background: rgba(5, 17, 41, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 238, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    /* border: 1px solid white; */
    transition: all 0.3s ease;
}

.header1:hover {
    box-shadow: 0 2px 15px rgba(0, 238, 255, 0.2);
}

.logo1 {
    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    /* opacity: 0; */
    /* border: 1px solid; */
    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: 0.3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
    position: relative;
    overflow: hidden;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0ef;
    transition: 0.3s ease;
    transform: translateX(-50%);
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    color: #0ef;
    font-size: 28px;
    font-weight: bold;
}

.home {
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: space-between;
    height: 100vh;
    background: url(images/background.png) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 70px 10% 0;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(8, 27, 41, 0.9), rgba(0, 238, 255, 0.1));
    z-index: 1;
}

.home-content {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.1);
    transition: transform 0.3s ease;
    max-width: 600px;
}

.home-content:hover {
    transform: translateY(-5px);
}

@media screen and (max-width: 768px) {
    .home {
        flex-direction: column-reverse;
        padding: 100px 3% 0;
        background-position: right;
        background-size: contain;
        background-position: top center;
        padding-top: 60%;
    }

    .home-content {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        text-align: center;
        margin-top: auto;
        background: rgba(8, 27, 41, 0.85);
        padding: 20px;
        border-radius: 20px 20px 0 0;
    }

    .home-content h1 {
        font-size: 36px;
    }

    .home-content h3 {
        font-size: 24px;
    }

    .home-content p {
        font-size: 16px;
    }

    .home-sci {
        justify-content: center;
    }

    .btn-box {
        margin: 20px auto;
    }

    /* Fix for background image */
    .home::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(8, 27, 41, 0.7);
        z-index: 1;
    }
}

@media screen and (max-width: 480px) {
    .home {
        padding-top: 70%;
    }

    .home-content h1 {
        font-size: 28px;
    }

    .home-content h3 {
        font-size: 20px;
    }
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: 0.7s;
}

.home-content h3 span {
    color: cyan;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 30;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

.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;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: 0.5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.home-sci a:hover {
    background-color: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef;
}

.btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 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{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    /* justify-content: center; */
    align-items: center;
    /* flex-direction: column; */
    gap: 1.5rem;
    /* padding-bottom: 6rem; */
}
.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: white;
    line-height: 1.7;
    margin: 15px 0px 30px;
}

.about-text p{
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
    padding-right: 8px;
}

.container
{
    padding: 90px;
}

#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;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    margin-top: 50px;
    padding: 20px;
}

@media screen and (max-width: 768px) {
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 40px 20px;
    }
}

.services-list div{
    background-color: transparent;
    padding: 40px;
    font-size: 13px;
    border-right: 10px;
    border-radius: 20px;
    transition: background 0.5s, transform .5s;
    box-shadow: 1px 1px 20px #012290f7, 1px 1px 40px #0053b8f7;   
}
.services-list div:hover{
    transform: translateY(-25px);
}
.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: black;
    font-size: 12px;
    margin-top: 12px;
    display: inline-block;
}
.read
{
    display: inline-block;
    background: #0ef;
    padding: 12px 28px;
    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
{
    background-color: #0ef;
    color: #081b29;
    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;
}

section{
    display: flex;
    flex-wrap: wrap;
}

@keyframes showText
{
    100%{
        opacity: 1;
    }
}
.radial-bars
{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 10px;
}

.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: black;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
    animation: animate-bar 1s linear forwards;
}

@keyframes animate-bars
{
    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;
    }
}

section{
    display: flex;
    flex-wrap: wrap;

}



@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideLeft {
    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;
    }
}


.container1{
    width: 600px;
    height: 500px;
    padding: 75px 90px;
    margin-left: 120px;
}

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

.Technical-bars .bar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 40px;
}

.Technical-bars .bar .info {
    flex: 1;
    display: flex;
    align-items: center;
}

.Technical-bars .bar .info span {
    margin-left: 10px;
    font-size: 20px;
}

.Technical-bars .bar .progess-line {
    position: relative;
    width: 80%;
    height: 10px;
    background: rgba(221, 221, 221, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-left: 20px;
}

.Technical-bars .bar .progess-line span {
    display: block;
    height: 100%;
    background: #00eeff;
    width: 0;
    animation: loadProgress 2s forwards;
    position: relative;
    transition: width 1.5s cubic-bezier(0.1, 0.42, 0.85, 1);
}

.Technical-bars .bar .progess-line span::before {
    content: '';
    position: absolute;
    right: 0;
    top: -6px;
    height: 12px;
    width: 12px;
    background: #0ef;
    border-radius: 50%;
    box-shadow: 0 0 10px #0ef;
}

.Technical-bars .bar .progess-line.html span {
    background: #c95d2e;
}

.Technical-bars .bar .progess-line.css span {
    background: #147bbc;
}

.Technical-bars .bar .progess-line.javascript span {
    background: #b0bc1e;
}

.Technical-bars .bar .progess-line.react span {
    background: #69bcbc;
}

.Technical-bars .bar .progess-line.cplus span {
    background: rgba(0, 0, 255, 0.551);
}

@keyframes loadProgress {
    from { width: 0; }
    to { width: 80%;  }
}
.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 .about-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;
}

.main-text
{
    padding-top: 130px;
    margin-top: 150px;
}

.main-text h2{
    font-size: 60px;
    line-height: 1;
    text-align: center;
}
.main-text h2 span{
    color: #00eeff;
}

.portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(359px, auto));
    margin-top: 50px;
    margin-left: 100px;
}
.row{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 40px;
    margin-bottom: 150px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.row:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 238, 255, 0.3);
}

.row img{
    width: 100%;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
}
.layer
{
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(0, 238, 255, 0.9));
    backdrop-filter: blur(5px);
    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 20px;
    transition: height 0.5s;
}
.layer h5{
    color: #000;
    font-size: 20px;
    font-weight: bolder;
    margin-bottom: 15px;
    font-size: 21px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}
.layer p
{
    color: #000;
    font-size: 1rem;
    line-height: 1.8;
    font-size: 15px;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}
.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 img{
    transform: scale(1,1);
}
.row:hover .layer{
    height: 100%;
}
.row:hover .layer h5,
.row:hover .layer p {
    transform: translateY(0);
    opacity: 1;
}
.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: #00eeff;
}
.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-bottom: 10px;
    display: block;
}
.contact-list i{
    display: inline-block;
    color: #00eeff;
    font-size: 20px;
    font-weight: 600;
    transition: all .40s ease;
}
.contact-list li a:hover{
    transform: scale(1.01)translateY(-5px);
    color: #00eeff;
}
.contact-icons i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00eeff;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: 0.5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(0.2s * var(--i));
}
.contact-icons i:hover{
    background: #0ef;
    color: #000;
    box-shadow: 0 0 20px #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 form .send{
    display: inline-block;
    background: #0ef;
    padding: 14px 60px;
    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; 
}
.contact-form textarea
{
   resize: none;
   height: 220px;
}
.contact-form form .send:hover
{
    background-color: #0ef;
    color: #081b29;
    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;
}

.last-text p
{
    width: 100%;
    text-align: center;
    padding: 25 px 0;
    background: rgb(7,85,91);
    font-weight: 300;
    margin-top: 70px;
}
.top
{
    position: fixed;
    bottom: 2.1rem;
    right: 4.1rem;
}
.top i{
    color: #000;
    background: #0ef;
    font-size: 20px;
    padding: 10px;
    border-radius: 0.5rem;  
}

@media screen and (max-width: 768px) {
  .header1 {
    padding: 15px 5%;
  }
  
  .navbar {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #051129;
    padding: 10px 0;
    display: none;
  }
  
  .navbar.active {
    display: flex;
  }
  
  .navbar a {
    margin: 10px 0;
    text-align: center;
  }
  
  /* Add hamburger menu button */
  .menu-btn {
    display: block;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
  }
}

@media screen and (max-width: 768px) {
    .container1 {
        width: 100%;
        height: auto;
        padding: 30px 20px;
        margin-left: 0;
    }
    
    .Technical-bars .bar .progess-line {
        width: 60%;
    }
    
    .radial-bars {
        flex-direction: column;
        align-items: center;
    }
    
    .radial-bar {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .portfolio-content {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .row {
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .main-text h2 {
        font-size: 40px;
    }
}

@media screen and (max-width: 768px) {
    .contact {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 2rem;
    }
    
    .contact-text h2 {
        font-size: 40px;
    }
    
    .contact-form form input,
    .contact-form form textarea {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .home-content h1 {
        font-size: 36px;
    }
    
    .home-content h3 {
        font-size: 24px;
    }
    
    .home-content p {
        font-size: 16px;
    }
    
    .about-text h2 {
        font-size: 40px;
    }
    
    .about-text h4 {
        font-size: 22px;
    }
    
    .about-text p {
        font-size: 16px;
    }
}

.contact-form form input,
.contact-form form textarea {
    background: rgba(85, 85, 87, 0.1);
    border: 1px solid rgba(0, 238, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-form form input:focus,
.contact-form form textarea:focus {
    background: rgba(85, 85, 87, 0.2);
    border-color: #0ef;
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.2);
}

.contact-form .send {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form .send::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.contact-form .send:hover::before {
    left: 100%;
}

.top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.top.active {
    opacity: 1;
    visibility: visible;
}

.top i {
    background: linear-gradient(45deg, #0ef, #00b3ff);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.5);
    transition: all 0.3s ease;
}

.top:hover i {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.8);
}


