body {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 80px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  padding-left: 32px;
  z-index: 100;
}

.left_header_text {
  display: flex;
  align-items: center;
  position: relative;
}

.header-slash-job {
  display: flex;
  align-items: center;
  margin-left: 10px;
  position: relative;
}

.header-slash {
  font-size: 38px;
  font-weight: 900;
  color: #2176d2;
  line-height: 1;
  margin-right: 16px;
  z-index: 2;
  user-select: none;
}

.header-jobtitles {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 100;
  letter-spacing: 1px;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing:4px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-progress-container {
  position: absolute;
  right: 7vw;
  padding-top: 15px;
  width: 400px;
  height: 40px;
  display: flex;
  align-items: center;
}

.nav-line-bg {
  position: absolute;
  width: 100%;
  height: 4px;
  background: #eee;
  border-radius: 2px;
}

.nav-line-fill {
  position: absolute;
  width: 0%; /* Updated via JS */
  height: 4px;
  background: #2176d2;
  border-radius: 2px;
  z-index: 2;
}

.nav-points {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}

.nav-point {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 50%;
  position: relative;
  transition: border-color 0.3s, background 0.3s, transform 0.2s ease, background-color 0.3s ease;;
  cursor: pointer;
  pointer-events: all;
}

.nav-point:hover {
  transform: scale(1.1);
  background-color: #2176d2; /* Match your theme color */
}

/* Label above the point */
.nav-point::after {
  content: attr(data-label);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.3s;
}

/* Active state for points */
.nav-point.active {
  border-color: #2176d2;
  background: #2176d2;
}

.nav-point.active::after {
  color: #2176d2;
}

.persona-card{
    width:20vw; 
    height: 55vh; 
    margin-left: 30%;
    top: 25vh;
    position: absolute;
    z-index:1; 
    background: #e7e3dc; 
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    z-index: 1;
    display: flex;
    flex-direction: column;    
}

.media-bar {
    height: 12%; 
    min-height: 35px;
    width: 100%; 
    position: relative; 
    z-index: 2; 
    background:white; 
    display:flex; 
    align-items:center; 
    justify-content: center;
    gap: 15%;
}

.media-bar a, .media-bar img {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    height:25px;
    width:25px;
}

.media-bar a:hover {
    color: #555;
}

.media-bar i {
    font-size: 25px;
}

.persona-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15%;
    flex-grow: 1;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    justify-content: flex-start;
}

.portret{
    width:50%;
    position: relative;
    object-fit: cover;
    border-radius: 50%;
}

.persona-line{
  width: 30%; 
  height: 3%; 
  background: #4a90e2; 
  margin: 8px auto; 
  border-radius: 2px;
}


/* Left background rectangle*/
.left-bg {
  position: absolute;
  padding-top: 80px;
  left: 0;
  width: 45vw;
  height: calc(100vh - 80px);
  background-color:#e9dac8;
  /*background: linear-gradient(to bottom, #e9dac8 80%, transparent 100%);*/
  z-index: 0;
}

/* My introduction */
.about {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  padding-top: 80px;
  width: 100%;
  height: calc(100vh - 80px);
}

.scroll-down-indicator {
  position: absolute;
  left: 20vw;
  top: 53%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  z-index: 1;
}

.scroll-down-indicator span {
  color: #999;
  font-family: 'Segoe UI', sans-serif;
  font-size: 2.5vh;
  font-weight: 500;
}

.scroll-down-indicator i {
  color: #999;
  font-size: 2vh;
}

.intro-text {
  flex: 1;
  margin-left: 55vw;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 0;
  opacity: 0;
  gap: 1.5vh;
}

.intro-text h1 {
  font-family: 'Arial Narrow', 'Segoe UI', Arial, sans-serif;
  font-size: 11vh;
  font-stretch: expanded;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0;  
}

.intro-text h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  font-size: 2.5vh;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    font-size: 2vh;
    padding-bottom: 2vh;
}

.overlay-btn, .send-btn, .projects-btn {
  background-color: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 2vw;
  padding: 0.8vw 2vw;
  font-size: 2vh;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(34, 112, 200, 0.08);
  min-width: fit-content;
}

.overlay-btn:hover, .send-btn:hover, .projects-btn:hover {
  background-color: #185a9d;
}

.projects-btn {
  width: 20%;
}

.send-btn {
  width: 50%;
  margin-top: 20px;
}


/* Skills section */

