
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  height: 100%;
  background-color: #f5f9f6;
  background-image: url('https://www.transparenttextures.com/patterns/gplay.png');
  overflow: hidden;
}

nav.sticky-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 100vh;
  background: #d3e4cd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-top: 40px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

nav.sticky-sidebar a {
  text-decoration: none;
  color: #2e4d3c;
  font-weight: bold;
  transition: color 0.2s;
}

nav.sticky-sidebar a.active {
  color: #7fb77e;
}

.scroll-container {
  margin-left: 200px;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

section {
  height: 100vh;
  scroll-snap-align: start;
  padding: 60px 40px;
  box-sizing: border-box;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.section-title {
  font-size: 2.2em;
  color: #2e4d3c;
  margin-bottom: 20px;
  border-bottom: 2px solid #c5d8c3;
  padding-bottom: 10px;
}

#about .about-section {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-photo-left {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid #d3e4cd;
}

.about-info h1 {
  font-size: 3em;
  margin: 0;
}

.about-info p {
  font-size: 1.2em;
  margin: 10px 0;
}

hr.separator {
  border: none;
  border-top: 1px solid #c5d8c3;
  margin: 20px 0;
}

.floating-footer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 999;
}

.floating-footer img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 2px #999);
  transition: transform 0.2s;
}
.floating-footer img:hover { transform: scale(1.1); }

/* Center the timeline dot on the 4px border */
.timeline {
  position: relative;
  padding-left: 20px; /* or whatever content inset you prefer */
  border-left: 4px solid #d3e4cd;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;        /* half the dot’s width (-12px/2) */
  top: 1.2em;        /* tweak to vertically align with your date text */
  width: 12px;
  height: 12px;
  background-color: #7fb77e;
  border-radius: 50%;
  border: 2px solid #f5f9f6;
  transform: none;   /* remove any previous translations */
}

.timeline-date {
  font-weight: bold;
  color: #4a6554;
  margin-bottom: 8px;
}

.timeline-content h3 {
  margin: 5px 0 10px;
  font-size: 1.2em;
  color: #2e4d3c;
}

/* About section centered more vertically and larger */
#about {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* remove default padding */
}
#about .about-section {
  flex-direction: column;
  text-align: center;
  gap: 20px;
}
#about .about-photo-left {
  width: 200px;
  height: 200px;
}
#about .about-info h1 {
  font-size: 3.5em;
}
#about .about-info p {
  font-size: 1.3em;
}
