* {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    
}
body {
    overflow-x: hidden;
    background-color: #f7f7f4;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* Landingpage Nav */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
nav {
    opacity: 0;
    transform: translateY(0px); /* posisi awal turun 50px */
    animation: fadeInUp 0.5s ease-out forwards; /* jalankan animasi */
    animation-delay: 0.3s; /* jeda sebelum muncul */
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}
nav img {
    height: 60px;
    width: auto;
    border-radius: 50%;
    cursor: pointer;
}
.button-nav {
    display: flex;
    gap: 16px;
}
.button-nav a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 11px 22px;
    border-radius: 12px;

    font-size: 16px;
    font-weight: 500;
    text-decoration: none;

    transition: all 0.3s ease;
}
.button1 {
    background: #222;
    color: #fff;
    border: 1px solid #222;
}

.button1:hover {
    background: #403F3F;
}

.button2 {
    color: #222;
    border: 1px solid #222;
}

.button2:hover {
    background: #DDDDDD;
}

/* Hero-banner */
.hero-banner {
    padding: 64px 0;
    background: #f7f7f4;
}
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hero-content h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    color: #222;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.5s;
}
.hero-content h2 {
    max-width: 825px;
    width: 100%;
    font-size: 32px;
    font-weight: 400;
    line-height: 48px;
    color: #222;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.6s;
}

/* Work */
.case-studies {
    padding: 64px 0;
    background: #f7f7f4;
}
.case-studies .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    flex-direction: column;
    gap: 64px;
}
.container h1 {
    color: #222;
    font-size: 32px;
    font-weight: 600;
    line-height: normal;
}
.container .project-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.project-list .project-name {
    display: flex;
    padding: 24px;
    border-radius: 6px;
    border: 1px solid #ddd;
    gap: 18px;
    background: #f2f2ef;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.4s ease;
}
.project-name:hover {
    background: #ECECE7;
}
a {
    text-decoration: none;
}
.project-name .content {
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.content h3 {
    max-width:420px;
    width: 100%;
    color: #222;

    font-size: 24px;
    line-height: 36px;
    font-weight: 400;
}
.content p {
    color: #FF2C2C;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
}
.project-name .image-wrapper {
    overflow: hidden;
    box-sizing: border-box;
}
.image-wrapper img{
    max-width: 782px;
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}



/* About Me */
.about-me {
    background: #f7f7f4;
}
.aboutme-list {
    display: flex;
    gap: 48px;
}
.about-me h1 {
    color: #222;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
}
.aboutme-list .aboutme-1 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 1200px;
}
.aboutme-1 p {
    font-size: 16px;
    line-height: 28px;
    color: #222;
}
.aboutme-1 a {
    color: #222;
    text-decoration: underline;
}
.work-experience {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
.work-experience h3 {
    color: #222;
    font-size: 18px;
    font-weight: 600;
}
.item {
    height: 1px;
    width: 100%;
    background-color: #ddd;
}
.work-experience .company {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.company h5 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #222;
}
.company p {
    color: #AAAAAA;
    font-size: 16px;
    line-height: 24px;
}
