/* ===================================================
   JAISONS QUALITY SYSTEMS — SHARED STYLESHEET
   Used by: manufacturing.html, projects.html, about.html
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6; color: #1a202c; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }

/* TOPBAR */
.topbar { background: #0a1628; padding: 8px 0; border-bottom: 1px solid #1e293b; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar-left { display: flex; gap: 24px; }
.topbar-left span { color: #64748b; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.city-chips { display: flex; gap: 6px; }
.city-chip { font-size: 11px; color: #94a3b8; background: rgba(255,255,255,0.05); border: 1px solid #1e293b; border-radius: 20px; padding: 3px 10px; }
.topbar-social { display: flex; gap: 8px; }
.topbar-social a { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #1e293b; display: flex; align-items: center; justify-content: center; color: #475569; font-size: 11px; font-weight: 600; transition: color .2s; }
.topbar-social a:hover { color: #60a5fa; }

/* NAVBAR */
.navbar { background: #fff; border-bottom: 3px solid #1e3a8a; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo-area { display: flex; flex-direction: column; gap: 2px; }
.logo-area img { height: 38px; width: auto; }
.logo-sub { font-size: 11px; color: #1e3a8a; letter-spacing: 0.5px; font-weight: 600; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { padding: 8px 14px; font-size: 13px; color: #4b5563; border-radius: 6px; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a.active { background: #eff6ff; color: #1e3a8a; }
.nav-cta { background: #1e3a8a; color: #fff; padding: 10px 22px; border-radius: 6px; font-size: 13px; font-weight: 500; border: none; cursor: pointer; margin-left: 8px; display: inline-block; transition: background .2s; }
.nav-cta:hover { background: #1e40af; }
.navbar-toggle { display: none; background: none; border: 1px solid #e2e8f0; border-radius: 6px; padding: 6px 10px; cursor: pointer; font-size: 18px; color: #374151; }

/* PAGE HERO */
.page-hero { position: relative; height: 420px; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,0.92) 40%, rgba(10,22,40,0.4) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 0 0 52px; width: 100%; }
.page-hero-content .container {}
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.breadcrumb a { font-size: 12px; color: #64748b; }
.breadcrumb span { font-size: 12px; color: #334155; }
.breadcrumb-sep { font-size: 12px; color: #334155; }
.page-hero h1 { font-size: 44px; font-weight: 500; color: #fff; line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 12px; }
.page-hero h1 em { font-style: normal; color: #60a5fa; }
.page-hero p { font-size: 15px; color: #64748b; max-width: 560px; line-height: 1.7; }
.page-hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(30,58,138,0.3); border: 1px solid rgba(99,132,255,0.3); border-radius: 20px; padding: 4px 14px; margin-bottom: 16px; }
.page-hero-tag span { font-size: 11px; color: #93c5fd; }

/* SECTION HELPERS */
.section-tag { font-size: 10px; letter-spacing: 2.5px; color: #1e3a8a; font-weight: 500; margin-bottom: 10px; text-transform: uppercase; }
.section-tag.light { color: #60a5fa; }
.section-tag.cyan { color: #22d3ee; opacity: .8; }
.sec-title { font-size: 32px; font-weight: 500; line-height: 1.2; margin-bottom: 12px; }
.sec-title em { font-style: normal; color: #1e3a8a; }
.sec-sub { font-size: 15px; color: #64748b; line-height: 1.75; max-width: 580px; }

/* STAT CARDS */
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.stat-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px 20px; text-align: center; }
.stat-card.dark { background: #111827; border-color: #1e293b; }
.stat-num { font-size: 36px; font-weight: 500; color: #1e3a8a; margin-bottom: 5px; }
.stat-card.dark .stat-num { color: #60a5fa; }
.stat-label { font-size: 12px; color: #64748b; line-height: 1.5; }
.stat-card.dark .stat-label { color: #475569; }

/* BUTTONS */
.btn-primary { background: #1e3a8a; color: #fff; padding: 13px 28px; border-radius: 7px; font-size: 14px; font-weight: 500; border: none; cursor: pointer; display: inline-block; transition: background .2s; }
.btn-primary:hover { background: #1e40af; }
.btn-outline { background: transparent; color: #1e3a8a; padding: 12px 26px; border-radius: 7px; font-size: 14px; font-weight: 500; border: 1.5px solid #1e3a8a; display: inline-block; transition: background .2s, color .2s; cursor: pointer; }
.btn-outline:hover { background: #1e3a8a; color: #fff; }
.btn-ghost-dark { background: transparent; color: #94a3b8; padding: 11px 22px; border-radius: 7px; font-size: 13px; border: 1px solid #1e293b; display: inline-block; cursor: pointer; transition: border-color .2s, color .2s; }
.btn-ghost-dark:hover { border-color: #3b82f6; color: #60a5fa; }

/* CONTACT FORM */
.contact-form-wrap { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px; }
.cf-title { font-size: 16px; font-weight: 500; margin-bottom: 5px; color: #1a202c; }
.cf-sub { font-size: 13px; color: #64748b; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.form-field label { font-size: 10px; color: #64748b; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { border: 1px solid #e2e8f0; border-radius: 7px; padding: 10px 12px; font-size: 13px; background: #fff; color: #1a202c; width: 100%; font-family: inherit; transition: border-color .2s; outline: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #3b82f6; }
.form-field textarea { height: 80px; resize: vertical; }
.form-submit { background: #1e3a8a; color: #fff; border: none; width: 100%; padding: 13px; border-radius: 7px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; transition: background .2s; }
.form-submit:hover { background: #1e40af; }

/* FOOTER */
.footer { background: #0a1628; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 26px; width: auto; opacity: .55; margin-bottom: 10px; }
.footer-tagline { font-size: 11px; color: #1e3a8a; font-weight: 500; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: #334155; line-height: 1.7; }
.cert-row { display: flex; gap: 7px; margin-top: 14px; flex-wrap: wrap; }
.cert-tag { background: #111827; border: 1px solid #1e293b; border-radius: 5px; padding: 3px 10px; font-size: 10px; color: #60a5fa; }
.footer-col h5 { font-size: 10px; letter-spacing: 1.5px; color: #475569; margin-bottom: 16px; font-weight: 600; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a { font-size: 13px; color: #334155; transition: color .2s; }
.footer-col ul li a:hover { color: #60a5fa; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: #1e293b; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .topbar-left span:not(:first-child), .city-chips { display: none; }
  .nav-links { display: none; }
  .navbar-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 2px solid #1e3a8a; padding: 12px 20px; z-index: 99; gap: 4px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero { height: 320px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .container { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stat-row, .footer-grid { grid-template-columns: 1fr; }
}

/* CHAIRMAN RESPONSIVE */
@media (max-width: 900px) {
  #chairmans-desk > .container > div { grid-template-columns: 1fr !important; gap: 32px !important; }
  #chairmans-desk img { height: 280px !important; }
}
