body {
  margin: 0;
  padding: 0;
  background-color: rgba(230, 218, 206);
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;

  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
  min-height: 10vh;
}

.logo {
  display: flex;
  align-items: center;
}

.logo span {
  width: 17px;
  height: 17px;
  background-color: #0050ff;
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
}

.logo h1 {
  font-family: "Poppins", serif;
  font-size: 25px;
  cursor: pointer;
  font-weight: 700;
  font-style: normal;
  /* letter-spacing: 1px; */
  text-decoration: none;
  color: #000;
}

.logo p {
  font-size: 13px;
  font-family: "Avenir Light";
  font-weight: normal;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 0;
}

.nav-links a {
  font-family: "Avenir Light";
  font-optical-sizing: auto;
  font-weight: 400;
  text-decoration: none;
  padding: 10px 20px 10px 10px;
  color: #000;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links a.active {
  color: #007bff;
}

.nav-links a:hover {
  color: #007bff;
}

/* .menu-icon {
  display: none;
  cursor: pointer;
} */

@media (max-width: 768px) {
  .nav-links {
    /* display: none;
    flex-direction: column;
    position: absolute; 
    top: 60px;
    right: 20px;
    background: white;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    display: none; /* Hide the nav links initially */
    position: fixed; /* Fix the menu to the top */
    top: 12%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f4ece6;
   border-radius: 5%;
    flex-direction: column;
    justify-content: center; /* Center the menu items */
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
   
  }

  .nav-links a {
  font-family: "Poppins", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  text-decoration: none;
  padding: 20px 20px 10px 10px;
  color: #000;
  font-size: 25px;
  transition: color 0.3s ease;
}

  .nav-links.show {
    display: flex;
  }

 .menu-icon {
  display: block;
  font-size: 41px;
  color: #007bff;
  cursor: pointer;
  z-index: 10000;
  position: relative;
  width: 40px;
  height: 25px;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  background-color: #007bff;
  transition: transform 0.3s ease;
  left: 0;
}

.menu-icon::before {
  top: 0;
}

.menu-icon::after {
  bottom: 0;
}

/* When menu icon is clicked and open, apply transformation */
.menu-icon.open::before {
  transform: rotate(45deg);
  top: 12px; /* Adjust the position to form an X */
}

.menu-icon.open::after {
  transform: rotate(-45deg);
  bottom: 12px; /* Adjust the position to form an X */
}

  .logo p {
    font-size: 12px;
    font-family: "Avenir Light";
    font-weight: normal;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
  }
  .logo span {
    width: 20px;
    height: 16px;
    background-color: #0050ff;
    display: inline-block;
    margin-right: 5px;
    cursor: pointer;
  }

}


/********************************Intro-Section**********************************/

