.splash-projects-text {
    font-family: 'Chalkduster', cursive;
    font-size: var(--fs-big);
    color: var(--text-primary);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.splash-projects {
    background:
        linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.8));
    background-size: cover;
    background-position: center;
}

.container-fluid{
    max-width: 100%;
}
.sticky-info {
    position: sticky;
    top: 100px; 
}
.sticky-col {
    border-right: 1px solid rgba(255,255,255,0.15);

}

.projects-title {
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    font-weight: 700;
    letter-spacing: 1px;

}
.description {
    max-width: 40ch;
    line-height: 1.5;
    margin-bottom: 32px;
    text-align: justify;
    text-justify: inter-character;
    word-spacing: normal; 
    letter-spacing: -0.30px;
    hyphens: none;
    -webkit-hyphens: auto; 
    -ms-hyphens: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-size: clamp(16px, 1.2vw + 10px, 20px);
}

.description.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.description.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.description-line {
    width: 60px;
    height: 4px;
    background-color:  var(--accent-yellow);
}

.project-stats {
    margin-top: 60px;
    border-top: 1px solid rgba(255,215,0,0.2);
    padding-top: 30px;
}

.stat-number {
    font-weight: 700;
    color: var(--accent-yellow) ;
    letter-spacing: 3px;
    display: inline-block;
    line-height: 1;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.4);
}

.filter-title{
    font-size:14px;
    letter-spacing:2px;
    color:#aaa;
    margin-bottom:15px;
}

.cat-item{
    display:block;
    padding:8px 0;
    color:#777;
    text-decoration:none;
    font-size:14px;
    transition:0.3s;
}

.cat-item:hover{
    color:#fff;
}

.cat-item.active{
    color:var( --accent-yellow) ;
}

.project-box {
    width: 100%;
    aspect-ratio: 16/9; 
    background-color: var(--bg-secondary);
    border: 1px solid #333;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.4s ease;
    aspect-ratio: 3/2;
    overflow: hidden;
    display: block; 
}
.project-box:hover img {
    transform: scale(1.1);
    opacity: 1;

}
.projects-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    position: relative;
}
.project-detail{
    color: var(--text-primary) !important;
    text-decoration: none;

}

.project-title {
    color: var(--text-primary) !important;
    text-decoration: none;
    font-size: clamp(16px, 1.2vw + 10px, 20px);
}

.project-category {
    font-size: clamp(8px, 0.8vw + 6px, 14px);
}


.vertical-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    column-gap: 32px;
    row-gap: 20px;
}
.project-link {
    text-decoration: none;
    display: block;
}

.project-link:hover {
    text-decoration: none;
}
.project-item {
    transition: transform .3s ease;
}

.project-link:hover .project-item {
    transform: translateY(-4px);
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-spacer,
.pagination-controls,
.pagination-info {
    flex: 1; 
}

.pagination-spacer {
    display: block;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pagination-info {
    color: #aaa;
    font-size: 14px;
    text-align: right; 
}
.total-pages {
    margin-left: 4px; 
    word-spacing: 6px;
}

.page-icon {
    color: #aaa;
    text-decoration: none;
    font-size: 24px;
    padding: 4px 8px;
    transition: color 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.page-icon:hover:not(.disabled) {
    color: var( --accent-yellow);
}

.page-icon.disabled {
    color: #444;
    cursor: not-allowed;
}

.page-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-page-box {
    padding: 4px 14px;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    min-width: 32px;
}

@media (max-width: 991px) {
    .pagination-wrapper {
        gap: 20px;
        flex-direction: column-reverse; 
    }
    
    .pagination-spacer {
        display: none;
    }

    .pagination-controls,
    .pagination-info {
        flex: auto;
        text-align: center;
        justify-content: center;
    }
    .description {
        text-align: left;
        text-justify: none; 
        letter-spacing: normal; 
        word-spacing: normal; 
        line-height: 1.5; 
        -webkit-hyphens: none;
        hyphens: none;
        word-break: normal;
        width: 100%;
        max-width: 100%;
        margin-bottom: 25px;
        color: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 991px) {
    .sticky-col {
        border-right: none;

    }
    .projects-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .projects-content {
        grid-template-columns: 1fr;
    }

    .sticky-info {
        position: relative;
        top: 0;
    }
    .projects-layout::after {
        display: none;
    }

    .projects-content {
        border-left: none;
        padding-left: 0;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
}
@media (max-width: 768px) {
    .navbar{
        height: 55px;
    }
}
@media (max-width:425px){
.navbar{
    height: 55px;
    }
}
html, body {
    height: auto;
}
.projects-page {
    position: relative;
    min-height: 100vh; 
}

.projects-page::before {
    content: "";
    position: absolute;
    top: 70px; 
    left: 0;
    right: 0;
    bottom: 0; 
    width: 100%;
    background-image: url("/static/core/images/Project-bg.webp");
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    
    z-index: -1;
    pointer-events: none;
}

.yellow-side-line {
    position: absolute;
    top: 112px;
    left: 17px;
    width: 15px;
    bottom: 0; 
    background-color: var(--div-yellow); 
}
@media (max-width: 991px) {
    .yellow-side-line {
        display: none; 
    }
}