/* Global styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #111827;
  background-color: #f9fafb;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #2563eb, #0f766e);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.4);
}

.btn.ghost {
  border-color: #d1d5db;
  background-color: #ffffff;
  color: #111827;
}

.btn.ghost:hover {
  background-color: #f3f4f6;
}

.btn-nav {
  padding-inline: 1.1rem;
  padding-block: 0.45rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.85rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(249, 250, 251, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.logo .accent {
  color: #2563eb;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #4b5563;
}

.main-nav a:hover {
  color: #111827;
}

/* Mobile nav button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top left, #dbeafe, transparent 55%),
    radial-gradient(circle at bottom right, #ccfbf1, transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-content p {
  margin: 0 0 1.5rem;
  color: #4b5563;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Hero image/card */
.hero-image {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: #0b1120;
  color: #e5e7eb;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  max-width: 22rem;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.hero-card p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #cbd5f5;
  font-size: 0.9rem;
}

.hero-card ul {
  padding-left: 1.25rem;
  margin: 0;
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.section-header p {
  margin: 0;
  color: #4b5563;
}

/* Grid layouts */
.grid-3 {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 1.1rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.93rem;
  color: #4b5563;
}

.card-list {
  padding-left: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.text-link {
  font-size: 0.9rem;
  color: #2563eb;
}

.text-link:hover {
  text-decoration: underline;
}

/* Pill cards (industries) */
.pill-card {
  background: #f3f4f6;
  border-radius: 1.1rem;
  padding: 1.35rem 1.3rem;
}

.pill-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* About section */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  color: #4b5563;
}

.about-text p + p {
  margin-top: 0.75rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.3rem;
  font-size: 0.93rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
}

.about-highlights {
  display: grid;
  gap: 1rem;
}

.highlight {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.1rem 1rem;
  border: 1px solid #e5e7eb;
}

/* Contact section */
.contact-section {
  background: radial-gradient(circle at top, #dbeafe, transparent 60%),
    #f9fafb;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.contact-text p {
  color: #4b5563;
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Form */
.contact-form {
  background-color: #ffffff;
  border-radius: 1.1rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.87rem;
  color: #4b5563;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font: inherit;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.full-width {
  width: 100%;
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 1.5rem;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a:hover {
  color: #111827;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    gap: 2.25rem;
  }

  .hero-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    padding: 0.75rem 1.25rem 1rem;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    display: none;
  }

  .main-nav.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header {
    position: sticky;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 3.25rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }
}
.profile-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px auto;
  display: block;
}

.leader-photo {
  text-align: center;
  margin-bottom: 10px;
}
/* === NAV & DROPDOWN STRUCTURE === */

.main-nav {
  position: relative;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* Basic link style */
.nav-list a,
.nav-link.dropdown-toggle {
  font-size: 0.95rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* Top-level items */
.nav-item {
  position: relative;
}

/* Dropdown basics */
.dropdown-toggle::after {
  content: " ▾";
  font-size: 0.75rem;
}

/* Menu hidden by default on desktop */
/* === DROPDOWN MENU — WHITE STYLE === */

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;

  background: #ffffff;            /* WHITE BACKGROUND */
  border-radius: 8px;
  border: 1px solid #e0e0e0;      /* Light border for contrast */
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);

  display: none;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  color: #111;                    /* Dark text on white */
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f4f4f4;            /* Soft gray hover */
  color: #000;
}

/* Hover to open dropdown (desktop only) */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}


/* Contact button spacing */
.nav-item.nav-contact {
  margin-left: auto;
}

/* === MOBILE BEHAVIOR (WHEN nav-open IS TOGGLED) === */

@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    background: #ffffff;          /* WHITE for mobile too */
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0.35rem;
    display: block;               /* Always visible under heading */
  }

  .dropdown-menu a {
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: #111;
  }

  .dropdown-menu a:hover {
    background: #f4f4f4;
  }

  .dropdown-toggle::after {
    content: "";
  }
}
.nav-link.dropdown-toggle {
  color: #fff; /* You can keep top-level text white */
}

.nav-item.dropdown:hover > .nav-link.dropdown-toggle {
  color: #fff;
}
/* ==============================
   FORCE TOP NAV TEXT TO BLACK
   ============================== */

