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

body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a0a;
  color: #fff;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #6c63ff;
}

/* Buttons */
.btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.btn-outline {
  border: 2px solid #6c63ff;
  color: #6c63ff;
  background: transparent;
}

.btn-outline:hover {
  background: #6c63ff;
  color: #fff;
  transform: translateY(-2px);
}

/* Section Title */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.section-title span {
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  padding-top: 80px;
  background: radial-gradient(ellipse at top left, rgba(108,99,255,0.15) 0%, transparent 60%);
}

.hero-content {
  max-width: 600px;
}

.greeting {
  color: #6c63ff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.typewriter {
  font-size: 1.8rem;
  color: #ff6584;
  margin-bottom: 1rem;
  min-height: 2.2rem;
}

.hero-desc {
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  padding: 4px;
  box-shadow: 0 0 60px rgba(108, 99, 255, 0.4);

}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  display: block;
}



/* About */
.about {
  padding: 100px 8%;
  background: rgba(255,255,255,0.02);
}

.about-text p {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 650px;
}

.about-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.about-info div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ccc;
  font-size: 0.9rem;
}

.about-info i {
  color: #6c63ff;
}

/* Skills */
.skills {
  padding: 100px 8%;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.skill-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}

.skill-card:hover {
  background: rgba(108, 99, 255, 0.15);
  border-color: #6c63ff;
  transform: translateY(-5px);
}

.skill-card i {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skill-card p {
  font-size: 0.85rem;
  color: #ccc;
}

/* Projects */
.projects {
  padding: 100px 8%;
  background: rgba(255,255,255,0.02);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
}

.project-card:hover {
  border-color: #6c63ff;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(108, 99, 255, 0.2);
}

.project-icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.project-card p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.project-tags span {
  background: rgba(108, 99, 255, 0.2);
  color: #6c63ff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}

.project-links a:hover {
  color: #6c63ff;
}

/* Contact */
.contact {
  padding: 100px 8%;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.contact-item i {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(108, 99, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c63ff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #6c63ff;
  border-color: #6c63ff;
  color: #fff;
  transform: translateY(-3px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6c63ff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.contact-form textarea {
  resize: vertical;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: #555;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer strong {
  color: #6c63ff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
    gap: 3rem;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .avatar {
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }

  .nav-links {
    display: none;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-info {
    grid-template-columns: 1fr;
  }
}

/* Skills Categories */
.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.skill-category h3 {
  font-size: 1rem;
  color: #6c63ff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Education Timeline */
.education {
  padding: 100px 8%;
  background: rgba(255,255,255,0.02);
}

.timeline {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #6c63ff, #ff6584);
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.timeline-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  flex: 1;
  transition: all 0.3s;
}

.timeline-content:hover {
  border-color: #6c63ff;
  transform: translateX(5px);
}

.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.timeline-content .institute {
  color: #6c63ff;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.timeline-content .duration {
  color: #888;
  font-size: 0.82rem;
}
