/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   HEADER
========================= */
header {
  background: #1e1e2f;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  font-size: 1.8rem;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

header nav a {
  color: #fff;
  transition: color 0.3s;
}

header nav a:hover {
  color: #00aaff;
}

/* =========================
   SECTIONS
========================= */
section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

section h2 {
  color: #1e1e2f;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  border-bottom: 2px solid #00aaff;
  display: inline-block;
  padding-bottom: 0.3rem;
}

section p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* =========================
   SKILLS
========================= */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  padding: 1rem;
  background: #e6f2ff;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.skill img {
  width: 50px;
  margin-bottom: 0.5rem;
}

.skill span {
  font-weight: bold;
  text-align: center;
}

.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* =========================
   PROJECT CARDS
========================= */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #e6f2ff;
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.project-card p {
  font-size: 0.95rem;
}

/* =========================
   TIMELINE
========================= */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  border-left: 3px solid #00aaff;
}

.timeline-item span {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
}

/* =========================
   SOFTSKILLS
========================= */
.softskills-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.softskills-list li {
  background: #ffe6e6;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-weight: 500;
}

/* =========================
   INSPIRATION
========================= */
blockquote {
  font-style: italic;
  border-left: 4px solid #00aaff;
  padding-left: 1rem;
  color: #555;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #1e1e2f;
  color: #fff;
  margin-top: 2rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .skills, .project-list, .softskills-list {
    justify-content: center;
  }
}
