* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  width: 100vw;
  min-height: 100svh;
  overflow-x: hidden;
  overflow: hidden; /* prevent horizontal scrolling initially */
  background: #000;
  color: #000000;
}

.container {
  min-height: 100svh;
  position: relative;
  background: linear-gradient(
    223.17deg,
    rgb(28, 24, 41) 0%,
    rgb(27, 24, 40) 8.61%,
    rgb(25, 23, 36) 17.21%,
    rgb(22, 21, 32) 25.82%,
    rgb(20, 19, 28) 34.42%,
    rgb(18, 18, 24) 43.03%,
    rgb(17, 17, 23) 51.63%
  );
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  z-index: 1;
  pointer-events: none;
}

.hero-main-container {
  width: 100%;
  height: 100vh;
  position: relative;
  transform: scale(1.25);
  background-image: url("/public/logo1.png");
  background-size: 1000vh;
  background-position: 50% 41.7%;
  background-repeat: no-repeat;
  background-origin: content-box
  ;
  padding-bottom: 200px;
}

.hero-main-image {
  width: 100%;
  height: 100vh;
  /* transform: scale(1.25); */
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.hero-main-logo {
  width: 100%;
  height: 100vh;
  position: absolute;
  inset: 0;
  z-index: 1;
  object-fit: cover;
}

.hero-text-logo-container {
  width: 100%;
  height: 100vh;
  position: absolute;
  inset: 0;
  z-index: -1;
  object-fit: cover;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  justify-content: center;
  align-items: center;
}

.hero-text-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-image: url("/second_logo.webp");
  background-repeat: no-repeat;
  background-position: 50% 41.7%;
  background-size: 95vh;
  background-repeat: no-repeat;
  background-origin: content-box;
  padding-bottom: 200px;
  height: 100vh;
  position: absolute;
  inset: 0;
}

/* Scroll Indicator Styles */
.scroll-indicator {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 14px;
  z-index: 10;
}

/* .scroll-indicator svg {
  color: #ffb0c4;
  width: 100%;
  height: 100%;
} */

.hero-text {
  color: #ffb0c4;
  text-align: center;
  text-transform: uppercase;
  background-image: radial-gradient(
    circle at 50% 200vh,
    rgba(255, 214, 135, 0) 0,
    rgba(157, 47, 106, 0.5) 90vh,
    rgba(157, 47, 106, 0.8) 120vh,
    rgba(32, 31, 66, 0) 150vh
  );
  -webkit-text-fill-color: transparent;
  font-size: 4.5rem;
  background-clip: text;
  width: 100%;
  line-height: 0.9;
  margin-top: 55%;
}

.hero-2-container {
  width: 100%;
  height: 100vh;
  position: absolute;
  inset: 0;
  /* z-index: -1; */
  opacity: 0;
  object-fit: cover;
  background-image: radial-gradient(
    circle at 50% 200vh,
    rgba(255, 214, 135, 0) 0,
    rgba(157, 47, 106, 0.5) 90vh,
    rgba(157, 47, 106, 0.8) 120vh,
    rgba(32, 31, 66, 0) 150vh
  );
  -webkit-text-fill-color: transparent;
  font-size: 6rem;
  background-clip: text;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 0 2rem; /* mobile */
  visibility: hidden;
}

.hero-2-container p {
  max-width: 90%;
  font-size: 1rem;
}

.hero-2-container h3 {
  font-size: 2.5rem;
}

@media (min-width: 1024px) {
  .hero-text {
    font-size: 6rem;
  }

  .scroll-indicator {
    bottom: 30px;
  }

  .hero-2-container {
    margin: 0 auto;
    max-width: 60%;
    padding: 0;
  }

  .hero-2-container p {
    max-width: 90%;
    font-size: 2rem;
  }

  .hero-2-container h3 {
    font-size: 3.5rem;
  }
}

/* Education stack styles */
.education-stack {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  position: relative;
  margin: 3rem auto;
  width: 100%;
  max-width: 400px;
}

