*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

html{
    scroll-behavior: smooth;
}
:root{
    --bgOrange:#e84949;
}
#wrapper{
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.container{
    width:1200px;
    margin:0 auto; /*lies in center*/
    margin-bottom: 0px;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top:1rem;


}

.logo{
    height:70px;
    width: 70px;;
}

.logo-text{
    font-size: 25px;
    font-style: italic;
    
}
.logo-container{
    display: flex;
    align-items: center;
}

.nav-items{

    display: flex;
    gap:2rem;
    padding:3rem;

}

.nav-items div{
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    
}

.nav-items div a{
    color:black;
}
.nav-items div:hover{
    transition:0.7s;
    font-weight: bold;
}
a{
    text-decoration: none;
   
}

.hero-section{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap:4rem; */
    margin:2rem 1rem 0px 1rem;
    padding: 0 1rem;
    padding-bottom: 6.5rem;
}

.faded-text{
    user-select: none;
    font-size: 5em;
    color:rgba(96, 91, 91, 0.427);


    bottom:-20px;
    left:10%;
    font-weight: bold;
    transition: all 3s;
    animation:faded-text-scale 2s linear;
}

@keyframes faded-text-scale {
    0%{
        font-size: 1em;

    }
    50%{
        font-size:3em ;
    }
    100%{
        font-size: 5em;
    }
    
}
.hero-section-left{
    display: flex;

    flex-direction: column;
    justify-content: center;
    margin-left: 6rem;
    gap:2rem;
}

.hero-section-heading{
    font-size:35px;
    color:#343d68;
    font-weight: 500;
}
.role{
    color:#4e45d5;
    font-weight: 800;
}

.hero-section-sub-heading{
    font-size: 45px;
    line-height: 45px;

}
.hero-section-description{
    margin-top:1rem;
    width:70%;
    font-weight: 500;
}

.btn-pink{
    background-color: var(--bgOrange);
    width:10rem;
    text-align: center;
    color:white;
    padding: 3.8rem, 3.3rem;
    box-shadow: 2px 2px 4px 0px #000000;
    font-size:20px;
    cursor:pointer;
    transition: all 0.5s;
    font-weight: 500;
    border:solid 3px transparent;
    position: relative;
    z-index:1;

}

.btn-pink::before{
    content:"";    
    position:absolute;
    background-color: #fff;
    top:0px;
    left:0;
    right:0;
    bottom:0px;
    z-index:-1;
    transform:scaleX(0);
    transform-origin: left;
    transition: all 0.8s;

}

.btn-pink:hover::before{
    transform:scaleX(1);
}

.btn-pink:hover{
    border:Solid 3px var(--bgOrange);
    color:black;

}
#btn-bottom{
    display:none;
}
.hero-section-right{
    position: relative;
    margin-right: 4rem           ;

}

.absoulte{
    position: absolute;
}

.user-img{
    padding:2.5rem;
    filter:grayscale(1);
    transition: all 1s;
    animation: scaleImage 5s linear infinite;
}
.user-img img{
    width:20rem;
    height: 24rem;

    z-index: -9;
}
@keyframes scaleImage{
    0%{
        filter:grayscale(0);
        transform: scale(1);
    }

    50%{
        transform: scale(1.1);
        filter: grayscale(1);
        box-shadow: 3px 3px 5px black;
    }

    100%{
        transform:scale(1);
        filter:grayscale(0);
    }

}

.icon-dots{
    z-index:9;
    bottom:-1rem;
    right:0;
    animation-name:dotsAnimation ;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    
}

@keyframes dotsAnimation {
    0%{
        transform: translate(0px);
    }
    50%{
        transform:translateY(-15px);
    }
    100%{
        transform: translateY(0px);
    }

}

.icon-cube{
    z-index:9;
    top:-0.8em;
    right:1em;
    animation-name: cubeAnimation;
    animation-duration: 3s;
    animation-iteration-count: infinite;


}

@keyframes cubeAnimation {
    0%{
        transform: rotateY(0deg) translateY(0px);
    }
    50%{
        transform: rotateY(180deg) translateY(15px);
    }
    100%{
        transform: rotateY(360deg) translateY(0px);
    }
    
}

.icon-circle{
    z-index: 9;
    bottom:0px;
    left:0px;
    animation-name: circleAnimation;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes circleAnimation {
    0%{
        left:0;
        bottom:0;
    }
    50%{
        left:5%;
        bottom: 10%;
    }
    100%{
        left:0;
        bottom:0;
    }
    
}
.icon-zigzags{
    z-index: 9;
    top:1.5em;
    left:-0.3em;
    animation: zigzagAnimation 4s ease-in infinite;

}

@keyframes zigzagAnimation {
   
    50%{
        left:5%;
        top:2%;
    }

}

.icon-plus{
    z-index: 9;
    top:-0.8rem;
    left:50%;
    animation: plusAnimation 3s ease-in infinite;
}

@keyframes plusAnimation {
    50%{
        top:3%;
        left:48%;
    }
}

.project-section{
    background-color:rgba(96, 91, 91, 0.427);
    padding-bottom: 3px;
   
}

.page-header{
    color:var(--bgOrange);
    font-size: 50px;
    text-align: center;
    padding-top:30px;


}

.project-container{
    max-width: 1200px;
    margin:0 auto;

    padding:3rem 0 ;

    display: flex;
    flex-direction: column;
    gap:120px;
   
}

.project-card{
    width:70%;
    height:550px;
    margin:1rem 7rem 6rem;
    position: relative;
    box-shadow: 0px 0px 40px #1f1f1f;
    transition: all 1s;
}
#project1{
    background-image: url("images/Projects/Project1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    
}
#project2{
    background-image: url("images/Projects/Project2.png");
    background-size: cover;
    margin-left:300px;
}
#project3{
    background-image: url("images/Projects/Project3.png");
    background-size: cover;
}
#project4{
    background-image: url("images/Projects/Project4.png");
    background-size: cover;
    margin-left:300px;
}

