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

body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #333;
}

nav {
  background: purple;
  padding: 1rem;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;  
  padding: 0 0.5rem;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

section {
  padding: 60px 10%;
  min-height: 100vh;
}

h1, h2 {
  color: purple;
  margin-bottom: 1rem;
}
#home {
  text-align: center;
  background: #f3e8ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid purple;
  margin-bottom: 1rem;
}

.role {
  font-size: 1.2rem;
  color: #7c3aed;
  margin: 0.5rem 0 1.5rem;
}

.btn {
  background: purple;
  color: white;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #4c1d95;
}
#about {
  background: white;
}

.about-box {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1rem;
  color: #444;
}

.about-info {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-info li {
  font-size: 0.95rem;
  color: #555;
}
#skills {
  background: #f3e8ff;
}

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

.skill-box {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(124,58,237,0.1);
}

.skill-box h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #4c1d95;
}

.bar {
  background: #ede9fe;
  border-radius: 50px;
  height: 10px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: purple;
  border-radius: 50px;
}
#projects {
  background: white;
}

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

.project-card {
  background: #f9f5ff;
  border: 1px solid #e9d5ff;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.15);
}

.project-card h3 {
  color: #4c1d95;
  font-size: 1.1rem;
}

.project-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tags span {
  background: #ede9fe;
  color: purple;
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-weight: 500;
}
#contact {
  background: #f3e8ff;
  text-align: center;
}

.contact-form {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.2rem;
  border: 1.5px solid #d8b4fe;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  font-family: Arial, sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: purple;
}

#msg {
  color: purple;
  font-weight: bold;
}
footer {
  text-align: center;
  padding: 1.5rem;
  background: #4c1d95;
  color: white;
  font-size: 0.9rem;
}