/* ══════════════════════════════════════
   BridgingX — Shared Styles
   ══════════════════════════════════════ */

:root {
  --slate: #344654;
  --slate-deep: #2a3844;
  --slate-darkest: #1e2c36;
  --light-bg: #F1F5F9;
  --coral: #FB3970;
  --coral-hover: #e42e62;
  --coral-glow: rgba(251, 57, 112, 0.10);
  --dark-text: #2C3D46;
  --light-text: #F8FAFC;
  --mid-text: #5e7282;
  --muted-text: #8a9baa;
  --border-light: rgba(44, 61, 70, 0.08);
  --border-on-dark: rgba(248, 250, 252, 0.10);
  --white: #ffffff;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'DM Mono', 'Menlo', monospace;
  --max-width: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--white); color: var(--dark-text); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.15rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}
.nav-logo { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; color: var(--dark-text); text-decoration: none; text-transform: uppercase; }
.nav-logo span { color: var(--coral); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a { color: var(--mid-text); text-decoration: none; font-size: 0.875rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--dark-text); }
.nav-links a.active { color: var(--dark-text); font-weight: 500; }
.nav-cta { padding: 0.55rem 1.4rem; background: var(--coral); color: var(--light-text) !important; border-radius: 6px; font-weight: 500; font-size: 0.85rem; transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: var(--coral-hover); transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { color: var(--dark-text); }

/* ── SHARED ELEMENTS ── */
.section-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); font-weight: 600; margin-bottom: 1rem; }

.btn-primary {
  padding: 0.8rem 2rem; background: var(--coral); color: var(--light-text);
  border: none; border-radius: 6px; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 500; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: var(--coral-hover); transform: translateY(-1px); }

.btn-secondary-light {
  padding: 0.8rem 2rem; background: transparent; color: var(--mid-text);
  border: 1px solid var(--border-light); border-radius: 6px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 400;
  cursor: pointer; text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-secondary-light:hover { border-color: rgba(44,61,70,0.2); color: var(--dark-text); background: var(--light-bg); }

.btn-secondary-dark {
  padding: 0.8rem 2rem; background: transparent; color: var(--muted-text);
  border: 1px solid var(--border-on-dark); border-radius: 6px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 400;
  cursor: pointer; text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-secondary-dark:hover { border-color: rgba(248,250,252,0.25); color: var(--light-text); }

/* ── PAGE HERO (light) ── */
.page-hero {
  padding: 10rem 2rem 5rem; text-align: center; background: var(--white);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 400; line-height: 1.1;
  color: var(--dark-text);
  max-width: 750px; margin: 0 auto 1.25rem;
}
.page-hero p {
  font-size: 1.1rem; color: var(--mid-text);
  max-width: 580px; margin: 0 auto; line-height: 1.65; font-weight: 300;
}

/* ── CERTS BAR ── */
.certs-bar { padding: 2.5rem 2rem; text-align: center; border-top: 1px solid var(--border-light); }
.certs-bar p { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--muted-text); }

/* ── FOOTER ── */
footer {
  padding: 3rem 2rem; border-top: 1px solid var(--border-light);
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-left { font-size: 0.78rem; color: var(--muted-text); }
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a { font-size: 0.78rem; color: var(--muted-text); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--mid-text); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-light); gap: 1rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .page-hero { padding-top: 8rem; }
}
