header {
    position: fixed;
    top: 0;
    z-index: 99;
}

.back-btn {
    position: fixed;
    top: -1px;
    left: -75px;
    width: 175px;
    height: 175px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    color: white;
    background-color: rgba(0, 0, 0, 0.148);
    backdrop-filter: blur(20px);
    font-size: 3rem;
    transition: color 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .back-btn {
        width: 120px;
        height: 120px;
        left: -45px;
        font-size: 2rem;
    }



}

.back-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.3s ease-in-out;
    border-radius: 50%;
}

.back-btn:hover::before {
    clip-path: inset(0 0 0 0);
}

.back-btn:hover {
    color: black;
}

.back-btn i {
    margin-left: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .back-btn i {
        margin-left: 1rem;
    }
}

.project-head {
    width: 100%;
    height: auto;
    z-index: -1;
    border-top-left-radius: 100020px;
    border-top-right-radius: 100020px;
}

.skill-set {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-set p {
    padding: .5rem 1.5rem;
    color: white;
    background-color: rgb(51, 51, 51);
    border-radius: 100px;
    font-size: clamp(0.8rem, 1.1vw, 1.2rem);
}

.heading {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    overflow: hidden;
    padding: 2rem;
    text-align: center;
}

.heading h2 {
    padding: 1rem;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: rgb(255, 255, 255);
    animation: slideUp 1s ease forwards;
    transform: translateY(100%);
    opacity: 0;
}

.view-project {
    padding: clamp(0.8rem, 1vw, 1.2rem) clamp(2rem, 4vw, 4rem);
    font-size: clamp(1rem, 1.3vw, 1.5rem);
    font-weight: 500;
    border-radius: 100px;
    color: var(--black);
    background: linear-gradient(
        60deg,
        #445f00 0%,
        #a7ce43 30%,
        var(--text) 70%,
        var(--text) 100%
    );
    box-shadow: 0 10px 20px rgba(195, 247, 58, 0.2);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    animation: slideUp 1s ease 0.2s forwards;
    transform: translateY(100%);
    opacity: 0;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.view-project:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(195, 247, 58, 0.3);
}

.view-project:active {
    transform: translateY(1px);
}

.project-overview {
    display: grid;
    grid-template-columns: 1fr 3fr;
    text-align: left;
    padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 7vw, 7rem);
    padding-bottom: 0;
    gap: 2rem;
}

@media (max-width: 768px) {
    .project-overview {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

.project-overview h3 {
    font-size: clamp(1.2rem, 1.5rem, 2rem);
    font-weight: 700;
    letter-spacing: -1px;    
}

.project-overview p {
    font-size: clamp(1rem, 1.2rem, 1.4rem);
    line-height: 1.8;
    color: var(--white);
    opacity: 0.8;
    font-weight: 300;
}

.project-logo {
    padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 7vw, 7rem);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-content: center;
    justify-content: center;
    gap: 2rem;
}

.project-logo img {
    width: 100%;
    max-width: 30vw;
}

@media (max-width: 768px) {
    .project-logo img {
        max-width: 100%;
    }
}

.wireframe {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 7vw, 7rem);
}

.wireframe video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.lol {
    padding: 0;
}
.final video{
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    margin: 3rem auto;
    display: block;
    aspect-ratio: 16/9;
    background: #000;
}
.banner-sinage{
    width: 100%;
    height: auto;
}


.animations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22.75rem, 1fr));
    gap: 2rem;
    place-items: center; /* centers both horizontally and vertically */
    padding: 2rem;
  }

  .animations video {
    width: 22.75rem;
    height: auto;
    border-radius: 0.75rem; /* 12px = 0.75rem */
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2); /* subtle shadow */
  }


  .final-sinage {
    width: 100%;
    height: auto; /* Full screen height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 5%;
    padding: 2rem;
  }

  .final-sinage h3{
    font-size: 2rem;
    padding: 2rem;
    font-weight: 700;
    color: var(--text);
  }
  
  .final-sinage video {
    width: 80%;
    height: auto;
    object-fit: cover;
    pointer-events: none; 
  }

.color{
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;

    justify-content: space-around;
}
.c-box{
    width: 10rem;
    height: 10rem;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

}

.c1{
    background-color: #1a3e6f;
}

.c2{
    background-color: #e55e27;
}

.c3{
    background-color: #2277bd;
}



@media (max-width: 768px) {
    .project-logo {
        padding: 2rem;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-logo img {
        width: 100%;
    }

    .wireframe {
        padding: 2rem;
    }

    .project-overview p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .project-overview h3 {
        font-size: 1.3rem;
    }

    .final video{
        width: 100%;
        border-radius: 0px;
    }

    .final-sinage{
        padding: 0;
    }

    .final-sinage video {
        width: 100%;
        height: auto;
        object-fit: cover;
        pointer-events: none; /* Prevent interaction if it's just a background */
      }
}



.box-ste{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-top: 5%;
}

.box-ste h3{
    font-size: 2rem;
}