:root {
    --primary: #171728;
    --secondary: #0e0e18;
    --primary-gradient: linear-gradient(90deg, #667eea, hsl(270, 37%, 46%));
    --secondary-gradient: linear-gradient(90deg, #667eea, hsl(270, 37%, 46%));
    --wht: #fff;
    --shade: rgba(13, 145, 216, 0.07);
    --text: #c9c9c9;
    --text2: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--primary);
    min-height: 100vh;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    height: 9vh;
    padding: 22px 14%;
    background-color: transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-right: auto;
}

.navbar-logo {
    font-weight: 700;
    font-size: 18px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: flex;
    flex-direction: column;
    margin-right: auto;
}

.navbar .navbar-nav {
    background-color: var(--wht);
    border-radius: 25px;
    max-height: 5vh;
    min-width: 250px;
    text-align: center;
    justify-content: center;
    display: flex;
    margin-left: auto;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.);
}

.navbar .navbar-nav a {
    color: var(--primary);
    font-weight: 400;
    font-size: 13px;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.navbar .nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.navbar .nav-text {
    position: relative;
    padding-bottom: 2px;
    transition: 0.3s;
}

.navbar .nav-item-c {
    min-width: 50px;
    margin-left: 50px;
    background: var(--primary-gradient);
    color: var(--wht);
    padding: 5px 15px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 25px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
}

.navbar .nav-item-c:hover {
    background: var(--wht);
    color: transparent;
    background-image: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid var(--wht);
}

.navbar .nav-text:hover {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.navbar .nav-text:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s linear;
}

.nav-text:hover::after {
    transform: scaleX(1);
}

.navbar-nav a.active .nav-text {
    color: var(--primary);
}

/* home section */
.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.home {
    background-color: var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: start;
    width: 100%;
    min-height: 100vh;
    padding: 70px 14%;
    gap: 50px;
}

.home .profile-pic img {
    width: 270px;
    height: 65vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-pic img:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.home .content {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    animation: fadeInUp 1s ease-in-out forwards;
}


.home .content h1 {
    font-size: 50px;
    color: var(--wht);
    font-weight: 700;
}

.home .content span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.home .content h3 {
    color: var(--wht);
    font-size: 30px;
    font-weight: 600;
}

.home .content p {
    font-size: 14px;
    max-width: 700px;
    color: var(--wht);
    font-weight: 500;
}

.home .content .text {
    padding: 5px;
}

.hire-btn {
    min-width: 50px;
    margin-top: 5vh;
    margin-right: 5px;
    background: var(--primary-gradient);
    color: var(--wht);
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.hire-btn:hover {
    background: var(--wht);
    color: transparent;
    background-image: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid var(--wht);
}

.skills-btn {
    min-width: 85px;
    margin-top: 5vh;
    background: var(--wht);
    color: transparent;
    background-image: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    border: 1px solid var(--wht);
}

.skills-btn:hover {
    background: var(--primary-gradient);
    color: var(--wht);
    -webkit-text-fill-color: unset;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    border: 1px solid transparent;
}

.home .sci {
    margin-top: 7vh;
    display: flex;
    gap: 15px;
}

.home .sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--secondary);
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.home .sci a:hover {
    background: var(--primary-gradient);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.home .sci i {
    font-size: 22px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.home .sci a:hover i {
    background: none;
    color: var(--wht);
    -webkit-text-fill-color: var(--wht);
}

/* Slide 2 */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 70px 14%;
    background-color: var(--secondary);
    min-height: 70vh;
}

.sambutan-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 20px;
}

.sambutan-container img.profilutama {
    border-radius: 2vh;
    width: 250px;
    height: 300px;
    object-fit: cover;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    margin-right: 10vh;
}

.sambutan-text {
    flex: 1;
    max-width: 728px;
}

.about .text {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 70px;
}

.about .sambutan {
    position: relative;
    display: inline-block;
    font-size: 40px;
    font-weight: 700;
    color: var(--wht);
    margin-bottom: 10px;
}

.about .sambutan span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.about .sambutan ::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.sambutan-text .text2 {
    display: flex;
    justify-content: start;
    font-size: 20px;
    color: var(--wht);
    margin-bottom: 10px;
}

.sambutan-text .ket-sambutan {
    display: -webkit-box;
    line-clamp: 5;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    color: var(--text);
    line-height: 1.6;
}

.about .list {
    font-weight: 400;
    background: var(--secondary);
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
    color: var(--wht);
    font-size: 12px;
    line-height: 1.6;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.about .list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about .list li {
    margin-bottom: 8px;
    font-weight: 500;
}

.about .list strong {
    margin-right: 4px;
    font-weight: 600;
    display: inline;
}


.signature-section {
    display: flex;
    align-items: center;
    gap: 24px;
}

.signature-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--wht);
}

.signature-text strong {
    font-weight: 600;
    line-height: 1.2;
}

.signature-text span {
    margin-top: 0.6vh;
    font-size: 12px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    line-height: 1;
}

.about .text-e {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
    font-size: 20px;
}

.about .e-text {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: var(--wht);
    margin-top: 70px;
    margin-bottom: 10px;
}

.about .e-text span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.experience {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    background: #0f111a;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-gradient);
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 40px;
    width: 50%;
    position: relative;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item .content {
    background: #1a1c26;
    padding: 16px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.timeline-item h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.timeline-item p {
    font-size: 13px;
    margin: 4px 0;
}

/* Skills Page */
.skills {
    padding: 70px 14%;
    text-align: center;
    background-color: var(--primary);
}

.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.skills-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.skills .text {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 70px;
}

.skills .sambutan {
    position: relative;
    display: inline-block;
    font-size: 40px;
    font-weight: 700;
    color: var(--wht);
    margin-bottom: 10px;
}

.skills .sambutan span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.skills .sambutan ::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.skills-column h3 {
    color: var(--wht);
    margin-bottom: 16px;
    font-size: 20px;
    text-align: left;
}

.skill {
    margin-bottom: 16px;
    text-align: left;
    color: var(--wht);
}

.skill span {
    display: inline-block;
    width: 50%;
    font-size: 14px;
}

.skills .bar {
    background: var(--shade);
    height: 6px;
    border-radius: 4px;
    margin-top: 6px;
    overflow: hidden;
}

.skills .bar div {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
}

.skills .tools-title {
    color: var(--wht);
    margin-bottom: 24px;
}

.skills .tools-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.skills .tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.skills .tool-grid div {
    background: var(--secondary);
    padding: 16px 8px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 13px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

iconify-icon {
    transition: transform 0.2s;
}

iconify-icon:hover {
    transform: scale(1.1);
}

.skills .label {
    margin-top: 8px;
    font-size: 0.9em;
}

/* Contact */
.contact {
    padding: 70px 14%;
    background-color: var(--secondary);
    color: var(--wht);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.contact-info p {
    font-size: 12px;
    margin-bottom: 24px;
    color: var(--text);
    line-height: 1.5;
}

.info-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--wht);
}

.follow {
    margin-top: 30px;
}

.contact .sci {
    margin-top: 3vh;
    display: flex;
    gap: 15px;
}

.contact .sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary);
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact .sci a:hover {
    background: var(--primary-gradient);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact .sci i {
    font-size: 22px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.contact .sci a:hover i {
    background: none;
    color: var(--wht);
    -webkit-text-fill-color: var(--wht);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    background: #1e293b;
    border: none;
    border-radius: 8px;
    color: #f8fafc;
    width: 100%;
    resize: none;
}

.contact-form button {
    padding: 12px 20px;
    background: var(--primary-gradient);
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.contact-form button:hover {
    opacity: 0.9;
}

/*Global About Page*/
.about-page {
    padding: 80px 10%;
    background: var(--primary);
    color: var(--wht);
}

.about-page h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.sambutan-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.sambutan-container img.profilutama {
    width: 260px;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.sambutan-text {
    flex: 1;
    min-width: 280px;
    max-width: 700px;
    line-height: 1.7;
}

.about-page .text {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 70px;
}

.about-page .sambutan {
    position: relative;
    display: inline-block;
    font-size: 40px;
    font-weight: 700;
    color: var(--wht);
    margin-bottom: 10px;
}

.about-page .sambutan span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.about-page .sambutan ::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.about-page-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
}

.about-page-left {
    flex: 1 1 35%;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.about-page-left h2 {
    margin-bottom: 20px;
}

.about-page-left .about-page-item {
    padding: 14px 18px;
    margin-bottom: 12px;
    border-left: 3px solid #6a5af9;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.about-page-right {
    flex: 1 1 60%;
    min-width: 280px;
}

.about-page-right p {
    margin-bottom: 25px;
}

.about-page-skill-list {
    list-style: none;
    padding: 0;
}

.about-page-skill-list li {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    border-radius: 8px;
    transition: 0.3s;
}

.about-page-skill-list li:hover {
    background: rgba(155, 92, 255, 0.2);
}

.about-page-timeline {
    position: relative;
    max-width: 700px;
    margin: 40px auto;
    padding-left: 30px;
    border-left: 2px solid #6a5af9;
}

.about-page-timeline-item {
    margin-bottom: 30px;
    padding-left: 20px;
    position: relative;
}

.about-page-timeline-item::before {
    content: '';
    position: absolute;
    left: -13px;
    top: 6px;
    width: 18px;
    height: 18px;
    background: #6a5af9;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(106, 90, 249, 0.7);
}

.about-page-goals,
.about-page-hobbies {
    text-align: center;
    margin-bottom: 60px;
}

.about-page-goals p,
.about-page-hobbies p {
    max-width: 700px;
    margin: 0 auto 20px;
}

.about-page-hobby-list {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.about-page-hobby-list li {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    margin: 8px 0;
    border-radius: 8px;
    transition: 0.3s;
}

.about-page-hobby-list li:hover {
    background: rgba(155, 92, 255, 0.2);
}

/*footer*/
.footer-bottom {
    background-color: transparent;
    border-top: 1px solid #ccc;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    color: var(--wht);
    text-align: center;
    max-width: 1120px;
    margin: 0 auto 10px;
    line-height: 1.3;
}

.footer-bottom a {
    color: var(--text);
    text-decoration: underline;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--wht);
}

.footer-bottom .maker {
    text-decoration: none;
    color: var(--text2);
    font-weight: 600;
    cursor: pointer;
}

.footer-bottom .maker:hover {
    color: var(--text);
}

.navbar-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--wht);
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 16px 5%;
    }

    .navbar-toggle {
        display: block;
        font-size: 28px;
        z-index: 1001;
    }

    .navbar-nav {
        display: none;
        position: static;
        transform: none;
        background-color: var(--wht);
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        padding: 16px 0;
        margin-top: 12px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .navbar-nav.show {
        display: flex;
    }

    .navbar .nav-item-c {
        display: none;
    }

    .navbar-logo {
        margin: 0;
    }

    #nav-contact {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    .nav-item-c {
        display: inline-flex;
        margin: 0 auto;
    }
}