/* =============================================
   SHARED HEADER & FOOTER — SkillsForResume.com
   Matches screenshots exactly
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.6;color:#374151}
a{text-decoration:none;color:inherit}
ul{list-style:none}
button{cursor:pointer;border:none;background:none;font:inherit}
img{display:block;max-width:100%}
input{font:inherit;border:none;outline:none}

:root{
  --navy:#0D1B2E;
  --navy2:#162340;
  --accent:#F5C518;
  --blue:#2B4FE8;
  --bg:#F4F5F7;
  --white:#ffffff;
  --text:#374151;
  --muted:#6B7280;
  --border:#E5E7EB;
  --border2:#D1D5DB;
  --green:#10B981;
  --radius:8px;
  --max:1200px;
  --hh:68px;
}

/* =============================================
   HEADER
   ============================================= */
.sfr-header{
  position:sticky;top:0;z-index:200;
  background:#fff;
  border-bottom:1px solid var(--border);
  height:var(--hh);
  display:flex;align-items:center;
}
.sfr-header.scrolled{box-shadow:0 2px 16px rgba(0,0,0,.08)}

.sfr-header-inner{
  max-width:var(--max);margin:0 auto;padding:0 28px;
  width:100%;display:flex;align-items:center;gap:20px;
}

/* Logo */
.sfr-logo{
  display:flex;align-items:center;gap:10px;
  flex-shrink:0;
}
.sfr-logo-icon{
  width:36px;height:36px;
  background:var(--blue);border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.sfr-logo-icon svg{width:20px;height:20px;fill:#fff}
.sfr-logo-text{
  font-size:.9375rem;font-weight:700;color:var(--navy);
  letter-spacing:-.01em;
}
.sfr-logo-text strong{font-weight:800}
.sfr-logo-text .dot{color:var(--muted);font-weight:400}

/* Search bar */
.sfr-search{
  flex:1;max-width:280px;margin:0 auto;
  display:flex;align-items:center;gap:8px;
  background:var(--bg);border:1.5px solid var(--border);
  border-radius:8px;padding:0 14px;height:38px;
  transition:border-color .15s,box-shadow .15s;
}
.sfr-search:focus-within{border-color:#93C5FD;box-shadow:0 0 0 3px rgba(43,79,232,.1)}
.sfr-search svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}
.sfr-search input{
  flex:1;background:transparent;font-size:.8125rem;
  color:var(--text);
}
.sfr-search input::placeholder{color:var(--muted)}

/* Nav right */
.sfr-nav{display:flex;align-items:center;gap:4px;flex-shrink:0}

/* Free tools dropdown */
.sfr-dropdown{position:relative}
.sfr-dropdown-btn{
  display:flex;align-items:center;gap:5px;
  padding:8px 14px;border-radius:7px;
  font-size:.875rem;font-weight:600;color:var(--navy);
  transition:background .15s;
}
.sfr-dropdown-btn:hover{background:var(--bg)}
.sfr-dropdown-btn svg{width:14px;height:14px;transition:transform .2s}
.sfr-dropdown.open .sfr-dropdown-btn svg{transform:rotate(180deg)}

/* Dropdown panel */
.sfr-dropdown-panel{
  position:absolute;top:calc(100% + 10px);left:50%;
  transform:translateX(-50%);
  width:340px;
  background:#fff;border:1px solid var(--border);
  border-radius:12px;box-shadow:0 8px 40px rgba(0,0,0,.12),0 2px 8px rgba(0,0,0,.06);
  padding:12px;
  display:none;z-index:300;
}
.sfr-dropdown.open .sfr-dropdown-panel{display:block}

.sfr-tool-item{
  display:flex;align-items:center;gap:14px;
  padding:12px 14px;border-radius:8px;
  transition:background .15s;cursor:pointer;
}
.sfr-tool-item:hover{background:var(--bg)}
.sfr-tool-icon{
  width:40px;height:40px;border-radius:8px;
  background:#EEF2FF;display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.sfr-tool-icon svg{width:20px;height:20px;color:var(--blue)}
.sfr-tool-info{flex:1}
.sfr-tool-name{font-size:.875rem;font-weight:700;color:var(--navy)}
.sfr-tool-sub{font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:2px}
.sfr-tool-bar{height:3px;background:var(--border);border-radius:2px;margin-top:5px;overflow:hidden}
.sfr-tool-bar-fill{height:100%;border-radius:2px;transition:width 1s ease}
.sfr-tool-bar-fill.blue{background:var(--blue)}
.sfr-tool-score{font-size:.75rem;font-weight:600;color:var(--muted);margin-top:4px}
.sfr-tool-arrow{width:28px;height:28px;display:flex;align-items:center;justify-content:center;color:var(--muted);flex-shrink:0}
.sfr-tool-arrow svg{width:16px;height:16px}

.sfr-dropdown-divider{height:1px;background:var(--border);margin:8px 0}
.sfr-view-all{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 14px;border-radius:8px;
  font-size:.875rem;font-weight:600;color:var(--navy);
  transition:background .15s;
}
.sfr-view-all:hover{background:var(--bg)}
.sfr-view-all svg{width:16px;height:16px;color:var(--muted)}

/* About nav link */
.sfr-nav-link{
  padding:8px 14px;border-radius:7px;
  font-size:.875rem;font-weight:500;color:var(--navy);
  transition:background .15s;
}
.sfr-nav-link:hover{background:var(--bg)}

/* ATS Checker button */
.sfr-btn-ats{
  display:flex;align-items:center;gap:7px;
  padding:8px 16px;border-radius:8px;
  font-size:.8125rem;font-weight:600;color:var(--navy);
  background:#fff;border:1.5px solid var(--border2);
  transition:all .15s;
}
.sfr-btn-ats:hover{border-color:#93C5FD;background:#F0F4FF}
.sfr-btn-ats svg{width:16px;height:16px;color:var(--blue);flex-shrink:0}

/* Skills Matcher button */
.sfr-btn-sm{
  display:flex;align-items:center;gap:7px;
  padding:8px 16px;border-radius:8px;
  font-size:.8125rem;font-weight:600;color:var(--blue);
  background:#EEF2FF;border:1.5px solid #C7D2FE;
  transition:all .15s;
}
.sfr-btn-sm:hover{background:#E0E7FF;border-color:#A5B4FC}
.sfr-btn-sm svg{width:16px;height:16px;flex-shrink:0}

/* Hamburger */
.sfr-hamburger{display:none;flex-direction:column;gap:5px;padding:8px;border-radius:6px}
.sfr-hamburger span{display:block;width:20px;height:2px;background:var(--navy);border-radius:2px;transition:all .2s}
.sfr-hamburger:hover{background:var(--bg)}

/* Mobile nav */
.sfr-mobile-nav{
  position:fixed;top:0;right:-100%;width:min(340px,90vw);height:100vh;
  background:#fff;z-index:400;
  box-shadow:-4px 0 40px rgba(0,0,0,.14);
  transition:right .28s cubic-bezier(.4,0,.2,1);
  overflow-y:auto;display:flex;flex-direction:column;
}
.sfr-mobile-nav.open{right:0}
.sfr-mobile-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 20px;border-bottom:1px solid var(--border);
  flex-shrink:0;
}
.sfr-mobile-close{
  width:32px;height:32px;display:flex;align-items:center;justify-content:center;
  border-radius:6px;font-size:1.125rem;color:var(--muted);transition:background .15s;
}
.sfr-mobile-close:hover{background:var(--bg)}
.sfr-mobile-body{padding:16px 20px;flex:1}
.sfr-mobile-sec-label{
  font-size:.625rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);margin:16px 0 8px;
}
.sfr-mobile-sec-label:first-child{margin-top:0}
.sfr-mobile-links{display:flex;flex-direction:column;gap:2px}
.sfr-mobile-links a{
  padding:9px 12px;border-radius:6px;font-size:.875rem;
  color:var(--text);transition:background .15s;
}
.sfr-mobile-links a:hover{background:var(--bg);color:var(--navy)}
.sfr-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:399;
  display:none;backdrop-filter:blur(3px);
}
.sfr-overlay.show{display:block}

/* =============================================
   FOOTER
   ============================================= */
.sfr-footer{
  background:var(--navy);
  padding:56px 0 36px;
}
.sfr-footer-inner{
  max-width:var(--max);margin:0 auto;padding:0 28px;
}

.sfr-footer-grid{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:60px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

/* Left brand column */
.sfr-footer-brand{}
.sfr-footer-logo{
  display:flex;align-items:center;gap:8px;margin-bottom:12px;
}
.sfr-footer-logo-icon{
  width:40px;height:40px;background:var(--blue);border-radius:8px;
  display:flex;align-items:center;justify-content:center;
}
.sfr-footer-logo-icon svg{width:22px;height:22px;fill:#fff}
.sfr-footer-logo-text{display:flex;flex-direction:column;line-height:1.2}
.sfr-footer-logo-text .name{font-size:.9375rem;font-weight:700;color:#fff}
.sfr-footer-logo-text .name strong{font-weight:800}
.sfr-footer-logo-text .domain{font-size:.6875rem;color:rgba(255,255,255,.4)}

.sfr-footer-tagline{
  font-size:.875rem;color:rgba(255,255,255,.55);
  line-height:1.65;margin-bottom:20px;max-width:26ch;
}

/* Social icons */
.sfr-socials{display:flex;gap:8px;margin-bottom:28px}
.sfr-social{
  width:36px;height:36px;border-radius:8px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:center;
  transition:all .15s;
}
.sfr-social:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.2)}
.sfr-social svg{width:17px;height:17px;fill:rgba(255,255,255,.6)}

/* Stay connected */
.sfr-stay-label{
  display:flex;align-items:center;gap:6px;
  font-size:.625rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.4);margin-bottom:12px;
}
.sfr-stay-label svg{width:14px;height:14px;fill:rgba(255,255,255,.4)}
.sfr-stay-heading{
  font-size:1.1875rem;font-weight:800;color:#fff;
  line-height:1.25;margin-bottom:6px;letter-spacing:-.01em;
}
.sfr-stay-sub{font-size:.8125rem;color:rgba(255,255,255,.5);margin-bottom:16px;line-height:1.6}
.sfr-email-row{display:flex;gap:8px}
.sfr-email-input{
  flex:1;padding:9px 14px;border-radius:7px;
  background:rgba(255,255,255,.08);border:1.5px solid rgba(255,255,255,.12);
  color:#fff;font-size:.8125rem;
  transition:border-color .15s;
}
.sfr-email-input::placeholder{color:rgba(255,255,255,.35)}
.sfr-email-input:focus{outline:none;border-color:rgba(255,255,255,.3)}
.sfr-subscribe-btn{
  padding:9px 16px;border-radius:7px;
  background:#fff;color:var(--navy);
  font-size:.8125rem;font-weight:700;
  transition:background .15s;white-space:nowrap;flex-shrink:0;
}
.sfr-subscribe-btn:hover{background:#F0F0F0}

/* Right columns */
.sfr-footer-cols{
  display:grid;
  grid-template-columns:0.75fr 1.8fr 0.75fr;
  gap:32px;
}
.sfr-footer-col-head{
  display:flex;align-items:center;gap:7px;
  font-size:.8125rem;font-weight:700;color:#fff;
  margin-bottom:6px;
}
.sfr-footer-col-head svg{width:16px;height:16px;fill:rgba(255,255,255,.7)}
.sfr-footer-col-sub{font-size:.75rem;color:rgba(255,255,255,.35);margin-bottom:16px;line-height:1.5}

.sfr-footer-links{display:flex;flex-direction:column;gap:10px}
.sfr-footer-links a{
  font-size:.8125rem;color:rgba(255,255,255,.55);
  transition:color .15s;
}
.sfr-footer-links a:hover{color:#fff}

/* Explore: 2 column grid of links */
.sfr-explore-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:9px 24px;
}
.sfr-explore-grid a{
  font-size:.8125rem;color:rgba(255,255,255,.55);
  transition:color .15s;
}
.sfr-explore-grid a:hover{color:#fff}

/* Footer bottom bar */
.sfr-footer-bottom{
  display:flex;align-items:center;justify-content:center;
  padding-top:24px;
  font-size:.75rem;color:rgba(255,255,255,.25);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:960px){
  .sfr-search{display:none}
  .sfr-footer-grid{grid-template-columns:1fr;gap:40px}
  .sfr-footer-cols{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .sfr-btn-ats,.sfr-btn-sm,.sfr-nav-link{display:none}
  .sfr-hamburger{display:flex}
  .sfr-footer-cols{grid-template-columns:1fr}
}
@media(max-width:480px){
  .sfr-header-inner{padding:0 16px}
  .sfr-footer-inner{padding:0 16px}
}
