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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #f4f4f4;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 40px 0;
}

.section {
  padding: 60px 0;
}

.section.alt {
  background-color: #1e1e1e;
}

h1, h2, h3 {
  margin-bottom: 20px;
  text-align: center;
}

p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
}

.hero .profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-bottom: 20px;
  object-fit: cover;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

.skill {
  background: #2c2c2c;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.skill i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
  color: #4db5ff;
}

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

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  background: #2c2c2c;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}

.contact-form input, .contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: #4db5ff;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #3593d3;
}

footer {
  text-align: center;
  padding: 20px;
  background: #0f0f0f;
  color: #888;
  margin-top: 40px;
}
