* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #EFEFEF;
  background: #333333;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background-color: #333333;
  color: #EFEFEF;
  padding: 1em 0;
  width: 100%;
  z-index: 10;
  position: sticky;
  top: 0;
}

.nav-links {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
}

.nav-links li {
  margin-right: 20px;
}

.nav-links a {
  color: #EFEFEF;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #4A90E2;
}

/* Particles Hero Section */
.particles-section {
  position: relative;
  height: 100vh;
  z-index: 0;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #333333;
  z-index: 1;
  pointer-events: auto;
}

.hero-content {
  z-index: 2;
  position: relative;
  text-align: center;
  color: #EFEFEF;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column;
}

.hero-content h2 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.hero-content p {
  font-size: 1.5em;
  margin-bottom: 1em;
}

.cta-button {
  padding: 0.75em 1.5em;
  
  background: linear-gradient(90deg, #4A90E2 0%, #32CD32 100%);

  color: #fff;

  
  border: none;

  text-decoration: none;
  z-index: 1000;
}


.clickbtn{

  display: flex;
  justify-content: center; 
  align-items: center;    
  flex-direction: row;    
  gap: 1em;       
}

@media (max-width: 600px) {
  .clickbtn {
    flex-direction: column;
  }
}

.cta-button:hover {
  background-color: #4A90E2;
  color: #333333;
  z-index: 1000;
}

/* Skills Section */
.skills-container {
  padding: 4em;
  background-color: #333333;
  color: #EFEFEF;
}

.skills-section {
  display: flex;
  flex-direction: column;
  gap: 3em;
}

.skills-category {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.skills-category h3 {
  margin-bottom: 1em;
}

.skills-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.skill-icon {
  background-color: #444;
  border: 2px solid #4A90E2;
  border-radius: 8px;
  padding: 0.5em 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #EFEFEF;
  text-align: center;
  transition: background-color 0.3s;
}

.skill-icon img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.skill-icon:hover {
  background-color: #4A90E2;
  color: #333333;
}

/* Experience Section */
.experience-container {
  padding: 4em;
  background-color: #333333;
  color: #EFEFEF;
}

.experience-section {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.experience-item {
  background-color: #444;
  border: 2px solid #4A90E2;
  border-radius: 8px;
  padding: 1.5em;
  margin-top: 14px;
  flex-wrap: wrap;
}

.experience-title {
  font-size: 18.5px;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.experience-duration {
  font-size: 1em;
  font-style: italic;
  color: #4A90E2;
  margin-bottom: 1em;
}

.experience-description {
  font-size: 1em;
  color: #EFEFEF;
}

/* Education Section */
.education-container {
  padding: 4em;
  background-color: #333333;
  color: #EFEFEF;
}

.education-section {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.education-item {
  background-color: #444;
  border: 2px solid #4A90E2;
  border-radius: 8px;
  padding: 1.5em;
  margin-top: 14px;
  flex-wrap: wrap;
}

.education-title {
  font-size: 18.5px;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.education-duration {
  font-size: 1em;
  font-style: italic;
  color: #4A90E2;
  margin-bottom: 1em;
}

.education-description {
  font-size: 1em;
  color: #EFEFEF;
}

/* Portfolio Section */
.portfolio {
  padding: 4em;
}

.portfolio ul {
  margin-left: 30px;
  padding-left: 10px;
  list-style-type: disc;
}

.portfolio ul li {
  margin-bottom: 1em;
  line-height: 1.6;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
}

.portfolio-item {
  background: #444;
  padding: 1em;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #4A90E2;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.portfolio-item h3 {
  margin: 1em 0 0.5em;
  color: #EFEFEF;
}

.project-link {
  margin-top: 1em;
}

.project-link a {
  color: #4A90E2;
  text-decoration: none;
  font-weight: bold;
}

.project-link a:hover {
  text-decoration: underline;
}

/* Slideshow */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
}

.mySlides {
  display: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

/* Responsive: Stack projects vertically on smaller screens */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Achievements Section */
.achievements {
  padding: 4em;
}

.achievement-item {
  background: #444;
  padding: 1em;
  border-radius: 10px;
  border: 2px solid #4A90E2;
  margin-bottom: 2em;
}

.achievement-item h3 {
  color: #EFEFEF;
}

.video-container {
  margin-top: 1.5em;
}

video,
iframe {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 10px;
  border: 2px solid #4A90E2;
}

/* Contact Section */
.contact-container {
  text-align: center;
  padding: 4em;
  background-color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-container h2 {
  color: #4A90E2;
  font-size: 2.5em;
  letter-spacing: 0.05em;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  margin-bottom: 2px;
}

.contact-item a {
  color: #EFEFEF;
  font-size: 1.5em;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease-in-out;
}

.contact-item a:hover {
  color: #4A90E2;
}

.contact-item img {
  width: 32px;
  height: auto;
}

.footer {
  padding: 2em 0;
  background-color: #444;
  color: #EFEFEF;
  text-align: center;
}

.footer p {
  font-size: 0.9em;
}

canvas {
  display: block;
  vertical-align: bottom;
}

/* Certifications Section */
.certifications-container {
  padding: 4em;
  background-color: #333333;
  color: #EFEFEF;
}

.certifications-section {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.certification-item {
  background-color: #444;
  border: 2px solid #4A90E2;
  border-radius: 8px;
  padding: 1.5em;
  margin-top: 14px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.certification-title {
  font-size: 18.5px;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.certification-date {
  font-size: 1em;
  font-style: italic;
  color: #4A90E2;
  margin-bottom: 1em;
}



/* Skills under Experience Section - Align them side by side */
.experience-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  /* Increase the gap for better spacing */
  padding: 10px;
}

.experience-skill-icon {
  background-color: #444;
  /* Darker background */
  border: 2px solid #4A90E2;
  /* Cool Blue for borders */
  border-radius: 8px;
  padding: 0.5em 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #EFEFEF;
  text-align: center;
  transition: background-color 0.3s;
}

.experience-skill-icon:hover {
  background-color: #4A90E2;
  color: #333333;
}

.experience-skill-icon img {
  height: 40px;
  width: auto;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* General Adjustments */
  body {
    font-size: 14px;
  }

  /* Navbar */
  .nav-links {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  .nav-links li {
    margin: 10px 0;
  }

  /* Hero Section */
  .hero-content h2 {
    font-size: 2em;
  }

  .hero-content p {
    font-size: 1.2em;
    padding: 0 15px;
  }

  /* Section Padding Adjustments */
  .skills-container,
  .experience-container,
  .education-container,
  .portfolio,
  .achievements,
  .certifications-container,
  .proficiency-container,
  .contact-container {
    padding: 2em 1em;
  }

  /* Skills Section */
  .skills-icons {
    justify-content: center;
  }

  .skill-icon {
    flex: 1 1 40%;
    justify-content: center;
    text-align: center;
    padding: 0.5em;
  }

  /* Experience/Education Items */
  .experience-item,
  .education-item,
  .certification-item {
    padding: 1em;
  }



  

  /* Contact Section */
  .contact-item a {
    font-size: 1.2em;
  }

  .contact-item img {
    width: 24px;
  }

  /* Portfolio Grid */
  .portfolio-grid {
    gap: 1em;
  }

  /* Experience Skills */
  .experience-skills {
    gap: 0.8em;
  }

  .experience-skill-icon {
    flex: 1 1 30%;
    padding: 0.3em 0.5em;
  }

  .experience-skill-icon img {
    height: 30px;
  }
}

@media (max-width: 480px) {
  /* Further adjustments for very small screens */
  .hero-content h2 {
    font-size: 1.8em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .cta-button {
    padding: 0.5em 1em;
    font-size: 0.9em;
  }

  .skill-icon {
    flex: 1 1 100%;
  }

  .portfolio-item h3 {
    font-size: 1.2em;
  }

  .experience-skill-icon {
    flex: 1 1 45%;
    font-size: 0.9em;
  }
}


/* Add these hamburger styles at the bottom of your CSS */
/* ======= Hamburger Menu ======= */
.hamburger-menu {
  display: none;
  cursor: pointer;
  position: fixed;
  right: 25px;
  top: 25px;
  z-index: 1000;
  background: rgba(51, 51, 51, 0.95);
  padding: 12px;
  border-radius: 4px;
  border: 2px solid #4A90E2;
}

.hamburger-menu .bar {
  width: 30px;
  height: 3px;
  background-color: #EFEFEF;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #333;
    flex-direction: column;
    padding: 80px 20px;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  /* Hamburger animation */
  .hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* ======= Navbar ======= */
.navbar {
  background-color: #333333;
  color: #EFEFEF;
  padding: 1em 0;
  width: 100%;
  z-index: 1000;
  position: sticky;
  top: 0;
}

.nav-links {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
}



/* ======= Proficiency Bars ======= */


.proficiency-container {
  padding-left: 4rem;
  padding-right: 4rem;
  margin: 0 auto;
}
.proficiency-bar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.proficiency-bar span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #EFEFEF;
  display: flex;
  justify-content: space-between;
}

.highlight{
  background: linear-gradient(90deg, #4A90E2 0%, #32CD32 100%);
  
  
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  
  display: inline-block;
}

.role {
  
  background: linear-gradient(90deg, #4A90E2 0%, #32CD32 100%);
  
  
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  
  display: inline-block;
}

.proficiency-bar span::after {
  content: attr(data-percent);
  color: #32CD32;
  font-weight: bold;
}

.bar {
  width: 100%;
  height: 20px;
  background-color: #444;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #4A90E2 0%, #32CD32 100%);
  border-radius: 10px;
  position: relative;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.2) 0%, 
    rgba(255,255,255,0.1) 100%);
}

/* ======= Mobile Responsive ======= */
@media (max-width: 768px) {
  .proficiency-bar span {
    font-size: 1rem;
  }
  
  .bar {
    height: 18px;
  }
  .proficiency {
    padding: 2em 1em; /* Top/Bottom: 2em, Left/Right: 1em */
  }
  .proficiency-container {
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .proficiency-bar span {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .bar {
    height: 15px;
  }
  .proficiency {
    padding: 2em 0.5em; /* Top/Bottom: 2em, Left/Right: 0.5em */
  }
}

@media (max-width: 768px) {
  /* Add padding to experience and education lists */
  .experience-item ul,
  .education-item ul {
    padding-left: 1.5em;
    margin-left: 1em;
    padding-top: 1em;
  }

  /* Adjust list styling */
  .experience-item li,
  .education-item li {
    margin-bottom: 0.8em;
    padding-left: 0.5em;
  }
}