:root {
    --primary-blue: #0052a1;
    --brand-orange: #ff9600;
    --dark-navy: #003a73;
    --font-primary: 'Inter', sans-serif;
}

/* ========== PROJECT HERO SECTION START ========== */

#jsrprojhome-slider-section {
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    margin-top: 0;
}

.jsrprojhome-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.jsrprojhome-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.jsrprojhome-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* TABLET */
@media (max-width: 992px) {
    #jsrprojhome-slider-section {
        height: 540px;
        max-height: 65vh;
        min-height: 380px;
    }
    .jsrprojhome-slide {
        height: 100%;
    }
    .jsrprojhome-slide img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    #jsrprojhome-slider-section {
        height: 500px;
        max-height: 62vh;
        min-height: 350px;
    }
    .jsrprojhome-slide {
        height: 100%;
    }
    .jsrprojhome-slide img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    #jsrprojhome-slider-section {
        height: 460px;
        max-height: 60vh;
        min-height: 320px;
    }
    .jsrprojhome-slide {
        height: 100%;
    }
    .jsrprojhome-slide img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* ========== PROJECT HERO SECTION END ========== */

/* ========== PROJECT BUTTONS SECTION START ========== */
#jsrprojbottom-wrapper{
    width:100%;
}

#jsrprojbottom-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;
}

#jsrprojbottom-fixedbar::-webkit-scrollbar{
    height:4px;
}

