@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    
    
}

html{
    overflow-x: hidden;
    scroll-behavior: smooth;
    
}

body {
    width: 100%;
    min-height: 100vh; 
    overflow-x: hidden;
    background: rgb(6, 6, 6);
    
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes slideLeftToRight {
  0% {
    transform: translateX(-80%); 
  }
  100% {
    transform: translateX(80%); 
  }
}


@keyframes slideRightToLeft {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.bouncy-text {
    animation: bounce 1.5s infinite;
}

.animate-name {
  display: inline-flex;
  font-weight: bold;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: #045a87;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #045a87;
  text-shadow: 2px 2px #000000aa; 
  font-size: 40px;

  animation: typing 2.5s steps(13, end), blink-caret 0.5s step-end infinite;
}

/* Typing animation */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 13ch; /* Adjust for number of characters */
  }
}

/* Cursor blink animation */
@keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}




@keyframes cursor {
    to{
        border-left: 3px solid #045a87;
    }
}


/* Style the navigation menu starts-------------------------------*/

nav{
    width: 100%;
    height: 10vh;
    position: sticky;
}
.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo{
    color: black;
    font-size: 2rem;
    font-weight: bolder;
}

.logo span{
    color: rgb(32, 128, 165);
    text-shadow: 0 0 10px rgb(41, 129, 211);
}

.nav-container .links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-container .links a{
    position: relative;
    font-size: small;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    transform: 0.3s linear;
}

.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #045a87;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before{
    width: 100%;
}

.nav-container .contact-btn{
    background-color: transparent;
    padding: 5px 20px;
    border-radius: 20px;
    border: 2px solid #045a87;
    transition: 0.2s linear;
}

.nav-container .contact-btn a{
    color: white;
    transition: 0.3s linear;
}

.nav-container .contact-btn:hover, .nav-container .contact-btn:hover a{
    background-color: #045a87;
    color: white;
}

.nav-container .links a:hover{
    color: #045a87;
}
.hamburg, .cancel{
    display: none !important;  
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: rgb(246, 239, 239);
    font-size: 2rem;
    
}

.dropdown{
    z-index: 999;
    position: fixed;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: brightness(40%) blur(3px);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
  
}

.dropdown .links a{
    color: white;
    display: flex;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover{
    background-color: #045a87;
}


/* Navbar ends */


/*Banner section CSS Styling starts ------------------------------*/

.banner-content{
    width: auto;   
}

.banner {
  padding-top: 40px;
  padding-bottom: 50px;
  text-align: center;
  border-radius: 0.5%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: -1;
}

.banner img{
  position: relative;
  z-index: -1; 
}

#banner-h1{
  font-size:40px; 
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  text-align: center;
  margin-top: 30px;
  color:#e4e7ea; 
}

.banner-quote {
  position: relative;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  width: 80%;
  margin: 0 auto; 
}

#banner-h2 {
  font-size: 30px;
  padding: 10px;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  text-align: center;
  font-weight: bolder;
  margin-top: 10px;
  color:#e4e7ea;
}

#banner-h3 {
  font-size: 25px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  margin-top: 20px;
  color:#e4e7ea;
}

.scroll-icon {
  cursor: pointer;
  display: inline-block;
  animation: bounce 2s infinite;
  font-family: Arial, sans-serif;
  color: #9ab2c2;
  font-size: 16px;
  pointer-events: auto; 
}

.scroll-down {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  text-align: center;
  width: 100%;
  z-index: 1000; /* Ensure it appears above other content */
}


.scroll-icon svg {
  fill: cadetblue;
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}



/*Banner Styling Ends -----------------------*/

/*About me Section Starts ------------------------*/

.intro {
  
  text-align: center; 
  width: auto;
  margin: 6%;
  height: fit-content;
}

.heading{
  font-size: 40px;
  padding: 20px;
  color: #f2eeee;
  align-items: center;
  text-align: center;
  /* position: relative; */
  z-index: -1; 
}

.main-container{
  display: flex;
  flex-wrap: wrap;
}

.sub-container{
  height: 100%;
  width: 40%;
  align-items: center;
  border-radius: 5%;
  background: linear-gradient(to bottom, rgb(129, 172, 205), rgba(0,0,0, 0.6));
  z-index: -1; 
}

.sub-container .image{
    z-index: -1;
    width: 100%;
    height: 100%;
        
}

.content{
  background-color: black;
  padding: 20px;
  align-items: center;
  flex: 1;
  min-width: 300px;
}

