@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;
  margin: 0;;
}

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

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

.highlight {
  color: #3989be;
}

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

.side-heading {
  color: rgb(194, 234, 143);
  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 50px;
  align-items: center;
  height: 60px;
  background-color: rgb(50, 49, 49);
  position: sticky;
  
  
 
}


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;
}

/* Hamburger - hidden on large screens */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  nav {
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  align-items: center;
  height: 60px;
  background-color: rgb(50, 49, 49);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

  .right ul {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgb(50, 49, 49);
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
  }

  .right ul.active {
    display: flex;
  }

  .right ul li {
    margin: 15px 0;
  }
}

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

.first-section1 {
  display: flex;
  position: relative;
  /* background-color: #0077b5; */
  justify-content: space-between;
}

.left-section1 {
  font-size: 3rem;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  /* justify-content: center; */
  min-height: 400px;
  height: auto;
}

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

.left-section1 p {
  font-size: 1.5rem;
}

@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;
}

/* Tablet View (width between 768px and 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .first-section1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .left-section1 {
    font-size: 2rem;
    padding-top: 50px;
  }

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

  .left-section1 p {
    font-size: 1.2rem;
  }

  .right-section1 img {
    height: 400px;
    margin-top: 30px;
  }
}

/* Mobile View (width less than 768px) */
@media screen and (max-width: 767px) {
  .first-section1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 15px;
  }

  .left-section1 {
    font-size: 1.5rem;
    padding-top: 40px;
  }

  .left-section1 h2 {
    font-size: 2rem;
    line-height: 1.4;
  }

  .left-section1 p {
    font-size: 1rem;
  }

  .right-section1 img {
    height: 300px;
    width: 100%;
    max-width: 90%;
    margin-top: 20px;
  }
}

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

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

.left-summary img {
  height: 300px;
  width: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px #0077b5,0 0 20px #ee0979;
  animation: glow-border 1.5s infinite alternate;
  
}

/* Tablet view (up to 1024px) */
@media screen and (max-width: 1024px) {
  .summary {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
    text-align: center;
  }

  .left-summary img {
    height: 180px;
    width: 180px;
  }

  .right-summary p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 20px;
  }
}

/* Mobile view (up to 768px) */
@media screen and (max-width: 768px) {
  .summary {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px;
    text-align: center;
  }

  .left-summary img {
    height: 180px;
  }

  .right-summary p {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 10px;
  }

  .main-heading,
  .side-heading {
    font-size: 1.5rem;
    text-align: center;
  }
}

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



.edu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  animation: fadeInUp 0.8s ease-out both;
}

.edu-card {
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  background-color: rgb(15, 15, 15);
  box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 300px;
  max-width: 350px;
  min-width: 250px;
  opacity: 0;
  animation: fadeInCard 0.6s ease forwards;
  animation-delay: 0.2s;
}

.edu-card:hover {
  transform: scale(1.03);
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.6);
}

.edu-card h2 {
  color: #ffd700;
  font-size: clamp(1.3rem, 2vw, 1.8rem); /* responsive font */
}

.edu-card p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Medium Screens (Tablets) */
@media (max-width: 992px) {
  .edu {
    flex-direction: row;
    justify-content: space-evenly;
    gap: 15px;
  }

  .edu-card {
    padding: 25px;
    flex: 1 1 250px;
    animation-delay: 0.1s;
  }
}

