/* ========== LEFT VERTICAL SIDE BUTTONS ========== */
.grprj-vertical-side-buttons {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grprj-side-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: var(--font-primary, sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: #cc252e;
    border: 1px solid #cc252e;
    border-left: none;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.grprj-side-btn span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}

.grprj-side-btn:hover {
    background: #eea81f;
    border-color: #eea81f;
    color: #ffffff !important;
    padding-right: 14px;
    transform: translateX(4px);
    box-shadow: 4px 6px 20px rgba(238, 168, 31, 0.35);
}

@media (max-width: 768px) {
    .grprj-side-btn {
        padding: 12px 8px;
        font-size: 11px;
    }
}

/* ========== PROJECT HERO SECTION START ========== */

#grprjhome-slider-section {
    width: 100%;
    overflow: hidden;
    margin-top: -120px;
}

.grprjhome-slider-container {
    width: 100%;
    position: relative;
}

.grprjhome-slide {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    min-height: 480px;
}

.grprjhome-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* LAPTOP */
@media (max-width: 1200px) {
    .grprjhome-slide {
        height: calc(100vh - 92px);
        min-height: 420px;
    }
}

/* TABLET */
@media (max-width: 992px) {
    .grprjhome-slide {
        height: 60vh;
        min-height: 380px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .grprjhome-slide {
        height: 50vh;
        min-height: 320px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .grprjhome-slide {
        height: 320px;
    }
}

/* ========== PROJECT HERO SECTION END ========== */

/* ========== PROJECT BUTTONS SECTION START ========== */
#grprjbottom-wrapper{
    width:100%;
}

#grprjbottom-fixedbar{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    z-index:9999;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:1px;

    padding:12px 20px;
    overflow-x:auto;
}

#grprjbottom-fixedbar::-webkit-scrollbar{
    height:4px;
}

.grprjbottom-btn{
    text-decoration:none;
    color:#ffffff;
    background:var(--primary-blue);
    padding:12px 22px;
    border-radius:0;
    font-family:var(--font-primary);
    font-size:14px;
    font-weight:300;
    letter-spacing:0.3px;
    text-transform:uppercase;
    white-space:nowrap;
    transition:all .3s ease;
}

.grprjbottom-btn:first-child {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.grprjbottom-btn:last-child {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.grprjbottom-btn:hover{
    background:var(--dark-navy);
    transform:translateY(-2px);
}

/* Sample Section Styling */

.grprjbottom-section{
    padding:0;
}

/* TABLET */

@media(max-width:992px){

    #grprjbottom-fixedbar{
        justify-content:flex-start;
        padding:10px;
        gap:1px;
    }

    .grprjbottom-btn{
        padding:10px 18px;
        font-size:14px;
    }
}

/* MOBILE */

@media(max-width:768px){

    #grprjbottom-fixedbar{
        gap:1px;
    }

    .grprjbottom-btn{
        font-size:13px;
        padding:10px 16px;
    }
}
/* ========== PROJECT BUTTONS SECTION END ========== */

/* ========== STATS BAR START ========== */
.grprj-floating-stats-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    z-index: 10;
    padding: 0;
}

.grprj-floating-stats-card {
    width: 100%;
    min-height: 70px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
    border-top: 3px solid #cc252e;
    border-bottom: 1px solid #e2e8f0;
    border-left: none;
    border-right: none;
}

.grprj-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    justify-content: center;
    padding: 0 10px;
    transition: all 0.2s ease;
    cursor: default;
}

.grprj-stat-item:hover {
    transform: translateY(-2px);
}

.grprj-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fdf5f5;
    border: 1px solid #f9e2e3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.grprj-stat-item:hover .grprj-stat-icon {
    background: #cc252e;
    border-color: #cc252e;
}

.grprj-stat-icon svg {
    width: 22px;
    height: 22px;
    color: #cc252e;
    transition: color 0.2s ease;
}

