/* ===== CONTAINER ===== */
.projects-container {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 15px;
}

/* HEADER */
.projects-header {
    text-align: center;
    margin-bottom: 40px;
}

.projects-header h2 {
    font-size: 32px;
    color: #0b1f3a;
}

.projects-header p {
    color: #555;
}

/* ===== GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* CARD */
.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
}

/* IMAGE */
.project-img {
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.4s;
}

/* OVERLAY */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: 0.4s;
}

.overlay a {
    background: #facc15;
    padding: 10px 20px;
    border-radius: 6px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    transform: translateY(20px);
    transition: 0.3s;
}

/* HOVER EFFECT */
.project-img:hover img {
    transform: scale(1.1);
}

.project-img:hover .overlay {
    opacity: 1;
}

.project-img:hover .overlay a {
    transform: translateY(0);
}

/* CONTENT */
.project-content {
    padding: 15px;
}

.project-content h3 {
    margin-bottom: 10px;
    color: #0b1f3a;
}

.project-content p {
    font-size: 14px;
    color: #555;
}

/* BUTTON */
.project-btn {
    display: inline-block;
    margin-top: 10px;
    color: #0d6efd;
    font-weight: bold;
    text-decoration: none;
}

/* START BUTTON */
.start-project {
    text-align: center;
    margin-top: 40px;
}

.start-project a {
    background: #facc15;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {
    .project-img img {
        height: 180px;
    }
}