html {
    scroll-behavior: smooth;
}
::selection {
     background-color: burlywood; 
    color: black;  
}

* {
  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html, body {
  width: 100%;
  height: 100%;
  
}
body {
color: black ;
background-color:  #FFF4EB; 
}

                                                                           /* Navbar container */
nav {
    position: fixed;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    background-color: transparent; 
    transition: background-color 0.5s ease; 
    z-index: 1000;
    top: 0px;
    font-family: "Roboto Condensed", serif;
    font-size: larger;

 
}

                                                                                /* when scroll*/

nav.scrolled {
    background-color: palevioletred ;
   top: 0px;
}
                                                                                 /* left side Logo */
.logo {
    font-size: 1.4rem;
    color: black;
    font-family: "Delius Unicase", serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
}

                                                                              /* Nav bar items */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    color: black;
}
.nav-links li {
    padding: 10px;
    outline: none;
    color: black;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    color: black;
    font-family: "Roboto Condensed", serif;
}

.nav-links a:hover {
    font-weight: 500;
   }

                                                                            /*  menu icon */
.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

                                                                             /* for blinking cursor (chat gpt)*/
.menu-icon {
    user-select: none; 
    outline: none;     
}
  
                                                                    /*picture section start*/

.first{
    margin-top: 40px;
    display: flex;
    justify-content: center;
    
}

.second{
    height: 200px;
    width: 800px;
   margin-left: 370px;
   text-align: center;
   margin-bottom: 30px;
   font-family: "Comic Neue", serif;
   font-weight: 300;
   font-style: none;

}

                                                                                  /* about sectiom */
  .about{
  align-content: center;
  text-align: center;
  height: 400px;
  max-width: 850px;
  font-family: "Mali", serif; 
  font-weight: 400;
  margin: 0 auto;
  font-style: normal
  
  }

 

#little{
    
   text-align: center;
padding-top: 120px;
   font-size: 3rem;
   padding-bottom: 50px;
  } 
  p{
    
    margin-top: 20px;
    line-height: 2.5cap;
    font-size: 1.4rem;
    font-family: "Comic Neue", serif;
    font-weight: 300;
    font-style: none;
    font-weight: bold;
  }


  #aboutme {
     background-color: palevioletred;
     height: 120vh; 
    width: 100%;
    font-family: "Amatic SC", serif; 
    font-style: normal;
    font-weight: bolder;
    position: relative; /* Makes #aboutme the reference point */
}

#aboutme a{
    color: black;
    text-decoration: none;
   font-weight: 550;
}

#aboutme a:hover{
    color: navy;
   font-weight: 550;
}

                                                                                             /* 3 div section start */
#services {
    position: absolute;
    top: 149cap; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-evenly;
    width: 100%;

  
}

.one, .two, .three {
   
    height: auto; 
    width: 320px;
    background-color: #FFF4EB;
    text-align: center;
    border-radius: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1); /* Softer border */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.55), 
                0 4px 6px rgba(0, 0, 0, 0.3); /* Multi-layered soft shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 25px;
    
}
.three{
    padding: 24px; 
   
}

                                                                         /* span text styling */
#diff{
    color: navy;

}

                                                                              /* Hover effect for lifting div */
.one:hover {
    transform: translateY(-25px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 
                0 6px 8px rgba(0, 0, 0, 0.12);
}
    
.two:hover {
    transform: translateY(-25px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 
                0 6px 8px rgba(0, 0, 0, 0.12);
}

.three:hover {
    transform: translateY(-25px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 
                0 6px 8px rgba(0, 0, 0, 0.12);
}

                                                                                 /* icon containing div */
#icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff758c, palevioletred);
    border-radius: 50%; 
    margin: 0 auto 15px auto;
    box-shadow: inset 0 4px 6px rgba(255, 255, 255, 0.3), 
                0 4px 10px rgba(0, 0, 0, 0.15);
}

                                                                                          /* Icon inside the round background */
#icon ion-icon {
    font-size: 45px;
    color: #FFF4EB;
    transition: transform 0.6s ease-in-out; 
}
                                                                                                    /* spinning of icon */
.one:hover #icon ion-icon {
    animation: spinOnce 0.6s ease-in-out 1;
}

@keyframes spinOnce {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.two:hover #icon ion-icon {
    animation: spinOnce 0.6s ease-in-out 1;
}

@keyframes spinOnce {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.three:hover #icon ion-icon {
    animation: spinOnce 0.6s ease-in-out 1;
}

