/* ============================================================
   CareerSpot365 — Global Stylesheet
   Font: Sora (headings) + DM Sans (body)
   Palette: Deep navy #0A0F2C · Electric blue #2563EB · 
            Vivid amber #F59E0B · Off-white #F8FAFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0A0F2C;
  --blue:    #2563EB;
  --blue-lt: #3B82F6;
  --amber:   #F59E0B;
  --green:   #10B981;
  --red:     #EF4444;
  --white:   #F8FAFF;
  --gray-1:  #F1F5F9;
  --gray-2:  #CBD5E1;
  --gray-3:  #64748B;
  --card-shadow: 0 4px 24px rgba(10,15,44,.10);
  --radius:  12px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--gray-1);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Ad Placeholders ──────────────────────────────────────── */
.ad-slot {
  background: linear-gradient(135deg, #e0e7ff 0%, #fef3c7 100%);
  border: 2px dashed var(--blue-lt);
  border-radius: var(--radius);
  text-align: center;
  padding: 14px;
  font-size: .78rem;
  color: var(--gray-3);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-head);
  margin: 20px 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-slot::before { content: '📢 Advertisement'; display: block; }

/* ── Header / Navbar ─────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1;
}
.logo-text span { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--gray-2);
  font-size: .88rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(37,99,235,.25);
  color: #fff;
}

.nav-cta {
  background: var(--amber) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 8px;
}
.nav-cta:hover { background: #d97706 !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s;
}

/* ── Mobile Nav ──────────────────────────────────────────── */
@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 62px; left: 0; right: 0;
    background: var(--navy);
    padding: 12px 16px 20px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 14px; }
}

/* ── Hero Banner ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 60%, #0A0F2C 100%);
  padding: 52px 16px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563EB' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 680px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.35);
  color: var(--amber);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero h1 span { color: var(--amber); }
.hero p {
  color: rgba(248,250,255,.7);
  font-size: 1rem;
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: .95rem;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--blue-lt); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: .95rem;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.07); }

/* ── Stats Strip ─────────────────────────────────────────── */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-2);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  display: block;
}
.stat-label { font-size: .75rem; color: var(--gray-3); }

/* ── Section ─────────────────────────────────────────────── */
.section { padding: 40px 16px; max-width: 1200px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 26px;
  background: var(--blue);
  border-radius: 2px;
}
.view-all {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.view-all:hover { gap: 8px; }

/* ── Job Cards Grid ──────────────────────────────────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.06);
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(10,15,44,.16);
}

.card-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a, #0A0F2C);
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.job-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--green);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--font-head);
  padding: 3px 9px;
  border-radius: 50px;
  letter-spacing: .05em;
}
.card-badge.govt { background: var(--amber); color: var(--navy); }

.card-logo {
  position: absolute;
  bottom: 10px; left: 10px;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.card-company {
  font-size: .75rem;
  color: var(--gray-3);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.card-role {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.meta-tag {
  background: var(--gray-1);
  color: var(--gray-3);
  font-size: .72rem;
  padding: 3px 9px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Loading Skeleton ────────────────────────────────────── */
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}
.skeleton { background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.sk-img { height: 160px; }
.sk-body { padding: 14px 16px; }
.sk-line { height: 12px; border-radius: 6px; margin-bottom: 10px; }
.sk-line.short { width: 55%; }
.sk-line.med { width: 80%; }
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

/* ── Filter Tabs ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-2);
  background: var(--white);
  color: var(--gray-3);
  font-weight: 600;
  font-family: var(--font-head);
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── Job Detail Page ─────────────────────────────────────── */
.detail-wrapper { max-width: 860px; margin: 0 auto; padding: 32px 16px 60px; }

.detail-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.detail-logo {
  width: 72px; height: 72px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.detail-head h1 {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.25;
}
.detail-head p { color: rgba(248,250,255,.75); font-size: .9rem; }

.detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.detail-card h2 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--navy);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-1);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.detail-item { display: flex; flex-direction: column; gap: 3px; }
.detail-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-3);
  font-weight: 600;
}
.detail-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
}

.description-text {
  font-size: .93rem;
  line-height: 1.8;
  color: #334155;
  white-space: pre-wrap;
}

.apply-section {
  background: linear-gradient(135deg, #eff6ff 0%, #fefce8 100%);
  border: 1.5px solid var(--blue-lt);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-bottom: 20px;
}
.apply-section h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.apply-section p { color: var(--gray-3); font-size: .88rem; margin-bottom: 18px; }
.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 14px 36px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .15s;
}
.btn-apply:hover { background: var(--blue-lt); transform: translateY(-2px); }

