/* Reset some basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Hero section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background: linear-gradient(135deg, #6b73ff, #000dff);
  color: white;
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.hero-content .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ffd700;
  color: #111;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}
.hero-image img {
  max-width: 300px;
  border-radius: 8px;
}

/* Sections */
.section {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* About */
.about p {
  margin-bottom: 1.5rem;
}
.about ul {
  list-style: none;
}
.about ul li {
  margin-bottom: 0.5rem;
}

/* Projects */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.project {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.project h3 {
  margin-bottom: 0.5rem;
}
.project a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

/* Skills */
.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.skill {
  background-color: #0066cc;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
}

/* Contact */
.contact form {
  display: grid;
  gap: 0.75rem;
}
.contact form input,
.contact form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact form button {
  width: fit-content;
  padding: 0.75rem 1.5rem;
  background-color: #000dff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.socials {
  margin-top: 1rem;
  text-align: center;
}
.socials a {
  color: #000dff;
  text-decoration: none;
  margin: 0 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}
