/* ==========================================================================
   A.B INTERNATIONAL MANPOWER GROUP - EMPLOYMENT AGENCY
   Ultra-Modern 2026 Design System & Responsive Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Syne:wght@700;800;900&display=swap');

:root {
  /* Color Tokens */
  --primary-navy: #081621;
  --primary-dark: #040d14;
  --primary-deep: #02070b;
  --primary-surface: #0e2231;
  --primary-card: #132a3c;
  
  --accent-teal: #0284c7;
  --accent-teal-hover: #0369a1;
  --accent-teal-glow: rgba(2, 132, 199, 0.35);
  --accent-teal-subtle: #f0f9ff;
  --accent-teal-border: rgba(2, 132, 199, 0.25);
  
  --accent-gold: #e5a953;
  --accent-gold-light: #fef3c7;
  --accent-gold-gradient: linear-gradient(135deg, #fcd34d 0%, #e5a953 50%, #b45309 100%);
  --accent-gold-glow: rgba(229, 169, 83, 0.35);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  --border-light: rgba(226, 232, 240, 0.8);
  --border-subtle: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-focus: #0284c7;

  /* Shadows & Depth */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -8px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.15), 0 8px 16px -4px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.2);

  /* Typography */
  --font-display: 'Outfit', 'Syne', system-ui, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Geometry */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --max-width: 1260px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   Top Announcement Bar (With Live Ticker & Glow Indicator)
   ========================================================================== */

.top-bar {
  background-color: var(--primary-deep);
  color: var(--text-light-muted);
  font-size: 0.8125rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 102;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: #ffffff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 500;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.top-bar-link:hover {
  color: var(--accent-gold);
}

.top-bar-link svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-teal);
}

/* ==========================================================================
   Header & Frosted Navigation
   ========================================================================== */

.site-header {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-teal);
  background-color: var(--accent-teal-subtle);
}

.nav-link.active {
  color: var(--accent-teal);
  background-color: var(--accent-teal-subtle);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  background: var(--accent-teal);
  border-radius: var(--radius-full);
}

/* Header Action CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-enquire {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #153347 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(8, 22, 33, 0.2);
  transition: var(--transition);
  text-transform: uppercase;
  cursor: pointer;
}

.btn-enquire:hover {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-teal-glow);
}

.btn-enquire svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary-navy);
  transition: var(--transition);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Banner (High-Impact 2026 Cinematic Aesthetics)
   ========================================================================== */

.hero-banner {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-color: var(--primary-navy);
  background-image: 
    radial-gradient(circle at 75% 25%, rgba(2, 132, 199, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(229, 169, 83, 0.12) 0%, transparent 45%),
    linear-gradient(to right, rgba(8, 22, 33, 0.96) 0%, rgba(8, 22, 33, 0.88) 55%, rgba(8, 22, 33, 0.65) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-block: 5.5rem 6.5rem;
  overflow: hidden;
}

/* Decorative Background Grid Lines */
.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  color: #e2e8f0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.hero-pill-tag .dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: var(--radius-full);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: var(--accent-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  max-width: 900px;
}

.hero-title .highlight {
  color: var(--accent-gold);
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(229, 169, 83, 0.3));
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 680px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
  font-weight: 400;
}

