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

body {
  font-family: "Inter", sans-serif;
  color: #1f2937;
  background: #f9fafb;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar a {
  margin-left: 20px;
  font-weight: 500;
  color: #374151;
}

.logo {
  font-weight: 700;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8%;
  gap: 40px;
}

.hero img {
  width: 280px;
  border-radius: 16px;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #2563eb;
  color: white;
  border-radius: 8px;
}

/* SECTIONS */
.section {
  padding: 80px 8%;
}

.section.alt {
  background: #eef2f7;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.project-card img {
  width: 100%;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  margin-bottom: 10px;
}

/* SKILLS */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills span {
  background: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* TIMELINE */
.timeline {
  border-left: 3px solid #2563eb;
  padding-left: 30px;
}

.timeline-item {
  margin-bottom: 30px;
}

.timeline-item .date {
  font-size: 0.9rem;
  color: #6b7280;
}

/* CONTACT */
.contact-text {
  margin-bottom: 20px;
}

.contact-links a {
  margin-right: 20px;
  font-weight: 600;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  background: #111827;
  color: #d1d5db;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .navbar nav {
    display: none;
  }
}
