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

:root {
  --primary-blue: #0084d1;
  --primary-blue-hover: #0070b3;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --card-bg: #ffffff;
  --border-light: #e2e8f0;
  --border-dark: #1e293b;
  --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button, input, select {
  font-family: inherit;
}

.header-container {
  display: flex;
  justify-content: center;
  padding: 24px 20px 0 20px;
  position: sticky;
  top: 16px;
  z-index: 100;
  transition: transform 0.3s ease, padding 0.3s ease;
}

.header-container.is-scrolling-down {
  transform: translateY(-2px);
}

.header-container.is-scrolling-up {
  transform: translateY(0);
}

.navbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 8px 28px;
  border: 1.5px solid var(--border-dark);
  border-radius: 9999px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, padding 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.header-container.is-scrolling-down .navbar-pill {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  padding: 6px 24px;
}

.header-container.is-scrolling-up .navbar-pill {
  box-shadow: 0 4px 16px rgba(0, 132, 209, 0.18);
  border-color: var(--primary-blue);
}

.navbar-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-toggle-btn:hover {
  color: var(--primary-blue);
  background-color: #f1f5f9;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-brand-top {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.navbar-brand-bottom {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-dark);
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.navbar-link-item a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  padding: 4px 2px;
  position: relative;
}

.navbar-link-item a:hover {
  color: var(--primary-blue);
}

.navbar-link-item a.active {
  color: var(--primary-blue);
  font-weight: 800;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 151;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}

.mobile-sidebar.active {
  transform: translateX(0);
}

.mobile-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.sidebar-close-btn {
  background-color: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.sidebar-close-btn:hover {
  color: var(--primary-blue);
  background-color: #f1f5f9;
}

.mobile-sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
  background-color: #f0f9ff;
  color: var(--primary-blue);
}

.mobile-nav-link.active {
  background-color: #e0f2fe;
  color: var(--primary-blue);
}

.page-header {
  padding: 50px 24px 25px 24px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.page-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 24px 85px 24px;
}

.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
}

.hero-greeting {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 11px 24px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--primary-blue);
  padding: 11px 24px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--primary-blue);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-small {
  padding: 7px 16px;
  font-size: 12px;
}

.hero-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  padding: 8px;
  border-radius: 50%;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon-btn:hover {
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.wave-divider {
  width: 100%;
  line-height: 0;
  display: block;
}

.wave-divider svg {
  width: 100%;
  height: 110px;
  display: block;
}

.summary-section {
  background-color: var(--primary-blue);
  padding: 20px 24px 55px 24px;
  position: relative;
}

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

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

.summary-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.summary-card:hover {
  transform: translateY(-4px);
}

.summary-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #e0f2fe;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.summary-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.summary-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.summary-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.summary-card-link:hover {
  color: var(--primary-blue-hover);
}

.education-section {
  background-color: var(--primary-blue);
  padding: 20px 24px 50px 24px;
  position: relative;
}

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

