/* =========================================================
   MODERN VILLAGE PROJECT SECTION
========================================================= */

.village-project-section {
    position: relative;
    padding: 80px 0;
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(23, 132, 63, 0.07),
            transparent 28%
        ),
        #f6f8f7;
}


/* =========================================================
   HEADING
========================================================= */

.project-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.project-heading-left {
    max-width: 760px;
}

.project-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #17843f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow-line {
    width: 34px;
    height: 3px;
    border-radius: 20px;
    background: #17843f;
}

.project-heading h2 {
    margin: 12px 0 0;
    color: #102f27;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.project-heading h2 span {
    color: #17843f;
}

.project-heading p {
    max-width: 680px;
    margin-top: 16px;
    color: #64716d;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   BADGE
========================================================= */

.project-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    min-width: 210px;
    border: 1px solid #dce8e1;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(15, 67, 53, 0.06);
}

.project-badge > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #17843f;
    background: #eaf7ee;
    font-size: 18px;
}

.project-badge strong,
.project-badge span {
    display: block;
}

.project-badge strong {
    color: #173d31;
    font-size: 13px;
}

.project-badge span {
    margin-top: 3px;
    color: #7b8984;
    font-size: 11px;
}


/* =========================================================
   FEATURE PROJECT
========================================================= */

.project-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    overflow: hidden;
    border: 1px solid #e1e9e5;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(18, 69, 52, 0.09);
}


/* =========================================================
   IMAGE
========================================================= */

.project-visual {
    position: relative;
    min-height: 530px;
    overflow: hidden;
}

.project-visual img {
    width: 100%;
    height: 100%;
    min-height: 530px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-feature:hover .project-visual img {
    transform: scale(1.04);
}

.project-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 39, 29, 0.08) 10%,
            rgba(5, 39, 29, 0.88) 100%
        );
}

.project-image-content {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    color: white;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 700;
}

.project-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a3e635;
    box-shadow: 0 0 0 4px rgba(163,230,53,0.15);
}

.project-image-content h3 {
    margin-top: 16px;
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 500;
}

.project-image-content h3 strong {
    display: block;
    color: #a3e635;
    font-weight: 800;
}

.project-image-content p {
    max-width: 420px;
    margin-top: 12px;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   CONTENT
========================================================= */

.project-content {
    padding: 42px;
}

.project-content-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.content-label {
    color: #17843f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.project-content h3 {
    margin-top: 7px;
    color: #153a30;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 800;
}

.project-year {
    flex-shrink: 0;
    padding: 10px 14px;
    border: 1px solid #dfe9e4;
    border-radius: 12px;
    text-align: center;
    background: #f8fbf9;
}

.project-year span,
.project-year strong {
    display: block;
}

.project-year span {
    color: #8b9691;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.project-year strong {
    margin-top: 2px;
    color: #17843f;
    font-size: 20px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.project-description {
    margin-top: 20px;
    color: #66736e;
    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   FEATURES
========================================================= */

.project-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.project-feature-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid #edf1ef;
    border-radius: 13px;
    background: #fafcfb;
    transition: all 0.3s ease;
}

.project-feature-item:hover {
    border-color: #cde5d5;
    background: #f3faf5;
    transform: translateY(-2px);
}

.feature-icon,
.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 15px;
}

.feature-icon.green,
.stat-icon.green {
    color: #17843f;
    background: #eaf7ee;
}

.feature-icon.blue,
.stat-icon.blue {
    color: #2563eb;
    background: #eff6ff;
}

.feature-icon.orange,
.stat-icon.orange {
    color: #ea580c;
    background: #fff7ed;
}

.feature-icon.purple,
.stat-icon.purple {
    color: #7c3aed;
    background: #f5f3ff;
}

.project-feature-item strong,
.project-feature-item span {
    display: block;
}

.project-feature-item strong {
    color: #33413c;
    font-size: 12px;
}

.project-feature-item span {
    margin-top: 2px;
    color: #8a9691;
    font-size: 10px;
}


/* =========================================================
   META
========================================================= */

.project-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #edf1ef;
}

.project-meta span {
    display: block;
    color: #8a9691;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.project-meta strong {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    color: #34443d;
    font-size: 12px;
}

.project-meta strong i {
    color: #17843f;
}


/* =========================================================
   BUTTONS
========================================================= */

.project-actions {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 27px;
}

.project-primary-btn,
.project-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-primary-btn {
    color: white;
    background: #17843f;
    box-shadow: 0 8px 20px rgba(23,132,63,0.2);
}

.project-primary-btn:hover {
    background: #126b32;
    transform: translateY(-2px);
}

.project-secondary-btn {
    color: #345047;
    border: 1px solid #dce6e1;
    background: white;
}

.project-secondary-btn:hover {
    color: #17843f;
    border-color: #a9d2b7;
    background: #f4faf6;
}


/* =========================================================
   PROJECT STATS
========================================================= */

.project-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.project-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px;
    border: 1px solid #e1e9e5;
    border-radius: 15px;
    background: white;
    transition: all 0.3s ease;
}

.project-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(18,69,52,0.07);
}

.project-stat strong,
.project-stat span {
    display: block;
}

.project-stat strong {
    color: #34443d;
    font-size: 12px;
}

.project-stat span {
    margin-top: 2px;
    color: #8a9691;
    font-size: 10px;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.project-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
    padding: 20px 22px;
    border-radius: 17px;
    color: white;
    background:
        linear-gradient(
            110deg,
            #0b4335,
            #126b45
        );
}

.project-bottom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: #a3e635;
    background: rgba(255,255,255,0.1);
}

.project-bottom h3 {
    font-size: 15px;
    font-weight: 800;
}

.project-bottom p {
    margin-top: 3px;
    color: rgba(255,255,255,0.68);
    font-size: 11px;
}

.project-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
    padding: 10px 16px;
    border-radius: 10px;
    color: #173d31;
    background: #a3e635;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-bottom a:hover {
    background: #bef264;
    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .village-project-section {
        padding: 65px 0;
    }

    .project-feature {
        grid-template-columns: 1fr;
    }

    .project-visual,
    .project-visual img {
        min-height: 430px;
    }

    .project-content {
        padding: 32px;
    }

    .project-stats {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .village-project-section {
        padding: 50px 0;
    }

    .project-heading {
        display: block;
        margin-bottom: 28px;
    }

    .project-heading h2 {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .project-heading p {
        font-size: 13px;
        line-height: 1.7;
    }

    .project-badge {
        margin-top: 20px;
        width: 100%;
    }

    .project-feature {
        border-radius: 19px;
    }

    .project-visual,
    .project-visual img {
        min-height: 360px;
        height: 360px;
    }

    .project-image-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .project-image-content h3 {
        font-size: 29px;
    }

    .project-content {
        padding: 23px 18px;
    }

    .project-content-top {
        gap: 10px;
    }

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

    .project-year {
        padding: 8px 10px;
    }

    .project-features {
        grid-template-columns: 1fr;
    }

    .project-meta {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .project-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .project-primary-btn,
    .project-secondary-btn {
        width: 100%;
    }

    .project-stats {
        grid-template-columns: 1fr;
    }

    .project-bottom {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 18px;
    }

    .project-bottom a {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .project-heading h2 {
        font-size: 28px;
    }

    .project-content-top {
        display: block;
    }

    .project-year {
        display: inline-block;
        margin-top: 12px;
    }

    .project-image-content h3 {
        font-size: 25px;
    }

}