:root {
  --bg: #0b1220;
  --panel: #111827;
  --panel-light: #f7f9fc;
  --text: #1f2937;
  --muted: #64748b;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --border: #dbe3ee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, #0b1220, #153968);
  color: var(--white);
  padding: 100px 0 90px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93c5fd;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
}

.hero-text {
  max-width: 700px;
  margin: 24px 0 10px;
  font-size: 1.25rem;
  color: #dbeafe;
}

.location {
  color: #bfdbfe;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

section {
  padding: 72px 0;
}

.alternate {
  background: var(--panel-light);
}

h2 {
  margin-top: 0;
  margin-bottom: 32px;
  font-size: 2rem;
  color: #0f172a;
}

h3 {
  margin-top: 0;
  color: #172033;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.skill-card,
.project-card,
.experience-card,
.education-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
}

.skill-card h3 {
  margin-bottom: 10px;
}

.project-card {
  margin-bottom: 22px;
}

.project-number {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
}

.experience-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.experience-heading p {
  margin: 4px 0 0;
  color: var(--muted);
}

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

.certification-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  padding-left: 20px;
}

.education-item {
  margin-bottom: 16px;
}

.education-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  text-align: center;
}

.contact-section p {
  max-width: 700px;
  margin: 0 auto;
}

.contact-section .hero-buttons {
  justify-content: center;
}

#contact .button {
  color: var(--blue);
  border-color: var(--blue);
}

#contact .button.primary {
  color: var(--white);
}

footer {
  background: var(--bg);
  color: #cbd5e1;
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .hero {
    padding: 72px 0 64px;
  }

  .skills-grid,
  .certification-list {
    grid-template-columns: 1fr;
  }

  .experience-heading {
    flex-direction: column;
    gap: 6px;
  }

  section {
    padding: 56px 0;
  }
}