.jsrprojbottom-btn{
    text-decoration:none;
    color:#ffffff;
    background:var(--primary-blue, #0052a1);
    padding:12px 22px;
    border-radius:0;
    font-family:var(--font-primary, 'Inter', sans-serif);
    font-size:14px;
    font-weight:300;
    letter-spacing:0.3px;
    text-transform:uppercase;
    white-space:nowrap;
    transition:all .3s ease;
}

.jsrprojbottom-btn:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.jsrprojbottom-btn:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.jsrprojbottom-btn:hover{
    background: var(--brand-orange, #ff9600);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Sample Section Styling */

.jsrprojbottom-section{
    padding:30px 30px;
}

/* TABLET */

@media(max-width:992px){

    #jsrprojbottom-fixedbar{
        justify-content:flex-start;
        padding:10px;
        gap:1px;
    }

    .jsrprojbottom-btn{
        padding:10px 18px;
        font-size:14px;
    }
}

/* MOBILE */

@media(max-width:768px){

    #jsrprojbottom-fixedbar{
        justify-content:flex-start;
        padding:10px;
        gap:1px;
    }

    .jsrprojbottom-btn{
        font-size:13px;
        padding:10px 16px;
    }
}
/* ========== PROJECT BUTTONS SECTION END ========== */

/* ========== PROJECT OVERVIEW SECTION START ========== */
#overview {
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url("../../assets/images/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#jsrprojoverview-container{
    width:100%;
    max-width: 1200px;
    margin: 0 auto;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:40px;
    background: transparent;
}

.jsrprojoverview-left{
    width:30%;
    position:sticky;
    top:120px;
    background: #ffffff;
    padding: 5px 5px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.jsrprojoverview-logo{
    display: flex;
    justify-content: center;
}

.jsrprojoverview-logo img{
    max-width:160px;
    width:100%;
    display:block;
}

.jsrprojoverview-divider {
    width: 100%;
    height: 1px;
    background: #eaeaea;
    margin: 20px 0;
}

.jsrprojoverview-approval{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}

.jsrprojoverview-approval h4{
    font-size:15px;
    font-weight:700;
    color:#111;
    margin: 0;
    text-align: center;
}

.jsrprojoverview-approval .info-label {
    font-weight: 500;
    color: #666;
}

.jsrprojoverview-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.jsrprojoverview-buttons{
    display:flex;
    flex-direction:row;
    justify-content:center;
    gap:1px;
    width:100%;
}

.jsrprojoverview-btn{
    text-decoration:none;
    background:var(--primary-blue, #0052a1);
    color:#fff;
    padding:12px 10px;
    border-radius:0;
    font-weight:500;
    font-size: 13px;
    transition:0.3s ease;
    text-align:center;
    flex:1;
    white-space:nowrap;
}

.jsrprojoverview-btn:first-child {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.jsrprojoverview-btn:last-child {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.jsrprojoverview-btn:hover{
    background: var(--brand-orange, #ff9600);
    color: #ffffff;
}

/* Row 2: Plots Available Button */
.jsrprojoverview-plots-row {
    width: 100%;
}

.jsrprojoverview-plots-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
    background: var(--primary-blue, #0052a1);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 82, 161, 0.15);
}

.jsrprojoverview-plots-btn:hover {
    background: var(--brand-orange, #ff9600);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 150, 0, 0.25);
}

/* Right Side */

.jsrprojoverview-right{
    width:70%;
    padding-top: 5px;
}

.jsrprojoverview-heading-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.heading-line {
    width: 30px;
    height: 1px;
    background: #21313b;
}

.jsrprojoverview-heading{
    font-size:34px;
    font-weight:600;
    color:#0052a1;
    font-family: "Playfair Display", serif;
    margin: 0;
}

.heading-underline {
    width: 45px;
    height: 1px;
    background: #21313b;
    margin-top: 10px;
    margin-bottom: 25px;
}

.jsrprojoverview-text{
    font-size:14px;
    line-height:1.8;
    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){

    #jsrprojoverview-container{
        flex-direction:column;
        gap:40px;
    }

    .jsrprojoverview-left,
    .jsrprojoverview-right{
        width:100%;
    }

    .jsrprojoverview-left{
        position:relative;
        top:0;
    }

    .jsrprojoverview-buttons{
        flex-direction:row;
        flex-wrap:nowrap;
    }

    .jsrprojoverview-btn{
        flex:1;
        min-width:0;
        padding: 10px 5px;
        font-size: 12px;
    }

}

/* MOBILE */

@media(max-width:768px){

    #overview {
        padding: 20px 12px 85px 12px;
    }

    #jsrprojoverview-container {
        gap: 25px;
    }

    .jsrprojoverview-left {
        width: 100%;
        background: #ffffff;
        padding: 20px 14px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid #f0f0f0;
        margin: 0 auto 25px auto;
    }

    .jsrprojoverview-logo img{
        max-width: 140px;
        margin: 0 auto;
    }

    .jsrprojoverview-divider {
        margin: 12px 0;
    }

    .jsrprojoverview-approval h4 {
        font-size: 13.5px;
        line-height: 1.45;
        text-align: center;
    }

    .jsrprojoverview-buttons-group {
        gap: 8px;
        margin-top: 12px;
    }

    .jsrprojoverview-buttons {
        margin-top: 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1px;
    }

    .jsrprojoverview-btn {
        padding: 10px 6px;
        font-size: 12px;
        font-weight: 500;
        text-align: center;
    }

    .jsrprojoverview-plots-btn {
        padding: 10px 14px;
        font-size: 12.5px;
        font-weight: 600;
    }

    .jsrprojoverview-heading{
        font-size: 28px;
    }

    .jsrprojoverview-text{
        font-size: 14px;
        line-height: 1.6;
    }

}
/* ========== PROJECT OVERVIEW SECTION END ========== */

/* ========== PROJECT HIGHLIGHTS SECTION START ========== */
#highlights {
    background: #ffffff;
    padding: 40px 0;
}

#jsrprojhigh-container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.jsrprojhigh-title-wrap{
    text-align:center;
    margin-bottom:25px;
}

.jsrprojhigh-subtitle{
    display:inline-block;
    color: var(--primary-blue, #1664d4);
    font-size:12px;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
    margin-bottom:6px;
}

.jsrprojhigh-title{
    font-size:30px;
    font-weight:600;
    color: #111111;
    font-family: "Playfair Display", serif;
}

.jsrprojhigh-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.jsrprojhigh-card{
    background:#ffffff;
    padding: 26px 16px;
    min-height: 125px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius:0;
    transition: all .3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-right: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.jsrprojhigh-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-orange, #ff9600);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.jsrprojhigh-card:hover{
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(0,82,161,0.12), 0 8px 25px rgba(0,82,161,0.1);
    z-index: 3;
}

.jsrprojhigh-card:hover::before {
    transform: scaleX(1);
}

.jsrprojhigh-icon{
    width: auto;
    height: 40px;
    margin: 0 0 12px 0;
    border-radius: 0;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
    flex-shrink: 0;
}

.jsrprojhigh-card:hover .jsrprojhigh-icon {
    transform: translateY(-3px) scale(1.1);
}

.jsrprojhigh-icon svg, .jsrprojhigh-icon img {
    width: 28px;
    height: 28px;
    transition: all .3s ease;
}

.jsrprojhigh-icon i {
    font-size: 28px;
    color: var(--primary-blue, #0052a1);
    transition: color .3s ease, transform .3s ease;
}

.jsrprojhigh-card:hover .jsrprojhigh-icon i {
    color: var(--brand-orange, #ff9600);
}

.jsrprojhigh-card h3{
    font-size: 13.5px;
    line-height: 1.4;
    color: #111111;
    font-weight: 600;
    transition: color .3s ease;
    margin: 0;
    max-width: 190px;
    opacity: 1;
}

.jsrprojhigh-card:hover h3 {
    color: var(--primary-blue, #0052a1);
}

/* Tablet */

@media(max-width:1200px){
    .jsrprojhigh-grid{
        grid-template-columns:repeat(5,1fr);
    }
}

@media(max-width:992px){

    .jsrprojhigh-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .jsrprojhigh-title{
        font-size:28px;
    }

}

/* Mobile */

@media(max-width:768px){

    .jsrprojhigh-grid{
        grid-template-columns:repeat(2,1fr);
        gap:0;
    }

    .jsrprojhigh-card{
        padding: 18px 8px;
        min-height: 100px;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .jsrprojhigh-icon{
        margin: 0 auto 8px;
        height: 32px;
    }

    .jsrprojhigh-icon i {
        font-size: 22px;
    }

    .jsrprojhigh-icon svg, .jsrprojhigh-icon img {
        width: 24px;
        height: 24px;
    }

    .jsrprojhigh-title{
        font-size:24px;
    }

    .jsrprojhigh-card h3{
        font-size:12.5px;
    }

}

/* ========== PROJECT HIGHLIGHTS SECTION END ========== */

/* ========== PROJECT LOCATION HIGHLIGHTS SECTION START ========== */
#jsrprojlocation-container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.jsrprojlocation-heading-wrap{
    text-align:center;
    margin-bottom:20px;
}

.jsrprojlocation-subtitle{
    display:block;
    color:#0052a1;
    font-size:14px;
    font-weight:700;
    letter-spacing:3px;
    margin-bottom:8px;
}

.jsrprojlocation-heading{
    font-size:36px;
    font-weight:700;
    color:#0052a1;
    font-family: "Playfair Display", serif;
}

.jsrprojlocation-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);
}

.jsrprojlocation-card{
    display: flex;
    grid-column: span 2;
    flex-direction: row;
}

/* Alternating pattern for Desktop (3 cards per row) */
.jsrprojlocation-card:nth-child(6n+4),
.jsrprojlocation-card:nth-child(6n+5),
.jsrprojlocation-card:nth-child(6n){
    flex-direction: row-reverse;
}

.jsrprojlocation-card img, .jsrprojlocation-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;
}

.jsrprojlocation-card img{
    object-fit:cover;
    background-color:#f4f6f8;
}

.jsrprojlocation-content{
    padding:15px 20px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    background:#fff;
    text-align: center;
}

.jsrprojlocation-card:hover .jsrprojlocation-content{
    background:#fafafa;
}

.jsrprojlocation-card:hover .jsrprojlocation-content h3{
    color: var(--brand-orange, #ff9600);
}

.jsrprojlocation-content h3{
    font-size:16px;
    font-weight:700;
    color:#0052a1;
    margin-bottom:8px;
}

.jsrprojlocation-content p{
    font-size:13px;
    color:#555;
    line-height:1.5;
    margin:0;
}

/* Tablet */

@media (max-width: 992px){

    .jsrprojlocation-grid{
        grid-template-columns:repeat(4,1fr); 
    }

    /* Reset desktop alternating pattern */
    .jsrprojlocation-card:nth-child(n){
        flex-direction: row;
    }

    /* Alternating pattern for Tablet (2 cards per row) */
    .jsrprojlocation-card:nth-child(4n+3),
    .jsrprojlocation-card:nth-child(4n){
        flex-direction: row-reverse;
    }

    .jsrprojlocation-card img, .jsrprojlocation-content{
        height: auto; 
        aspect-ratio: 1 / 1; /* Maintain squares on smaller screens to prevent text clipping */
    }

    .jsrprojlocation-heading{
        font-size:38px;
    }

}

/* Mobile */

@media (max-width: 768px){

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

    /* Reset tablet alternating pattern */
    .jsrprojlocation-card:nth-child(n){
        flex-direction: row;
    }

    /* Alternating pattern for Mobile (1 card per row) */
    .jsrprojlocation-card:nth-child(even){
        flex-direction: row-reverse;
    }

    .jsrprojlocation-heading{
        font-size:30px;
    }

    .jsrprojlocation-content{
        padding:10px;
    }

    .jsrprojlocation-content h3{
        font-size: 14px;
        margin-bottom: 4px;
    }

    .jsrprojlocation-content p{
        font-size: 12px;
    }

}
/* ========== PROJECT LOCATION HIGHLIGHTS SECTION END ========== */

/* ========== PROJECT SITE LOCATION SECTION START ========== */
#site-location {
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url("../../assets/images/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#jsrprojgmap-container{
    max-width:1100px;
    margin:auto;
    padding:0;
}

.jsrprojgmap-heading-wrap{
    text-align:center;
    margin-top:0;
    margin-bottom:20px;
}

.jsrprojgmap-subtitle{
    display:block;
    font-size:13px;
    font-weight:700;
    letter-spacing:3px;
    color:#0052a1;
    margin-top:0;
    margin-bottom:8px;
    text-transform: uppercase;
}

.jsrprojgmap-heading{
    font-size:36px;
    font-weight:700;
    color:#0052a1;
    margin:0;
    font-family: "Playfair Display", serif;
}

.jsrprojgmap-wrapper{
    display:flex;
    gap:20px;
    align-items:stretch;
}

.jsrprojgmap-info{
    width:40%;
    background:#f8f9fa;
    padding:40px;
    border-radius:12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.jsrprojgmap-title{
    font-size:26px;
    margin-bottom:20px;
    color:#111;
    font-weight: 700;
}

.jsrprojgmap-text{
    font-size:15px;
    line-height:1.6;
    color:#555;
    margin-bottom:20px;
}

.jsrprojgmap-btn{
    display:inline-block;
    padding:12px 24px;
    background:#0052a1;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    font-weight:600;
    font-size:14px;
    transition:.3s;
}

.jsrprojgmap-btn:hover{
    background: var(--brand-orange, #ff9600);
    color: #ffffff;
    transform:translateY(-2px);
}

.jsrprojgmap-map{
    width:60%;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,0.05);
}

.jsrprojgmap-map iframe{
    width:100%;
    height:100%;
    min-height:400px;
    border:none;
    display: block;
}

/* TABLET */

@media(max-width:992px){

    .jsrprojgmap-wrapper{
        flex-direction:column;
    }

    .jsrprojgmap-info,
    .jsrprojgmap-map{
        width:100%;
    }

    .jsrprojgmap-map iframe{
        min-height:350px;
    }

}

/* MOBILE */

@media(max-width:768px){

    .jsrprojgmap-heading{
        font-size:32px;
    }

    .jsrprojgmap-info{
        padding:5px;
    }

    .jsrprojgmap-title{
        font-size:22px;
    }

    .jsrprojgmap-map iframe{
        min-height:300px;
    }

}
/* ========== PROJECT SITE LOCATION SECTION END ========== */

/* ========== PROJECT GALLERY SECTION START ========== */
#jsrprojgallery-container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.jsrprojgallery-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:0;
    margin-bottom:30px;
    flex-wrap:wrap;
    gap:20px;
}

.jsrprojgallery-header h2{
    font-size:36px;
    font-weight:700;
    color:#222;
    font-family: "Playfair Display", serif;
    margin:0;
}

.jsrprojgallery-tabs{
    display:flex;
    gap:10px;
}

.jsrprojgallery-tab{
    border:none;
    cursor:pointer;
    padding:12px 24px;
    border-radius:6px;
    background:#eee;
    font-weight:600;
    transition: all .3s ease;
}

.jsrprojgallery-tab:hover{
    background: var(--brand-orange, #ff9600);
    color: #ffffff;
}

.jsrprojgallery-tab.active{
    background:#0052a1;
    color:#fff;
}

.jsrprojgallery-content{
    display:none;
}

.jsrprojgallery-content.active{
    display:block;
}

/* PHOTOS */

.jsrprojgallery-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:6px;
}

.jsrprojgallery-item img{
    width:100%;
    height:145px;
    object-fit:cover;
    border-radius:6px;
    cursor:pointer;
    transition:.3s;
}

.jsrprojgallery-item img:hover{
    transform:scale(1.03);
}

/* VIDEOS */

.jsrprojgallery-video-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.jsrprojgallery-video-card{
    cursor:pointer;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jsrprojgallery-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,.15);
}

.jsrprojgallery-video-card::before {
    content: "\25BA"; /* Play icon */
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    z-index: 1;
    transition: background 0.3s ease;
    padding-left: 4px; /* visually center the triangle */
    box-sizing: border-box;
}

.jsrprojgallery-video-card:hover::before {
    background: #ff0000;
}

.jsrprojgallery-video-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display: block;
}

.jsrprojgallery-video-info{
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    background: #fff;
    z-index: 2;
}

.jsrprojgallery-video-info h3{
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}

.jsrprojgallery-video-info span {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* IMAGE POPUP */

#jsrprojgallery-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

#jsrprojgallery-lightbox.active{
    display:flex;
}

.jsrprojgallery-lightbox-wrapper {
    position: relative;
    display: inline-block;
    max-width: 90%;
}

#jsrprojgallery-lightbox-img{
    max-width:100%;
    max-height:85vh;
    display: block;
}

.jsrprojgallery-close,
.jsrprojgallery-prev,
.jsrprojgallery-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;
}

