/* Google Font CDN Link */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");
* {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    /* color: white; */
  }
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #6e93f7;
  border-radius: 12px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #4070f4;
}

/* navbar styling */
nav {
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: "Ubuntu", sans-serif;
  background-color: rgb(15, 13, 37);
}
nav.sticky {
  background: #080808;
  padding: 13px 0;
}
nav .navbar {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
nav .navbar .logo a {
  font-size: 35px;
  color: rgb(248, 247, 247);
  font-weight: bolder;
}
nav.sticky .navbar .logo a {
  color: #fff;
}

nav .navbar .menu {
  display: flex;
  position: relative;
  gap: 10px;
}
nav .navbar .menu li {
  list-style: none;
 
  margin: 0 10px;
  color: #fff;
}
.navbar .menu a {
  font-size: 18px;
  font-weight: 500;
  color: #f8f9fa;
  /* padding: 5px; */
  transition: all 0.4s ease;
  
}
.navbar .menu a:hover {
 
  /* font-size: 18px; */
  border: 1px solid rgb(253, 252, 252);
  /* background-color: #0aeaf6; */
  border-radius: 8px;
 
  width: 30px;
  padding: 5px;
  height: 10px;
  transition: all 0.4s ease;
  
}
nav.sticky .menu a {
  color: #fff;
}
nav.sticky .menu a:hover {
  color: #fefcfc;
}
.iconhtml {
  height: 20px;
  width: 40px;
  color: #ebe8e8;
}

/* .home .media-icons a */
.media {
  /* color: #350af7; */
  /* font-size: 18px; */
  height: 40px;
  width: 40px;
  margin: 0 6px;
  border: 1px solid rgb(4, 4, 4);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 0 5px rgba(11, 11, 11, 0.5); /* white glowing effect */
  transition: transform 0.3s ease;
}
/* .media{
  height: 40px;
  width: 30px;
} */

.media:hover {
  box-shadow: 0 0 10px rgba(15, 15, 15, 0.9); /* Increase glow on hover */
  color: rgb(17, 17, 16);
  transform: translate(0, -5px);
  /* transition: transform 0.4s ; */
}
/* nav.sticky .media-icons {
  color: #FFF;
  
} */

.menu:hover li {
  filter: blur(2px);
}

.menu:hover li:hover {
  filter: blur(0px);
}
/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn {
  position: absolute;
  color: #f9f7f7;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
  gap: 40px;
}
nav .menu-btn {
  color: #f4f4f7;
}
nav.sticky .menu-btn {
  color: #fff;
}
.navbar .menu .menu-btn {
  color: #fff;
}




/* home section styling */


/*span styl begin*/
.tex{
  position: relative;
  
}

.home-content .type {
  font-size: 60px;
  font-weight: 500;
  /* color: #e00707; */
  overflow: hidden; /* Hide overflowing text */
  white-space: nowrap; /* Prevent text from wrapping */
    color: brown;
    font-size: 40px;

}

.home-content .type:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0%; /* Initially position the pseudo-element outside the container */
  height: 100%;
  width: 100%;
  background-color: white;
  border-left: 2px solid rgb(0, 0, 0);
  animation: animate 4s linear infinite; /* Use linear animation for smooth sliding */
}

@keyframes animate {
  40% , 60% {
    left: 100%;
   /* Start from the left of the container */
  }
  100% {
    left: 0%;
 /* End at the right of the container */
  }
}

/*span style end*/
.home {
  height: 120vh;
  width: 100%;
  background-color: white;
  /* background-size: crgb(59, 77, 139); */
  background-position: center;
  background-attachment: fixed;
  font-family: "Ubuntu", sans-serif;
  display: flex;
}
/* right image*/
.home-content-right img{
 width: 100%;
 content: attr(data-tooltip);
 animation: floatImage 4s ease-in-out infinite;

}

@keyframes floatImage {
  0%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-2.2rem);
  }
  100%{
    transform: translateY(0);
  }
}
.home-content-right {
  height: 100%;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* z-index: 30px; */
  position: relative;
/* left: 50%; */

}
.text{
  width: 100%;
}
.home .home-content {
  width: 60%;
  /* height: 100%; */
  margin: auto;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
}
.home-content .text-one {
  font-size: 35px;
  color: #0a0a0a;
  font-weight: 600;
}
.home-content .text-two {
  color: #040404;
 font-size: 60px;
  font-weight: 600;
  margin-left: -3px;
}


.home-content.text-three {
  font-size: 40px;
  margin: 5px 0;
  color: #2905ab;
}
.home-content .text-four {
  font-size: 23px;
  margin: 5px 0;
  color: #0e0e0e;
  font-weight: 500;
}
.home-content.button {
  margin: 14px 0;
}
.home-content .button button {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 400;
  background: #080808;
  color: #fff;
  cursor: pointer;
}

.home-content.button button:hover {
  background-color: #0c0c0c; /* Black background on hover */
  color: #eee4e4; /* White text on hover */
 
}




/* About Section Styling */

