/* GENERAL */

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

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.wrapper {
    display: flex;
}
.wrapper .first-text {
    font-size: 30px;
    color: black;
}
.wrapper .sec-texts {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}
.sec-texts li {
    position: relative;
    top: 0;
    font-size: 30px;
    color: black;
    list-style: none;
    padding: 0 20px;
    text-shadow: 0 0 10px black;
    animation: slide 20s steps(1) infinite;
}
@keyframes slide {
    100% {
        top: -360px;
    }
}
@keyframes colorful {
    100% {
        filter: hue-rotate(360deg);
    }
}
.sec-texts li span {
    position: relative;
}
.sec-texts li span::before {
    content: '';
    position: absolute;
    left: 0;
    width: 400px;
    height: 90px;
    background: white;
    border-left: 2px solid ;
    animation: typing 1.5s steps(10) infinite alternate;
}
@keyframes typing {
    100% {
        left: 100%;
        margin: 0 -35px 0 35px;
    }
}

p {
  color: rgb(85, 85, 85);
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}


/* ==================== Services section css code ============================ */
.fillter-buttons{
  text-align: center;
  padding: .5rem;
  margin-bottom: 2rem;
}

.fillter-buttons button{
  background: var(--gradient-white-bg2);
  padding: 12px 15px;
  border-radius: 5px;
  border: none;
  font-weight: 500;
  color: #000;
  box-shadow: rgba(60,64,67,0.3)0px 1px 2px 0,
  rgba(60,64,67,0.15)0px 2px 6px 2px;
  margin-right: .5rem;
  cursor: pointer;
  transition: all .3s ease;
}

.fillter-buttons button:hover,button.mixitup-control-active{
  background: var(--gradient-color-bg);
  color: #fff;
}

.portfolio-gallery{
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(370px , 1fr));
  gap: 2rem;
}

.portfolio-img img{
  display: block;
  width: 100%;
  height: 100%;
  transition: .3s;
}

.portfolio-box{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
  box-shadow: rgba(0,0,0,0.18)0px 2px 4px;
  background: var(--gradient-white-bg2);
  border-radius: 10px;
  transition: all .3s ease;
}

.portfolio-content{
  width: 100%;
  padding-left: .5rem;
  padding-bottom: .5rem;
}

.portfolio-img{
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.portfolio-box:hover img{
  transform: scale(1.1);
}

.portfolio-content a.readMore{
  padding: 8px 12px;
  font-size: .8rem;
}

.portfolio-content p{
  font-size: .9rem;
  color: var(--font-color);
  margin: 1rem;
}
/* ==================== Services section css code ============================ */

/* Media queries for responsive design */
@media (max-width: 768px) {
  .fillter-buttons {
    text-align: left;
  }

  .portfolio-gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
  }

  .portfolio-box {
    padding: 1rem;
  }

  .portfolio-content p {
    font-size: .8rem;
  }

  .portfolio-content a.readMore {
    padding: 6px 10px;
    font-size: .7rem;
  }
}

@media (max-width: 576px) {
  .fillter-buttons button {
    padding: 8px 12px;
  }

  .portfolio-gallery {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }

  .portfolio-box {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
  }

  .portfolio-content {
    width: 100%;
    padding: 0;
  }

  .portfolio-img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
  }

  .portfolio-box:hover img {
    transform: scale(1.05);
  }

  .portfolio-content a.readMore {
    padding: 4px 8px;
    font-size: .6rem;
  }

  .portfolio-content p {
    margin: .3rem 0 .5rem 0;
  }
}


/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 2rem;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

section {
  padding-top: 2vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 1rem;
  
}

.section__pic-container {
  display: flex;
  height: 350px;
  width: 350px;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 3rem;
  text-align: center;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */

#about {
  position: relative;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 0.1rem;
  margin-top: 0.1rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
}

.section-container {
  gap: 4rem;
  height: 80%;
}


/*Certifications  Section*/


#experience {
  position: relative;
}

.experience-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  justify-content: space-around;
}

article .icon {
  cursor: default;
}

