
@media (max-width: 768px) {
  /* Navigation */
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    padding: 1rem;
  }
  .profile-pic {
    width: 250px;
    height: 250px;
  }
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .subtitle {
    font-size: 1rem;
  }

  /* About */
  .about-details {
    margin: 10px;
    font-size: 0.9rem;
  }

  /* Timeline */
  .timeline::before {
    left: 10px; /* move line to left */
  }
  .timeline-content {
    width: 90%;
    margin: 20px auto;
    font-size: 1rem;
  }

  /* Skills */
  .skills-container {
    flex-direction: column;
    align-items: center;
  }
  .skill-card {
    width: 90%;
  }

  /* Contact */
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
  .contact-card {
    width: 90%;
  }
  .contact-form {
    width: 100%;
    padding: 0 10px;
  }

  /* Experience */
  .experience-details {
    width: 95%;
    font-size: 0.9rem;
  }

  /* Certifications */
  .certification-box {
    width: 95%;
    padding: 15px;
  }

  /* Projects */
  .projects-container {
    grid-template-columns: 1fr; /* stack cards */
  }
  .project-card {
    width: 95%;
    margin: auto;
  }

  /* Footer */
  .footer {
    font-size: 12px;
    padding: 15px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

 body {
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle, #1b0036, #000);
  color: #fff;
  font-size: 150%;
  
} 


nav {
  background: #000;
  padding: 9px;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #bb86fc;
}


.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  text-align: center;
  padding: 2rem;
  background: url('https://www.transparenttextures.com/patterns/stardust.png') repeat; 
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 12px;
}

.profile-pic {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  border: 5px solid #ff00ff;
  box-shadow: 0 0 20px #ff00ff;
}

.hero-text h1 {
  font-size: 2rem;
}

.hero-text h1 span {
  color: #bb86fc;
}

.subtitle {
  margin: 1rem 0;
  font-size: 1.2rem;
}

.btn {
  background-color: #bb86fc;
  color: #000;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #ff00ff;
  color: white;
}

body {
  background-color: #0d0d1a;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}
.about-section{
  margin: 0%;
  padding: 0%;
  text-align: center;

}
.about-title{
  color: #da03da;
  text-align: center;
  text-decoration: underline;
  text-shadow: #ff2cff;
}
.about-details{
  text-align: center;
  margin: 3%;
  color: #fff;
  justify-items: center;
  border-radius: 4%;
}
.timeline-heading {
  color: #ff00ff;
  margin-top: 30px;
  font-size: 2.5rem;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
 
  height: calc(100% - 180px);
  background: #ff00ff;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 60px 0;
}
 .timeline-content {
  margin-top: 30px;
  background-color: #1e1e2f;
  padding: 30px; 
  border-radius: 12px;
  width: 450px;  
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.1rem; 
}
.timeline-content:hover {
  transform: scale(1.07); 
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.4);
}

.skills-section {
  text-align: center;
  color: #ff00ff;
  margin-top: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.skill-card {
  background-color: #1e1e2f;
  padding: 30px;
  border-radius: 16px;
  width: 280px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
}

.skill-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
}

.skill-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #ff00ff;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tags span {
  border: 1px solid #ff00ff;
  padding: 6px 14px;
  border-radius: 20px;
  color: white;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.tags span:hover {
  background-color: #ff00ff;
  color: #1e1e2f;
}
.contact-section {
  padding: 50px 20px;
  background: #0e0e1b;
  color: white;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.contact-section span {
  color: #ff00ff;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-card {
  background: #1d1d2f;
  padding: 25px;
  border-radius: 18px;
  width: 260px;
  box-shadow: 0 0 10px #ff00ff60;
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: scale(1.05);
}

.contact-card i {
  font-size: 2rem;
  color: #ff00ff;
  margin-bottom: 10px;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 2px solid #ff00ff;
  background: #1d1d2f;
  color: white;
  border-radius: 8px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  height: 120px;
}

.contact-form button {
  background: #ff00ff;
  color: #0e0e1b;
  padding: 12px;
  border: none;
 
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}
.message{
      font-size: 95%;
       background: #ff00ff;
       padding: 12px;
}

.contact-form button:hover {
  background: #e000e0;
}
.experience-section{
  text-align: center;
  margin: 60px 60px;

}
.experience-details{
   display: inline-block; 
  padding: 30px;
  border: 2px solid #ff00ff;
  background: #1d1d2f;
  color: white;
   border-radius: 12px; 
  text-align: left; 
  max-width: 800px;
  box-shadow: 0 4px 10px rgba(255, 0, 255, 0.2);
  font-size: 95%;
}
.experience-details h3{
  color: #e000e0;
}
.certification-section {
  text-align: center;
  padding: 50px 20px;
 
  color: #ffffff;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #ffddff;
}



.certification-box {
  background-color:#1e1e2f;

  border: 2px solid  #ff00ff;
  border-radius: 16px;
  padding: 25px;
 
  margin: 30px auto;
  max-width: 1000px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.certification-box:hover {
  transform: scale(1.02);
}

.certification-text h3 {
  color: #c506ff;
  margin-bottom: 10px;
}

.certification-text p {
  line-height: 1.6;
  color: #e0e0e0;
}

.btn {
  background-color: #7c13a5;
  color: #fff;
  padding: 10px 20px;
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #18013d;
}


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 80%;
  max-width: 900px;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: -25px;
  right: 5px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.certificate-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px #bb86fc;
}


.projects-section {
  padding: 60px 20px;
  background: #0f0120;
  text-align: center;
  color: #fff;
}

.projects-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 0 10px #390141;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.project-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(148, 2, 136, 2);
}

.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}


.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.project-content p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 15px;
}


.tech-stack {
  margin-bottom: 15px;
}

.tech-stack span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: 20px;
  margin: 5px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  transition: background 0.3s ease;
}

.tech-stack span:hover {
  background: #7d0496;
}


.project-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #8b0279;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.project-btn:hover {
  background: #8f2992;
}
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  font-size: 14px;
}

.footer .social-links a {
  color: #00bcd4;
  margin: 0 8px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer .social-links a:hover {
  color: #ff9800;
}
