body {
    margin: 0 auto;
    display: block;
    height: 120vh;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: normal;
    color: var(--alabaster-grey);

    --ink-black: #0d1b2aff;
    --prussian-blue: #1b263bff;
    --dusk-blue: #415a77ff;
    --dusty-denim: #778da9ff;
    --alabaster-grey: #e0e1ddff;
}

header {
    height: auto;
    background-color: var(--ink-black);
    padding: 20px;
}

nav {
    position: fixed;
    width: 100%;
    padding: 20px;
    place-items: center;
    background-color: var(--prussian-blue);
    z-index: 4;
}

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

.nav-container a {
    color: var(--alabaster-grey);
    text-decoration: none;
}

.nav-container a:hover {
    color: var(--dusty-denim);
}

.header-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.header-container .profile-section {
    width: 20%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.header-container .profile-links {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.header-container .profile-section a{
    color: var(--alabaster-grey);
    text-decoration: none;
}

.header-container .profile-section a:hover{
    color: var(--dusty-denim);
}

.header-container .profile-section .profile-picture img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: solid 2px var(--alabaster-grey);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-container .description-section {
    width: 80%;
    padding: 10px;
    align-content: center;
}

.education-container .background-image {
    width: 100%;
    height: 50vh;
    background-image: url('../assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.section-title {
    padding: 20px;
}

.education-background {
    display: block;
    color: var(--alabaster-grey);
    z-index: 2;
}

.education-card {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.logo img{
    width: 100%;
    height: auto;
}

.logo {
    width: 150px;
}

.education-info {
    width: 600px;
}

.skills-container {
    width: auto;
    height: auto;
    background-color: var(--ink-black);
}

.skills-cards {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    width: 300px;
}

.logo-grid img {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.logo-grid img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px var(--dusty-denim, 0.4));
}

.skills-card {
    text-align: center;
    padding: 25px;
    background: var(--prussian-blue);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    gap: 10px;
}

.skills-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    transform: scale(1.05);
}

.project-container {
    width: auto;
    min-height: 65vh;
    padding-bottom: 40px;
    background-color: var(--ink-black);
}

.project-cards {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.projects-flex-container {
    display: flex;
    width: 100%;
    height: 350px; 
}

.project-card {
    flex: 1;
    height: 60vh; 
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) blur(4px); 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                filter 0.6s ease;
    z-index: 0;
}

.project-card:hover::before {
    filter: brightness(1) blur(0px); 
}

.projects-flex-container:hover .project-card {
    flex: 0.5; 
    opacity: 0.6;
}

.projects-flex-container .project-card:hover {
    flex: 4; 
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%; 
    text-align: center;
    transition: all 0.5s ease;
}

.project-logo {
    width: 120px;
    height: 120px;
    min-width: 120px;
    margin-bottom: 10px; 
    transition: all 0.5s ease;
}

.text-content {
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.project-card:hover .text-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding: 10px;
    border-radius: 10px;
}

.project-card h3 {
    margin: 0 0 5px 0; 
    white-space: nowrap;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    font-size: 1.6rem;
    color: #ffffff;
}

.project-card .desc, 
.project-card .stack-tags {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
}

.project-card:hover .desc, 
.project-card:hover .stack-tags {
    opacity: 1;
    position: relative;
    transform: translateY(0);
}


.stack-tags span {
    background: #00d4ff;
    color: #000;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    margin: 0 3px;
}

.project-card:hover .card-content .over{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.8);
}

.project-card:hover .over {
    padding: 30px;
    flex-direction: row;
    gap: 30px;
    text-align: left;
}

.contact-container {
    padding: 80px 5%;
    background-color: var(--ink-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.contact-form {
    width: 100%; 
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    width: 100%;
}

.form-group input, 
.form-group textarea {
    width: 100%; 
    padding: 18px;
    background: var(--ink-black);
    border: 1px solid var(--dusk-blue);
    border-radius: 8px;
    color: var(--alabaster-grey);
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box; 
    transition: all 0.3s ease;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--alabaster-grey);
    color: var(--ink-black);
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cybersekyu-card::before {
    background-image: url('../assets/img1.png');
}

.dreamhome-card::before {
    background-image: url('../assets/img2.png');
}

.nova-card::before {
    background-image: url('../assets/img3.png');
}

.sqlisense-card::before {
    background-image: url('../assets/img4.png');
}

.rave-card::before {
    background-image: url('../assets/img5.png');
}

@media (max-width: 748px) {
    .header-container {
        flex-direction: column;
    }
    .header-container .profile-section {
        width: 80%;
    }

    .education-card {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .education-container .background-image {
        height: 90vh;
    }

    .skills-cards {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
}


.hidden-project {
    display: none !important;
}

.view-more-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.view-more-btn {
    padding: 12px 30px;
    background: var(--alabaster-grey);
    color: var(--ink-black);
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    margin-top: 100px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.view-more-btn:hover {
    background: var(--dusty-denim);
    color: var(--alabaster-grey);
    transform: scale(1.05);
}

.skill-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skill-label {
    display: none; 
}

.list-mode-active .skills-cards {
    align-items: center;
}

.list-mode-active .skills-card {
    width: 60%; 
    max-width: 300px;
    height: 55vh;
    text-align: left; 
}

.list-mode-active .logo-grid {
    display: flex;
    flex-direction: column; 
    width: 100%;
    gap: 0;
}

.list-mode-active .skill-item {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(224, 225, 221, 0.1); 
}

.list-mode-active .skill-item:last-child {
    border-bottom: none;
}

.list-mode-active .skill-item svg {
    display: none; 
}

.list-mode-active .skill-label {
    display: block; 
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--alabaster-grey);
}