.content p{
    font-size: clamp(0.8rem, 0.5rem + 1.5vw, 1.2rem);
    color: white;
    align-content: center;
}





/*
.intro-img {
  
  width: 400px;
  height: 400px;
  border-radius: 15%;  Makes the image circular 
  object-fit: cover;
  z-index: -1; 
  position: relative;
  animation: skew 4s ease-in-out infinite; 
  margin: 2%;
}*/

/* .content{
  background-color: black;
  position: relative;
  /* z-index: -1;  */
/* } */
/* */ 
/* 
.content p{
    font-size: clamp(0.4rem, 0.2rem + 9vw, 1.5rem);
    margin: 10px 0;
    color: white;
    
} */

.social-links{
    margin: 20px;
}
.social-links i{
    display: inline-flex;

    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color:transparent;
    border: 0.2rem solid rgb(0, 60, 109);
    border-radius: 50%;
    color:rgb(0, 60, 109);
    margin: 5px 10px;
    font-size: 1.5rem;
    transition: 0.2s linear;
    /* z-index: 200; */
}

.social-links i:hover{
    transform: scale(1.3); /* instead of scale: 1.3 */
    color: white;
    background-color: rgb(0, 60, 109);
    filter: drop-shadow(0 0 10px rgb(0, 60, 109));
    
}

.download-btn {
    display: inline-block;
    margin: 30px;
    padding: 10px 20px;
    background-color: rgb(0, 60, 109);
    color: white;
    font-size: 100%;
    font-weight: 700;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.2s linear;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: scale(1.1);
    color: rgb(0, 60, 109);
    border: 2px solid rgb(0, 60, 109);
    background-color: transparent;
    box-shadow: 0 0 40px rgb(0, 60, 109);
}


/* @media (max-width:884px) {
    
} */
/* About me Section Ends -------------------------------------------------- */


/* Skills Section Starts ------------------------------*/
.skillset{
  width: auto;
  position: relative;
  height: fit-content;
  margin: 2%;
  
  padding-bottom: 60px;
  position: relative;
  z-index: -1; 
}

.skills-row {
  display: flex;
  overflow: hidden;
  gap: 20px;
  padding: 30px;
  white-space: nowrap; 
  position: relative;
  width: fit-content; 
  
}

.left-to-right {
  animation: slideLeftToRight 10s linear infinite;
}

.right-to-left {
  animation: slideRightToLeft 10s linear infinite;
}

.skill {
  text-align: center;
  margin: 10px;
  flex: 0 0 auto; 
}

.skill-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px;
  
  
}

.skill-icon img {
  width: 50px;
  height: 50px;
}


.skill p{
  color: white;
}




 /* ---------------Skill Section Ends---------------------*/



 /*-----------------Project Section Starts---------------------------------*/

.Project {
  z-index: -1;
  text-align: center;
  padding: 20px;
  width: auto;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

.Project1 {
  display: inline-block;
  width: 300px;
  height: 260px;
  margin: 10px;
  background-color: #ffffff28;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Project1:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.Project1 img {
  width: 240px;
  height: 160px;
  margin-top: 10px;
  border-radius: 4%;
  margin-bottom: 10px;
}

.Project1 p {
  color: rgb(84, 84, 120);
}

.btn-project {
  display: inline-block;
  border-radius: 4px;
  background-color: #f4511e;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 18px;
  padding: 10px;
  

  width: 100px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.btn-project span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.btn-project span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.btn-project:hover span {
  padding-right: 25px;
}

.btn-project:hover span:after {
  opacity: 1;
  right: 0;
}

/* 
@media screen and (max-width: 600px) {
  
} */



/*------------Prioject Section ENdsss_-----------------------*/
  
#coding-website{
  position: relative;
  z-index: -1; 
}

/*------------Experience Section Starts-------------------------------------*/

.exp {
  margin: 2%;

}

.timeline {
  position: relative;
  max-width: 1110px;
  margin: 0 auto;
  padding: 40px 0;

}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: rgba(249, 246, 246, 0.752);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.container {
  padding: 10px 40px;
  position: relative;
  z-index: -1;
  background-color: inherit;
  width: 50%;

}

.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: white;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Left side */
.left {
  left: 0;
}

.left::after {
  right: -13px;
}

.left::before {
  content: " ";
  position: absolute;
  top: 22px;
  right: 30px;
  border: solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent rgb(203, 201, 201);
  z-index: 1;
}

/* Right side */
.right {
  left: 50%;
}

.right::after {
  left: -13px;
}

.right::before {
  content: " ";
  position: absolute;
  top: 22px;
  left: 30px;
  border: solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent rgb(203, 201, 201) transparent transparent;
  z-index: 1;
}

.timeline-content {
  padding: 20px 30px;
  background-color: rgb(203, 201, 201);
  border-radius: 6px;
  position: relative;
}

/* Education Timeline Starts-----------------------------------------*/
  
.education{
    align-items: center;
    margin: 2%;
}

/* Education Timeline Ends-----------------------------------------*/


/* Contact Us Section Starts-----------------------------------------*/
#contact {
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}



