/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #f5f7fa, #c3cfe2);
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #1e1e2f;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

nav ul {
  list-style: none;
  margin-top: 15px;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffd700;
}

/* SECTIONS */
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  background: white;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

section h2 {
  color: #1e1e2f;
  margin-bottom: 20px;
  font-size: 28px;
  border-left: 5px solid #ffd700;
  padding-left: 10px;
}

section ul li {
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  background: #1e1e2f;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  font-size: 14px;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #ffd700;
  object-fit: cover;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
  background: #f9f9f9;
  border: 2px solid #ffd700;
  padding: 20px;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  color: #1e1e2f;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14px;
  margin-bottom: 15px;
}

.project-card a {
  display: inline-block;
  text-decoration: none;
  background: #1e1e2f;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 14px;
}

.contact-container {
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.contact-container p {
  margin-bottom: 20px;
  font-size: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  resize: none;
}

form button {
  background-color: #1e1e2f;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #ffd700;
  color: #1e1e2f;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.skill-card {
  background: #1e1e2f;
  color: white;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: scale(1.05);
  background: #ffd700;
  color: #1e1e2f;
}
