body {
    font-family: "Figtree", serif !important;
    background-image: url('/assets/bg-1.png'), url('assets/bg-2.png');
    background-attachment:fixed;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    cursor: url("/assets/cursor.png"), auto;
    /* background-color: #000; */
}


/* - NAVIGATION BAR - */
.navbar {
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 4;
    height: 70px;
    transition: transform 0.3s ease-in-out;
}

.navbar.scrolled {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile scrolled navbar */
@media (max-width: 850px) {
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.nav-logo {
    height: 54px;
    margin: auto 0; /* Vertically middle align */
    padding: 0px 20px;
    z-index: 5;
    /* background-color: #000; */
}

.nav-links {
    color: #000;
    text-decoration: none; /* Remove underline from links */
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .nav-links {
    color: #333;
    text-shadow: none;
}

.nav-links-container {
    display: flex;
    gap: 30px;
    padding: 0 30px;
    align-items: center;
}

.nav-links:hover {
    color: #727272;
}

.navbar.scrolled .nav-links:hover {
    color: #727272;
}
.navbar .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 6;
    margin-right: 20px;
}

.navbar .hamburger div {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 4px 0;
    transition: 0.4s;
}

.navbar .hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 6px);
}

.navbar .hamburger.active div:nth-child(2) {
    opacity: 0;
}

.navbar .hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -6px);
}


.navbar .nav-links-container.active {
    display: flex;
}
/* - END NAVBAR - */

/* - HOME SECTION - */
#home {
    height: 80vh; 
    margin-top: 15vh;
    margin-bottom: 0;
}
#home h1 {
    /* font-size: 10vh; */
    font-size: 64px;
    font-weight: 400;
}
#home h2 {
    /* font-size: 8vh; */
    font-size: 64px;
    font-weight: 400;
    /* font-weight: 500; */
}
#home h3 {
    /* font-size: 4vh; */
    font-size: 32px;
    line-height: 1.2;
}

.btn-primary {
    margin-top: 5vh;
    border-radius: 100px;
    border: 1px solid #000;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    font: 'Figtree';
    gap: 20px;
    margin-right: 1vh;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary-large {
    margin-top: 3vh;
    border-radius: 100px;
    border: 1px solid #000;
    padding: 12px 15px;
    font: 'Figtree';
    font-size: 16px;
    gap: 20px;
    margin-right: 1vh;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover,
.btn-primary-large:hover {
    transform: scale(1.02);
}

.text-column {
    padding-left: 8vh;
    padding-top: 10vh;
}

.name-container {
    margin-top: -4%;
    display: flex;
    gap: 3vh;
}
  
.change-text {
    font-size: 12vh;
    animation-name: fontChange;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}
  
  @keyframes fontChange {
    0% {
      font-family: 'Jacquard 24', static;
    }
    60% {
      font-family: 'Pixelify Sans', static;
    }
    100% {
      font-family: 'Jacquarda Bastarda 9', static;
    }
  }

.image-column {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    animation: float 3s ease-in-out infinite;
    }

@keyframes float {
    0% {
        transform: translateY(0);
        }

        50% {
        transform: translateY(-10px);
        }

        100% {
            transform: translateY(0);
        }
        }


/* - ABOUT SECTION - */
#about h1 {
    /* font-size: 6vh; */
    font-size: 48px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
}
#about h2 {
    /* font-size: 4vh; */
    font-size: 35px;
    font-weight: 400;
    /* font-weight: 500; */
}
#about h3 {
    /* font-size: 2.5vh; */
    font-size: 20px !important;
    /* line-height: 1.2; */
}
.tech-container {
    padding-left: 8vh;
    padding-right: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#tab-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-left: 8vh;
    padding-right: 8vh;
}

#tab-content img {
    width: 100px;
    height: 100px;
    position: relative;
    /* animation: float 8s ease-in-out infinite; */
    transition: 0.2s ease-in-out;

}

#tab-content img:hover{
    transform: scale(1.05);
}

#tab-content [data-tab="others"] {
    align-items: center;
}

.timeline {
    /* border-left: 2px solid #0073FF; */
    padding-left: 20px;
    margin: 20px 0;
    margin-left: 15%;
    margin-right: 15%;
}


/* - PROJECT TOGGLE - */
.project-toggle-container {
    padding-left: 8vh;
    padding-right: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2vh;
}

.project-overview {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    column-gap: 4vh;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 4vh;
    min-height: 6vh;
    margin-top: 2vh;
    transition: all 0.3s ease;
    position: relative;
}

.project-overview.hidden {
    display: none;
}

.project-description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .btn-container {
        margin-top: auto;
        padding-top: 2vh;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }


#projects {
    height: 80vh; 
    margin-top: 10vh;
    margin-bottom: 20vh;
}

