*,*::after,*::before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.hover-underline-animation {
    display: inline-block;
    position: relative;
  }

  .hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(1);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--red-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }

  .hover-underline-animation:hover:after {
    transform: scaleX(0);
    transform-origin: bottom left;
  }
@font-face {
    font-family: "Roboto";
    src: url("assets/Roboto-Regular.ttf");
}
:root{
    scroll-behavior: smooth;
    font-size: 17px;
    --h1: 3.8rem;
    --h2: 3.05rem;
    --h3: 2.44rem;
    --h4: 1.95rem;
    --h4: 1.5625rem;
    --h5: 1.25rem;
    --bg-color: #000000;
    --small-bg-color: #000000c3;
    --white-color: #ffffff;
    --text-color: #ffffff9e;
    --red-color: #ff0000;
    --h-font: "Roboto";
}
@media screen and (min-width: 900px) {
    :root{
        font-size: 18px;
    }
}
a{
    color: inherit;
    text-decoration: none;
}
body{
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
}
::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-track{
    background-color: var(--bg-color);
}
::-webkit-scrollbar-thumb{
    background-color: var(--red-color);
}
nav{
    background-color: var(--bg-color);
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 15px 30px;
    position: relative;
    z-index: 1;
    border-bottom: var(--white-color) solid 1px;
    margin: auto;
}
nav > p{
    font-size: var(--h2);
    color: var(--white-color);

}
nav > ul{
    all: unset;
    width: 400px;
    background-color: var(--white-color);
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 15px;
    padding: 0 15px;
    margin-right: 5vw;
}
.nav-link{
    text-decoration: none;
    color: var(--bg-color);
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color ease-in 0.2s;
}
/* .nav-link-active{
    background-color: var(--bg-color);
    color: var(--white-color);
} */
.mobile-active{
    opacity: 100%;
    pointer-events: auto;
    transform: translateY(0);
}
@media screen and (min-width: 500px) {
    .nav-link:hover{
        background-color: #00000019;
    }
}
@media screen and (max-width: 767px) {
    .hamburger{
        width: 40px;
        height: 40px;
        background-color: var(--white-color);
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        border-radius: 5px;
        padding: 0px 5px;
        position: fixed;
        top: 20px;
        right: 20px;
    }
    .bar{
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--bg-color);
    }
    nav{
        max-width: 100vw;
    }
    nav > p{
        font-size: var(--h3);
    }
    nav > ul{
        flex-direction: column;
        position: fixed;
        right: 20px;
        top: 85px;
        max-width: 90%;
        width: 200px;
        height: 200px;
        max-height: 90%;
        margin: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
        transition: opacity 0.2s ease-in, transform 0.2s ease-in;
    }
    .nav-link{
        width: 90%;
        text-align: center;
    }
}
.hero{
    width: 100%;
    height:90vh;
    position: relative;
}
h1{
    text-align: right;
    color: var(--white-color);
    font-size: 7vmax;
    margin-right: 5vh;
}
@media screen and (max-width: 767px) {
    h1{
        font-size: 50px;
        margin-top: 15px;
    }
}
.hero > p{
    width: 300px;
    position: absolute;
    bottom: 80px;
    left: 10px;
    color: var(--white-color);
}
.service-section{
    width: 100%;
    min-height: 80vh;
    color: var(--white-color);
}
.service-title{
    font-size: var(--h2);
    padding-left: 5vh;
    padding-bottom: 2vh;
}
.service-container{
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 80%;
    justify-content: space-around;
    align-items: center;
}
.service-child{
    height: 100%;
    width: 50%;
    text-align: right;
    font-size: var(--h5);
    line-height: 40px;
    display: flex;
    align-items: start;
}
.child-2{
    padding-top: 40px;
    width: 380px;
}
.service-parent{
    min-height: 90vh;
    border-bottom: 1px white solid;
    padding-top: 40px;
}
#child-2-1{
    text-align: left;
    order: 2;
}
#child-2-2{
    text-align: left;
}
@media screen and (max-width: 767px) {
    .service-container{
        flex-direction: column;
    }
    .service-child{
        text-align: left;
        width: 100%;
        height: 50%;
        padding: 10px;
    }
}
.slider-animation-cont{
    width: 100%;
    height: 80px;
    border-top: 6px solid red;
    border-bottom: 6px solid red;
    transform: skewY(1deg);
}
.slider-parent-container{
    display: flex;
    flex-wrap: nowrap;
}
.slider-parent{
    width: 100%;
    overflow-x: hidden;
    color: var(--white-color);
    font-size: var(--h2);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* animation: text-slider 5s linear alternate infinite; */
    flex-shrink: 0;
}

