/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  
 
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Sidebar Styling */
.sidebar {
  position: fixed;
  width: 270px; /* Fixed width for the sidebar */
  height: 100vh;
    /* Pink glow effect */
  background-color: #462e46; /* Dark sidebar background */
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  transition: transform 0.3s ease; /* Smooth transition for sliding */
  transform: translateX(0); /* Sidebar is visible by default on large screens */
  z-index: 1000; /* Ensure it stays on top */
}

.sidebar.hidden {
  transform: translateX(-100%); /* Move sidebar out of view */
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: #000;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #53f3ce; /* Pink scrollbar thumb */
  border-radius: 10px;
}
  
.profile-pic {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid #53f3ce; /* Pink border for profile picture */
  margin-bottom: 12px;
}

/* Blinking cursor */
.typing-text {
  font-family: 'Arial', sans-serif;
  font-size: 30px;
  color: #fff;
  display: inline-block;
  position: relative;
}

/* Styling the blinking cursor */
.cursor {
  display: inline-block;
  width: 10px;  /* Cursor width */
  animation: blink 0.8s step-end infinite;
  margin-left: 5px;  /* Slight gap between text and cursor */
}

/* Keyframe for blinking cursor */
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Main Content Styling */
.main-content {
  margin-left: 300px;
  padding: 100px 20px;
  height: 100vh;
  background-color: #000;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.main-content h1 {
  font-size: 40px;
  color: #53f3ce; /* Pink for "Sanjana" */
  text-shadow: 0 0 20px #d789d7; /* Pink glow effect */
  margin-bottom: 15px;
}

.main-content .typing-text {
  font-size: 70px;
  color: #ffcfe3; /* Lighter pink for subtitle */
  border-bottom: 2px solid #d789d7; /* Pink underline */
  padding-bottom: 5px;
}
 

.typing-text #typing {
  display: inline;
  white-space: nowrap;
  animation: typing 2s steps(20, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}

/* Fade-in Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.main-content p {
  animation: fadeIn 2s ease;
}

/* Full-screen when sidebar is hidden */
.main-content.full-screen {
  margin-left: 0; /* No margin when sidebar is hidden */
  width: 100%; /* Full width when sidebar is hidden */
}

/* Sidebar Links */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  padding-top: 5px;
}

.nav-links a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  padding-left: 80px;
}

.nav-links a i {
  margin-right: 12px;
}

.nav-links a:hover {
  color: #53f3ce; /* Pink hover effect */
}

/* Footer Styling */
footer {
   /* Dark background color */
  margin-top: auto;
  margin-left: 10px;
  margin-right: 55px;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: #c4c4c4; /* Light grey for footer text */
}

footer p {
  margin: 5px 0;
}

footer strong {
  color: #ffffff; /* White color for the bold text */
}

footer a {
  color: #00aaff; /* Bright color for the link */
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%); /* Initially hidden on small screens */
  }

  .sidebar.visible {
    transform: translateX(0); /* Slide in when visible */
  }

  .main-content {
    margin-left: 0; /* Full width */
    width: 100%; /* Full width */
  }
}

@media (max-width: 480px) {
  .profile-pic {
    width: 100px;
    height: 100px;
  }

  .name {
    font-size: 22px; /* Reduced font size */
  }

  .nav-links a {
    font-size: 16px; /* Reduced font size */
  }

  .main-content h1 {
    font-size: 25px; /* Reduced font size */
  }

  .main-content .typing-text {
    font-size: 38px; /* Reduced font size */
  }
}

/* Sidebar toggle for mobile screens */
.sidebar-toggle {
  display: none; /* Initially hidden */
  position: fixed;
  top: 20px;
  right: 20px; /* Positioned at the top right corner */
  font-size: 24px;
  color: #53f3ce;
  z-index: 1001; /* On top of other elements */
  cursor: pointer;
}

@media (max-width: 768px) {
  .sidebar-toggle {
    display: block; /* Show toggle button on small screens */
  }
}
.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allows icons to wrap onto new lines */
  margin: 20px 0;
}

.social-icons a {
  color: white;
  font-size: 30px; /* Base size for larger screens */
  margin: 10px; /* Space between icons */
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #53f3ce; /* Slightly enlarge on hover */
}

@media (max-width: 600px) {
  .social-icons a {
    font-size: 24px; /* Smaller size for mobile devices */
  }
}
/* About Section Styling */

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1; /* Ensures the particles are behind content */
}

.separator {
  height: 5px; /* Adjust height as needed */
  background-color: pink; /* Base color of the line */
  border-radius: 5px; /* Rounded edges */
  margin: 20px 0; /* Space above and below the separator */
  box-shadow: 0 0 10px #d789d7,
    /* Glow effect */ 0 0 20px rgba(255, 105, 180, 0.6),
    /* Outer glow */ 0 0 30px rgba(255, 105, 180, 0.4);
}

/* About Section Styling */
/* About Section Styling */
/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* About Section Styles */
.about-section {
  background-color: #000103; /* Dark background */
  color: #fff; /* White text */
  padding: 20px 10px;
  text-align: left;
  margin: 0 10; /* Center the section */
  margin-left: 350px; /* Shift slightly to the right */
  position: relative;
  max-width: 1200px; 
  /* Set a max-width for better alignment */
}

/* Other styles remain unchanged */

.about-section h2 {
  font-size: 50px;
  color: #53f3ce;  /* Light pink heading */
  margin-bottom: 10px;
  padding-top: 20px;
  
}

.about-introduction {
  font-size: 25px;
  color: #fff;
  margin-bottom: 40px;
  max-width: 100%;
  /* Ensure it doesn't exceed the section's width */
}