/* Media query for screens smaller than 600px */
@media screen and (max-width: 600px) {
  .experience-details-container {
    flex-direction: column;
  }

  .article-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  article {
    flex-direction: row;
    justify-content: space-between;
  }

  article:nth-child(odd) {
    flex-direction: column;
    align-items: center;
  }
}

/* PROJECTS SECTION */

#projects {
  position: relative;
  width: 85%;
  height: 100%;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-img {
  border-radius: 2rem;
  
}

.project-title {
  margin: 1rem;
  color: black;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

/*Languages*/ 

   .language {
     width: 150px;
     height: 160px;
     border: 3px solid black;
     border-radius: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-direction: column;
     margin-bottom: 10px;
     transition: border-color 0.2s ease-in-out;
      }
   .language:nth-child(3) {
     margin-bottom: 0;
   }
   .language:hover {
    border-color: #00f;
  }
   .language-text {
     text-transform: uppercase;
     font-size: 13px
   }
   .languages-per {
     font-size: 12px;
   }
   
   @media screen and (max-width: 520px) {
    .language {
      display: block;
      text-align: center;
    }
  }

/*Education*/
   @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
	margin:0;
	padding:0;
	box-sizing: border-box;
}

.timeline-section{
	background-color: white;
	min-height: 30vh;
	padding: 5px 15px;
}
.timeline-items{
	max-width: 900px;
	margin:auto;
	display: flex;
	flex-wrap: wrap;
	position: relative;
}
.timeline-items::before{
	content: '';
	position: absolute;
	width: 2px;
	height: 100%;
	background-color:black;
	left: calc(50% - 1px);
}
.timeline-item{
	margin-bottom: 40px;
	width: 100%;
	position: relative;
}
.timeline-item:last-child{
	margin-bottom: 0;
}
.timeline-item:nth-child(odd){
  padding-right: calc(50% + 30px);
	text-align: right;
}
.timeline-item:nth-child(even){
    padding-left: calc(50% + 30px);
}
.timeline-dot{
	height: 16px;
	width: 16px;
	background-color: #eaa023;
	position: absolute;
	left: calc(50% - 8px);
	border-radius: 50%;
	top:10px;
}
.timeline-date{
	font-size: 18px;
	color: #eaa023;
	margin:6px 0 15px;
}
.timeline-content{
  background-color:  #F8F8FF;
	padding: 30px;
	border-radius: 5px;
}
.timeline-content h3{
  font-size: 20px;
	color: black;
	margin:0 0 10px;
	text-transform: capitalize;
	font-weight: 500;
}
.timeline-content p{
  color: black;
	font-size: 16px;
	font-weight: 200;
	line-height: 22px;
}

/* responsive */
@media(max-width: 767px){
	.timeline-items::before{
		left: 7px;
	}
	.timeline-item:nth-child(odd){
		padding-right: 0;
		text-align: left;
	}
	.timeline-item:nth-child(odd),
	.timeline-item:nth-child(even){
		padding-left: 37px;
	}
	.timeline-dot{
		left:0;
	}
}
/*Hobbies*/
.Hobbies {
  
  margin: 0 auto;
}

.Hobbies .section {
  display: flex;
  flex-wrap: wrap;
 
}