.jsrprojgallery-close:hover,
.jsrprojgallery-prev:hover,
.jsrprojgallery-next:hover {
    background:rgba(0, 0, 0, 0.9);
}

.jsrprojgallery-close{
    position: fixed;
    top: 25px;
    right: 30px;
}

.jsrprojgallery-prev{
    top:50%;
    left: 15px;
    transform:translateY(-50%);
}

.jsrprojgallery-next{
    top:50%;
    right: 15px;
    transform:translateY(-50%);
}

/* VIDEO POPUP */

#jsrprojgallery-video-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

#jsrprojgallery-video-modal.active{
    display:flex;
}

.jsrprojgallery-video-wrapper{
    width:80%;
    max-width:1000px;
    position: relative;
}

#jsrprojgallery-video-frame{
    width:100%;
    height:550px;
    border:none;
    display: block;
}

.jsrprojgallery-video-close,
.jsrprojgallery-video-prev,
.jsrprojgallery-video-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;
}

.jsrprojgallery-video-close:hover,
.jsrprojgallery-video-prev:hover,
.jsrprojgallery-video-next:hover {
    background:rgba(0, 0, 0, 0.9);
}

.jsrprojgallery-video-close{
    position: fixed;
    top: 25px;
    right: 30px;
}

.jsrprojgallery-video-prev{
    top:50%;
    left: 15px;
    transform:translateY(-50%);
}

