@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300&display=swap");

*{
    margin:0;
    padding:0;
    /* margin: 0; */
    /* box-sizing: border-box; */
    scroll-behavior: smooth;
    font-family: "Be Vietnam Pro", sans-serif;
}

:root{
    --bgOrange: #e84949;
}


#wrapper{
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.container{
    width: 1200px;
    margin: 0 auto;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top:1rem;
}

.logo-container{
    display: flex;
    justify-content: baseline ;
    align-items: center;
}

.logo-container img{
    width: 80px;
    
}

.logo-text{
    font-size: 28px;
    /* margin-left: -1.2rem; */
}

.nav-items{
    display: flex;
    gap: 2rem;
    padding: 0 4rem;
}


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

.nav-items div a{
    color: black;
}

a{
    text-decoration: none;
}

.nav-items div:hover{
    transition:0.8s;
    font-weight: bold;
    /* transition: d\\; */
}




/* -------------------hero---------------- */


.hero-section{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    
    gap: 5rem;
    margin: 4rem auto;
    padding: 0 1rem;
    padding-bottom:8rem;
}


.faded-text{
    /* position: absolute; */
    user-select: none;
    font-size: 7em;
    color: rgb(231,231,231); 

    bottom:-16%;
    left: -5%;
    font-weight: bold;
    transition: all 3s;
}


.hero-section-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}



.hero-section-heading{
    font-size: 35px;
    color: #343d68;
    font-weight: 500;

}

.role{
    color: #4e45db;
    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: fit-content;
    color: white;
    padding: 0.8rem 2.3rem;
    box-shadow: 5px 5px 7px 0px #0000003f;
    font-size: 18px;
    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;
  }





.hero-section-right{
    position: relative;
    
}


.absolute{
    position: absolute;
}


.user-image{
    padding: 2.5rem;
    filter: grayscale(1);
    transition:all 1s;
    animation: scaleImage 5s linear infinite;
    
}

.user-image img{
    z-index: -12;
}

@keyframes scaleImage {
    0%{
        filter: grayscale(0);
        transform: scale(1  );

    }
    50%{

        transform: scale(1.1);
        filter: grayscale(1);
        box-shadow: 3px 3px 10px 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: translateY(0px);
    }
    50%{
        transform: translateY(-15px);
    }
    100%{
        transform: translateY(0px);
    }
    
}


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

@keyframes cubeRotate {

    0%{
        transform: rotateY(0deg) translateY(0px);
    }
    50%{
        transform: rotateY(180deg) translateY(-12px);
    }
    100%{
        transform: rotateY(360deg) translateY(0px);
    }
    
}


.icon-circle{
    z-index: 8;
    bottom: 0;
    animation-name: shakeEffect;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


@keyframes shakeEffect {
    0%{
        left: 0;
        bottom: 0;
    }
    50%{
        left: 5%;
        bottom: 10%;
    }
    100%{
        left: 0;
        bottom: 0;
    }
}


.icon-zigzag{
    z-index: 9;
    top: 1.5em;
    left: -1.03em;
    animation: zigzagAnimation 5s ease-in infinite;
}


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


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

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

.user-image img{
    height: 300px;
}





/* ----------------projects--------------- */



.project-section{
    background-color: rgb(231,231,231);
    margin-top: 4rem;
}


.page-header{
    color:var(--bgOrange);
    font-size: 90px;
    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: 90%;
    height: 550px;
    background-image: url(./images/projects/Project1.png);
    background-size: cover;
    
    /* background-repeat: no-repeat; */
    position: relative;
    box-shadow: 0px 0px 40px #1f1f1f;
}

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

.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;
    transition: all 0.4s;
    z-index: 1;
}

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


.project-number{
    position: absolute;
    font-size: 200px;
    font-weight: 600;
    color: rgb(225,225,225);
    z-index: 10;
    display: none ;
}

.project-card:hover .project-number{
    display: block;
}

.project-number-right{
    right: -40px;
    top: -45px;
}


.project-number-left{
    left: -40px;
    top: -45px;
}

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

.project-content-left{
    left: 10%;
}

.project-content-right{ 
    right: 10%;
  }


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

.project-skill{
     width: 40px;
}


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


.project-subHeading{
    width: 70%;
    font-size: 16px;
    font-style: italic;
}

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

.btn-project:hover{
    border: none;
}


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

.icon:hover{
    color: var(--bgOrange); 
    transition: 0.4s;
}

