/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
  --bg: #0c0c0f;
  --surface: #13131a;
  --surface-2: #1a1a27;
  --border: #1e1e2e;
  --accent: #3a7a58;
  --accent-light: #6ec4a0;
  --accent-glow: rgba(110, 196, 160, 0.15);
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-secondary: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
}

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

@media (hover: hover) {
  body {
    cursor: none;
  }
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* ===========================
   Custom Cursor (desktop only)
   =========================== */
@media (hover: none) {

  .cursor,
  .cursor-follower {
    display: none !important;
  }
}

.cursor,
.cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  transition: opacity 0.3s, transform 0.08s linear;
  z-index: 10000;
}

.cursor-follower {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(110, 196, 160, 0.45);
  transition: opacity 0.3s, transform 0.15s ease, width 0.2s ease, height 0.2s ease;
}

body.cursor-visible .cursor,
body.cursor-visible .cursor-follower {
  opacity: 1;
}

body.cursor-hovering .cursor-follower {
  width: 44px;
  height: 44px;
  border-color: var(--accent-light);
}

/* ===========================
   Typography
   =========================== */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.section-title span {
  color: var(--accent-light);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* ===========================
   Navbar
   =========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(12, 12, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 2rem;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
}

.nav-cta:hover {
  background: #2d6044 !important;
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   Hero Section
   =========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  display: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 122, 88, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 122, 88, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

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

.hero-logo-wrap {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.hero-logo {
  height: 52px;
  width: auto;
  opacity: 0.9;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(58, 122, 88, 0.1);
  border: 1px solid rgba(58, 122, 88, 0.25);
  color: var(--accent-light);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

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

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

.hero-name {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #e2e8f0 0%, #6ec4a0 45%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.typewriter-text {
  color: var(--accent-light);
  font-weight: 600;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent-light);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  border: none;
  font-family: 'Space Grotesk', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-primary:hover {
  background: #2d6044;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  border: 1px solid var(--border);
  font-family: 'Space Grotesk', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(100, 116, 139, 0.5);
  border-radius: 11px;
  position: relative;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
  }
}

/* ===========================
   Sections Layout
   =========================== */
section {
  padding: 6rem 2rem;
}

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

/* ===========================
   Scroll Reveal
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ===========================
   About Section
   =========================== */
#about {}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-text strong {
  color: var(--accent-light);
  font-weight: 600;
}

.languages-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 2rem 0 0.85rem;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.language-name {
  font-size: 0.88rem;
  font-weight: 500;
  width: 90px;
  flex-shrink: 0;
}

.language-bar-bg {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.language-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s ease;
}

.language-level {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 70px;
  text-align: right;
  flex-shrink: 0;
}

.about-photo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.about-photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: block;
}

.photo-placeholder-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
  overflow: hidden;
}

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

.contact-icon {
  width: 34px;
  height: 34px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.contact-item:hover .contact-icon {
  border-color: rgba(58, 122, 88, 0.5);
  background: rgba(58, 122, 88, 0.08);
}

/* ===========================
   Skills Section
   =========================== */

.skills-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}

