/**
 * Theme Name:        IOC Theme
 * Theme URI:         https://www.iocservices.com/
 * Description:       Custom theme for IOC Services - International Overseas Recruitment Consultancy
 * Version:           2.1.0
 * Author:            Aashik
 * Tested up to:      6.6
 * Requires at least: 6.2
 * Requires PHP:      7.4
 */

/* ==========================================================================
   0. CSS VARIABLES
   ========================================================================== */

:root {
  /* Brand: Executive Sapphire & Deep Navy */
  --navy:          #0F2B5C;
  --navy-dark:     #071732;
  --navy-mid:      #163C75;
  --navy-light:    #1E50BC;
  --royal-blue:    #1E50BC;
  --royal-blue-hover: #164099;
  --sky:           #0284C7;
  --sky-light:     #E0F2FE;
  --emerald:       #10B981;
  --emerald-dark:  #059669;

  /* Neutrals */
  --white:         #FFFFFF;
  --off-white:     #F8FAFC;
  --grey-lightest: #F1F5F9;
  --grey-light:    #E2E8F0;
  --grey:          #CBD5E1;
  --grey-dark:     #64748B;
  --text:          #0F172A;
  --text-mid:      #334155;
  --text-light:    #64748B;

  /* Status */
  --success:       #10B981;
  --error:         #EF4444;
  --warning:       #F59E0B;
  --info:          #1E50BC;

  /* Typography */
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(15,43,92,.05);
  --shadow-sm:     0 2px 8px rgba(15,43,92,.08);
  --shadow-md:     0 4px 16px rgba(15,43,92,.10);
  --shadow-lg:     0 8px 32px rgba(15,43,92,.14);
  --shadow-xl:     0 16px 48px rgba(15,43,92,.18);

  /* Radii */
  --radius-sm:     4px;
  --radius:        8px;
  --radius-lg:     12px;
  --radius-xl:     20px;
  --radius-full:   9999px;

  /* Transitions */
  --tr:            0.22s ease;
  --tr-slow:       0.4s ease;

  /* Layout */
  --max-w:         1180px;
  --header-h:      70px;
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--royal-blue);
  text-decoration: none;
  transition: color var(--tr);
}

a:hover {
  color: var(--royal-blue-hover);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

hr {
  border: none;
  border-top: 1px solid var(--grey-light);
  margin: 2rem 0;
}

/* ==========================================================================
   2. UTILITY
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.text-center { text-align: center; }
.text-royal  { color: var(--royal-blue); }
.text-navy   { color: var(--navy); }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */

/* ==========================================================================
   3. BUTTONS & GUTENBERG BUTTON BLOCKS
   ========================================================================== */

/* Outer block container reset: MUST be completely transparent and unstyled */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin: 1.5rem 0;
}

div.wp-block-button,
.wp-block-button {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* Base button clickable element */
.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--tr), color var(--tr), border-color var(--tr), transform var(--tr), box-shadow var(--tr);
  box-sizing: border-box;
}

.btn:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
}

.btn:active,
.wp-block-button__link:active {
  transform: translateY(0);
}

/* Default / Primary Button (Executive Sapphire / Royal Blue) */
a.btn,
button.btn,
a.btn-primary,
button.btn-primary,
a.btn-gold,
button.btn-gold,
.wp-block-button .wp-block-button__link,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-gold .wp-block-button__link,
.wp-block-button.is-style-fill .wp-block-button__link {
  background-color: var(--royal-blue) !important;
  color: #ffffff !important;
  border-color: var(--royal-blue) !important;
  box-shadow: 0 2px 8px rgba(30, 80, 188, 0.25);
}

a.btn:hover,
button.btn:hover,
a.btn-primary:hover,
button.btn-primary:hover,
a.btn-gold:hover,
button.btn-gold:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button.btn-primary .wp-block-button__link:hover,
.wp-block-button.btn-gold .wp-block-button__link:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background-color: var(--royal-blue-hover) !important;
  border-color: var(--royal-blue-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(30, 80, 188, 0.35);
  transform: translateY(-2px);
}

/* Secondary Authority Button (Deep Navy) */
a.btn-navy,
button.btn-navy,
.wp-block-button.btn-navy .wp-block-button__link {
  background-color: var(--navy) !important;
  color: #ffffff !important;
  border-color: var(--navy) !important;
  box-shadow: 0 2px 8px rgba(15, 43, 92, 0.2);
}

