/* General Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #0a0a0a; /* Dark Background */
  color: white;
  overflow-x: hidden;
}

/* Background Animation Layer */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1; /* Content ke peeche rahega */
  background-color: #1a1a2e; /* Video wala dark blue shade */
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Sections */
section {
  padding: 100px 20px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hero Section & Floating Badges */
.profile-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin-bottom: 20px;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #c770f0; /* Purple Border */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Jo items photo ke aas paas ghum rahe hain */
.badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.badge.dsa {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.badge.python {
  bottom: 20px;
  left: 0;
}
.badge.sql {
  bottom: 20px;
  right: 0;
}
.badge.da {
  top: 50%;
  left: -60px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.highlight {
  color: #c770f0;
} /* Purple Text */

/* Cards Style */
.content-box,
.skill-card {
  background: rgba(30, 30, 50, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #c770f0;
  max-width: 800px;
  margin: 20px auto;
}

.skills-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.skill-card {
  width: 150px;
  font-size: 1.2rem;
}

/* --- Projects Section Styles --- */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: rgba(25, 25, 45, 0.9); /* Dark Blue Card */
  border: 1px solid rgba(199, 112, 240, 0.3); /* Halka Purple Border */
  padding: 25px;
  border-radius: 15px;
  width: 300px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px); /* Hover karne par upar uthega */
  box-shadow: 0 10px 20px rgba(199, 112, 240, 0.2);
  border-color: #c770f0;
}

.project-card h3 {
  color: #c770f0;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Tech Stack Tags (Python, SQL etc.) */
.tech-tags {
  margin-bottom: 20px;
}

.tech-tags span {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  margin-right: 5px;
  color: #fff;
}

/* GitHub/Link Buttons */
.project-links {
  display: flex;
  gap: 10px;
}

.btn {
  text-decoration: none;
  background: #c770f0;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #a54cdb;
}

/* --- Certifications Section Styles --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.cert-card {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
  background: white; /* Certificates white background pe ache lagte hain */
}

.cert-card:hover {
  transform: scale(1.05);
  border-color: #c770f0;
}

.cert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Contact Section Styles --- */
.contact-box {
  background: rgba(30, 30, 50, 0.8);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid rgba(199, 112, 240, 0.3);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-box p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Contact Buttons Styling */
.contact-btn {
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px; /* Capsule shape buttons */
  font-size: 1rem;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Buttons ke alag alag colors */
.contact-btn.email {
  background: linear-gradient(45deg, #ff512f, #dd2476);
}

.contact-btn.linkedin {
  background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.contact-btn.github {
  background: linear-gradient(45deg, #333, #555);
}

/* Hover Effect */
.contact-btn:hover {
  transform: scale(1.1); /* Thoda bada ho jayega */
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* --- Footer Styles --- */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #888;
  font-size: 0.9rem;
  margin-top: 50px;
}

/* Hero Buttons Add-on */
.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
}
.btn-main {
  background: #c770f0;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}
.btn-sec {
  border: 2px solid #c770f0;
  color: white;
  padding: 8px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}
.btn-main:hover {
  background: #a54cdb;
}
.btn-sec:hover {
  background: rgba(199, 112, 240, 0.2);
}