#projects h1 {
    /* font-size: 6vh; */
    font-size: 48px;
    display: flex;
    justify-content: center;
    align-items: center;

}
#projects h2 {
    /* font-size: 4vh; */
    font-size: 32px;
    /* font-weight: 500; */
}
#projects h3 {
    /* font-size: 2.5vh; */
    font-size: 16px;
}
#projects p {
    font-size: 16px;
    /* font-weight: 400; */
    /* line-height: 1.5; */
}
.projects-container {
    margin-top: 10px;
    padding-left: 8vh;
    padding-right: 8vh;
    /* display: flex;
    flex-wrap: wrap; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tags {
    outline: #000;
    border-radius: 8px;
    display: flex; /* Ensure labels are displayed in a row */
    gap: 5px; /* Space between labels */
    /* padding: 5px; Add some padding around the labels */
}

.tags label {
    /* border: 1px solid #000; Black outline for each label */
    border-radius: 10px; /* Rounded corners for each label */
    padding: 3px 8px; /* Padding inside each label */
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 12px;
}

.topic-lb {
    /* background: linear-gradient(to right, #ffbca8, #e15f37); */
    background: linear-gradient(to right, #7acaff, #1182ce);
    color: white;
}

.lang-lb {
    background: linear-gradient(to right, #80ff77, #00c52e);
    color: white;
}

.fw-lb {
    background: linear-gradient(to right, #ffcc55, #eba500);
    color: white;
}

.sw-lb {
    background: linear-gradient(to right, #B2B6FF, #7E63EB);
    color: white;
}

.button-project {
    /* border: 1px solid #000; Black outline for each label */
    /* border-radius: 10px; Rounded corners for each label */
    padding: 5px 0px; /* Padding inside each label */
    margin-top: 5px;
    margin-bottom: 15px;
    color: #969696;
    font-weight: 600;
}
.button-project:hover {
    color: #3e3e3e;
    transition: color 0.3s ease-in-out;
}

.title-project {
    /* border: 1px solid #000; Black outline for each label */
    /* border-radius: 10px; Rounded corners for each label */
    padding: 5px 0px; /* Padding inside each label */
    margin-top: 5px;
    margin-bottom: 15px;
    color: #212121;
    font-weight: 550;
}
.title-project:hover {
    color: #999999;
    transition: color 0.3s ease-in-out;
}


.project-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    /* width: calc(33% - 20px); Three cards per row */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease-in-out;
}

.profile-asset {
    display: none;
}


/* MOBILE */
@media (max-width: 850px) {

    /* body{
        background-color: #1182ce !important;
    } */

    .navbar .nav-links-container {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.85);
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 20px 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 0 0 20px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar .nav-links-container.active {
        display: flex !important; /* Force display when active */
        transform: translateY(0);
        opacity: 1;
    }

    .navbar .nav-links {
        padding: 15px 20px;
        text-align: center;
        font-size: 18px;
        font-weight: 500;
        color: #333;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0 10px;
    }

    .navbar .nav-links:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: #007bff;
        transform: translateX(5px);
    }

    .navbar .hamburger {
        display: flex;
        padding: 8px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }

    .navbar .hamburger:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    /* Mobile navbar backdrop overlay - removed dark overlay */

    /* --- HOME --- */
    #home {
        margin-top: 7vh;
        margin-bottom: 10vh !important;
    }

    .home-container {
        flex-direction: column;
    }
    .image-column {
        display: none; /* Hide the image on mobile */
    }
    #home h1 {
        /* font-size: 5vh;  */
        font-size: 40px;
        text-align: center;
        font-weight: 400;
    }
    #home h2 {
        /* font-size: 5vh; */
        font-size: 40px;
        text-align: center;
        font-weight: 400;
    }
    #home h3 {
        font-size: 18px; /* Adjust heading size */
        text-align: center;
        padding-left: 6vh;
        padding-right: 6vh;
        padding-bottom: 1vh;
    }
    .text-column {
        padding: 2vh;
        margin-top: 4vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .profile-asset { 
        display: inline;
        padding-left: 4vh;
        padding-right: 4vh;
        margin-top: 0vh;
        position: relative;
        animation: float 3s ease-in-out infinite;
    }
    .btn-primary {
        align-self: center;
        margin-top: 1.5vh !important;
        font-size: 18px;
        padding: 7px;
    }

    /* --- ABOUT --- */
    #about {
        margin-top: 30vh;
        padding-top: 10vh !important;
        margin-bottom: 0;
    }
    .about-img-container {
        flex-direction: column;
    }
    .abt-text-column{
        padding: 4vh;
    }
    .abt-image-column{
        display: none;
    }
    #about h1 {
        /* font-size: 5vh; */
        font-size: 40px;
        padding-left: 1.5vh;
    }
    #about h2 {
        /* font-size: 5vh; */
        font-size: 40px;
        padding-left: 1.5vh;

    }
    #about h3 {
        font-size: 18px !important; 
        padding-left: 1vh;
        padding-right: 1vh;
    }
    #about p {
        font-size: 18px;
    }
    .slider {
        margin-top: 4vh;
    }

    .tech-container{
        padding-left: 1.5vh;
        padding-right: 1.5vh;
    }

    .tab {
        font-size: 12px;
    }

    #tab-content{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 12px;
        justify-items: center;
        align-items: center;
        max-width: 100%;
    }

    #tab-content img {
        min-width: auto;
        min-height: auto;
        max-width: 60px;
        max-height: 60px;
        position: relative;
        /* animation: float 8s ease-in-out infinite; */
        transition: 0.2s ease-in-out;
    
    }
    
    #tab-content img:hover{
        transform: scale(1.05);
    }




    /* --- PROJECT --- */
    #projects {
        margin-top: 5vh;
        padding-left: 1.5vh;
        padding-right: 1.5vh;
    }

    #projects h1 {
        font-size: 40px !important;
        padding-top: 2vh;
        padding-left: 2vh;
    }
    #projects h2 {
        font-size: 30px !important;
        padding-left: 0;
    }
    #projects p {
        font-size: 16px !important;
        line-height: 1.4;
        text-align: justify;
    }

    #projects .best-works {
        padding-left: 2vh !important;
        padding-right: 2vh !important;
    }


    #projects .projects-overview {
        flex-direction: column !important;
    }

    .button-project {
        padding: 5px; 
        font-size: 18px;
    }

    .project-overview {
        flex-direction: column !important;
        row-gap: 2vh;
    }

    .project-image,
    .project-description {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding-right: 0 !important;
    }

    .project-image img {
        height: auto;
    }

    .nav-links-container {
        flex-direction: column; 
        gap: 10px; 
    }
    .project-card {
        width: 100%;
    }

    .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
    }

    .tags label {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Mobile project toggle */
    .project-toggle-container {
        padding-left: 2vh !important;
        padding-right: 2vh !important;
        position: relative;
        overflow: hidden !important;
    }


    .project-toggle-container .project-toggle-ul {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* Internet Explorer 10+ */
        padding-left: 2vh !important;
        padding-right: 2vh !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    .project-toggle-container .project-toggle-ul::-webkit-scrollbar {
        display: none !important; /* WebKit */
    }

    .project-toggle-container li {
        flex-shrink: 0 !important;
    }

    #projects .tab {
        white-space: nowrap !important;
        padding: 8px 12px !important;
        border-bottom: 2px solid transparent !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    #projects .tab.text-blue-600 {
        border-bottom-color: #2563eb !important;
    }

    /* Mobile button fixes */
    .btn-container {
        flex-direction: column;
        gap: 8px;
        padding-top: 1vh;
    }

    .btn-line {
        width: 100%;
        text-align: center;
        padding: 8px 16px;
        font-size: 14px;
        margin: 0 4px;
    }

    .btn-line span {
        padding-right: 0 !important;
        justify-content: center;
    }


}

