:root {
  /* --- Cyberpunk / Modern Dark Theme --- */
  --c-bg: #050505;
  --c-bg-alt: #0a0a0a;
  --c-primary: #00f2ea; /* Neon Cyan */
  --c-secondary: #ff0050; /* Neon Red/Pink */
  --c-text-main: #ffffff;
  --c-text-muted: #94a3b8;
  --c-card-bg: rgba(255, 255, 255, 0.03);
  --c-card-border: rgba(255, 255, 255, 0.08);
  --c-glass: rgba(0, 0, 0, 0.7);
  
  --font-heading: "Outfit", sans-serif;
  --font-main: "Poppins", sans-serif;
  
  --shadow-glow: 0 0 20px rgba(0, 242, 234, 0.3);
  --gradient-text: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background-color: var(--c-bg);
  font-family: var(--font-main);
  color: var(--c-text-main);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none; /* Hide default cursor */
}

h1, h2, h3, h4, h5, h6, .nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-text-main);
}

/* --- Reusable Components --- */
.section-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 60px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  width: 100%;
}

.btn-cta, .btn-submit {
  padding: 12px 30px;
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 242, 234, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta:hover, .btn-submit:hover {
  background: var(--c-primary);
  color: #000;
  box-shadow: 0 0 25px rgba(0, 242, 234, 0.6);
  transform: translateY(-3px);
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* --- Header & Navbar (Floating Glass) --- */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%; /* Mobile par thoda aur wide */
  max-width: 1100px;
  z-index: 100;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-card-border);
  border-radius: 50px;
  padding: 10px 30px;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 45px;
  width: auto;
  border-radius: 50%;
  border: 2px solid var(--c-primary);
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--c-primary);
  text-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
}

.bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--c-text-main);
}

main {
  padding-top: 120px;
}

/* --- Intro Section --- */
.intro-wrapper {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  max-width: 1100px; /* Header ke barabar width */
  margin: 0 auto;
  padding: 0 25px; /* Side padding badha di */
}

/* Mobile Order: Text -> Image -> Actions */
.intro-text { order: 1; }
.intro-image { order: 2; margin: 20px 0; }
.intro-actions { order: 3; }

@media (min-width: 992px) {
  .intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content min-content;
    text-align: left;
    align-content: center;
    gap: 10px 40px;
  }
  
  .intro-text {
    order: unset;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    margin-bottom: 0;
  }
  .intro-actions {
    order: unset;
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
    align-self: start;
  }
  .intro-image {
    order: unset;
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    justify-self: center;
    align-self: center;
  }
}

.intro-text {
  margin-top: 30px;
}

.intro-text h1 {
  line-height: 1.1;
  margin: 20px 0;
  font-size: 3rem;
}

.headline-hello {
  display: block;
  font-size: 0.5em;
  color: var(--c-primary);
  margin-bottom: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.headline-main {
  display: block;
  font-weight: 800;
}

.headline-name {
  color: var(--c-text-main);
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 0px var(--c-secondary);
}

.headline-name:hover {
  animation: glitch-skew 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
  color: var(--c-primary);
  text-shadow: 2px 2px 0px var(--c-secondary), -2px -2px 0px var(--c-primary);
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(-10deg); }
  40% { transform: skew(10deg); }
  60% { transform: skew(-5deg); }
  80% { transform: skew(5deg); }
  100% { transform: skew(0deg); }
}

.intro-text .subtitle {
  font-size: 1.2em;
  color: var(--c-text-muted);
  margin: 10px 0 30px 0;
  min-height: 1.6em;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: var(--c-secondary);
  animation: blink-caret 0.75s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}

@keyframes blink-caret { from, to { opacity: 1; } 50% { opacity: 0; } }

.intro-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: center;
}
@media (min-width: 992px) {
  .intro-actions { justify-content: flex-start; }
}

.intro-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-pic {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid transparent;
  background: linear-gradient(var(--c-bg), var(--c-bg)) padding-box,
              linear-gradient(45deg, var(--c-primary), var(--c-secondary)) border-box;
  box-shadow: 0 0 30px rgba(0, 242, 234, 0.2);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: var(--c-text-main);
  font-size: 1.2em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.social-icon:hover {
  background-color: transparent;
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 242, 234, 0.4);
}

.scroll-indicator-container {
  text-align: center;
  margin-top: -40px;
  margin-bottom: 40px;
  animation: bounce 2s infinite;
  position: relative;
  z-index: 10;
}

.scroll-indicator {
  color: var(--c-text-muted);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* --- About & Journey Section --- */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 60px auto;
  align-items: center;
  padding: 0 25px;
}