@keyframes spinOnce {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


                                                                                    /* h2 Heading*/
h2 {
    font-size: 24px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
    font-family: "Delius Unicase", serif;

}
                                                                                    /* h4 styling */


h4 {
    font-size: 18px;
    color: black;
    line-height: 1.6;
    text-align: center;
    font-family: "Comic Neue", serif;
    padding: 10px;

}
                                                                                             /* span text in description */
h4 a{
    color:  navy; 
}


h4 a:hover {
     color: palevioletred;  
}

#end-sec {
  margin: 0;
   padding:  50px ;
  width: 100%;
  height: fit-content;
  
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: black;
}

#end-sec > * {
  margin: 0 !important;
  padding: 0 !important;
}



#the-end {
    margin-top: 10px;
  
    }


#msg{
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;  
    align-items: center; 
    margin: auto; 
         

}

#below-msgtwo{
    display: flex;
    justify-content: center;  
    align-items: center; 
    margin-top: 0;
  margin-bottom: 20px;
    font-family: "Comic Neue", serif;

}
#below-msgone {
   
   font-weight: bolder;
   font-size: 4rem;
   word-spacing: 0.2cap;
    display: flex;
    justify-content: center;  
    align-items: center; 
  margin-top: 5px; /* reduced gap above title */
  margin-bottom: 10px;
        font-family: "Amatic SC", serif; 
        
}

                                                             /* main button say hello */
#hllo-btn {
    height: 60px;
     padding: 10px 25px;
    border: 1px solid black;
    display: flex;
    justify-content: center;  
    align-items: center; 
    margin: auto; 
    font-family: "Comic Neue", serif;
    font-size: 2.1rem;
    background-color: #FFF4EB;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#hllo-btn:hover {
    background-color: palevioletred;
    color: #FFF4EB; 
    font-weight: bold; 
    border: solid 1px #FFF4EB ;   
}


#hllo-btn.disabled-hover:hover {
    background-color: transparent;
     border: solid 1px #FFF4EB ;    
}


#hllo-btn:active {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 
                0 6px 8px rgba(0, 0, 0, 0.12);
    background-color: palevioletred;
    color: white; 
    height: 63px;
    padding: 21px;
    font-size: 2.3rem;
    border: none;
    border: none !important
 
}


                                                                           /* contact form */
#contact{
    display: none;
} 


#contact {
    margin-top: 35px;   
    text-align: center;
  
   
}

#form-container {
    max-width: 600px;
    margin :auto;
    background: palevioletred;
    padding: 40px;
    border-radius: 15px;
   
    font-family: "Comic Neue", serif; 
    border: 2px solid rgba(0, 0, 0, 0.1); /* Softer border */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.55), 
                0 4px 6px rgba(0, 0, 0, 0.3); /* Multi-layered soft shadow */ 
    
} 



.input-group {
    position: relative;
    margin-bottom: 20px;
}
.input-group input, .input-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
    background: #FFF4EB;
    transition: border-color 0.3s;

}
.input-group label {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 1rem;
    color: #FFF4EB;
    transition: all 0.3s;
    pointer-events: none;
}
.input-group input:focus, .input-group textarea:focus {
    border-color: black;
}
.input-group input:focus + label, .input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
    
    top: -15px;
    left: 5px;
    font-size: 0.8rem;
    color: black;
}
#submit-btn {
    background: #FFF4EB;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    font-family: "Comic Neue", serif;
    /* transition: background 0.3s; */
    font-weight: bold;
}
#submit-btn:hover {
    background: #198754;
    color: #FFF4EB;
    font-weight: bold;
}


#contact-form input, 
#contact-form textarea {
     font-family: "Comic Neue", serif; 
    font-weight: 800;
}





/* Override autofill background color */
input:-webkit-autofill {
    background-color: #FFF4EB !important; /* Match your input background */
    color: black !important; /* Ensure text remains visible */
    font-family: "Comic Neue", serif !important
  
}

/* Override autofill on focus */
input:-webkit-autofill:focus {
    background-color: #FFF4EB !important;
    color: black !important;
    font-family: "Comic Neue", serif !important
    
}

/* Remove autofill box-shadow */
input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px #FFF4EB inset !important;
}  

                                                               /* footer */
/* .simple{
    margin-top: 100px;
    background-color: palevioletred;
    height: 350px;
    width: 100%;
    margin-bottom: 0%;
} */


.simple {

  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
   margin-bottom: -50px;
    background-color: palevioletred;
    height: max-content;
    width: 100%;

    
}