.Hobbies .section .col-xs-12 {
  width: 100%;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .Hobbies .section .col-xs-12 {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .Hobbies .section .col-xs-12 {
    width: 100%;
  }
}

/*Skills*/

.skill-bx{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  place-items: center;
  margin-top: 1px;
  background: #fff;
  padding: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.skill-bx .left-bx{
  width: 100%;
  display: flex;
  flex-direction: column;

}
.skill-bx .right-bx{
  width: 100%;
  display: flex;
  flex-direction: column;

}
.skill-bx .bar{
  width: 70%;
  margin: 20px 0;
}
.skill-bx .bar:first-child{
  margin-top: 0;
}

.skill-bx .bar .info{
  font-size: 16px;
  font-weight: 500;
}

.skill-bx .bar .info span{
  font-size: 16px;
  font-weight: 500;
  opacity: 0;
  animation: showText 0.5s 1s linear forwards;
}

@keyframes showText {
  100%{
    opacity: 1;
  }
}
.skill-bx .progress-line{
  position: relative;
  height: 10px;
  width: 100%;
  background:#e6e2d3;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
}

.skill-bx .progress-line span{
  height: 100%;
  background:#deeaee;
  position: absolute;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s 1s cubic-bezier(1,0,0.5,1) forwards;
}
 


@keyframes animate {
  100%{
    transform: scaleX(1);
  }
}

.skill-bx .progress-line.html span{
  width: 90%;
}

.skill-bx .progress-line.css span{
  width: 90%;
}

.skill-bx .progress-line.javascript span{
  width: 75%;
}

.skill-bx .progress-line.python span{
  width: 75%;
}

.skill-bx .progress-line.c span{
  width: 50%;
}

.skill-bx .progress-line.sql span{
  width: 80%;
}

.skill-bx .progress-line.mongodb span{
  width: 80%;
}

.skill-bx .progress-line.java span{
  width: 50%;
}

.skill-bx .progress-line.kotlin span{
  width: 35%;
}

.skill-bx .progress-line.php span{
  width: 30%;
}

.skill-bx .progress-line.flask span{
  width: 60%;
}

.skill-bx .progress-line.django span{
  width: 60%;
}

.skill-bx .progress-line.reactjs span{
  width: 70%;
}

.skill-bx .progress-line.bootstrap span{
  width: 80%;
}

.skill-bx .progress-line.selenium span{
  width: 60%;
}

.skill-bx .progress-line.git span{
  width: 65%;
}

.skill-bx .progress-line.figma span{
  width: 30%;
}

.skill-bx .progress-line.wordpress span{
  width: 40%;
}

.skill-bx .progress-line.av span{
  width: 70%;
}

.skill-bx .progress-line.bi span{
  width: 40%;
}

.skill-bx .progress-line span::before{
  content: '';
  position: absolute;
  right: 0;
  top: -10px;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-top-color: #000;
  opacity: 0;
  animation: showText2 0.5s 1.5s linear forwards;
}

.skill-bx .progress-line span::after{
  position: absolute;
  right: -12px;
  top: -28px;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 3px;
  opacity: 0;
  animation: showText2 0.5s 1.5s linear forwards;
  
}

@keyframes showText2 {
  100%{
    opacity: 1;
  }
}

.skill-bx .progress-line.html span::after{
  content: '90%';
}

.skill-bx .progress-line.css span::after{
  content: '90%';
}

.skill-bx .progress-line.javascript span::after{
  content: '75%';
}

.skill-bx .progress-line.python span::after{
  content: '75%';
}


.skill-bx .progress-line.c span::after{
  content: '50%';
}

.skill-bx .progress-line.sql span::after{
  content: '80%';
}

.skill-bx .progress-line.mongodb span::after{
  content: '80%';
}

.skill-bx .progress-line.java span::after{
  content: '50%';
}

.skill-bx .progress-line.kotlin span::after{
  content: '35%';
}

.skill-bx .progress-line.php span::after{
  content: '30%';
}

.skill-bx .progress-line.flask span::after{
  content: '60%';
}

.skill-bx .progress-line.django span::after{
  content: '60%';
}

.skill-bx .progress-line.reactjs span::after{
  content: '70%';
}

.skill-bx .progress-line.bootstrap span::after{
  content: '80%';
}

.skill-bx .progress-line.selenium span::after{
  content: '60%';
}

.skill-bx .progress-line.git span::after{
  content: '65%';
}

.skill-bx .progress-line.figma span::after{
  content: '30%';
}

.skill-bx .progress-line.wordpress span::after{
  content: '40%';
}

.skill-bx .progress-line.av span::after{
  content: '70%';
}

.skill-bx .progress-line.bi span::after{
  content: '40%';
}

@media screen and (max-width: 768px) {
  .skill-bx {
      grid-template-columns: 1fr;
      padding: 50px;
      gap: 20px;
  }
}
/* Scroll Arrow Styles */
.scroll-arrow {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  cursor: pointer;
  display: none;
  /* Hide the arrows initially */
}

.scroll-arrow.up {
  bottom: 80px;
}

.scroll-arrow i {
  font-size: 2em;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.scroll-arrow:hover i {
  color: #007bff;
}

/* Show arrows on scroll */
@media (scroll) {
  .scroll-arrow {
    display: block;
  }
}