section {
  padding-top: 40px;
}
section .content {
  width: 100%;
  /* margin: 20px auto; */
  font-family: "Poppins", sans-serif;
  /* background: #f0c35c; */
  /* border-top: 2px solid black; */
  /* background-color: #8ec5fc;
  background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%); */
  padding: 20px;
}
.about{
  width: 100%;
  
}
.about .about-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
section .title {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
section .title span {
  color: #000006;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title span::before,
section .title span::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 100%;
  background: #120679;
  left: 0;
  bottom: 0;
}
section .title span::after {
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
.about .about-details .left {
  width: 40%;
 

}
.about .left img {
  height: 400px;
  width: 360px;
  object-fit: cover;
  /* border: 2px solid white; */
  border-radius: 70px;
  filter: drop-shadow(10px 7px 20px orange);
  /* background-color: rgb(238, 189, 66); */
  /* border-radius: 20px 60px 20px 80px; */
  /* background: -webkit-linear-gradient(#fdfcfb, #820202b4); */
  /* background: #918c96; */
  /* box-shadow: 0 0 15px rgb(10, 10, 10); */
  animation: floatImage 4s ease-in-out infinite;

}

@keyframes floatImage {
  0%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-2.2rem);
  }
  100%{
    transform: translateY(0);
  }
}


.about-details .right {
  width: 55%;
 
}
section .topic {
  color: #080808;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 7px;
}
.about-details .right p {
  text-align: justify;
  color: #0e2431;
}
section .button {
  margin: 16px 0;
}
section .button button {
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: #070707;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}
section .button button {
  border: 1px solid transparent; /* Ensure consistent button size */
  background-color: #0f0670; /* Initial background color */
  color: #fefdff; /* Initial text color */
  padding: 5px 10px; /* Adjust padding as needed */
  border-radius: 5px white; /* Rounded corners */
  box-shadow: 0 0 10px rgb(240, 245, 246); /* White glow effect */
  transition: box-shadow 0.3s ease-in-out, color 0.3s ease-in-out; /* Smooth transitions */
}

section .button button:hover {
  box-shadow: 0 0 10px rgba(5, 5, 5, 0.996); /* Black glow effect on hover */
  border-color: #f7f7fb; /* Border color change on hover */
  border: 1px solid rgb(255, 252, 252);
  /* background-color: #fdfdfd; Background color change on hover */
  /* color: #f10505; Text color change on hover */
}

/* My Skills CSS */
/* .skills{
   background: #2e4fbb;
 } */
.skills .content {
  padding: 40px 0;
}


.skills-details p {
  color: #0a0a0a;
  text-align: justify;
  padding: 20px;
  font-size: 15px;
}
.skills .skills-details .experience {
  display: flex;
  align-items: center;
  margin: 0 10px;
}
.skills-details .experience .num {
  color: #090909;
  font-size: 80px;
}
.skills-details .experience .exp {
  color: #0a0a0a;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0 6px;
}
.skills-details .boxes {
  /* width: 70%;  */
  /* display: flex; */
  /* transition: 0.5s; */
  margin-left: 5%;
  margin-right: 5%;
  /* gap: 1%; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}



.skills-details .box {
 
  width: 20%;
  height: 9rem;
  display: flex;
  /* justify-content: center; */
  /* align-items: flex-start; */
  /* gap: 5rem; */
  flex-direction: column;
  /* border: 2px solid white; */
  box-shadow: 0 8px 15px rgb(11, 11, 11);
  background-color: white;
  /* color: #000006; */
  border-radius: 20px;
  padding: 10px;
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  transition: transform 0.3s ease;
}
.skills-details .box:hover{
  cursor: pointer;
  transform: translate(0, -6px);
}

#topi {
  padding: 20px;
  text-decoration: underline;
  color: rgb(6, 6, 6);
}


.mini-box{
  height: 10px;
  width: 100%;
  color: antiquewhite;
  border-radius: 8px;
  border: 1px solid black;
  /* background: linear-gradient(to right, #0a0a0a, #f90707); */
  /* animation-name: fadeInLeft ; */
  
}

