
/* ===== PROJECTS SECTION ===== */
.projects-section-new {
    background: #f5f5f5;
    padding: 60px 0;
}

.projects-section-new .container {
    max-width: 1400px;
}

/* ===== PROJECT GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* ===== PROJECT CARD ===== */
.project-card-new {
    position: relative;
    height: 440px;
    border-radius: 22px;
    overflow: hidden;
    background: #333;
}

.project-card-image {
    position: absolute;
    inset: 0;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card-new:hover .project-card-image img {
    transform: scale(1.06);
}

/* ===== DARK IMAGE OVERLAY ===== */
.project-card-new::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.25) 45%,
        rgba(0, 0, 0, 0.55) 100%
    );
    pointer-events: none;
}

/* ===== CARD CONTENT ===== */
.project-card-content {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
}

.project-card-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.project-card-content h3 {
    color: #fff;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* ===== ARROW BUTTON ===== */
.project-card-arrow {
    position: absolute;
    z-index: 3;
    right: 30px;
    bottom: 30px;
    width: 46px;
    height: 46px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.3s ease;
}

.project-card-arrow:hover {
    background: #fff;
    color: #106a54;
    transform: translateX(4px);
}

/* ===== VIEW ALL PROJECTS ===== */
.projects-view-all {
    margin-top: 45px;
}

.projects-view-all .btn {
    padding: 13px 38px;
    font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-card-new {
        height: 410px;
    }
}

@media (max-width: 575px) {
    .projects-section-new {
        padding: 40px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card-new {
        height: 420px;
    }

    .project-card-content {
        padding: 25px;
    }

    .project-card-content h3 {
        font-size: 21px;
    }

    .project-card-arrow {
        right: 25px;
        bottom: 25px;
    }
}
