/* ==========================================================================
   SPOT LIGHT ENTERPRISES - PROFESSIONAL RECRUITMENT AGENCY STYLESHEET
   Colors dynamically sync with assets/js/site-config.js
   ========================================================================== */

:root {
  --primary: #0F294A;
  --secondary: #1D4ED8;
  --accent: #EAB308;
  --accent-hover: #CA8A04;
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
  --text-muted: #475569;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 10px 25px -5px rgba(15, 41, 74, 0.1);
  --shadow-lg: 0 20px 35px -10px rgba(15, 41, 74, 0.18);
  --radius: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- TOP BAR --- */
.top-bar {
  background-color: #09192F;
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.license-pill {
  background: rgba(234, 179, 8, 0.15);
  color: #FDE047;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(234, 179, 8, 0.35);
}

/* --- HEADER & NAVIGATION --- */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 54px;
  width: auto;
}

.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 6px 2px;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--secondary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--accent);
}

.nav-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background-color: var(--secondary);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--primary);
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(135deg, rgba(9, 25, 47, 0.94) 0%, rgba(15, 41, 74, 0.88) 60%, rgba(29, 78, 216, 0.82) 100%),
              url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 95px 0 110px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(234, 179, 8, 0.5);
  color: #FDE047;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.12rem;
  color: #E2E8F0;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-accent {
  background-color: var(--accent);
  color: #0F172A;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--accent);
}

.hero-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

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

/* --- STATS BAR --- */
.stats-wrapper {
  margin-top: -48px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-item {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- SECTION HEADINGS --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- CARDS & GRIDS --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: #EFF6FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- JOB CARDS --- */
.job-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--primary);
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-country {
  background: #EFF6FF;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-vacancies {
  background: #FEF9C3;
  color: #854D0E;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.job-details {
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
}

.job-details li {
  margin-bottom: 6px;
  color: var(--text-dark);
}

/* --- PAGE BANNER (SUB-PAGES) --- */
.page-banner {
  background: linear-gradient(135deg, #09192F 0%, var(--primary) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-banner p {
  color: #CBD5E1;
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- PROCESS STEPS --- */
.step-card {
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.step-number {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* --- FORMS --- */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 7px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

/* --- TABLE --- */
.table-responsive {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}

th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

tr:hover td {
  background: #F8FAFC;
}

/* --- FOOTER --- */
.footer {
  background: #09192F;
  color: #CBD5E1;
  padding: 65px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 35px;
  margin-bottom: 45px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2.5px;
  background: var(--accent);
}

.footer ul li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.footer ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-float:hover {
  background-color: #1EBE5D;
  transform: translateY(-3px);
}

/* --- EASY UI THEME CUSTOMIZER WIDGET (FOR OWNER) --- */
.ui-customizer-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--accent);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.ui-customizer-panel {
  position: fixed;
  bottom: 76px;
  left: 24px;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  display: none;
}

.ui-customizer-panel.open {
  display: block;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-bottom: 1px solid var(--border);
  }
  .hero h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }
  .nav-links.active {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
