@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

body {
  min-height: 100vh;
margin: auto;
  font-family: 'Poppins', sans-serif;

}

.container {
  width: 90%;
  margin: auto;
  

}
.contact-icons i{
font-size: 40px;
padding: 10px;
cursor: pointer;
transition: 0.3s;
}
.contact-icons i:hover{
  color: tomato;
  transition: 0.3s;
}
.Navbar {
  width: 100%;
  top: 0px;
  height: 75px;
  display: flex;
  position: fixed;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  margin: 0px;
  background-color: #fff;
  z-index: 10;
}

.Navbar .Logo {
  height: 100%;
  width: auto;


}

.Navbar .Logo h2 {
  font-size: 22px;
  font-family: sans-serif;
  color: black;
  margin-top: 25px;

}

.Navbar .Logo h2 span {
  color: rgb(90, 7, 116);
}

.menus {
  width: auto;
  justify-content: space-evenly;
  border-radius: 20px;
  height: 53px;
  text-align: center;
  background-color: #FFF;
  margin-left: 40px;

}

.menus ul {
  display: flex;
  list-style: none;
  padding: 3px;
  padding-right: 30px;
  padding-left: 10px;



}

.menu-bar {
  display: none;
}

.menus ul li {
  margin-left: 20px;
  cursor: pointer;
  font-size: 15px;

}
.menu-bar{
  display: none;
}

.menus ul li:hover {
  font-size: 16px;
  color: #b820e6;
}

.Contact-nav {
  display: flex;
  margin-top: 2px;
  margin-right: 100px;

}

.Contact-nav  button
{
  transition:0.9s;
}
@keyframes appear{
  from{
    opacity: 0;
    scale:0.5;
    transform: translateX(-100px);
  }
  to{
    opacity: 1;
    scale: 1;
    transform: translateX(0px);
  }
}
@keyframes ToolsContainer{
  from{
    opacity: 0;
    scale:0.5;
    transform: translateY(400px);
  }
  to{
    opacity: 1;
    scale: 1;
    transform: translateY(0px);
  }
}
.Contact-nav button:hover{
  background-color: #333;
  color: #fff;
  transition: 0.9s;
  border: none;

}
.home {
  height: 100vh;
}

.Contact-nav img {
  height: 20px;
  width: 20px;
  padding: 15px;
  text-align: center;
  cursor: pointer;

}

.Contact-nav button {
  height: 45px;
  width: 130px;
  border-radius: 40px;
  border: none;
  display: inline-flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  border: 1.5px solid gray;
  background: none;
  font-size: 1rem;
  cursor: pointer;
}

.Contact-nav button img {
  height: 10px;
  width: 10px;

}

.search {

  background-color: #fff;
  height: 40px;
  width: 55%;
  padding-top: 10px;
  padding-bottom: 3px;
  z-index: 0;
  border-radius: 27px;
display: flex;
justify-content:start;


  overflow: hidden;
}

.search .text {
  position: relative;
  color: #4070f4;
  font-size: 27px;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  align-items: center;
  cursor: default;
  z-index: 0;

}


.search .text.first-text {
  color: #000203;
  margin-left: 210px;
  justify-items: center;
  text-align: center;
  z-index: 0;
  width: 60px;

  
}





.text.sec-text:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
 width: 100%;
  background-color:#fff ;
  border-left: 2px solid;
  animation: animate 4s steps(12) infinite, 1s step-end infinite;
  z-index: 0;
}
@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  50.01%, 100% {
    opacity: 0;
  }
}
@keyframes animate {

  40%,
  60% {
    left: calc(100% + 4px);

  }

  100% {
    left: 0%;
  }
}

.search .bx-search {
  float: left;
  margin: 0;
  text-align: center;
  font-size: 30px;

  margin-left: 29px;
  cursor: pointer;
}

.search .first-text {
  text-align: center;
  margin-left: 20%;
}

.home {
  margin-top: 220px;
  height: auto;
  text-align: center;
  justify-content: center;
  align-self: center;
  margin-bottom: 60px;

}

.home .profile {
  text-align: center;
}

.home .profile img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
}