a.btn-navy:hover,
button.btn-navy:hover,
.wp-block-button.btn-navy .wp-block-button__link:hover {
  background-color: var(--navy-mid) !important;
  border-color: var(--navy-mid) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 43, 92, 0.3);
  transform: translateY(-2px);
}

/* Outline Buttons (Clean Border with Subtle Hover Fill) */
a.btn-outline,
button.btn-outline,
.wp-block-button.btn-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: var(--royal-blue) !important;
  border-color: var(--royal-blue) !important;
  box-shadow: none !important;
}

a.btn-outline:hover,
button.btn-outline:hover,
.wp-block-button.btn-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--royal-blue) !important;
  color: #ffffff !important;
  border-color: var(--royal-blue) !important;
  box-shadow: 0 4px 12px rgba(30, 80, 188, 0.2);
  transform: translateY(-2px);
}

/* Outline White Buttons (for dark backgrounds) */
a.btn-outline-white,
button.btn-outline-white {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, .7) !important;
}

a.btn-outline-white:hover,
button.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, .15) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Emerald Action Button */
a.btn-emerald,
button.btn-emerald {
  background-color: var(--emerald) !important;
  color: #ffffff !important;
  border-color: var(--emerald) !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

a.btn-emerald:hover,
button.btn-emerald:hover {
  background-color: var(--emerald-dark) !important;
  border-color: var(--emerald-dark) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

/* WhatsApp Action Button (Official WhatsApp Emerald Green) */
a.btn-whatsapp,
button.btn-whatsapp,
.btn-whatsapp {
  background-color: #25D366 !important;
  color: #ffffff !important;
  border-color: #25D366 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35) !important;
}

a.btn-whatsapp:hover,
button.btn-whatsapp:hover,
.btn-whatsapp:hover {
  background-color: #1EBE5D !important;
  border-color: #1EBE5D !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45) !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: .5rem 1.1rem;
  font-size: .875rem;
}

/* ==========================================================================
   3.5. GLOBAL FORM CONTROLS (Inputs, Selects, Dropdowns, & File Uploads)
   ========================================================================== */

/* Universal Text, Search, Number, Email, Tel, & Textarea Inputs */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="password"],
textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--navy);
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  line-height: 1.5;
  transition: border-color var(--tr), box-shadow var(--tr), background-color var(--tr);
  outline: none;
  box-shadow: 0 1px 2px rgba(15, 43, 92, 0.02);
}

input[type="text"]::placeholder,
input[type="search"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
  color: #94A3B8;
  opacity: 1;
}

input[type="text"]:hover,
input[type="search"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
textarea:hover {
  border-color: #94A3B8;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3.5px rgba(30, 80, 188, 0.15);
  background-color: #FFFFFF;
}

/* Universal Select & Dropdown Styling */
select {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 0.75rem 2.6rem 0.75rem 1rem;
  line-height: 1.5;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E50BC' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  transition: border-color var(--tr), box-shadow var(--tr);
  box-shadow: 0 1px 2px rgba(15, 43, 92, 0.02);
}

select:hover {
  border-color: #94A3B8;
}

select:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3.5px rgba(30, 80, 188, 0.15);
}

/* Custom Dropdown Option Styling */
select option {
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  background-color: #FFFFFF;
  padding: 10px 14px;
}

select option:checked,
select option:hover {
  background-color: #EFF6FF !important;
  color: var(--royal-blue) !important;
}

select optgroup {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  background-color: #F1F5F9;
  padding: 8px 10px;
}

/* Universal File Upload Inputs */
input[type="file"] {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text-mid);
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: border-color var(--tr), background-color var(--tr);
}

input[type="file"]:hover,
input[type="file"]:focus {
  border-color: var(--royal-blue);
  background-color: #F1F5F9;
  outline: none;
}

input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-upload-button {
  background: var(--royal-blue);
  color: #FFFFFF;
  border: none;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 0.875rem;
  transition: background-color var(--tr), transform var(--tr);
}

input[type="file"]::file-selector-button:hover,
input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