.intro {
  display: flex;
  justify-content: center;
  background: linear-gradient(to right, #e6dace 40%, white 40%);
}

.container {
  display: flex;
  width: 100%; /* Make the container take up full width */
  max-width: 60%; /* Use max-width instead of a fixed width */
  height: auto; /* Let the container grow based on content */
  margin: 109px auto; /* Adjust margins */
  background: white;
}

.profile-card {

  background: linear-gradient(to bottom, #f4ece6 90%, white 40%);
  padding: 20px;
  width: 390px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 540px;
  /* box-shadow: -11.31px 11.31px 25px 0px rgba(138, 131, 124, 0.23); */
  box-shadow: -11.31px 11.31px 17px 0px rgba(138, 131, 124, 0.23);

}

.profile-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-card h2 {
  margin-top: 10px;
  line-height: 5.2rem;
  font-size: 27px;
  font-family: "Poppins", serif;
  font-weight: 700;

}

.profile-card p {
  font-size: 16px;
  color: #000;
  font-family: "Avenir light";
  letter-spacing: 0.25rem;
  margin-top: 30px;
}

.profile-card .social-icons {
  margin-top: auto;
  padding-top: 20px;
}

.blue-line {
  width: 50px;
  height: 3px;
  background-color: #0055f0;
  margin: 5px auto;
  border-radius: 2px;
}



.social-icons a {
  margin: 0px 12px; /* Adjust spacing between icons */
  display: inline-block;
}

.social-icons img {
  width: 24px; /* Ensure proper scaling */
  height: 19px; 
  border-radius: inherit;
  object-fit: contain; /* Prevent stretching */
  cursor: pointer;
}

.intro-section {
  padding: 40px;
  width: 500px;
}

.intro-section h1 {
  font-size: 100px;
  text-align: left;
  margin: 0;

}

.intro-section p {
  font-size: 25px;
  color: #000;
  font-family: "Avenir light";
  font-weight: bold;
  margin-top: 15px;
  line-height: 1.08;
  margin-bottom: 20px;
}


.buttons {
  margin: 22px 0px 22px 0px;
}

.buttons a {
  text-decoration: none;
  padding: 8px 24px;
  border-radius: 18px;
  font-family: "Avenir Heavy";
  font-size: 14px;
  margin-right: 10px;
  display: inline-block;
}

.buttons a:hover {
  background-color: white;
  color: black;
  border: 2px solid #0055ff;
  transition: 0.3s ease-in-out;
}

.resume {
  background: #0055ff;
  color: white;
}

.projects {
  border: 1px solid black;
  color: black;
}



@media (max-width: 850px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .profile-card {
    width: 80%; /* Allow the card to have a little space around it */
    height: auto;
    padding: 20px;
  }

  .intro-section {
    width: 56%;
    padding: 20px;
  }
}

/*************************************************************************** Resume Section *************************************************************************/
.resume-section {
  background-color: #E6DACE;
  padding: 50px;
  text-align: center;
}

.resume-container {
  max-width: 800px;
  margin: auto;
}

.resume-header {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.resume-header h2 {
  font-size: 35px;
  font-weight: 650;
  font-style: normal;
  font-family: "Poppins", serif;
}

.resume-header span {
  width: 18px;
  height: 18px;
  background-color: #0050ff;
  display: inline-block;
}

.experience-header,
.education-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.experience-title,
.education-title {
  font-size: 25px;
  font-weight: 650;
  font-family: "Poppins", serif;
  text-align: left;
}

/* .download-cv {
  background-color: #0050ff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-family: "Avenir Heavy";
  border-radius: 25px;
  display: inline-block;
} */

.experience-container,
.education-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
  padding: 30px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: -11.31px 11.31px 25px 0px rgba(138, 131, 124, 0.23);
 
}

.experience-left,
.education-left {
  text-align: left;
  width: 40%;
}

.experience-left h3,
.education-left h3 {
  color: #0055ff;
  font-size: 17px;
  font-family: "Poppins", serif;
  font-weight: 400;
}

.experience-left p,
.education-left p {
  font-size: 14px;
  font-family: "Avenir Light";
  font-weight: normal;
}

.experience-right,
.education-right {
  text-align: left;
  width: 55%;
  max-height: 400px;
  overflow: auto;
  overflow-y: scroll;
  scrollbar-width: thin; /* Firefox support */
  scrollbar-color: #6c63ff #f1f1f1; /* Thumb and track colors for Firefox */
}

/* Webkit (Chrome, Safari) Custom Scrollbar */
.experience-right::-webkit-scrollbar,
.education-right::-webkit-scrollbar {
  width: 10px; /* Slightly wider for a smoother look */
  /* display: none; */
}

/* Ensure no default scrollbars appear */
.experience-right::-webkit-scrollbar-corner,
.education-right::-webkit-scrollbar-corner {
  background: transparent; /* Removes the corner scrollbar if any */
}

.experience-right::-webkit-scrollbar-track,
.education-right::-webkit-scrollbar-track {
  background: #f9f9f9; /* Light background for a clean look */
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.experience-right::-webkit-scrollbar-thumb,
.education-right::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #6c63ff, #ab47bc); /* Gradient thumb */
  border-radius: 10px;
  transition: background 0.3s ease-in-out;
}

.experience-right::-webkit-scrollbar-thumb:hover,
.education-right::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #5548ff, #8e24aa); /* Darker on hover */
}


.experience-right p,
.education-right p {
  font-size: 17px;
  font-family: "Avenir Light";
  font-weight: normal;
  line-height: 1.8rem;
}

.experience-right li{
  font-size: 17px;
  font-family: "Avenir Light";
  font-weight: normal;
  line-height: 1.7rem;
}

/*****************************************************************Skills Section****************************************************************************/

.skills-section {
  display: flex;
  max-width: 800px;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
  padding: 30px;
  margin-top: 20px;
  box-shadow: -11.31px 11.31px 25px 0px rgba(138, 131, 124, 0.23);
 
  text-align: left;
}

.skills-title {
  font-size: 25px;
  font-weight: 650;
  font-family: "Poppins", serif;
}

.skills-list,
.languages-list,
.certifications-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.skills-item,
.languages-item,
.certifications-item {
  display: flex;
  font-family: "Avenir Light";
  align-items: center;
  font-size: 16px;
  gap: 10px;
}

.skills-item span,
.languages-item span,
.certifications-item span {
  width: 12px;
  height: 12px;
  background-color: #0050ff;
  display: inline-block;
}

@media (max-width: 900px) {
  .skills-list,
  .languages-list,
  .certifications-list {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens */
  }
}

@media (max-width: 600px) {
  .skills-list,
  .languages-list,
  .certifications-list {
    grid-template-columns: 1fr; /* 1 column for small screens */
  }
}

/********************************************************** Projects-Section************************************************************* */

.wrapper {
  width: 80%;
  margin: 50px auto;
}

h1 {
  font-size: 35px;
  font-family: "Poppins", serif;
  font-weight: 700;
  text-align: center;
}

h1 span {
  color: #0055ff;
}

.intro-text {
  font-family: "Avenir Light";
  font-size: 17px;
  max-width: 60%;
  display: flex;
  line-height: 2.1rem;
  text-align: justify;
  hyphens: auto;
  margin: 10px auto;
}

.project-box {
  display: flex;
  background: white;
  padding: 20px;
  width: 50%;
  border-radius: 8px;
  box-shadow: -11.31px 11.31px 25px 0px rgba(0, 0, 0, .6);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  height: auto; /* Set your desired height */
  overflow-y: auto; /* Enables vertical scroll */
  scrollbar-width: thin; /* Firefox support */
  scrollbar-color: #6c63ff #f1f1f1; /* Thumb and track colors for Firefox */
}

.project-box::-webkit-scrollbar {
  width: 6px;
}

.project-box::-webkit-scrollbar-track {
  background: #f9f9f9; /* Light background for a clean look */
  border-radius: 8px;
}

.project-box::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #6c63ff, #ab47bc); 
  border-radius: 8px;
}

