@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&display=swap');
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}
a{
  text-decoration: none ;
  color:#fff;
  transition:0.3s; 
}
ul{
  list-style:none;
}
img{
  max-width: 100%;
}
html {
  scroll-behavior: smooth;
}

:root {
  --color-primary: #200520;
  --color-secondary: #fed700;
  --color-white: #FFFFFF;
  --color-black: #000;
  --color-grey0: #f8f8f8;
  --color-grey-1: #dbe1e8;
  --color-grey-2: #b2becd;
  --color-grey-3: #6c7983;
  --color-grey-4: #454e56;
  --color-grey-5: #2a2e35;
  --color-grey-6: #12181b;
  --br-sm-2: 14px;
  --box-shadow-1: 0 3px 15px rgba(0,0,0,.3);
  --scroolbar-thumb-color: #fed80075;
}

.light-mode {
  --color-primary: #FFFFFF;
  --color-secondary: #F56692;
  --color-white: #454e56;
  --color-black: #000;
  --color-grey0: #f8f8f8;
  --color-grey-1: #6c7983;
  --color-grey-2: #6c7983;
  --color-grey-3: #6c7983;
  --color-grey-4: #454e56;
  --color-grey-5: #f8f8f8;
  --color-grey-6: #12181b;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: var(---scroolbar-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroolbar-thumb-color);
  border-radius: var(---border-radius);
}

body {
  background-color: yellow;
  font-size:16px;
  line-height:24px; 
  color: var(--color-white);
  transition: all 0.4s ease-in-out;
}

.container{
  width: 1170px;
  margin:auto;
}
.signature {
  width: 100px; 
  height:auto; 
  margin-right: 10px; 
}

@keyframes appear {
  0% {
    transform: translateY(-100%) scaleY(0);
  }
  100% {
    transform: translateY(0) scaleY(1);
  }
}





.controls {
  position: fixed;
  z-index: 10;
  top: 50%;
  right: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}
.controls .control {
  padding: 1rem;
  cursor: pointer;
  background-color: var(--color-grey-4);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.7rem 0;
  box-shadow: var(--box-shadow-1);
}
.controls .control i {
  font-size: 1.2rem;
  color: var(--color-grey-2);
  pointer-events: none;
}
.controls .active-btn {
  background-color: var(--color-secondary);
  transition: all 0.4s ease-in-out;
}
.controls .active-btn i {
  color: var(--color-white);
}

.theme-btn {
  top: 5%;
  right: 3%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-grey-4);
  cursor: pointer;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease-in-out;
}
.theme-btn:active {
  transform: translateY(-3px);
}
.theme-btn i {
  font-size: 1.4rem;
  color: var(--color-grey-2);
  pointer-events: none;
}

/*nav */

