.projects-page{
    min-height:100vh;
    background: transparent !important;
    position: relative;
    z-index:2;
}

.projects-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
     object-position: center;
}

.projects-wrapper {
    padding-top: 150px;
    padding-left: 95px;
    padding-right: 80px;
    padding-bottom: 120px;
}

.projects-wrapper h1 {
    font-size: 70px;
    font-family: 'Hadley', sans-serif;
    color:white;
}

.projects-wrapper .line {
    width: 140px;
    height: 2px;
    margin: 15px 0;
    position: relative;
    background: linear-gradient(
        to right,
        #ff7a1a 0%,
        rgba(255,122,26,0.4) 70%,
        transparent 100%
    );
}

.projects-wrapper p {
    margin-top: 20px;
    color: white;
    font-size: 15px;
}

.projects-slider{
    overflow:visible;
    width:100%;
    position:relative;
    padding:70px 0;
}

.projects-track{
    display:flex;
    gap:24px;
    width:max-content;
    animation: scrollProjects 45s linear infinite;
}

.project-card {
    width: 280px;
    height: 420px;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
     z-index: 1;
    flex-shrink: 0;
    transition: all .6s ease;
    cursor: pointer;
}

.project-card:hover {
    
     transform: scaleX(1.48) scaleY(1.25);
     z-index: 99;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
}


.project-overlay{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 38%;

    display: flex;
    justify-content: center;
    align-items: flex-end;

    padding-bottom: 35px;
    text-align: center;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.52) 35%,
        rgba(0,0,0,0.15) 70%,
        transparent 100%
    );

    z-index: 2;
}

.project-overlay h3{
    font-size: 28px;
    color: white;
    position: relative;
    z-index: 3;
    max-width: 85%;
    line-height: 1.2;
}

.project-overlay p {
    font-size: 16px;
    display: inline-block;
    padding: 8px 18px;
    margin-top: 10px;
    border-radius: 30px;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.12);

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.12),
        0 8px 18px rgba(0,0,0,0.18);
}

.project-overlay p {
    font-size: 16px;
}

@keyframes scrollProjects{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}

.gallery-view {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(25px);
    display: none;
    z-index: 9999;
    padding: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 80px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 20px;
}

.back-btn {
    padding: 16px 30px;
    border-radius: 40px;
    border: 1px solid #ff7a1a;
    background: transparent;
    color: white;
}
.desktop-text{
    display:block;
}
.mobile-text{
    display:none;
}

@keyframes slideProjects {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-33%);
    }
}