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

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

:root{
    --bgOrange:#b14186;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  margin-right: 10px; /* space between logo and text */
}



/* Example navigation styling (adjust as needed) */
.nav-link {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.nav-link a {
  background-color: #b14186;
  color: #fff !important; /* force white text */
  padding: 8px 16px;
  border-radius: 0px;
  text-decoration: none;
  display: inline-block;
}

.nav-link a:hover {
  background-color: #8e2e65; /* optional: darker on hover */
}

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

@media ( max-width:1150px ){
    .container{
        width: 1000px;
        margin: 0 auto;
    }
}

@media ( max-width:950px ){
    .container{
        width: 800px;
        margin: 0 auto;
    }
}

@media ( max-width:750px ){
    .container{
        width: 600px;
        margin: 0 auto;
    }
}


@media ( max-width:550px ){
    .container{
        width: 300px;
        margin: 0 auto;
    }

    .nav-link div a{
        display: none;
    }
}
/* NavBar */

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

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

.logo-img{
    width: 60px;
}

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

@media (max-width:550px){
    #navbarName{
        width: 200px;
    }
}

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

.nav-link div{
    font-size: 20px;
    font-weight: 500;
    cursor:pointer;
    transition: 0.5s;
}

.nav-link div:hover{
    font-weight: bold;
}

a{
    text-decoration: none;
}

.nav-link div a{
    color: black;
}
.nav-list {
  margin-right: 0;
  padding-right: 5rem; 
}

/* Hero Section */

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

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

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

    .hero-section-description{
        text-align: center;
    }
}
    

@media (max-width:750px){
    .faded-text{
        display: none;
    }
}

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

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

/* Hero Section left */

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

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

@media (max-width:550px){
    #name{
        width: 300px;
    }
}

.role{
    color: #9b3392;
    font-weight: 800;
}

.hero-section-Subheading{
    font-size: 45px;
    line-height: 45px;
}

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

.btn{
    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: 3px solid transparent ;
    position: relative;
    z-index: 1;

}

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

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

/* Hero Section Right */

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

.absolute{
    position: absolute;
}

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

.user-image img{
    width: 345px;
    height: 390px;
}

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

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

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

@keyframes dots-Animation{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-15px);
    }

    100%{
        transform: translateY(0px);
    }
    
}

.icon-cube{
    z-index: 9;
    top: -0.8em;
    right: 1em;
    animation-name: cubeRotate;
    animation-duration: 3s;
    animation-timing-function: linear;
    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: 9;
    left: 0;
    bottom: 0;
    animation-name: circleAnimation;
    animation-duration: 6s;
    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-zigzag{
    left: -0.3em;
    top: 1.5em;
    z-index: 9;
    animation-name: zigzagAnimation;
    animation-duration: 5s;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
}

@keyframes zigzagAnimation {
    0%{
        left: -0.3em;
        top: 1.5em;
    }

    50%{
        left: 5%;
        top: 2%;
    }

    100%{
        left: -0.3em;
        top: 1.5em;
    }
}

.icon-plus{
    z-index: 9;
    top: -0.8rem;
    left: 50%;
    animation-name: plusAnimation;
    animation-duration: 5s;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
}

@keyframes plusAnimation {
    0%{
        left: 50%;
        top: -0.8rem;
    }

    50%{
        left: 48%;
        top: 3%;
    }

    100%{
        left: 50%;
        top: -0.8rem;
    }
}


/* PROJECT SECTION */

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

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

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

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

.project-card{
    max-width: 90%;
    height: 550px;
    background-image: url(images/projects/project1.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    box-shadow: 0px 0px 40px #1f1f1f;
}

.project-card::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #1f1f1f9a;
}

.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: 10;
}

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

.project-number{
    color: white;
    position: absolute;
    font-size: 200px;
    font-weight: 600;
    z-index: 20;
    visibility: hidden;
}

