/* FONT */
@font-face {
    font-family: 'Ortica Linear';
    src: url('assets/fonts/OrticaLinear-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ortica Linear';
    src: url('assets/fonts/OrticaLinear-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ortica Linear';
    src: url('assets/fonts/OrticaLinear-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ortica Angular';
    src: url('assets/fonts/OrticaAngular-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* FONT DELIGHT */
@font-face {
    font-family: 'Delight';
    src: url('assets/fonts/delight-thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('assets/fonts/delight-extralight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('assets/fonts/delight-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('assets/fonts/delight-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('assets/fonts/delight-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('assets/fonts/delight-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('assets/fonts/delight-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('assets/fonts/delight-extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Delight';
    src: url('assets/fonts/delight-black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* IMPLEMENT FONT */

.hero-name {
    font-family: 'Delight', serif;
    font-weight: 700;
}

main section h2 {
    font-family: 'Delight', serif;
    font-weight: 300;
}

nav h2 {
    font-family: 'Delight', serif;
    font-weight: 700;
}

/* END FONT */

:root {
    --color-accent: #7F52FF;
    --color-accent-soft: #F1EDFF;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
}

.blob-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    left: -5%;
    background: #7F52FF;
}

.blob-2 {
    width: 550px;
    height: 550px;
    bottom: -15%;
    right: -8%;
    background: #FF7A59;
}



@media (prefers-reduced-motion: reduce) {
    .blob {
        animation: none !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}



body {
    background-color: #fdfcff;
    color: #222222;
    font-family: 'Delight', Arial, sans-serif;
    overflow-x: hidden;
}

/* HEADER */

header {
    padding: 12px 60px;
}

/* NAVIGATION */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h2 {
    font-size: 24px;
}


.nav-links {
    display: flex;
    gap: 8px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #222222;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}


nav a {
    display: inline-block;
    color: #222222;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}


/* HERO */
main {
    padding: 120px 60px;
}


.hero-wrapper section:first-child {
    max-width: 950px;
    margin: 0 auto 48px auto;
    text-align: center;
}



main section p:first-child {
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    color: #666666;
}

.about-title p:first-child,
.skills-header p:first-child,
.projects-header p:first-child,
.contact-header p:first-child {
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    color: #666666;
    font-size: 14px;
}



main h1 {
    font-size: clamp(30px, 7vw, 68px);
    font-weight: normal;
    margin-bottom: 24px;
    white-space: nowrap;
    letter-spacing: -0.015em;
}

main section p {
    font-size: 18px;
    line-height: 1.6;
}


/* BUTTON */



.project-button {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 24px;

    border-radius: 8px;

    background-color: #222222;
    color: white;

    font-size: 16px;
    text-decoration: none;
}

.project-button:hover {
    opacity: 0.8;
}

/* FOOTER */
footer {
    padding: 40px 60px;
}


/* ABOUT */
.about {
    padding: 120px 0;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 150px;
}

.about-title {
    flex: 1;
}

.about-title p {
    font-size: 18px;
    margin-bottom: 16px;
}

.about-title h2 {
    font-size: 40px;
    line-height: 1.2;
}

.about-description {
    flex: 1;
}

.about-description p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}


/* SKILLS */
.skills {
    padding: 120px 0;
}

.skills-header {
    margin-bottom: 60px;
}

.skills-header p {
    font-size: 18px;
    margin-bottom: 16px;
}

.skills-header h2 {
    font-size: 40px;
    line-height: 1.2;
    max-width: 600px;
}



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


.skill-item {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 32px;
    border-radius: 12px;
    border-left: 3px solid var(--color-accent);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.skill-item:hover {
    transform: translateX(4px);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 24px rgba(127, 82, 255, 0.12);
}

.skill-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.skill-item p {
    font-size: 16px;
    line-height: 1.6;
}


/* PROJECTS */


.projects {
    padding: 120px 0;
}

.projects-header {
    margin-bottom: 60px;
}

.projects-header p {
    font-size: 18px;
    margin-bottom: 16px;
}

.projects-header h2 {
    font-size: 40px;
    line-height: 1.2;
    max-width: 600px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: #222222;
}


.project-item {
    background-color: #ffffff;
    padding: 40px;
    min-height: 520px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
}


.project-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: transparent;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.project-info>p {
    font-size: 14px;
    line-height: 1.5;
}


/* chip project */
.project-tech {
    margin-top: 16px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
}

.project-info a {
    color: #222222;
    text-decoration: none;
    font-size: 16px;
}



.project-item {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 24px;
    min-height: 380px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;

    position: relative;
    overflow: hidden;
}

.project-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%),
            rgba(127, 82, 255, 0.16),
            transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}


.project-item:hover::before {
    opacity: 1;
}

.project-image,
.project-info {
    position: relative;
    z-index: 1;
}

/* end glass hover */



.project-item:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 16px 40px rgba(127, 82, 255, 0.16), 0 4px 10px rgba(0, 0, 0, 0.06);
}

.project-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.06);
}

.project-number {
    font-family: var(--font-mono);
    color: var(--color-accent);
    font-size: 14px !important;
    margin-bottom: 40px !important;
}

.project-link {
    display: inline-block;
    margin-top: auto;

    color: #222222;
    text-decoration: none;
    font-size: 16px;
}

.project-link:hover {
    text-decoration: underline;
}

/* CONTACT */

.contact {
    padding: 120px 0;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 150px;
}

.contact-header {
    flex: 1;
}

.contact-header p {
    font-size: 18px;
    margin-bottom: 16px;
}

.contact-header h2 {
    font-size: 40px;
    line-height: 1.2;
}

.contact-description {
    flex: 1;
}

.contact-description>p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 32px;
}

.contact-links a {
    color: #222222;
    text-decoration: none;
    font-size: 16px;
}

.contact-links a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width : 768px) {

    .blob {
        filter: blur(80px);
        opacity: 0.18;
    }

    body {
        background-attachment: scroll;
    }

    /* HEADER */
    header {
        padding: 24px;
    }



    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 4px;
        position: absolute;
        top: calc(100% + 16px);
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 8px;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }

    .nav-links a.active {
        background-color: var(--color-accent-soft);
        color: var(--color-accent);
    }

    .nav-links a:hover {
        background-color: var(--color-accent-soft);
        color: var(--color-accent);
    }

    nav a {
        font-size: 14px;
    }

    /* MAIN */
    main {
        padding: 80px 24px;
    }



    .hero-wrapper section:first-child {
        max-width: 100%;
    }




    main h1 {
        font-size: clamp(30px, 9vw, 42px);
        white-space: normal;
        word-break: keep-all;
    }

    main section p {
        font-size: 16px;
    }

    /* ABOUT */
    .about {
        padding: 80px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-title h2 {
        font-size: 36px;
    }

    .about-description p {
        font-size: 16px;
    }

    /* SKILLS */
    .skills {
        padding: 80px 0;
    }

    .skills-header {
        margin-bottom: 40px;
    }

    .skills-header h2 {
        font-size: 36px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-item {
        padding: 24px;
    }

    .skill-item h3 {
        font-size: 20px;
    }

    .skill-item p {
        font-size: 15px;
    }

    /* PROJECTS */

    .projects {
        padding: 80px 0;
    }

    .projects-header {
        margin-bottom: 40px;
    }

    .projects-header h2 {
        font-size: 36px;
    }

    .projects-grid {
        display: flex;
        grid-template-columns: unset;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 4px 24px 20px 24px;
        margin: 0 -24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .projects-grid::-webkit-scrollbar {
        display: none;
    }

    .projects-grid .project-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        min-height: auto;
    }

    .project-item {
        padding: 24px;
        min-height: 480px;
    }

    .project-image {
        height: 180px;
        margin-bottom: 24px;
    }

    .project-number {
        margin-bottom: 24px !important;
    }

    .project-info h3 {
        font-size: 24px;
    }

    .project-info>p {
        font-size: 15px;
    }

    .project-tech {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* CONTACT */

    .contact {
        padding: 80px 0;
    }

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .contact-header h2 {
        font-size: 36px;
    }

    .contact-description>p {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .contact-links {
        gap: 24px;
        flex-wrap: wrap;
    }

    .contact-links a {
        font-size: 15px;
    }

    .tech-icon-grid {
        gap: 28px 32px;
    }

    .tech-icon i {
        font-size: 36px;
    }

    .skills-toggle {
        max-width: 280px;
    }

    .toggle-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* diagonal */

    .marquee-section {
        height: 140px;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .marquee-dark {
        transform: translateY(-50%) rotate(-3deg);
    }

    .marquee-light {
        transform: translateY(-50%) rotate(3deg);
    }

    .marquee-track span {
        font-size: 14px;
    }

    .hero-wrapper {
        min-height: calc(100vh - 90px);
        margin-top: -80px;
        padding-top: 80px;
        padding-bottom: 160px;
    }

    .hero-wrapper section:first-child {
        margin-bottom: 24px;
    }



    /* EXPERIENCE */
    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-icon {
        left: -40px;
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .timeline-content {
        padding: 18px 20px;
    }

    /* END EXPERIENCE */
}

/* Smooth scroll event nav clicked */
html {
    scroll-behavior: smooth;
}



nav a.active {
    font-weight: bold;
    color: var(--color-accent);
}


nav a:hover:not(.active) {
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
    transform: translateY(-1px);
}

/* scrol */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transfowm 0.6s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* header trsnform */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}



header.scrolled {
    background-color: rgba(247, 246, 251, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* togle button */
.skills-toggle {
    position: relative;
    display: inline-flex;
    width: 100%;
    max-width: 320px;
    margin-top: 24px;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: #ffffff;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}


.toggle-btn {
    position: relative;
    z-index: 2;
    border: none;
    background: transparent;
    padding: 10px 32px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: #666666;
    cursor: pointer;
    border-radius: 999px;
    transition: color 0.3s ease;
}

.toggle-btn.active {
    color: #ffffff;
}

.toggle-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background-color: var(--color-accent);
    border-radius: 999px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.toggle-indicator.tools {
    transform: translateX(100%);
}

.skills-grid.hidden {
    display: none;
}

.toggle-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    background: transparent;
    padding: 10px 25px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    border-radius: 999px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.toggle-btn i {
    font-size: 15px;
}

.toggle-btn.active {
    color: #ffffff;
}

.toggle-btn:hover:not(.active) {
    color: var(--color-accent);
}

.toggle-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background-color: var(--color-accent);
    border-radius: 999px;
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
}

/* tools icon */

.skills-subtitle {
    font-size: 16px;
    color: #666666;
    max-width: 500px;
    margin-top: 12px;
}

.tech-icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 56px;
    margin-top: 60px;
}

.tech-icon-grid.hidden {
    display: none;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 72px;
}

.tech-icon i {
    font-size: 48px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 0 transparent);
}

.tech-icon:hover i {
    transform: translateY(-6px) scale(1.1);
    filter: drop-shadow(0 10px 16px var(--glow, rgba(0, 0, 0, 0.25)));
}

.tech-icon span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #888888;
    text-align: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.tech-icon:hover span {
    opacity: 1;
    transform: translateY(0);
    color: var(--glow, var(--color-accent));
}

/* badge icon */
.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-icon:hover .badge-icon {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 10px 20px -4px var(--glow, rgba(0, 0, 0, 0.25));
}

.accent-text {
    color: var(--color-accent);
}

/* manual icon tech */
.tech-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.tech-icon:hover .tech-icon-img {
    transform: translateY(-6px) scale(1.1);
    filter: drop-shadow(0 10px 16px var(--glow, rgba(0, 0, 0, 0.25)));
}


/* diagional */

.marquee-section {
    position: relative;
    width: 110vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 190px;
    margin-top: 100px;
    margin-bottom: 100px;
    overflow: hidden;
}

.marquee-wrap {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 18px 0;
}

.marquee-dark {
    background-color: var(--color-accent);
    transform: translateY(-50%) rotate(-4deg);
    z-index: 2;
}

.marquee-light {
    background-color: #ffffff;
    border-top: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: translateY(-50%) rotate(4deg);
    z-index: 1;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    animation: marquee-scroll 18s linear infinite;
}

.marquee-track.reverse {
    animation-direction: reverse;
    animation-duration: 12s;
}

.marquee-track span {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.marquee-dark .marquee-track span {
    color: #ffffff;
}

.marquee-light .marquee-track span {
    color: var(--color-accent);
}

.marquee-track .dot {
    font-size: 8px;
    opacity: 0.6;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-20%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

section[id] {
    scroll-margin-top: 100px;
}

/* typewriter */
.hero-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-fade-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.hero-blur-in {
    opacity: 0;
    filter: blur(8px);
    animation: heroBlurIn 0.8s ease forwards;
}

@keyframes heroBlurIn {
    to {
        opacity: 1;
        filter: blur(0);
    }
}


.hero-wrapper {
    position: relative;
    min-height: calc(100vh - 100px);
    margin-top: -120px;
    padding-top: 120px;
    padding-bottom: 220px;
    display: flex;
    align-items: center;
}



.hero-wrapper .marquee-section {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0px;
}

@keyframes wordReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* EXPERIENCE */


.experience {
    padding: 120px 0;
}

.experience-header {
    margin-bottom: 60px;
}

.experience-header h2 {
    font-size: 40px;
    line-height: 1.2;
    max-width: 600px;
}

.timeline {
    position: relative;
    max-width: 800px;
    padding-left: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--color-accent-soft);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -48px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--glow, var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--glow, var(--color-accent));
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}



.timeline-content {
    position: relative;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;

    padding: 24px 28px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}



.timeline-content::before {
    content: '';
    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    background: var(--glow);
    opacity: 0.08;

    filter: blur(45px);

    pointer-events: none;
    transition: opacity 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(6px);

    background: rgba(255, 255, 255, 0.52);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.07),
        0 8px 24px color-mix(in srgb,
            var(--glow) 12%,
            transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.timeline-content:hover::before {
    opacity: 0.16;
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--glow, var(--color-accent));
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 15px;
    font-weight: 600;
    color: #666666;
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 16px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}



/* END EXPERIENCE */


.contact-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #222222;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.contact-link:hover {
    color: var(--color-accent);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-icon i {
    color: var(--glow, var(--color-accent));
}

.contact-link:hover .contact-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px -4px var(--glow, rgba(127, 82, 255, 0.3));
}

.contact-arrow {
    font-size: 13px;
    opacity: 0.5;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.contact-link:hover .contact-arrow {
    transform: translate(2px, -2px);
    opacity: 1;
}

.contact-icon {
    background: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: auto;
    height: auto;
    font-size: 20px;
}



/* DETAIL PROJECT CSS */
.project-detail {
    padding: 60px 0 100px;
}

.project-page main {
    padding-top: 80px;
}

.project-page .project-detail {
    padding-top: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #222222;
    text-decoration: none;
    font-size: 15px;
}

.back-link:hover {
    color: var(--color-accent);
}

.detail-eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.project-detail h1 {
    font-size: 42px;
    margin-bottom: 32px;
}

.detail-image {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.detail-main h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

.detail-main p {
    font-size: 16px;
    line-height: 1.7;
    color: #444444;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.detail-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888888;
    margin-bottom: 8px;
}

.project-page nav {
    flex-wrap: nowrap;
}

.project-page .back-link {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .detail-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .detail-image {
        height: 220px;
    }

    .project-detail h1 {
        font-size: 32px;
    }

    .project-page main {
        padding-top: 80px;
    }

    .project-page nav h2 {
        font-size: 16px;
    }

    .project-page .back-link {
        font-size: 13px;
    }

    .project-page .back-link i {
        margin-right: 2px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

}



/* PROJECT DETAIL — RICH SECTIONS */
.detail-section {
    margin-bottom: 56px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.detail-section .section-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 20px;
}

#detailDescription {
    font-size: 16px;
    line-height: 1.7;
    color: #444444;
}

.detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent);
}

.detail-list li strong {
    color: #222222;
    font-weight: 600;
}

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

.solution-card {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 20px;
}

.solution-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--color-accent);
}

.solution-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    background-color: var(--color-accent-soft);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.step-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

.role-title {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 16px;
    margin-bottom: 8px;
}


.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: #ffffff;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(127, 82, 255, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
    z-index: 200;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background-color: #6a3ff0;
    box-shadow: 0 12px 32px rgba(127, 82, 255, 0.45);
    transform: translateY(-4px) scale(1.05);
}

.back-to-top:active {
    transform: translateY(-1px) scale(0.95);
}

.back-to-top i {
    transition: transform 0.25s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}



.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 14px 18px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.feature-item:hover {
    transform: translateX(4px);
    background-color: rgba(255, 255, 255, 0.7);
}

.feature-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 14px 18px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.feature-item:hover {
    transform: translateX(4px);
    background-color: rgba(255, 255, 255, 0.7);
}

.feature-icon {
    font-size: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
}


/* END DETAIL PROJECT */


/* PROJECTS PAGE */
.view-all-wrapper {
    text-align: center;
    margin-top: 48px;
}

.projects h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.detail-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-button-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.project-button-outline:hover {
    background-color: var(--color-accent-soft);
    opacity: 1;
}

/* END PROJECTS PAGE */