/* Quick Trust Pills on Hero */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.trust-chip svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-teal);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #fcd34d 0%, #e5a953 50%, #d97706 100%);
  color: #081621;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9375rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px -5px rgba(229, 169, 83, 0.45);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(229, 169, 83, 0.6);
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-vertical-text {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

/* ==========================================================================
   Continuous Marquee / Ticker (Partner Countries & Trades)
   ========================================================================== */

.marquee-container {
  background-color: var(--primary-deep);
  color: #e2e8f0;
  padding-block: 0.85rem;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: inline-flex;
  animation: scrollMarquee 32s linear infinite;
  gap: 3rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.marquee-sep {
  color: var(--accent-gold);
}

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

/* ==========================================================================
   Floating Action Buttons (WhatsApp & Call With Pulse)
   ========================================================================== */

.floating-actions {
  position: fixed;
  right: 1.75rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
}

.float-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.float-btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  animation: floatBounce 4s ease-in-out infinite;
}

.float-btn-call {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.float-btn[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.float-btn:hover::before {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Page Headers / Subpage Banners
   ========================================================================== */

.page-header {
  background-color: var(--primary-navy);
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.2) 0%, transparent 40%),
    linear-gradient(135deg, rgba(8, 22, 33, 0.97) 0%, rgba(14, 34, 49, 0.94) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-block: 4rem 4.5rem;
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

.breadcrumbs-current {
  color: var(--accent-gold);
  font-weight: 700;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: #cbd5e1;
  max-width: 720px;
  line-height: 1.7;
}

/* ==========================================================================
   Stats Bar (Modern Floating Bento Style)
   ========================================================================== */

.stats-bar {
  background-color: #ffffff;
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(8, 22, 33, 0.12), 0 0 1px 1px rgba(0,0,0,0.05);
  padding: 2.25rem 2.75rem;
  border: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-right: 1px solid var(--border-subtle);
  padding-right: 1.5rem;
}

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

.stat-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--accent-teal-subtle) 0%, #e0f2fe 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Section Components
   ========================================================================== */

.section {
  padding-block: 5.5rem;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-dark {
  background-color: var(--primary-navy);
  color: #ffffff;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  background-color: var(--accent-teal-subtle);
  border: 1px solid var(--accent-teal-border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-dark .section-tag {
  background-color: rgba(2, 132, 199, 0.2);
  border-color: rgba(2, 132, 199, 0.4);
  color: #38bdf8;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .section-lead {
  color: #cbd5e1;
}

/* ==========================================================================
   Bento Grid Layout (2026 UI Standard)
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-teal-border);
}

.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-7 { grid-column: span 7; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.col-5 { grid-column: span 5; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-12 { grid-column: span 12; }

.bento-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--accent-teal-subtle);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bento-icon svg {
  width: 26px;
  height: 26px;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Modern Cards (With Container Queries from Modern Web Guidance)
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.category-card {
  container-type: inline-size;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.4);
}

.card-image-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .card-img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(8, 22, 33, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.65;
}

.card-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.meta-pill {
  font-size: 0.75rem;
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-teal);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9375rem;
}

.card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.25s ease;
}

.category-card:hover .card-link svg {
  transform: translateX(5px);
}

/* Stretched Link Pattern (Modern Web Guidance Compliant) */
.category-card:has(a.card-link) {
  position: relative;
}
.category-card a.card-link::after {
  content: '';
  position: absolute;
  inset: 0;
}
.category-card:has(a.card-link) button {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Country Cards (Ultra-Modern Glassmorphic Style)
   ========================================================================== */

.country-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.country-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 22, 33, 0.96) 0%, rgba(8, 22, 33, 0.5) 60%, rgba(8, 22, 33, 0.15) 100%);
  z-index: 1;
  transition: var(--transition);
}

.country-card:hover::before {
  background: linear-gradient(to top, rgba(8, 22, 33, 0.98) 0%, rgba(8, 22, 33, 0.65) 60%, rgba(8, 22, 33, 0.25) 100%);
}

.country-card .country-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-card:hover .country-bg {
  transform: scale(1.1);
}

.country-content {
  position: relative;
  z-index: 2;
}

.country-flag-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.country-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
}

.country-details {
  font-size: 0.9375rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.country-info-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.85rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.country-info-label {
  color: #94a3b8;
}

.country-info-value {
  color: var(--accent-gold);
  font-weight: 700;
}

/* ==========================================================================
   Recruitment Process Step Cards
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  counter-reset: process-counter;
}

.process-step-card {
  background-color: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  counter-increment: process-counter;
}

.process-step-card:hover {
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-teal);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.3);
}

.process-step-card::before {
  content: counter(process-counter, decimal-leading-zero);
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

.process-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(2, 132, 199, 0.1) 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.process-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.process-step-text {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* ==========================================================================
   Compliance & Verification Badge Banner
   ========================================================================== */

.compliance-banner {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #0d2538 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.compliance-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229, 169, 83, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.compliance-info {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: 680px;
}

.compliance-icon {
  width: 72px;
  height: 72px;
  background: rgba(229, 169, 83, 0.15);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(229, 169, 83, 0.25);
}

.compliance-icon svg {
  width: 36px;
  height: 36px;
}

.compliance-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.compliance-desc {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* ==========================================================================
   Modern Job Cards (For jobs.html)
   ========================================================================== */

.job-listing-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.job-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-teal);
  transform: translateY(-3px);
}

.job-main-info {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 640px;
}

.job-type-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-teal-subtle);
  color: var(--accent-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--accent-teal-border);
}

.job-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.45rem;
}