.jsrprojgallery-video-next{
    top:50%;
    right: 15px;
    transform:translateY(-50%);
}

/* RESPONSIVE */

@media(max-width:1200px){

    .jsrprojgallery-grid{
        grid-template-columns:repeat(4,1fr);
    }

    .jsrprojgallery-video-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:992px){

    .jsrprojgallery-grid{
        grid-template-columns:repeat(3,1fr);
    }

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

@media(max-width:768px){

    .jsrprojgallery-grid{
        grid-template-columns:repeat(2,1fr);
        gap: 8px;
    }

    .jsrprojgallery-item img{
        height: 120px;
        object-fit: cover;
    }

    .jsrprojgallery-video-grid{
        grid-template-columns:1fr;
    }

    #jsrprojgallery-video-frame{
        height:300px;
    }

    .jsrprojgallery-header{
        flex-direction:column;
        text-align:center;
    }
}

@media(max-width:480px){

    .jsrprojgallery-grid{
        grid-template-columns:repeat(2, 1fr);
        gap: 6px;
    }

    .jsrprojgallery-item img{
        height: 105px;
        object-fit: cover;
    }
}
/* ========== PROJECT GALLERY SECTION END ========== */

/* ========== SCROLL ANIMATIONS START ========== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}
/* ========== SCROLL ANIMATIONS END ========== */

