/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #bdbdbd;
  font-family: "Courier New", Courier, monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  overflow-y: auto;
}


/* --- Global Link Styling (Stand-Out Version) --- */
a {
  color: #84b3f4;                     /* bright blue you chose */
  text-decoration: underline;         /* visible underline */
  text-decoration-thickness: 1.5px;   /* slightly stronger underline */
  text-underline-offset: 3px;         /* moves underline lower = cleaner look */
  transition: color 0.2s ease, text-shadow 0.2s ease;
  font-family: "Courier New", Courier, monospace;
}

/* Hover: brighter + soft glow */
a:hover,
a:focus {
  color: #a9c9ff;                     /* lighter blue on hover */
  text-shadow: 0 0 6px rgba(132, 179, 244, 0.6);
}

/* Active click */
a:active {
  color: #6c99d8;
}



/* --- Navigation --- */
nav {
  margin-top: 1.5rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding-left: 0;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #a0a0a0;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

/* Home link in bright green */
.home-link {
  color: #00FF00;
}
.home-link:hover {
  color: #7FFF00;
}

/* LinkedIn Icon Link */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
  color: #0e76a8;
  text-decoration: none;
}

.linkedin-link:hover {
  color: #fff;
}

.linkedin-link i {
  font-size: 1em;
  display: inline-block;
}

@media (max-width: 600px) {
  nav ul {
    gap: 1.2rem;
  }
  nav a {
    font-size: 0.85rem;
  }
}




/* Main Layout */
main {
  margin-top: 4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #d1d1d1;
  text-align: center;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 1.2rem;
  font-weight: 300;
  color: #a8a8a8;

}


/* Home Page */
.home-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}
.home-page .enter {
  margin-top: 2rem;
  font-size: 1rem;
  color: #bdbdbd;
  text-decoration: none;
  border: 1px solid #444;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  background: none;
  transition: all 0.2s ease;
}
.home-page .enter:hover {
  color: #fff;
  border-color: #888;
}



/* Sections */
.section {
  max-width: 1000px;
  margin: auto;
  text-align: left;
  padding: 0 1rem;
  width: 100%;
}
.section h2 {
  color: #e0e0e0;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  border-bottom: 1px solid #333;
  padding-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-align: left;
}
.section p { margin-bottom: 1rem; }




/* Contact Form */
.contact-section {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background: rgba(26, 26, 26, 0.85);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(40, 40, 40, 0.8);
  color: #eee;
}
.contact-form button {
  background: #bdbdbd;
  color: #000;
  border: none;
  border-radius: 0.5rem;
  padding: 0.8rem;
  cursor: pointer;
}
.contact-form button:hover { background: #7fff00; }


.logo {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  object-fit: contain;
}



/* --- About Page Styles --- */


/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}



/* Bio section */
.bio {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 60px auto;
}


/* --- About Page new layout --- */

.about-section {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Each row */
.about-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* Images */
.about-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 25px rgba(0,255,90,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0,255,90,0.18);
}

/* Paragraphs */
.about-row .about-box {
  /*flex: 1;*/
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d0d0d0;
  background: rgba(20,20,20,0.8);
  padding: 1.2rem 1.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 0 12px rgba(0,255,80,0.05);
}



/* Section Titles */
.about-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}



/* --- Silver Biotech Animated Dividers --- */

.about-row {
  position: relative;
  padding-bottom: 2.5rem;
}

/* Silver gradient line */
.about-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(200,200,200,0) 0%,
    rgba(200,200,200,0.5) 50%,
    rgba(200,200,200,0) 100%
  );
  opacity: 0.5;
  animation: silverPulse 4s ease-in-out infinite;
}

/* No divider after last block */
.about-row:last-child::after {
  display: none;
}

/* Soft biotech pulse */
@keyframes silverPulse {
  0%   { opacity: 0.25; filter: blur(0px); }
  50%  { opacity: 0.9;  filter: blur(1px); }
  100% { opacity: 0.25; filter: blur(0px); }
}


/* New About Row Text Wrapper */
.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}






/* --- Profile Photo (Below Text) --- */
.photo-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.profile-photo {
  width: 260px;              /* Adjust size as needed */
  height: auto;
  border-radius: 8px;        /* Matches your clean modern style */
  border: 1px solid #444;    /* Subtle frame for dark background */
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
  object-fit: cover;
}





/* Child Page */
.child-page {
  margin-top: 6rem;
}

