* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f8fafc;
  color: #1f2937;
  line-height: 1.6;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, #0f172a, #1e293b 55%, #334155);
  color: white;
  padding-bottom: 56px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  font-weight: 600;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0 10px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin: 10px 0 16px;
}

.hero-description {
  max-width: 680px;
  font-size: 1.05rem;
  opacity: 0.95;
}

.hero-buttons {
  margin-top: 24px;
}

.btn {
  display: inline-block;
  background: white;
  color: #0f172a;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: bold;
  margin-right: 10px;
  margin-bottom: 10px;
}

.btn:hover {
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.55);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.profile-box {
  width: 100%;
  max-width: 360px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: white;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mini-tags span {
  background: rgba(255,255,255,0.14);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.section {
  padding: 70px 0;
}

.alt-bg {
  background: #eef2ff;
}

.section-title p {
  margin: 0;
  color: #2563eb;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.section-title h2 {
  margin-top: 8px;
  margin-bottom: 24px;
  font-size: 2rem;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chips span {
  background: white;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.timeline {
  position: relative;
  margin-left: 10px;
  padding-left: 28px;
  border-left: 2px solid #cbd5e1;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-dot {
  position: absolute;
  left: -38px;
  top: 22px;
  width: 14px;
  height: 14px;
  background: #2563eb;
  border-radius: 50%;
}

.timeline-content h3 {
  margin-top: 0;
}

.meta {
  color: #6b7280;
  margin-top: -6px;
  margin-bottom: 12px;
}

ul {
  padding-left: 20px;
  margin-bottom: 0;
}

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

.project-card {
  height: 100%;
}

.project-label {
  color: #2563eb;
  font-weight: bold;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer {
  background: #0f172a;
  color: white;
  text-align: center;
  padding: 24px 0;
}

@media (max-width: 900px) {
  .hero-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    gap: 14px;
  }

  .section {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }
}