/* ================== ROOT ================== */
:root {
  --primary: #1a5276;
  --secondary: #e74c3c;
  --dark: #17202a;
  --bg: #f6f7f9;
  --text: #333;
  --card-bg: #fff;
  --transition: .25s ease;
}

/* ================== RESET ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  transition: background .25s, color .25s;
}

/* ================== WRAPPER ================== */
.container {
  max-width: 1180px;
  margin: auto;
  padding: 18px;
}

/* ================== HEADER ================== */
header {
  background: linear-gradient(132deg, var(--primary), var(--dark));
  color: #fff;
  padding: 25px 0;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 24px;
}

/* ================== TITLES ================== */
h1 { font-size: 2rem; }

/* ================== SEARCH ================== */
.search-box {
  margin: 18px auto;
  max-width: 580px;
}

.search-box input {
  width: 100%;
  padding: 11px 18px;
  border-radius: 50px;
  border: 1px solid #dcdcdc;
  font-size: .95rem;
  background: var(--card-bg);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* ================== FILTER ================== */
.filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: .9rem;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
}

/* ================== JOB GRID ================== */
.job-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:16px;
  margin-top:24px;

  /* REMOVE min-height */
}


/* ================== JOB CARD ================== */
.job-card {
  background: rgba(255,255,255,0.95);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.job-title {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.job-department {
  opacity: .76;
  font-size: .9rem;
  margin-bottom: 12px;
}

/* ================== META ================== */
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  margin-bottom: 14px;
}

.job-meta i {
  color: var(--primary);
}

/* ================== ACTION ================== */
.job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.apply-btn,
.btn-whatsapp {
  flex: 1;
  text-align: center;
  font-size: .9rem;
  padding: 9px 14px;
  border-radius: 6px;
  color: #fff;
  transition: var(--transition);
}

.apply-btn { background: var(--primary); }
.apply-btn:hover { background: #10364d; }

.btn-whatsapp { background: #25d366; }
.btn-whatsapp:hover { background: #128c7e; }

/* ================== STATE FILTER ================== */
.state-btn {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: .85rem;
}

.state-btn.active,
.state-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ================== FOOTER ================== */
footer {
  text-align: center;
  margin-top: 42px;
  padding: 16px;
  font-size: .85rem;
  opacity: .78;
}

/* ================== SOCIAL FLOAT ================== */
.social-media,
.whatsapp-chat {
  position: fixed;
  right: 18px;
  z-index: 999;
}

.social-media { bottom: 95px; }
.whatsapp-chat { bottom: 22px; }

.social-icon,
.whatsapp-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.45rem;
  color: #fff;
}

.social-icon.facebook { background:#3b5998; }
.social-icon.instagram { background:#e1306c; }
.social-icon.youtube { background:#ff0000; }
.whatsapp-icon { background:#25d366; }

/* ================== RESPONSIVE ================== */
@media(max-width:768px) {
  .job-list { grid-template-columns:1fr; }
  h1 { font-size:1.6rem; }
  .search-box { max-width:90%; }
  .social-media { right: 9px; bottom: 84px; }
}

/* ================== SHIMMER ================== */
.shimmer-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.shimmer-card {
  height: 180px;
  border-radius: 12px;
  background: linear-gradient(90deg, #e3e3e3 0%, #f5f5f5 50%, #e3e3e3 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  will-change: background-position;
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

/* ================== ADS ================== */
.ad-box {
  background: rgba(0,0,0,0.06);
  padding: 18px;
  margin: 15px 0;
  text-align: center;
  border-radius: 14px;
}

.ad-box ins {
  width: 100%;
}

/* ================== DARK MODE ================== */
body[data-theme="dark"] {
  background: #0e0e0e;
  color: #eaeaea;
}

body[data-theme="dark"] .job-card {
  background: #111;
  color: #fff;
}

body[data-theme="dark"] .job-title {
  color: #7fb3d5;
}




/* Dark Mode Support */
body[data-theme="dark"] .page-header {
  background: linear-gradient(135deg, #0a1f2b, #000);
}

body[data-theme="dark"] .mp-filter-btn {
  background: #111;
  border-color: #444;
  color: #fff;
}

body[data-theme="dark"] .mp-filter-btn.active {
  background: #1a5276;
}

body[data-theme="dark"] .mp-filter-btn .badge {
  background: #1a5276;
}

body[data-theme="dark"] h2,
body[data-theme="dark"] p {
  color: #fff;
}

body[data-theme="dark"] .job-card {
  background: #111;
  color: #fff;
}

    
    
    

  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
