@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding: 2rem;
}

/* Portfolio Container */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
}

.hero-content p {
  font-size: 1.2rem;
  color: #555;
  margin-top: 10px;
}

.hero-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #6c27ff;
  padding: 10px;
  margin: 20px 0;
}

.hero-illustration img {
  width: 100%;
  max-width: 500px;
  margin-top: 20px;
}

/* Skills Section */
.skills {
  text-align: center;
  margin-top: 4rem;
}

.skills h2 {
  font-size: 2rem;
  color: #222;
}

.skill-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.skill-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.skill-card:hover {
  transform: translateY(-5px);
}

.skill-card h3 {
  font-size: 1.5rem;
  color: #6c27ff;
}

.skill-card p {
  font-size: 1rem;
  color: #555;
  margin-top: 10px;
}

/* Contact Section */
.contact {
  text-align: center;
  margin-top: 4rem;
  background: #fff;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact label {
  font-size: 1rem;
  color: #444;
  margin-top: 1rem;
}

.contact input,
.contact textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact button {
  margin-top: 1rem;
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background: #6c27ff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.contact button:hover {
  background: #5721cc;
}
