* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}
:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #00E981;
}
html {
   font-size: 60%;
   overflow-x: hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}
.logo{
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}
.logo:hover{
    transform: scale(1.1);
}
.logo span{
    /* text-shadow: 0 0 25px var(--main-color); */
    color: (var(--text-color));
}
.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparant;

}
.navbar a.active {
    color: var(--main-color) !important;
    border-bottom: 3px solid var(--main-color) !important;
}

.navbar a:hover {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}

section{
    min-height: 100vh;
    padding: 8rem 5% 4rem;

}

.home{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    padding: 0 5%;
  
}
.home-content{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
    
}
span{
    color: var(--main-color)
}
.logo span{
    color: var(--main-color);
}
.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}
.home-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;

}
.home-img {
    border-radius: 50%;
}
.home-img img{
    position: relative;
    top: 3rem;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--main-color);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
                
}
.home-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}
.social-icon a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3.5rem 3rem 3.5rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.social-icon a:hover{
    color: var(--text-color);
    transform: scale(1.3) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}
.btn{
    display: inline-block;
    padding: 1rem 3.7rem;
    background: var(--main-color);
    box-shadow: 0 0 25px  var(--main-color);
    font-size: 1.5rem;
    border-radius: 50px;
    color: black;
    border:  2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin-left: 10px;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
    
}
.btn-group{
    display: flex;
    align-items: center;
    gap: 1.5;

}
.btn-group a:nth-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;


}
.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;

}
.text-animation{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}
.text-animation span{
    position: relative;
}
.text-animation span::before{
    content: "";
    color: var(--main-color);
    animation: word 20s infinite;

}
.text-animation span::after{
    content: "";
    background-color: var(--bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--bg-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 15s steps(14) infinite;
}
@keyframes cursor { 
    to {
        border-left: 2px solid var(--main-color);
    }
}

@keyframes word {
    0%, 30% { content: "Photographer"; }
    31%, 60% { content: "Videographer"; }
    61%, 100% { content: "3D Modeler"; }

  }
@keyframes typing {
    10%, 15%, 30%, 35%, 50%, 55%, 70%, 75%, 90%, 95% {
        width: 0;
    }
    5%, 20%, 25%, 40%, 45%, 60%, 65%, 80%, 85% {
        width: calc(100% + 8px);
    }
}
.heading {
    font-size: 5rem; /* Diperkecil sedikit biar proporsional */
    text-align: center;
    margin: 3rem 0;
}

.education {
    padding: 40px 15px;
    background: var(--second-bg-color);
    
}

.education h2 {
    margin-bottom: 3rem;
}

.timeline-item {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 30px; /* Lebih dekat antar item */
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: var(--main-color);
    left: calc(50% - 2px);
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 15px);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 15px);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: var(--main-color);
    box-shadow: 0 0 15px var(--main-color), 0 0 30px var(--main-color);
    position: absolute;
    left: calc(50% - 8px);
    border-radius: 50%;
    top: 6px;
}

.timeline-date {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 4px 0 10px;
}

.timeline-content {
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    padding: 15px 30px;
    border-radius: 2.5rem;
    box-shadow: 0 0 8px var(--main-color);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.04);
    box-shadow: 0 0 12px var(--main-color);
}

.timeline-content h3 {
    font-size: 22px;
    color: white;
    margin: 0 0 15px;
    font-weight: 500;
}

.timeline-content p {
    font-size: 15px;
    color: white;
    font-weight: 300;
    line-height: 22px;
}


/* Scrollbar style untuk browser berbasis WebKit */
::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--bg-color);
    width: 50px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--main-color);
    
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #00c46b;
  }
  .project {
    background: var(--second-bg-color);
    padding: 4rem 5%;
    text-align: center;
}

.project-card {
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    padding: 20px;
    border-radius: 2.5rem;
    margin-bottom: 20px;
    box-shadow: 0 0 8px var(--main-color);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: scale(1.04);
    box-shadow: 0 0 12px var(--main-color);
}

.project-card h3 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.project-card p {
    font-size: 1.5rem;
    color: var(--text-color);
}

.contact-info {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: left;
    font-size: 1.8rem;
    color: var(--text-color);
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    box-shadow: 0 0 8px var(--main-color);
}

.contact-info p {
    margin-bottom: 1.5rem;
}

.contact-info a {
    color: var(--main-color);
    text-decoration: underline;
}

.contact-info a:hover {
    color: #00c46b;
}

.project {
    background: var(--second-bg-color);
    padding: 4rem 5%; /* padding kiri-kanan 5% */
    text-align: center;
}

.project-wrapper {
    max-width: 1200px;
    margin: 0 auto; /* Centering container */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem; /* Jarak antar kartu project */
}

.project-card {
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    padding: 20px;
    border-radius: 2.5rem;
    box-shadow: 0 0 8px var(--main-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: left;
}

.project-card:hover {
    transform: scale(1.04);
    box-shadow: 0 0 12px var(--main-color);
}

.project-card h3 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1.5rem;
    color: var(--text-color);
}

.project-img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 1.5rem;
    margin-bottom: 1.2rem;
    background-color: #1a1a1a;
    padding: 10px;
    box-shadow: 0 0 8px var(--main-color);
}



