* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #00ffee;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4rem 12% 4rem;
    background: rgba(0, 0, 255, 0.066);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    animation: slideTop 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo span {
    text-shadow: 0 0 25px var(--main-color);
}

.navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar a:hover {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}

section {
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
    flex-wrap: nowrap; 
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
    animation: slideTop 1s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.home-content h3 {
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
    display: inline;
}

.home-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-img {
    border-radius: 50%;
    animation: slideTop 1s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

.home-img img {
    width: 32vw;
    max-width: 400px; 
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.home-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}

.home-content p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}

.Social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}

.Social-icons a:hover {
    color: var(--text-color);
    transform: scale(1.3) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}

.btn-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-group a:nth-last-of-type(2) {
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-last-of-type(2):hover {
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
}

.about {
    display: flex; 
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-text h2 {
    font-size: 60px;
}

.about-text h2 span {
    color: var(--main-color);
}

.about-text h4 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.7;
    margin: 5px 0 20px;
}

.about-text p {
    color: var(--text-color);
    font-size: 20px;
    line-height: 1;
    margin-bottom: 3rem;
}

#services {
    color: var(--text-color);
    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: var(--main-color);
}

.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;
    border-radius: 20px;
    transition: background 0.5s, transform 0.5s;
    box-shadow: 1px 1px 20px rgba(57, 102, 174, 0.769),
                1px 1px 40px rgba(57, 102, 174, 0.769);
}

.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: var(--bg-color);
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.read {
    display: inline-block;
    padding: 12px 28px;
    background: var(--main-color);
    border-radius: 40px;
    font-size: 16px;
    color: var(--bg-color);
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px var(--main-color),
                0 0 25px var(--main-color);
}

.read:hover {
    box-shadow: 0 0 5px var(--main-color),
                0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color),
                0 0 200px var(--main-color);
}

.services-list div:hover {
    transform: translateY(-10px);
}
section{
    display: flex;
    flex-wrap: wrap;
}
.container1 {
    width: 600px;
    height: 500px;
    padding: 75px 90px;
    margin-left: 120px;
}
:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #00ffee;
}

section#skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}

.sub-title {
    text-align: center;
    font-size: 60px;
    padding-bottom: 70px;
}

.sub-title span {
    color: var(--main-color);
}

.skills-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 4rem;
    width: 100%;
    justify-content: center;
}

.container1 {
    width: 50%;
    max-width: 600px;
    padding: 40px;
    margin: 0;
    box-sizing: border-box;
}

.heading1, .heading {
    text-align: center;
    text-decoration: underline;
    text-decoration-thickness: 5px;
    margin-bottom: 30px;
    font-size: 2.8rem;
}

.bar {
    font-size: 23px;
    margin-bottom: 20px;
}

.Technical-bars {
    margin: 40px 0;
}

.Technical-bars .bar:first-child {
    margin-top: 0;
}

.Technical-bars .bar:last-child {
    margin-bottom: 0;
}

.Technical-bars .bar .info {
    margin-bottom: 5px;
}

.Technical-bars .bar .info span {
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

.Technical-bars .bar .progress-line {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 5px;
    background-color: rgba(11, 11, 120, 0.39);
}

.Technical-bars .bar .progress-line span {
    height: 100%;
    background-color: var(--main-color);
    position: absolute;
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    animation: animateProgress 1.5s ease-in-out forwards;
}

.progress-line.html span { width: 95%; }
.progress-line.css span { width: 85%; }
.progress-line.JavaScript span { width: 85%; }
.progress-line.Python span { width: 85%; }
.progress-line.java span { width: 70%; }
.progress-line.c\+\+ span { width: 65%; }

.progress-line span::after {
    position: absolute;
    padding: 1px 8px;
    background-color: #333;
    color: azure;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: -20px;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}

.progress-line.html span::after { content: "95%"; }
.progress-line.css span::after { content: "85%"; }
.progress-line.JavaScript span::after { content: "85%"; }
.progress-line.Python span::after { content: "85%"; }
.progress-line.java span::after { content: "70%"; }
.progress-line.c\+\+ span::after { content: "65%"; }

.radial-bars {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.radial-bars:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--main-color);
}

.radial-bars svg {
    width: 150px;
    height: 150px;
}

.radial-bars svg .progress-bar {
    fill: none;
    stroke: #333;
    stroke-width: 10;
}

.radial-bars svg .path {
    fill: none;
    stroke: var(--main-color);
    stroke-width: 10;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    animation: animateRadial 1.5s ease-in-out forwards;
}

.radial-bars:nth-child(1) .path {
    animation-delay: 0.2s;
    animation-name: animateRadial90;
}

.radial-bars:nth-child(2) .path {
    animation-delay: 0.4s;
    animation-name: animateRadial80;
}

.radial-bars:nth-child(3) .path {
    animation-delay: 0.6s;
    animation-name: animateRadial85;
}

.radial-bars:nth-child(4) .path {
    animation-delay: 0.8s;
    animation-name: animateRadial80;
}

.percentage {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-top: 8px;
}

.text {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-top: 5px;
}

