@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: black;
  color: white;
  font-family: "poppins", sans-serif;
}

section {
  padding: 0 50px;
  margin: 100px 0;
}

p {
  font-size: 16px;
  font-weight: 300;
  color: white;
  margin-top: 10px;
}

.highlight {
  color:  #C084FC;
}

.main-heading {
  text-align: center;
  font-size: 3rem;
  color: #C084FC;
  font-weight: 500;
  margin-bottom: 20px;
}

.side-heading {
  color: #c084fe;
  font-weight: 500;
  font-size: 1.5rem;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  z-index: -1;
}

#element {
  color: rgb(204, 238, 158);
  font-size: 40px;
  font-weight: 500;
}

/* -------------------------------------------------- Navbar ------------------------------------------------ */

.left {
  font-size: 1.5rem;
  font-weight: 600;
}
nav {
  display: flex;
  justify-content: space-between;
  padding: 0 60px;
  align-items: center;
  font-family:Georgia, 'Times New Roman', Times, serif;
  height: 60px;
  background-color:  #C084FC;

}

nav ul {
  display: flex;
  justify-content: center;
}

nav ul li {
  list-style: none;
  margin: 0 15px;
  color: white;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

nav ul li a:hover {
  color: lightblue;
}

/* ------------------------------------------------ first section ----------------------------------------------- */

.first-section1 {
  display: flex;
  position: relative;
  justify-content: space-between;
}

.left-section1 {
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  min-height: 400px;
  height: auto;
}

.left-section1 h2 {
  font-size: 2.5rem;
}

.left-section1 p {
  font-size: 1.5rem;
}
.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px ;
  width: 200px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.resume-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.resume-btn .icon {
  font-size: 16px;
}


@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateX(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.right-section1 img {
  height: 600px;
  width: auto;
  animation: float 3s ease-in-out infinite;
}

/* ------------------------------------------ Second section --------------------------------------------- */

.summary {
  display: flex;
  flex-direction: row;
  padding: 30px 0;
  gap: 100px;
  align-items: center;
}

.left-summary img {
  height: 200px;
  width: auto;
  border-radius: 50%;
  border: 5px solid #36444d;
  box-shadow: 0 0 15px 2px #C084FC;
}


/* ------------------------------------------- Third Section ---------------------------------------------- */

/* Education Section Styling */
.edu-container{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  flex-wrap: wrap;
  gap: 4rem;
}

  .edu-card {
  background-color: #252424;
  color: #C084FC;
  border-radius: 10px;
  height: 10rem;
  padding: 1.8rem;
  border-left: 3px solid #d4d7e4;
  transition: transform 0.9s ease;
   border: 5px solid #9141e1; 
  box-shadow: 0px 0px 15px #bd9fdb; 
}
.edu-card:hover {
    transform: translateY(-10px);
}
.edu-card h3{
  color: #50b37b;
}
.degree,.university{
  color: #c28ab4;
}
.duration,.cgpa{
  color: #7b769c;
}
.education-section{
 border-radius: 1rem;
 background-color: #111111;
 padding: 2rem;
 margin: 3rem;

}
/* ------------------------------------------ Fourth Section --------------------------------------------------- */

.project-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
 
  align-items: stretch;
  color: #000;
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 15px;
  padding: 30px;
  background-color:rgb(34, 33, 33);
  color: #000;
  flex-grow: 1;
  max-width: 500px;
  box-shadow: 0px 0px 2px #C084FC;
  transition: transform 0.3s ease;
    
}

.project-card:hover {
  box-shadow: 0px 0px 20px rgba(212, 178, 210, 0.6); 
  transform: translateY(-1px); 
  border: 5px solid  #C084FC; 
  background: #6c6473; 
  color: #000; 
}
.button {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  text-decoration: none;
  color: white;
  background-color: #4CAF50; /* Green for live */
  border-radius: 5px;
  font-weight: bold;
  transition:  0.3s ease;
}

.button.git {
  background-color: #333; /* GitHub button in dark */
}

.button:hover {
  background-color: #2e8b57;
}


.project-card-left {
  max-width: 100%;
}

.project-card-left h2 {
  color: #ffffff;
}

.project-card-right {
  height: 120px;
  width: 80%;
  min-width: 250px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
}

.project-card-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* ------------------------------------ fifth section ------------------------------------------------------- */
.skills-section {
  background-color: #111;
  color: #c3ffc3;
  padding: 40px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #C084FC ;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.skill-card {
  background-color: #1c1c1c;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #C084FC;
}

.skill-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: bold;
}

.percent {
  color: #00bfff;
}

.progress-bar {
  background-color: #6c6464;
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress {
  height: 100%;
  width: 0;
  transition: width 1s ease;
  border-radius: 7px;
}

/* Skill-specific colors */
.html-skill {
  background-color: #ef4d13;
}
.css-skill {
  background-color: #47a8ed;
}
.javascript-skill {
  background-color: #f2d624;
}
.react-skill {
  background-color: #406be2;
}
.mysql-skill {
  background-color: #4ca6ba;
}
.java-skill {
  background-color: #ebba51;
}
.spring-skill {
  background-color: #4a9915;
}
.springboot-skill {
  background-color: #ddf9d6;
}
.github-skill {
  background-color: #111010;
}



.certifications {
  background-color: #111;
  padding: 40px;
  color: #c3ffc3;
}

.certification-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cert-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1c1c1c;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px #C084FC ;
}

.cert-card p {
  margin: 0;
  font-weight: bold;
  color: #fff;
  flex: 1;
}

.cert-link {
  color: #00bfff;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.cert-link:hover {
  color: #9fff9f;
}




/* -------------------------------------------------------- sixth section ----------------------------------------------- */
.contact-section {
  background-color: #c084f5; /* Purple from the uploaded image */
  color: white;
  padding: 60px 30px;
  text-align: center;
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
}

.contact-subtext,
.status-note {
  font-size: 1.1rem;
  margin: 20px auto;
  max-width: 800px;
}

.quote {
  background-color: rgba(255, 255, 255, 0.15); /* Light white overlay */
  padding: 20px 30px;
  border-left: 5px solid #ffffff;
  border-radius: 10px;
  font-style: italic;
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 700px;
  margin: 30px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Social Media Icons */
.social-media-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.social-link i {
  font-size: 20px;
  color: white;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}

.linkedin {
  background: #0077b5;
}
.github {
  background: #333;
}
.twitter {
  background: #1da1f2;
}
.instagram {
  background: #e1306c;
}
.email {
  background: #d44638;
}