.skills-wrapper {
  display: flex;
  width: calc(100vw - 20% - 20%);
  height: calc(100vh - 80px);
  position: absolute;
  top: 80px;
  left: 20%;
  z-index: 5;
  opacity: 0; /* Begin onzichtbaar */
  pointer-events: none;
  justify-content: center;
}

.education-wrapper {
  display: flex;
  width: calc(100vw - 20%);
  height: calc(100vh - 80px);
  position: absolute;
  top: 80px;
  z-index: 5;
  opacity: 0; /* Begin onzichtbaar */
  pointer-events: none;
  justify-content: flex-end;
}

.skills-wrapper {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.skills-sidebar {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills-title, .education-title {
  width: 100%;
  margin-bottom: 20px;
  letter-spacing: 0.35vw;
  margin-top: 15%;
  border-top: 0.35vh solid white;
  border-bottom: 0.35vh solid white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.skills-title {
  font-size: 6vh;
  font-weight: 450;
}

.subtitle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 40px;
}

.skills-subtitle, .education-text {
  font-size: 2vh;
  font-weight: 100;
  letter-spacing: 2px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.skills-tier-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.tier-label {
  flex: 0 0 160px;
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-weight: 550;
  font-size: 20px;
  letter-spacing: 1px;
  text-align: center;
  border-radius: 20px;
  margin-right: 20px;
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

/* Tier Colors */
.expert { background-color: #2176d2; color: white; }
.proficient { background-color: #4a90e2; color: white; }
.familiar { background-color: #e9dac8; color: #333; }
.interpersonal {background-color: #a3b18a; color: white;}

.tier-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pill {
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.15);
  transition: transform 0.2s;
}

.skill-pill:hover {
  transform: translateY(-2px);
  background: #bbe6ff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}



/* Education and Experience section*/

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 85%;
  height: 55%;
  margin-top: 30px;
  align-items: start;
}

.skill-tier {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  height: 80%;
  y: 0;
  background: #fdfcfb; /* Slightly lighter than the sidebar for contrast */
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
}

.skill-tier:hover {
  background: #f3f2f2;
}

.tier-heading {
  font-family: 'Segoe UI', sans-serif;
  font-size: 2.5vh;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: #2176d2; /* Use your signature blue for headers */
  border-bottom: 2px solid #e9dac8;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.skills-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 85%;
  padding-bottom: 40px;
}

.mindset-section, .language-section {
  padding: 24px;
  background: rgba(233, 218, 200, 0.3); /* Transparent version of your tan */
  border-radius: 15px;
}

.mindset-section h3,
.language-section h3 {
  margin: 0 0 16px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 2.5vh;
  letter-spacing: 1px;
  color: #2176d2;
}

.language-section h3 {
  margin-bottom: 10px;
}

.mindset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-skill {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  width: 80%;
  padding-left: 5%;
}

.language-skill:last-child {
  margin-bottom: 0;
}

.language-skill-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.language-name,
.language-proficiency {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.7vh;
  color: #333;
  font-weight: 600;
}

.language-proficiency {
  color: #2176d2;
  opacity: 0;
}

.language-bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #eee;
  overflow: hidden;
  border: 1px solid #ccc;
}

.language-level {
  display: block;
  height: 100%;
  background: #2176d2; 
}

.education-sidebar {
  width: 100%;
  height: 100%;
  opacity: 1;
  top: 80;
  pointer-events: all;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  y: 0;
}

.education-title{
  padding: 2%;
  font-size: 3vh;
  font-weight: 600;
}

.education-text-container {
  margin-left: 2vw;
  margin-right: 2vw;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-container {
  display: flex;
  width: 90%;
  gap: 40px;
  padding: 40px 0;
  justify-content: center;
}

.roadmap-column {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.roadmap-header {
  font-family: 'Arial Narrow', sans-serif;
  position: relative;
  font-size: 2rem;
  letter-spacing: 2px;
  color: #2176d2;
  margin-bottom: 30px;
  left: 4vw;
  width: 60%;
  font-weight: 530;
}

/* Timeline Logic */
.timeline {
  position: relative;
  padding-left: 25%;
}

/* The vertical line */
.timeline:before {
  content: '';
  position: absolute;
  left: calc(25% - 27px);
  top: 15px;
  width: 2px;
  height: var(--line-height, 0%);
  background: rgba(30, 41, 59, 0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

/* The dots on the line */
.timeline-dot {
  position: absolute;
  left: -35px; /* Centers dot on the line */
  top: 5px;
  width: 12px;
  height: 12px;
  background: #4a90e2;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 2;
}

.timeline-content {
  font-family: 'Segoe UI', sans-serif;
}

.timeline-date {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.timeline-content h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.timeline-content p {
  margin: 5px 0 0;
  font-size: 0.95rem;
  color: #666;
}



/* projects section */

.projects-stage {
  width: 100%;
  height: 100%;
  overflow: hidden; /* Clips cards on the left/right */
  position: relative;
  /* Extra space at the top so titles don't get clipped by .projects-stage */
  opacity: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.projects-ui-container {
  width: 80%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Filter Bar */
.project-upper-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding-top: 2vh;
}

.filter-space {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px;
  padding-bottom : 0;
}

.project-main-title {
  font-family: 'Arial Narrow', sans-serif;
  font-size: 5vh;
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 10vw;  
}

.filter-btn {
  background: transparent;
  border: 1px solid #4a90e2;
  padding: 6px 20px;
  border-radius: 15px;
  cursor: pointer;
  font-family: sans-serif;
  transition: 0.3s;
  height: 60%;
}

.filter-btn.active, .filter-btn:hover {
  background: #4a90e2;
  color: white;
}

/* Scroll Window */
.projects-scroll-window {
  flex-grow: 1;
  height: 0;
  overflow: hidden; /* We handle scrolling via GSAP */
  position: relative;
  padding: 20px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  transition: transform 0.5s ease-out;
}

/* Vertical Scrollbar Slider */
.projects-slider {
  width: 20px;
  height: 70%;
  margin-top: 15vh;
  padding-left: 20px;
}

/* Ensure the track doesn't grow beyond the container */
.slider-track {
  width: 6px;
  height: 100%; 
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  overflow: hidden; /* Keeps the knob from appearing to "leak" out */
}

.slider-knob {
  width: 6px;
  height: 100%;
  background: #4a90e2;
  border-radius: 3px;
  position: absolute;
  top: 0;
  cursor: grab;
  transition: background 0.2s;
  min-height: 20px;
}

.slider-knob:hover {
  background: #357abd;
  cursor: grab;
}

.slider-knob:active {
  cursor: grabbing;
}

/* Project Card */
.project-card {
  transform-origin: top;
  margin-bottom: 20px;
  opacity: 1;
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  cursor: pointer;
  max-height: 140px;
  overflow: hidden;
  outline : 2px solid rgba(0,0,0,0.2);
}

.project-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  outline: 2px solid #4a90e2;
}

.card-main-info {
  display: flex;
  gap: 20px;
  height: 140px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 100%;
}

.project-title {
  font-family: 'Arial Narrow', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.project-img {
  width: 140px;
  height: 100%;
  object-fit: cover;
  outline : 2px solid rgba(0,0,0,0.2);
}

.project-details {
  flex-grow: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  width: 250px;
  overflow: hidden;
}


.project-desc-short { 
  color: #666;
  font-size: 0.95rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 250px; 

  white-space: normal; 
  word-wrap: break-word;

  margin: 0;
  padding-right: 20px;
}

/* Expansion Logic */
.card-expanded-info {
  opacity: 0;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 3vh;
}


.project-card.is-expanded .project-desc-short {
  opacity: 0;
  width: 0;
  pointer-events: none;
}

.expanded-text {
  padding-left: 20px;
  padding-top: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  width: 80%;
}

.expanded-grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.expanded-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
  justify-content: space-between;
}

.project-actions {
  margin-top: auto;
  margin-bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.expanded-workflow, .expanded-column {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

.expanded-column {
  width: 50%;
}

.expanded-workflow {
  width: 100%;
}

.expanded-workflow h4, .expanded-column h4 {
  font-family: 'Arial Narrow', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 0px;
}

.expanded-workflow p, .expanded-column p {
  margin: 10px 0;
}

.project-card.is-expanded .card-expanded-info {
  opacity: 1;
}

.results-img {
 width: 100%;
}


/* Contact Section */
.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-content: center;
  text-align: center;
}

.contact-text-container {
  max-width: 600px;
  margin: 0 auto;
}

.email-title {
  font-family: 'Arial Narrow', sans-serif;
  font-size: 6vh;
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 0;
  margin-bottom: 20px;
}

/* Email Section */
.email-section {
  position: absolute;
  top: 27.5vh;
  left: 45vw;
  width: 25vw;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: all;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  z-index: 2;
}

.email-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 80%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-group label {
  font-size: 1.2vh;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #d0c7ba;
  border-radius: 4px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1vh;
  background-color: #fefdfb;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.2vh;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background-color: #185a9d;
}

.submit-btn:active {
  transform: scale(0.98);
}

.form-sent-message{
  display:none; 
  color: green; 
  margin-top: 10px;
}