/* ============================================================
   CytoSPAR Website – Shared Stylesheet
   Colors: Green #7cba54 | Dark Blue #0c3859 | Aqua #24a9e0
   Font: Open Sans (Google Fonts)
   ============================================================ */

/* ---- Google Font Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

@font-face {
  font-family: 'calibiri'; /* Choose any name for your font family */
  src: url('calibiri/calibrib.ttf') format('truetype'); /* Provide the correct path to your font file */
  font-weight: normal;
  font-style: normal;
}


/* ---- CSS Variables ---- */
:root {
  --green:          #7cba54;
  --green-dark:     #5fa038;
  --dark-blue:      #0c3859;
  --aqua:           #24a9e0;
  --chartreuse:     #e1f68c;
  --light-green-bg: #e8f5de;
  --lt-grey:        #f1f2f4;
  --med-grey:       #c2c2c2;
  --dark-grey:      #a3a3a3;
  --heavy-grey:     #7b7b7b;
  --text-dark:      #3a3a3a;
  --header-bg:      #08111e;
  --font:           'Open Sans', 'Calibri Light', Calibri, sans-serif;
  --font-calibiri:            'Calibri', sans-serif;
  --max-w:          1080px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-dark); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font); }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
  background-color: var(--header-bg);
  background-image: url('./assets/vectors/header-lights.png');
  background-size: cover;
  background-position: center 30%;
  position: relative;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px 40px;
  position: relative;
  z-index: 10;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.logo-wrap img.logo {
  width: 210px;
}

.logo-tagline {
  color: rgba(255,255,255,0.8);
  font-style: italic;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  color: var(--med-grey);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: #fff; }

.nav-links a.active {
  color: var(--aqua);
  font-weight: 600;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Full-screen mobile nav overlay ---- */
.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 20, 0.98);
  position: fixed;
  inset: 0;                    /* top/right/bottom/left: 0 */
  z-index: 1000;
  padding: 40px 24px;
  /* subtle entrance animation */
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Close (×) button inside overlay */
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.mobile-nav-close:hover { color: #fff; }

.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 16px 0;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--aqua);
  font-weight: 600;
}

/* ============================================================
   HERO – HOME PAGE
   ============================================================ */

.hero-content {
  text-align: center;
  padding: 50px 40px 70px;
  max-width: 780px;
  margin: 0 auto;
}

.hero-blast-logo {
  width: 220px;
  margin: 0 auto 28px;
}

.hero-tagline {
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.45;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-disclaimer {
  color: var(--med-grey);
  font-size: 11.5px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   PAGE HEADER (non-home pages – short dark bar only)
   ============================================================ */

.page-header-bar {
  background-color: var(--header-bg);
  background-image: url('./assets/vectors/header-lights.png');
  background-size: cover;
  background-position: center 40%;
  padding-bottom: 8px;
}

/* ============================================================
   COMMON SECTION WRAPPER
   ============================================================ */

.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 13px 38px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124,186,84,0.35);
}

.btn-green-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-green-outline:hover {
  background: var(--green);
  color: #fff;
}

/* ============================================================
   MISSION SECTION (Home)
   ============================================================ */

.mission-section {
  background: #fff;
  text-align: center;
  padding: 80px 40px;
}

.mission-section h2 {
  color: var(--green);
  font-size: 46px;
  font-weight:600;
  margin-bottom: 1rem;
  font-family: var(--font-calibiri);
}

.mission-section p {
    font-size: 26px;
    font-weight: 400;
    color: var(--heavy-grey);
    max-width: 1080px;
    margin: 0 auto;
    line-height: 2;
}

/* ============================================================
   HOME PHOTO CTA SECTION
   ============================================================ */

.photo-cta-section {
  position: relative;
  overflow: hidden;
}

.photo-cta-section img.bg-photo {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center center;
}

.photo-cta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
}

/* ============================================================
   BLAST PAGE – WHAT IS BLAST
   ============================================================ */

.blast-intro {
  background: #fff;
  padding: 60px 40px;
}

.blast-intro-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.blast-intro h2 {
  color: var(--green);
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 14px;
  font-family: var(--font-calibiri);
}

.blast-intro h3 {
  color: var(--green);
  font-size: 35px;
  font-weight: 600;
  margin: 28px 0 12px;
  line-height: 1.3;
  font-family: var(--font-calibiri);
}

.blast-intro p {
  font-size: 14.5px;
  color: var(--heavy-grey);
  margin-bottom: 12px;
  line-height: 1.7;
}

.blast-intro-logo {
  width: 180px;
  margin-bottom: 20px;
}

