/* ============================================================
   MECHTECH CAREERS — SHARED STYLES
   All colors/patterns copied exactly from the working about.html
   ============================================================ */

:root {
  --navy:     #0D1B2A;
  --blue:     #1557A0;
  --sky:      #1A7BC4;
  --gold:     #B8860B;
  --gold-lt:  #FFF8E7;
  --gold-mid: #C9A84C;
  --green:    #1A7A5E;
  --green-lt: #EAF7F2;
  --bg:       #F7F9FC;
  --bg2:      #EEF4FA;
  --white:    #FFFFFF;
  --text:     #111827;
  --text2:    #374151;
  --text3:    #3D4A5C;
  --border:   #D1DCE8;
  --nav-h:    68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: #F7F9FC; color: #111827; overflow-x: hidden; line-height: 1.6; padding-top: var(--nav-h); }

/* ── STICKY NAV (dark — same as about.html topbar) ── */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: rgba(13,27,42,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 0 64px; transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.nav-brand { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; text-decoration: none; }
.nav-brand span { color: #C9A84C; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.85); text-decoration: none; padding: 8px 16px; border-radius: 4px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #C9A84C; font-weight: 700; }
.nav-cta { background: #C9A84C !important; color: #0D1B2A !important; font-weight: 700 !important; padding: 9px 20px !important; border-radius: 4px !important; }
.nav-cta:hover { background: #dbb95a !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; display: block; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.nav-mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(13,27,42,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 0; z-index: 999; flex-direction: column; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.9); text-decoration: none; padding: 14px 32px; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.2s, background 0.2s; }
.nav-mobile a:hover, .nav-mobile a.active { color: #C9A84C; background: rgba(255,255,255,0.04); }
.nav-mobile .nav-cta { color: #0D1B2A !important; background: #C9A84C !important; margin: 12px 32px 4px; border-radius: 4px; text-align: center; }

/* ── PAGE HERO (dark navy — same as about.html hero) ── */
.page-hero { background: #0D1B2A; padding: 80px 64px 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 50%, rgba(21,87,160,0.2), transparent 60%); pointer-events: none; }
.page-hero-inner { max-width: 1140px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #C9A84C; font-weight: 600; margin-bottom: 20px; }
.page-hero-tag::before { content: ''; width: 22px; height: 2px; background: #C9A84C; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(40px,5vw,60px); font-weight: 900; color: #fff; line-height: 1.05; margin-bottom: 20px; }
.page-hero h1 em { color: #C9A84C; font-style: normal; display: block; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 580px; line-height: 1.7; }

/* ── SECTION WRAPPERS ── */
.wrap { max-width: 1140px; margin: 0 auto; padding: 80px 64px; }
/* Light bg section — same as skill-card area in about.html */
.section-light { background: #F7F9FC; }
/* Tinted bg — same as .gap-bg in about.html */
.section-tint { background: #EEF4FA; border-top: 1px solid #D1DCE8; border-bottom: 1px solid #D1DCE8; }
/* Dark navy section — same as .xb-bg in about.html */
.section-dark { background: #0D1B2A; }
/* Blue bridge strip — same as .bridge-banner in about.html */
.section-blue { background: #1557A0; }

/* ── EYEBROW LABELS ── */
/* On light bg — same as .eyebrow in about.html */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #7A5C0A; font-weight: 600; margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: #B8860B; }
/* On dark bg — same as .xb-bg .eyebrow in about.html */
.eyebrow-light { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #C9A84C; font-weight: 600; margin-bottom: 12px; }
.eyebrow-light::before { content: ''; width: 22px; height: 2px; background: #C9A84C; }

/* ── HEADINGS ── */
/* On light bg */
.sec-title { font-family: 'Playfair Display', serif; font-size: clamp(26px,3.5vw,40px); font-weight: 700; color: #0D1B2A; line-height: 1.2; margin-bottom: 10px; }
.sec-title em { color: #1A7BC4; font-style: normal; }
/* On dark bg */
.sec-title-light { font-family: 'Playfair Display', serif; font-size: clamp(26px,3.5vw,40px); font-weight: 700; color: #ffffff; line-height: 1.2; margin-bottom: 10px; }
.sec-title-light em { color: #C9A84C; font-style: normal; }

/* ── SUBTITLES ── */
.sec-sub { font-size: 16px; color: #374151; max-width: 640px; line-height: 1.7; margin-bottom: 48px; }
.sec-sub-light { font-size: 16px; color: #FFFFFF; max-width: 640px; line-height: 1.7; margin-bottom: 48px; }

/* ── DIVIDER ── */
.divider { height: 1px; background: #D1DCE8; margin: 0 64px; }

/* ── BUTTONS ── */
.btn-gold { display: inline-flex; align-items: center; gap: 8px; background: #C9A84C; color: #0D1B2A; padding: 14px 32px; font-size: 14px; font-weight: 700; letter-spacing: 0.5px; text-decoration: none; border-radius: 4px; transition: background 0.2s, transform 0.2s; }
.btn-gold:hover { background: #dbb95a; transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: #fff; padding: 14px 32px; font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: background 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.16); }

/* ── WHITE CARD (on light bg) — same as .skill-card, .award-card in about.html ── */
.white-card { background: #FFFFFF; border: 1px solid #D1DCE8; border-top: 3px solid #1557A0; border-radius: 0 0 6px 6px; padding: 26px 22px; transition: border-top-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.white-card:hover { border-top-color: #B8860B; box-shadow: 0 6px 20px rgba(0,0,0,0.07); transform: translateY(-3px); }
.white-card-title { font-size: 15px; font-weight: 700; color: #0D1B2A; margin-bottom: 8px; }
.white-card-desc { font-size: 13px; color: #374151; line-height: 1.65; margin-bottom: 12px; }
.white-card-tag { font-size: 10px; letter-spacing: 0.8px; text-transform: uppercase; background: #EEF4FA; border: 1px solid #D1DCE8; color: #1A7BC4; padding: 3px 8px; border-radius: 3px; font-weight: 600; }

/* ── DARK CARD (on navy bg) — same as .xb-card in about.html ── */
.dark-card { background: rgba(255,255,255,0.04); padding: 32px 24px; border-top: 3px solid transparent; transition: background 0.3s, border-color 0.3s; }
.dark-card:hover { background: rgba(255,255,255,0.07); border-top-color: #C9A84C; }
.dark-card-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 600; margin-bottom: 6px; }
.dark-card-title { font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dark-card-body { font-size: 13.5px; color: #FFFFFF; line-height: 1.6; }
.dark-card-accent { font-size: 16px; color: #C9A84C; margin-bottom: 8px; display: block; }
.dark-card-accent-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #C9A84C; font-weight: 600; margin-bottom: 6px; }

/* ── GREEN CALLOUT — same as .ymfu in about.html ── */
.green-tag { display: inline-flex; align-items: center; background: #EAF7F2; border: 1px solid #A8D8C8; color: #0D3D2A; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; margin-top: 8px; margin-bottom: 4px; }
.green-text { font-size: 13px; color: #0D3D2A; line-height: 1.55; font-style: italic; }

/* ── QUOTE BLOCK — same as .founder-quote in about.html ── */
.quote-block { background: #FFF8E7; border-left: 4px solid #B8860B; padding: 24px; border-radius: 0 6px 6px 0; margin-top: 24px; }
.quote-block p { font-family: 'Playfair Display', serif; font-size: 17px; font-style: italic; color: #3D2800; line-height: 1.65; }
.quote-block cite { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #7A5C0A; margin-top: 12px; font-style: normal; font-weight: 600; }

/* ── FOOTER ── */
.footer { background: #060F1A; padding: 48px 64px 28px; }
.footer-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: #C9A84C; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #C9A84C; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.70); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1140px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media(max-width:960px) {
  .nav { padding: 0 28px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .wrap { padding: 56px 28px; }
  .divider { margin: 0 28px; }
  .footer { padding: 40px 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { padding: 56px 28px 48px; }
}
