body {
    --tw-bg-opacity: 1;
    background-color: rgb(10 10 10 / var(--tw-bg-opacity, 1));
    font-family: "Noto Sans", sans-serif;
    position: relative;
    overflow-x: hidden;
    transition: opacity 0.4s ease;
}

body.fade-out {
    opacity: 0;
}

body::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -400px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(214, 207, 207, 0.505) 80%, rgba(255, 255, 255, 0) 70%);
    filter: blur(200px);
    pointer-events: none;
    animation: glowPulse 3s ease-in-out infinite;
    border-radius: 100%;
    z-index: 0;
}

@keyframes glowPulse {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.2;
        transform: scale(1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 45px 0px;
}

.nama {
    color: white;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    padding-left: 20px;
}

.nav-links {
    position: relative;
    list-style: none;
    display: flex;
    gap: 1px;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgb(38 38 38);
    background-color: #17171780;
    border-radius: 50px;
    overflow: hidden;
}

.nav-links li {
    position: relative;
    z-index: 2;
    padding: 7px 15px 8px 15px;
    border-radius: 40px;
}

.nav-links li.active {
    background-color: transparent;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.nav-links li a:hover {
    color: rgb(220, 220, 220);
}

.indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: 36px;
    background: rgba(135, 121, 121, 0.15);
    border-radius: 40px;
    transition: all 0.3s ease;
    z-index: 1;
}

.menu-toggle {
    display: none;
    font-size: 25px;
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 999;
    transition: transform 0.3s ease;
}

.menu-toggle:active {
    transform: rotate(120deg);
}

.content {
    transition: filter 0.4s ease, opacity 0.4s ease;
    padding: 20px 1px;
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.content.blur {
    filter: blur(5px);
    opacity: 0.8;
    pointer-events: none;
}

.content.shift {
    transform: translateX(-200px);
    filter: blur(1.5px);
    opacity: 0.9;
}

.nav-header {
    display: none;
}

/* =========================
   MEDIA QUERIES
========================= */


@media (max-width:1000px) {
    .article-card {
        padding: 20px 50px !important;
    }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr 300px;
        padding: 48px 18px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .photo-wrap {
        width: 260px;
        height: 260px;
    }
}

@media (min-width: 801px) and (max-width: 866px) {
    .btn {
        padding: 12px 10px !important;
    }
}

@media (max-width: 800px) {
    .menu-toggle {
        display: block;
        font-size: 30px;
    }

    .nav-header {
        display: block;
    }

    .indicator {
        display: none;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 997;
    }

    .overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0px;
    }

    .nama {
        padding-left: 0px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 16rem;
        background-color: rgba(23, 23, 23, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 15px 10px 15px;
        gap: 1px;
        transition: right 0.4s ease;
        z-index: 998;
        border-radius: 0;
    }

    .nav-links.show {
        right: 0;
    }

    .nav-header {
        color: white;
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .nav-divider {
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.2);
        margin-bottom: 10px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 82%;
        font-size: 14px;
        color: white;
        text-decoration: none;
        padding: 5px 0;
    }

    .nav-links li.active a {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 10px;
    }

    .hero {
        grid-template-columns: 1fr !important;
        padding: 36px 16px !important;
        min-height: auto !important;
        gap: 24px !important;
    }

    .hero-right {
        order: -1 !important;
        justify-content: flex-end !important;
    }

    .hero .photo-wrap {
        width: 200px !important;
        height: 200px !important;
        align-items: center !important;
        display: block;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 34px !important;
    }

    .hero p.lead {
        max-width: 100% !important;
    }

    .hero .cta {
        align-items: stretch !important;
    }

    .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 0 !important;
    }

    .grid-project {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .project {
        padding: 10px 20px 20px 20px !important;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .exp-date span {
        font-size: 0.85rem;
    }

    .exp-title h3 {
        font-size: 1rem !important;
    }

    .experience {
        padding: 10px 20px 5px 20px !important;
    }

    .education {
        padding: 10px 20px 20px 20px !important;

    }

    .contact-container {
        flex-direction: column;
    }

    .contact {
        padding: 10px 20px 20px 20px !important;
    }

    .contact-info {
        padding: 10px 20px 20px 20px !important;
    }

    .article-card {
        padding: 20px 20px !important;
    }

    .article {
        padding: 10px 20px 20px 20px !important;
    }
}

@media (max-width: 410px) {

    .article-card {
        padding: 20px 5px !important;
    }

    .btn {
        padding: 1px 0px !important;
    }

    .exp-title h3 {
        font-size: 15px !important;
    }

    .exp-title span {
        font-size: 12px !important;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact {
        padding: 10px 20px 20px 20px !important;
    }

    .contact-info {
        padding: 10px 20px 20px 20px !important;
    }

    .contact-form {
        max-width: 80%;
    }

    .contact-info {
        max-width: 84%;
    }

    .email-box {
        font-size: 11px;
        gap: 5px;
    }
}

/* =========================
   PAGE SECTION COLORS
========================= */

.home-page h1 {
    color: rgb(24, 117, 148);
}

.project-page h1 {
    color: orange;
}

.contact-page h1 {
    color: lightgreen;
}

/* =========================
   HERO SECTION
========================= */

.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    min-height: 72vh;
    padding: 60px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: 10px;
}

.hero .hero-left {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    margin: 0 0 18px 0;
    font-size: 40px;
    line-height: 1.02;
    font-weight: bold;
    color: white;
    letter-spacing: -1px;
}

.hero p.lead {
    margin: 0 0 24px 0;
    color: #dcdcdc;
    font-size: 16px;
    line-height: 1.6;
    max-width: 70ch;
}

.hero p.small {
    color: #cfcfcf;
    font-size: 14px;
    margin-bottom: 22px;
}

.hero .cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn.primary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn.ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero .hero-right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .photo-wrap {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.25));
}

.hero .photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================
   CORE TECHNOLOGIES
========================= */

.core-tech {
    text-align: center;
    margin-top: 5px;
}

.core-tech h3 {
    color: #aaa;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.tech-tags span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 10px;
    transition: 0.3s;
}

.tech-tags span:hover {
    background: rgba(255, 255, 255, 0.3);
    /* transform: scale(1.05); */
}

.core-tech a {
    text-decoration: none;

}


/* =========================
        Project
========================= */

.project {
    padding: 50px 20px 20px 20px;
    min-height: 70vh;
    position: relative;

}

.project::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: 10px;
}

