*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    text-align: center;
}
.content-wrapper {
    display: flex; /* Align content side by side */
    align-items: center; /* Vertically center the content */
    justify-content: space-between; /* Add space between text and image */
    width: 100%; /* Make the container full width */
    padding: 0 20px; /* Add padding for spacing */
}
.text-content {
    flex: 1; /* Allow the text content to take remaining space */
    text-align: left; /* Align the text to the left */
}
#home {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100vh;
    padding-left: 20px;
}
#profile-image {
    width: 250px; 
    height: 250px; 
    border-radius: 100%;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.3);
    object-fit: cover;
    margin-right: 15px;
    object-fit: cover;
    object-position: center top;
}
#home p {
    font-size: 36px; /* Font size for the welcome text */
    font-weight: normal;
    margin-bottom: 20px; /* Add space below the welcome text */
}
#home h1 {
    font-family: 'Times of New Roman', sans-serif;
    font-size: 48px; /* Adjust font size for the description */
    line-height: 1; /* Ensure proper spacing between lines */
    max-width: 800px; /* Limit width for better readability */
    text-align: left; /* Justify text for a cleaner look */
    margin: 0; /* Center the text block */
    font-weight: normal;
}
#home h2 {
    margin: 0; /* Removes any space between lines */
    font-size: 100px; /* Matches the "Aurosampad Mohanty" size */
    font-weight: normal;
    text-align: left; /* Aligns to the left */
}
#home h3 {
    margin-top: 28px; 
    font-size: 48px; /* Matches the "Aurosampad Mohanty" size */
    font-weight: normal;
    text-align: left; /* Aligns to the left */
}
nav {
  position: fixed; /* Fix navbar to the top */
  top: 0;
  left: 0;
  width: 100%; /* Stretch navbar across the width */
  background-color: #000; /* Navbar background color */
  z-index: 1000; /* Ensure navbar stays on top */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center the entire navbar content */
  padding: 10px 0; /* Adjust padding for overall appearance */
}
nav ul {
  display: flex; /* Align list items horizontally */
  justify-content: center; /* Center the items within the navbar */
  padding: 0;
  margin: 0;
  list-style: none; /* Remove default list styling */
}

nav ul li {
  margin: 0 15px; /* Space between tabs */
}
nav ul li a {
  text-decoration: none;
  color: white; /* Example color */
  font-weight: normal;
  font-size: 18px; /* Adjust size as needed */
  font-family: 'Times of New Roman', sans-serif;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: white; /* Change on hover */
}

/* To prevent content from being hidden behind the navbar */
.content {
    margin-top: 80px; /* Add spacing below the fixed navbar */
}
/* -----------------background-------------- */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Ensure particles are behind the content */
}
/* -----------------about------------------- */
#about{
    padding: 40px 0;
    color: #f4efef;
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width:100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color:#f7f7f7
}
.resume-button {
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  background-color: #303235; /* Blue background */
  color: white; /* White text */
  font-weight: bold;
  font-size: 16px;
  border-radius: 25px; /* Makes it cylindrical */
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.resume-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
* Timeline Section */
  #experience {
    padding: 60px 0;
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text */
    text-align: center;
    font-family: 'Times of New Roman', sans-serif;
  }
  
  #experience h2 {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #ffffff;
  }
  
  /* Timeline */
  .timeline {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    width: 80%;
    display: flex;
    flex-direction: column;
  }
  .timeline-item:first-child::before {
    display: none; /* Hides the blue line for the first item */
  }
  
  .timeline::before {
    content: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 3px;
    background-color: #007bff; /* Blue line color */
    z-index: 1;
  }
  
  /* Timeline Item */
  .timeline-item {
    position: relative;
    justify-content: flex-start;
    margin-bottom: 20px;
    display: flex;
  }
  .timeline-item:nth-child(odd) .timeline-content {
    justify-content: flex-start;
  }
  
  .timeline-content{
    width: 100%; /* Reduced from 80% */
    background: #222;
    border-radius: 10px;
    padding: 20px;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin-left: 0;
    border-left: none; 
    min-height: 200px; /* Default minimum height for all boxes */ 
  }
  .timeline-item:first-child .timeline-content {
    min-height: 300px; /* Set a custom minimum height for the first box */
    padding: 30px; /* Adjust padding to maintain balance */
    font-size: 18px; /* Optional: Slightly larger font size for the first box */
  }

  .timeline-item.left .timeline-content {
    margin-right: auto;
    margin-left: -30px; /* Adjust this value to control leftward positioning */
    text-align: right;
    transform: translateX(-10px); /* Optional for fine-tuning */
  }

  .timeline-item.right .timeline-content {
    margin-left: auto;
    text-align: left;
  }
  
  .timeline-content .timeline-date {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 15px;
  }
  .timeline-item.center .timeline-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .timeline-content ul {
    list-style-type: disc; /* Explicitly enables bullet points */
    padding-left: 20px; /* Adds left padding for bullet alignment */
    margin: 15px 0;
    text-align: justify; /* Added text justification */
    width: 100%;
  } 
  .timeline-content ul li {
  font-size: 16px;
  line-height: 1.8; /* Consistent line spacing */
  margin-bottom: 12px; /* Adds space between points */
  padding-right: 20px; /* Added right padding */
  text-align: justify; /* Added text justification */
  }
  @media (max-width: 768px) {
    .timeline-content {
        height: auto; /* Allow auto height on smaller screens */
        padding: 15px;
    }
  }
  #projects {
    padding: 50px 20px;
    background-color: #070707;
  }

  .container h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #333;
  }

  .project-box {
    flex: 1;
    min-height: 250px;
    margin: 10px;
    padding: 20px;
    background-color: #333;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .project-content {
    width: 100%; /* Reduced from 80% */
    background: #222;
    border-radius: 10px;
    padding: 20px;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin-left: 0;
    border-left: none; 
  }

  .project-image {
    width: 30%;
    text-align: center;
  }

  .project-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .project-content h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #fbf9f9;
  }

  .project-content p {
    font-size: 1em;
    color: #fbf2f2;
    line-height: 1.6;
  }

  .github-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #333;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
  }

  .github-link:hover {
    background: #555;
  }
  /* Skills Section */
  #skills {
    padding: 60px 30px;
    background-color: #111111;
    color: #ffffff;
  }

  .skills-category {
    margin-bottom: 40px;
  }

  .skills-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

