* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #d6d6d6;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.nav {
    display: flex;
    background-color: rgb(2, 20, 3);
    gap: 47px;
     width:70%;
    margin-left:10%;
    margin: 2% auto 0 auto;
    border-radius: 40px;
    align-items: center;
    padding: 5px;
    position: relative;
}
.nav a {
    color: white;
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}
.nav a:hover {
    cursor: pointer;
    color: rgb(128, 86, 10);
    transform: scale(1.1);
}
.logo-btn {
    font-size: 30px;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    margin-left: 9px;
    font-weight: bold;
    background-color: orange;
    border: none;
    color: #fff;
}
h2 {
    color: white;
    font-weight: lighter;
    margin-right: 10%;
}
.contact-link {
    border-radius: 15px;
    background-color: orange;
   color:white;
    padding: 9px 18px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
}
.contact-link:hover {
    background-color: white;
    color:black;
}
.menu-icon {
    display: none;
    font-size: 36px;
    color:orange;
    cursor:pointer;
    margin-left: auto;
    margin-right: 18px;
    z-index: 1001;
}


/* SKILLS SECTION */
.skills-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}
.skills-title {
    text-align: center;
    color: darkgreen;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 28px;
    letter-spacing: 2.5px;
    width: 100%;
    text-transform: uppercase;
    line-height: 1.1;
    position: relative;
    text-shadow: 1px 2px 8px #b2d8b2, 0 1px 0 #fff;
}
.skills-title::after {
    content: "";
    display: block;
    margin: 10px auto 0 auto;
    width: 60px;
    height: 3px;
    background: darkgreen;
    border-radius: 2px;
}
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
}
.skill-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 28px 18px 18px 18px;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 18px;
}
.skill-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}
.skill-emoji {
    font-size: 38px;
    margin-bottom: 12px;
    display: block;
}
.skill-card h3 {
    font-size: 20px;
    color: #021403;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}
.progress-bar {
    width: 100%;
    background: #f0f0f0;
    border-radius: 10px;
    height: 18px;
    position: relative;
    margin-bottom: 8px;
    margin-top: 8px;
    overflow: hidden;
}
.progress {
    background: linear-gradient(90deg, orange 60%, #ffd580 100%);
    height: 100%;
    border-radius: 10px 0 0 10px;
    transition: width 1s;
}
.progress-label {
    position: absolute;
    right: 12px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #021403;
    font-weight: bold;
    letter-spacing: 1px;
}

/* FOOTER */
.footer-text {
    text-align: center;
    color: #444;
    font-size: 13px;
    font-weight: normal;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px)  {
    .skills-list {
        gap: 18px;
        width: 98vw;
    }
    .skill-card {
        width: 90vw;
        max-width: 400px;
    }
}
@media (max-width: 900px)  {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100vw;
        gap:8px;
        border-radius: 0;
        padding: 10px 0 10px 10px;
        position: relative;
    }
    .nav a, .nav h2 {
        display: none;
        width: 100%;
        text-align: left;
        padding: 12px 18px;
        margin: 0;
        border-radius: 0;
        background: none;
        color: #fff;
        font-size: 17px;
    }
     .nav button {
    font-size: 28px;
    border-radius: 100%;
    width: 38px;
    height: 38px;
    background: orange;
    color: #fff;
    border: none;
    margin-right: 8px;
    font-weight: bold;
    }
    .nav.open a,
    .nav.open h2,
    .nav.open button {
        display: block;
        margin: 10px 0;
    }
    .nav.open a:hover,
    .nav.open button:hover {
        background: orange;
        color: #021403;
    }
    .menu-icon {
        display: block;
        position: absolute;
        top: 10px;
        right: 18px;
    }
    .skills-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .skill-card {
        width: 96vw;
        max-width: 99vw;
        padding: 18px 6vw 18px 6vw;
    }
    .skills-title {
        font-size: 22px;
        letter-spacing: 1.2px;
    }
    .skill-emoji {
        font-size: 28px;
    }
    .progress-bar {
        height: 14px;
    }
    .progress-label {
        font-size: 11px;
    }
}
@media (max-width: 500px) {
    .skills-title {
        font-size: 16px;
    }
    .skill-card {
        padding: 10px 2vw 10px 2vw;
    }
    .footer-text {
        font-size: 11px;
    }
}
.soc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 60px;
    padding-bottom: 20px;
}
.soc img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    background: none;
    transition: transform 0.2s, filter 0.2s;
}
.soc img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}
.footer-text {
    text-align: center;
    color: #444;
    font-size: 13px;
    font-weight: normal;
    margin-top: 12px;
    letter-spacing: 0.5px;
}