.innerprogress{
  width: 80%;
  background: linear-gradient(to right, #0a0a0a, #f90707);
  height: 9px;
  border-radius: 30px;
}
.topic h3{
  font-size: 15px;
  font-weight: 300;
  /* text-align: end; */
  /* justify-content: end; */
  /* align-items: end; */
  position: relative;
  /* left:3rem; */
  text-decoration: none;
}
.topic h2{
  font-size: 25px;
  font-weight: 500;
  /* text-decoration: solid; */
}

/* My Services CSS */
.services .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.services .boxes .box {
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 15px rgb(11, 11, 11);
  cursor: default;
  background: #f7f7f9; 
  transition: all 0.5s ease;
}

.services .boxes .box {
  transition: transform 0.3s ease-in-out; /* Smooth transition for the transform property */
}

.services .boxes .box:hover {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: #fff;
  transform: translateY(-10px); /* Move the box up by 10 pixels */
}
.services .boxes .box .icon {
  height: 50px;
  width: 50px;
  background: #efeff4;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #090909;
  border: 2px solid black;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}
.boxes .box:hover .icon {
  background-color: #f9f7f7;
  color: #090940;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p {
  color: #f6f7f7;
  transition: all 0.5s ease;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p {
  color: #fffbfb;
}



/* Footer CSS */
footer {
  background: #021a5d;
  padding: 15px 0;
  text-align: center;
  font-family: "Poppins", sans-serif;
}
footer .text span {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}
footer .text span a {
  font-weight: 500;
  color: #fff;
}
footer .text span a:hover {
  text-decoration: underline;
}
/* Scroll TO Top Button CSS */
.scroll-button a {
  position: fixed;
  bottom: 10px;
  right: 20px;
  color: #fff;
  background: #03174e;
  padding: 7px 12px;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(240, 237, 237, 0.15);
  display: none;
  border: 1px solid white;
}
/* mine start here */
/* Project Section CSS */

.git {
  /* height: 20px; */
  width: 10rem;
  /* height: rem; */
  border: 1px solid transparent; /* Ensure consistent button size */
  background-color: #0f0670; /* Initial background color */
  color: #fefdff; /* Initial text color */
  padding: 10px 20px; /* Adjust padding as needed */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 0 10px rgb(5, 5, 5); /* White glow effect */
  transition: box-shadow 0.3s ease-in-out, color 0.3s ease-in-out; /* Smooth transitions */
}

.git:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Black glow effect on hover */
  border-color: #e6e6ea; /* Border color change on hover */
  background-color: #0d0c0c; /* Background color change on hover */
  color: #ebe8e8; /* Text color change on hover */
  cursor: pointer;
}

.slider {
  width: 100%;
  margin: auto;
  overflow: hidden;
  padding: 10px;
}
.slider-container {
  display: flex;
  transition: transform 0.6s ease;
}
.slide {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  padding: 0 10px;
  justify-content: center;
  flex-direction: column;
  align-items: center;

}
.slide  .dem {
  display: flex;
  flex-direction: row;
  justify-content:center;

  gap: 30%;
}
.slide img {
  width: 85%;
  height: 25rem; /* Changed height to auto for responsiveness */
  border-radius: 10px;
}
.dots {
  position: absolute;
  /* bottom: 100px; */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}
.dot {
  width: 10px;
  height: 10px;
  background-color: #f8f4f4;
  color: rgb(11, 11, 11);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}
.dot.active {
  background-color: #060606;
}
/* Added CSS for underlined and bold h3 */
h3 {
  text-decoration: underline;
  font-weight: bold;
  margin-right: auto;
}


/* <!--my certificates start--> */
.mycert {
  height: 120vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.list {
  width: 70%;
  /* height: ; */
  height: 70%;
  position: relative;
  /* bottom: 40px; */
}

.slide-container {
  display: flex;
  overflow-x: auto;
  /* height: 25rem; */
}

.slide-container img {
  height: auto;
  width: 100%;
  height: 30rem;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  /* object-fit: cover; */
  border-radius: 10px;
  border: 2px solid black;
}

button.prev, button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(255, 255, 255);
  border: 1px solid black;
  border-radius: 3px;
  color: rgb(12, 12, 12);
  width: 30px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.prev:hover, button.next:hover {
  background-color: rgba(0, 0, 0, 0.635);
  color: white;
}

button.prev {
  left: -20px;
}

button.next {
  right: -20px;
 
}

/* <!--my certificates end--> */








/* Media query for responsiveness */
@media only screen and (max-width: 768px) {
  .slider {
    width: 100%; /* Adjusted width for smaller screens */
  }
}

/* mine end here */
/* Responsive Media Query */
@media (max-width: 1190px) {
  section .content {
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .about .about-details {
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-details .right {
    width: 90%;
    margin: 40px 0;
  }
  .services .boxes .box {
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}
@media (max-width: 900px) {
  .about .left img {
    height: 350px;
    width: 350px;
  }
  
}

@media (max-width: 750px) {
  nav .navbar {
    width: 90%;
  }
  nav .navbar .menu {
    position: absolute;
    left: -100%;
    top: 0;
    background: #0a0a0a;
    height: 145vh;
    max-width: 350px;
    width: 100%;
    padding-top: 77px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
    border-radius: 0 0 20px 10px;

}
  .navbar.active .menu {
    left: 0;
  }
  nav .navbar .menu a {
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }
  nav.sticky .menu a:hover {
    color: #4070f4;
  }
  .home .media-icons:hover::after {
    content: attr(data-tooltip);
  }
  nav .menu-btn,
  .navbar .menu .cancel-btn {
    display: block;
  }
  .home .text-two {
    font-size: 65px;
  }
  .home .text-three {
    font-size: 35px;
  }
  .skills .skills-details {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text {
    width: 100%;
    margin-bottom: 50px;
  }
  .skills-details .boxes {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .services .boxes .box {
    /* margin: 0px 0; */
    width: 100%;
  }
  .contact .text {
    width: 100%;
  }
  
}

@media (max-width: 500px) {
  .home .text-two {
    font-size: 55px;
  }
  .home .text-three {
    font-size: 33px;
  }
  .skills-details .boxes .per {
    font-size: 50px;
    color: #4070f4;
  }
}