.project-card:hover .project-content{
    transform:   scale(1.1);
}

#project1{
    background-image: url(./images/projects/DevAid.png);
}

#project2{
    background-image: url(./images/projects/Astro.png);
    margin-left: 120px;
}

#project3{
    
    background-image: url(./images/projects/piepay.png);
}

#project4{
    background-image: url(./images/projects/movie-recommendation-app.png);
    margin-left: 120px;
}

#project5{
    
    background-image: url(./images/projects/Quiz-App.png);
}

#project6{
    background-image: url(./images/projects/E-commerce.png);
    margin-left: 120px;
}

#project7{
    
    background-image: url(./images/projects/paralax.png);
}

#project8{
    background-image: url(./images/projects/Project3.png);
    margin-left: 120px;
}

#project9{
    
    background-image: url(./images/projects/Project4.png);
}


@media (max-width:1300px) {
    .page-header {
      padding-top: 30px;
      color: var(--bgOrange);
      text-align: center;
      font-size: 40px;
    }
    .project-container {
      padding: 5px;
      margin: 10px;
      gap: 60px;
    }
    .project-card {
      width: 100%;
      height: 300px;
    }
    .project-card {
      background-size: cover;
      background-position: center;
    }
    .project-content {
      scale: 0.5;
      bottom: 0;
      left: 0;
      right: 0;
      top: 0;
    }
    .project-content-left {
      left: 0;
    }
    .project-heading {
      font-size: 40px;
      width: 100%;
    }
    .project-subHeading {
      width: 100%;
    }
    #project2 {
      margin-left: 0;
    }
    #project4 {
      margin-left: 0;
    }
    .project-skills-container {
      width: 100%;
    }
    .project-skill {
      width: 35px;
    }
    .project-card:hover .project-number {
      display: none;
    }
    .project-card:hover .project-content {
      scale: 0.55;
    }
  }

@media (max-width: 800px) {
    .project-subHeading {
        max-height: 100px; /* Limit the height of the description */
        overflow-y: auto; /* Add a vertical scroll bar if content exceeds the height */
        font-size: 14px; /* Adjust font size for better readability */
        line-height: 1.5; /* Adjust line height for better spacing */
    }

    #project6, #project8 {
        margin-left: 0; /* Fix alignment for mobile devices */
    }

    /* Update for Contact Us Section */
    .form {
        width: 90%; /* Ensure the form takes up most of the screen width */
        margin: 1em auto; /* Center the form horizontally */
        padding: 0 1rem; /* Add padding to prevent fields from touching the edges */
    }

    .formfield {
        width: 100%; /* Ensure fields take up full width of the form */
        padding: 0 1rem; /* Add padding inside the fields */
        margin: 15px 0; /* Add vertical spacing between fields */
        box-sizing: border-box; /* Include padding in the field's total width */
    }

    .formfield-textarea {
        padding: 1rem; /* Adjust padding for better usability */
    }

    #submit-btn {
        margin: 1rem auto; /* Center the submit button */
    }
}











  /* -------------skills----------------- */



.skills-container{
    position: relative;
    display: flex;
    padding: 5rem;  
    margin: 10rem auto;
    gap: 30px;
}

.skill-container-left{
    width: 50%;
    display: flex;
    flex-direction: column;

}

.skill-container-right{
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    position: relative;
    gap: 2rem;
    justify-content: center;
}


.skill-fade-text{
    position: absolute;
    font-size: 15em;
    font-style: bold;
    color: rgb(231,231,231);
    bottom: -34.5%;
    right: -25%;
    user-select: none;
    overflow-y: hidden;
} 



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

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

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

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

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

.caps{
    font-size: 90px;
}

.skill-subHeading{
    margin-top: 1rem;
    width: 85%;
    text-align: justify
}

.skill-subHeading p{
    margin: 15px 0;
}





/* --------------------contact us------------------- */


.contactus-form-container{
    width: 100%;
    background-color: rgb(231,231,231);
}

.contactus-heading{
    font-size: 5em;
    color: var(--bgOrange);
    padding-top:2rem;
}

.contactus-sub-heading{
    font-size: 3rem;
    color: #343d68;
    text-transform: capitalize;
}

.contactus-form-container{
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 70%;
    margin: 2em 5rem;
}

.formfield-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: 27px;
}


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


}