.job-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.job-meta-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-teal);
}

.job-salary-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.job-salary {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-navy);
}

.job-perks {
  font-size: 0.8125rem;
  color: #15803d;
  font-weight: 700;
  background-color: #dcfce7;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Modern Assessment & Search Box
   ========================================================================== */

.assessment-box {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 4rem;
}

.assessment-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.assessment-title svg {
  color: var(--accent-teal);
  width: 24px;
  height: 24px;
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) auto;
  gap: 1.5rem;
  align-items: flex-end;
}

/* ==========================================================================
   Modern Forms & Validation (Modern Web Guidance Compliant)
   ========================================================================== */

.field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-block-end: 1.35rem;
  width: 100%;
}

.field label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.field label .req {
  color: #ef4444;
  margin-left: 2px;
}

.input-control,
.select-control,
.textarea-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.input-control:focus,
.select-control:focus,
.textarea-control:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}

/* Modern :user-invalid state from Modern Web Guidance */
.input-control:user-invalid,
.select-control:user-invalid,
.textarea-control:user-invalid {
  border-color: #ef4444;
  background-color: #fff5f5;
}

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

/* ==========================================================================
   Modern Accessible Dialog Modal (Modern Web Guidance Rule 1)
   ========================================================================== */

dialog:modal {
  overscroll-behavior: contain;
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  max-width: 620px;
  width: 90%;
  box-shadow: 0 25px 60px -15px rgba(8, 22, 33, 0.5);
  margin: auto;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(8, 22, 33, 0.82);
  backdrop-filter: blur(8px);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-surface) 100%);
  color: #ffffff;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.25rem 2rem;
  background-color: #ffffff;
  max-height: 75vh;
  overflow-y: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--primary-deep);
  color: var(--text-light-muted);
  padding-block: 5.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-brand-logo {
  max-height: 52px;
  width: auto;
  margin-bottom: 1.5rem;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.footer-bio {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #94a3b8;
  margin-bottom: 1.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9375rem;
  margin-bottom: 0.95rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.75rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -0.6rem;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: var(--accent-teal);
  border-radius: var(--radius-full);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.9375rem;
  color: #94a3b8;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

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

.footer-bottom a {
  color: #cbd5e1;
}
.footer-bottom a:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .bento-card.col-8,
  .bento-card.col-7,
  .bento-card.col-6,
  .bento-card.col-5,
  .bento-card.col-4 {
    grid-column: span 12;
  }
  .hero-vertical-text {
    display: none;
  }
}

@media (max-width: 868px) {
  .nav-links {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-toggle {
    display: flex;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .stats-bar {
    margin-top: 0;
    padding: 1.75rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.25rem;
    padding-right: 0;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .filter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-actions .btn-enquire span {
    display: none;
  }
  .header-actions .btn-enquire {
    padding: 0.7rem 0.9rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .floating-actions {
    right: 1.25rem;
    bottom: 1.5rem;
  }
  .float-btn {
    width: 50px;
    height: 50px;
  }
}