/* Center the page title on child pages */
.child-title {
  align-self: center;
  width: 100%;
}

.child-subtitle {
align-self: center;
  text-align: center;
  font-weight: 400;
}



/* --- Responsive Adjustments --- */
@media (max-width: 800px) {

  /* Reduce global padding on mobile */
  .container,
  .about-section {
    padding: 1.5rem 1rem;
  }

  /* Stack About rows vertically */
  .about-row {
    flex-direction: column !important;
    text-align: center;
    gap: 1.2rem;
    padding-bottom: 2rem;
  }

  /* Reset reversed rows */
  .about-row:nth-child(even) {
    flex-direction: column !important;
  }

  /* Image scale for mobile */
  .about-img {
    width: 90px;
    height: 90px;
    margin: 0 auto;
  }

  /* Paragraph styling mobile */
  .about-row .about-box {
    font-size: 1rem;
    line-height: 1.6;
    padding: 1rem 1.2rem;
  }

  /* Divider alignment */
  .about-row::after {
    left: 5%;
    width: 90%;
  }

  /* Navigation tweaks */
  nav ul {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.85rem;
  }

  /* Title spacing on child pages */
  .child-page {
    margin-top: 4rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}




/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #bdbdbd;
  font-family: "Courier New", Courier, monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  overflow-y: auto;
}


/* --- Global Link Styling (Stand-Out Version) --- */
a {
  color: #84b3f4;                     /* bright blue you chose */
  text-decoration: underline;         /* visible underline */
  text-decoration-thickness: 1.5px;   /* slightly stronger underline */
  text-underline-offset: 3px;         /* moves underline lower = cleaner look */
  transition: color 0.2s ease, text-shadow 0.2s ease;
  font-family: "Courier New", Courier, monospace;
}

/* Hover: brighter + soft glow */
a:hover,
a:focus {
  color: #a9c9ff;                     /* lighter blue on hover */
  text-shadow: 0 0 6px rgba(132, 179, 244, 0.6);
}

/* Active click */
a:active {
  color: #6c99d8;
}



/* --- Navigation --- */
nav {
  margin-top: 1.5rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding-left: 0;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #a0a0a0;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

/* Home link in bright green */
.home-link {
  color: #00FF00;
}
.home-link:hover {
  color: #7FFF00;
}

/* LinkedIn Icon Link */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
  color: #0e76a8;
  text-decoration: none;
}

.linkedin-link:hover {
  color: #fff;
}

.linkedin-link i {
  font-size: 1em;
  display: inline-block;
}

@media (max-width: 600px) {
  nav ul {
    gap: 1.2rem;
  }
  nav a {
    font-size: 0.85rem;
  }
}




/* Main Layout */
main {
  margin-top: 4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #d1d1d1;
  text-align: center;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 1.2rem;
  font-weight: 300;
  color: #a8a8a8;

}


/* Home Page */
.home-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}
.home-page .enter {
  margin-top: 2rem;
  font-size: 1rem;
  color: #bdbdbd;
  text-decoration: none;
  border: 1px solid #444;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  background: none;
  transition: all 0.2s ease;
}
.home-page .enter:hover {
  color: #fff;
  border-color: #888;
}



/* Sections */
.section {
  max-width: 1000px;
  margin: auto;
  text-align: left;
  padding: 0 1rem;
  width: 100%;
}
.section h2 {
  color: #e0e0e0;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  border-bottom: 1px solid #333;
  padding-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-align: left;
}
.section p { margin-bottom: 1rem; }

/* Lists — Custom bullet hanging indent, but NOT for .experience-list */
.section ul:not(.experience-list) {
  list-style: none;
  padding-left: 0;
  margin: 0;
  margin-bottom: 0.8rem;
}

.section ul:not(.experience-list) > li {
  position: relative;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  padding-left: 0.6rem;
  margin-left: 1.6rem;
}

.section ul:not(.experience-list) > li::before {
  content: "•";
  color: #777;
  position: absolute;
  left: -0.6rem;
  top: 0;
}

.section ul:not(.experience-list) > li > ul {
  padding-left: 0.6rem; /* deeper indent for nested list */
}

.section ul:not(.experience-list) > li > ul li::before {
  left: -0.6rem;
}