.skills-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 0.65rem 1.1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
  bottom: -1px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tab-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
  animation: tab-in 0.3s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes tab-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-description {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.75rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.skill-description strong {
  color: var(--accent-light);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.85rem;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 0.85rem;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
  opacity: 0;
  transform: translateY(8px);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.skill-card:hover {
  border-color: rgba(58, 122, 88, 0.5);
  color: var(--text);
  transform: translateY(-3px) !important;
}

.skill-card.animate {
  animation: skill-appear 0.4s ease forwards;
}

@keyframes skill-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Simple Icons images inside skill cards */
.skill-icon-img {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.5rem;
  display: block;
}

/* Lucide icons inside skill cards */
.skill-icon-lucide {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--accent-light);
}

.skill-icon-lucide svg {
  width: 28px;
  height: 28px;
}

/* AWS */
.aws-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.aws-service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  text-align: center;
  transition: border-color 0.25s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.aws-service.animate {
  animation: skill-appear 0.4s ease forwards;
}

.aws-service:hover {
  border-color: rgba(196, 162, 40, 0.45);
}

.aws-name {
  font-weight: 700;
  color: var(--accent-light);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.aws-desc {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Vibe coding */
.vibe-card {
  background: rgba(58, 122, 88, 0.06);
  border: 1px solid rgba(58, 122, 88, 0.2);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.vibe-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--accent-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vibe-title svg {
  width: 20px;
  height: 20px;
}

.vibe-body {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

.vibe-body strong {
  color: var(--accent-light);
}

/* Soft skills */
.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

.soft-skill-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.25s, color 0.25s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.soft-skill-item.animate {
  animation: skill-appear 0.4s ease forwards;
}

.soft-skill-item:hover {
  border-color: rgba(58, 122, 88, 0.4);
  color: var(--text);
}

.si-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--accent-light);
}

.si-icon svg {
  width: 18px;
  height: 18px;
}

/* ===========================
   Timeline (Experience & Education)
   =========================== */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(58, 122, 88, 0.2);
  transition: box-shadow 0.3s;
}

.timeline-item:hover .timeline-dot {
  box-shadow: 0 0 0 5px rgba(58, 122, 88, 0.28);
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  transition: border-color 0.25s ease;
}

.timeline-card:hover {
  border-color: rgba(58, 122, 88, 0.4);
}

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

.timeline-company {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.timeline-period {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(196, 162, 40, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
}

.timeline-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.timeline-desc strong {
  color: var(--text);
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.tag {
  background: rgba(58, 122, 88, 0.09);
  border: 1px solid rgba(58, 122, 88, 0.2);
  color: var(--accent-light);
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 500;
}

.edu-badge {
  display: inline-block;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: #4ade80;
  padding: 0.18rem 0.65rem;
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ===========================
   CV Section
   =========================== */
#cv {}

.cv-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cv-scroll {
  overflow: hidden;
}

.cv-wrapper {
  width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 270px 1fr;
  font-size: 14px;
}

/* CV Sidebar */
.cv-sidebar {
  background: #1c3d2c;
  color: white;
  padding: 2.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cv-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2.5px solid rgba(196, 162, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Space Grotesk', sans-serif;
  margin: 0 auto;
}

.cv-name-block {
  text-align: center;
}

.cv-name-block h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

.cv-name-badge {
  display: inline-block;
  background: rgba(110, 196, 160, 0.15);
  border: 1px solid rgba(110, 196, 160, 0.3);
  color: #6ec4a0;
  padding: 0.22rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.cv-s-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cv-s-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.cv-about-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.72;
}

.cv-about-text strong {
  color: #6ec4a0;
}

.cv-lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
}

.cv-lang-name {
  color: white;
  font-weight: 500;
}

.cv-lang-dots {
  display: flex;
  gap: 4px;
}

.cv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.cv-dot.filled {
  background: #6ec4a0;
}

.cv-contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}

.cv-contact-link:hover {
  color: #6ec4a0;
}

.cv-contact-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.65;
}

/* CV Main */
.cv-main {
  background: #fafaf9;
  padding: 2.25rem 1.9rem;
  color: #1e1e2e;
}

.cv-main-sec {
  margin-bottom: 1.75rem;
}

.cv-m-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1c3d2c;
  margin-bottom: 0.9rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #d4e8da;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cv-edu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e8f0eb;
  padding-left: 0.85rem;
  position: relative;
}

.cv-edu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  background: #3a7a58;
  border-radius: 50%;
}

.cv-edu-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cv-edu-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: #1e1e2e;
}

.cv-edu-school {
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.cv-edu-special {
  color: #3a7a58;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

.cv-edu-period {
  color: #3a7a58;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.cv-skill-group {
  margin-bottom: 0.75rem;
}

.cv-skill-label {
  font-weight: 700;
  font-size: 0.78rem;
  color: #1c3d2c;
  margin-bottom: 0.18rem;
  padding-left: 0.75rem;
  position: relative;
}

.cv-skill-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: #3a7a58;
  border-radius: 50%;
}

.cv-skill-sub {
  font-weight: 600;
  font-size: 0.72rem;
  color: #3a7a58;
  margin-bottom: 0.1rem;
  margin-top: 0.25rem;
}

.cv-skill-val {
  font-size: 0.77rem;
  color: #4b5563;
  line-height: 1.55;
}

.cv-exp-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8f0eb;
  padding-left: 0.85rem;
  position: relative;
}

.cv-exp-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  background: #3a7a58;
  border-radius: 50%;
}

.cv-exp-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cv-exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cv-exp-company {
  font-weight: 700;
  font-size: 0.82rem;
  color: #1e1e2e;
}

.cv-exp-period {
  color: #3a7a58;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.cv-exp-desc {
  font-size: 0.77rem;
  color: #4b5563;
  line-height: 1.6;
  margin-top: 0.2rem;
}

/* ===========================
   Contact Section
   =========================== */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.contact-card:hover {
  border-color: rgba(58, 122, 88, 0.5);
  transform: translateY(-5px);
}

.cc-icon {
  width: 52px;
  height: 52px;
  background: rgba(58, 122, 88, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.cc-value {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.contact-form-wrap {
  max-width: 580px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  font-family: 'Space Grotesk', sans-serif;
}

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 122, 88, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
}

.contact-status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  min-height: 1.2em;
  text-align: center;
}

.contact-status.success {
  color: var(--accent-light);
}

.contact-status.error {
  color: #f87171;
}

/* ===========================
   Footer
   =========================== */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

footer span {
  color: var(--accent-light);
}

/* ===========================
   Particles
   =========================== */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

section,
footer {
  position: relative;
  z-index: 2;
}

/* ===========================
   Mobile
   =========================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo-area {
    order: -1;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .aws-diagram {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 1.25rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 15, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 90;
  }

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

  .nav-links a {
    font-size: 1.4rem;
  }

  .skills-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
  }

  .tab-btn {
    font-size: 0.8rem;
    padding: 0.55rem 0.85rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Print (CV only)
   =========================== */
@media print {
  body>*:not(#cv) {
    display: none !important;
  }

  #cv {
    padding: 0 !important;
    background: white !important;
  }

  .cv-actions {
    display: none !important;
  }

  .cv-scroll {
    overflow: visible !important;
  }

  .cv-wrapper {
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: 100%;
  }

  .cursor,
  .cursor-follower {
    display: none !important;
  }

  #particles-js {
    display: none !important;
  }
}