/* Form Styles */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Inputs & Textarea */
#contact-form input,
#contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
  outline: none;
  transition: border-color 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #045a87;
}

/* Submit Button */
#contact-form button {
  padding: 12px 20px;
  background-color: #045a87;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-form button:hover {
  background-color: #023e61;
}

/* Optional success/error message area */
#form-message {
  text-align: center;
  margin-top: 20px;
  color: green;
  font-weight: 500;
}

/*  Contact Section Ends */



/* Footer Section Starts */

footer {
  width: 100%;
  padding: 20px 0;
  justify-content: center;
  align-items: center;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  /* padding: 1%; */
  /* margin: 2%; */
}

.footer-content p {
  font-size: 16px;
  color: #f2eeee;
  margin: 0;
  text-align: center;
}

.social-icons {
  /* display: flex; */
  gap: 20px;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
  
}

.social-icons a {
  display: inline-flex; /* Use flex for centering */
  justify-content: center;
  align-items: center;

  width: 50px;
  height: 50px;

  /* border: 2px solid #044187; */
  border-radius: 50%; /* Makes it a perfect circle */

  /* background-color: #f1f4f5; */
  text-decoration: none;
  color: white; /* icon or text color */
  font-size: 18px; /* icon size if using font-awesome or text */
}

.social-icons a img:hover {
  transform: scale(1.1);
}

/* Footer Section Ends */


.copyright {
  text-align: center;
  padding: 10px;
  font-size: 14px;
  color: #888484;
  
}


/* 
@media screen and (max-width: 768px) {
  
  
} */






@media screen and (max-width: 600px) {
    body{
        overflow-y: visible;
    }

    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }
    

    .main-container{
        display: flex;
        flex-direction: column;
        align-content: center;
    }

    .nav-container .links{
        display: none;
    }

    .hamburg,.cancel{
        color: white;
        display: block !important;
    }

    .main-container .content{
        width: 100%;
        align-content: center;
    }
    

    .main-container .image{
        width: 80%;
        margin-bottom: 0px;
    }   

    .banner{
    height: fit-content;
    width: 100%;
    align-items: center;
    border-radius: 2%;
    padding: 20px;
  }
  
  .banner #banner-h1{
    font-size:  35px;
    text-align: center;
    width: 100%;
  }
  .banner span{
    font-size: 35px;
  }
  
  #banner-h2{
    font-size: x-large;
  }
  #banner-h3{
    font-size: 20px;
  }
  
  .social-links i{
      width: 2.5rem;
      height: 2.5rem;
      font-size: 1.5rem;
  }
  
  .sub-container{
    height: 100%;
    width: 100%;
    border-radius: 5%;
    background: linear-gradient(to bottom, rgb(129, 172, 205), rgba(0,0,0, 0.6));
    
  }
  

  .sub-container .image{
      width: 100%;
      outline: white 5px;
      border-radius: 20%;
      
  }
  .social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 5px 10px;
    color:#045a87;
    border: 0.2rem solid #045a87;
    background-color:transparent;
    transition: 0.2s linear;
  }
  .Project {
    /* position: relative; */
    padding: 10px;
    margin: 10;
    align-self: center;
    max-width: 96vw;
    overflow-x: hidden;
  }

  .project-container {
    flex-direction: column;
    align-items: center;
    /* position: relative; */
  }

  .Project1 {
    width: 90%;
    height: auto;
    padding: 10px;
  }

  .Project1 img {
    width: 80%;
    height: auto;
  }
  .skillset{
    position: relative;
  }
  .skill-icon {
    width: 50px;
    height: 50px;
  }

  .skill-icon img {
    width: 30px;
    height: 30px;
  }

  .timeline::after {
    left: 31px;
  }

  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .container::before {
    left: 60px;
    border-width: 10px 10px 10px 0;
    border-color: transparent rgb(203, 201, 201) transparent transparent;
  }

  .left::after,
  .right::after {
    left: 15px;
  }

  .right {
    left: 0%;
  }
  
}
