/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar a{
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar a:hover{
    color: #aa6520;
    transition: all 0.1 ease-in-out;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f08d29;
}

/* Section Styling */
.skills-section {
    padding: 120px 50px 100px;
    background: linear-gradient(135deg, rgba(255,165,0,0.1) 20%, white 80%);
}

/* Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #93581c;
    font-weight: bold;
    margin-bottom: 40px;
}

/* Skills Layout */
.skills-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: auto;
}

/* Progress Bar (Kiri) */
.skills-left {
    flex: 1;
}

.skill {
    margin-bottom: 20px;
}

.skill h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #eee;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress {
    height: 100%;
    line-height: 20px;
    text-align: right;
    padding-right: 10px;
    color: white;
    font-weight: bold;
    background: linear-gradient(to right, #f08d29, #ff6f00);
    border-radius: 10px;
}

/* Chart (Kanan) */
.skills-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.skills-right canvas {
    max-width: 300px;
    height: auto;
}

/* Sertifikat */
.certificates-section {
    text-align: center;
    margin-top: 80px;
}

.certificates {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.certificate {
    width: 250px;
    text-align: center;
}

.certificate img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.certificate p {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .skills-content {
        flex-direction: column;
        text-align: center;
    }

    .skills-left, .skills-right {
        width: 100%;
    }

    .certificates {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .certificate {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    .certificate img {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}

footer {
    background: linear-gradient(135deg, #1c1c1c, #292929);
    color: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo h2 {
    font-size: 22px;
    font-weight: bold;
    color: #f5f5f5;
    transition: transform 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #b0b0b0;
    font-size: 14px;
    transition: color 0.1s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    transition: transform 0.1s ease, opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.8;
}

.social-icons img {
    width: 28px;
    height: auto;
    filter: invert(1);
}

.social-icons img.github {
    width: 50px; /* Perbesar ukuran */
}

.social-icons img.youtube {
    width: 34px;
    padding-top: 2.5px;
}

.footer-text {
    font-size: 13px;
    color: #a0a0a0;
    margin-top: 10px;
}