/* ==========================================================================
   4. HEADER & NAVIGATION (Crisp White + Executive Sapphire Styling)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #FFFFFF;
  border-bottom: 1px solid var(--grey-light);
  transition: box-shadow var(--tr), background var(--tr);
}

/* WordPress Admin Bar compatibility: offset fixed header when logged in */
body.admin-bar .site-header {
  top: 32px;
}

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

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 43, 92, 0.08);
  background: #FFFFFF;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-brand {
  flex-shrink: 0;
}

.header-brand .custom-logo-link,
.header-brand > a {
  display: inline-flex;
  align-items: center;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: opacity var(--tr);
}
.header-brand .custom-logo-link:hover,
.header-brand > a:hover {
  opacity: 0.9;
  transform: none;
}

.header-brand .custom-logo {
  height: 42px !important;
  width: auto !important;
  display: block;
}

.header-site-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
}
.header-site-name:hover { color: var(--royal-blue); }

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-menu li { display: inline-block; }

.nav-menu a {
  display: block;
  padding: .5rem .875rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: color var(--tr), background var(--tr);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: var(--royal-blue);
  background: rgba(30, 80, 188, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--grey-lightest);
  border: 1px solid var(--grey-light);
  transition: background var(--tr);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--grey-light); }

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
}

.nav-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  text-align: center;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(245,166,35,.07);
  pointer-events: none;
}
.hero::before {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
}
.hero::after {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #38BDF8;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: #60A5FA;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   6. STATS STRIP
   ========================================================================== */

.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  padding: 2.5rem 0;
}

.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 160px;
  text-align: center;
  padding: 1rem 1.5rem;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--grey-light);
}

.stat-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .25rem;
}

.stat-label {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ==========================================================================
   7. SECTIONS
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--white);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: .6rem;
}

.section-navy .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-navy .section-subtitle {
  color: rgba(255,255,255,.75);
}

/* ==========================================================================
   8. INDUSTRIES GRID
   ========================================================================== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--royal-blue);
}

.industry-icon {
  font-size: 2.25rem;
  margin-bottom: .875rem;
  line-height: 1;
}

.industry-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}

/* ==========================================================================
   9. FEATURES / WHY IOC
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border-left: 4px solid var(--royal-blue);
  transition: transform var(--tr), box-shadow var(--tr);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  font-size: 1.875rem;
  margin-bottom: .75rem;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.feature-text {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ==========================================================================
   10. JOB CARDS
   ========================================================================== */

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 960px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

.job-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  overflow: hidden;
}

.job-card-thumb {
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
  overflow: hidden;
  max-height: 180px;
  background: var(--grey-lightest);
}

.job-card-thumb a {
  display: block;
}

.job-card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}

.job-card:hover .job-card-thumb img {
  transform: scale(1.04);
}

.single-job-thumb {
  margin-bottom: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.single-job-thumb img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  margin-bottom: .875rem;
}

.job-industry-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(15,43,92,.07);
  padding: .25rem .65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.job-expired-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  color: #991B1B;
  background: #FEE2E2;
  border: 1px solid #FECACA;
  padding: .25rem .65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.job-deadline-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: .25rem .65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.job-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .625rem;
  line-height: 1.3;
}

.job-card-title a { color: inherit; }
.job-card-title a:hover { color: var(--navy-light); }

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .875rem;
  margin-bottom: .875rem;
}

.job-meta-item {
  font-size: .8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.job-meta-icon { font-style: normal; }

.job-card-excerpt {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.25rem;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-lightest);
}

.job-card-date {
  font-size: .775rem;
  color: var(--grey-dark);
}

.btn-view-job {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--tr), gap var(--tr);
}
.btn-view-job::after { content: '→'; }
.btn-view-job:hover {
  color: var(--royal-blue);
  gap: .5rem;
}

/* ==========================================================================
   11. JOB ARCHIVE PAGE
   ========================================================================== */

.archive-hero {
  background: var(--navy);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.archive-hero .archive-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--white);
  margin-bottom: .5rem;
}

.archive-hero .archive-subtitle {
  color: rgba(255,255,255,.75);
  font-size: .9375rem;
}

.archive-body {
  padding: 2.5rem 0 4rem;
}

.job-filters {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}

.filter-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}

.filter-select {
  padding: .5rem .875rem;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .875rem;
  color: var(--text);
  background: var(--off-white);
  flex: 1 1 200px;
}