.project-box::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #5548ff, #8e24aa);
}


.highlight-bar {
  width: 6px;
  height: 8rem;
  background-color: rgba(0, 80, 255, 1);
  position: absolute;
  left: 0;
}


.details-section {
  flex: 1;
  padding: 20px;
  text-align: left;
  position: relative;

}

  .details-section h2 {
  color: #0055ff;
  font-size: 20px;
  font-family: "Poppins", serif;
  margin: 5px;
}

.details-section h3 {
  font-size: 16px;
  font-family: "Avenir Heavy";
  margin: 0;
}

.details-section li{
  line-height: 1.6rem;
  font-family: "Avenir Light";
}

.details-section p {
  line-height: 1.8rem;
  font-family: "Avenir Light";
  margin: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
.wrapper {
  width: 100%;
  margin: 50px auto;
}

h1 {
  font-size: 35px;
  font-family: "Poppins", serif;
  font-weight: 700;
  text-align: center;
}

h1 span {
  color: #0055ff;
}

.intro-text {
  font-family: "Avenir Light";
  font-size: 17px;
  max-width: 60%;
  display: flex;
  line-height: 2.1rem;
  margin: 10px auto;
  hyphens: auto;
  text-align: justify;
}

.project-box {
  display: flex;
  background: white;
  padding: 20px;
  width: 80%;
  border-radius: 8px;
  box-shadow: -11.31px 11.31px 25px 0px rgba(0, 0, 0, .6);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  height: 700px; /* Set your desired height */
  overflow-y: auto; /* Enables vertical scroll */
  scrollbar-width: thin; /* Firefox support */
  scrollbar-color: #6c63ff #f1f1f1; /* Thumb and track colors for Firefox */
}

.project-box::-webkit-scrollbar {
  width: 6px;
}

.project-box::-webkit-scrollbar-track {
  background: #f9f9f9; /* Light background for a clean look */
  border-radius: 8px;
}

.project-box::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #6c63ff, #ab47bc); 
  border-radius: 8px;
}