/* TABLET */
@media (min-width: 850px) and (max-width: 1250px) {
    
    /* body{
        background-color: #727272 !important;
    } */
    #home {
        margin-top: 20vh;
    }
    #home h1 {
        font-size: 48px;
        /* font-weight: 600; */
    }
    #home h2 {
        font-size: 48px;
    }
    #home h3 {
        font-size: 24px;
    }
    #home p {
        font-size: 24x;
    }
    #home img {
        margin-top: 5vh;
    }
    .text-column {
        padding-right: 3px !important;
    }
    .tags {
        display: block !important;
        margin-bottom: 10px;
    }

    .abt-text-column{
        padding-top: 1 !important;
        padding-right: 8vh !important;
    }

    .abt-image-column{
        flex: 0 !important;
    }

    /* ABOUT */

    #tab-content{
        column-gap: 8px;
        row-gap: 8px;
    }

    #tab-content img {
        min-width: auto;
        min-height: auto;
        max-width: 75px;
        max-height: 75px;
        position: relative;
        /* animation: float 8s ease-in-out infinite; */
        transition: 0.2s ease-in-out;
    
    }
    
    #tab-content img:hover{
        transform: scale(1.05);
    }

    /* PROJECT */
    #projects h1, #about h1 {
        font-size: 38px;
        font-weight: 400;
    }
    #projects h2 {
        font-size: 24px;
        font-weight: medium;
    }
    #projects p {
        font-size: 16px;
    }
}

/* - END STYLES - */