.edu-item {
  background: rgba(30, 30, 40, 0.95);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  padding: 1.5rem 1rem;
  width: 100%;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  color: #000000;
  text-align: center;
}

.edu-item.present {
  border: 2px solid #000000;
  background: linear-gradient(90deg, #8ab4ff 0%, #ff8a65 100%);
  color: #222;
  font-weight: bold;
}

.edu-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  background: linear-gradient(90deg, #8ab4ff, #c792ea, #ff8a65);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.edu-content p {
  margin: 0;
  font-size: 1rem;
  color: #eaeff6;
}

.edu-connector {
  width: 8px;
  height: 48px;
  margin: -8px 0;
  border-radius: 4px;
  z-index: 1;
}

/* Simple vertical education stack without gradient color */
.education-simple-stack {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  position: relative;
  margin: 2rem auto;
  width: 100%;
  max-width: 340px;
}

.edu-simple-item {
  background: #23233a;
  border-radius: 12px;
  padding: 1rem 0.5rem;
  width: 100%;
  text-align: center;
  color: #fff;
  margin: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.edu-simple-item.present {
  border: 2px solid #fff;
  background: #fff;
  color: #222;
  font-weight: bold;
}

.edu-simple-connector {
  width: 6px;
  height: 36px;
  border-radius: 3px;
  margin: 0;
}

/* Remove gradient line from education section */
.edu-simple-connector,
.edu-connector {
  background: none !important;
}

.edu-simple-item h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
}

.edu-simple-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #eaeff6;
}

/* Simple black and white theme for present education */
.edu-simple-item.present {
  border: 2px solid #222;
  background: #fff;
  color: #222;
  font-weight: bold;
}

/* Education — simple stacked timeline */
.edu-stack {
  width: 100%;
  max-width: 720px;
  margin: 2.25rem auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* align left */
  gap: 0.2rem;
  padding: 0 1rem;
  position: relative;
  padding: 0 1rem;
}

/* Remove the vertical line */
.edu-stack::before {
  display: none;
}

/* Card with left-side connector */
.edu-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: #121217;
  color: #eaeff6;
  border-radius: 10px;
  padding: 1rem 1.25rem 1rem 2.5rem; /* space for connector */
  box-shadow: 0 8px 22px rgba(0,0,0,0.6);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  z-index: 1;
  align-items: center;
  min-height: 120px; /* Ensure all cards are the same size */
  transform-style: preserve-3d;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.edu-card:hover {
  filter: blur(0.5px) contrast(2);
  transform: scale(1.02);
}

/* Make education cards bigger */
.edu-card,
.edu-simple-item {
  max-width: 700px;
  width: 100%;
  padding: 2rem 2rem;
  font-size: 1.25rem;
}

/* current education highlighted in simple black & white */
.edu-card.edu-current {
  background: #121217;
  color: #eaeff6;
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

/* Remove all connector lines and circles from education stack */
.edu-card::before,
.edu-card::after {
  display: none !important;
  content: none !important;
}

/* content */
.edu-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.edu-body p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: inherit;
  line-height: 1.35;
}

/* year badge on the right */
.edu-year {
  font-size: 0.85rem;
  color: inherit;
  opacity: 0.9;
  white-space: nowrap;
}

/* responsive tweaks */
@media (max-width: 640px) {
  .edu-stack {
    max-width: 98vw;
    padding: 0 0.5rem;
  }
  .edu-card {
    padding-left: 2.2rem;
    font-size: 0.95rem;
  }
  .edu-year { display: none; }
}

@media (max-width: 600px) {
  .education-stack {
    max-width: 98vw;
  }
  .edu-item {
    padding: 1rem 0.5rem;
    font-size: 0.95rem;
  }
  .education-simple-stack {
    max-width: 98vw;
  }
  .edu-simple-item {
    padding: 0.7rem 0.2rem;
    font-size: 0.9rem;
  }
}

/* Footer styles */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(10,10,10,0.9);
  color: #d0d0d0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