@media (min-width: 768px) {
  .content-wrapper { grid-template-columns: 0.8fr 1.1fr; }
}

.about-me {
  background: var(--c-card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-card-border);
  border-radius: 20px;
  padding: 35px;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease;
}

.about-me:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
}

.about-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 350px;
  border-radius: 15px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.about-image:hover {
  filter: grayscale(0%);
}

.journey-wrapper {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 25px;
}

.about-me h2 {
  margin-top: 0;
  margin-bottom: 25px;
  color: var(--c-primary);
  font-size: 1.3em;
}

.about-me p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--c-text-muted);
}

.about-me strong {
  color: var(--c-text-main);
  font-weight: 600;
}

.about-me a {
  color: var(--c-primary);
  text-decoration: none;
}

.timeline-container {
  position: relative;
  border-left: 2px solid var(--c-card-border);
  margin-left: 10px;
}


.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 35px;
}

.timeline-content {
  background: var(--c-card-bg);
  border: 1px solid var(--c-card-border);
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 25px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--c-primary);
  box-shadow: 0 0 10px var(--c-primary);
}

.timeline-item:hover .timeline-content {
  transform: translateX(10px);
  border-color: var(--c-primary);
}

.timeline-note {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  font-style: italic;
  margin-top: 5px;
}

.timeline-content h3 {
  margin: 0 0 4px 0;
  color: var(--c-text-main);
  font-size: 1.05em;
}

.timeline-content .timeline-meta {
  font-size: 0.85em;
  color: var(--c-secondary);
}

/* --- Skills & Projects Section --- */
.interactive-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 25px;
}

.tab-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 20px;
}

.tab-btn {
  padding: 10px 25px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1em;
  color: var(--c-text-muted);
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.tab-btn.active, .tab-btn:hover {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
  text-shadow: 0 0 10px rgba(0, 242, 234, 0.4);
}

.tab-pane { display: none; animation: fadeIn 0.5s ease; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.skills-category {
  margin-bottom: 30px;
}

.skills-category h3 {
  color: var(--c-primary);
  margin-bottom: 20px;
  font-size: 1.1em;
  text-align: center;
}

.soft-skill-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.soft-skill-tag {
  background: var(--c-card-bg);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  color: var(--c-text-main);
  border: 1px solid var(--c-card-border);
  transition: all 0.3s ease;
}

.soft-skill-tag:hover {
  border-color: var(--c-secondary);
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.4);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  justify-items: center;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85em;
  color: var(--c-text-muted);
  transition: all 0.3s;
  padding: 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); /* Thoda sa visible background */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Halka sa border */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Depth ke liye shadow */
  width: 100%;
}

.skill-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-text-main);
  transform: translateY(-5px);
}

/* Skill Item Shine Effect */
.skill-item {
  position: relative;
  overflow: hidden;
}

.skill-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-25deg);
  transition: 0.5s;
  pointer-events: none;
}

.skill-item:hover::after {
  left: 150%;
  transition: 0.7s ease-in-out;
}

.skill-item i {
  font-size: 2.5em;
  color: var(--c-primary);
  margin-bottom: 5px;
}

.project-grid {
  display: grid;
  gap: 20px;
}

.project-card {
  background: var(--c-card-bg);
  padding: 25px;
  border-radius: 15px;
  text-align: left;
  border: 1px solid var(--c-card-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 320px; /* Height badha di taaki image dikhe */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Text ko niche shift kiya */
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--c-secondary);
}

/* Project Card Scanline Effect */
.project-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to bottom, transparent, var(--c-primary), transparent);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 15px var(--c-primary);
}

.project-card h3 {
  color: var(--c-text-main);
  margin-bottom: 10px;
}

.project-card p {
  color: var(--c-text-muted);
  margin-bottom: 15px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-color: var(--c-secondary);
}

.project-card:hover::after {
  animation: scanline 2s linear infinite;
  opacity: 0.8;
}

@keyframes scanline {
  0% { top: -20%; }
  100% { top: 120%; }
}

/* --- Project Card Background Images --- */
.project-logvigil {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.95)), url('L0gVigil.svg');
  background-size: cover;
  background-position: center;
}

.project-logvigil:hover {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.85)), url('L0gVigil.svg');
}

.project-router {
  /* Fixed filename case & added light overlay */
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.95)), url('R0uteR.png');
  background-size: cover;
  background-position: center;
}

.project-router:hover {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.85)), url('R0uteR.png');
}