/* ========== PLOTS AVAILABLE POPUP MODAL START ========== */
.jsrprojplots-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.jsrprojplots-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.jsrprojplots-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.jsrprojplots-modal-container {
    position: relative;
    width: 96%;
    max-width: 1250px;
    height: 88vh;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    z-index: 2;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.jsrprojplots-modal.active .jsrprojplots-modal-container {
    transform: scale(1);
}

.jsrprojplots-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #0052a1;
    color: #ffffff;
    flex-shrink: 0;
}

.jsrprojplots-modal-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary, sans-serif);
}

.jsrprojplots-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jsrprojplots-modal-extbtn {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.18);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.jsrprojplots-modal-extbtn:hover {
    background: var(--brand-orange, #ff9600);
    color: #ffffff;
}

.jsrprojplots-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.3s ease;
}

.jsrprojplots-modal-close:hover {
    color: var(--brand-orange, #ff9600);
}

.jsrprojplots-modal-body {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.jsrprojplots-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #ffffff;
}

@media (max-width: 768px) {
    .jsrprojplots-modal {
        padding: 8px;
    }
    .jsrprojplots-modal-container {
        width: 100%;
        height: 94vh;
        border-radius: 12px;
    }
    .jsrprojplots-modal-header {
        padding: 10px 14px;
    }
    .jsrprojplots-modal-title {
        font-size: 13.5px;
    }
    .jsrprojplots-modal-extbtn {
        padding: 5px 10px;
        font-size: 11.5px;
    }
}
/* ========== PLOTS AVAILABLE POPUP MODAL END ========== */