.filter-select:focus {
  outline: 2px solid var(--royal-blue);
  border-color: var(--royal-blue);
}

.no-jobs-found {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.no-jobs-found h3 {
  color: var(--navy);
  margin-bottom: .5rem;
}

/* ==========================================================================
   12. SINGLE JOB PAGE
   ========================================================================== */

.single-job-hero {
  background: var(--navy);
  padding: 3rem 0 2.75rem;
}

.single-job-hero .job-breadcrumb {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}

.single-job-hero .job-breadcrumb a {
  color: rgba(255,255,255,.7);
}
.single-job-hero .job-breadcrumb a:hover {
  color: #38BDF8;
}

.single-job-hero .job-main-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: .875rem;
}

.single-job-hero .job-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .875rem;
}

.single-job-hero .job-hero-meta span {
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.single-job-body {
  padding: 2.5rem 0 4rem;
}

.single-job-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.job-content-area h2,
.job-content-area h3 {
  margin-top: 1.5rem;
  margin-bottom: .625rem;
}

.job-content-area ul,
.job-content-area ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.job-content-area li {
  margin-bottom: .25rem;
  font-size: .9375rem;
  color: var(--text-mid);
}

.job-sidebar-area {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.job-sidebar-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.job-sidebar-card-head {
  background: var(--navy);
  padding: 1.1rem 1.35rem;
}

.job-sidebar-card-head h3 {
  font-size: .9375rem;
  color: var(--white);
  font-weight: 700;
}

.job-sidebar-card-body {
  padding: 1.25rem 1.35rem;
}

.job-detail-row {
  display: flex;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--grey-lightest);
  align-items: flex-start;
}

.job-detail-row:last-child {
  border-bottom: none;
}

.job-detail-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .05rem;
}

.job-detail-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--grey-dark);
  display: block;
  margin-bottom: .15rem;
}

.job-detail-value {
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
}

.detail-row-expired .job-detail-value {
  color: #B91C1C;
  font-weight: 600;
}

.badge-deadline-passed {
  display: inline-flex;
  align-items: center;
  font-size: .675rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: .15rem .5rem;
  border-radius: var(--radius-full);
  margin-left: .4rem;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.2;
}

.apply-cta-box {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-top: 1.25rem;
}

.apply-cta-box h4 {
  color: var(--navy);
  font-size: .9375rem;
  margin-bottom: .5rem;
}

.apply-cta-box p {
  font-size: .8rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.btn-whatsapp {
  background-color: #25D366 !important;
  border-color: #25D366 !important;
  color: #ffffff !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid #25D366 !important;
  font-size: .9375rem;
  transition: background-color var(--tr), transform var(--tr), box-shadow var(--tr);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35) !important;
}
.btn-whatsapp:hover {
  background-color: #1ebe5d !important;
  border-color: #1ebe5d !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45) !important;
}

.job-bottom-apply {
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.job-bottom-apply.align-left {
  justify-content: flex-start;
}

.job-bottom-apply.align-center {
  justify-content: center;
}

.job-bottom-apply.align-right {
  justify-content: flex-end;
}

.job-bottom-apply.align-full {
  justify-content: stretch;
}

.job-bottom-apply.align-full .btn-bottom-apply {
  width: 100%;
  justify-content: center;
}

.btn-bottom-apply {
  padding: .85rem 1.6rem;
  font-size: .975rem;
}


.related-jobs {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-light);
}

.related-jobs h2 {
  font-size: 1.175rem;
  margin-bottom: 1.25rem;
}

.related-jobs-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.related-jobs-list a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--royal-blue);
  font-weight: 500;
}
.related-jobs-list a::before {
  content: '→';
  color: var(--royal-blue);
  flex-shrink: 0;
}
.related-jobs-list a:hover { color: var(--royal-blue-hover); }

/* ==========================================================================
   13. STATUS BANNERS & JOB META
   ========================================================================== */

.jp-status-banner {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.jp-banner-content {
  flex: 1;
}

.jp-expired-banner {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  color: #991B1B;
}

.jp-deadline-banner {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  color: #92400E;
}

.jp-old-banner {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  color: #92400E;
}

.jp-banner-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  line-height: 1;
}

