/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #0d4f7c;
  --accent-light: #1a6fa8;
  --teal: #0e7490;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --text: #1a1a2e;
  --text-muted: #4b5563;
  --border: #dde3ec;
  --card-bg: #ffffff;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(13, 79, 124, 0.08);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ===== Layout ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

section:nth-child(even) {
  background: var(--bg-alt);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

/* ===== Nav ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* ===== Hero ===== */
#hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #0d4f7c 60%, #0e7490 100%);
  color: #fff;
  padding: 96px 0 80px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-title {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 500;
  color: #93c5fd;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.hero-intro {
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.btn-primary:hover {
  background: #e8f0fe;
  color: var(--accent);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* ===== About ===== */
#about .about-text {
  max-width: 720px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

#about .about-text strong {
  color: var(--text);
}

/* ===== Strengths ===== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.strength-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
  text-align: center;
}

.strength-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.strength-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.strength-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== Skills ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.skill-group {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.skill-group h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  background: #eef4fb;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid #c8daf0;
}

.skill-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 10px;
  font-style: italic;
}

/* ===== Experience ===== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.job {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.job-company {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.job-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.job-period {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.job ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.job ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.8rem;
  top: 2px;
}

/* ===== Education ===== */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edu-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.edu-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--teal);
  border-radius: 50%;
  margin-top: 6px;
}

.edu-institution {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
}

.edu-degree {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.edu-year {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 4px;
}

/* ===== Contact ===== */
#contact {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.contact-item > div {
  min-width: 0;
}

.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item .label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
}

.contact-item .value {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  overflow-wrap: break-word;
  word-break: break-all;
  min-width: 0;
}

.contact-item a {
  color: var(--text);
  font-weight: 500;
}

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

/* ===== Footer ===== */
footer {
  background: #0d1b2a;
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.85rem;
}

footer .available {
  color: #93c5fd;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  section {
    padding: 52px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  #hero {
    padding: 72px 0 60px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px 24px;
  }

  .nav-toggle {
    display: block;
  }

  .job-header {
    flex-direction: column;
  }

  .strengths-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .strengths-grid {
    grid-template-columns: 1fr;
  }
}