.section-header-white {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-white {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.section-divider-white {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.divider-line-white {
  width: 50px;
  height: 1.5px;
  background-color: #ffffff;
}

.divider-circle-white {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  background-color: transparent;
}

.section-subtitle-white {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
}

.timeline-wrapper {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: #ffffff;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  width: 100%;
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item-left {
  justify-content: flex-start;
}

.timeline-item-right {
  justify-content: flex-end;
}

.timeline-card {
  width: 44%;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.timeline-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.timeline-card-period {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.timeline-card-desc {
  font-size: 13px;
  color: #475569;
}

.timeline-node {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #1e293b;
  border: 3px solid #ffffff;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.skills-section {
  padding: 60px 24px 80px 24px;
  background-color: #ffffff;
}

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

.section-header-dark {
  text-align: center;
  margin-bottom: 45px;
}

.section-title-dark {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.section-divider-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.divider-line-dark {
  width: 40px;
  height: 1.5px;
  background-color: #94a3b8;
}

.divider-circle-dark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #94a3b8;
  background-color: transparent;
}

.section-subtitle-dark {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
}

.skills-category-group {
  margin-bottom: 40px;
}

.skills-category-group:last-child {
  margin-bottom: 0;
}

.skills-category-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 20px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 24px;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 16px;
  min-width: 96px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.skill-icon-wrapper {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.skill-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.soft-skill-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.soft-skill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-blue);
}

.soft-skill-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: #e0f2fe;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.soft-skill-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.soft-skill-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.soft-skill-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.projects-section,
.products-section {
  padding: 40px 24px 90px 24px;
  background-color: #ffffff;
}

.projects-container,
.products-container {
  max-width: 1080px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.project-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-blue);
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.project-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #e0f2fe;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
}

.project-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.project-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  background-color: #f1f5f9;
  color: #475569;
}

.project-card-actions {
  display: flex;
  gap: 10px;
}

.projects-empty-state,
.products-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
  border: 1.5px dashed var(--border-light);
  border-radius: 20px;
  padding: 64px 32px;
  max-width: 680px;
  margin: 20px auto 40px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.projects-empty-icon,
.products-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #e0f2fe;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.projects-empty-title,
.products-empty-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.projects-empty-desc,
.products-empty-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 0;
}

.projects-empty-actions,
.products-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.contact-section {
  padding: 40px 24px 90px 24px;
  background-color: #ffffff;
}

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

.contact-actions-wrapper {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.contact-action-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.contact-card-whatsapp:hover {
  border-color: #25d366;
}

.contact-card-email:hover {
  border-color: var(--primary-blue);
}

.contact-card-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-whatsapp {
  background-color: #eafaf1;
  color: #25d366;
}

.icon-box-email {
  background-color: #e0f2fe;
  color: var(--primary-blue);
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-card-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-action-card:hover .contact-card-arrow {
  transform: translateX(4px);
}

.contact-card-whatsapp:hover .contact-card-arrow {
  color: #25d366;
}

.contact-card-email:hover .contact-card-arrow {
  color: var(--primary-blue);
}

.footer-section {
  background-color: var(--primary-blue);
  padding: 20px 24px 40px 24px;
  text-align: center;
  color: #ffffff;
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .navbar-pill {
    gap: 14px;
    padding: 8px 16px;
  }

  .navbar-toggle-btn {
    display: inline-flex;
  }

  .navbar-links {
    display: none;
  }

  .timeline-wrapper::before {
    left: 24px;
  }

  .timeline-item {
    justify-content: flex-start !important;
    padding-left: 48px;
  }

  .timeline-card {
    width: 100%;
  }

  .timeline-node {
    left: 24px;
  }

  .contact-actions-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-action-card {
    min-width: 100%;
  }
}

@media (max-width: 540px) {
  .page-title {
    font-size: 28px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-description {
    font-size: 14px;
  }

  .timeline-card {
    padding: 16px 18px;
  }
}

.cv-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.cv-modal-overlay.active {
  display: flex;
}

.cv-modal-card {
  background-color: #ffffff;
  color: #1e293b;
  border-radius: 16px;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
}

.cv-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  background-color: #f8fafc;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.cv-modal-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cv-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.cv-modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.cv-modal-close-btn:hover {
  color: var(--text-dark);
  background-color: #e2e8f0;
}

.cv-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  background-color: #f1f5f9;
}

.cv-preview-sheet {
  background-color: #ffffff;
  color: #1e293b;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 32px 36px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.cv-header-twocol {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 8px 10px 4px 10px;
}

.cv-header-twocol-main {
  flex: 1;
  text-align: center;
  position: relative;
}

.cv-header-title {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 800;
  color: #334155;
  letter-spacing: 5px;
  margin-bottom: 5px;
}

.cv-header-subtitle {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 3.5px;
}

.cv-header-photo-frame {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 84px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.cv-header-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cv-header-divider {
  height: 1.5px;
  background-color: #cbd5e1;
  margin: 14px 0 16px 0;
}

.cv-grid-twocol {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 20px;
}

.cv-col-left {
  border-right: 1.5px solid #cbd5e1;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cv-col-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cv-col-section {
  display: flex;
  flex-direction: column;
}

.cv-badge-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cv-circle-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #e2e8f0;
  color: #475569;
  font-weight: 700;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cv-section-name {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #1e293b;
}

.cv-inner-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 4px 0;
}

.cv-contact-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 10.5px;
  color: #334155;
}

.cv-contact-row {
  display: flex;
  align-items: center;
  gap: 7px;
  word-break: break-word;
}

.cv-contact-row svg {
  flex-shrink: 0;
  color: #64748b;
}

.cv-contact-row a {
  color: var(--primary-blue);
  text-decoration: none;
}

.cv-contact-row a:hover {
  text-decoration: none;
}

.cv-edu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cv-edu-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cv-edu-year {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}

.cv-edu-school {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.cv-bullet-item {
  font-size: 10px;
  color: #334155;
}

.cv-bullets-compact {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10px;
  color: #334155;
  line-height: 1.4;
}

.cv-summary-para {
  font-size: 10.5px;
  color: #334155;
  line-height: 1.6;
  text-align: justify;
}

.cv-summary-para + .cv-summary-para {
  margin-top: 6px;
}

.cv-exp-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cv-exp-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cv-exp-topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.cv-exp-company {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
}

.cv-exp-company-sub {
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
}

.cv-exp-dates {
  font-size: 9.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.cv-exp-role {
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
}

.cv-bullets-detailed {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 10px;
  color: #334155;
  line-height: 1.45;
}

.cv-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-top: 1px solid var(--border-light);
  background-color: #f8fafc;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  gap: 12px;
}

.cv-modal-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cv-ats-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  color: #000000;
}

.cv-ats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #000000;
  text-align: left;
}

.cv-ats-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cv-ats-name {
  font-size: 22px;
  font-weight: 800;
  color: #000000;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 2px;
}

.cv-ats-title {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: left;
  margin-top: 2px;
  margin-bottom: 6px;
}

.cv-ats-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 4px 8px;
  font-size: 11px;
  color: #000000;
  text-align: left;
}

