/* Projects Header */
.projects-header {
    text-align: center;
    padding: 50px 20px;
}

.projects-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

/* Projects Content */
.projects-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}


/* Project Section */
.projects-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 50px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Project Cards with Background Image */
.project-card {
    position: relative;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Slight scale effect on hover */
.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Overlay Effect */
.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.7) 100%);
    transition: opacity 0.3s;
}

/* Card Text */
.project-card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 2;
}

.project-card h3 {
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
}

.project-card p {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}

/* Read More Link */
.project-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
    color: cyan;
    transition: color 0.3s;
}

.project-card a:hover {
    color: white;
}