/* Contact Form */
.contact-section {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background: rgba(26, 26, 26, 0.85);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(40, 40, 40, 0.8);
  color: #eee;
}
.contact-form button {
  background: #bdbdbd;
  color: #000;
  border: none;
  border-radius: 0.5rem;
  padding: 0.8rem;
  cursor: pointer;
}
.contact-form button:hover { background: #7fff00; }


.logo {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  object-fit: contain;
}



/* --- About Page Styles --- */


/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}



/* Bio section */
.bio {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 60px auto;
}


/* --- About Page new layout --- */

.about-section {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Each row */
.about-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* Images */
.about-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 25px rgba(0,255,90,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0,255,90,0.18);
}

/* Paragraphs */
.about-row .about-box {
  /*flex: 1;*/
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d0d0d0;
  background: rgba(20,20,20,0.8);
  padding: 1.2rem 1.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 0 12px rgba(0,255,80,0.05);
}



/* Section Titles */
.about-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}



/* --- Silver Biotech Animated Dividers --- */

.about-row {
  position: relative;
  padding-bottom: 2.5rem;
}

/* Silver gradient line */
.about-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(200,200,200,0) 0%,
    rgba(200,200,200,0.5) 50%,
    rgba(200,200,200,0) 100%
  );
  opacity: 0.5;
  animation: silverPulse 4s ease-in-out infinite;
}

/* No divider after last block */
.about-row:last-child::after {
  display: none;
}

/* Soft biotech pulse */
@keyframes silverPulse {
  0%   { opacity: 0.25; filter: blur(0px); }
  50%  { opacity: 0.9;  filter: blur(1px); }
  100% { opacity: 0.25; filter: blur(0px); }
}


/* New About Row Text Wrapper */
.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}



/* --- Profile Photo (Below Text) --- */
.photo-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.profile-photo {
  width: 260px;              /* Adjust size as needed */
  height: auto;
  border-radius: 8px;        /* Matches your clean modern style */
  border: 1px solid #444;    /* Subtle frame for dark background */
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
  object-fit: cover;
}





/* Child Page */
.child-page {
  margin-top: 6rem;
}

/* Center the page title on child pages */
.child-title {
  align-self: center;
  width: 100%;
}

.child-subtitle {
align-self: center;
  text-align: center;
  font-weight: 400;
}



/* --- Responsive Adjustments --- */
@media (max-width: 800px) {

  /* Reduce global padding on mobile */
  .container,
  .about-section {
    padding: 1.5rem 1rem;
  }

  /* Stack About rows vertically */
  .about-row {
    flex-direction: column !important;
    text-align: center;
    gap: 1.2rem;
    padding-bottom: 2rem;
  }

  /* Reset reversed rows */
  .about-row:nth-child(even) {
    flex-direction: column !important;
  }

  /* Image scale for mobile */
  .about-img {
    width: 90px;
    height: 90px;
    margin: 0 auto;
  }

  /* Paragraph styling mobile */
  .about-row .about-box {
    font-size: 1rem;
    line-height: 1.6;
    padding: 1rem 1.2rem;
  }

  /* Divider alignment */
  .about-row::after {
    left: 5%;
    width: 90%;
  }

  /* Navigation tweaks */
  nav ul {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.85rem;
  }

  /* Title spacing on child pages */
  .child-page {
    margin-top: 4rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}


/* CV Experience section layout */
.experience-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.company {
  display: flex;
  align-items: flex-start;  /* text starts at the top edge of the logo */
  gap: 0.8rem;              /* space between logo and text */
  margin-bottom: 1rem;
}

.logo {
  width: 40px;              /* or whatever size you like */
  flex-shrink: 0;           /* don't let it squish */
}

.company-text {
  display: flex;
  flex-direction: column;   /* stack name, dates, title vertically */
}

.company-name {
  font-weight: 600;
  font-size: 1rem;
  vertical-align: middle;
}



/* Nested roles list under each company */
.roles {
  list-style: none;       /* we'll use ::before bullets just for roles */
  margin-left: 2.4rem;
  margin-top: 0.5rem;
  padding-left: 0;
}

.roles li {
  position: relative;
  margin-bottom: 0.35rem;
  line-height: 1.4;
  padding-left: 0.9rem;
}

.roles li::before {
  content: "•";
  color: #777;
  position: absolute;
  left: 0;
  top: 0;
}



/* Writing page rows: stack title and text vertically, no indent */
.writing-row {
  flex-direction: column;
  align-items: flex-start; /* left-align inside the row */
}

.writing-row .coming-soon {
  margin-top: 0.75rem;  /* space under the heading instead of <br><br> */
}