/* Header background safety */
.site-header {
  background: #ffffff;
}

/* Top-level nav links */
.main-nav a,
.nav-link.dropdown-toggle {
  color: #000000 !important;
}

/* Hover state for top-level items */
.main-nav a:hover,
.nav-link.dropdown-toggle:hover {
  color: #0057ff; /* CNDEZ blue accent (adjust if needed) */
}

/* Caret color */
.dropdown-toggle::after {
  color: #000000;
}

/* Contact button override (if needed) */
.btn-nav {
  background: #000000;
  color: #ffffff !important;
}

.btn-nav:hover {
  background: #0057ff;
  color: #ffffff !important;
}
/* ==============================
   LOGO INLINE FIX (ONE LINE)
   ============================== */

.logo {
  display: flex;
  align-items: center;
  gap: 8px;              /* space between icon and text */
  text-decoration: none;
}

/* Logo image sizing */
.logo img {
  height: 32px;          /* adjust if needed */
  width: auto;
  display: block;
}

/* Logo text */
.logo span {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;   /* PREVENT line breaks */
}
/* ==============================
   REMOVE EXCESS VERTICAL SPACING
   ============================== */

/* Reduce space between sections */
.section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Tighten section headers */
.section-header {
  margin-bottom: 20px;
}

/* Remove extra top margin on headings */
.section-header h2 {
  margin-top: 0;
}

/* Reduce paragraph spacing under headers */
.section-header p {
  margin-top: 10px;
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

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

.site-footer {
  background-color: #000000;
  color: #ffffff;
  font-size: 0.875rem;
  padding: 14px 0;
  border-top: 3px solid #1f6fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-left,
.footer-right {
  white-space: nowrap;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
.footer-left,
.footer-right {
  color: #ffffff;
  font-weight: 700;
}

.site-footer {
  font-size: 0.85rem;
}
.leader-photo {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* remove if you want square photos */
}
.card {
  text-align: center;
}
.leader-photo img {
  border: 3px solid #1f6fff;
}
/* ==============================
   CAREERS PAGE
   ============================== */

.careers-hero {
  padding: 70px 0;
  background: radial-gradient(circle at 20% 10%, rgba(31,111,255,0.18), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(0,0,0,0.08), transparent 45%),
              #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: #1f6fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.careers-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px 0;
}

.lead {
  font-size: 1.05rem;
  color: #334155;
  margin: 0 0 18px 0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badge {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero-card {
  background: #0b1220;
  color: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 16px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.checklist {
  padding-left: 18px;
  margin: 0 0 12px 0;
}

.checklist li {
  margin: 8px 0;
}

.small {
  font-size: 0.9rem;
}

.muted {
  opacity: 0.85;
}

.section-soft {
  background: #f6f9ff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.benefit-item {
  background: #ffffff;
  border: 1px solid #e6eefb;
  border-radius: 14px;
  padding: 16px;
}

.benefit-item h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.roles-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.role-search, .role-filter {
  border: 1px solid #dbe5f5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1rem;
  min-height: 42px;
  background: #fff;
}

.role-search {
  flex: 1;
  min-width: 260px;
}

.role-filter {
  min-width: 200px;
}

.roles-list {
  display: grid;
  gap: 12px;
}

.role {
  border: 1px solid #e6eefb;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

.role h3 {
  margin: 0 0 6px 0;
}

.role-meta {
  font-size: 0.9rem;
  color: #475569;
  margin: 0 0 8px 0;
}

.role-desc {
  margin: 0;
  color: #334155;
}

.role-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.role-details {
  grid-column: 1 / -1;
  border-top: 1px dashed #dbe5f5;
  margin-top: 10px;
  padding-top: 10px;
  color: #334155;
}

.careers-cta {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: #0b1220;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.careers-cta h3 {
  margin: 0;
}

.careers-cta p {
  margin: 0;
  opacity: 0.9;
}

/* Small buttons (if not already defined) */
.btn.small {
  padding: 8px 12px;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .role {
    grid-template-columns: 1fr;
  }
  .role-actions {
    justify-content: flex-start;
  }
}

