* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

:root {
    --green-light: #4ade80;
    --green-dark: #22c55e;
    --bg-dark: #0a0a0a;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    opacity: 0.2;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

img {
    max-width: 100%;
}
.profile-picture {
    max-width: calc(100% - 600px);
    margin-top: 2rem;
    margin-left: 1rem;
    padding-left: 2rem;
    line-height: 0;
    transition: .25s linear all;
}
.profile-picture > img {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 10px 10px rgba(74, 222, 128, 0.3);
    transition: .25s linear all;
}
.profile-picture:hover img {
    box-shadow: 18px 18px rgba(74, 222, 128, 0.5);
    transform: translate(-5px, -5px);
    border-radius: 20px;
}
.hero-content {
    position: relative;
    transform: translateY(0);
    will-change: transform;
}

.intro-text {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.greeting {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hi {
    font-size: 2rem;
    color: var(--green-light);
    font-weight: bold;
}

.wave {
    font-size: 2rem;
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
    display: inline-block;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.name-title {
    margin-bottom: 1.5rem;
}

.my-name {
    display: block;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.name {
    font-size: 4rem;
    background: linear-gradient(45deg, var(--green-light), var(--green-dark));
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.summary {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
}

.typed-text {
    color: var(--green-light);
}

.bio {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.resume-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--green-light);
    color: var(--bg-dark);
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.resume-btn:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
}

.download-icon {
    width: 20px;
    height: 20px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.1);
    color: var(--green-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}
.social-icon i {
    font-size: 20px;
}

.social-icon:hover {
    background: var(--green-light);
    color: var(--bg-dark);
    transform: translateY(-3px);
}


.section {
    padding: 100px 5%;
    position: relative;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    /* transform: translateY(50px);
    opacity: 0; */
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-card:hover {
    /* transform: translateY(-10px) scale(1.02); */
    background: rgba(74, 222, 128, 0.2);
}

.flexnya {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.item-skill {
    padding: .5rem 1rem;
    --tw-text-opacity: 1;
    color: rgb(209 213 219 / var(--tw-text-opacity, 1));
    display: flex;
    align-items: center;
    gap: 0.5rem;
    --tw-bg-opacity: 1;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(74, 222, 128, 0.2);
    transition: all 0.3s ease;
    /* transform: translateY(50px);
    opacity: 0; */
    cursor: pointer;
}
.item-skill:hover {
    background: rgba(74, 222, 128, 0.2);
}
.item-skill > i {
    color: var(--green-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.contact {
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

input, textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--green-light);
}

button {
    padding: 1rem 2rem;
    background: var(--green-light);
    border: none;
    border-radius: 30px;
    color: var(--bg-dark);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
}


.contact-form > i {
    font-size: 2rem;
    color: var(--green-light);
    margin-bottom: 2rem;
}
.contact-form > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}
.contact-form > .social-icons {
    margin-top: 2rem;
    justify-content: center;
}

.experience-timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 20px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--green-light), var(--green-dark));
}

.experience-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    /* opacity: 0;
    transform: translateY(30px); */
}

.experience-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--green-light);
    border-radius: 50%;
    z-index: 2;
}

.experience-content {
    width: 45%;
    padding: 2rem;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    margin-left: 55%;
    transition: all 0.3s ease;
}

.experience-item:nth-child(even) .experience-content {
    margin-left: 0;
    margin-right: 55%;
}

.experience-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--green-light);
    color: var(--bg-dark);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.experience-content h3 {
    color: var(--green-light);
    margin-bottom: 0.5rem;
}

.experience-content h4 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: normal;
}

.experience-content ul {
    list-style: none;
    padding: 0;
}

.experience-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.experience-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green-light);
}

.experience-content:hover {
    transform: translateY(-5px);
    background: rgba(74, 222, 128, 0.15);
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    .name {
        font-size: 2.7rem;
    }
    .summary {
        font-size: 1.5rem;
    }
    .bio {
        font-size: 1rem;
    }
    .profile-picture {
        display: none;
    }
    .intro-text {
        text-align: center;
    }
    .greeting {
        justify-content: center;
    }
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .section {
        padding: 50px 5%;
    }
    .experience-timeline::before {
        left: 20px;
    }
    .experience-dot {
        left: 20px;
        transform: none;
    }
    .experience-content {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    .experience-item:nth-child(even) .experience-content {
        margin-left: 50px;
        margin-right: 0;
    }
}