 /* ================= Global ================= */
body {
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  background: #1e1b29;
  color: #eaeaea;
  scroll-behavior: smooth;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ================= Navbar ================= */

 .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #2a2440;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .logo {
  color: #b388ff;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: bold;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  color: #ddd;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #b388ff;
} 

/* ================= Hero ================= */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1e1b29, #2e2157);
  text-align: center;
  padding: 2rem;
}
.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid #7c3aed;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.7);
  transition: all 0.3s ease;
}
.avatar:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px #a259ff);
}
.hero-text {
  max-width: 600px;
}
.hero-text h1 {
  font-size: 2.2rem;
  color: #fff;
}
.hero-text span {
  color: #c084fc;
  font-weight: bold;
}
.hero-text p {
  font-size: 1.1rem;
  margin: 1rem 0;
}
.hero-text .role {
  font-size: 1.8rem;
  color: #c084fc;
  margin-bottom: 1rem;
  display: block;
}
.btn {
  padding: 0.7rem 1.4rem;
  background: #7c3aed;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}
.btn:hover {
  background: #9f67ff;
  transform: scale(1.05);
}
.about p {
  font-size: 1.3rem;
  line-height: 1.9;
  color: #ddd;
  max-width: 750px;
  margin: auto;
}

/* ================= Sections ================= */
section {
  padding: 5rem 2rem;
  text-align: center;
}
h2 {
  color: #c084fc;
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* ================= Skills ================= */
.skills {
  padding: 60px 20px;
  background: #1a1a2e;
  color: #fff;
  text-align: center;
}
.skills h2 {
  font-size: 2.5rem;
  color: #a259ff;
  margin-bottom: 10px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.skill-category h3 {
  color: #a259ff;
  margin-bottom: 15px;
  font-size: 1.4rem;
}
.skill-category .icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.skill-category .icons i,
.skill-category .icons img {
  font-size: 3rem;
  width: 50px;
  height: 50px;
  object-fit: contain;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.skill-category .icons i:hover,
.skill-category .icons img:hover {
  transform: scale(1.2);
  color: #a259ff;
  filter: drop-shadow(0 0 10px #a259ff);
}

/* ================= Projects ================= */
.projects {
  padding: 60px 20px;
  text-align: center;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.project-card {
  background: #2a2440;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s, background 0.3s;
  text-align: left;
  color: white;
}
.project-card:hover {
  transform: translateY(-10px);
  background: #3b2a58;
}
.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.project-card p {
  font-size: 1rem;
  color: #ccc;
}
.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.btn-outline {
  padding: 0.6rem 1.2rem;
  border: 2px solid #7c3aed;
  border-radius: 6px;
  background: transparent;
  color: #c084fc;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}
.btn-outline:hover {
  background: #7c3aed;
  color: #fff;
}

/* ================= Resume ================= */
.resume-section {
  text-align: center;
  padding: 60px 20px;
}
.resume-section .btn {
  padding: 10px 20px;
  background: #bb00ff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.resume-section .btn:hover {
  background: #610e8e;
}

/* ================= Contact ================= */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 500px;
  margin: auto;
}
.contact input, .contact textarea {
  padding: 1rem;
  border: none;
  border-radius: 6px;
  background: #3b2a58;
  color: #fff;
  font-size: 1rem;
}
.contact button {
  background: #7c3aed;
  border: none;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}
.contact button:hover {
  background: #9f67ff;
  transform: scale(1.05);
}

/* ================= Social ================= */
.social-links {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.social-links a {
  color: #c084fc;
  font-size: 1.8rem;
  transition: transform 0.3s, color 0.3s;
}
.social-links a:hover {
  color: #fff;
  transform: scale(1.2);
}

/* ================= Footer ================= */
footer {
  padding: 1rem;
  text-align: center;
  background: #2a2440;
  color: #aaa;
  font-size: 0.9rem;
}

/* ================= Hamburger ================= */
/* .hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
} */
 .menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block; 
  }
}

/* ================= Media Queries ================= */
/* Tablets */
@media (min-width: 768px) {
  .hero-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: left;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Laptops */
@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-text .role {
    font-size: 2rem;
  }
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Large desktops */
@media (min-width: 1440px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
  .project-card {
    padding: 2.5rem;
  }
}

/* Mobile (hidden by default) */
@media (max-width: 768px) {
  .nav-links {
    display: none;   /* hide links on small screens */
    flex-direction: column;
    background: #2a2440;
    position: absolute;
    top: 70px; /* below navbar */
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex; 
  }
}