/* ═══════════════════════════════════════════════════════════
   J&J Distribution — Shared Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary:      #0077B6;
  --accent:       #00B4D8;
  --light-accent: #48CAE4;
  --navy:         #03045E;
  --charcoal:     #2D3748;
  --body-text:    #4A5568;
  --bg-light:     #F0F4F8;
  --white:        #FFFFFF;
  --nav-h:        80px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--charcoal); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── UTILITY ──────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
#navbar .container { height: 100%; display: flex; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px; font-weight: 700;
  font-size: 15px; cursor: pointer; border: none; transition: all .25s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #005f8f; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #0098b8; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }

.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--navy); line-height: 1.15; }
.section-sub { font-size: 16px; color: var(--body-text); line-height: 1.7; max-width: 560px; }

.fade-up { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── NAVBAR ────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,119,182,.08);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(3,4,94,.12); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--charcoal); position: relative; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }
.nav-cta { margin-left: 8px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all .3s; }
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 24px; box-shadow: 0 12px 32px rgba(0,0,0,.1); z-index: 999; flex-direction: column; gap: 20px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 17px; font-weight: 600; color: var(--charcoal); padding: 8px 0; border-bottom: 1px solid var(--bg-light); }
.mobile-menu .btn { align-self: flex-start; }

/* ─── PAGE HERO BANNER ──────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 70px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 70%, var(--accent) 100%);
  position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,.04); pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -100px; left: -60px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,255,255,.04); pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-tag { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 100px; padding: 6px 18px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--light-accent); margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ─── CTA BANNER ────────────────────────────────────────────── */
#cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 60%, var(--accent) 100%);
  position: relative; overflow: hidden;
}
#cta-banner::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
#cta-banner::after { content: ''; position: absolute; bottom: -100px; left: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
.cta-text .cta-eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--light-accent); font-weight: 700; margin-bottom: 10px; }
.cta-text h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--white); line-height: 1.15; }
.cta-text h2 span { color: var(--light-accent); }

/* ─── FOOTER ────────────────────────────────────────────────── */
#footer { background: var(--charcoal); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { height: 44px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul li a:hover { color: var(--light-accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-icon { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; background: rgba(0,180,216,.15); border: 1px solid rgba(0,180,216,.25); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.contact-detail small { display: block; font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-detail a, .contact-detail span { font-size: 14px; color: rgba(255,255,255,.75); }
.contact-detail a:hover { color: var(--light-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--light-accent); }

/* ─── SHARED RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* ─── SHARED JS SNIPPET (reference only) ───────────────────── */
/* Each page includes the shared JS inline for navbar + mobile menu + fade-up */