.cv-ats-contacts-links {
  margin-top: 4px;
}

.cv-ats-contacts a {
  color: #000000;
  text-decoration: none;
}

.cv-ats-contacts a:hover {
  text-decoration: none;
}

.cv-ats-contact-sep {
  color: #000000;
}

.cv-ats-photo-box {
  width: 75px;
  height: 100px;
  border-radius: 6px;
  border: 1.5px solid #000000;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #ffffff;
}

.cv-ats-photo {
  width: 75px;
  height: 100px;
  object-fit: cover;
  display: block;
}

.cv-ats-section {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cv-ats-heading {
  font-size: 13px;
  font-weight: 800;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1.5px solid #000000;
  padding-bottom: 3px;
  margin: 0 0 8px 0;
  text-align: left;
}

.cv-ats-text {
  font-size: 11px;
  line-height: 1.6;
  color: #000000;
  text-align: left;
  margin: 0;
}

.cv-ats-text + .cv-ats-text {
  margin-top: 6px;
}

.cv-ats-entry {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}

.cv-ats-entry:last-child {
  margin-bottom: 0;
}

.cv-ats-item-header {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cv-ats-org {
  font-size: 11.5px;
  font-weight: 700;
  color: #000000;
  text-align: left;
}

.cv-ats-subtext,
.cv-ats-location {
  font-size: 11px;
  font-weight: 500;
  color: #000000;
}

.cv-ats-sep {
  color: #000000;
  margin: 0 4px;
}

.cv-ats-sub {
  font-size: 11px;
  color: #000000;
  text-align: left;
}

.cv-ats-role {
  font-weight: 600;
  font-style: italic;
  color: #000000;
  text-align: left;
}

.cv-ats-date {
  color: #000000;
  font-weight: 500;
  font-size: 10.5px;
  text-align: left;
}

.cv-ats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  text-align: left;
}

.cv-ats-institution {
  font-size: 11.5px;
  font-weight: 700;
  color: #000000;
}

.cv-ats-list {
  list-style: disc;
  margin: 4px 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cv-ats-list li {
  font-size: 11px;
  color: #000000;
  line-height: 1.5;
}

.cv-ats-skills-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #000000;
  line-height: 1.5;
}

.cv-ats-skills-line strong {
  color: #000000;
}

@media (max-width: 680px) {
  .cv-preview-sheet {
    padding: 18px 14px;
  }

  .cv-ats-header {
    gap: 12px;
  }

  .cv-ats-photo-box {
    width: 60px;
    height: 80px;
  }

  .cv-header-twocol {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .cv-header-title {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .cv-header-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .cv-grid-twocol {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cv-col-left {
    border-right: none;
    border-bottom: 1.5px solid #cbd5e1;
    padding-right: 0;
    padding-bottom: 16px;
  }

  .cv-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .cv-modal-footer-actions {
    flex-direction: column;
    width: 100%;
  }

  .cv-modal-footer-actions .btn-small {
    width: 100%;
    justify-content: center;
  }

  #cvModalKembaliBtn {
    width: 100%;
    justify-content: center;
  }
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: var(--primary-blue);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.1s linear;
}

.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: #ffffff;
  border: 1.5px solid var(--primary-blue-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-3px) scale(1.06);
}

.scroll-reveal {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.scroll-from-bottom {
  transform: translateY(28px);
}

.scroll-reveal.scroll-from-top {
  transform: translateY(-28px);
}

.scroll-reveal.scroll-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.scroll-reveal:nth-child(even).scroll-from-bottom {
  transform: translateY(28px) translateX(12px);
}

.timeline-item.scroll-reveal:nth-child(odd).scroll-from-bottom {
  transform: translateY(28px) translateX(-12px);
}

.timeline-item.scroll-reveal.scroll-reveal-visible {
  transform: translateY(0) translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .header-container {
    transition: none !important;
    transform: none !important;
  }

  .navbar-pill {
    transition: none !important;
  }
}

