/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    background-color: #0d1117;
    color: #c9d1d9;
    height: 100vh;
}

html {
    scroll-behavior: smooth;
  }

/* side bar  */

      .sidebar {
        width: 280px;
        background-color: #161b22;
        color: white;
        padding: 25px;
        box-shadow: 0 0 10px rgba(0,0,0,0.4);
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      
      /* Name */
      .sidebar .name {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 7px;
        text-align: center;
      }
      
      /* Profile Image */
      .sidebar .profile-img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
      
      }
      
      /* Description */
      .sidebar p {
        font-size: 15px;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.5;
      }
      
      /* Navigation Buttons */
      .sidebar .button {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
      }
      
      .sidebar .button a {
        text-decoration: none;
        color: white;
        padding: 10px;
        background-color: #222;
        margin: 5px 0;
        text-align: center;
        border-radius: 8px;
        transition: background 0.3s;
      }
      
      .sidebar .button a:hover {
        background-color: #ff6600;
      }
      
      /* Hire Me Button */
      .sidebar .hire-me {
        background-color: #3b7c2c;
        color: white;
        width: 80%;
        font-size: 18px;
        padding: 10px 20px;
        font-weight:  bold;
        border: none;
        border-radius: 8px;
        margin-bottom: 20px;
        cursor: pointer;
        transition: background 0.3s;
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: center;
        text-decoration: none;
      }

      .sidebar .hire-me a{
        text-decoration: none;
      }
      
      .sidebar .hire-me:hover {
        background-color:  #ff6600;
      }
      
      /* Social Icons */

      .sidebar .imageeee {
        display: flex;
        gap: 22px;
        font-size: 28px;
        justify-content: center;
        text-decoration: none;
      }
      
      .sidebar .imageeee i {
        color: white;
        transition: color 0.3s;
        cursor: pointer;
        text-decoration: none;
    
      }

      .sidebar .imageeee a {
        text-decoration: none;
      }
      
      .sidebar .imageeee i:hover {
        color: #ff6600;
      }
      

  /* Sidebar CSS (your original CSS here) */

/* Hamburger Icon */
.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* For small screens */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    height: 100%;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .sidebar.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }


  .sidebar .imageeee {
    display: flex;
    gap: 22px;
    font-size: 20px;
    justify-content: center;
    text-decoration: none;
  }
  
}



/* Main Section */
.main-box {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

/* About Section */
.about-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.detail h2 {
    font-size: 2rem;
    color: #ffffff;
}

.detail h4 {
    font-size: 1.2rem;
    color: #ffffffe2;
    margin-top: 5px;
    margin-bottom: 15px;
}


.bio {
    max-width: 600px;
    line-height: 1.6;
    color: #c9d1d9;
}

.profile-picture img {
    width: 400px;
    height: auto;
  
    background-color: #444c56; /* placeholder */
}


/* about me  */

.aboutme h2 {
    font-size: 2rem;
    color: #ffffff;
}

.aboutme-more h4 {
    font-weight: normal;
        font-size: 1.2rem;
        color: #ffffffe2;
        margin-top: 15px;
        margin-bottom: 15px;
}

.aboutme-more button {
    font-size: 25px;
    text-decoration: none;
    color: 	#ffffff;
    padding: 8px;
    background-color: 	#7e8546;
    border-radius: 5px;
    transition: background 0.2s ease;
    margin-bottom: 15px;
     
}

/* Responsive Settings */
@media (max-width: 768px) {
  .about-me {
      flex-direction: column;
      text-align: center;
  }

  .detail h2 {
      font-size: 1.8rem;
  }

  .profile-picture img {
      max-width: 300px;
  }
}

@media (max-width: 480px) {
  .detail h2 {
      font-size: 1.5rem;
  }

  .detail h4 {
      font-size: 1rem;
  }

  .bio {
      font-size: 14px;
  }

  .profile-picture img {
      max-width: 250px;
  }
}




/* Skills Section */
.skills h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.skills{
    padding-top: 100px;
}

.skills p {
    color: #8b949e;
    max-width: 600px;
    line-height: 1.5;
}

/* Skills bar */
.language {
    display: flex;
    flex-wrap: wrap;
}

.language div {
    padding: 10px;
    width: 286px;
}

.language h3 {
    font-size: 18px;
    margin: 10px 0;
}

.language p {
    font-size: 14px;
}

/* for project section */

/* Base Styles */
#project {
  background-color: #0f1117;
  color: white;
  /* padding: 50px 20px; */
  /* text-align: center; */
}