@media screen and (max-width: 600px) {
  header {
    padding: 0 !important;
  }

  .theme-btn {
    width: 50px;
    height: 50px;
  }

  .header-content {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .left-header .h-shape {
    display: none;
  }

  .right-header {
    grid-row: 1;
    padding-right: 0rem !important;
    width: 90%;
    margin: 0 auto;
  }
  .right-header .name {
    font-size: 2.5rem !important;
    text-align: center;
    padding-top: 3rem;
  }

  .header-content .left-header .image {
    margin: 0 auto;
    width: 90%;
  }

  .controls {
    position: fixed;
    top: auto;
    bottom: 0;
    flex-direction: row;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: var(--color-grey-5);
  }
  .controls .control {
    margin: 1rem 0.3rem;
  }

  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .about-container .right-about {
    grid-template-columns: repeat(1, 1fr);
    padding-top: 2.5rem;
  }
  .about-container .left-about {
    padding-right: 0;
  }
  .about-container .left-about p {
    padding-left: 0;
  }

  .timeline {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .container {
    padding: 2rem 2.5rem !important;
  }
  /* Mobile responsive styles */
@media (max-width: 768px) {
  .container {
      padding: 0rem 1rem !important; /* Adjust padding for mobile */
  }
}

  .about-stats .progress-bars {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolios {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
    margin-top: 1rem;
  }

  .blogs {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .contact-content-con {
    flex-direction: column;
  }
  .contact-content-con .right-contact {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .contact-content-con .right-contact .i-c-2 {
    flex-direction: column;
  }

  .contact-content-con .right-contact .i-c-2 :last-child {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .contact-content-con .right-contact {
    margin-bottom: 6rem;
  }

  .contact-item {
    flex-direction: column;
    margin: 1rem 0;
  }
  .contact-item p {
    font-size: 15px;
    color: var(--color-grey-2);
  }
  .contact-item span {
    font-size: 15px;
  }
  .contact-item .icon {
    grid-template-columns: 25px 1fr;
  }

  .main-title h2 {
    font-size: 2rem;
  }
  .main-title h2 span {
    font-size: 2.3rem;
  }
  .main-title h2 .bg-text {
    font-size: 2.3rem;
  }
}


      /*---------------------------Header---------------------------*/

      .header ul {
        display: flex; /* Use flexbox for horizontal alignment */
        list-style: none;
        padding: 0;
    }
    
    .header ul li {
        margin: 0 15px; /* Space between menu items */
    }
    
    .header ul li a {
        color: white; /* Default color */
        text-decoration: none; /* Remove underline */
        font-size: 16px; /* Set a uniform font size */
        transition: color 0.3s; /* Smooth transition for hover effect */
    }
    
    .header ul li a:hover {
        color: yellow; /* Change color on hover */
    }
    

    
    .header ul li:hover .sub-navbar {
        display: block; /* Show sub-navbar on hover */
    }
    

.header-area{
  padding:25px 0;
  transition: padding .3s;
}

.header-area.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: #200520;
  padding: 5px;
}

.header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  /* padding-bottom: 2rem; */
} 
.logo {
  display: flex;
  align-items: center;
  position: relative; 
  text-transform: uppercase;
  font-size: 26px;
  font-weight: 700;
}

.logo .fa-bolt {
  color: #fed700;
  font-size: 19.5px;
  position: absolute; 
  top: 60%;
  left: 100%; 
  transform: translate(-50%, -50%); 
  z-index: 1; 
}

.signature {
  width: 100px; 
  height:auto; 
  margin-right: 10px; 
}

.header ul li:first-child {
  margin-right: auto; 
}  

.header ul{
  display: flex;
  align-items: center; 
}
.header ul li{
  margin: 0 15px;
}
.header ul li a{
  text-transform: capitalize;
  display: block;
}
.header ul li a.active{
  color: #fed700;
} 
.header ul li a:hover{
  color:#fed700;
}
.header .menu_icon{
  color:#fff;
  font-size: 18px;
  cursor: pointer;
  display: none;
}


 /*---------------------------About---------------------------*/

.about-area{
  padding-top: 100px;
  background: #355C7D;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #861717, #31213f, #004281);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #861717, #311e42, #004281); 
}
.about{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom:50px;
}
.about-content{
  flex-basis: 60%;
}
.about-content h4{
  color: #fed700;
  font-size: 40px;
  line-height: 70px;
  text-transform: capitalize;
}
.about-content ul {
  color:#fff;
  text-align: justify;
}

.about-content ul li {
  list-style-type: disc;
  margin-bottom: 10px;
}

.about-skills{
  flex-basis: 35%;
}
.about-skills ul li{
  border-bottom: 1px dashed #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
}
.about-skills ul li:last-child{
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.mac-terminal {
  top: 60px;
  width: 25rem;
  position: relative;
  left: 35%;


}












/*---------------------------Button---------------------------*/

.btn-group{
  margin: 10px 0;
}
.btn-group .btn{
  border-color: #d5d5d5;
  color: #fff;
  background-color: #333;
  padding:12px 25px;
  margin: 5px 0;
  margin-right: 7px;
  border-radius: 30px;
  border: 2px solid #e5e5e5;
  box-shadow: 0 10px 10px -8px rgb(0 0 0 / 78%);
}
.btn.active{
  border-color: #fed700;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 1rem 10%;
}
.service-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 1rem 10%;
}

.services-box {
  flex: 1 1 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(---main-work);
  padding: 3rem 2rem 4rem;
  height: max-content;
  border-radius: 1.25rem;
  border: 3px solid var(---main-color);
  cursor: pointer;
  transition: .3s ease-in-out;
  overflow: hidden;
}

.services-box:hover {
  background-color: var(---main-work-hover);
  color: var(---main-work-hover-text);
  transform: scale(1.03);
}

.services-box i {
  color: var(---main-color);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.services-box h3 {
  font-size: 1.3rem;
  text-align: center;
}

.services-box p {
  font-size: 1rem;
  font-weight: 500;
  margin: 1rem 0 2rem;
  text-align: center;
}

.services-box button {
  border: 2px solid var(---main-color);
  padding: .5rem .75rem;
}

.services-box button:hover {
  background: var(---main-work-btn-hover-bg);
  color: var(---main-color);
}

/*---------------------------Education & Internship---------------------------*/
  .education-content{
    padding-top: 10px;

  }
  .education-content .row{
    display: flex;
    border-radius: 5px;
    height: 400px;
    margin-bottom: 1050px;
  }

  .education-content .title{
    color: #fed700;
  }
  .education-content .row .education,
  .education-content .row .internship
  {
    color: #e5e5e5;
    flex:0 0 50%;
    max-width: 50%;
    margin-top: 30px;
  } 
  .education-content  h3.title{
    font-size:24px;
    margin-bottom: 30px;
    font-weight: 700;
  }
  .education-content .row.timeline-box{
    flex:0 0 100%;
    max-width: 100%;  
  }
  .education-content .row .timeline{
    /* background-color:#e5e5e5; */
    padding: 30px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    width: 100%;
    position: relative;
  }
  .education-content .row .timeline-item{
    position:relative;
    padding-left: 37px;
    padding-bottom: 50px; 
  }
  .education-content .row  .internship .timeline-item{
    position:relative;
    padding-left: 37px;
    padding-bottom: 30px; 
  }
  .education-content .row .timeline-item:last-child{
    padding-bottom: 0;
  }
  .education-content .row .timeline-item::before{
    content: "";
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background-color: #fed700;  
  }
  .education-content .row .circle-dot{
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #e5e5e5;
  }
  .education-content .row .timeline-title  {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
  }
  .education-content .row .internship .timeline-title  {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
  }
  .education-content .row .timeline-text{
    line-height: 25px;
    font-size: 16px;
    text-align: justify;
  }
/* Styles for the school images */
.school-img {
    width: 50vh; /* Adjust size as necessary */
    height:auto;
    border-radius: 10px; /* Optional: Rounded corners */
    margin-bottom: 10px; /* Spacing between the image and the text */
    display: block; /* Ensure proper positioning */
}

/* Optional: You can also adjust the alignment */
.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the image and text */
    text-align: center;  /* Center text as well */
}



/*---------------------------Footer---------------------------*/
.footer {
    max-width: 950px;
    margin: 0 auto;
    padding: 15px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer .message {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
  }
  
  .copyright {
    font-size: 12px;
  }




 /*------------------- Responsive Design on small screen -------------------*/

/* Medium layout */
@media only screen and (min-width:1000px) and (max-width:1200px){
  .container{
    width: 970px;
  }
}

@media(max-width:1050px){
  .FirstElement{ 
    flex-direction: column;
    padding-top: 2rem;
  }
  .profile-text{
    padding: 40px 0px;
  }
}



/* tablet layout */
@media only screen and (min-width:768px) and (max-width:999px){
  .container{
    width: 750px;
  } 
}  


/* Mobile Layout */
@media only screen and (max-width:767px){
  .container{
    width: 350px;
  }

  .header .menu_icon {
    display: block;
  }
  .header ul{
    display: none;
  }
  .header i{
    color: #e5e5e5;
  }

  .profile-text{
    width: 350px;
  }
  .FirstElement .profile-text p{
    text-align: justify;
  }
  .about{
    flex-direction: column;
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  .about-skills{
    width: 100%;
    margin-top: 30px;
  }
  .education-content .row {
    flex-direction: column;
    height: auto;
    margin-bottom: 50px;
  }

  .education-content .row .education,
  .education-content .row .internship {
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 30px;
  }
  .project{
    flex-basis: 100%;
    margin-bottom: 30px;
  }

}




@keyframes floatAnimation {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, -10px); /* Move slightly to the right-up */
  }
  50% {
    transform: translate(0px, -15px); /* Move up */
  }
  75% {
    transform: translate(-10px, 10px); /* Move to left-down */
  }
  100% {
    transform: translate(0, 0); /* Back to original position */
  }
}

.profile-photo img{
  animation: floatAnimation 5s ease-in-out infinite; /* Adjust duration and easing for smoothness */
  max-glare: 0.1; /* Reduce glare for subtle effect */
}


/*---------------------------text sniping---------------------------*/
body {
  background-color: #1e1e1e; /* Dark background */
  color: #fff;
  font-family: 'Courier New', Courier, monospace; /* Code-like font */
  padding: 0px;
}

.image-container {
  position: relative; /* Container holds the position for the text */
  max-width: 600px;
  margin: 50px auto;
  top: -8rem;
  left: 10%;
  
}

.mac-terminal {
  width: 70%; /* Ensures image fits container */
  display: block;
}

.typewriter-container {
  position: absolute; /* Position over the image */
  top: 35%; /* Adjust as needed for vertical alignment */
  left: 17%; /* Adjust as needed for horizontal alignment */
  font-size: 12px;
  line-height: 1.6;
  color: white; /* Text color */
  max-width: 80%;
}

.Typewriter {
  white-space: pre; /* To retain spaces and line breaks */
  color: #fff373;
  position: relative;
}

.text-blue-500 {
  color: #9dcff0;
}

.text-green-500 {
  color: #f36de1;
}

.text-red-500 {
  color: #00ff66;
}

.pl-5 {
  padding-left: 40px; /* Indentation */
}

.Typewriter__cursor {
  border-left: 2px solid #fff;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.my-self{
  position: relative;
}


/* ecxctraa*/