.project-fxtoor {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.95)), url('fxtoor.png');
  background-size: cover;
  background-position: center;
}

.project-fxtoor:hover {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.85)), url('fxtoor.png');
}

.project-portfolio {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.95)), url('portfolio.png');
  background-size: cover;
  background-position: center;
}

.project-portfolio:hover {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.85)), url('portfolio.png');
}

.project-links a {
  color: var(--c-primary);
  margin-right: 15px;
  font-size: 0.9em;
  text-decoration: none;
  font-weight: 600;
}

/* --- Contact Section --- */
.contact {
  margin: 60px auto;
  border-radius: 15px;
  padding: 25px;
  max-width: 700px;
  background: transparent;
}

.contact h2 {
  color: var(--c-text-main);
}

.contact-subtitle {
  color: var(--c-text-muted);
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--c-card-border);
  background-color: rgba(0,0,0,0.3);
  color: var(--c-text-main);
  font-family: var(--font-main);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 10px rgba(0, 242, 234, 0.2);
}

/* --- Form Success State --- */
#form-success-message {
  display: none;
  text-align: center;
  padding: 20px;
}

#form-success-message h3 {
  color: var(--c-primary);
  margin-bottom: 10px;
}

.contact.form-submitted #contact-form,
.contact.form-submitted h2,
.contact.form-submitted .contact-subtitle {
  display: none;
}

.contact.form-submitted #form-success-message {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* --- Cyber Background (Canvas) --- */
#cyber-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--c-primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--c-primary);
  transition: width 0.2s, height 0.2s, background-color 0.2s, left 0.1s ease-out, top 0.1s ease-out;
}

body:hover .cursor-outline.hovered {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 242, 234, 0.1);
  border-color: var(--c-secondary);
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-outline { display: none; }
  body { cursor: auto; }
}

/* --- Modal Styles --- */
.modal {
  display: none;
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal.show-modal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  margin: auto;
  width: 90%;
  max-width: 600px;
  background: #0f0f0f;
  border: 1px solid var(--c-card-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
  animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: var(--c-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
}
.close-button:hover { color: var(--c-secondary); }

/* --- Footer --- */
.site-footer {
  background: transparent;
  padding: 25px 15px;
  color: var(--c-text-muted);
  text-align: center;
  font-size: 14px;
  border-top: 1px solid var(--c-card-border);
}

.site-footer .social-links {
  justify-content: center;
  margin-bottom: 20px;
}

/* Mobile Nav Fix */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px; left: -100%;
    width: 100%;
    background: rgba(10,10,10,0.95);
    flex-direction: column;
    padding: 20px;
    transition: 0.3s;
  }
  .nav-menu.active { left: 0; }
  .hamburger { display: block; }
}

/* --- Back to Top Button --- */
#back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--c-primary);
  color: #000;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2em;
  z-index: 99;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none; /* Not clickable when hidden */
}

#back-to-top-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto; /* Clickable when shown */
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  /* For tablets */
  .content-wrapper,
  .intro-wrapper {
    gap: 20px;
  }
  /* Responsive headline for tablets */
  .headline-hello {
    font-size: 2em;
  }
  .headline-main {
    font-size: 3.0em;
  }
}

@media (max-width: 768px) {
  /* For mobile */

  /* Hide decorative blobs on mobile to prevent layout issues */
  body::before,
  body::after {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px; /* Approx height of the header */
    gap: 0;
    flex-direction: column;
    background-color: rgba(10, 10, 10, 0.95); /* Fixed: Missing variable replaced */
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--c-border);
  }

  .nav-menu.active {
    left: 0;
  }

  .intro-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .intro-text {
    text-align: center;
    order: 1;
  }
  .intro-image {
    order: 2;
  }
  .intro-actions {
    order: 3;
  }
  .profile-pic {
    width: 240px;
    height: 275px;
  }
  .social-links {
    justify-content: center;
  }
  .intro-actions {
    justify-content: center;
    flex-direction: column;
    gap: 25px;
  }
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  .about-image-container {
    order: -1; /* Show image above text on mobile */
  }
  .about-me {
    position: static; /* Reset desktop positioning */
    top: 0;
    margin-top: 20px; /* Use margin for spacing on mobile */
  }

  /* Timeline is already single-column, no major changes needed */
}

@media (max-width: 480px) {
  /* For small mobile phones */
  /* Responsive headline for small phones */
  .headline-hello {
    font-size: 1.8em;
  }
  .headline-main {
    font-size: 2.6em;
  }
  .intro-text .subtitle {
    font-size: 1.1em;
  }