* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  color: #222;
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, #4b3fbb, #7b6ff0);
  color: white;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
}

.logo {
  font-weight: bold;
  font-size: 1.4rem;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.hero-content {
  margin: auto;
  text-align: center;
  padding: 24px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background: white;
  color: #4b3fbb;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 80px 48px;
  max-width: 900px;
  margin: 0 auto;
}

.section.alt {
  max-width: 100%;
  background: #f6f5ff;
}

.section.alt > * {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: #4b3fbb;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.card h3 {
  color: #4b3fbb;
  margin-bottom: 8px;
}

.skills-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills-list li {
  background: #4b3fbb;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

footer {
  text-align: center;
  padding: 32px;
  background: #222;
  color: white;
  font-size: 0.9rem;
}