.project-box::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #5548ff, #8e24aa);
}


.highlight-bar{
  width: 6px;
  height: 8rem;
  background-color: rgba(0, 80, 255, 1);
  position: absolute;
  left: 0;
}

.details-section {
  flex: 1;
  padding: 20px;
  text-align: left;
  position: relative;

}

  .details-section h2 {
  color: #0055ff;
  font-size: 20px;
  font-family: "Poppins", serif;
  margin: 5px;
}

.details-section h3 {
  font-size: 16px;
  font-family: "Avenir Heavy";
  margin: 0;
}

.details-section li{
  line-height: 1.6rem;
  font-family: "Avenir Light";
}

.details-section p {
  line-height: 1.8rem;
  font-family: "Avenir Light";
  margin: 3px;
}

}

@media(max-width: 1024px){

  .wrapper {
  width: 100%;
  margin: 50px auto;
}

h1 {
  font-size: 35px;
  font-family: "Poppins", serif;
  font-weight: 700;
  text-align: center;
}

h1 span {
  color: #0055ff;
}

.intro-text {
  font-family: "Avenir Light";
  font-size: 17px;
  max-width: 60%;
  display: flex;
  line-height: 2.1rem;
  text-align: justify;
  hyphens: auto;
  margin: 10px auto;
}

.project-box {
  display: flex;
  background: white;
  padding: 20px;
  width: 80%;
  border-radius: 8px;
  box-shadow: -11.31px 11.31px 25px 0px rgba(0, 0, 0, .6);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  height: 700px; /* Set your desired height */
  overflow-y: auto; /* Enables vertical scroll */
  scrollbar-width: thin; /* Firefox support */
  scrollbar-color: #6c63ff #f1f1f1; /* Thumb and track colors for Firefox */
}

.project-box::-webkit-scrollbar {
  width: 6px;
}

.project-box::-webkit-scrollbar-track {
  background: #f9f9f9; /* Light background for a clean look */
  border-radius: 8px;
}

.project-box::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #6c63ff, #ab47bc); 
  border-radius: 8px;
}

.project-box::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #5548ff, #8e24aa);
}


.highlight-bar{
  width: 6px;
  height: 8rem;
  background-color: rgba(0, 80, 255, 1);
  position: absolute;
  left: 0;
}

.details-section {
  flex: 1;
  padding: 20px;
  text-align: left;
  position: relative;

}

  .details-section h2 {
  color: #0055ff;
  font-size: 20px;
  font-family: "Poppins", serif;
  margin: 5px;
}

.details-section h3 {
  font-size: 16px;
  font-family: "Avenir Heavy";
  margin: 0;
}

.details-section li{
  line-height: 1.6rem;
  font-family: "Avenir Light";
}

.details-section p {
  line-height: 1.8rem;
  font-family: "Avenir Light";
  margin: 3px;
}
}
/* **********************************************************Contact-Section*************************************************************** */
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: -11.31px 11.31px 25px 0px rgba(138, 131, 124, 0.23);
  max-width: 600px;
  margin: 50px auto;
  text-align: left;
  position: relative;
}

.contact-head h1 {
  text-align: center;
  position: relative;
  padding-left: 30px;
}

.contact-head h1::before {
  content: "";
  position: absolute;
  left: 44.25%;
  top: 54%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  background-color: #0055ff;
}