.jp-meta-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .75rem;
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.jp-meta-item {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.jp-meta-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.jp-meta-text {
  display: flex;
  flex-direction: column;
}

.jp-meta-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--grey-dark);
}

.jp-meta-value {
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
}

.jp-meta-value a { color: var(--royal-blue); }
.jp-meta-value a:hover { color: var(--royal-blue-hover); }

.jp-salary-inr {
  font-size: .8em;
  font-weight: 400;
  color: var(--grey-dark);
  margin-left: .25rem;
}

/* ==========================================================================
   14. CTA BANNER
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--royal-blue) 100%);
  padding: 4.5rem 0;
  text-align: center;
}

.cta-inner .cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: .625rem;
}

.cta-inner .cta-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  opacity: .9;
}

/* ==========================================================================
   15. FOOTER (Concept A — Modern Two-Tone Slate & Royal Blue)
   ========================================================================== */

.site-footer {
  background: #F1F5F9;
  border-top: 4px solid var(--royal-blue);
  color: #334155;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1.45fr 0.85fr;
  gap: 2.5rem;
}

.footer-brand .custom-logo-link,
.footer-brand > a {
  display: inline-flex;
  align-items: center;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 1.1rem;
  transition: opacity var(--tr);
}
.footer-brand .custom-logo-link:hover,
.footer-brand > a:hover {
  opacity: 0.85;
  transform: none;
  box-shadow: none !important;
}

.footer-brand .custom-logo {
  height: 44px !important;
  width: auto !important;
  display: block;
  filter: none !important;
  opacity: 1 !important;
}

.footer-site-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  margin-bottom: .875rem;
}

.footer-tagline {
  font-size: .875rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.footer-heading {
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--navy);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 2.5px solid var(--royal-blue);
}

.footer-nav li { margin-bottom: .6rem; }
.footer-nav a {
  font-size: .875rem;
  color: #475569;
  font-weight: 500;
  display: inline-block;
  transition: color var(--tr), transform var(--tr);
}
.footer-nav a:hover { 
  color: var(--royal-blue); 
  transform: translateX(4px);
}

/* Footer office cards */
.footer-office-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.875rem;
  box-shadow: 0 2px 8px rgba(15, 43, 92, 0.04);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.footer-office-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: 0 6px 16px rgba(15, 43, 92, 0.08);
}

