/* Project Title */
.project-title {
    font-weight: bold;
    margin-bottom: 5px;
}
.project-title h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1;
}

/* Project Location */
.project-location {
    font-size: 16px;
    margin-bottom: 5px;
}
.project-location h2 {
    color: #24313e;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    line-height: 1.6em;
    font-weight: 500;
    margin-bottom: 0;
}

/* Project ID */
.project-id {
    font-weight: bold;
    margin-bottom: 20px;
}

/* Project Bar */
.project-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #24313e;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    flex-wrap: wrap;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.project-bar span {
    font-weight: bold;
}
.project-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.project-bar a:hover {
    text-decoration: underline;
}

/* Project Details */
.project-details {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    position: relative;
}
.project-details p {
    margin-bottom: 10px;
    font-size: 16px;
    margin-bottom: 0px;
}
.detail-row {
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    gap: 10px;
}
.detail-row .pd-head {
    display: inline-block;
    min-width: 150px;
}
.detail-row .pd-head p {
    font-size: 16px;
    font-weight: 600;
    color: #24313e;
}
.project-box {
    margin-bottom: 50px;
    display: flex;
    gap: 15px;
    justify-content: space-between;
}
.project-nav-sec {
    padding-bottom: 3%;
}

.project-detail-group {
    width: 70%;
}
.project-action {
    width: 30%;
}

.project-action .project-details p {
    margin-bottom: 10px;
}
.project-action .project-details p a:hover {
    color: #25313e;
}
.project-action .project-details p img {
    width: 20px;
    border-radius: 0px;
    margin-right: 5px;
}
.tarade-cat p a {
    background: #c2e6df;
    color: #25313e;
    text-align: center;
    padding: 3px 15px !important;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 5px;
    text-align: left;
}
.tarade-cat p a:hover {
    background: #00b894;
    color: #fff;
}
.sub-tarade-cat p span {
    background: #e3f4f0;
    color: #25313e;
    text-align: center;
    padding: 3px 15px !important;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 5px;
    text-align: left;
}

.pd-button {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    position: absolute;
    right: 15px;
    top: 15px;
}
.pd-button .btn {
    background: #00b894;
    color: #25313e;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    width: 130px;
    text-align: center;
}
.pd-button .btn:hover {
    background: #25313e;
    color: #fff;
}
.days-left {
    color: #00b894; /* Green */
    font-weight: bold;
}

.days-due-today {
    color: #ffa500; /* Orange for today */
    font-weight: bold;
}

.days-overdue {
    color: #ff6b6b; /* Red for overdue */
    font-weight: bold;
}
.breadcrumb {
    font-size: 14px;
    color: #000;
    white-space: nowrap;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.breadcrumb a {
    text-decoration: none;
    color: #00b894;
}

.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb p {
    margin-bottom: 0px;
}
.breadcrumb span {
    margin: 0 7px;
    color: #000;
    font-weight: 500;
}
.detail-row > h3 {
    margin-bottom: 0;
    font-size: 16px;
    display: flex;
    gap: 10px;
    font-weight: 400;
}

/* ===========================
        Responsive Design
    ============================ */

/* Tablets (below 1024px) */
@media (max-width: 1024px) {
    .project-title h1 {
    font-size: 24px;
    }
    .project-details {
    max-width: 100%;
    }
    .project-detail-group {
    width: 65%;
    }
    .project-action {
    width: 35%;
    }
    .pd-button {
    position: initial;
    justify-content: center;
    margin-bottom: 15px;
    }
    .project-details p {
    font-size: 14px;
    line-height: 22px;
    }
}

/* Small tablets (below 767px) */
@media (max-width: 767px) {
    .project-title h1 {
    font-size: 22px;
    }
    .project-location h2 {
    font-size: 14px;
    }
    .project-description p {
    font-size: 14px;
    }
    .project-bar span {
    font-size: 14px;
    }
    .project-bar a {
    font-size: 13px;
    }
    .project-box {
    flex-direction: column;
    }
    .project-detail-group {
    width: 100%;
    }
    .project-action {
    width: 100%;
    }
}

/* Mobile phones (below 575px) */
@media (max-width: 575px) {
    .project-title h1 {
    font-size: 20px;
    }
    .project-id {
    font-size: 14px;
    }
    .project-bar {
    padding: 8px 10px;
    }
    .project-details {
    padding: 15px;
    }
    .detail-row strong {
    margin-right: 5px;
    min-width: 130px;
    }
    .detail-row {
    font-size: 14px;
    }
    .project-details p {
    font-size: 14px;
    }
    .detail-row .pd-head {
    min-width: 100px;
    }
    .detail-row .pd-head p {
    font-size: 14px;
    width: 90px;
    }
    .breadcrumb {
    margin-top: 10px;
    background: #f7f7f7;
    padding: 10px;
    }
    .breadcrumb p{
    word-wrap: break-word;
    white-space: normal;
    }
}