#submit-btn{
    border: none;
    font-size: 1.4rem;
    margin: 1rem 0 ;
    margin-left: 1em;
}


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

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




 /* ---------------footer----------------------- */


 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;
     color: #535c87;
     user-select: none;
     font-size: 5em;
 }



 .link-wrapper{
    display: flex;
    gap: 1.2rem;
 }

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


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


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




.btn-down{
    display: none;
}

@media (max-width:800px) {
    .hero-section{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .faded-text{
        display: none;
    }

    .hero-section-left{
        left: 1px;
        display: flex;
        flex-wrap: wrap;
    }
    .hero-section-heading{
        /* left: 1rem; */
        justify-content: center;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }
    .container{
        width: 100%;
    }

    .hero-section-sub-heading{
        justify-content: center;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }
    .nav-items{
        display: none;
    }

    .hero-section-description{
        justify-content: center;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        margin: auto;
    
    }

    .btn-top{
        display: block; /* Ensure the button is visible */
        margin: 1rem auto; /* Center the button */
    }

    .btn-down{
        display: none; /* Hide the duplicate button */
    }

    #btn{
        margin: auto;
        align-items: center;
        justify-content: center;
    }

    .skill-fade-text{
        display: none;
    }

    .skills-container{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;/
        margin: auto;
        width: 100%;
    }

    .skill-container-left{
        width: 100%;
        margin: auto;
        display: flex;
        /* flex-direction: column; */
        /* flex-wrap: wrap; */
    }

    #skills{
        margin: auto;
        width: 100%;
    }

    .skill-container-right{
        width: 100%;
        display: flex;
        /* flex-direction: column; */
        flex-wrap: wrap;
    }


    .skills-container {
        flex-direction: column;
        padding: 1rem;
        margin: 2rem auto;
    }

    .skill-fade-text {
        font-size: 2em;
        bottom: -150%;
        right: -70%;
    }

    .blob-style {
        width: 100%;
        top: 50%;
    }

    .skills-logo {
        width: 50px; /* Adjust logo size for very small screens */
    }

    .skill-heading {
        font-size: 24px;
        line-height: 32px;
    }

    .caps {
        font-size: 40px;
    }

    .skill-subHeading {
        margin-top: 0.5rem;
    }


    .contactus-heading {
        font-size: 2.5em;
    }

    .contactus-sub-heading {
        font-size: 1.5em;
    }

    .form {
        width: 90%; /* Increase width for smaller screens */
        margin: 1em auto; /* Reduce margin for smaller screens */
    }

    .formfield {
        padding: 0 15px; /* Slightly reduce padding */
        margin: 15px 0; /* Slightly reduce margin */
    }

    .formfield-textarea {
        padding: 15px; /* Adjust padding for better text input */
    }

    #submit-btn {
        margin: 1rem auto; /* Ensure button is centered */
    }

    .footer-faded-text{
        display: none;
    }

    /* .link-wrapper{
        display: none;
    } */

    .footer-wrapper{
        display: flex;
        flex-direction: column;
    }

    .link-wrapper{
        display: flex;
        gap: 1.2rem;
        /* flex-wrap: wrap; */
    }

    /* Hero Section Responsive Styles */
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .hero-section-left {
        align-items: center;
    }

    .hero-section-heading {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    .hero-section-sub-heading {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .hero-section-description {
        width: 100%;
        font-size: 1rem;
        line-height: 1.5rem;
        margin: 1rem 0;
    }

    .btn-pink {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .hero-section-right {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .user-image img {
        width: 200px;
        height: auto;
        border-radius: 50%;
    }

    .absolute.icons {
        display: none; /* Hide decorative icons for smaller screens */
    }
}

/* Updated Certification Section */
.certification-section {
    background-color: #f9f9f9; /* Light gray background for contrast */
    padding: 4rem 0;
    border-top: 5px solid var(--bgOrange); /* Add a top border for emphasis */
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.certification-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.certificate-card {
    background: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    width: 300px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.certificate-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--bgOrange); /* Highlight border on hover */
}

.certificate-card .logo {
    text-align: center;
    font-size: 1.8rem;
    color: var(--bgOrange);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.certificate-card .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.certificate-card .name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #343d68;
    text-align: center;
    margin-bottom: 0.5rem;
}

.certificate-card .description {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-bottom: 1rem;
}

.certificate-card .date {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin-top: 1rem;
}

.certificate-card .footer-msg {
    color: var(--bgOrange);
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
    margin-top: 1rem;
}