.home .description {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.description .search {
  margin-left: 20%;
}

.description h4 {
  font-weight: 100;
  font-size: small;
  width: 100%;
  text-align: center;
  width: 60%;
  margin-left: 17%;
}

.contact-details {
  margin-top: 30px;
  text-align: center;
margin-bottom: 100px;
}

.contact-details button {
  padding: 14px;
  border-radius: 40px;
  margin-right: 30px;
  width: auto;
  height: auto;
  border: none;
  padding-left: 50px;
  padding-right: 50px;
  cursor: pointer;

font-family: 'Poppins', sans-serif;
}

.contact-details button img {
  height: 15px;
  width: 15px;
  ;
}

.myresume {
  font-size: medium;
  transition: 0.2s;
}
.myresume:hover{
  background: #ebe5e5;
  color: #070606;
  transition: 0.2s;
}
.myresume img {
  height: 20px;
}

.ab-me-text {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 70px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 36px;
}

.btn-cnt {
  background: linear-gradient(#b820e6, #da7d20);
  color: #fff;
}

.about-me-container {
  width: 100%;
  height: auto;
  display: flex;

}

.img-container-abme {
  height: 380px;
  width: 40%;
margin-right: 7px;
}

.img-container-abme img {
  height: 80%;
  width: 80%;
  border-radius: 17px;

  animation:  appear linear ;
  animation-timeline: view();
animation-range: entry 0% cover 40%;
}

.detail-contain-abme {
  width: 100%;
  display: flex;
  flex-direction: column;

}

.detail-contain-abme .ex-ab-me {
  padding: 0px 30px 40px 60px;
  font-size: 13px;
}

.tools-ab-me {
  margin: auto;
  width: 100%;

  height: 180px;
  display: flex;
  justify-content: space-between;

}

.tools-container {
  border: 2px solid grey;
  width: 150px;
  height: 170px;
  padding: 20px 30px 20px 30px;
  margin-right: 20px;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.3s;
  animation: trans 1s linear forwards;
  animation:  ToolsContainer linear ;
  animation-timeline: view();
animation-range: entry 0% cover 40%;
}

@keyframes trans {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tools-container:hover {
  box-shadow: 6px 6px 0px #000;
  border-right: #000;
  border-bottom: #000;
  transition: 0.3s;
  background-color: #fcf4ff;
  margin-top: -3px;
}

.tools-container.Languages {
  margin-left: 50px;
}

.tools-container img {
  height: 25px;
  width: 25px;
  padding: 10px 0px 1px 0px;
  
}

.tools-container p {
  font-size: 13px;
}

.tools-i-use {
  width: 93%;

  margin-top: 50px;
  height: auto;
  margin-left: 50px;
}

.Tools-use {
  font-weight: 200;
  font-size: 13px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-bottom: 20px;
}

.tools-i-use img {
  height: 30px;
  width: 30px;
  border: 2px solid grey;
  padding: 6px;
  border-radius: 8px;
  margin-left: 15px;
  cursor: pointer;
  transition: 0.3s;
   animation:  appear linear ;
  animation-timeline: view();
animation-range: entry 0% cover 40%;
}

.tools-i-use img:hover {
  height: 35px;
  width: 35px;
  margin-top: -20px;
  transition: 0.3s;
}

.Skills {
  margin-top: 90px;
}

.Skills center h3 {
  font-size: 35px;
  animation: trans 1s linear forwards;
  animation:  ToolsContainer linear ;
  animation-timeline: view();
animation-range: entry 0% cover 40%;
}

.Skills p {
  text-align: center;
  font-size: 13px;
  width: 100%;
  margin-bottom: 25px;
 
}

.skills-container {
  width: 100%;
  height: auto;
  display: flex;
  margin-bottom: 100px;
  flex-wrap: wrap;

  justify-content: center;
}

.skills-container .skill-box {
  height: auto;
  width: 23%;
  border: 1px solid gray;

  border-radius: 9px;
  margin-left: 30px;
  margin-bottom: 20px;
  animation:  ToolsContainer linear ;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.skill-box img {
  height: 40px;
  width: 40px;
  padding: 30px 10px 0px 30px;
}

.skill-box h3 {
  font-weight: 200;
  font-size: 15px;
  text-align: left;
  margin-left: 25px;
  
}

.skill-box p {
  font-size: 11px;
  padding: 0px 0px 0px 0px;
  margin-right: 20px;
  width: 85%;
  margin-left: 15px;
  overflow: hidden;


}

.projects {
  width: 100%;
  height: auto;
}

.projects .projects-details {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.projects-details h2 {
  font-size: 35px;
}

.projects-details p {
  color: gray;
  font-weight: 100;
  width: 50%;
  margin-left: 25%;
}

.projects .projects-overview {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

.projects-overview .project-less {
  width: 100%;
  height: auto;
}

.project-less {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.container-project {
  cursor: pointer;
  transition: 0.3s;
  animation: ToolsContainer linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  height: 210px;
  width: 280px;
  position: relative;
  margin-bottom: 20px;
}

.container-project:hover .pjt-content {
  margin-top: -8px;
  transition: 0.3s;
}

.container-project:hover .pjt-conarrow {
  background-color: greenyellow;
}

.container-project img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  position: absolute;
  object-fit: cover;
}

.container-project .pjt-content {
  position: absolute;
  width: 85%;
  display: flex;
  height: 60px;
  background-color: #fff;
  margin-left: 20px;
  border-radius: 5px;
  top: 135px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.pjt-content {
  transition: 0.3s;
}

.pjt-content .pjt-con-title {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.pjt-content .pjt-conarrow {
  height: 35px;
  width: 45px;
  margin-right: 20px;
  border-radius: 50%;
  z-index: 0;
}

.pjt-conarrow {
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  z-index: 0;
  box-shadow: 2px 2px 0px #000;
  border: 1px solid black;
}

.pjt-conarrow img {
  height: 15px;
  width: 15px;
  margin-top: 10px;
  margin-right: 19px;
  margin-left: -9px;
  z-index: 3;
}

.pjt-con-title h4 {
  font-size: 13px;
}

.pjt-con-title p {
  font-size: 12px;
  margin-top: -15px;
  float: left;
  text-align: left;
  margin-left: 25px;
}

/* Project Detail Modal Styles */
.project-detail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.project-detail-content {
  background: white;
  border-radius: 15px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.project-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
}

.project-detail-header h2 {
  margin: 0;
  color: #333;
  font-size: 28px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.close-btn:hover {
  background-color: #f0f0f0;
  color: #333;
}

.project-detail-body {
  padding: 30px;
}

.project-images {
  margin-bottom: 30px;
}

.project-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.project-info h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 20px;
}

.project-description,
.project-features,
.project-technologies {
  margin-bottom: 25px;
}

.project-description p,
.project-technologies p {
  color: #666;
  line-height: 1.6;
  font-size: 16px;
}

.project-features ul {
  list-style: none;
  padding: 0;
}

.project-features li {
  color: #666;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.project-features li:before {
  content: "•";
  color: #b820e6;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.project-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  border: 2px solid #333;
  color: #333;
}

.project-link:hover {
  background-color: #333;
  color: white;
}

.project-link.demo-link {
  background: linear-gradient(#b820e6, #da7d20);
  color: white;
  border: none;
}

.project-link.demo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(184, 32, 230, 0.3);
}

/* Mobile Responsiveness for Projects */
@media screen and (max-width: 768px) {
  .projects-details p {
    width: 90%;
    margin-left: 5%;
    font-size: 14px;
  }

  .project-less {
    flex-direction: column;
    align-items: center;
  }

  .container-project {
    width: 90%;
    max-width: 350px;
  }

  /* Project Detail Modal Mobile */
  .project-detail {
    padding: 10px;
  }

  .project-detail-content {
    max-height: 95vh;
  }

  .project-detail-header {
    padding: 15px 20px;
  }

  .project-detail-header h2 {
    font-size: 22px;
  }

  .project-detail-body {
    padding: 20px;
  }

  .project-images img {
    height: 200px;
  }

  .project-links {
    flex-direction: column;
  }

  .project-link {
    text-align: center;
    justify-content: center;
  }
}

.skill-box button {
  height: 50px;
  width: auto;
  margin: 0px;
  background: none;
  justify-content: center;
  text-align: center;
  border: none;
  display: flex;
  align-items: center;
  margin-left: 20px;
  margin-top: -30px;

  font-size: 12px;
  cursor: pointer;
}

.skill-box button img {
  width: auto;
  height: 10px;
  margin: 0;
  text-align: center;
  border: 1px solid black;

}

.contactus {
  width: 100%;
  height: auto;
  margin-top: 50px;
}

.contactus-description {
  margin-bottom: 60px;
}

.input-flex {
  width: 100%;
  height: auto;
  display: flex;
  text-align: center;
  justify-content: center;

}

.input-flex input {
  height: 45px;
  width: 30%;
  margin-left: 20px;
  border-radius: 7px;
  border: 1px solid grey;
  animation:  ToolsContainer linear ;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.contact-detail .contact-msg {
  height: 110px;
  width: 56%;
  margin-top: 30px;
  margin-left: 20%;
  border-radius: 9px;
  font-size: 16px;
  padding: 30px;

}


.contact-detail {
  width: 95%;
  height: auto;
  justify-content: center;
  text-align: center;
  margin: auto;
}

#Submit-btn {
  width: 90px;
  height: 40px;
  margin-left: 46%;
  margin-top: 60px;
  border-radius: 13px;
  background-color: orange;
  border: none;
  cursor: pointer;
}
#Submit-btn:hover{
  background-color: greenyellow;
  transition: 1s;
}
.Certifications-details p{
color: gray;
font-weight: 100;
}
.Certifications-details{
  display: block;
}

.certificates-section {
      overflow: hidden;
      background: #f9f9f9;
      padding: 2rem;
    }

    .marquee-row {
      position: relative;
      display: flex;
      white-space: nowrap;
      overflow: hidden;
      margin: 2rem 0;
    }

    .marquee-content {
      display: flex;
      gap: 1rem;
      animation: scroll-left 40s linear infinite;
    }

    .marquee-right .marquee-content {
      animation: scroll-right 40s linear infinite;
    }

    .card {
      background: white;
      border-radius: 12px;
      padding: 1rem;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
      min-width: 200px;
      text-align: center;
      flex: 0 0 auto;
    }

    .card img {
      width: 100%;
      height: 220px;
      border-radius: 8px;
      display: block;
    }

    @keyframes scroll-left {
      0% { transform: translateX(0); }
      100% { transform: translateX(-10%); }
    }

    @keyframes scroll-right {
      0% { transform: translateX(-50%); }
      100% { transform: translateX(0); }
    }
.offline-message {
  display: none;
  padding: 20px;
  background-color: #d4d7d9;
  border: 1px solid #171717;
  border-radius: 5px;
  margin: 20px auto;
  width: 300px;
  position: static;
}

@media screen and (max-width:465px) {
body{
  width: 100vh;
}
  .container {
    width: 100vh;


  }

  .menus,
  .Contact-nav button {
    display: none;
  }

  .Contact-nav img {
    height: 50px;
    width: 50px;
    margin-top: 20px;
  }

  .Navbar .Logo h2 {
    font-size: 50px;
    margin-top: 70px;
    margin-left: 15px;
    
  }

  .home {
    height: auto;
    width: 100vh;
    margin-bottom: 280px;
  }

  .description h4 {
    font-size: 30px;
    margin-top: 100px;
    margin-left: 0;
    width: 100vh;
    height: auto;
    letter-spacing: 2px;
    word-spacing: 3px;
  }

  .home .profile img {
    height: 400px;
    width: 400px;
  }

  .home .profile h3 {
    font-size: 60px;
  }

  .description .search {
    height: 50px;
    width: 100%;
    margin-left: 0;
  }

  .search .text.first-text {
    font-size: 30px;
  }

  .contact-details {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .contact-details button {
    padding: 40px;
    width: 50%;
    margin-bottom: 30px;
    font-size: 30px;
  }

  .contact-details button img {
    height: 25px;
    width: 25px;
  }

  .search .text.first-text {
    font-size: 47px;
    margin-left: 60px;
    margin-right: 20px;
  }

  .search .text {
    font-size: 47px;
  }

  .ab-me-text {
    font-size: 75px;
  }

  .aboutme center h4 {
    font-size: 40px;
  }

  .detail-contain-abme {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .detail-contain-abme .ex-ab-me {
    font-size: 35px;
    height: auto;
    margin-top: 100px;
    word-spacing: 3px;
    letter-spacing: 2px;
  }

  .about-me-container {
    display: block;
  }

  .img-container-abme {
    height: auto;
    width: 80%;
    margin-left: 75px;
  }
  .img-container-abme img{
    margin-left: 50px;
  }
  .Navbar {
    position: relative;
  }

  .menu-bar {
    display: flex;
    float: right;
    margin-right: -60px;
    margin-left: 30px;
  }

  .tools-ab-me {
    display: flex;
    flex-direction: column;
    height: auto;
    align-items: center;
    margin-top: 70px;
  }

  .tools-container img {
    height: 70px;
    width: 70px;
  }

  .tools-container h4 {
    font-size: 35px;
  }

  .tools-container p {
    font-size: 25px;
  }

  .tools-i-use {
    margin-left: 20px;
    width: 100%;
    height: auto;
  }

  .Tools-use {
    font-size: 35px;
    margin-left: 20px;
    text-align: center;
  }

  .tools-i-use img {
    height: 100px;
    width: 100px;
    margin-left: 20px;
    margin-top: 90px;
  }
  .tools-i-use img:hover{
    height: 120px;
    width: 120px;
  }

  .tools-container {
    width: 70%;
    margin-bottom: 40px;
    height: 280px;
  }
  .Skills center h3 {
    font-size: 70px;
}
.Skills p{
  
  font-size: 30px;
    letter-spacing: 1px;
    word-spacing: 2px;
}
.skills-container {

  display: flex;
  flex-direction: column;
  align-items: center;
}
.skills-container .skill-box {

  width: 70%;
  height: 450px;
}
.skill-box img {
height: 80px;
    width: 80px;
}
.skill-box h3 {
  
  font-size: 30px;
}
.skill-box p {
  font-size: 30pxpx;
  width: 85%;
  margin-left: 15px;
   overflow: hidden;
  white-space: wrap; 
   text-overflow: normal;
}
.skill-box button {
  font-size: 25px;
}


.menu-bar{
width: 100vh;
height:100vh;

position: absolute;
margin: 10px;
}


.input-flex{
width: 100vh;
height: auto;
display: block;
}
.contact-detail{
margin-bottom: 250px;


}

#Submit-btn{
  height: 130px;
  width: 350px;
  font-size: 25px;
 
  border-radius: 40px;
  text-align: center;
  
}
.input-flex input{
width: 95%;
margin: auto;
height: 90px;
border-radius: 30px;
font-size: 30px;
margin-bottom: 15px;
padding: 10px;
}
.contact-detail .contact-msg{
  width: 95%;
  margin: auto;
 height: 100px;
  border-radius: 30px;
  font-size: 25px;
  

}
.contact-msg{
margin: 0;
}
.contactus{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
}
/* Dark Mode Styles */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode .Navbar {
  background-color: #1e1e1e;
  box-shadow: none;
}

body.dark-mode .menus ul li {
  color: #ddd;
}

body.dark-mode .menus ul li:hover {
  color: #b820e6;
}

body.dark-mode .Contact-nav button {
  background-color: #333;
  color: #fff;
  border: 1.5px solid #666;
}

body.dark-mode .Contact-nav button:hover {
  background-color: #b820e6;
  color: white;
}

body.dark-mode .home {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode .contact-icons i {
  color: #ddd;
}

body.dark-mode .contact-icons i:hover {
  color: tomato;
}

body.dark-mode .aboutme, 
body.dark-mode .Skills,
body.dark-mode .projects,
body.dark-mode .contactus {
  background-color: #181818;
  color: #ccc;
}

body.dark-mode .tools-container {
  border-color: #444;
  background-color: #222;
  color: #ddd;
}

body.dark-mode .tools-container:hover {
  background-color: #3a0ca3;
  color: white;
}

body.dark-mode .contact-details button {
  background-color: #333;
  color: white;
  border: none;
}

body.dark-mode .contact-details button:hover {
  background-color: #b820e6;
  color: white;
}

/* Adjust images if needed */
body.dark-mode img {
  filter: brightness(0.9);
}