.blast-plate-img {
  width: 100%;
  max-width: 340px;
}

/* ============================================================
   BLAST PAGE – WORKFLOW DIAGRAM
   ============================================================ */

.workflow-section {
  background: #fff;
  padding: 48px 40px 64px;
  border-top: 1px solid var(--lt-grey);
  border-bottom: 1px solid var(--lt-grey);
}

.workflow-section .section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

.workflow-section .section-wrap img {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: block;
}

/* ============================================================
   BLAST PAGE – PHENOTYPIC AST SECTION
   ============================================================ */

.phenotypic-section {
  background: #e6ebef;
  padding: 60px 40px;
}

.phenotypic-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: start;
}

.phenotypic-inner h2 {
  grid-column: 2 / -1;
  color: var(--green);
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: var(--font-calibiri);
}

.phenotypic-bacteria {
  width: 100%;
}

.phenotypic-text h2 {
  color: var(--dark-blue);
  font-size: 22px;
  margin-bottom: 16px;
}
.phenotypic-text p {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 14px;
}

.phenotypic-list {
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
}

.phenotypic-list > li {
    margin-bottom: 14px;
    font-weight: 400;
    color: var(--text-dark);
    list-style: auto;
    margin-left: 1rem;
}

.phenotypic-list > li ul {
  margin-top: 4px;
  padding-left: 16px;
}

.phenotypic-list > li ul li {
  font-weight: 400;
  list-style: disc;
  color: var(--text-dark);
}

.phenotypic-summary {
  font-size: 13.5px;
  color: var(--text-dark);
  margin-top: 20px;
  line-height: 1.7;
}

/* ============================================================
   BLAST PAGE – FEATURES (cUTI section)
   ============================================================ */

.features-section {
  background: #fff;
  padding: 60px 40px;
}

.features-section h2 {
  color: var(--green);
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: var(--font-calibiri);
}

.features-intro {
  font-size: 14px;
  color: var(--heavy-grey);
  margin-bottom: 36px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 60px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 13px;
  color: var(--heavy-grey);
  line-height: 1.6;
}

/* ============================================================
   BLAST PAGE – COMPARATIVE ADVANTAGE TABLE
   ============================================================ */

.compare-section {
  background: #eff6cf;
  padding: 60px 40px;
}

.compare-section h2 {
  color: var(--green);
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 36px;
  font-family: var(--font-calibiri);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  background: var(--lt-grey);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.compare-table thead th {
  background: var(--lt-grey);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  border-bottom: 2px solid var(--lt-grey);
}

.compare-table thead th:first-child {
  text-align: left;
}

.compare-table thead th.col-cyto {
  background: #fff;
  border-color: #fff;
}

.compare-table tbody tr {
  border-bottom: 1px solid #fff;
  transition: background 0.15s;
}

.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: #fafbf8; }

.compare-table td {
  padding: 14px 24px;
  font-size: 14.5px;
  color: var(--text-dark);
  font-weight: 600;
}

.compare-table td:not(:first-child) {
  text-align: center;
}
.compare-table td:nth-child(2){
  background: #fff;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--chartreuse);
  border-radius: 50%;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.check-grey {
  background: var(--med-grey);
}

.compare-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   ABOUT PAGE – TEAM SECTION
   ============================================================ */

.team-section {
  background: #fff;
  padding: 60px 40px;
}

.team-section h2 {
  color: var(--green);
  font-size: 46px;
  font-weight: 600;
  font-family: var(--font-calibiri);
  margin-bottom: 8px;
}

.team-section .team-intro {
  color: var(--heavy-grey);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 44px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px;
}

.team-member {
  text-align: center;
}

.team-photo-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--light-green-bg);
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid #d4edbe;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

/* .team-name .cred {
  font-weight: 400;
  font-size: 12px;
  color:  var(--green);
} */

.team-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--heavy-grey);
}

.advisory-section {
  background: #fff;
  padding: 20px 40px 60px;
}

.advisory-section h2 {
  color: var(--green);
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 36px;
  font-family: var(--font-calibiri);
}

.advisory-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */

.pub-section {
  background: #fff;
  padding: 60px 40px;
}

.pub-section h2 {
  color: var(--green);
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 36px;
  font-family: var(--font-calibiri);
}

.pub-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.pub-thumb {
  flex-shrink: 0;
  width: 160px;
  border: 1px solid var(--med-grey);
  border-radius: 4px;
  overflow: hidden;
}

.pub-thumb img {
  width: 100%;
}

.pub-info {
  flex: 1;
  padding-top: 8px;
}

.pub-info p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 500;
}

.pub-info em {
  font-style: italic;
}