@keyframes showText {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes animateProgress {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes animateRadial90 {
    0% { stroke-dashoffset: 502; }
    100% { stroke-dashoffset: calc(502 - (502 * 98 / 100)); }
}

@keyframes animateRadial80 {
    0% { stroke-dashoffset: 502; }
    100% { stroke-dashoffset: calc(502 - (502 * 88 / 100)); }
}

@keyframes animateRadial85 {
    0% { stroke-dashoffset: 502; }
    100% { stroke-dashoffset: calc(502 - (502 * 85 / 100)); }
}


@media (max-width: 768px) {
    .skills-container {
        flex-direction: column;
        gap: 2rem;
    }
    .container1 {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }
    .radial-bars svg {
        width: 120px;
        height: 120px;
    }
}


.text {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-top: 5px;
}

@keyframes showText {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes animateProgress {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes animateRadial {
    0% {
        stroke-dashoffset: 502;
    }
    100% {
        stroke-dashoffset: calc(502 - (502 * var(--percentage) / 100));
    }
}

@media (max-width: 768px) {
    .skills-container {
        flex-direction: column;
        gap: 2rem;
    }
    .container1 {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }
    .radial-bars svg {
        width: 120px;
        height: 120px;
    }
}
:root {
    --bg-color: #080808;
    --text-color: white;
    --main-color: #00ffee;
}

section.project {
    min-height: 100vh;
    padding: 10rem 12% 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.main-text {
    text-align: center;
    margin-top: 50px;
    padding-top: 0;
}

.main-text h2 {
    font-size: 60px;
    line-height: 1;
    text-align: center;
}

.main-text h2 span {
    color: var(--main-color);
}

.Projects-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    width: 100%;
    margin-top: 50px;
}

.row {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.row img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s ease;
}

.row:hover img {
    transform: scale(1.1);
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), var(--main-color));
    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 ease;
}

.row:hover .layer {
    height: 100%;
}

.layer h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.layer p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 15px;
}

.layer a i {
    font-size: 24px;
    color: aqua;
    transition: transform 0.3s ease;
}

.layer a:hover i {
    transform: scale(1.2);
}


@media (max-width: 768px) {
    section.project {
        padding: 5rem 8%;
    }
    .main-text {
        margin-top: 30px;
    }
    .main-text h2 {
        font-size: 40px;
    }
    .Projects-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    .row img {
        height: 150px;
    }
}
.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: var(--main-color);
}
.contact-text h4{
    margin: 15px;
    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: var(--main-color);
    font-size: 20px;
    font-weight: 600;
    transition: all .40s ease;
}
.contact-list li a:hover{
    transform: scale(1.01) translateY(-5px);
    color: var(--main-color);
}
.contact-icons i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}
.contact-icons i:hover {
    color: var(--text-color);
    transform: scale(1.3) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);

}
.contact-form{
    position: relative;
}
.contact-form form input,form textarea{
    border: none;
    outline: none;
    width: 90%;
    padding: 18px;
    background: #e4e4e8;
    color: rgb(82, 81, 79);
    font-size: 1rem;
    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: var(--main-color);
    border-radius: 40px;
    font-size: 18px;
    color: var(--bg-color);
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px var(--main-color),
                0 0 25px var(--main-color);
}
.contact-form form .send:hover{
    box-shadow: 0 0 5px var(--main-color),
                0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color),
                0 0 200px var(--main-color);
}
.top{
    position: fixed;
    bottom: 2.1rem;
    right: 2,1rem;
}
.top i{
    color: #333;
    background: var(--bg-color);
    font-size: 20px;
    padding: 10px;
    border-radius: 0.5rem;
}




.text {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-top: 5px;
}

.text-animation {
    font-size: 3.4rem;
    font-weight: 600;
    display: inline;
    vertical-align: middle;
    white-space: nowrap;
}

.text-animation span {
    position: relative;
    display: inline-block;
    min-width: 350px;
    height: 4rem;
    vertical-align: middle;
}

.text-animation span::before {
    content: "Network Security Engineer";
    color: var(--main-color);
    animation: words 12s infinite;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes words {
    0%, 33% {
        content: "Network Security Engineer";
        opacity: 1;
    }
    34%, 66% {
        content: "Cybersecurity Engineer";
        opacity: 1;
    }
    67%, 100% {
        content: "Web Developer";
        opacity: 1;
    }
}

@keyframes typing {
    0%, 10% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    11%, 20% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    21%, 30% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    31%, 40% {
        opacity: 1;
        clip-path: inset(0 100% 0 0);
    }
    41%, 50% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    51%, 60% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    61%, 70% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    71%, 80% {
        opacity: 1;
        clip-path: inset(0 100% 0 0);
    }
    81%, 90% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    91%, 100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes slideTop {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes showText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .home {
        flex-direction: column;
        gap: 5rem;
    }
    .home-img img {
        width: 50vw;
        max-width: 300px;
    }
    .home-content {
        align-items: center;
        text-align: center;
    }
    .radial-bars svg {
        width: 150px;
        height: 150px;
    }
    .radial-bars {
        margin: 10px;
    }
    .container1 {
        width: 100%;
        margin-left: 0;
        padding: 50px;
    }
}