#parent-ico {
  display: flex;
  
  align-items: center;
  gap: 18px;

  padding-top: 50px;

  flex-wrap: wrap; 
  margin-top: 20px;
}


/* Ensure next section/footer has no gap */
.simple , #page-scroll {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}
#contact{
    margin-bottom: 50px;
}


#end-icon {
  font-size: 3rem;
  color: #000;
  margin-top: 30px;
  transition: transform 0.3s ease;
  animation: float 1.5s ease-in-out infinite;
}

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

#end-icon:hover {
  transform: scale(1.5) translateY(-8px); /* bigger + lil upward move */
  animation-play-state: paused; /* pauses float when hovered */
  transition: transform 0.4s ease; /* smoother scaling */
}



#page-scroll {
    
    display: flex;
    flex-direction: column;
    height: max-content;
    align-items: center;
    justify-content: center; 
    text-align: center; 
    padding-bottom: 100px; /* Adds some spacing around the content */
   
  

}

#end-icon {
    font-size: 3rem; /* Enlarges the icon */
    color: black; /* Matches your color scheme */
    transition: transform 0.3s ease; /* Adds a smooth hover effect */
    padding-top: 50px;
    margin-top: 50px;
    
}

#end-icon:hover {
    transform: scale(1.2); /* Enlarges the icon slightly on hover */
    
}

#page-scroll p {
    margin-top: 10px; /* Adds spacing between the icon and text */
    font-family: "Comic Neue", serif; /* Matches your typography */
    font-weight: bold; /* Makes the text bold */
    color: black; /* Matches your color scheme */
    margin-bottom: -120px;
    
}


#parent-ico{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;

    margin-bottom: -30px;
    
}
.ico{
    background-color: #FFF4EB;
    font-size: 2rem;
padding: 10px;
height: 55px;
margin-top: 45px;
border-radius: 8px;

}

.ico:hover{
    color: #FFF4EB;
    transform: scale(1.3);
    transition: transform 0.3s ease-out;
    font-size: 2.2rem;
    border-radius: 4px;
}

#fb:hover{
    background-color: #5E82C4 ;  
    color: #FFF4EB;
}
#tw:hover{
    background-color: #6AA9D8;
    color: white;
}
#ig:hover{
    background: linear-gradient(135deg, #d54bff, #d2286f,  rgb(252, 221, 48));
    color: white;
}
#gh:hover{
    background-color: #24292F;
    color: white;
}
#li:hover{
    background-color: #0077B5;
    color: white;
}



#parent-ico a {
    color: inherit;         /* Inherit the color from parent */
    text-decoration: none;  /* Remove the underline */
}













/* ===== PROJECT SECTION ===== */
.projects {
  padding: 50px 10%;
  background: #FFF4EB;
  text-align: center;
  position: relative;
   background-color: palevioletred;
   
   padding-bottom: 10px;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 1200;
  margin-bottom: 50px;
  color: #2a1d15;
  letter-spacing: 1.3px;
  word-break: break-all;
     font-family: "Amatic SC", serif; 

 
}

/* Container */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  justify-content: center;
  margin-bottom: 100px;
  

}


.projects-container2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  justify-content: center;
  margin-bottom: 100px;
  
}

/* Project Card */
.project-card {
  position: relative;
  background:#FFF4EB;
  border-radius: 20px;
  overflow: hidden;
padding: 10px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35),
              0 6px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: cardFloat 6s ease-in-out infinite;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.2);
}

/* Floating animation for soft effect */
@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* GitHub icon */
.github-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.github-icon ion-icon {
  font-size: 1.9rem;
  color: #2a1d15;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
/* 
.github-icon ion-icon:hover {
  background: #2a1d15;
  color: #FFF4EB;
} */

/* Screenshot container */
.screenshot-container {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 20px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  
}

.project-card:hover .overlay {
  opacity: 1;
}

/* View Button */
.view-btn {
  background: #FFF4EB;
  color: #2a1d15;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-btn:hover {
  font-weight: 650;
  font-size: 1.1rem;
}

/* Title + Desc */
.project-title {
  margin: 20px 0 8px;
  font-size: 1.3rem;
  color: #2a1d15;
  font-weight: 600;
}

.project-desc {
  font-size: 0.95rem;
  color: #5c473a;
  padding: 0 20px 25px;
  line-height: 1.6;
}

#sana{
     font-family: "Caveat", cursive;
     font-size: 2rem;
}