.skill {
  display: inline-block;
  margin: 10px 20px;
  text-align: center;  /* Center the content */
  width: auto;
  vertical-align: top; /* Align items to top */
}

.skill-icon {
    width: 50px;
    height: 50px;
    display: block;  /* Make image block level */
    margin: 0 auto 10px;  /* Center the image and add bottom margin */
}

.skill span {
    color: #ffffff;
    font-size: 18px;
    display: block;  /* Make text block level */
    text-align: center;  /* Center the text */
}
.skills-content::-webkit-scrollbar {
  height: 6px;
}

.skills-content::-webkit-scrollbar-thumb {
  background-color: #333;
  border-radius: 3px;
}
/*Contact Section*/
  .contact-section {
    padding: 40px;
    background-color: #121212; /* Change as per design */
    color: white;
    max-width: 1200px;
    margin: 0 auto;
  }
  .contact-section h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 80rem;
    color: #ffffff;
    line-height: 1.2;
  }
  .subsections {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Ensures responsiveness */
  }

  .get-in-touch, .lets-connect {
    flex: 1;
    min-width: 300px; /* Adjust to prevent overlapping */
    margin: 0 10px;
  }
  .get-in-touch h2, .lets-connect h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #f0f0f0;
  }

  .details {
    line-height: 1.8;
  }
  
  .detail-item {
    margin-bottom: 10px;
  }
  .social-media {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers both subheading and icons */
    justify-content: flex-start; /* Adjust alignment relative to the parent container */
    gap: 20px; /* Adds spacing between the subheading and the icons */
  }

  .social-media h2 {
    font-size: 1.8rem; /* Adjust the font size for the subheading */
    margin: 0; /* Remove extra margin to tightly align with icons */
    color: #ffcc00; /* Ensure the subheading stands out */
  }

  .social-icons {
    display: flex;
    gap: 40px;
    justify-content: center;
  }

  .social-icons a {
    text-align: center; /* Centers the text below each icon */
    text-decoration: none; /* Removes underline from links */
    color: white; /* Sets the text color */
  }


  .icon {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto;
  }
  footer {
    margin-top: auto; /* Push the footer to the bottom */
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    font-size: 14px;
  }
  #back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px; /* Adjust padding for a cylindrical shape */
    background-color: #070707; 
    color: rgb(1, 1, 1);
    border: none;
    border-radius: 20px; /* Makes it cylindrical */
    font-size: 16px; /* Text size */
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Add a shadow for better visibility */
    z-index: 1000;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    opacity: 0; 
    visibility: hidden;
}
#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Add hover effect */
#back-to-top:hover {
    background-color: #010202; /* Darker shade on hover */
    transform: scale(1.1); /* Slightly larger on hover */
}

  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .timeline::before {
      left: 30px;
    }
  
    .timeline-item {
      justify-content: flex-start;
    }
    .timeline-content {
      width: calc(100% - 60px);
      margin-left: 45px;
    }
  
    .timeline-dot {
      left: 30px;
    }
  }
  