.footer-office-title {
  font-size: 0.875rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-office-title .dashicons {
  font-size: 1.05rem;
  color: var(--royal-blue);
  width: auto;
  height: auto;
}

.footer-office-text {
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.footer-office-contacts {
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  line-height: 1.5;
}

.footer-office-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.5;
}

.footer-office-contact-item .office-contact-icon {
  width: 14px;
  height: 14px;
  color: var(--royal-blue);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.footer-office-contact-item a {
  color: var(--royal-blue);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--tr);
}

.footer-office-contact-item a:hover {
  color: var(--royal-blue-hover);
  text-decoration: underline;
}

.footer-office-contact-item .contact-sep {
  margin: 0 0.2rem;
  color: #94A3B8;
  font-weight: 400;
}

.footer-hours-card {
  margin-top: 1.25rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 0.9rem 1.15rem;
  box-shadow: 0 2px 8px rgba(15, 43, 92, 0.04);
}

.footer-hours-title {
  font-size: 0.8125rem;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-hours-title .dashicons {
  font-size: 0.95rem;
  color: var(--royal-blue);
  width: auto;
  height: auto;
}

.footer-hours-text {
  font-size: 0.8125rem;
  color: #334155;
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

.footer-hours-closed {
  color: #64748B;
  font-weight: 500;
}

/* Footer social links */
.footer-social-section {
  margin-top: 1.25rem;
}

.footer-social-heading {
  font-size: 0.8125rem;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(15, 43, 92, 0.05);
  transition: all var(--tr);
}

.footer-social-btn svg {
  display: block;
  transition: transform var(--tr);
}

.footer-social-btn:hover {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 80, 188, 0.35);
}

.footer-social-btn:hover svg {
  transform: scale(1.1);
}

.footer-bottom {
  background: #0B2246;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom p {
  font-size: .8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.footer-bottom a {
  color: #38BDF8;
  font-weight: 500;
}
.footer-bottom a:hover { color: #FFFFFF; }

/* ==========================================================================
   16. PAGE CONTENT
   ========================================================================== */

.page-hero {
  background: var(--navy);
  padding: 3rem 0 2.75rem;
  text-align: center;
}

.page-hero .page-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
}

.page-body {
  padding: 3rem 0 4rem;
}

.page-content-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xs);
  max-width: 820px;
  margin: 0 auto;
}

.page-content-wrap h2,
.page-content-wrap h3 {
  margin-top: 1.75rem;
  margin-bottom: .625rem;
}

.page-content-wrap ul,
.page-content-wrap ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content-wrap li {
  margin-bottom: 0.4rem;
  color: var(--text-mid);
}

/* ==========================================================================
   17. WORDPRESS CORE COMPAT
   ========================================================================== */

.alignleft   { float: left;  margin: .5rem 1.5rem 1rem 0; }
.alignright  { float: right; margin: .5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: .5rem auto; }
.alignnone   { margin: .5rem 1rem 1rem 0; }

.wp-caption {
  border: 1px solid var(--grey-light);
  padding: .5rem;
  max-width: 100%;
  border-radius: var(--radius);
  text-align: center;
}

.wp-caption-text {
  font-size: .8125rem;
  color: var(--text-light);
  margin-top: .35rem;
}

.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.pagination, .posts-navigation {
  margin: 2rem 0;
  text-align: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .625rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  margin: 0 .2rem;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ==========================================================================
   18. CONTACT FORM (THEME STYLES)
   ========================================================================== */

#iocc-contact-form,
.iocc-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

#iocc-contact-form p,
.iocc-field-group {
  margin-bottom: 1.25rem;
}

#iocc-contact-form label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .375rem;
}

#iocc-contact-form input[type="text"],
#iocc-contact-form input[type="email"],
#iocc-contact-form input[type="number"],
#iocc-contact-form textarea,
#iocc-contact-form select,
.iocc-form-wrapper select.iocc-select {
  width: 100%;
  box-sizing: border-box;
  padding: .75rem 1rem;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background-color: var(--white);
  display: block;
  transition: border-color var(--tr), box-shadow var(--tr);
}

#iocc-contact-form select,
.iocc-form-wrapper select.iocc-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230D2B55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

#iocc-contact-form select optgroup {
  font-weight: 700;
  color: var(--navy);
  background: var(--off-white);
  padding: 4px 0;
}

#iocc-contact-form select option {
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  padding: 6px 12px;
}

#iocc-contact-form input:focus,
#iocc-contact-form textarea:focus,
#iocc-contact-form select:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(30,79,140,.12);
}

#iocc-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* File upload styling */
.iocc-file-input-wrapper {
  background: var(--off-white);
  border: 1.5px dashed var(--grey-light);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color var(--tr);
}

.iocc-file-input-wrapper:hover,
.iocc-file-input-wrapper:focus-within {
  border-color: var(--navy-light);
}

.iocc-file-input {
  display: block;
  width: 100%;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text-mid);
  cursor: pointer;
}

.iocc-file-input::file-selector-button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-right: 0.85rem;
  cursor: pointer;
  transition: background var(--tr);
}

.iocc-file-input::file-selector-button:hover {
  background: var(--navy-light);
}

.iocc-file-help {
  display: block;
  font-size: 0.775rem;
  color: var(--grey-dark);
  margin-top: 0.35rem;
}

.iocc-captcha-field {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.iocc-captcha-field label {
  margin-bottom: .5rem;
}

.iocc-hp-wrap { display: none !important; }

.iocc-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 2.25rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--tr), box-shadow var(--tr), transform var(--tr);
  margin-top: .5rem;
}

.iocc-submit-btn:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.iocc-response {
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 500;
  padding: .875rem 1.1rem;
  border-radius: var(--radius);
  display: none;
}

