/* ── CSS VARIABLES ── */
:root {
  --bg: #0a0e1a;
  --surface: #111827;
  --surface2: #1a2236;
  --accent: #f97316;
  --accent2: #fb923c;
  --teal: #2dd4bf;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: #1e293b;
  --card: #141c2e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
#jobs,
#categories,
#about {
  scroll-margin-top: 88px;
}

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,14,26,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  height: 64px;
}
.logo {
  color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center;
  flex-shrink: 0;
}
.logo-image {
  display: block;
  height: 42px;
  width: auto;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: .9rem; font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px;
  padding: 8px 18px; font-size: .88rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
  font-family: 'DM Sans', sans-serif;
}
.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 64px);
  padding: 80px 5% 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 70px;
  padding-bottom: 90px;
}

.hero-subline {
  font-size: 1.05rem;
  color: #cbd5e1;

  margin-top: 18px;
  max-width: 540px;
  text-align: center;

  line-height: 1.6;
  letter-spacing: 0.2px;

  opacity: 0.9;

  /* 🔥 smooth fade-in */
  animation: fadeInUp 0.8s ease forwards;
}

.hero-subline span {
  color: #f97316;
  font-weight: 500;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.hero-subline:hover {
  color: #e2e8f0;
}


.hero-live {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #f97316;
  font-weight: 500;
  opacity: 0.9;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249,115,22,.13) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(45,212,191,.07) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
}
.hero-badge {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,.12); border: 1px solid rgba(249,115,22,.3);
  color: var(--accent); border-radius: 100px;
  padding: 6px 16px; font-size: .8rem; font-weight: 600;
  margin-bottom: 24px; letter-spacing: .04em;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: pulse 1.5s infinite;
}
.hero h1 {
  position: relative; z-index: 1;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 20px;
  max-width: 15ch;      /* tighter = premium look */
  margin: 0 auto;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.hero h1 em { font-style: normal; color: var(--accent);
text-shadow: 0 0 20px rgba(249,115,22,0.5); }
.hero p {
  position: relative; z-index: 1;
  color: var(--muted); font-size: 1.05rem; max-width: 560px;
  margin-bottom: 18px;
}
.hero-btns {
  margin-top: 30px;
  position: relative; z-index: 1;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.btn-primary {
  background: var(--accent); color: #fff; border: none;
   font-weight: 600; cursor: pointer;
  text-decoration: none; transition: all .2s;
  font-family: 'DM Sans', sans-serif;
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 12px;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.3); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
   font-weight: 500; cursor: pointer;
  text-decoration: none; transition: all .2s;
  font-family: 'DM Sans', sans-serif;
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 12px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── COMPANY STRIP ── */
.company-strip {
  padding: 28px 5% 0;
}
.company-strip-inner {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.company-strip-label {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.company-logo-row {
  display: flex;
  gap: 20px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.company-logo-track {
  display: flex;
  gap: 20px;
  animation: scrollCompanies 35s linear infinite;
}

@keyframes scrollCompanies {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.company-pill {
  flex: 0 0 auto;
  min-width: 260px;            /* desktop size */
  padding: 16px 18px;
  border-radius: 16px;

  background: rgba(26,34,54,.7);
  border: 1px solid var(--border);

  display: flex;
  align-items: center;
  gap: 12px;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.company-pill:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.company-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}
.company-pill-text {
  min-width: 0;
}
.company-pill-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.company-pill-count {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── FILTER BAR ── */
.filter-bar {
  padding: 32px 5% 0;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.filter-tag {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--muted); border-radius: 100px;
  padding: 7px 16px; font-size: .82rem; font-weight: 500;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.filter-tag:hover, .filter-tag.active {
  background: var(--accent); border-color: var(--accent);
  color: #fff;
}
.search-wrap {
  margin-left: auto; position: relative; flex: 0 0 auto;
}
.search-wrap input {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); border-radius: 10px;
  padding: 9px 16px 9px 40px; font-size: .88rem;
  width: 240px; outline: none;
  font-family: 'DM Sans', sans-serif;
  transition: border-color .2s;
}
.search-wrap input:focus { border-color: var(--accent); }
.search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 1rem; pointer-events: none;
}

/* ── SECTION HEADER ── */
.section-head {
  padding: 48px 5% 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.jobs-note {
  margin: 0 5% 18px;
  color: var(--muted);
  font-size: .88rem;
}
.section-head h2 {
  font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 700;
}
.section-head h2 span { color: var(--accent); }
.see-all {
  color: var(--accent); text-decoration: none; font-size: .88rem;
  font-weight: 600; display: flex; align-items: center; gap: 4px;
}
.see-all:hover { text-decoration: underline; }

/* ── JOB GRID ── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px; padding: 0 5% 20px;
}
.job-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer; text-decoration: none; color: inherit;
  display: block;
}
.job-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(249,115,22,.06) 0%, transparent 70%);
  pointer-events: none;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  border-color: rgba(249,115,22,.3);
}
.card-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.company-logo {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800;
  flex-shrink: 0; color: #fff;
}
.card-meta { flex: 1; min-width: 0; }
.company-name {
  font-size: .78rem; color: var(--muted); margin-bottom: 3px;
  line-height: 1.35;
}
.job-title {
  font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700;
  line-height: 1.3; color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.badge-new {
  background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.4);
  color: var(--accent); font-size: .68rem; font-weight: 700;
  padding: 3px 8px; border-radius: 100px; white-space: nowrap;
  letter-spacing: .04em;
}
.badge-hot {
  background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3);
  color: #f87171; font-size: .68rem; font-weight: 700;
  padding: 3px 8px; border-radius: 100px; white-space: nowrap;
}
.badge-intern {
  background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.3);
  color: var(--teal); font-size: .68rem; font-weight: 700;
  padding: 3px 8px; border-radius: 100px; white-space: nowrap;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  background: var(--surface2); color: var(--muted);
  font-size: .76rem; padding: 4px 10px; border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
}
.card-desc {
  font-size: .85rem; color: var(--muted); line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.posted-date {
  font-size: .76rem; color: var(--muted);
  flex: 1; min-width: 0;
}
.apply-btn {
  background: var(--accent); color: #fff; border: none;
  border-radius: 8px; padding: 8px 18px; font-size: .82rem;
  font-weight: 600; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
.apply-btn:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── FEATURED POST ── */
.featured-head-wrap {
  padding: 40px 5% 0;
}
.featured-post {
  margin: 20px 5% 20px; /* reduced spacing */
  background: linear-gradient(135deg, #1a2236 0%, #141c2e 100%);
  border: 1px solid rgba(249,115,22,.25);
  border-radius: 20px; padding: 36px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
  cursor: pointer;
}
.featured-post > div:first-child { min-width: 0; }
.featured-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.featured-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.featured-date {
  font-size: .8rem;
  color: var(--muted);
}
.featured-title {
  font-family: 'Syne', sans-serif; font-size: clamp(1.35rem, 2.5vw, 1.5rem); font-weight: 800;
  margin-bottom: 10px; line-height: 1.2;
}
.featured-desc { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.featured-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.featured-right { text-align: center; }
.featured-logo {
  width: 80px; height: 80px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800;
  color: #fff; margin: 0 auto 12px;
}
.deadline { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.deadline strong { color: #f87171; }

/* ── CERTIFICATIONS ── */
.certifications {
  padding: 0 0 12px;
}
.cert-grid {
  padding: 0 5%;
}
.cert-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.cert-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.cert-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.cert-meta {
  flex: 1;
  min-width: 0;
}
.cert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── JOB DETAIL PAGE (overlay) ── */
.job-post-page {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  overflow-y: auto;
}
.job-post-page.open { display: block; }
.post-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10,14,26,.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.back-btn {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px;
  padding: 7px 14px; font-size: .85rem; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  font-family: 'DM Sans', sans-serif; transition: all .2s;
}
.back-btn:hover { border-color: var(--accent); color: var(--accent); }
.post-content { max-width: 780px; margin: 0 auto; padding: 48px 5% 80px; }
.post-header { margin-bottom: 36px; }
.post-company { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.post-logo {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff;
}
.post-company-info .company { font-size: .85rem; color: var(--muted); }
.post-company-info .role {
  font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800;
  line-height: 1.2; margin-top: 4px;
}
.post-meta-strip {
  display: flex; flex-wrap: wrap; gap: 20px;
  padding: 20px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.meta-item {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 150px;
  flex: 1 1 180px;
}
.meta-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.meta-value { font-size: .9rem; font-weight: 600; color: var(--text); }
.post-body h3 {
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700;
  margin: 28px 0 12px; color: var(--text);
}
.post-body h3:first-child { margin-top: 0; }
.post-body p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.post-body ul { padding-left: 20px; color: var(--muted); font-size: .92rem; }
.post-body ul li { margin-bottom: 8px; }
.apply-block {
  background: var(--surface2); border: 1px solid rgba(249,115,22,.3);
  border-radius: 16px; padding: 28px; margin-top: 36px;
  text-align: center;
}
.apply-block h3 {
  font-family: 'Syne', sans-serif; font-size: 1.2rem; margin-bottom: 8px;
}
.apply-block p { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.apply-big {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 12px; padding: 14px 36px;
  font-size: 1rem; font-weight: 700; cursor: pointer; text-decoration: none;
  font-family: 'DM Sans', sans-serif; transition: all .2s;
}
.apply-big:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.35); }
.social-share { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.share-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); border-radius: 8px; padding: 8px 16px;
  font-size: .8rem; cursor: pointer; transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── CATEGORIES ── */
.categories {
  padding: 48px 5%;
  border-top: 1px solid var(--border);
}
.categories h2 {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700;
  margin-bottom: 24px;
}
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.cat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
  cursor: pointer; transition: all .2s; text-align: center;
  width: 100%;
  color: inherit;
  font: inherit;
  appearance: none;
}
.cat-card:hover { border-color: rgba(249,115,22,.4); transform: translateY(-2px); }
.cat-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.cat-icon { font-size: 1.8rem; margin-bottom: 8px; }
.cat-name { font-weight: 600; font-size: .9rem; }
.cat-count { font-size: .75rem; color: var(--muted); margin-top: 3px; }

/* ── FOOTER ── */
footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 60px 5% 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
/* On desktop, cols-grid is transparent so cols sit directly in footer-grid */
.footer-cols-grid {
  display: contents;
}
.footer-brand .logo { font-size: 1.2rem; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { color: var(--muted); font-size: .85rem; line-height: 1.7; max-width: 280px; }
.footer-col ul a,
.footer-bottom p { line-height: 1.5; }
.footer-col h4 {
  font-family: 'Syne', sans-serif; font-size: .9rem; font-weight: 700;
  margin-bottom: 14px; color: var(--text);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: var(--muted); text-decoration: none; font-size: .84rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: .8rem; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem; text-decoration: none;
  transition: all .2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 150;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none; font-size: 1.5rem;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-tooltip {
  position: absolute; right: 60px; top: 50%;
  transform: translateY(-50%);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px;
  font-size: .78rem; white-space: nowrap; color: var(--text);
  pointer-events: none; opacity: 0; transition: opacity .2s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ── ANIMATIONS ── */
.fade-in { animation: fadeIn .4s ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 1200px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: .85rem; }
  .logo-image { height: 38px; }
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 992px) {
  nav { gap: 14px; }
  .logo-image { height: 34px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .82rem; }
  .nav-cta { padding: 8px 14px; font-size: .82rem; }
  .company-logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { position: sticky; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 16px 5% 20px;
    background: rgba(10,14,26,.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: .95rem;
  }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .logo-image { height: 34px; }
  .company-strip { padding-top: 18px; }
  .company-logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-head-wrap { padding-top: 28px; }
  .featured-post {
    margin-top: 24px;
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .cert-grid { padding: 0 5%; }
  .cert-footer { flex-direction: column; align-items: flex-start; }
  .featured-right {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .search-wrap { margin-left: 0; width: 100%; }
  .search-wrap input { width: 100%; }
  .section-head { padding-top: 40px; }
  .jobs-note { margin-left: 5%; margin-right: 5%; }
  .jobs-grid { grid-template-columns: 1fr; }
  .post-company { align-items: flex-start; }
  .post-company-info .role { font-size: 1.4rem; }
  .card-footer { flex-direction: column; align-items: flex-start; }
  .apply-btn { width: 100%; text-align: center; justify-content: center; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 18px; bottom: 18px; width: 48px; height: 48px; }
  .wa-tooltip { display: none; }
}



@media (max-width: 768px) {
  .trust-features {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
  }

  .trust-card {
    font-size: 0.75rem;
    padding: 10px;
  }
}


@media (max-width: 480px) {
  nav { padding: 0 16px; }
  .logo-image { height: 28px; }

  /* ── HERO ── */

  .btn-primary,
  .btn-outline { width: 100%; padding: 12px 18px; }

  /* ── GLOBAL PADDING ── */
  .section-head,
  .categories,
  footer,
  .post-nav,
  .post-content { padding-left: 16px; padding-right: 16px; }



  /* ── FEATURED ── */
  .featured-head-wrap { padding: 22px 16px 0; }
  .featured-post {
    margin: 18px 16px 28px;
    padding: 20px;
    border-radius: 18px;
  }
  .featured-title { font-size: 1.2rem; }
  .featured-desc { font-size: .88rem; margin-bottom: 14px; }
  .featured-actions { flex-direction: column; align-items: stretch; }
  .featured-date { font-size: .78rem; }

  /* ── CERT ── */
  .cert-grid { padding: 0 16px; }
  .cert-card { padding: 18px; border-radius: 16px; }
  .cert-top { gap: 12px; }
  .cert-logo { width: 44px; height: 44px; font-size: .95rem; }
  .cert-footer { flex-direction: column; align-items: stretch; }

  /* ── FILTER BAR — 2 pills per row, search full width below ── */
  .filter-bar {
    padding: 20px 16px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: start;
  }
  .filter-tag {
    width: 100%;
    text-align: center;
    padding: 9px 6px;
    font-size: .78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .search-wrap {
    grid-column: 1 / -1;
    margin-left: 0;
    width: 100%;
  }
  .search-wrap input { width: 100%; padding-right: 12px; }

  /* ── SECTION HEAD ── */
  .section-head { padding-top: 28px; padding-bottom: 14px; }
  .section-head h2 { font-size: 1.3rem; }

  /* ── JOBS NOTE ── */
  .jobs-note {
    margin: 0 16px 14px;
    font-size: .82rem;
    line-height: 1.5;
  }

  /* ── JOB GRID — 1 col, tight padding ── */
  .jobs-grid { padding: 0 16px 20px; gap: 14px; }
  .job-card { padding: 16px; }
  .card-top { gap: 10px; margin-bottom: 12px; }
  .company-logo { width: 40px; height: 40px; border-radius: 10px; font-size: .88rem; }
  .job-title { font-size: .95rem; min-height: auto; }
  .company-name { font-size: .74rem; }
  .card-tags { gap: 6px; margin-bottom: 10px; }
  .tag { font-size: .7rem; padding: 3px 8px; }
  .card-desc { font-size: .82rem; margin-bottom: 14px; }
  .card-footer {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .posted-date { font-size: .72rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .apply-btn {
    width: auto;
    flex-shrink: 0;
    font-size: .78rem;
    padding: 7px 14px;
    text-align: center;
  }

  /* ── CATEGORIES — 2 per row ── */
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card { padding: 16px 12px; }
  .cat-icon { font-size: 1.5rem; margin-bottom: 6px; }
  .cat-name { font-size: .82rem; }
  .cat-count { font-size: .7rem; }

  /* ── FOOTER — brand full width, then 2×2 cols grid ── */
  footer { padding: 36px 16px 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 32px;
  }
  .footer-brand {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }
  .footer-brand .logo-image { height: 32px; }
  .footer-brand p { max-width: none; font-size: .83rem; }
  .footer-cols-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
  .footer-col h4 { font-size: .85rem; margin-bottom: 10px; }
  .footer-col ul li { margin-bottom: 7px; }
  .footer-col ul a { font-size: .8rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 20px;
  }
  .footer-bottom p { font-size: .75rem; line-height: 1.5; }
  .social-links { gap: 10px; }

  /* ── JOB DETAIL PAGE ── */
  .post-meta-strip { gap: 12px; }
  .meta-item { flex: 1 1 140px; }
  .post-company { flex-direction: column; gap: 12px; }
  .post-company-info .role { font-size: 1.2rem; }
  .apply-block { padding: 18px; }
  .apply-big { width: 100%; justify-content: center; padding: 13px 18px; font-size: .92rem; }
  .social-share { flex-direction: column; }
  .share-btn { width: 100%; }
}

/* ── CONTACT WRAPPER ── */
.contact-wrapper {
  padding: 60px 5% 20px;
  display: flex;
  justify-content: center;
}

.contact-box {
  width: 100%;
  max-width: 700px; /* reduced width */
  background: linear-gradient(135deg, #141c2e, #1a2236);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

.contact-box h3 {
  font-family: 'Syne', sans-serif;
  margin-bottom: 6px;
}

.contact-box p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* GRID */
.contact-grid {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

/* INPUTS */
.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 10px 12px; /* reduced size */
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 0.85rem;
}

.contact-box textarea {
  height: 100px;
  margin-bottom: 14px;
}

/* BUTTON SMALL */
.btn-send {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px; /* smaller button */
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-send:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

/* ── FOOTER FIX ALIGNMENT ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start; /* important fix */
}

.footer-col ul {
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
}

.footer-brand .email {
  margin-top: 10px;
  font-size: 0.8rem;
}



/* MOBILE FIX */
@media (max-width: 600px) {
  .contact-grid {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== PREMIUM WIX STYLE FOOTER ===== */

.premium-footer {
  background: #0b1220; /* match your site dark */
  color: #cbd5e1;
  padding: 60px 5% 30px;
  margin-top: 55px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: #ffffff;
}

/* BRAND SIDE */

.footer-brand-box {
  display: flex;
  margin-top: 1px;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  
}

/* Desktop */
.footer-brand-box {
  align-items: flex-start;
  text-align: left;
}

.footer-brand-box h2 {
  margin-top: -6px;
  margin-bottom: 5px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  transition: 0.3s ease;

  /* 🔥 glow */
   text-shadow: 
    0 0 12px rgba(249,115,22,0.8),
    0 0 24px rgba(249,115,22,0.6),
    0 0 36px rgba(249,115,22,0.4);
  line-height: 1.7;
  max-width: 300px;
}

.footer-brand-box h2:hover {
  transform: scale(1.03);
}

.footer-tagline {
  margin-top: -10px;
  font-size: 13px;
  color: #f97316; /* orange highlight */
  font-weight: 500;
  /* 🔥 glow */
   text-shadow: 
    0 0 10px rgba(249, 115, 22, 0.6),
    0 0 20px rgba(249, 115, 22, 0.4) !important;
  margin-bottom: 1px;
  letter-spacing: 0.4px;
}

/* Fade + slide */
.footer-brand-box {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand-box p {
 
  margin-top: -10px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #a1a1aa; /* softer text */
  max-width: 300px;
}

.footer-bottom-links a {
  margin-bottom: 6px;
  font-size: 13px;
  color: #f97316; /* your orange theme */
  text-decoration: none;
}

/* BOTTOM BAR */
.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-email {
  margin-top: -10px;
  color: #cbd5e1; /* soft white */
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}

.footer-email:hover {
  color: #f97316; /* your brand orange */
}

.social-icons span {
  margin-right: 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  
}

.footer-bottom-links a {
  text-decoration: none;
  color: #444;
}

.footer-bottom-links span {
  color: #666;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand-box {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}


.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #cbd5e1;
  font-size: 18px;
  transition: all 0.3s ease;
}

/* FACEBOOK */
.social-icons a:nth-child(1):hover {
  background: #1877f2;
  color: #fff;
}

/* YOUTUBE */
.social-icons a:nth-child(2):hover {
  background: #ff0000;
  color: #fff;
}

/* INSTAGRAM */
.social-icons a:nth-child(3):hover {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
  color: #fff;
}

/* WHATSAPP */
.social-icons a:nth-child(4):hover {
  background: #25d366;
  color: #fff;
}

/* LINKEDIN */
.social-icons a:nth-child(5):hover {
  background: #0a66c2;
  color: #fff;
}

/* HOVER EFFECT */
.social-icons a:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.page-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
}

.page-content {
  padding: 40px 5%;
  display: grid;
  gap: 20px;
}

.content-box {
  background: var(--surface2);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.content-box:hover {
  transform: translateY(-5px);
}

html {
  scroll-behavior: smooth;
}


/* ===== COMMON PAGE STYLE ===== */

.page-wrapper {
  padding: 80px 5%;
  display: flex;
  justify-content: center;
}

.page-container {
  width: 100%;
  max-width: 900px;
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-subtitle {
  color: var(--muted);
  margin-bottom: 30px;
}

.page-content-box {
  background: linear-gradient(135deg, #141c2e, #1a2236);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: 18px;
  padding: 24px;
}

/* TEXT */
.page-content-box p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-content-box h3 {
  margin-top: 20px;
  margin-bottom: 8px;
}

/* FORM INSIDE PAGES */
.page-content-box input,
.page-content-box textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  margin-bottom: 12px;
}

.page-content-box button {
  background: var(--accent);
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
}

/* FAQ SECTION */
.faq-item {
  margin-bottom: 12px;
}

.faq-question {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #ffffff;   /* WHITE BOX */
  color: #f97316;        /* ORANGE TEXT */
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 10px;
  color: #cbd5e1;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  display: block;
}

.faq-answer {
  display: none;
  transition: 0.3s ease;
}

.alert-panel {
  display: none;
  position: absolute;
  top: 70px;
  right: 5%;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px;
  width: 220px;
  z-index: 999;
}

.alert-panel h4 {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.alert-panel a {
  display: block;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.alert-panel a:hover {
  background: rgba(255,255,255,0.05);
}

/* PANEL CONTAINER */
.alert-panel {
  position: absolute;
  top: 75px;
  right: 5%;
  width: 280px;
  padding: 20px;
  border-radius: 18px;

  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);

  display: none;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s ease;
  z-index: 999;
}

/* SHOW ANIMATION */
.alert-panel.show {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* TITLE */
.alert-panel h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

/* SUBTEXT */
.alert-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 15px;
}

/* OPTIONS */
.alert-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* EACH ITEM */
.alert-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #e2e8f0;
  transition: all 0.25s ease;
}

/* ICON */
.alert-item span {
  font-size: 1.2rem;
}

/* TEXT */
.alert-item small {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* HOVER EFFECT */
.alert-item:hover {
  background: rgba(255,255,255,0.05);
  transform: translateX(4px);
}

.alert-item i {
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;
  background: rgba(255,255,255,0.05);
}

/* Optional brand colors */
.alert-item .fa-whatsapp {
  color: #25D366;
}

.alert-item .fa-envelope {
  color: #60a5fa;
}

.alert-item .fa-briefcase {
  color: #f97316;
}

.alert-item:hover i {
  transform: scale(1.1);
  transition: 0.2s;
}

/* ===== FIX GLOBAL MOBILE SPACING ===== */
@media (max-width: 768px) {

  .page-wrapper,
  .contact-wrapper,
  .section-head,
  .jobs-grid,
  .categories,
  footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .page-wrapper {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

}

@media (max-width: 768px) {
  nav {
    padding: 0 16px;
  }

  .logo-image {
    height: 28px;
  }
}

/* FIX ALERT PANEL MOBILE */
@media (max-width: 768px) {
  .alert-panel {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 90%;
    max-width: 320px;
  }
}

.alert-panel {
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-brand-box {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-brand-box {
    grid-column: span 1;
  }
}

.page-title {
  text-align: center;
}

.page-subtitle {
  text-align: center;
}

@media (max-width: 768px) {
  .btn-send {
    width: 100%;
  }
}

.job-card {
  border-radius: 18px;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

* {
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  .companies-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
  }

  .company-card {
    min-width: 140px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* optional: hide scrollbar */
  .companies-row::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .filter-bar {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 0;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 20px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .categories {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .category-card {
    padding: 16px;
    border-radius: 14px;
  }

  .category-card h3 {
    font-size: 14px;
  }

  .category-card p {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-column h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer-column a {
    font-size: 12px;
    display: block;
    margin-bottom: 6px;
  }

  .footer-brand-box {
    grid-column: span 2;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .contact-container {
    padding: 20px;
  }

  .contact-container h2 {
    font-size: 18px;
  }

  .btn-send {
    width: 100%;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px;
    right: 15px;
  }
}

@media (max-width: 768px) {
  .job-card,
  .category-card,
  .alert-panel {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }
}


@media (max-width: 768px) {

  .company-strip {
    margin-top: -10px !important;
    padding-top: 20px;
  }

  .company-strip-label {
    font-size: 12px;
    padding: 0 16px;
  }

  .company-logo-track {
  display: flex;
  gap: 12px;
  animation: scrollCompanies 30s linear infinite;
  }
  

  /* enable swipe instead */
  .company-logo-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 16px;
  }

  .company-logo-row::-webkit-scrollbar {
    display: none;
  }

  /* smaller cards ONLY on mobile */
  .company-pill {
    min-width: 180px;
    padding: 12px;
    border-radius: 14px;
  }

  .company-mark {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .company-pill-name {
    font-size: 0.9rem;
  }

  .company-pill-count {
    font-size: 0.75rem;
  }
}

.featured-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.deadline {
  font-size: 0.7rem;
  background: rgba(248,113,113,0.12);
  color: #f87171;
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 768px) {

  /* HEADER ROW FIX */
  .featured-right {
    order: -1;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
    margin-bottom: 4px;
    margin-top: 3px;
  }

  /* LOGO FIX */
  .featured-logo {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    line-height: 1;
    margin-top: 5px;

    border-radius: 12px;
    flex-shrink: 0;
  }

  /* COMPANY NAME FIX */
  .featured-right div:nth-child(2) {
    flex: 1;

    font-size: 0.95rem;
    font-weight: 700;

    line-height: 1.2;
    padding: 0 6px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* DEADLINE FIX */
  .deadline {
    font-size: 0.70rem;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;

    background: rgba(248,113,113,0.15);
    color: #ff6b6b;

    flex-shrink: 0;
  }

  /* TAGS FIX */
  .featured-tags {
    display: flex;
    flex-wrap: wrap;  
    overflow-x: auto;
    gap: 6px;
    margin-top: -12px; 
  }
 .tag {
   background: rgba(255,255,255,0.05);
   backdrop-filter: blur(6px);
   border: 1px solid rgba(255,255,255,0.08);
 }

 .featured-post{
  padding: 16px;
 }

}

@media (max-width: 768px) {

  /* 🔴 FIX DEADLINE TEXT */
  .deadline {
    padding: 4px 6px;
    font-weight: 900;
    margin-right: 4px;
    max-width: 80px;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 🔴 FIX SMALL INFO TEXT (MBA HR etc) */
  .featured-sub {
    font-size: 0.7rem;
    color: #94a3b8;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 🔴 FIX JOB TITLE */
  .featured-title {
    font-size: 1.1rem;
    line-height: 1.3;
    display: block;
    margin-top: 12px;   /* increase */
    margin-bottom: 12px;

  }

  /* 🔴 FIX DESCRIPTION */
  .featured-desc {
    font-size: 0.85rem;
    line-height: 1.5;

    display: block;            /* REMOVE CLAMP */
    overflow: visible;  
    margin-top: 12px;
    margin-bottom: 16px;
    
  }

  /* 🔴 FIX BUTTON */
  .featured-apply-btn {
    width: 100%;
    text-align: center;

    margin: 12px 0;           /* equal spacing top & bottom */
    padding: 12px;
    margin-top: 16px;
    margin-bottom: 4px;

    text-align: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 10px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .featured-post > * {
  margin-bottom: 6px;
 }
 .featured-date {
  margin-top: 4px;   /* bring closer to button */
  margin-bottom: 5px;
 }

}

.company-name {
  font-size: 1rem;
  font-weight: 900;   /* 🔥 bold */
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px;
  }

  /* 🔥 TOP 3 (highlighted) */
  .filter-tag:nth-child(-n+3) {
    font-weight: 700;
    background: linear-gradient(135deg,#1a56db,#0e3fad);
    color: #fff;
  }

  /* NORMAL TAGS */
  .filter-tag {
    text-align: center;
    padding: 10px 6px;
    font-size: 0.75rem;
    border-radius: 10px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .filter-tag.active {
    background: linear-gradient(135deg,#ff7a18,#ffb347);
    color: #000;
  }

  /* 🔍 SEARCH FULL WIDTH */
  .search-wrap {
    grid-column: span 3;
    margin-top: 6px;
    position: relative;
  }

  .search-wrap input {
    width: 100%;
    height: 38px;

    padding: 0 12px 0 30px;
    border-radius: 12px;

    font-size: 0.85rem;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
  }

  .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    opacity: 0.7;
  }

}
@media (max-width: 768px) {

  #jobs {
    margin-top: 50px;   /* 🔥 main spacing */
  }

  .section-head {
    margin-top: -7px;
  }

}

@media (min-width: 769px) and (max-width: 1024px) {

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 4 per row */
    gap: 10px;
    padding: 12px 20px;
  }

  .filter-tag {
    text-align: center;
    padding: 10px 6px;
    font-size: 0.8rem;
    border-radius: 12px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .filter-tag.active {
    background: linear-gradient(135deg,#ff7a18,#ffb347);
    color: #000;
  }

  /* 🔥 KEY PART — SEARCH IN ROW 2 */
  .search-wrap {
    grid-column: span 1;   /* take only 1 column */
    position: relative;
  }

  .search-wrap input {
    width: 100%;
    height: 40px;

    padding: 0 10px 0 28px;
    border-radius: 12px;
    font-size: 0.8rem;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
  }

  .search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    opacity: 0.7;
  }

}

@media (max-width: 768px) {

  .search-wrap {
    position: relative;
    margin-top: 10px;
  }

  .search-wrap input {
    width: 100%;
    height: 44px;

    padding: 0 14px 0 40px;
    border-radius: 14px;

    font-size: 0.9rem;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);

    outline: none;

    transition: all 0.2s ease;
  }

  /* 🔍 ICON */
  .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: 0.6;
  }

  /* 🔥 FOCUS EFFECT (premium feel) */
  .search-wrap input:focus {
    border-color: #ff7a18;
    box-shadow: 0 0 0 2px rgba(255,122,24,0.2);
    background: rgba(255,255,255,0.08);
  }
  .search-wrap input::placeholder {
  color: rgba(255,255,255,0.5);
}


}

@media (max-width: 768px) {

  .filter-tag:nth-child(7) {
    display: none;   /* 🔥 hides Certifications */
  }

}

@media (max-width: 768px) {

  .search-wrap {
    grid-column: span 3;   /* 🔥 takes full row */
    margin-top: 8px;
  }

}

.view-all-bottom {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.view-all-bottom a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background-color: #f97316; /* ORANGE */
  padding: 10px 18px;
  border-radius: 8px;
  transition: 0.3s ease;
}

/* Hover effect */
.view-all-bottom a:hover {
  background-color: #ea580c; /* Darker orange */
}

/* Mobile */
@media (max-width: 768px) {
  .view-all-bottom {
    justify-content: center; /* keep it centered */
  }

  .view-all-bottom a {
    width: auto;            /* ✅ remove full width */
    display: inline-block;  /* keeps button size natural */
    text-align: center;
    font-size: 14px;     /* smaller text */
    padding: 7px 14px;   /* smaller button */
    border-radius: 7px;
  }
}

@media (max-width: 768px) {

  /* Stack layout */
  .footer-container {
    display: flex;
    flex-direction: column;
  }

  /* Each section */
  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 14px 0;
    margin-bottom: 0; 
  }

  /* Heading clickable */
  .footer-toggle {
    text-align: left;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 900;
    padding: 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-shadow: 0 0 8px #f97316; 
  }

  /*Arrow*/
  .footer-toggle::after {
  content: "⌄";
  font-size: 16px;        /* bigger */
  font-weight: bold;
  color: #f97316;         /* 🔥 orange highlight */
  transition: 0.3s ease;
}
.footer-toggle:active {
  opacity: 0.7;
}

  /* Rotate arrow */
  .footer-col.active .footer-toggle::after {
    transform: rotate(180deg);
  }

  /* Hide links */
  .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  /* Show when active */
  .footer-col.active .footer-links {
    max-height: 300px;
    margin-top: 8px;
  }

  .footer-links li {
    list-style: none;
    margin: 6px 0;
  }

  .footer-links a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
  }

  /* BRAND stays visible */
  .footer-brand-box {
    text-align: center;
    align-items: center;
    margin-top: 20px;
    order: -1;
    margin-bottom: 20px;
  }

  /* Bottom bar */
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom-links {
    text-align: center;
    font-size: 12px;
  }
}

@media (max-width: 768px) {

  .footer-brand-box {
    text-align: left;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    padding: 10px;
  }

  /* 🔥 Control text width (MAIN FIX) */
  .footer-brand-box p {
    max-width: 100%;     /* remove restriction */
    margin: 0;
    line-height: 1.7;
  }

  /* Tagline */
  .footer-tagline {
    padding: 10px;
    margin-top: 2px;
    margin-bottom: 8px;
    text-align: left;
  /* 🔥 glow */
   text-shadow: 
    0 0 10px rgba(249, 115, 22, 0.6),
    0 0 20px rgba(249, 115, 22, 0.4) !important;
  letter-spacing: 0.4px;
  }

  /* Email fix */
  .footer-email {
    text-align: left;
    margin-top: 10px;
    font-size: 13px;
    color: #cbd5e1;
  }

  /* Remove weird spacing */
  .footer-brand-box h2 {
    margin-bottom: 2px
  }
}

/* TRUST STRIP */
.trust-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 5%;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);

  font-size: 0.85rem;
  color: #cbd5e1;

  transition: all 0.25s ease;
}

.trust-card span {
  font-size: 1.1rem;
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249,115,22,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {

  .hero {
    min-height: 95dvh;

    display: flex;
    flex-direction: column;
    justify-content: center;   /* 🔥 true vertical center */
    align-items: center;

    padding: 0 16px;   /* ❌ remove top/bottom padding */
    text-align: center;
  }

}

@media (max-width: 768px) {
  .hero h1 {
    max-width: 12ch;
    line-height: 1.2;
    text-align: center;
  }
}

@media (max-width: 768px) {

  .hero h1 em {
    display: inline;   /* prevents breaking "Verified Jobs" */
  }

}

@media (max-width: 768px) {
  .hero-subline {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 8px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .hero-live {
    font-size: 0.8rem;
    margin-top: 6px;
  }
  .live-dot{
    margin-bottom: -10px;
  }
}

@media (max-width: 768px) {
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 12px;
  }

  .hero-btns a {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .trust-features {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
  }

  .trust-card {
    font-size: 0.75rem;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .hero > * {
    margin-bottom: 6px;   /* tighter spacing */
  }
}