/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

section {
    padding-top: 80px;
}

.navbar a.active {
    background-color: #00abf0;
    color: white;
}

body {
    padding-top: 70px;
    background: #081b29;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #00abf0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-logo {
    text-decoration: none;
}

.logo-text {
    font-size: 25px;
    color: #ededed;
    font-weight: 600;
    position: relative;
}

.logo-text::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #00abf0;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.navbar {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.navbar a {
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar a:hover,
.navbar a:active {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar {
    display: none;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.navbar.active {
    display: flex;
}

.hamburger {
    font-size: 30px;
    color: #ededed;
    cursor: pointer;
    display: block;
    padding: 10px;
    background-color: transparent;
    border: none;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .navbar {
        display: flex;
        flex-direction: row;
        gap: 40px;
    }
}

.home {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.home-content {
    max-width: 1000px;
}

.home-content h1 {
    font-size: 45px;
    font-weight: 700;
    color: #ededed;
    line-height: 1.2;
}

.home-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #00abf0;
    margin: 20px 0 40px;
}

.home-content .btn-box {
    display: flex;
    width: 180px;
    height: 50px;
}

.btn-box a {
    position: relative;
    justify-content: center;
    display: inline-flex;
    width: 180px;
    height: 100%;
    align-items: center;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #1e1e1e;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box a:hover {
    color: #00abf0;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%;
}

@keyframes showRight {
    100% {
        width: 0;     
    }
}

.about {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.about-image-wrapper {
    margin-bottom: 30px;
}

.about-image {
    width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.05);
}

.about-wrapper {
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.about-wrapper div {
    flex: 1;
    text-align: left;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-wrapper h2 {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 15px;
}

.about-wrapper p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.lsg-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    justify-content: space-between;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: 30px;
}

.lsg-image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .about-wrapper div {
        width: 100%;
        margin-bottom: 20px;
    }

    .lsg-image {
        max-width: 100%;
    }
}

.section-title {
    color: #00abf0;
    font-weight: 800;
    font-size: 35px;
    padding: 30px 0 50px;
    text-align: center;
}

.section-title::after {
    content: "";
    width: 100px;
    height: 5px;
    display: block;
    margin: auto;
    border-radius: 10px;
    background: #00abf0;
}


.skills {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 60em;
}

.container {
    position: relative;
    max-width: 600px;
    width: 100%;
    background: #ededed;
    margin: 0 15px 30px;
    padding: 10px 20px;
    border-radius: 10px;
    align-items: center;
}

.container h2 {
    font-size: 25px;
    color: #00abf0;
    font-weight: 600;
    text-align: center;
    gap: 2px;
}

.container .skills-wrapper {
    width: 100%;
    margin: 25px 0;
}

.skills-wrapper .title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.skills-wrapper .skill-bar {
    height: 10px;
    width: 100%;
    border-radius: 10px;
    margin-top: 6px;
    background: #cccbcb;
}

.skill-bar .skill-per {
    position: relative;
    display: block;
    height: 100%;
    width: 50%;
    border-radius: 10px;
    background: #00abf0;
    animation: progress 1s ease-in-out forwards;
    opacity: 0;
}

.skill-per.css {
    width: 60%;
}

.skill-per.c {
    width: 80%;
}

.skill-per.java {
    width: 70%;
}

@keyframes progress {
    0%{
        width: 0;
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.skill-per .tooltip {
    position: absolute;
    right: -14px;
    top: -28px;
    font-size: 10px;
    font-weight: 500;
    color: #ededed;
    padding: 2px 6px;
    border-radius: 5px;
    background: #00abf0;
    z-index: 1;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: -2px;
    height: 10px;
    width: 10px; 
    left: 17px;
    z-index: -1;
    background-color: #00abf0;
    transform: translateX(-50%) rotate(45deg);
}

.container1 {
    position: relative;
    max-width: 600px;
    width: 100%;
    background: #ededed;
    margin: 0 15px 30px;
    padding: 40px 20px;
    border-radius: 10px;
}

.container1 h2 {
    font-size: 25px;
    color: #00abf0;
    font-weight: 600;
    text-align: center;
    gap: 2px;
}

.radial-bars {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 30px;
}

.radial-bars .radial-bar {
      width: 20%;
      height: 100px;
      margin-bottom: 40px;
      position: relative;
}

.radial-bars .radial-bar .svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 100px;
    height: 100px;
}

.radial-bars .radial-bar .progress-bar {
    stroke-width: 10;
    stroke: #cccbcb;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
    animation: animate-bar 1s linear forwards;
}

@keyframes animate-bar {
    100%{
        stroke-dashoffset: -1;
    }
}

.path {
    stroke-width: 10;
    stroke: #00abf0;
    fill: transparent;
    stroke-dashoffset: 502;
    stroke-dasharray: 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: 65;
    }
}

@keyframes animate-path2 {
    100%{
        stroke-dashoffset: 130;
    }
}

@keyframes animate-path3 {
    100%{
        stroke-dashoffset: 220;
    }
}

@keyframes animate-path4 {
    100%{
        stroke-dashoffset: 130;
    }
} 

.radial-bar .percentage {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5 1s linear forwards;
}

.text {
    width: 100%;
    position: absolute;
    text-align: center;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    font-weight: 600;
}

.text {
    font-size: 12px;
}

.contact {
    background: #f4f4f4;
    padding: 50px 10%;
    padding-top: 150px;
    padding-bottom: 100px;
}

.contact .section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.contact-info-list {
    list-style-type: none;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact-info {
    font-size: 24px;
}

.social-link {
    color: #00abf0;
    font-size: 30px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #333;
}

.contact-form {
    background: #081b29;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #ccc;
    font-size: 16px;
    color: #333;
    background: #fff;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #00abf0;
    outline: none;
}

.submit-button {
    padding: 15px;
    background: #00abf0;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #008cc2;
}

@media (max-width: 768px) {
    .contact {
        padding: 30px 5%;
    }

    .contact h2 {
        font-size: 30px;
    }

    .contact-form {
        width: 100%;
        padding: 15px;
    }

    .form-input {
        font-size: 14px;
        padding: 12px;
    }

    .submit-button {
        font-size: 16px;
    }
}