body {
    font-family: 'Arial', sans-serif;
    background: url('/Image/CurrentProjects/bg-01.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    backdrop-filter: blur(3px);
}

.page-container {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.header {
    text-align: center;
    padding-bottom: 20px;
}

    .header h1 {
        font-size: 36px;
        font-weight: bold;
        color: rgb(255, 101, 0);
    }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .project-card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .project-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 15px;
    }

.project-title {
    font-size: 24px;
    color: #0056b3;
    margin-bottom: 10px;
}

.project-details {
    margin-top: 15px;
}

    .project-details span {
        display: block;
        margin-bottom: 5px;
        font-size: 16px;
        color: #555;
    }

        .project-details span strong {
            color: #333;
        }

.project-year {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0056b3;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 10;
}

/* Fade-in effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .header h1 {
        font-size: 32px;
    }

    .project-title {
        font-size: 22px;
    }

    .project-details span {
        font-size: 15px;
    }


    .page-container {
        padding: 15px;
        margin: 500px auto 30px auto;
    }

    .project-card img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 28px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-details span {
        font-size: 14px;
    }

    .page-container {
        padding: 10px;
        margin: 500px auto 20px auto;
    }

    .project-card img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 24px;
    }

    .project-title {
        font-size: 18px;
    }

    .project-details span {
        font-size: 13px;
    }

    .page-container {
        padding: 5px;
        margin: 500px auto 10px auto;
    }

    .project-card img {
        height: 140px;
    }

    .project-year {
        font-size: 12px;
        padding: 3px 8px;
    }
}
