:root {
  --bg: #020617;
  --bg-alt: #0b1120;
  --card: #111827;

  --brand-purple: #8b5cf6;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.1);

  --text: #f9fafb;
  --muted: #94a3b8;
  --border: #1e293b;
}

/* Put height + gradient here, not on :root */
html {
  height: 100%;
  background: radial-gradient(circle at top, #0b1120 0, var(--bg) 55%);
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: transparent;   /* let html show through */
  color: var(--text);
  line-height: 1.5;
}
* { box-sizing: border-box; margin: 0; padding: 0; }


body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: none;   /* let html handle the gradient */
  color: var(--text);
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }


.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  background: transparent;
}

/* Header & nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  background: transparent;   /* ensure no white bar */
  border: none;              /* no top/bottom border */
}

.logo {
  display: inline-flex;
  align-items: center;
  /* Adds a little breathing room from the top/left of the screen */
  padding: 5px 0; 
}


.logo img {
  height: 120px;
  width: auto;
}


@media (max-width: 768px) {
  /* 1. Simplify the Hero Section */
  .hero {
    flex-direction: column;
    padding: 100px 20px 40px; /* Adjust top padding for fixed headers */
    text-align: center;
  }


  h1 {
    font-size: 2rem; /* Shorter headlines for mobile */
    line-height: 1.2;
  }


  .hero-cta {
    flex-direction: column; /* Stack buttons */
    gap: 12px;
  }


  /* 2. Fix the Metric Cards (CareerPulse) */
  .hero-metrics {
    grid-template-columns: 1fr 1fr; /* 2x2 grid instead of 4 in a row */
    gap: 10px;
  }


  /* 3. Manage the Chatbot Iframe */
  #chatbot .grid-2 {
    display: flex;
    flex-direction: column;
  }


  #chatbot iframe {
    height: 500px; /* Reduce height on mobile to prevent infinite scrolling */
    border-radius: 8px;
  }


  /* 4. Navigation Layout */
  header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }


  nav {
    gap: 15px;
    font-size: 0.9rem;
  }
}


nav {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}


/* Hero */
.hero {
  padding: 2.5rem 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
  gap: 2rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
  }
}


.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}


h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.2rem, 3.1vw, 3rem);
  font-weight: 650;
}


.hero p {
  margin-top: 0.75rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.95rem;
}


.hero-cta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}


.btn {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #0b1120;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}


/* Hero card */
.hero-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(96,165,250,0.22), transparent 55%),
    var(--bg-alt);
  padding: 1rem 1.1rem 1.2rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.85);
  font-size: 0.82rem;
}
.hero-card h2 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}
.metric {
  padding: 0.5rem 0.6rem;
  border-radius: 0.75rem;
  background: #020617;
  border: 1px solid rgba(148,163,184,0.35);
}
.metric-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
}
.metric-value {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.15rem;
}


/* Sections */
section {
  margin-top: 2.5rem;
}
.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.section-sub {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1rem;
}


.grid-2 {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1.2fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .grid-2 {
    grid-template-columns: minmax(0,1fr);
  }
}


.card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 1rem 1.1rem;
  font-size: 0.85rem;
}
.card h3 {
  margin-bottom: 0.4rem;
}


.bullet {
  margin-top: 0.3rem;
  padding-left: 0.9rem;
  position: relative;
}
.bullet::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}


/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(148,163,184,0.45);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}


/* Floating Button */
.chatbot-launcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary); /* Uses your site's purple */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
}


/* Side Panel Container */
.chatbot-panel {
    position: fixed;
    top: 0;
    right: -450px; /* Hidden by default */
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: var(--bg);
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    transition: right 0.4s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}


.chatbot-panel.open {
    right: 0;
}


/* Header within Panel */
.panel-header {
    padding: 15px;
    background: var(--bg-alt);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}


/* Chat Frame Body */
.panel-body {
    flex: 1;
}


.panel-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.close-panel {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
}
.contact-main {
  padding: 4rem 1rem;
  max-width: 700px;
  margin: 0 auto;
}


.contact-section {
  padding: 2rem 1rem;
  background: var(--bg-alt, #f8f9fa);
  border-radius: 1rem;
  border: 1px solid var(--border, #dee2e6);
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}


.form-group label {
  font-weight: 600;
  color: var(--text, #212529);
}


.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border, #dee2e6);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: white;
}


.form-group textarea {
  resize: vertical;
}


.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}
/* FINAL OVERRIDE: make header menu links blue */
header #nav-menu a {
  color: var(--accent) !important;
  text-decoration: none;
}

header #nav-menu a:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}