/* Projects listing — featured + grid cards */

/* Unified, more rounded buttons across /projects and /projects/{slug} */
.section-green .btn,
.section-light .btn,
.project-featured-card .btn,
.project-card .btn {
    border-radius: 2rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Featured card on /projects */
.project-featured-card {
    overflow: hidden;
    border-radius: 0.75rem;
}

.project-featured-card .rounded-start {
    border-top-left-radius: 0.75rem !important;
    border-bottom-left-radius: 0.75rem !important;
    border-top-right-radius: 0 !important;
}

@media (max-width: 991.98px) {
    .project-featured-card .rounded-start {
        border-radius: 0.75rem 0.75rem 0 0 !important;
    }
}

/* Project card (grid) */
.project-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    border-radius: 0.5rem;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12) !important;
}

.project-card .card-img-top {
    transition: transform 0.3s ease;
}

.project-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Project specifications list inside product-style cards (no heading) */
.project-specs li {
    font-size: 0.95rem;
    margin-bottom: 6px;
    line-height: 1.4;
}

.project-specs li strong {
    color: #1a472a;
}

/* CTA buttons: gentle zoom on hover */
.section-green .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-green .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}
