/* ─── Projects Page Styles ─── */
/* Works alongside Bootstrap 5.3 */

:root {
    --navy: #1a3a5c;
    --navy-dark: #0f172a;
    --accent: #f5a623;
    --accent-dark: #d97706;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --text: #334155;
    --muted: #64748b;
    --card-radius: 12px;
    --status-ongoing: #0d6efd;
    --status-completed: #198754;
    --status-upcoming: #6f42c1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Mukta', 'Tiro Devanagari Marathi', sans-serif;
    background: #f1f5f9;
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

/* ─── PAGE HEADING ─── */
.page-heading {
    text-align: center;
    padding: 42px 20px 24px;
    margin-bottom: 24px;
}

.page-heading h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.page-heading p {
    font-size: 18px;
    color: var(--muted);
    font-weight: 500;
}

/* ─── PILL TABS ─── */
.tab-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
    padding: 16px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tab-pills::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .tab-pills {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.tab-pill {
    padding: 12px 28px;
    border-radius: 30px;
    border: 2px solid #eef2f6;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Mukta', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-pill:hover {
    border-color: var(--navy-dark);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.tab-pill.active {
    background: var(--navy-dark);
    color: #fff;
    border-color: var(--navy-dark);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
}

/* ─── TAB SECTIONS ─── */
.tab-section {
    display: none;
    margin-bottom: 48px;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--navy-dark);
    border-radius: 4px;
}

/* ─── PROJECT CARDS ─── */
.project-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(226, 232, 240, 1);
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #e2e8f0;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom-cursor {
    cursor: zoom-in;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08); /* Premium hover zoom effect */
}

/* ─── LIGHTBOX MODAL ─── */
.modal-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

#modalImage {
    max-height: 85vh;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}

.project-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.status-ongoing { background-color: rgba(13, 110, 253, 0.9); }
.status-completed { background-color: rgba(25, 135, 84, 0.9); }
.status-upcoming { background-color: rgba(111, 66, 193, 0.9); }

.project-body {
    padding: 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.project-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 24px;
    line-height: 1.4;
    position: relative;
    padding-bottom: 12px;
}

.project-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 4px;
}

.project-details {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.project-details li {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-details li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.04);
}

.project-details li i {
    color: var(--navy);
    background: #f1f5f9;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 0;
    font-size: 13px;
    transition: background 0.3s ease, color 0.3s ease;
}

.project-card:hover .project-details li i {
    background: var(--navy);
    color: #fff;
}

.project-details li .label {
    font-weight: 800;
    color: var(--navy-dark);
    margin-right: 6px;
    font-size: 13px;
}

.container-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}
