
@font-face {
    font-family: 'myfont';
    src: url('/bootstrap/font/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'myfontbold';
    src: url('/bootstrap/font/Montserrat-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* =========================================
   GLOBAL STYLES & BACKGROUND
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    position: relative;
    min-height: 100vh;
    font-family: 'myfont', sans-serif;
    color: #304438;

    background-color: #f3f3e9;
    background-image:
        radial-gradient(
            ellipse 55% 40% at 0% 10%,
            rgba(148, 181, 137, 0.38) 0%,
            rgba(148, 181, 137, 0.12) 48%,
            transparent 75%
        ),
        radial-gradient(
            ellipse 50% 45% at 100% 35%,
            rgba(195, 207, 157, 0.38) 0%,
            rgba(195, 207, 157, 0.12) 50%,
            transparent 75%
        ),
        radial-gradient(
            ellipse 65% 45% at 45% 100%,
            rgba(216, 226, 199, 0.48) 0%,
            transparent 72%
        ),
        linear-gradient(
            125deg,
            #edf2e6 0%,
            #f8f5e9 45%,
            #e8eee1 100%
        );

    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* =========================================
   MAIN PROJECT SECTION
========================================= */

.project-details-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 75px 0 90px;
}

/* Decorative organic background shapes */

.project-details-section::before,
.project-details-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.project-details-section::before {
    width: 420px;
    height: 420px;
    top: 100px;
    left: -240px;
    background: rgba(126, 166, 113, 0.13);
    box-shadow:
        70px 70px 0 30px rgba(177, 199, 155, 0.10),
        0 0 90px rgba(126, 166, 113, 0.12);
}

.project-details-section::after {
    width: 480px;
    height: 480px;
    bottom: 100px;
    right: -280px;
    background: rgba(181, 199, 151, 0.17);
    box-shadow:
        -80px -60px 0 25px rgba(139, 177, 129, 0.10),
        0 0 90px rgba(181, 199, 151, 0.12);
}

.project-details-container {
    position: relative;
    max-width: 1200px;
    padding: 0 55px;
}

/* =========================================
   PROJECT TITLE
========================================= */

.project-details-title {
    font-family: 'myfontbold', sans-serif;
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 22px;
    color: #174d32;
    letter-spacing: -0.8px;
    overflow-wrap: anywhere;
}

/* =========================================
   PROJECT STATUS
========================================= */

.project-details-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.status-label {
    font-size: 14px;
    font-weight: 600;
    color: #637368;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.status-upcoming {
    color: #856404;
    background: #fff0c2;
}

.status-ongoing {
    color: #155c34;
    background: #d8edda;
}

.status-completed {
    color: #205b37;
    background: #cce7d0;
}

.status-on-hold {
    color: #842d36;
    background: #f5dada;
}

/* =========================================
   UPLOAD DATE
========================================= */

.project-details-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #7a897d;
    margin-bottom: 30px;
}

.project-details-date i {
    color: #28764a;
}

/* =========================================
   PROJECT IMAGE
========================================= */

.project-details-image-wrapper {
    position: relative;
    width: 100%;
    height: 530px;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 18px;
    background: #e5ebdf;
    border: 5px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 12px 35px rgba(34, 67, 43, 0.13),
        0 3px 8px rgba(34, 67, 43, 0.06);
}

.project-details-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================================
   PROJECT INFORMATION CARDS
========================================= */

.project-details-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 45px;
}

.project-info-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 25px 27px;
    border: 1px solid rgba(49, 104, 65, 0.12);
    border-radius: 13px;
    background: rgba(255, 255, 250, 0.88);
    box-shadow: 0 5px 18px rgba(34, 67, 43, 0.055);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.project-info-item:hover {
    transform: translateY(-3px);
    border-color: rgba(49, 104, 65, 0.28);
    box-shadow: 0 9px 23px rgba(34, 67, 43, 0.09);
}

.project-info-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #738276;
}

.project-info-label i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 8px;
    background: #e8f0e5;
    color: #267548;
}

.project-info-value {
    font-family: 'myfontbold', sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: #234c34;
    overflow-wrap: anywhere;
}

/* =========================================
   PROJECT DESCRIPTION
========================================= */

.project-details-description {
    position: relative;
    padding: 35px 40px;
    margin-top: 10px;
    border: 1px solid rgba(49, 104, 65, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 250, 0.88);
    box-shadow: 0 5px 20px rgba(34, 67, 43, 0.06);
    text-align: justify;
}

.project-details-description h2 {
    position: relative;
    font-family: 'myfontbold', sans-serif;
    font-size: 24px;
    color: #174d32;
    margin-bottom: 22px;
}

.project-details-description h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    margin-top: 12px;
    border-radius: 5px;
    background: #d9ad45;
}

.project-details-description p {
    font-size: 15px;
    line-height: 1.95;
    color: #536257;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 992px) {
    .project-details-section {
        padding: 60px 0 75px;
    }

    .project-details-container {
        padding: 0 30px;
    }

    .project-details-title {
        font-size: 40px;
    }

    .project-details-image-wrapper {
        height: 400px;
    }

    .project-details-description {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .project-details-section {
        padding: 40px 0 55px;
    }

    .project-details-section::before {
        width: 270px;
        height: 270px;
        left: -180px;
    }

    .project-details-section::after {
        width: 300px;
        height: 300px;
        right: -200px;
    }

    .project-details-container {
        padding: 0 20px;
    }

    .project-details-title {
        font-size: 32px;
    }

    .project-details-image-wrapper {
        height: 320px;
        margin-bottom: 30px;
        border-radius: 13px;
    }

    .project-details-info {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .project-info-item {
        padding: 20px;
    }

    .project-details-description {
        padding: 25px 22px;
    }

    .project-details-description h2 {
        font-size: 22px;
    }

    .project-details-description p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .project-details-section {
        padding: 30px 0 45px;
    }

    .project-details-container {
        padding: 0 16px;
    }

    .project-details-title {
        font-size: 26px;
        margin-bottom: 17px;
    }

    .project-details-date {
        font-size: 12px;
    }

    .project-details-image-wrapper {
        height: 230px;
        border-width: 3px;
        border-radius: 11px;
    }

    .project-info-item {
        padding: 18px;
    }

    .project-info-value {
        font-size: 15px;
    }

    .project-details-description {
        padding: 22px 18px;
    }

    .project-details-description h2 {
        font-size: 20px;
    }

    .project-details-description p {
        font-size: 13px;
        line-height: 1.8;
    }
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    .project-info-item {
        transition: none;
    }
}