.slider-item{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.slider-item > *{
    flex-shrink: 0;
}
.slider-item > p{
    padding-right: 30px;
    padding-left: 30px;
}
.circle{
    width: 30px;
    height: 30px;
    background-color: var(--white-color);
    border-radius: 50%;
}
@keyframes text-slider {
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-73%);
    }
}
.work-section{
    width: 100%;
    min-height: 60vh;
}
#service-parent-3{
    border: none;
}
#slider-2{
    transform: none;
}
.work-container{
    overflow: hidden;
    position: relative;
    width: 80vw;
    height: 650px;
    margin: auto;
    margin-top: 4vh;
}
.work-image{
    width: 100%;
    height: 100%;
    border-radius: 30px;
}
.work-title{
    font-size: var(--h3);
    color: var(--white-color);
}
.visit-btn{
    width: 100%;
    display: flex;
    justify-content: end;
}
@media screen and (min-width: 768px){
    .work-hover{
        z-index: 1;
        isolation: isolate;
        padding: 30px;
        padding-top: 300px;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0;
        opacity: 0;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s ease-in, height 0.2s ease-in;
        background-image: linear-gradient(0,rgb(0,0,0,0.9),rgb(0,0,0,0.9),rgb(0,0,0,0.9),rgb(0,0,0,0.9),rgb(0,0,0,0.9),rgb(0,0,0,0.9),rgb(0,0,0,0.9),rgb(0,0,0,0.9),rgb(0,0,0,0.9),rgb(0,0,0,0.7),rgb(0,0,0,0.4),rgb(0,0,0,0.2),rgb(0,0,0,0.1),transparent);
    }
    .work-container:hover > .work-hover{
        opacity: 100%;
        height: 100%;
    }
    .work-title{
        position: absolute;
        top: 50%;
        left: 30px;
    }
    .visit-btn{
        position: absolute;
        bottom: 40px;
        right: 40px;
        width: 150px;
        height: 75px;
        padding: 30px;
        background-color: var(--white-color);
        color: var(--bg-color);
        font-size: var(--h4);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 30px;
        border: 0px solid var(--bg-color);
        transition: border 0.1s ease-in,font-size 0.1s ease-in;
        cursor: pointer;
    }
    .visit-btn:hover{
        border: 5px solid var(--bg-color);
        font-size: calc(var(--h4) * 1.1);
    }
    .visit-btn > img{
        width: 40px;
        height: 40px;
    }
    .work-text{
        width: 40ch;
        position: absolute;
        top: 60%;
        left: 30px;
    }
}
@media screen and (max-width: 767px) {
    .work-section{
        margin-bottom: 20vh;

    }
    .work-container{
        height: 420px;
        border-radius: 20px;
        background-color: var(--white-color);
        padding: 10px;
    }
    .work-image{
        width: 100%;
        height: auto;
    }
    .work-title{
        color: var(--bg-color);
        font-weight: bold;
        font-size: var(--h4);
        margin-top: 15px;
    }
    .work-text{
        color: var(--small-bg-color);
    }
    .visit-btn{
        position: absolute;
        bottom: 20px;
        right: 20px;
        width: 100%;
        display: flex;
        align-items: center;
        font-size: var(--h4);
        justify-content: end;
        color: var(--bg-color);
    }
    .visit-btn > img{
        margin-left: 10px;
        width: 25px;
        height: 25px;
    }
        
}
#about{
    margin-top: 10vh;
    position: relative;
    width: 100%;
    height: 200vh;
}
#slider-3{
    transform: skewY(-1deg);
}
.sticky-about{
    position: sticky;
    width: 100%;
    height: 100vh;
    top: 0;
    z-index: -1;
}
.about-p{
    padding-top: 200px;
    padding-bottom: 200px;
    min-width: 600px;
    width: 40ch;
    line-height: 100px;
    min-height: 300px;
    margin: auto;
    font-size: var(--h3);
    color: white;
}
@media screen and (max-width: 767px) {
    .about-p{
        width: 100%;
        font-size: var(--h4);
        line-height: 40px;
        min-height: 0;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
    }
}
.footer{
    background-color: var(--red-color);
    width: 100%;
    height: 100vh;
    padding: 50px 50px;
    position: relative;
}
.footer-cta{
    color: black;
    font-size: var(--h2);
    transition: color 0.25s;
}
.footer-cta:hover{
    color: var(--white-color);
}
footer{
    width: 100vw;
    height: 100vh;
    position: relative;
}
.socials{
    padding-top: 40vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.socials>a{
    z-index: 1;
    background-color: black;
    height: 50px;
    width : 50px;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.25s ease-in-out;
}
.socials > a:hover{
    background-color: var(--white-color);
}
.copyright-section{
    position: absolute;
    bottom: 10px;
    width: 100%;
    color: var(--white-color);
}
.social-icon{
    height: 40px;
    width: 40px;
}

@media screen and (max-width: 767px) {
    html{
        overflow-x: hidden;
    }
    .hero > p{
        line-height: 25px;
    }
    /* .slider-animation-cont{
        min-width: fit-content;
    }
    .slider-parent{
        width: fit-content;
    }
    .slider-item{
        padding-right: 30px;
    } */
}
@media screen and (max-width: 767px) {
    .blur-container{
        z-index: -1;
        position: relative;
        margin-top: 20px;
        width: 300px;
        height: 300px;
        background: var(--bg-color);
        filter: blur(10px);
        -webkit-filter: blur(10px);
        border-radius: 20px;
        scale: 2;
    }
    .red-blur{
        position: absolute;
        width: 250px;
        height: 250px;
        background-color: var(--red-color);
        border-radius: 250px;
        animation: redBlur ease 60s infinite;
        backdrop-filter: invert(80%);
    }
}
@keyframes redBlur {
    0%{
        top: 20px;
        left: 20px;
    }
    10%{
        top: 30px;
        left: 80px;
    }
    20%{
        top: 65px;
        left: 120px;
    }
    30%{
        top: 100px;
        left: 150px;
    }
    40%{
        top: 30px;
        left: 20px;
    }
    50%{
        top: 20px;
        left: 80px;
    }
    60%{
        top: 120px;
        left: 20px;
    }
    70%{
        top: 30px;
        left: 80px;
    }
    80%{
        top: -40px;
        left: 120px;
    }
    90%{
        top: 100px;
        left: 50px;
    }
    100%{
        top: 20px;
        left: 20px;
    }
}

/* Work css styling */
.work-page{
    height: 870vh;
    width: 100%;
    position: relative;
    isolation: isolate;
}
.work-display-img{
    width: 100%;
    height: auto;
    max-height: 100vh;
    overflow: hidden;
    filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: -1;
}
.work-display-container{
    border-radius: 20px;
    margin: auto;
    width: 1000px;
    height: 600px;
    background-color: rgba(255, 255, 255, 0.351);
    padding: 20px;
    position: sticky;
    top: 5vh;
    overflow: hidden;
    transition: scale 0.1s ease-in;
    margin-bottom: 50vh;
    cursor: pointer;
}
.work-display-container::after{
    content: "Demo";
    color: var(--white-color);
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: var(--h5);
}
.work-display-container > img{
    width: 100%;
    height: auto;
    max-height: 100%;
    transition: scale 0.1s ease-in;
}
.work-display-container > p{
    font-size: var(--h3);
    font-weight: bold;
    color: var(--white-color);
    position: absolute;
    bottom: 40px;
    left: 40px;
}
.work-display-container:hover {
    scale: 1.02;
}
.work-display-container:hover > img{
    scale: 0.98;
}
.work-footer{
    position: sticky;
}
@media screen and (max-width: 767px) {
    .work-display-container::after{
        content: "Demo";
        color: var(--white-color);
        position: absolute;
        top: 40px;
        right: 40px;
        font-size: var(--h5);
    }
    .work-display-img{
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0px;
        z-index: -1;
        isolation: isolate;
    }
    .work-display-container{
        padding: 0;
        width: 350px;
        max-width: 100%;
        height: 500px;
        overflow: hidden;
        background: none;
    }
    .work-display-container > img{
        height: 100%;
        width: auto;
        margin: auto;
    }
    .work-page{
        padding-top: 60px;
        position: relative;    
        height: auto;    
    }
}
@media screen and (min-width: 768px) {
    .work-display-img{
        position: fixed;
        top: 0px;
        width: 100%;
        height: 100vh;
        z-index: -1;
    }
    .work-page{
        height: fit-content;
    }
}
.contact-main{
    position: relative;
    height: 200vh;
    width:  100%;
}
.contact-container{
    height: 100vh;
    width: 100%;
    isolation: isolate;
    position: relative;
}
.contact-cta{
    all: unset;
    display: flex;
    font-size: var(--h1);
    font-weight: 500;
    color: var(--white-color);
    flex-wrap: wrap;
    z-index: -1;
    position: absolute;
    top: 40px;
    left: 40px;
}
.contact-cta > span{
    width: 100%;
    transition: color 0.1s ease-in, letter-spacing 0.1s ease-in; 
}
.contact-cta > span:hover{
    color: var(--red-color);
    letter-spacing: 0.2rem;
}
.contact-cta > p{
    width: 100%;
    transition: letter-spacing 0.1s ease-in; 
}
.contact-cta > p:hover{
    letter-spacing: 0.2rem;
}
.contact-email{
    color: var(--red-color);
    width: 100%;
    font-size: var(--h4);
    margin-top: 20px;
}
@media screen and (max-width: 767px){
    .contact-email{
        font-size: 17px;
    }
}
@media screen and (min-width: 768px) {
    .blur-container{
        z-index: -1;
        position: relative;
        margin-top: 20px;
        width: 300px;
        height: 300px;
        background: var(--bg-color);
        filter: blur(10px);
        -webkit-filter: blur(10px);
        border-radius: 20px;
        scale: 2;
    }
    .red-blur{
        position: absolute;
        width: 250px;
        height: 250px;
        background-color: var(--red-color);
        border-radius: 250px;
        animation: redBlur ease 60s infinite;
        backdrop-filter: invert(80%);
    }
    #blur-container-1{
        position: absolute;
        bottom: 0px;
        right: 200px;
        z-index: 10;
        background-color: transparent;
    }
    #blur-container-2{
        position: absolute;
        top: -40px;
        left: -40px;
        scale: 1;
    }
    #blur-container-2 > *{
        animation-direction: reverse;
    }
    #blur-container-3{
        position: absolute;
        top: 100px;
        right: 300px;
        animation-direction: alternate-reverse;
        scale: 2;
        z-index: 0;
        background-color: transparent;
    }
    #blur-container-3 > *{
        background-color: var(--bg-color);
    }
}
@media screen and (max-width: 767px) {
    #blur-container-2{
        display: none;
    }
    #blur-container-3{
        position: absolute;
        top: 40px;
        right: 40px;
        z-index: 0;
        scale: 1;
        background-color: transparent;
    }
    #blur-container-3 > *{
        background-color: var(--bg-color);
    }
    .footer > a{
        position: relative;
    }
    .footer-cta{
        color: var(--white-color);
    }
}
.video-cont{
    width: 100%;
    height: auto;
}
@media screen and (min-width: 768px) {
    .video-cont{
        width: 100%;
    }
}