.project h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

.project p {
    color: #aaa;
    margin-bottom: 40px;
    font-size: 1rem;
    text-align: left;

}

.grid-project {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    background: #0f0f10;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.project-card .tag {
    display: inline-block;
    background: #1e1e1f;
    color: #ccc;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-header img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.project-card h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.project-card p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.project-card .view-link {
    color: #00b4d8;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-card .view-link:hover {
    color: #5edfff;
}

/* =========================
        Experience
========================= */

.experience {
    padding: 50px 20px 5px 20px;
    min-height: 70vh;
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: 10px;
}

.education {
    padding: 50px 20px 20px 20px;
    min-height: 70vh;
    position: relative;
    margin-top: 50px;
}

.education::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: 10px;
}

.experience h3,
.education h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

.experience p,
.education p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 40px;
    text-align: left;
}

.exp-card {
    background: #0e0e10;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.exp-title {
    display: flex;
    gap: 10px;
    align-items: center;
}

.exp-title img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.exp-title h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.exp-title span {
    font-size: 0.9rem;
    color: #aaa;
}

.exp-date span {
    font-size: 0.9rem;
    color: #9ca3af;
    white-space: nowrap;
}

.exp-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    color: #ccc;
}

.exp-card ul li {
    margin-bottom: 6px;
    line-height: 1.5;
    position: relative;
    padding-left: 18px;
}

.exp-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
}

.view-more {
    background: none;
    border: none;
    color: #38bdf8;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.95rem;
    transition: color 0.2s;
    text-align: left;
    padding-left: 0;
    display: block;
}

.judul {
    text-align: start;
}

.isi {
    text-align: start;
}



/* =========================
        Article
========================= */

.article {
    padding: 50px 20px 5px 20px;
    min-height: 70vh;
    position: relative;
}

.article::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: 10px;
}

.article h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

.article p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 40px;
    text-align: left;
    /* margin-left: 90px ; */
}

.article-card {

    padding: 20px 150px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.article-card img {
    width: 100%;
    border-radius: 10px;
    margin: 10px auto;
    display: block;
}

.judul-article {
    text-align: left;
}

.date {

    color: #aaa;
}



/* =========================
   Contact
========================= */



.contact {
    padding: 50px 20px 20px 20px;
    min-height: 70vh;
    position: relative;

}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: 10px;
}

.contact h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}



.elsewhere {
    margin-bottom: 8px;
    text-align: left !important;
}


.contact p {
    color: #aaa;
    margin-bottom: 40px;
    font-size: 1rem;
    text-align: left;

}

.contact-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form {
    background: #111;
    border-radius: 10px;
    padding: 25px;
    flex: 0 0 45%;

    border: 1px solid rgb(34, 34, 34);
}

.contact-info {
    background: #111;
    border-radius: 10px;
    padding: 25px;
    flex: 0 0 20%;
    border: 1px solid rgb(34, 34, 34);

}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
    margin-left: 5px;
}

.contact-form input,
.contact-form textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
    font-size: 0.95rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    margin-top: 20px;
    background: #1f1f1f;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.contact-form button:hover {
    background: #1f1f1f;
}

.email-box {
    background: #fff;
    color: #000;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin: 15px 0;
    font-weight: 500;
}

.email-box i {
    color: #000;
}

.elsewhere a {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    text-decoration: none;
    color: #e1e1e1;
    font-weight: 500;
  }

  .elsewhere i {
    margin-right: 6px;
    font-size: 1rem;
  }

  .elsewhere a:hover {
    color: #8e8e8e;
  }

/* .elsewhere a {
    color: #38bdf8;
    margin-right: 15px;
    font-weight: 500;
    text-decoration: none;
} */

.elsewhere a:hover {
    text-decoration: underline;
}

/* pop up */
.notif {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: white;
    border-radius: 50px;
    padding: 14px 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 15px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid #333;
  }
  
  .notif.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(10px);
  }
  
  .notif.success {
    background-color: #171717; /* hijau */
  }
  
  .notif.error {
    background-color: #171717; /* merah */
  }
  
  .notif-icon {
    font-size: 18px;
  }
  
  .hidden {
    display: none;
  }
  