* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0f0f0f;
  color: #ffffff;
}

/* ================= NAVBAR ================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  position: sticky;
  top: 0;
  background: rgba(35, 35, 35, 0.6);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ea63cd;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

/* UNDERLINE EFFECT */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #9d15ac; 
  transition: 0.3s ease;
}

/* HOVER */
.nav-links a:hover {
  color: #db34d5;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ================= HERO ================= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 80px;
  margin-bottom: 50px;
}

.hero-text span {
  background: linear-gradient(45deg, #7e2977, #c536b9, #bd1ea5);
 -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(255, 77, 136, 0.4);
}

.typing {
  margin-top: 30px;
  color: #c83c97;
  /* margin-bottom: 40px; */
}

/* BUTTON */
button {
  margin-top: 25px;
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  background: linear-gradient(45deg, #c71cc1, #f61cd2);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #e323d9;
}

/* HERO IMAGE */
.hero-img img {
  width: 260px;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(198, 29, 192, 0.4);
}

/* ================= SECTION ================= */
.section {
  padding: 100px 80px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 50px;
}

/* ================= ABOUT ================= */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  gap: 60px;
  flex-wrap: wrap;
}

.about-img img {
  width: 220px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 77, 136, 0.3);
}

.about-text {
  max-width: 400px;
  line-height: 1.7;
  color: #ccc;
}

/* ================= GLASS CARD ================= */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ================= SKILLS ================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
}

.skill-card {
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
}

.skill-card img {
  width: 45px;
  margin-bottom: 10px;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255, 77, 136, 0.4);
}

/* ================= PROJECTS ================= */
.projects-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card {
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
}

.project-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-content {
  padding: 20px;
  text-align: center;
}

/* BUTTONS */
.buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}

.buttons a {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background: linear-gradient(45deg, #b115a2, #b316b9);
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

.buttons a:hover {
  box-shadow: 0 0 12px #6e0656;
}

/* HOVER */
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 77, 136, 0.4);
}

/* ================= CONTACT ================= */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-icons img {
  width: 40px;
  filter: invert(1);
  transition: 0.3s;
}

.contact-icons img:hover {
  transform: scale(1.2);
  box-shadow: 0 0 12px #970f93;
  border-radius: 10px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  nav {
    padding: 15px 20px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .hero-img img {
    width: 180px;
    margin-top: 20px;
  }

  .section {
    padding: 60px 20px;
  }

  .projects-container {
    grid-template-columns: 1fr;
  }
}

@keyframes glowPulse {
  0% {
    text-shadow: 0 0 10px #720d4b;
  }
  50% {
    text-shadow: 0 0 25px #ac1aa3, 0 0 40px #ff80bf;
  }
  100% {
    text-shadow: 0 0 10px #8e127b;
  }
}

.hero-text span {
  animation: glowPulse 2s infinite;
}

/* PARTICLES BACKGROUND */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

/* CURSOR GLOW */
.cursor {
  width: 20px;
  height: 20px;
  background: rgba(255, 77, 136, 0.6);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.1s ease;
  box-shadow: 0 0 20px #ff4d88, 0 0 40px #ff4d88;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
  font-size: 14px;
}

.footer span {
  color: #ff4d88;
  font-weight: bold;
  transition: 0.3s;
}

.footer span:hover {
  text-shadow: 0 0 10px #ff4d88;
}