/* Small Screens (Mobiles) */
@media (max-width: 600px) {
  .edu {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .edu-card {
    width: 90%;
    padding: 20px;
    margin-bottom: 15px;
    animation-delay: 0s;
  }

  .edu-card h2 {
    font-size: 1.2rem;
  }

  .edu-card p {
    font-size: 1rem;
  }
}


/* -----------------------------------Work Experience Section----------------------------------------*/
.work_experience ul {
      vertical-align: middle;
      max-width: 100%;
    }

    .work_experience h3 {
      font-size: 40px;
      background: linear-gradient(to right, #0077b5, #ee0979);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .company_name {
      font-size: clamp(1rem, 2vw, 1.5rem);
      text-decoration: underline;
      font-style: italic;
      color: #bbbbbb;
    }

    .page-wrapper {
      position: relative;
      z-index: 0;
    }

    .container {
      max-width: 1300px;
      margin: 0 auto;
      padding: 0 1rem;
    }

   .work_experience .main-heading {
      font-size: clamp(1.5rem, 5vw, 3rem);
      text-align: center;
      /* background: linear-gradient(to right, #0077b5, #ee0979); */
      background-color: white;
      color: white;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    

    .padding-vertical-xlarge {
      padding: 10vh 0;
    }

    .timeline-main_heading-wrapper {
      max-width: 640px;
      margin: 0 auto;
    }

    .timeline_component {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }

    .timeline_item {
      display: grid;
      grid-template-columns: 1fr 180px 1fr;
      gap: 0;
      padding: 80px 0;
      position: relative;
    }

    .timeline_left {
      text-align: right;
      justify-content: flex-end;
    }

    .timeline_centre {
      display: flex;
      justify-content: center;
    }

    .timeline_date-text {
      color: #fff;
      font-size: clamp(1.5rem, 4vw, 3rem);
      font-weight: 500;
      line-height: 1.2;
      position: sticky;
      top: 50vh;
    }

    .timeline_text {
      color: #fff;
      font-size: 1.25rem;
      font-weight: 500;
      line-height: 1.6;
    }

    .timeline_circle {
      background-color: #fff;
      border-radius: 100%;
      width: 15px;
      height: 15px;
      position: sticky;
      top: 50vh;
      box-shadow: 0 0 0 8px #0a0a0a;
    }

    .timeline_progress {
      background-color: #414141;
      width: 3px;
      height: 100%;
      position: relative;
      z-index: -2;
    }

    .timeline_progress-bar {
      background: linear-gradient(to bottom, #ff6a00, #ee0979);
      width: 3px;
      height: 60vh;
      position: absolute;
      inset: 0 auto 50vh;
      z-index: -1;
    }

    .section-timeline {
      background-color: #0a0a0a;
      position: relative;
      margin-top: -105px;
      z-index: -3;
    }

    .margin-bottom-xlarge {
      max-width: 100%;
    }

    .timeline_text_wrapper ul {
      padding-left: 20px;
      font-size: 16px;
      color: #ffffff;
    }

    .overlay-fade-top,
    .overlay-fade-bottom {
      background-image: linear-gradient(#0a0a0a, #0a0a0a00);
      height: 10vh;
      position: absolute;
      inset: 0% 0% auto;
    }

    /* Responsive styles */
    @media (max-width: 1024px) {
      .timeline_item {
        display: flex;
        flex-direction: column;
        padding: 60px 0;
      }

      .timeline_left,
      .timeline_right {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        align-items: flex-start;
      }

      .timeline_date-text {
        font-size: 1.2rem;
        position: static;
        margin-bottom: 10px;
      }

      .timeline_centre {
        display: none;
      }

      .timeline_circle {
        position: static;
        margin: 10px 0;
      }

      .timeline_progress,
      .timeline_progress-bar {
        display: none;
      }

      .timeline_text {
        font-size: 1rem;
      }

      .timeline_text_wrapper ul {
        font-size: 0.95rem;
        padding-left: 1rem;
      }

      .padding-vertical-xlarge {
        padding: 60px 0;
      }
    }

    @media (max-width: 600px) {
      .timeline_text {
        font-size: 0.95rem;
      }

      .timeline_date-text {
        font-size: 1rem;
      }

      .company_name {
        font-size: 1rem;
      }

      .timeline_item {
        padding: 40px 0;
      }
    }




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


.main-heading {
  text-align: center;
  font-size: 2.5rem;
  color: white;
  margin-top: 40px;
}

.project-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-radius: 12px;
  padding: 20px;
  background-color: rgb(15, 15, 15);
  flex: 1 1 300px;
  max-width: 400px;
  box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.6);
}

.project-card-left h2 {
  color: #ffd700;
  margin-bottom: 10px;
}

.project-card-left p {
  line-height: 1.5;
  font-size: 1rem;
}

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

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

/* ===== Responsive Design ===== */

/* Tablets: 2 cards per row */
@media (max-width: 1024px) {
  .project-card {
    flex: 1 1 45%;
  }
}

/* Mobiles: 1 card per row */
@media (max-width: 768px) {
  .project-cards {
    flex-direction: column;
    align-items: center;
  }

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

/* ------------------------------------ fifth section ------------------------------------------------------- */

.fifth-section {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* .main-heading {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
} */

.side-heading {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Responsive Flex Container */
.skills-certifications {
  display: flex;
  flex-direction: column;
  padding: 30px 15px;
  gap: 30px;
}

/* Skills & Certifications */
.skills,
.certifications {
  width: 100%;
  text-align: left;
}

/* Skill Section */
.skill {
  margin: 15px 0;
}

.skill p {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: bold;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  flex: 1;
  height: 10px;
  background-color: #ddd;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #423de3, #3b03aa);
  width: 0;
  transition: width 1s ease-in-out;
}

.percentage {
  font-weight: bold;
  min-width: 40px;
  font-size: 14px;
}

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

.cert-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: rgb(15, 15, 15);
  border-radius: 10px;
  color: white;
  box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.6);
}

.cert-link {
  color: rgb(54, 70, 245);
  text-decoration: underline;
  font-size: 14px;
}

/* Tablet View */
@media screen and (min-width: 768px) {
  .skills-certifications {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 25px;
    gap: 30px;
  }

  .skills,
  .certifications {
    width: 48%;
  }

  .skill p,
  .cert-card p {
    font-size: 17px;
  }

  .percentage {
    font-size: 15px;
  }
}

/* Desktop View */
@media screen and (min-width: 1024px) {
  .skills-certifications {
    padding: 50px 40px;
    gap: 40px;
  }

  .skills,
  .certifications {
    width: 50%;
  }

  .skill p,
  .cert-card p {
    font-size: 18px;
  }

  .percentage {
    font-size: 16px;
  }
}

/* -------------------------------------------------------- sixth section ----------------------------------------------- */

.contact-container {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  margin: auto;
  width: 100%;
  max-width: 700px;
}

.contact-form {
  width: 100%;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-group {
  margin-bottom: 15px;
}

.form-button {
  text-align: center;
}

.submit-btn {
  padding: 10px 20px;
  background: #39ff14;
  color: black;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background: #388e3c;
}

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

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

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

/* Colors */
.linkedin { background: #0077b5; }
.github { background: #333; }


/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
  .contact-container {
    padding: 15px;
  }
}

@media screen and (max-width: 480px) {
  .contact-container {
    padding: 10px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }

  .social-link i {
    font-size: 18px;
  }
}


