/* ==========================================================================
   Design System & CSS Variables (60:30:10 Rule)
   60% Dominant: #ffffff & #f8fafc (Pure crisp white & soft surface)
   30% Secondary: #0f172a / #475569 / #e2e8f0 (Deep slate text, muted body, subtle lines)
   10% Accent: #0284c7 / #0369a1 (Electric Ocean Blue & primary hovers)
   ========================================================================== */

:root {
  --primary-color: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #f0f9ff;
  --primary-border: #bae6fd;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;

  --bg-main: #ffffff;
  --bg-surface: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;

  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.65;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Desktop Navigation */
.desktop-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 5%;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  position: relative;
}

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

.lang-selector {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: inherit;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
}

.lang-selector:hover {
  border-color: var(--primary-color);
  background: var(--bg-main);
}

/* Sections Global Structure */
section,
header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 5% 70px;
}

/* Section Titles */
section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1.75rem;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Header / Hero Section */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88vh;
  gap: 3.5rem;
}

.text {
  flex: 1.2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.text h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  transition: all 0.25s ease;
}

.hero-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.hero-avatar-wrapper {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-avatar-wrapper::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

header img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

header img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
}

/* About Section */
#tentang {
  position: relative;
}

#tentang p {
  max-width: 860px;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

#tentang p strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Projects Section - Minimalist & Modern Grid (Card reduction) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.project-card {
  background-color: var(--bg-card);
  border-radius: 14px;
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-lg);
}

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

.project-card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.project-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-left: 0.75rem;
  white-space: nowrap;
}

.status-active {
  background-color: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.status-completed {
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-dev {
  background-color: #fffbe6;
  color: #b45309;
  border: 1px solid #fef08a;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background-color: var(--bg-secondary);
  color: var(--text-muted);
  border-radius: 6px;
  font-size: 0.785rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.project-card:hover .tech-tag {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.project-category {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.project-description {
  margin-top: auto;
}

.project-description p {
  font-size: 0.935rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Contact Section - Clean Specs & Link Rows (Card Reduction) */
.kontak-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.kontak-info {
  background-color: var(--bg-surface);
  padding: 2rem 2.25rem;
  border-radius: 14px;
  border-left: 3px solid var(--primary-color);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kontak-info p {
  margin-bottom: 1.1rem;
  color: var(--text-main);
  font-size: 1rem;
}

.kontak-info p:last-child {
  margin-bottom: 0;
}

.kontak-info strong {
  display: inline-block;
  width: 90px;
  color: var(--primary-color);
  font-weight: 600;
}

.kontak-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-card {
  display: flex;
  align-items: center;
  padding: 1.1rem 1.35rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.contact-card:hover {
  transform: translateX(4px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-main);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--bg-secondary);
  color: var(--primary-color);
  border-radius: 10px;
  margin-right: 1.1rem;
  transition: all 0.25s ease;
}

.contact-card:hover .contact-icon {
  background-color: var(--primary-color);
  color: #ffffff;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Modern Footer */
/* ==========================================================================
   Modern Footer Section (Sleek, Minimal, & Professional)
   ========================================================================== */
.modern-footer {
  background-color: #0b0f17;
  color: #f8fafc;
  padding: 4.5rem 5% 2.5rem;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 50%, #818cf8 100%);
}

.footer-ambient-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(ellipse at center, rgba(2, 132, 199, 0.12) 0%, rgba(11, 15, 23, 0) 70%);
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-logo {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.logo-dot {
  color: var(--primary-color);
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #cbd5e1;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.footer-nav-title {
  display: block;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.footer-navigation,
.footer-connect {
  display: flex;
  flex-direction: column;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.935rem;
  transition: all 0.25s ease;
  width: fit-content;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.5);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #cbd5e1;
  font-size: 0.825rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.back-to-top:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   Education Timeline Section (Seamless Minimal Connected Line, No Cards)
   ========================================================================== */
.education-timeline-container {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border-color);
}

.education-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.education-subtitle::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 18px;
  background-color: var(--primary-color);
  border-radius: 4px;
}

.education-timeline {
  position: relative;
  padding-left: 2.25rem;
}

.education-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color) 0%, var(--border-color) 70%, transparent 100%);
  border-radius: 2px;
}

.education-item {
  position: relative;
  margin-bottom: 2.25rem;
  transition: transform 0.25s ease;
}

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

.education-marker {
  position: absolute;
  left: -2.25rem;
  top: 4px;
  transform: translateX(-50%);
  z-index: 2;
}

.marker-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2.5px solid var(--text-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-item.current .marker-dot {
  border-color: var(--primary-color);
  background: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-light), 0 0 12px rgba(2, 132, 199, 0.4);
  animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(2, 132, 199, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
  }
}

.education-item:hover .marker-dot {
  border-color: var(--primary-color);
  transform: scale(1.2);
}

.education-content {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.education-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.education-years {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 3px 12px;
  border-radius: 20px;
  display: inline-block;
}

.education-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-secondary);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.education-school {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.education-item:hover .education-school {
  color: var(--primary-color);
}

.education-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   Mobile Responsive Navigation & Mobile Layout (PRESERVED)
   ========================================================================== */

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-lang-toggle {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 4px;
    margin-right: 6px;
  }

  .mobile-lang-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-lang-btn:hover,
  .mobile-lang-btn:active {
    background: var(--primary-light);
    color: var(--primary-color);
  }

  .lang-popup {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
    padding: 6px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  .lang-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .lang-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: background-color 0.15s ease;
    text-align: left;
  }

  .lang-option:hover {
    background-color: var(--bg-secondary);
  }

  .lang-option.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
  }

  .mobile-floating-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.08));
  }

  .mobile-nav-pill {
    position: relative;
    background-color: var(--bg-card);
    height: 65px;
    border-radius: 0 0 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mobile-nav-links {
    display: flex;
    width: calc(50% - 46px);
    justify-content: space-around;
    align-items: center;
  }

  .mobile-nav-item {
    color: var(--text-muted);
    display: flex;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-nav-item.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
  }

  .mobile-nav-item:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
    transform: translateY(-2px);
  }

  .mobile-nav-center {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
  }

  .mobile-logo-circle {
    width: 88px;
    height: 88px;
    background-color: var(--bg-card);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .mobile-logo-circle:hover {
    transform: scale(1.05);
  }

  .mobile-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
  }

  header {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 110px;
    justify-content: center;
    min-height: auto;
    gap: 2rem;
  }

  .text {
    width: 100%;
  }

  .text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-avatar-wrapper {
    width: 100%;
  }

  header img {
    width: 65%;
    max-width: 280px;
  }

  section h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  section h2 {
    text-align: center;
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-links {
    align-items: center;
  }

  .footer-links a:hover {
    transform: none;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 1.5rem;
    text-align: center;
  }

  .kontak-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-card {
    padding: 1.5rem;
  }

  .education-timeline-container {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }

  .education-subtitle {
    font-size: 1.2rem;
  }

  .education-timeline {
    padding-left: 1.75rem;
  }

  .education-timeline::before {
    left: 5px;
  }

  .education-marker {
    left: -1.75rem;
  }
}