/* =========================================
   Base & Resets
   ========================================= */
.page-wrapper {
  min-height: 100vh;
  background-color: #ffffff;
  color: #0f172a; /* slate-900 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

/* Typography Helpers */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; }
.text-white { color: #ffffff !important; }

/* =========================================
   Layout Containers
   ========================================= */
.container {
  max-width: 80rem; /* max-w-7xl */
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-small {
  max-width: 56rem; /* max-w-4xl */
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Background Colors */
.bg-slate-light { background-color: #f8fafc; /* slate-50 */ }
.bg-sky-light { background-color: #f0f9ff; /* sky-50 */ }

/* =========================================
   Typography
   ========================================= */
.badge {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0369a1;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.heading-primary {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.heading-secondary {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0369a1; /* sky-700 */
}

.text-lead {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 2rem;
  color: #334155; /* slate-700 */
}

.text-body {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.75rem;
  color: #475569; /* slate-600 */
}

/* =========================================
   Buttons
   ========================================= */
.button-group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.health-science.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #0369a1; /* sky-700 */
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: none;
}

.btn-primary:hover {
  background-color: #075985; /* sky-800 */
  transform: scale(1.01);
}

.btn-secondary {
  background-color: #ffffff;
  color: #1e293b; /* slate-800 */
  border: 1px solid #cbd5e1; /* slate-300 */
}

/* slate-50 */
/*
.btn-secondary:hover {
  background-color: #f8fafc; 
}
*/



/* =========================================
   Hero Section Specifics
   ========================================= */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, #f0f9ff, #ffffff, #dbeafe);
}

.blobs-container {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0.4;
  pointer-events: none;
}

.blob {
  position: absolute;
  height: 18rem;
  width: 18rem;
  border-radius: 50%;
  filter: blur(64px);
}

.blob-cyan {
  top: -6rem;
  right: -6rem;
  background-color: #a5f3fc;
}

.blob-blue {
  bottom: 0;
  left: 0;
  background-color: #bfdbfe;
}

.hero-container {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.glass-panel {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pathway-grid {
  display: grid;
  gap: 1rem;
}

.pathway-card {
  border-radius: 1rem;
  padding: 1.25rem;
}

.card-cyan { background-color: #f0f9ff; }
.card-blue { background-color: #eff6ff; }
.card-teal { background-color: #ecfeff; }
.card-slate { background-color: #f8fafc; }

.card-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.label-cyan { color: #0369a1; }
.label-blue { color: #1d4ed8; }
.label-teal { color: #0e7490; }
.label-slate { color: #334155; }

.card-title {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1e293b;
}

/* =========================================
   Overview Section
   ========================================= */
.overview-grid {
  display: grid;
  gap: 3rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.card-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}

.card-body {
  margin-top: 0.75rem;
  line-height: 1.75rem;
  color: #475569;
}

/* =========================================
   Why It Matters Section
   ========================================= */
.metrics-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.metric-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.metric-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0369a1;
}

.metric-card .card-heading { margin-top: 1rem; }

/* =========================================
   Summary Banner
   ========================================= */
.summary-banner {
  background: linear-gradient(to right, #075985, #1e3a8a);
  border-radius: 2rem;
  padding: 3rem 2rem;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.summary-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.banner-label { color: #e0f2fe; }
.banner-text { color: #f0f9ff; }

.summary-glass-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* =========================================
   Form Section
   ========================================= */
.form-card {
  margin-top: 2.5rem;
  background-color: #ffffff;
  border-radius: 2rem;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid #cbd5e1;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px #bae6fd;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-disclaimer {
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #64748b;
}

/* =========================================
   Media Queries (Responsive Design)
   ========================================= */
@media (min-width: 640px) {
  .button-group {
    flex-direction: row;
  }
  .pathway-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .full-width {
    grid-column: span 2;
  }
  .form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .hero-container {
    padding-top: 7rem;
  }
  .heading-primary {
    font-size: 3.75rem;
  }
  .heading-secondary {
    font-size: 2.25rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .summary-banner {
    padding: 4rem 3rem;
  }
  .form-card {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-visual {
    justify-self: end;
  }
  .overview-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .summary-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* =========================================
   Trust Bar (Logos under Hero Buttons)
   ========================================= */
.trust-bar {
  margin-top: 3rem;
  border-top: 1px solid #e2e8f0; /* Subtle slate-200 line to separate from buttons */
  padding-top: 1.5rem;
}

.trust-label {
  font-size: 0.75rem; /* text-xs */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b; /* slate-500 */
  margin-bottom: 1rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 2rem; /* Space between the logos */
  flex-wrap: wrap; /* Ensures they stack neatly on very small mobile screens */
}

.trust-logo {
  height: 2.5rem; /* Limits logo height so they aren't overpowering */
  width: auto;
  object-fit: contain;
  /* Makes logos grayscale and slightly transparent by default */
  filter: grayscale(100%) opacity(60%);
  transition: all 0.3s ease;
}

/* Brings logos to full color on hover */
.trust-logo:hover {
  filter: grayscale(0%) opacity(100%);
}

/* =========================================
   Featured Image & Overlay
   ========================================= */

.featured-image-wrapper {
  margin-bottom: 2.5rem;
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.image-overlay {
  position: absolute;
  inset: 0; /* Shorthand for top: 0, right: 0, bottom: 0, left: 0 */
  background-color: rgba(3, 105, 161, 0.15);
  mix-blend-mode: multiply;
}

/* =========================================
   Hero Section Image (Right Column)
   ========================================= */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px; 
  border-radius: 2rem; /* Matches the rounded corners of the rest of the site */
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl for premium depth */
}

/* Make it taller on desktop screens to balance the text column */
@media (min-width: 1024px) {
  .hero-image-wrapper {
    height: 500px; 
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* Keeps faces in frame */
}

/* Subtle blue tint to blend the photo into your color scheme */
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 105, 161, 0.15); /* sky-700 tint */
  mix-blend-mode: multiply;
}