.project-card:hover .project-number{
    visibility: visible;
}

.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: 30;
    gap: 1em;
    transition: all 0.4s;
}

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

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

.project-skills-container{
    width: 60%;
    gap: 10px;
    display: flex;
    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{
    border: none;
}

.icon{
    font-size: 35px;
    color: white;
    transition: all 0.4s;
}

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

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

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

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

#project4{
    margin-left: 120px;
    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;
      align-items: center;
    }
    .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-sub-heading {
      width: 100%;
    }
    #project2 {
      margin-left: 0;
    }
    #project4 {
      margin-left: 0;
    }
    .project-skill-container {
      width: 100%;
    }
    .project-skill {
      width: 35px;
    }
    .project-card:hover .project-number {
      display: none;
    }
    .project-card:hover .project-content {
      scale: 0.55;
    }
  }


  /* skills container */
  .skills-container{
    position: relative;
    display: flex;
    padding: 5rem;
    margin-top: 20px;   /* Reduce this value as needed */
    padding-top: 20px;
    gap: 30px;
    max-width: 1550px;
  }

  .skill-faded-text{
    position: absolute;
    bottom: -15%;
    right: 0;
    font-size: 15rem;
    font-style: bold;
    color:#f7ebf2;
    user-select: none;
}

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

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

}

.blob-style{
    position: absolute;
    top: 70%;
    left: 50%;
    width: 320px;
    height: 320px;
    max-width: 80vw;
    max-height: 40vw;
    transform: translate(-50%, -50%);
    animation: blobAnimation 3s linear infinite;
    z-index: 0;
    opacity: 0.7;
}

/* Responsive adjustments for blob on mobile */
@media (max-width: 700px) {
  .blob-style {
    width: 160px;
    height: 160px;
    max-width: 60vw;
    max-height: 30vw;
    top: 85%;
    left: 50%;
    opacity: 0.4;
    z-index: 0;
  }
}

@media (max-width: 490px) {
  .blob-style {
    width: 100px;
    height: 100px;
    max-width: 50vw;
    max-height: 20vw;
    top: 95%;
    left: 50%;
    opacity: 0.2;
    z-index: 0;
    /* If still overlapping, uncomment the next line: */
    /* display: none; */
  }
}

@keyframes blobAnimation{
    0%{
        top: 50%;
        left: 50%;
    }

    50%{
        top: 54%;
        left: 46%;
    }

    100%{
        top: 50%;
        left: 50%;
    }
}

.skills-logo{
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(177,65,134,0.08);
  display: inline-block;
  vertical-align: middle;
  transition: all 0.5s;
  z-index: 1;
}

.skills-logo:hover{
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 4px 16px rgba(177,65,134,0.18);
  background: #f7e6f2;
}

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

.caps{
    font-size: 90px;
}

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

.skills-subheading p{
    margin: 5px 0;
    word-spacing: 0px; /* or try word-spacing: 1px; */
}

@media (max-width:1300px){
    .skills-container{
        flex-direction: column;
        align-items: center;
    }

    .skills-container-left{
        align-items: center;
        width: 100%;
    }

    .skill-faded-text{
        bottom:-20%;
    }

    .skills-container-right{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }

}

/* ...existing code... */

/* Adjust faded text and container for mobile */
@media (max-width: 700px) {
  .skills-container {
    padding-bottom: 6rem; /* Add more bottom padding */
  }
  .skill-faded-text {
    font-size: 6rem;     /* Smaller faded text */
    bottom: 0;           /* Raise it up */
    right: 0;
  }
}

/* You can further tweak for very small screens */
@media (max-width: 490px) {
  .skill-faded-text {
    font-size: 4rem;
    bottom: 0;
  }
}

/* ...existing code... */


/* contact us form */

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

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

.contact-subheading{
    font-size: 3rem;
    color: #a54298;
    text-transform: capitalize;
}

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

