@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%;
  height: auto;
}
body{
  font-family: 'Lexend', sans-serif;
  font-size:16px;
  line-height:24px; 
  background-color:#202020;
}
.container{
  width: 100%;
  max-width: 1170px;
  margin:auto;
  padding: 0 15px;
}

/*---------------------------Header---------------------------*/
.header-area{
  padding:25px 0;
  transition: padding .3s;
}
.header-area.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: #202020;
  padding: 5px;
}
.header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
} 
.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: 180px; 
  height:auto; 
  margin-right: 10px; 
}
.header ul li:first-child {
  margin-right: auto; 
}  
.header ul{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.header ul li{
  margin: 0 15px;
}
.header ul li a{
  text-transform: capitalize;
  display: block;
}
.header ul li a.active,
.header ul li a:hover{
  color: #fed700;
} 
.header .menu_icon{
  color:#fff;
  font-size: 18px;
  cursor: pointer;
  display: none;
}

/*---------------------------HomePage--------------------------*/
.FirstElement{
   display:flex;
   justify-content: space-around;
   align-items: center;
   padding-top: 5rem; 
   flex-wrap: wrap;
   gap: 2rem;
} 
.FirstElement.adjusted-padding {
  padding-top: 40px; 
}
.FirstElement .profile-photo{
  width: 300px;
  height:  300px;
  border-radius: 50%;
  overflow: hidden;
  border: 15px solid #444444;
  box-shadow: 5px 7px 25px rgba(0, 0, 0, 0.5);
}
profile-photo .img{
  height: 100%;
  width: 100%;
  transition: 0.5s;
}
.FirstElement .profile-photo img:hover{
  transform: scale(1.2);
}
.profile-text{
  max-width: 750px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 20px;
}
.profile-text h5{
  color: #e5e5e5;
  font-size: 14px;
}
.profile-text h1{
  color: #fed700;
  font-size: 3rem; 
}
.profile-text p{
  color:#e5e5e5;
}
.profile-text .social i{
  color : #e5e5e5;
  font-size: 18px;
  margin-right: 10px;
  transition: 0.5s;
}
.profile-text .social i:hover{
  color:#fed700;
  transform: rotate(360deg);
}

/*---------------------------About Section---------------------------*/
.about-area{
  padding-top: 130px;
  background-color: #202020;
}
.about{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom:50px;
  flex-wrap: wrap;
}
.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%;
  margin-top: 30px;
}

.about-skills h4 {
  color: #fed700;
  font-size: 40px;
  line-height: 70px;
  text-transform: capitalize;
}

.skills-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.skills-list li strong {
  color: #fed700;
  font-weight: 600;
}



/*---------------------------Button---------------------------*/
.btn-group{
  margin: 45px 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;
}

/*---------------------------Education & Internship---------------------------*/
.education-content {
  text-align: center;
  color: #fff; /* ✅ Set default white text */

}

.education-content .title {
  color: #fed700;
  font-size: 32px;
  margin-bottom: 30px;
}

.education-content .row {
  display: flex;
  justify-content: center; /* ✅ Center the row */
  flex-wrap: wrap;
  margin-bottom: 100px;
}

.education-content .row.timeline-box {
  width: 100%;
  display: flex;
  justify-content: center; /* ✅ Center timeline box */
}

.education-content .row .timeline {
  padding: 30px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  width: 100%;
  max-width: 700px; /* ✅ Limit width and center */
  position: relative;
  text-align: left; /* Keep text left-aligned inside */
}

.education-content .row .timeline-item {
  position: relative;
  padding-left: 37px;
  padding-bottom: 50px;
}

.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 .timeline-text {
  line-height: 25px;
  font-size: 16px;
  text-align: justify;
}


/*---------------------------Projects---------------------------*/
.project-content{
  padding: 90px 0;
}
.project-title{
  margin-bottom: 60px;
  text-align: center;
}
.project-title h4{
  text-transform: uppercase;
  font-size: 40px;
  line-height: 40px;
  color: #fed700;
  margin-bottom: 20px;
}
.project-title p{
  color: #e5e5e5;
}
.projects {
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;
  gap: 30px; 
}
.project {
  color: #e5e5e5;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  flex: 1 1 300px; 
  max-width: 30%; 
  box-sizing: border-box;
  transition: 0.3s;
}
.project i{
  background-color: #fed700;
  width: 60px;
  height: 60px;
  color: #333;
  font-size: 26px;
  line-height: 60px;
  border-radius: 50%;
}
.project h4{
  font-size: 26px;
  text-transform: capitalize;
  margin: 20px 0;
}
.project p{
  text-align: justify;
}
.project:hover{
  border-color: #fed700;
}
.github-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background-color: #fed700;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.github-btn:hover {
  background-color: #e0c200;
  color: #000;
}

/*---------------------------Contact Me---------------------------*/
.contact-content{
  padding: 100px 0;
  color: #fff;
  text-align: center;
}
.contact-content .contact-title h4{
  font-size: 40px;
  text-transform: capitalize;
  color: #fed700;
  padding-bottom: 10px;
}
.contact-content .contact-title p{
  padding-bottom: 20px;
}
.contact{
  max-width: 700px;
  margin: auto;
}
.contact input,.contact textarea{
  width: 100%;
  padding: 15px;
  border: 0;
  margin-bottom: 10px;
}
.contact .submit{
  width: auto;
  background-color: #fed700;
  padding: 10px 40px;
  font-weight:bold ;
  font-size: 18px;
}
.contact .submit:hover{
  transform: scale(1.1);
  cursor: pointer;
}
#msg{
  color: #fff;
  font-size: 20px;
  margin-top: -8px;
  display: block;
}

/*---------------------------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 -------------------*/
@media (max-width: 991px) {
  .header ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  .header .menu_icon {
    display: block;
  }
  .header ul {
    display: none;
  }
  .header ul.active {
    display: flex;
  }
  .FirstElement,
  .about,
  .education-content .row {
    flex-direction: column;
    text-align: center;
  }
  .about-content,
  .about-skills {
  padding: 0 15px;
}

  .project {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .profile-text {
    align-items: center;
  }
  .btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .project-content,
  .contact-content {
    padding: 60px 15px;
  }
}
@media (max-width: 576px) {
  .profile-text h1 {
    font-size: 2.2rem;
  }
  .project-title h4,
  .contact-content .contact-title h4,
  .about-content h4 {
    font-size: 28px;
  }
  .about-content,
  .about-skills {
    text-align: left;
  }
  .container {
    padding: 0 10px;
  }
}

/* 🔹 Hamburger icon (hidden on desktop) */
#menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  z-index: 1001;
  position: relative;
}

/* 🔹 Desktop: Show nav normally */
#nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

@media screen and (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    background-color: #111;
    padding: 20px;
    border-radius: 8px;
    z-index: 999;
    width: calc(100% - 40px);
  }

  #nav-menu.active {
    display: flex;
  }

  #nav-menu li {
    margin: 10px 0;
  }

  #nav-menu li a {
  color: white !important;
  font-size: 16px !important;
  text-decoration: none;
  display: block !important;
}


  #nav-menu li a:hover {
    color: #fed700 !important;
  }
}
