.projects-section {
    padding: 50px 20px;
    background: #fff;
}

.projects-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #283e51;
    margin-bottom: 20px;
}

.projects-section p {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 10px;
}

.project-card {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    margin: 20px;
    /* margin-bottom: 15px; */
    /* margin: 0 auto; */
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.imageDiv{
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.27s ease-in-out;
}

.project-card img:hover {   
    transform: scale(1.1);
}

.project-card-content {
    background-color: rgb(238, 236, 236);
    padding: 20px;
}

.project-card-content a{
    top: 20px;
}

.htmgmt{
    height: 51px;
}

.project-card h3 {
    font-size: 1.5rem;
    color: #283e51;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    text-align: left;
}

.project-card a {
    text-decoration: none;
    color: #4b79a1;
    font-weight: bold;
}

.project-card a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-section h2 {
        font-size: 2rem;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .project-card p {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .projects-section h2 {
        font-size: 1.8rem;
    }

    .project-card img {
        height: 200px;
    }

    .project-card p {
        height: auto;
        margin-bottom: 20px;
    }
}