.form{
    width: 75%;
}

.formfield-container{
    width: 100%;
    display: flex;
    gap: 30px;
    flex-direction: column;
    margin: 2rem 0;
    margin-top: 3rem;

}

.formfield{
    width: 100%;
    height: 42px;
    padding: 0 2rem;
    font-size: 18px;
    border-radius: 5px;
    color: #a54298;
    box-shadow: 2px 2px 10px;
    font-weight: 500;
    border: none;
}

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

#submit-btn{
    border: none;
    font-size: 1.4rem;
    margin: 1rem 0;
    /* transform: scale(1.1); */
}

#submit-btn:hover{
    transform: scale(0.9);
}

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

footer{
    position: relative;
    margin-top: -1px;
    background-color: #d3a2cf;
    padding: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.footer-faded-text{
    position: absolute;
    left: 0;
    bottom: 0;
    color: #a54298;
    user-select: none;
    font-size: 5em;
}

.footer-links{
    display: flex;
    gap: 1.2rem;
}

.footer-links div a{
    color: white;
    text-decoration: none;

    transition: all 0.6s;
}

.footer-links div a:hover{
    color: var(--bgOrange);
}

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

.achorColor{
    color: black;
}

.icon-heading{
    color: #a54298;
}

@media (max-width:1300px){
    .footer-wraper{
        flex-direction: column;
    }

    .footer-faded-text{
        left: 0;
        bottom: 0;
    }
}

@media (max-width:508px){
    .footer-faded-text{
        font-size: 4.5rem;
    }
}

@media (max-width:462px){
    .footer-faded-text{
        font-size: 3.5rem;
    }
}

@media (max-width:354px){
    .footer-faded-text{
        font-size: 3rem;
    }
}

@media (max-width:302px){
    .footer-faded-text{
        font-size: 2.5rem;
    }
}



/* Header and Navigation Styling */
.main-header {
  width: 100%;
  background: #ebcce9;
  box-shadow: 0 2px 8px rgba(177,65,134,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
}

.logo-text {
  font-size: 1.7rem;
  font-weight: bold;
  color: #b14186;
  letter-spacing: 1px;
}


.nav-list {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li a {
   background: none;
  color: #b14186;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  transition: color 0.2s;
}

.nav-list li a:hover,
.nav-list li a:focus {
  background: #8e2e65;
  color: #fff;
}


/* Responsive adjustments */
@media (max-width: 800px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }
  .nav-list {
    gap: 1rem;
    margin-top: 0.5rem;
  }
  .logo-text {
    font-size: 1.2rem;
  }
}


/* Hamburger toggle button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.nav-toggle .bar {
  width: 28px;
  height: 4px;
  background: #b14186;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: absolute;
    top: 70px; /* adjust based on header height */
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-end;
    width: 200px;
    padding: 1rem 2rem;
    gap: 1.5rem;
    box-shadow: 0 2px 16px rgba(177,65,134,0.12);
    display: none;
    z-index: 150;
  }
  .nav-list.open {
    display: flex;
  }
}

/* Optional: Hide nav-list on desktop if needed */
@media (min-width: 901px) {
  .nav-list {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 2.5rem;
  }
}

/* Responsive footer styles */
@media (max-width: 700px) {
  .footer-wraper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
  }
  .icon-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }
  .footer-faded-text {
    font-size: 2.5rem;
    text-align: center;
  }
  .icon-heading {
    font-size: 1.1rem;
  }
}

@media (max-width: 700px) {
  .skills-subheading {
    text-align: left;         /* Prevents excessive gaps from justify */
    width: 100%;              /* Use full width on mobile */
  }
  .skills-subheading p {
    word-spacing: normal;     /* Reset word spacing */
    letter-spacing: normal;   /* Reset letter spacing */
    font-size: 1rem;          /* Adjust font size for mobile */
    line-height: 1.5;         /* Improve readability */
  }
}