.grprj-stat-icon svg path,
.grprj-stat-icon svg circle,
.grprj-stat-icon svg rect {
    stroke: #cc252e;
    transition: stroke 0.2s ease;
}

.grprj-stat-item:hover .grprj-stat-icon svg,
.grprj-stat-item:hover .grprj-stat-icon svg path,
.grprj-stat-item:hover .grprj-stat-icon svg circle,
.grprj-stat-item:hover .grprj-stat-icon svg rect {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.grprj-stat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.grprj-stat-label {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-family: var(--font-primary, sans-serif);
}

.grprj-stat-value {
    font-size: 15px;
    color: #111111;
    font-weight: 700;
    white-space: nowrap;
    font-family: var(--font-primary, sans-serif);
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.grprj-stat-item:hover .grprj-stat-value {
    color: #cc252e;
}

.grprj-stat-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .grprj-floating-stats-wrapper {
        margin: 0;
        padding: 0;
    }
    .grprj-floating-stats-card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px;
        border-radius: 0;
        min-height: auto;
    }
    .grprj-stat-divider {
        display: none;
    }
    .grprj-stat-item {
        justify-content: flex-start;
        padding: 0;
    }
}

@media (max-width: 600px) {
    .grprj-floating-stats-wrapper {
        margin: 0;
    }
    .grprj-floating-stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 18px 15px;
    }
    .grprj-stat-icon {
        width: 38px;
        height: 38px;
    }
    .grprj-stat-icon svg {
        width: 18px;
        height: 18px;
    }
    .grprj-stat-label {
        font-size: 11px;
    }
    .grprj-stat-value {
        font-size: 14px;
    }
}
/* ========== FLOATING STATS BAR END ========== */

/* ========== PROJECT OVERVIEW SECTION START ========== */
#overview {
    background-color: #ffffff;
    padding: 0 0 60px 0;
}

#grprjoverview-container{
    width:100%;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    display:block;
    padding: 0 30px;
    background: transparent;
}

.grprjoverview-right{
    width: 100%;
    padding-top: 0;
}

.grprjoverview-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.grprjoverview-logo-center img {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
}

.grprjoverview-text{
    font-size:15px;
    line-height:1.85;
    color:#444;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.text-divider {
    width: 100%;
    height: 1px;
    background: #eaeaea;
    margin: 20px 0;
}

/* TABLET */

@media(max-width:992px){

    .grprjoverview-vdivider {
        display: none;
    }

    #grprjoverview-container{
        flex-direction:column;
        gap:40px;
    }

    .grprjoverview-left,
    .grprjoverview-right{
        width:100%;
    }

    .grprjoverview-left{
        position:relative;
        top:0;
    }

    .grprjoverview-buttons{
        flex-direction:row;
        flex-wrap:nowrap;
    }

    .grprjoverview-btn{
        flex:1;
        min-width:0;
        padding: 10px 5px;
        font-size: 12px;
    }

}

/* MOBILE */

@media(max-width:768px){

    .grprjoverview-heading{
        font-size:32px;
    }

    .grprjoverview-text{
        font-size:15px;
        line-height:1.8;
    }

    .grprjoverview-logo img{
        max-width:180px;
    }

}
/* ========== PROJECT OVERVIEW SECTION END ========== */

/* ========== PROJECT HIGHLIGHTS & MAP SECTION START ========== */
#highlights {
    background-color: #ffffff;
    padding: 30px 24px;
    border: none;
    position: relative;
}

#grprjhigh-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.grprjhigh-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
}

.grprjhigh-left-col,
.grprjhigh-right-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grprjhigh-title-wrap {
    text-align: left;
    margin-bottom: 24px;
}

.grprjhigh-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cc252e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: var(--font-primary, sans-serif);
}

.grprjhigh-subtitle::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cc252e;
}

.grprjhigh-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    font-family: "Playfair Display", serif;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.grprjhigh-title-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #cc252e 0%, #eea81f 100%);
    border-radius: 2px;
}

