#page-project {
    .section-search {
        padding-top: 30px;
    }
}
.mb-50 {
    margin-bottom: 50px;
}

.mt-50 {
    margin-top: 50px;
}
/* Project Detail */
.project-detail-header {
    margin: 40px 0;
    @media (max-width: 992px) {
        margin: 20px 0;
    }
}
.project-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    background: #f0f0f0;
    text-decoration: none;
    margin-bottom: 20px;
}

.project-card__img-wrap {
    width: 100%;
    height: 100%;
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card__img {
    transform: scale(1.05);
}

.project-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    padding: 40px 50px;
    background: linear-gradient(
        180deg,
        rgba(42, 126, 67, 0) 27.88%,
        #2a7e43 69.71%
    );
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
}

.project-card__cat {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.project-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 10px;
}

.project-card__info {
    font-size: 14px;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 0.8fr;
    gap: 15px;
}

.info-group .label {
    font-weight: 700;
    margin-bottom: 4px;
}

.info-group .value {
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 1199px) {
    .project-card {
        height: 350px;
    }
    .project-card__title {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .info-row {
        grid-template-columns: 1fr 1fr;
    }
    .info-group:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .project-card {
        height: auto;
        min-height: 320px;
    }
    .info-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .info-group:last-child {
        grid-column: span 1;
    }
    .project-card__content {
        padding: 20px;
    }
}

.project-detail-title {
    text-transform: uppercase;
}

.project-detail-title span {
    display: block;
    font-size: 36px;
    margin-top: 10px;
}

.project-info-box {
    border: 1px solid #c9dfd0;
    border-radius: 12px;
    padding: 25px 40px;
    margin-bottom: 40px;
}

.project-info-box .info-group {
    margin-bottom: 10px;
    font-size: 10px;
    display: flex;
    gap: 10px;
    font-size: 20px;
    color: var(--color-2);
    @media (max-width: 992px) {
        font-size: 18px;
    }
}

.project-info-box .info-group:last-child {
    margin-bottom: 0;
}

.project-info-box .label {
    font-weight: 700;

    white-space: nowrap;
}

.project-info-box .value {
}

.project-hero-image img {
    border-radius: 20px;
    width: 100%;
}

.project-content {
    /* margin-top: 50px; */
}

.content-row {
    display: flex;
    margin-bottom: 40px;
    gap: 40px;
}

.content-title {
    width: 300px;
    flex-shrink: 0;
    color: var(--color-2);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.content-text {
    flex: 1;
    color: #555;
    line-height: 1.6;
    text-align: justify;
    font-size: 15px;
    ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(137px, 1fr));
        gap: 5px;
        li {
            list-style: none;
            text-align: center;
            font-size: 20px;
            line-height: 1.2;
            strong{
                font-weight: 700;
                color: var(--color-2);
            }
            img {
                display: block;
                margin: 0 auto 10px;
            }
        }
    }
}

/* Materials Grid */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    margin-top: 20px;
}

.material-item {
    text-align: center;
}

.material-item .icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 10px;
    background: var(--color-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.material-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.material-item .label {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-2);
    line-height: 1.2;
}

.rounded-20 {
    border-radius: 20px;
}

@media (max-width: 1199px) {
    .content-title {
        width: 200px;
    }
    .material-item {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 767px) {
    .project-detail-title {
        font-size: 24px;
    }
    .project-detail-title span {
        font-size: 28px;
    }
    .project-info-box {
        padding: 20px;
    }
    .content-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    .content-title {
        width: 100%;
    }
    .material-item {
        width: calc(50% - 15px);
    }
    .project-detail-action {
        margin: 20px 0 30px;
    }
    .project-info-box .info-group {
        flex-direction: column;
        gap: 5px;
    }
}