.project-card::after{
    content:"";
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: #1f1f1f9a;
    transform: scaleX(1);
    z-index: 0;
}

.project-card::before{
    content:"";
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: linear-gradient(45deg, #343d68, #343d68be, #343d687c);
    transform: scaleX(0);
    transform-origin: left;

    z-index: 1;
    transition: all 0.4s;
}

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

.project-num{
    position: absolute;
    font-size: 200px;
    font-weight: 600;
    color: white;
    z-index: 10;
    opacity: 0;

}

.project-card:hover .project-num{
    /* display: block; */
    opacity:1;
}

.project-card:hover .project-content{
    scale:1.033;
}
.project-num-right{
    right:-36px;
    top:-75px;
}

.project-num-left{
    left:-36px;
    top:-75px;
}

.project-content{
    position: absolute;
    display: flex;
    flex-direction: column;
    color:white;
    padding: 2em 2em 0em 2em;
    bottom:20%;
    z-index: 5;
    gap:1em;
    transition: all 0.4s;

}

.project-content-left{
    left:5%;

}
.project-content-right{
    right:8px;
}
.project-skills-container
{

    width: 60%;
    display: flex;
    gap:10px;
    flex-wrap: wrap;
}
.project-skills{
    width:40px;
}

.project-heading{
    font-size: 50px;
    font-weight: bold;
    line-height: 3rem;

}

.project-sub-heading{
    width:70%;
    font-size: 16px;
    font-style: italic;


}
.btn-group{
    display: flex;
    gap:0.9rem;
    align-items: center;
}

.btn-project:hover{
    border:none;

}

.icon{
    cursor:pointer;
    color:white;
    font-size: 31px;
}

.icon:hover{
    color:var(--bgOrange);

}

.skills-container{
    width:100%;
    position: relative;
    display: flex;
    padding: 8rem 7rem;
   
    gap:30px;

}
.skills-content-left{
    width:50%;
    display: flex;
    flex-direction: column;
    padding:1rem;
}

.skills-content-right{
    display: flex;
    flex-wrap: wrap;
    padding:2rem;
    width:50%;
    position: relative;
    gap:2rem;
}
.skill-faded-text{
    position: absolute;
    font-size: 12em;
    font-style: bold;
    color:rgba(96, 91, 91, 0.427);
    bottom:-46px;
    right:0%;
    user-select: none;
    overflow-y: hidden;
}

.blob-style{
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    animation: blobAnimation 3s linear infinite;
    z-index: -5;

}

@keyframes blobAnimation{
    50%{
        top:54%;
        left:46%;
    }
}

.skills-logo{
    width:80px;
    height:80px;
    transition: all 0.5s;
}

.skills-logo:hover{
    transform: scale(1.2);
}

.skills-heading{
    font-size: 40px;
    font-style: bold;
    color:var(--bgOrange);
    line-height: 50px;
}

.caps{
    font-size: 80px;
}

.skills-sub-heading{
    margin-top:1rem;
    width:85%;
    text-align:justify;

}
.contact-section{
    width:100%;
    background-color:rgba(96, 91, 91, 0.427);

}


.contact-heading{
    font-size: 60px;
    color:var(--bgOrange);
    padding:2rem 0 0 2rem;
   
}




.question-heading{
    font-size: 29px;
    color:#343d68aa;
    text-transform: capitalize;
    padding:10px 0 0 2rem;
   
}

.contact-form-section{
    margin-top:25px;
    display: flex;
    align-items: center;
    justify-content: center;

}

form{
    display: flex;
    flex-direction: column;
    gap:30px;
    width:70%;
    margin:1rem 5rem;

}
.form-field-container{
    width: 100%;
   
}

.formfield{
    width: 100%;
    height:42px;
    padding:0 2rem;
    font-size: 18px;
    border-radius: 5px;
    box-shadow: 2px 2px 10px #1f1f1f;
    font-weight: 500;
    border:none;
    margin-top:17px;

}


.formfield-textarea{
    height:auto;
    padding-top:1rem;
}

#submit-btn{
    border: none;
    font-size: 1.2rem;
    margin:0.50rem 0;
    padding: 0.25rem;
}

#submit-btn:hover{
    scale:0.9;
}

.submit-icon{
    padding:0.1rem;
    font-size: 1rem;
}

footer{
    position: relative;
    margin-top:-1px;
    background-color: #343d68;
    padding: 5rem;
}

.footer-wrapper{
    display: flex;
    gap:1rem;
    padding:1.2rem;
    justify-content: space-between;
    align-items: center;
}

.footer-faded-text{
    position: absolute;
    left:0;
    bottom: 0;
    user-select: none;
    font-size: 4em;
    color: rgba(143, 137, 137, 0.326);
}

.link-wrapper{
    padding-left:30px;
    font-size: 1.3rem;
    display: flex;
    gap:1.2rem;

}
.link-wrapper div a{
    color: white;
    text-decoration: none;
    transition: all 0.5s;
}

.link-wrapper div a:hover{
    color: var(--bgOrange);
}

.icon-wrapper{
    display: flex;
    gap:1rem;
}

.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);    /* Center content with flexbox */
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    position: relative;
    margin: auto;
    top: 45%; /* Slightly above center */
    transform: translateY(-50%);
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    text-align: left;
    animation: fadeIn 0.3s ease-in-out;
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 20px;
    cursor: pointer;
}