/* CONNECTED MATRIX GRID (4 columns on Left side) */
.grprjhigh-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    flex: 1;
}

/* MATRIX GRID CELL (Outline box with centered icon & title) */
.grprjhigh-card {
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: default;
    min-height: 118px;
}

.grprjhigh-card:hover {
    background: #fafafa;
    box-shadow: inset 0 0 0 1px #cc252e;
}

.grprjhigh-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.grprjhigh-card:hover .grprjhigh-icon {
    transform: scale(1.1);
}

.grprjhigh-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    filter: brightness(0.2);
    transition: filter 0.3s ease;
}

.grprjhigh-card:hover .grprjhigh-icon img {
    filter: drop-shadow(0 2px 4px rgba(204, 37, 46, 0.4));
}

.grprjhigh-card h3 {
    font-size: 12.5px;
    line-height: 1.35;
    color: #1e293b;
    font-weight: 600;
    font-family: var(--font-primary, sans-serif);
    margin: 0;
    transition: color 0.3s ease;
    text-align: center;
}

.grprjhigh-card:hover h3 {
    color: #cc252e;
}

/* RIGHT SIDE - MAP CONTAINER */
.grprjhigh-map-wrap {
    width: 100%;
    flex: 1;
    min-height: 480px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    background: #f8fafc;
}

.grprjhigh-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
    display: block;
}

/* LAPTOP */
@media(max-width: 1200px){
    .grprjhigh-split-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .grprjhigh-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TABLET */
@media(max-width: 992px){
    #highlights {
        padding: 55px 20px;
    }

    .grprjhigh-split-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .grprjhigh-title-wrap {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .grprjhigh-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .grprjhigh-map-wrap {
        height: 420px;
        min-height: 420px;
    }
}

/* SMALL TABLET & MOBILE */
@media(max-width: 650px){
    .grprjhigh-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grprjhigh-card {
        padding: 16px 8px;
        min-height: 105px;
    }

    .grprjhigh-title {
        font-size: 26px;
    }

    .grprjhigh-map-wrap {
        height: 350px;
        min-height: 350px;
    }
}

/* ========== PROJECT HIGHLIGHTS SECTION END ========== */

/* ========== PROJECT LOCATION HIGHLIGHTS SECTION START ========== */
#grprjlocation-container{
    max-width:1400px;
    margin:0 auto;
    padding:30px 5px;
}

.grprjlocation-heading-wrap{
    text-align:center;
    margin-bottom:20px;
}

.grprjlocation-subtitle{
    display:block;
    color:#eea81f;
    font-size:14px;
    font-weight:700;
    letter-spacing:3px;
    margin-bottom:8px;
}

.grprjlocation-heading{
    font-size:36px;
    font-weight:700;
    color:#cc252e;
    font-family: "Playfair Display", serif;
}

.grprjlocation-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-left: 1px solid rgba(0,0,0,0.1);
}

.grprjlocation-card{
    display: flex;
    grid-column: span 2;
    flex-direction: row;
}

/* Alternating pattern for Desktop (3 cards per row) */
.grprjlocation-card:nth-child(6n+4),
.grprjlocation-card:nth-child(6n+5),
.grprjlocation-card:nth-child(6n){
    flex-direction: row-reverse;
}

.grprjlocation-card img, .grprjlocation-content{
    width: 50%;
    height: 140px; /* Forces a compact rectangular box, significantly reducing section height */
    border-right: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all .35s ease;
}

.grprjlocation-card img{
    object-fit:cover;
    background-color:#f4f6f8;
}

.grprjlocation-content{
    padding:15px 20px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    background:#fff;
    text-align: center;
}

.grprjlocation-card:hover .grprjlocation-content{
    background:#fafafa;
}

.grprjlocation-content h3{
    font-size:16px;
    font-weight:700;
    color:#cc252e;
    margin-bottom:8px;
}