.contact-form input,
.contact-form textarea {
  width: 84%;
  padding: 40px;
  display: flex;
  margin: 10px 10px 10px 10px;
  border: none;
  border-bottom: 2px solid #000;
  outline: none;
  resize: none;
  font-size: 14px;
}


.contact-form .row {
  display: flex;
  justify-content: space-between;
}

.contact-form .row input {
  width: 48%;
}

.contact-form button {
  background-color: #0055ff;
  color: white;
  padding: 10px 32px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  font-size: 18px;
  display: block;
  font-family: "Avenir Light";
  margin: 20px auto 0;
  transition: background-color 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background-color: white;
  color: #000;
  border: 2px solid #0055ff;
  transform: scale(1.05); 
}


@media (max-width: 1024px) {
  .contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: -11.31px 11.31px 25px 0px rgba(138, 131, 124, 0.23);
    max-width: 600px;
    margin: 50px auto;
    text-align: left;
    position: relative;
  }
  
  .contact-head h1 {
    text-align: center;
    position: relative;
    padding-left: 30px;
  }
  
  .contact-head h1::before {
    content: "";
    position: absolute;
    left: 39.25%;
    top: 54%;
    transform: translateY(-50%);
    width: 19px;
    height: 19px;
    background-color: #0055ff;
  }
  
  
  .contact-form input,
  .contact-form textarea {
    width: 84%;
    padding: 40px;
    display: flex;
    margin: 10px 10px 10px 10px;
    border: none;
    border-bottom: 2px solid #000;
    outline: none;
    resize: none;
    font-size: 14px;
  }
  
  
  .contact-form .row {
    display: flex;
    justify-content: space-between;
  }
  
  .contact-form .row input {
    width: 48%;
  }
  
  .contact-form button {
    background-color: #0055ff;
    color: white;
    padding: 10px 32px;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    font-size: 18px;
    display: block;
    font-family: "Avenir Light";
    margin: 20px auto 0;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .contact-form button:hover {
    background-color: white;
    color: #000;
    border: 2px solid #0055ff;
    transform: scale(1.05); 
  }

}



@media (max-width: 768px) {
  .contact-form {
    width: 84%;
    padding: 20px;
    max-width: 90%;
  }
  .contact-form .row {
    flex-direction: column;
  }
  .contact-form .row input {
    width: 84%;
  }
  .contact-form input,
  .contact-form textarea {
    width: 84%;
    padding: 20px;
    font-size: 12px;
  }
  .contact-form button {
    font-size: 16px;
    padding: 8px 24px;
  }
  .contact-form h1 {
    text-align: center;
    display: block;
    padding-left: 0;
  }


  .contact-head h1::before {
    content: "";
    position: absolute;
    left: 34.25%;
    top: 54%;
    transform: translateY(-50%);
    width: 19px;
    height: 19px;
    background-color: #0055ff;
  }

}

@media (max-width: 480px) {
  .contact-form {
    padding: 15px;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 15px;
    font-size: 12px;
  }
  .contact-form button {
    font-size: 14px;
    padding: 6px 20px;
  }

  .contact-head h1::before {
    content: "";
    position: absolute;
    left: 25.25%;
    top: 54%;
    transform: translateY(-50%);
    width: 19px;
    height: 19px;
    background-color: #0055ff;
  }


}


/**********************************************************Footer****************************************************************** */
.footer {
  display: flex;
  background-color: #fff;
  justify-content: space-between;
  padding: 30px;
  margin-top: auto; /* This ensures the footer is pushed to the bottom */
}

.footer-left {
  font-size: 14px;
  font-family: "Avenir Light";
}

.footer-right {
  display: flex;
  gap: 7rem;
}

.footer-section h4 {
  margin: 0 0 5px 0;
  font-family: "Avenir Light";
  font-size: 14px;
  font-weight: bold;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  font-family: "Avenir Light";
  color: black;
  text-decoration: none;
}

.footer-social a {
  margin-right: 10px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .footer-right {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .footer-social a {
    display: inline-block;
    margin: 5px;
  }
}
