/* --- 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;
}

/* --- 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 */
.section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  margin-bottom: 0.8rem;
}
.section ul li {
  position: relative;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  padding-left: 0.6rem;
  margin-left: 1.6rem;
}
.section ul li::before {
  content: "•";
  color: #777;
  position: absolute;
  left: -0.6rem;
  top: 0;
}

.section ul ul {
  padding-left: .6rem; /* deeper indent for nested list */
}

.section ul ul li::before {
  left: -.6rem; /* match bullet offset for deeper indent */
}

/* 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: 100px;
  height: 100px;
  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 p {
  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);
}




/* --- 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); }
}










/* 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 p {
    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;
  }
}