.grprjlocation-content p{
    font-size:13px;
    color:#555;
    line-height:1.5;
    margin:0;
}

/* Tablet */

@media (max-width: 992px){

    .grprjlocation-grid{
        grid-template-columns:repeat(4,1fr); 
    }

    /* Reset desktop alternating pattern */
    .grprjlocation-card:nth-child(n){
        flex-direction: row;
    }

    /* Alternating pattern for Tablet (2 cards per row) */
    .grprjlocation-card:nth-child(4n+3),
    .grprjlocation-card:nth-child(4n){
        flex-direction: row-reverse;
    }

    .grprjlocation-card img, .grprjlocation-content{
        height: auto; 
        aspect-ratio: 1 / 1; /* Maintain squares on smaller screens to prevent text clipping */
    }

    .grprjlocation-heading{
        font-size:38px;
    }

}

/* Mobile */

@media (max-width: 768px){

    .grprjlocation-grid{
        grid-template-columns:repeat(2,1fr); 
    }

    /* Reset tablet alternating pattern */
    .grprjlocation-card:nth-child(n){
        flex-direction: row;
    }

    /* Alternating pattern for Mobile (1 card per row) */
    .grprjlocation-card:nth-child(even){
        flex-direction: row-reverse;
    }

    .grprjlocation-heading{
        font-size:30px;
    }

    .grprjlocation-content{
        padding:10px;
    }

    .grprjlocation-content h3{
        font-size: 14px;
        margin-bottom: 4px;
    }

    .grprjlocation-content p{
        font-size: 12px;
    }

}
/* ========== PROJECT LOCATION HIGHLIGHTS SECTION END ========== */



/* ========== PROJECT GALLERY SECTION START ========== */
#grprjgallery-container{
    max-width:1400px;
    margin:auto;
    padding:5px 5px;
}

.grprjgallery-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:0;
    margin-bottom:30px;
    flex-wrap:wrap;
    gap:20px;
}

.grprjgallery-header h2{
    font-size:36px;
    font-weight:700;
    color:#222;
    font-family: "Playfair Display", serif;
    margin:0;
}

.grprjgallery-tabs{
    display:flex;
    gap:10px;
}

.grprjgallery-tab{
    border:none;
    cursor:pointer;
    padding:12px 24px;
    border-radius:6px;
    background:#eee;
    font-weight:600;
}

.grprjgallery-tab.active{
    background:#cc252e;
    color:#fff;
}

.grprjgallery-content{
    display:none;
}

.grprjgallery-content.active{
    display:block;
}

/* PHOTOS */

.grprjgallery-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px;
}

.grprjgallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
}

.grprjgallery-item img:hover{
    transform:scale(1.03);
}

/* VIDEOS */

.grprjgallery-video-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
    gap:20px;
}

.grprjgallery-video-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 18px rgba(0,0,0,.06);
    border:1px solid #ebebeb;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grprjgallery-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

.grprjgallery-video-thumb{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.grprjgallery-video-thumb iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.grprjgallery-video-info{
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background: #fff;
}

.grprjgallery-video-info h3{
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}

.grprjgallery-video-info span {
    font-size: 12px;
    color: #a81c2f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding-top: 8px;
    border-top: 1px solid #f4f4f4;
}

/* IMAGE POPUP */

#grprjgallery-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

#grprjgallery-lightbox.active{
    display:flex;
}

.grprjgallery-lightbox-wrapper {
    position: relative;
    display: inline-block;
    max-width: 90%;
}

#grprjgallery-lightbox-img{
    max-width:100%;
    max-height:85vh;
    display: block;
}

.grprjgallery-close,
.grprjgallery-prev,
.grprjgallery-next{
    position:absolute;
    background:rgba(0, 0, 0, 0.6);
    border:none;
    color:#fff;
    cursor:pointer;
    font-size:24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: background 0.3s;
}

