*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: poppins, sans-serif;
    scroll-behavior: smooth;
}

body
{
    color: #fff;
    background: #081b29;
}

.header
{
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    padding: 10px 10%;
    background-color: #4b4b4b5b;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo
{   
    position: relative;
    font-size: 30px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    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: 0.3s;
    opacity: 0;
    animation: slideBottom 0.5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover
{
    color: #0ef;
}

.home
{
    position: relative;
    width: 100%;
    justify-content: space-between;
    height:110vh;
    background: url(assets/2.png);
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 70px 10% 10px;
}

.home-content
{
    max-width: 600px;
}

.home-content h3
{
    padding: 10px 0;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: 0.7s;
}

.home-content h3 span
{
    color: #0ef;
}

.home-content h1
{
    padding: 10px 0;
    font-size: 56px;
    color: #fff;
    margin: -3px 0;
    font-weight: 700;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p
{
    padding: 30px 0 0px;
    font-size: 20px;
    color: #fff;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.home-social a
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    color: #0ef;
    font-size: 30px;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: 0.3s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.home-social a:hover
{
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #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;
    transition: 0.3s ease;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 1.5s;
    box-shadow: 0 0 5px #0ef,
                0 0 25px #0ef;
}

.btn-box:hover
{   
    box-shadow: 0 0 5px #0ef,
                0 0 25px #0ef,
                0 0 50px #0ef,
                0 0 100px #0ef;
}

.about
{   
    /* display: flex;
    padding: 70px 10% 0;
    align-items: center;
    gap: 1.5rem;
    margin-top: 10%; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;
}

.about-img img
{
    /* padding-right: 150px; */
    padding-bottom: 10%;
    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
{
    text-align: justify;
    font-size: 20px;
    color: aliceblue;
    /* width: 600px; */
    line-height: 1.4;
    margin-bottom: 3rem;
    margin-right: 20%; 
}

.services
{
    /* margin: 0 5%; */
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 2rem; 
}

.sub
{
    text-align: center;
    font-size: 60px;
    padding-top: 60px;
    padding-bottom: 20px;
}

.sub span
{
    color: #0ef;
}

.container
{
    padding: 80px 10% 7% 10%;
    margin: 0;

}

.services-list
{
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 50px;
    margin-top: 50px;
}

.services-list div
{
 
    background-color: transparent;
    padding: 30px;
    font-size: 13px;
    font-weight: 13px;
    border-radius: 20px;
    transition: background 0.5s, transform 0.5s;
    box-shadow: 1px 1px 15px #012290f7,
                1px 1px 30px #0053b8f7;
}

.services-list div i
{
    font-size: 50px;
    margin-bottom: 20px;
}

.services-list div h2
{
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 15px;
}

.sewrvices-list div a
{
    text-decoration: none;
    color: black;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.services-list div p
{
    padding-bottom: 20px;
    text-align: justify;
}

.learnbutton
{
    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;
    transition: 0.3s ease;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 1.5s;
    box-shadow: 0 0 5px #0ef,
                0 0 25px #0ef;
}

.learnbutton:hover
{   
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 5px #0ef,
                0 0 25px #0ef,
                0 0 50px #0ef,
                0 0 100px #0ef;
}

.services-list div:hover
{
    transform: translateY(-10px);

}

.margin
{
    display: flex;
    flex-wrap: wrap;
    margin-right: 0%;
    right: 0%;
}

.container1
{
    width: 600px;
    height: 700px;
    padding: 75px 90px;
    margin-left: 120px;
}

.heading1
{
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 5px;
    margin-bottom: 50px;
}

.bar
{   
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 40px;
    gap: 6px;
}

.Technical-bars .bar
{
    margin-top: 40px 0;
    padding: 10px 0;
}

.Technical-bars .bar:first-child
{
    margin-top: 0;
}

.Technical-bars .bar:last-child
{
    margin-bottom: 0;
}

.Technical-bars .bar .info
{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    margin-bottom: 0;
    min-width: 80px;
}



.Technical-bars .bar .info span
{
    padding-left: 0;
    margin-left: 0;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    animation: showText 0.1s 0.5s linear forwards;
    opacity: 0;
}

.Technical-bars .bar .progress
{
    flex-shrink: 0;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    margin-left: 24px;
    position: relative;
    border-radius: 10px;
    height: 8px;
    background-color: black;
    animation: animate 1s cubic-bezier(1,0,0,1) forwards;
    transform: scaleX(0);
    transform-origin: left;
    display: flex;
    align-items: center;
}

@keyframes animate
{
    100%
    {
        transform: scaleX(1);
    }
}

.Technical-bars .bar .progress span
{
    position: absolute;
    height: 100%;
    background-color: #0ef;
    border-radius: 10px;
    animation: animate 1s cubic-bezier(1,0,0,1) forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.progress.html span
{
    width: 90%;
}

.progress.css span
{
    width: 85%;
}

.progress.tailwind span
{
    width: 85%;
}

.progress.javascript span
{
    width: 80%;
}

.progress.react span
{
    width: 70%;
}

.progress.nodejs span
{
    width: 65%;
}

.progress span::after
{
    position: absolute;
    padding: 1px 8px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: -20px;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}



.progress.html span::after
{
    content: "90%";
}

.progress.css span::after
{
    content: "85%";
}

.progress.tailwind span::after
{
    content: "85%";
}

.progress.java span::after
{
    content: "80%";
}

.progress.javascript span::after 
{
    content: "80%";
}

.progress.react span::after
{
    content: "70%";
}

.progress.nodejs span::after 
{
    content: "65%";
}

.progress span::before
{
    content: "";
    position: absolute; 
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: #000;
    top: -10px;
    animation: showText 0.5s 1s linear forwards;
    opacity: 1;
}

.radial-bars
{
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.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-bar .radial-bar .progress-bar
{
    stroke-width: 10;
    stop-color: black;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
    animation: animate-bar 0.5s 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 0.5s 0.5s linear forwards;}
.path-2{animation: animate-path2 0.5s 0.5s linear forwards;}
.path-3{animation: animate-path3 0.5s 0.5s linear forwards;}
.path-4{animation: animate-path4 0.5s 0.5s linear forwards;}

.radial-bar .percentages
{
    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: 25%;
    color: azure;
    right: 25%;
    bottom: -5px;
    transform: translateX(-50px);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

@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;
    }
}


@keyframes showText
{
 100%
 {
    opacity: 1;
 }
}


@keyframes slideRight
{
    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 slideLeft
{
    0%
    {
        transform: translateX(100px);
        opacity: 0;
    }
    100%
    {
        transform: translateX(0);
        opacity: 1;
    }
}

.main-text
{
    margin-bottom: 100px;
    margin-left: 10%;
    margin-right: 10%;
    /* max-width: 3000px;
    width: 100%; */
}

.main-text h2
{
    padding-bottom: 60px;
    font-size: 60px;
    line-height: 1;
    text-align: center;
}

.main-text h2 span
{
    color: #0ef;
}

.portfolio-content
{
    /* display: flex;
    justify-content: space-between;

    padding-right: 30px; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 40px;
}

.row
{
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.row img 
{
    height: 250px;
    width: 100%;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
}

.layer
{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.8),#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
{
    margin-top: 20px;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.layer p
{
    color: #000;
    font-size: 1rem;
    text-align: center;
    line-break: 1.8;
}

.layer i
{
    color: #0ef;
    margin-top: 20px;
    font-size: 20px;
    background: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.row:hover img
{
    transform: scale(1.1);
}

.row:hover .layer
{
    height: 100%;
}

.contact
{
    margin-bottom: 100px;
    margin-left: 10%;
    margin-right: 10%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
    padding-left: 30px;
    margin-top: 200px;
}

.contact-text h2
{
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 60px;
    line-height: 1;
    text-align: start;
}

.contact-text h2 span
{
    color: #0ef;
}

.contact-text h4
{
    margin: 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.contact-text p
{
   color: #fff;
   font-size: 20px;
   line-height: 30px;
   margin-bottom: 2rem;
}

.contact-list
{
    margin-bottom: 1rem;
}

.contact-list li

{
    display: flex;
    align-items: center;
    /* margin-bottom: 10px; */
    /* display: block; */
    padding: 10px 0;
}

.contact-list i

{
    padding-right: 10px;
    display: inline-block;
    color: #0ef;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.contact-list i:hover
{
    transform: scale(1.01) translateY(-5px);
    color: #0ef;
}

.contact-icons i
{
    display: inline-block;
    justify-content: center;
    align-self: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 30px;
    color: #0ef;
    text-decoration: none;
    padding: 3px;
    margin: 30px 15px 30px 0;
    transition: 0.5 ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.contact-icons i:hover
{
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef;
}

.contact0-form form
{
    position: relative;
}

.contact-form  form input,form textarea
{
    border: none;
    outline: none;
    width: 90%;
    padding: 18px;
    background: rgba(128, 128, 128, 0.57);
    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
{
    max-width: 250px;
    display: inline-block;
    margin-left: 25%;
    padding: 14px 30px;
    background: #0ef;
    border-radius: 40px;
    font-size: 18px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 1.5s;
    box-shadow: 0 0 5px #0ef,
                0 0 25px #0ef;
}

.contact-form form .send:hover
{   
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 5px #0ef,
                0 0 25px #0ef,
                0 0 50px #0ef,
                0 0 100px #0ef;
}

.row.show-layer .layer {
    height: 100%;
}

.footer
{
    background: #4b4b4b5b;
    padding: 20px 10%;
    text-align: center;
    color: #fff;
    font-size: 20px;
    letter-spacing: 1.5px;
    margin-top: 50px;
}


/* Hide menu icon on desktop */
.menu-icon {
    display: none;

    font-size: 25px;
    color: #0ef;
    cursor: pointer;
    z-index: 200;
}

/* Mobile navbar styles */
@media (max-width: 500px) {
    .navbar {
        position: fixed;
        top: 0;
        right: -220px;
        width: 180px;
        height: 60vh;
        background: #081b29;
        box-shadow: 0 0 20px #0ef;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 0 0 0 20px;
        padding: 60px 20px 20px 20px;
        transition: right 0.3s;
        z-index: 150;
    }
    .navbar.active {
        right: 0;
    }
    .navbar a {
        margin: 20px 0;
        font-size: 1.2rem;
        opacity: 1;
        animation: none;
    }
    .menu-icon {
        display: block;
        position: absolute;
        top: 10px;
        right: 30px;
    }
        .header {
        padding: 10px 5%;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 300;
        background: #4b4b4b5b;
        backdrop-filter: blur(5px);
    }

}

/* Mobile (up to 500px) */
@media (max-width: 500px) {

    .home{
        /* margin-top: 10px; */
        padding: 30px 7% 0px;
        height: 90vh;
        background: none;
    }

    .hone p{
        padding: 3px;
    };

    .about-img img{
        height: ;
    }

    .main-text h2,
    .about-text h2,
    .sub {
        font-size: 2.5rem;
    }
    .main-text,
    .about,
    .contact,
    .services-list,
    .portfolio-content {
        margin-left: 2vw;
        margin-right: 2vw;
    }
    .about {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .main-text{
        margin-top: 60px;
    }


    .portfolio-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .row img {
        padding: 0px 30px;
        width: 100%;
        height: 220px; 
        gap: 20px;
    }
    .layer {
        padding: 0 30px !important; 
        width: 100%;
        /* height: 240px; */   
    }

    .contact {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding-left: 30px !important;
    }
    .contact-text h4 {
        margin-left: 0;
    }
    .footer {
        font-size: 1rem !important;
        padding: 20px 2vw !important;
    }
    .container1 {
        height: auto;
        width: 100% !important;
        padding: 20px 30px !important;
        margin-left: 0 !important;
        margin-bottom: 20px;
    }
    .home-content h1 {
        font-size: 3rem !important;
    }
    .home-content h3 {
        font-size: 1.4rem !important;
    }
    .about-text h4 {
        margin: 20px 30px 8px 30px;
        font-size: 1.5rem !important;
    }
    .about-text h2{
        font-size: 2.5rem !important;
        text-align: center;
    }
    .about-text p{
        font-size: 1rem !important;  
        margin: 0 40px 30px 30px;
    }

    .about-text a{
        display: flex;
        justify-content: center;
        margin: 0 20%;
    }
     .sub{
        font-size: 2.5rem !important;
        text-align: center;
        padding-top: 130px;
     }
    .services-list{
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    .bar{
        padding-left: 30px;
        padding-right: 30px;
    }

    .Technical-bars .bar .progress{
        width: 220px;
        max-width: 220px;
        min-width: 150px;
        margin-left: 0%;
        padding-left: 0%;
    }

    .contact-form form .send{
        width: 200px;
        margin: 10px 23% 10px;   
    }

    .contact-text p {
        font-size: 1rem !important;
        margin-bottom: 10px;
    }

    .contact-icons i{
        margin: 10px 5px 20px 5px;

    }
}

/* Tablet (601px to 900px) */
@media (min-width: 601px) and (max-width: 900px) {
    .main-text h2,
    .about-text h2,
    .sub {
        font-size: 2.5rem;
    }
    .about {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .portfolio-content {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 20px !important;
    }
    .row,
    .row img {
        height: 180px !important;
    }
    .services-list {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 20px !important;
    }
    .contact {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding-left: 0 !important;
    }
    .footer {
        font-size: 1.1rem !important;
        padding: 20px 4vw !important;
    }
    .container1 {
        width: 100% !important;
        padding: 40px 10px !important;
        margin-left: 0 !important;
    }
    .home-content h1 {
        font-size: 2.2rem !important;
    }
    .home-content h3 {
        font-size: 1.4rem !important;
    }
}

/* Laptop (901px to 1400px) */
@media (min-width: 901px) and (max-width: 1400px) {
    .about {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
    .portfolio-content {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-gap: 30px !important;
    }
    .row,
    .row img {
        height: 200px !important;
    }
    .services-list {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-gap: 30px !important;
    }
    .contact {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
        padding-left: 10px !important;
    }
    .footer {
        font-size: 1.15rem !important;
        padding: 20px 7vw !important;
    }
    .container1 {
        width: 90% !important;
        padding: 60px 30px !important;
        margin-left: 0 !important;
    }
}