.iocc-response.success {
  display: block;
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.iocc-response.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.required { color: var(--error); }
.iocc-optional { color: var(--grey-dark); font-weight: 400; }

/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .single-job-layout { grid-template-columns: 1fr; }
  .job-sidebar-card { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }

  .nav-toggle { display: flex; }

  .primary-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--grey-light);
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(15, 43, 92, 0.1);
  }

  body.admin-bar .primary-nav {
    top: calc(var(--header-h) + 46px);
  }

  .primary-nav.nav-open { display: flex; }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    width: 100%;
  }

  .nav-menu li { width: 100%; }

  .nav-menu a {
    padding: .875rem 1rem;
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 600;
    border-radius: var(--radius);
    display: block;
    width: 100%;
    background: var(--off-white);
  }

  .nav-menu a:hover,
  .nav-menu .current-menu-item > a,
  .nav-menu .current_page_item > a {
    color: var(--navy);
    background: rgba(30, 80, 188, 0.08);
  }

  .hero { padding: 3.5rem 0 3rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; max-width: 300px; }

  .stats-inner { gap: 0; }
  .stat + .stat::before { display: none; }
  .stat { border-top: 1px solid var(--grey-light); }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid   { grid-template-columns: 1fr; }
  .jobs-grid       { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .page-content-wrap { padding: 1.5rem; }
  .error-404-card { padding: 2rem 1.5rem; }
}

/* ==========================================================================
   404 Page, Search Results, & Job Archive Filter Styling
   ========================================================================== */

/* ── 404 Error Page ── */
.error-404-page {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 5rem;
  background: var(--off-white);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.error-404-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 43, 92, 0.06);
}

.error-404-badge {
  display: inline-block;
  background: #EFF6FF;
  color: var(--royal-blue);
  border: 1px solid #BFDBFE;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.error-404-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.error-404-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* Modern Inline Search Bar */
.error-404-search {
  max-width: 480px;
  margin: 0 auto 2rem;
}

.search-form-modern {
  width: 100%;
}

.search-input-group {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.search-input-group:focus-within {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(30, 80, 188, 0.15);
}

.search-field-modern {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.9375rem !important;
  color: var(--text-dark) !important;
  outline: none !important;
  box-shadow: none !important;
}

.search-submit-modern {
  background: var(--royal-blue) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 0 1.25rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  transition: background-color var(--tr) !important;
}

.search-submit-modern:hover {
  background: var(--royal-blue-hover) !important;
}

/* 404 Action Buttons */
.error-404-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

/* Shortcuts */
.error-404-shortcuts {
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-light);
}

.shortcuts-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.shortcuts-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shortcuts-list a {
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--tr);
}

.shortcuts-list a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* ── Search Results Page ── */
.search-results-page {
  padding-bottom: 5rem;
}

.search-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  color: var(--white);
  text-align: center;
}

.search-hero .hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93C5FD;
  margin-bottom: 0.75rem;
}

.search-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.search-query-text {
  color: #BFDBFE;
}

.search-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

/* Search Hero Input Form */
.search-hero-form {
  max-width: 720px;
  margin: 0 auto;
}

.search-hero-input-group {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.35rem 0.4rem 0.35rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  gap: 0.5rem;
}

.search-input-inner {
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon-svg {
  color: var(--royal-blue);
  flex-shrink: 0;
  margin-right: 0.6rem;
}

.search-hero-field {
  width: 100%;
  border: none !important;
  background: transparent !important;
  padding: 0.75rem 0.25rem !important;
  font-size: 0.9375rem !important;
  color: var(--text-dark) !important;
  outline: none !important;
  box-shadow: none !important;
}

.search-hero-type-select {
  border: 1.5px solid #CBD5E1 !important;
  background-color: #F8FAFC !important;
  color: var(--navy) !important;
  padding: 0.65rem 2.25rem 0.65rem 0.85rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  outline: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E50BC' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 0.875rem !important;
}

.search-hero-type-select:focus {
  border-color: var(--royal-blue) !important;
  box-shadow: 0 0 0 3px rgba(30, 80, 188, 0.15) !important;
}

.search-hero-type-select option {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  background-color: #FFFFFF;
  padding: 8px 12px;
}

.search-hero-submit-btn {
  background: var(--royal-blue) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 0.75rem 1.6rem !important;
  font-weight: 700 !important;
  font-size: 0.9375rem !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer !important;
  transition: background var(--tr) !important;
  white-space: nowrap !important;
}

.search-hero-submit-btn:hover {
  background: var(--royal-blue-hover) !important;
}

.search-body {
  padding: 3rem 0;
}

/* Result Filter Tabs */
.search-tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #64748B;
  background: transparent;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--tr);
}

