/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* Colors */
:root {
  --bg: #fef9f9;
  --primary: #a5c9ca;
  --secondary: #f7d6e0;
  --accent: #cdb4db;
  --text: #333;
}

/* Hero Section */
.hero {
  background: var(--primary);
  color: var(--text);
  text-align: center;
  padding: 4rem 1rem;
  border-radius: 0 0 2rem 2rem;
}
.hero-name {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.cta-btn {
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.cta-btn:hover {
  background: #b39bc8;
}

/* About Section */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
.about-text {
  max-width: 500px;
}
.about h2 {
  margin-bottom: 1rem;
}

/* Projects Section */
.projects {
  background: var(--secondary);
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 2rem;
}
.projects h2 {
  margin-bottom: 2rem;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card h3 {
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
  background: var(--accent);
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 2rem 2rem 0 0;
}
.contact h2 {
  margin-bottom: 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: none;
  outline: none;
}
.contact-form button {
  background: var(--primary);
  border: none;
  padding: 0.75rem;
  border-radius: 2rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}
.contact-form button:hover {
  background: #89b0b2;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .hero-name {
    font-size: 2rem;
  }
  .about {
    flex-direction: column;
    text-align: center;
  }
}