#project h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

#project p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 40px;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Project Card Styling */
.project-list > div {
  /* background-color: #1a1c22; */
  /* border-radius: 10px; */
  width: 100%;
  max-width: 350px;
  /* padding: 20px; */
  box-sizing: border-box;
  text-align: left;
  transition: transform 0.3s ease;
}

.project-list > div:hover {
  transform: translateY(-5px);
}

.project-list img {
  width: 100%;
  height: auto;
  /* border-radius: 10px; */
  /* margin-bottom: 15px; */
  /* object-fit: cover; */
}

.project-list h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #fff;
}

.project-list p {
  font-size: 14px;
  color: #ddd;
  line-height: 1.5;
}

/* Responsive Layouts */
@media (min-width: 768px) {
  .project-list {
    justify-content: space-between;
  }

  .project-list > div {
    flex: 1 1 calc(33.333% - 30px);
  }
}

@media (max-width: 767px) {
  .project-list > div {
    flex: 1 1 100%;
  }
}


/* for education  */
    .education {
        padding-top: 30px;
    }
.education h2{
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.education-list div{
    margin-top: 20px;
    padding: 10px;
    /* width: 33.3%; */
}

.education-list h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
    /* margin-bottom: 5px; */

}


/*  contact us */


/* Contact Section Container */
/* Base Styles */
.contact {
  background-color: #1a1a1a;
  color: white;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  border-radius: 10px;
  box-sizing: border-box;
  border: 1px solid black;
}

.logos {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
   /* border: 1px solid black; */
}

.logo {
  background-color: #181818;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: 0.3s ease;
   border: 1px solid black;
}

.logo i {
  font-size: 28px;
  color: #d4d3d2;
  margin-bottom: 10px;
  display: inline-block;
}

.logo h4 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.logo h5 {
  font-size: 16px;
  color: #ddd;
  word-wrap: break-word;
}

/* Contact form styles */
.contact-form {
  flex: 1;
  background-color: #111;
  border-radius: 10px;
  padding: 30px;
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background-color: #1c1f26;
  border: 1px solid #333;
  padding: 12px 15px;
  color: white;
  border-radius: 5px;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color: #ff6600;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e65c00;
}

/* Responsive for tablets and below */
@media (max-width: 900px) {
  .logos {
    grid-template-columns: 1fr 1fr;
  }

  .contact {
    flex-direction: column;
  }
}

/* Responsive for phones */
@media (max-width: 600px) {
  .logos {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
  }

  .contact-form button {
    font-size: 15px;
  }
}



  /* footer bar  */

  .new-footer {
    background-color: #111;
    color: #ddd;
    padding: 50px 20px 20px;
    font-family: 'Poppins', sans-serif;
    height: 400px;
    
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    margin-top: 66px;
  
  }
  
  .footer-brand h2 {
    color: #fff;
  }
  
  .footer-brand p {
    max-width: 300px;
    line-height: 1.6;
  }
  
  .footer-socials a {
    color: #ddd;
    margin-right: 15px;
    font-size: 18px;
    transition: color 0.3s ease;
  }
  
  .footer-socials a:hover {
    color: #fff;
  }
  
  .footer-links h3,
  .footer-contact h3 {
    margin-bottom: 15px;
    color: #fff;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 10px;
  }
  
  .footer-links ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
  }
  
  .footer-links ul li a:hover {
    color: #fff;
  }
  
  .footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 14px;
    color: #888;
  }
  #contact-me {
  background-color: #0d0f1300;
  padding: 30px 20px;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  max-width: 600px;
  margin: auto;
}

#contact-me p {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #ccc;
}

#contact-me i {
  margin-right: 10px;
  font-size: 1.2rem;
  color: #ffffff;
}

/* Responsive Text Sizes */
@media (max-width: 768px) {
  #contact-me {
    padding: 20px 15px;
  }

  #contact-me p {
    font-size: 1rem;
  }

  #contact-me i {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #contact-me {
    text-align: center;
  }

  #contact-me p {
    justify-content: center;
    flex-wrap: wrap;
  }

  #contact-me i {
    margin-bottom: 5px;
  }
}


  