/* ── Affiliate Section ───────────────────────────────────── */
.affiliate-section { margin-top: 8px; }
.affiliate-section h2 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
}
.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.affiliate-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .2s;
}
.affiliate-card:hover { box-shadow: 0 8px 28px rgba(10,15,44,.14); }
.affiliate-card h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}
.btn-affiliate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--amber);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .83rem;
  font-family: var(--font-head);
  transition: background .2s;
}
.btn-affiliate:hover { background: #d97706; }

/* ── About Page ──────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  padding: 60px 16px;
  text-align: center;
  color: var(--white);
}
.about-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.about-hero p { color: rgba(248,250,255,.75); max-width: 560px; margin: 0 auto; }

.about-content { max-width: 900px; margin: 0 auto; padding: 40px 16px; }
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}
.about-card h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
}
.about-card p { color: #475569; line-height: 1.8; margin-bottom: 10px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.service-item {
  background: var(--gray-1);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-icon { font-size: 1.6rem; }
.service-item h3 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; }
.service-item p { font-size: .85rem; color: var(--gray-3); }

.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-1);
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s;
}
.contact-link:hover { background: var(--gray-2); }

/* ── Blog Page ───────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  padding: 52px 16px;
  text-align: center;
  color: var(--white);
}
.blog-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.blog-hero p { color: rgba(255,255,255,.75); }

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .2s;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-img {
  height: 180px;
  background: linear-gradient(135deg, #1e3a8a, #064e3b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-body { padding: 18px; }
.blog-tag {
  display: inline-block;
  background: #dbeafe;
  color: var(--blue);
  font-size: .7rem;
  font-weight: 700;
  font-family: var(--font-head);
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .05em;
  margin-bottom: 10px;
}
.blog-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
  line-height: 1.35;
}
.blog-body p { font-size: .85rem; color: var(--gray-3); line-height: 1.6; margin-bottom: 14px; }
.btn-read {
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-head);
}
.btn-read:hover { gap: 8px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(248,250,255,.65);
  padding: 48px 16px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .logo-text { font-size: 1.2rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .85rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: .84rem;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .8rem;
}

/* ── Notification Toast ──────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 20px; right: 20px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-2);
  padding: 10px 16px;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: .82rem;
  color: var(--gray-3);
  flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--blue); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-2); }

/* ── WhatsApp CTA Float ───────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px; left: 24px;
  background: #25D366;
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform .2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }

/* ── Back to Top ─────────────────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--blue);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  z-index: 998;
  border: none;
  transition: background .2s;
}
#back-top:hover { background: var(--blue-lt); }
#back-top.visible { display: flex; }

/* ── Error state ─────────────────────────────────────────── */
.error-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--gray-3);
}
.error-state .icon { font-size: 3rem; margin-bottom: 12px; }
.error-state h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; color: var(--navy); }

/* ── Footer Legal Row ────────────────────────────────────── */
.footer-legal {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 14px 16px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.footer-legal a {
  font-size: .8rem;
  color: var(--gray-2);
  transition: color .2s;
}
.footer-legal a:hover { color: #fff; }

.aff-disclosure {
  font-size: .75rem;
  color: rgba(248,250,255,.45);
  margin-top: 10px;
  line-height: 1.5;
}

/* ── Sticky Social Bar ───────────────────────────────────── */
#social-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  z-index: 9990;
  box-shadow: 0 -2px 16px rgba(0,0,0,.2);
}
.soc-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  color: #fff;
}
.soc-wa { background: #25D366; }
.soc-yt { background: #FF0000; }
.soc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
  animation: blink-dot 1.1s ease-in-out infinite;
}
@keyframes blink-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0; transform:scale(.4); }
}
/* Push page content above social bar */
.site-footer { margin-bottom: 48px; }
body { padding-bottom: 48px; }

/* ── Job Description — preserve line breaks ──────────────── */
.description-text {
  white-space: pre-line;
  word-break: break-word;
  font-size: .93rem;
  line-height: 1.85;
  color: #334155;
}

/* ── Legal / Static Pages ────────────────────────────────── */
.legal-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  padding: 48px 16px 40px;
  text-align: center;
  color: var(--white);
}
.legal-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.legal-hero p { color: rgba(248,250,255,.7); font-size: .9rem; }
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 16px 60px;
}
.legal-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.legal-section h2 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-1);
}
.legal-section p, .legal-section li {
  font-size: .9rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal-section ul { padding-left: 18px; list-style: disc; }
.legal-section a { color: var(--blue); }
.legal-updated {
  font-size: .78rem;
  color: var(--gray-3);
  text-align: right;
  margin-bottom: 20px;
}
.disclosure-box {
  background: #fefce8;
  border: 1.5px solid var(--amber);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: .85rem;
  color: #78350f;
  margin-bottom: 20px;
}

/* ── Blog Pages ──────────────────────────────────────────── */
.blog-detail-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 60px;
}
.blog-detail-hero {
  background: linear-gradient(135deg,#064e3b 0%,#065f46 100%);
  border-radius: 14px;
  padding: 32px;
  color: #fff;
  margin-bottom: 24px;
}
.blog-detail-hero .blog-tag {
  background: rgba(255,255,255,.2);
  color: #fff;
  margin-bottom: 14px;
}
.blog-detail-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}
.blog-detail-hero .meta {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.blog-content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.blog-content-card h2 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 8px;
}
.blog-content-card h2:first-child { margin-top: 0; }
.blog-content-card p {
  font-size: .92rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 12px;
}
.blog-content-card ul {
  padding-left: 18px;
  list-style: disc;
  margin-bottom: 12px;
}
.blog-content-card li {
  font-size: .92rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 4px;
}
.blog-tip {
  background: #eff6ff;
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 14px 0;
  font-size: .88rem;
  color: #1e40af;
}

/* ── Contact Page ────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-2);
  border-radius: 8px;
  font-size: .9rem;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 120px; resize: vertical; }
