/*
Theme Name: Employ Overseas Corporate Recruitment
Theme URI: https://www.employoverseas.com
Author: Employ Overseas Private Limited
Description: Complete WordPress recruitment & manpower consultancy theme with full WP Admin & /admin Portal Controls (edit pages, About Us highlights, services, industries, countries, jobs, candidate CVs, logo, SEO, email & dual WhatsApp), 12 responsive page templates, Job Board (eo_job), and form notifications.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: employ-overseas
*/

:root {
  --eo-navy-950: #06152e;
  --eo-navy-900: #0b2247;
  --eo-navy-800: #0f2d5e;
  --eo-navy-700: #173f82;
  --eo-gold-400: #fbbf24;
  --eo-gold-500: #e5a014;
  --eo-slate-50: #f8fafc;
  --eo-slate-200: #e2e8f0;
  --eo-slate-600: #475569;
  --eo-slate-900: #0f172a;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--eo-slate-900);
  background: var(--eo-slate-50);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin-top: 0;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.eo-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & WordPress Admin Bar Compatibility */
.eo-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--eo-slate-200);
}

body.admin-bar .eo-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .eo-header { top: 46px; }
}

.eo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.eo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  background: transparent;
}

.eo-brand img {
  height: 64px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
}

.eo-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.eo-brand-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--eo-navy-900);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.eo-brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: #b45309;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.eo-nav {
  display: flex;
  align-items: center;
  background: var(--eo-navy-900);
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
}

.eo-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.eo-nav a {
  display: inline-block;
  padding: 0.45rem 0.62rem;
  font-size: 0.79rem;
  font-weight: 600;
  color: #f1f5f9;
  border-radius: 0.375rem;
  white-space: nowrap;
}

.eo-nav a:hover,
.eo-nav .current-menu-item > a,
.eo-nav .current_page_item > a {
  background: var(--eo-gold-400);
  color: var(--eo-navy-950);
}

.eo-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.eo-mobile-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--eo-slate-200);
  color: var(--eo-navy-900);
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .eo-nav { display: none; }
  .eo-nav.is-open {
    display: block;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 6px);
    padding: 0.75rem;
    box-shadow: 0 18px 40px rgba(6, 21, 46, 0.25);
  }
  .eo-nav.is-open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }
  .eo-nav.is-open a { display: block; width: 100%; }
  .eo-mobile-toggle { display: inline-flex; align-items: center; }
}

@media (max-width: 520px) {
  .eo-brand img { height: 54px; }
  .eo-brand-text { display: none; }
}

/* Buttons */
.eo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.3rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.86rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.eo-btn-gold { background: var(--eo-gold-400); color: var(--eo-navy-950); }
.eo-btn-gold:hover { background: #fcd34d; }
.eo-btn-navy { background: var(--eo-navy-900); color: #ffffff; }
.eo-btn-navy:hover { background: var(--eo-navy-800); }
.eo-btn-outline { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.38); color: #ffffff; }
.eo-btn-outline:hover { background: #ffffff; color: var(--eo-navy-950); }
.eo-btn-wa { background: #059669; color: #ffffff; }
.eo-btn-wa:hover { background: #10b981; }
.eo-btn-wa-dark { background: #047857; color: #ffffff; }
.eo-btn-wa-dark:hover { background: #059669; }

/* Hero & Page Banners */
.eo-hero {
  position: relative;
  background: var(--eo-navy-950);
  color: #ffffff;
  overflow: hidden;
  width: 100%;
}

.eo-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.eo-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(6,21,46,0.95) 0%, rgba(11,34,71,0.82) 58%, rgba(11,34,71,0.38) 100%);
}

.eo-hero-content {
  position: relative;
  padding: 4.5rem 0;
  max-width: 720px;
}

.eo-kicker {
  color: var(--eo-gold-400);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.eo-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.eo-search-bar {
  position: relative;
  background: rgba(11, 34, 71, 0.96);
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 1rem 0;
}

.eo-search-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 820px) {
  .eo-search-form { grid-template-columns: 1fr; }
}

.eo-banner {
  position: relative;
  background: var(--eo-navy-950);
  color: #ffffff;
  padding: 3.5rem 0;
  overflow: hidden;
  width: 100%;
}

.eo-banner h1 { color: #ffffff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.5rem; }
.eo-banner-content { position: relative; max-width: 780px; }

/* Sections & Grids */
.eo-section { padding: 4rem 0; width: 100%; }
.eo-section-white { background: #ffffff; border-top: 1px solid var(--eo-slate-200); border-bottom: 1px solid var(--eo-slate-200); }
.eo-section-navy { background: var(--eo-navy-900); color: #ffffff; }

.eo-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.eo-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.eo-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }

@media (max-width: 960px) {
  .eo-grid-3, .eo-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .eo-grid-2, .eo-grid-3, .eo-grid-4 { grid-template-columns: 1fr; }
}

.eo-card {
  background: #ffffff;
  border: 1px solid var(--eo-slate-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eo-card-img {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--eo-slate-200);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.eo-card-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* About Us Architectural Highlights & Capabilities */
.eo-highlight-card {
  background: #ffffff;
  border: 1px solid var(--eo-slate-200);
  border-top: 4px solid var(--eo-gold-400);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eo-highlight-metric {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--eo-navy-900);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.eo-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 680px) {
  .eo-cap-grid { grid-template-columns: 1fr; }
}

.eo-cap-item {
  background: var(--eo-slate-50);
  border: 1px solid var(--eo-slate-200);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--eo-navy-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eo-quote-box {
  background: var(--eo-navy-900);
  color: var(--eo-gold-400);
  border-left: 4px solid var(--eo-gold-400);
  padding: 1.1rem 1.25rem;
  border-radius: 0.65rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Forms */
.eo-form-panel {
  background: #ffffff;
  border: 1px solid var(--eo-slate-200);
  border-radius: 1rem;
  padding: 2rem;
}

@media (max-width: 640px) {
  .eo-form-panel { padding: 1.25rem; }
}

.eo-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.eo-field label { font-size: 0.78rem; font-weight: 700; color: #334155; }
.eo-input, .eo-select, .eo-textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--eo-slate-900);
}

.eo-span-2 { grid-column: span 2; }
@media (max-width: 680px) {
  .eo-span-2 { grid-column: span 1; }
}

.eo-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.eo-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}

/* Footer */
.eo-footer {
  background: var(--eo-navy-950);
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}

.eo-footer h4 { color: #ffffff; font-size: 0.95rem; margin-bottom: 1rem; }
.eo-footer ul { list-style: none; padding: 0; margin: 0; }
.eo-footer li { margin-bottom: 0.55rem; font-size: 0.875rem; }
.eo-footer a:hover { color: var(--eo-gold-400); }

.eo-floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  background: #059669;
  color: #ffffff;
  padding: 0.75rem 1.15rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.eo-floating-wa:hover { background: #10b981; }
