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

:root {
  --navy: #07090f;
  --navy-mid: #0b1437;
  --navy-light: #0f1a3d;
  --accent: #ffffff;
  --accent-dim: #c8d4f0;
  --white: #ffffff;
  --text-muted: #6b7fa8;
  --card-bg: #0d1020;
  --border: rgba(255, 255, 255, 0.07);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(11, 20, 55, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-name {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: var(--accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--white);
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 8rem 6rem 4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, #0b1437 0%, var(--navy) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  flex: 1;
}

.hero-photo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.hero-photo img {
  width: 360px;
  height: 440px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.05), 0 0 120px rgba(11, 20, 55, 0.8);
  display: block;
}

.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--accent);
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-bio {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-currently {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.currently-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-bg-text {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(12rem, 25vw, 22rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-2px);
}

/* SECTIONS */
.section {
  padding: 6rem 4rem;
}

.section-alt {
  background-color: var(--navy-mid);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 50%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.subsection-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

/* ABOUT */
.about-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.85;
  margin-bottom: 4rem;
}

.stats {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  font-weight: 500;
}

/* EDUCATION */
.edu-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edu-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.edu-card:hover {
  border-color: var(--accent);
}

.edu-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.edu-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.edu-location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.edu-date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* EXPERIENCE */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.exp-card {
  padding: 1.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}

.exp-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.exp-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
}

.exp-date {
  font-size: 0.75rem;
  color: var(--accent);
  white-space: nowrap;
  font-weight: 600;
  flex-shrink: 0;
}

.exp-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.exp-card p strong {
  color: var(--white);
}

.exp-card-highlight {
  border-color: rgba(255, 255, 255, 0.18);
}

.exp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-block {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.skill-block h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s;
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* WHY HIRE ME */
.hire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.hire-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  transition: border-color 0.2s, transform 0.2s;
}

.hire-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.hire-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hire-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hire-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* CONTACT */
.contact-container {
  text-align: center;
}

.contact-sub {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, color 0.2s;
  min-width: 320px;
  justify-content: center;
}

.contact-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-icon {
  font-size: 1.1rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--navy);
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  nav ul {
    gap: 1.25rem;
  }

  nav ul a {
    font-size: 0.75rem;
  }

  #hero {
    padding: 7rem 1.5rem 4rem;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .hero-photo img {
    width: 260px;
    height: 320px;
  }

  .hero-actions {
    justify-content: center;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .stats {
    gap: 2.5rem;
  }

  .hero-bg-text {
    display: none;
  }

  .exp-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .contact-item {
    min-width: unset;
    width: 100%;
  }
}