.about-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between; /* Spread items evenly */
  gap: 30px; /* Reduce gap for better alignment */
}

.about-image {
  width: 400px;
  height: 400px;
  border-radius: 10px;
  border: 2px solid #53f3ce;
box-shadow: 0 0 20px #d789d7;


}

.about-details {
  max-width: 1200px; /* Limit width for better readability */
  color: #a0a9c1;
  
}

.about-details h3 {
  color: #53f3ce;
  font-size: 46px;
  margin-bottom: 10px;
}

.about-details p {
  margin-bottom: 22px;
  font-style: italic;
}

.info-list {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.info-list ul {
  list-style-type: none;
  padding: 0;
}

.info-list li {
  font-size: 24px;
  margin-bottom: 10px;
  color: #d789d7;;
}

.download-btn {
  background-color: #f64668; /* Pink button */
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #ff6f91; /* Lighter pink on hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-section {
    margin: 0; /* Remove left margin for smaller screens */
    padding: 20px; /* Adjust padding */
  }

  .about-content {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
  }

  .info-list {
    flex-direction: column; /* Stack info list items */
    align-items: center; /* Center align items */
  }

  .resume-btn {
    width: 80%; /* Button takes up 80% of the width */
    max-width: 250px; /* Max width for larger screens */
  }
}

@media (max-width: 768px) {
  .about-section {
    overflow-x: hidden; /* Ensure no horizontal overflow */
    padding: 10px 20px;
    margin-left:10px; /* Minimal padding for compact layout */
    /* Adjust padding to 50px for smaller screens */
  }

  .about-content {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    width: 100%; /* Full width to prevent overflow */
    max-width: 100vw; /* Prevent overflow beyond viewport */
    box-sizing: border-box; /* Include padding in width calculation */
  }

  .about-image {
    width: 100%; /* Make the image responsive */
    max-width: 350px; /* Increase max-width to 350px */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 5px; /* Space between image and details */
  }

  .about-details {
    width: 100%; /* Ensure details take full width */
    text-align: left; /* Left align text */
    padding: 0 10px; /* Add padding for text */
    margin-top: 20px; /* Margin to separate from the image */
    margin-bottom: 50px;
  }

  .about-section h2 {
    font-size: 2em; /* Adjust heading size */
  }

  .about-details h3 {
    font-size: 30px;
    margin-top: 3px;
    margin-left: 10 px;
  }

  .resume-btn {
    width: 100%; /* Full width for the button */
    max-width: 200px; /* Limit button width */
    align-self: flex-start; /* Align the button to the left */
  }
}

@media (max-width: 480px) {
  .about-section {
    overflow-x: hidden;
    padding: 10px 15px; /* Minimal padding for compact layout */
  }

  .about-section h2,
  .about-section p {
    padding: 0 15px; /* Consistent padding for heading and paragraph */
    margin: 0; /* Remove any extra margin */
  }

  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px; /* Reduced gap between elements */
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0;
  }

  .about-introduction {
    text-align: justify;
    font-size: 16px; /* Smaller font size for readability */
    margin-top: 5px; /* Minimal space between image and intro */
    padding: 0 15px;
  }

  .about-image {
    width: 100%;
    max-width: 280px; /* Smaller max-width for compact screens */
    height: auto; /* Maintain aspect ratio */
    align-self: center;
    margin: 5px 0; /* Reduced space for closer alignment */
  }

  .about-details {
    width: 100%;
    text-align: justify;
    font-size: 14px; /* Smaller font size */
    padding: 0 15px; /* Reduced padding */
    margin: 0; /* Remove any extra margin */
  }

  .about-details h3 {
    font-size: 10px; /* Smaller heading for mobile */
    margin-bottom: 10px;
  }

  .about-details p {
    font-size: 20px; /* Reduced font size for mobile */
    padding-left: 0; /* Align to left without extra padding */
    margin: 0;
  }

  .info-list {
    padding-left: 20px; /* Consistent left padding */
    list-style-type: disc;
    margin: 0; /* Remove extra margin */
    gap: 0; /* No extra gap */
  }

  .info-list li {
    margin-bottom: 8px; /* Consistent spacing */
    padding-left: 0;
    font-size: 13px; /* Smaller font size */
    text-align: left;
    color: #d789d7;; /* Left-aligned for consistency */
  }

  .resume-btn {
    margin-top: 15px;
    width: 100%;
    max-width: 180px; /* Smaller button for mobile */
    align-self: flex-start;
    font-size: 0.9em; /* Adjusted font size */
  }
}

/* Button Styles */
.resume-btn {
  background-color: #f64668; /* Pink background */
  color: #fff; /* White text */
  border: 2px solid #f64668; /* Border matching the button color */
  padding: 12px 30px; /* Adjust padding for better size */
  font-size: 1.1em; /* Slightly larger font */
  font-weight: 600; /* Bold text */
  border-radius: 25px; /* Rounded corners for a smooth appearance */
  cursor: pointer; /* Pointer cursor on hover */
  display: inline-block; /* Ensure it doesn't stretch the full width */
  text-align: center; /* Center the text inside the button */
  transition: all 0.3s ease; /* Smooth transition for all hover effects */
  margin: 20px auto; /* Center the button horizontally with margin */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
  text-decoration: none; /* Remove underline */
}

.resume-btn:hover {
  background-color: #ff6f91; /* Lighter pink on hover */
  border-color: #ff6f91; /* Change border to match hover */
  transform: translateY(-2px); /* Slight lift effect on hover */
}

.resume-btn:focus {
  outline: none; /* Remove default focus outline */
  box-shadow: 0 0 10px rgba(255, 106, 163, 0.8); /* Soft glowing focus effect */
}