.poster-section {
  background: #e6ebef;
  padding: 60px 40px;
}
.btn-wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6rem;
}
.poster-section h2 {
  color: var(--green);
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 36px;
  font-family: var(--font-calibiri);
}

.pub-thumb.poster {
  width: 280px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  background: #fff;
  padding: 60px 40px 80px;
}

.contact-section h2 {
  color: var(--green);
  font-size: 46px;
  font-weight: 600;
  margin-bottom: 36px;
  font-family: var(--font-calibiri);
}

.contact-form {
  max-width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group label .req {
  color: #c0392b;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--green);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(124,186,84,0.18);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-bottom {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 24px;
}

.captcha-placeholder {
  border: 1px solid var(--med-grey);
  border-radius: 4px;
  width: 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-grey);
  font-size: 13px;
  flex-shrink: 0;
  background: var(--lt-grey);
}

.form-submit-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-thank-you {
  font-size: 13px;
  color: var(--heavy-grey);
  line-height: 1.55;
  max-width: 260px;
}

/* ============================================================
   CTA BAND (Request a Quote)
   ============================================================ */

.cta-band {
  background: #fff;
  text-align: center;
  padding: 40px 40px 60px;
}

.cta-band-grey {
  background: var(--lt-grey);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background-color: #050d16;
  color: #fff;
  padding: 36px 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-col-left .footer-logo-img {
  width: 160px;
  margin-bottom: 10px;
}

.footer-address {
  font-size: 13px;
  color: var(--med-grey);
  line-height: 1.7;
  margin-inline-start: 2rem;
}

.footer-col-center {
  text-align: center;
}

.footer-linkedin-icon {
  width: 34px;
  margin: 0 auto 10px;
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--med-grey);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.footer-col-right {
  text-align: right;
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--med-grey);
  margin-bottom: 4px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green); }

.footer-copyright {
  font-size: 13px;
  color: var(--med-grey);
}

/* ============================================================
   UTILITY
   ============================================================ */

.text-green  { color: var(--green); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .blast-intro-inner {
    grid-template-columns: 1fr;
  }
  .blast-plate-img {
    max-width: 300px;
    margin: 0 auto;
  }
  .phenotypic-inner {
    grid-template-columns: 1fr;
  }
  .phenotypic-inner h2 { grid-column: 1; }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advisory-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-bar { padding: 18px 24px; }

  .hero-content { padding: 36px 24px 56px; }
  .hero-tagline { font-size: 20px; }

  .mission-section { padding: 56px 24px; }
  .mission-section h2 { font-size: 28px; }
  .mission-section p { font-size: 18px; }

  .phenotypic-section,
  .blast-intro,
  .features-section,
  .compare-section,
  .team-section,
  .advisory-section,
  .pub-section,
  .poster-section,
  .contact-section,
  .cta-band {
    /* padding-left: 24px;
    padding-right: 24px; */
    padding: 30px 16px;
  }
  .section-wrap{
    padding-left: 16px;
    padding-right: 16px;
  }
  .compare-cta .btn,
  .cta-band .btn{
    width: 100%;
  }

  .blast-intro-inner { gap: 32px; }

  .compare-table thead th,
  .compare-table td {
    padding: 10px 14px;
    font-size: 12.5px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-col-right { text-align: center; }
  .footer-col-left .footer-logo-img { margin: 0 auto 10px; }
  .footer-links { text-align: center; }

  .pub-item {
    flex-direction: column;
  }
  .pub-thumb { width: 100%; }
  .pub-thumb.poster { width: 100%; }

  .form-bottom {
    flex-direction: column;
  }
  .contact-section h2,
  .poster-section h2,
  .pub-section h2,
  .team-section h2{
    font-size: 36px;
  }
  .team-section .team-intro{
    font-size: 16px;
  }
  .photo-cta-section img.bg-photo{
    height: 350px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .advisory-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .logo-wrap img.logo { width: 170px; }
  .hero-tagline { font-size: 18px; }
  .contact-section .form-submit-area,
  .contact-section .btn{
    width: 100%;
  }
  .contact-section .section-wrap{
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .compare-section,
  .features-section,
  .team-section,
  .poster-section,
  .pub-section,
  .contact-section{
    padding-left: 0;
    padding-right: 0;
  }
}


.successMessage {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

.messageWrapper {
    animation-name: animatetop;
    animation-duration: 0.4s;
    position: absolute;
    width: calc(100% - 30px);
    max-width: 600px;
    background: #fff;
    top: 50px;
    transform: translateX(-50%);
    left: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    transition: transform .3s ease-out;
    border-radius: 4px;
    padding: 15px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}