:root {
    --color-light-blue: #0080FF;
    --color-dark-blue: #0019A6;
    --color-white: #FAF9F6;
    --color-gray: #807F7F;
    --color-black: #1E1E1E;
    --weight-regular: 400;
    --weight-bold: 700;
    --weight-black: 850;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-white);
}

.project-content {
    position: relative;
    margin: 120px auto 0;
    width: min(90%, 1200px);
    padding: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.project-content h1 {
    color: var(--color-black);
    font-size: 40px;
    font-weight: var(--weight-bold);
    margin-bottom: 20px;
}

.project-content p {
    color: var(--color-black);
    font-size: 19px;
    padding: 0 10px;
    line-height: 1.5;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s;
}

.project-card:hover {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.project-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.project-card img:hover {
    filter: grayscale(0%);
}

.project-card h3 {
    padding: 15px;
    margin: 0;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-black);
}


.back-btn-fixed {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--color-black);
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
}

.back-btn-fixed:hover {
    background: #555;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .project-content {
        padding: 0px;
    }
}