.search-tab-link:hover {
  color: var(--royal-blue);
  background: #EFF6FF;
}

.search-tab-link.is-active {
  color: var(--white);
  background: var(--royal-blue);
  box-shadow: 0 2px 8px rgba(30, 80, 188, 0.25);
}

/* Search Type Badges */
.search-badge-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.search-type-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.search-tag-job {
  background: #EFF6FF;
  color: var(--royal-blue);
  border: 1px solid #BFDBFE;
}

.search-tag-page {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}

/* Page Result Card */
.page-result-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.page-result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light);
}

.page-card-top {
  margin-bottom: 0.75rem;
}

.page-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.page-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-card-title a:hover {
  color: var(--royal-blue);
}

.page-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.25rem;
}

.page-card-footer {
  margin-top: auto;
}

.btn-read-page {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--royal-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--tr), transform var(--tr);
}

.btn-read-page:hover {
  color: var(--navy);
  transform: translateX(3px);
}

/* Empty State Suggestions */
.search-empty-card {
  max-width: 640px;
  margin: 1rem auto;
}

.search-empty-suggestions {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
}

.suggestions-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.search-suggestion-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.suggestion-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--royal-blue);
  background: var(--white);
  border: 1px solid #CBD5E1;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--tr);
}

.suggestion-pill:hover {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: var(--white);
}

/* ── Jobs Archive Search & Filter Bar ── */
.jobs-search-bar {
  background: var(--white);
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 16px rgba(15, 43, 92, 0.05);
}

.jobs-search-inputs {
  display: grid;
  grid-template-columns: 1.8fr 1.3fr 1.3fr auto;
  gap: 1rem;
  align-items: center;
}

.jobs-field-group {
  position: relative;
  display: flex;
  align-items: center;
}

.jobs-field-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--royal-blue);
  pointer-events: none;
  flex-shrink: 0;
}

.jobs-input-field {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.75rem !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.9375rem !important;
  background-color: var(--white) !important;
  color: var(--navy) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.jobs-select-field {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 2.75rem !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  background-color: var(--white) !important;
  color: var(--navy) !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E50BC' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1rem !important;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.jobs-input-field:hover,
.jobs-select-field:hover {
  border-color: #94A3B8 !important;
}

.jobs-input-field:focus,
.jobs-select-field:focus {
  border-color: var(--royal-blue) !important;
  box-shadow: 0 0 0 3.5px rgba(30, 80, 188, 0.15) !important;
}

.jobs-select-field option {
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  background-color: var(--white);
  padding: 10px 14px;
}

.jobs-select-field option:checked,
.jobs-select-field option:hover {
  background-color: #EFF6FF !important;
  color: var(--royal-blue) !important;
}

.jobs-search-btn {
  background: var(--royal-blue) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 0.78rem 1.5rem !important;
  font-weight: 700 !important;
  font-size: 0.9375rem !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  transition: background-color var(--tr) !important;
  white-space: nowrap !important;
}

.jobs-search-btn:hover {
  background: var(--royal-blue-hover) !important;
}

/* Active Filters Row */
.active-filters-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
  flex-wrap: wrap;
}

.active-filters-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.05em;
}

.filter-chips-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: #E2E8F0;
  color: #475569;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  font-weight: 700;
  transition: background var(--tr), color var(--tr);
}

.chip-remove:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.clear-all-filters-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--royal-blue);
  text-decoration: underline;
  margin-left: 0.25rem;
  transition: color var(--tr);
}

.clear-all-filters-btn:hover {
  color: var(--navy);
}

/* ── Responsive adjustments for search ── */
@media (max-width: 960px) {
  .jobs-search-inputs {
    grid-template-columns: 1fr 1fr;
  }
  .jobs-search-btn {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .search-hero {
    padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  }
  .search-hero-title {
    font-size: 1.75rem;
  }
  .search-hero-input-group {
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.75rem;
  }
  .search-input-inner {
    width: 100%;
  }
  .search-hero-type-select {
    width: 100%;
  }
  .search-hero-submit-btn {
    width: 100%;
  }
  .jobs-search-inputs {
    grid-template-columns: 1fr;
  }
  .jobs-search-btn {
    grid-column: span 1;
  }
}