.grprjgallery-close:hover,
.grprjgallery-prev:hover,
.grprjgallery-next:hover {
    background:rgba(0, 0, 0, 0.9);
}

.grprjgallery-close{
    position: fixed;
    top: 25px;
    right: 30px;
}

.grprjgallery-prev{
    top:50%;
    left: 15px;
    transform:translateY(-50%);
}

.grprjgallery-next{
    top:50%;
    right: 15px;
    transform:translateY(-50%);
}

/* RESPONSIVE */

@media(max-width:1200px){

    .grprjgallery-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

@media(max-width:992px){

    .grprjgallery-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:768px){

    .grprjgallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .grprjgallery-video-grid{
        grid-template-columns:1fr;
    }

    .grprjgallery-header{
        flex-direction:column;
        text-align:center;
    }
}

@media(max-width:480px){

    .grprjgallery-grid{
        grid-template-columns:1fr;
    }
}
/* ========== PROJECT GALLERY SECTION END ========== */

/* ========================================================
   PROJECT ENQUIRY POPUP MODAL STYLES
   ======================================================== */

/* Modal Overlay */
.prj-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

.prj-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Modal Container */
.prj-modal-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(238, 168, 31, 0.15);
    padding: 32px 28px 24px;
    transform: scale(0.92) translateY(18px);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.prj-modal-container::-webkit-scrollbar {
    width: 6px;
}
.prj-modal-container::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.prj-modal-overlay.active .prj-modal-container {
    transform: scale(1) translateY(0);
}

/* Top Accent Yellow Bar */
.prj-modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #eea81f;
    border-radius: 16px 16px 0 0;
}

/* Close Button */
.prj-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.prj-modal-close:hover {
    background: #fee2e2;
    color: #cc252e;
    transform: rotate(90deg);
}

/* Modal Header */
.prj-modal-header {
    margin-bottom: 18px;
    padding-right: 32px;
}

.prj-modal-title {
    font-family: var(--font-secondary, 'Playfair Display', serif);
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.prj-modal-title .highlight {
    color: #cc252e;
}

.prj-modal-desc {
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Modal Form */
.prj-modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prj-form-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prj-form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.prj-form-group.full-width {
    width: 100%;
}

.prj-form-group label {
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.prj-form-group label .req {
    color: #cc252e;
}

.prj-form-group input,
.prj-form-group select,
.prj-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13.5px;
    color: #1f2937;
    background: #f9fafb;
    font-family: var(--font-primary, 'Inter', sans-serif);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.prj-readonly-input {
    background-color: #f3f4f6 !important;
    color: #4b5563 !important;
    cursor: not-allowed !important;
    border-color: #e5e7eb !important;
    font-weight: 600;
}
.prj-readonly-input:focus {
    box-shadow: none !important;
    border-color: #e5e7eb !important;
}

.prj-form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%236B7280' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
    cursor: pointer;
}

.prj-form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.prj-form-group input:hover,
.prj-form-group select:hover,
.prj-form-group textarea:hover {
    border-color: #cbd5e1;
}

.prj-form-group input:focus,
.prj-form-group select:focus,
.prj-form-group textarea:focus {
    outline: none;
    border-color: #cc252e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(204, 37, 46, 0.12);
}

/* Status Alert */
.prj-form-status {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.prj-form-status.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.prj-form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Actions */
.prj-form-actions {
    margin-top: 4px;
}

.prj-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #cc252e 0%, #a81c2f 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(204, 37, 46, 0.28);
    transition: all 0.3s ease;
}

.prj-submit-btn:hover {
    background: linear-gradient(135deg, #eea81f 0%, #d8910e 100%);
    box-shadow: 0 6px 18px rgba(238, 168, 31, 0.35);
    transform: translateY(-1px);
}

.prj-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 640px) {
    .prj-modal-container {
        padding: 24px 18px 20px;
        border-radius: 12px;
    }

    .prj-modal-title {
        font-size: 20px;
    }

    .prj-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}