/* ==========================================================================
   True Hiring International (THI) - Minimalist Design System & Dropdown Rules
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Modern Midnight Sapphire & Gold Palette (Dark Mode) */
  --bg-dark: #070913;
  --bg-surface: #0D111F;
  --bg-card: rgba(16, 22, 38, 0.75);
  --bg-card-hover: rgba(24, 33, 56, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --navbar-bg: rgba(7, 9, 19, 0.9);
  --footer-bg: #03050B;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(56, 189, 248, 0.35);

  --primary: #2563EB;
  --primary-light: #38BDF8;
  --accent-gold: #F59E0B;
  --accent-emerald: #10B981;

  --text-main: #F8FAFC;
  --heading-color: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-dark: #F1F5F9;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-glass: rgba(15, 23, 42, 0.05);
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #FFFFFF;

  --border-subtle: rgba(15, 23, 42, 0.12);
  --border-active: rgba(37, 99, 235, 0.4);

  --text-main: #0F172A;
  --heading-color: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;
}

/* Strict Layout Controls */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

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

/* COMPREHENSIVE VISUAL PAGE & SECTION BUILDER STYLES */
.live-editor-bar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(13, 17, 31, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.live-editor-active [data-cms-key] {
  outline: 2px dashed var(--accent-gold) !important;
  outline-offset: 3px;
  border-radius: 4px;
  cursor: text !important;
  transition: var(--transition);
}

.live-editor-active [data-cms-key]:hover {
  background: rgba(245, 158, 11, 0.15);
}

.live-editor-active .element-selected {
  outline: 3px solid var(--primary-light) !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* Floating Style & Link Inspector Popup */
.live-inspector-popup {
  position: fixed;
  z-index: 10000;
  background: rgba(13, 17, 31, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1rem;
  width: 310px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
  color: #FFF;
  display: none;
  font-size: 0.85rem;
}

.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 700;
  color: var(--accent-gold);
}

.inspector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.inspector-label {
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 600;
}

.color-swatches {
  display: flex;
  gap: 0.35rem;
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.swatch:hover { transform: scale(1.15); }

.inspector-btn-group {
  display: flex;
  gap: 0.3rem;
  background: rgba(7, 9, 19, 0.8);
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.inspector-btn-group button {
  background: none;
  border: none;
  color: #94A3B8;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

.inspector-btn-group button.active, .inspector-btn-group button:hover {
  background: var(--primary);
  color: #FFF;
}

.inspector-input {
  width: 100%;
  padding: 0.45rem 0.75rem;
  background: rgba(7, 9, 19, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 0.82rem;
  outline: none;
}

.inspector-input:focus { border-color: var(--primary-light); }

/* Section Builder Controls Bar */
.section-builder-controls {
  position: absolute;
  top: 10px;
  right: 20px;
  background: rgba(13, 17, 31, 0.95);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.6rem;
  display: flex;
  gap: 0.4rem;
  z-index: 1200;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.section-builder-controls button {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
}

.section-builder-controls button:hover {
  background: var(--accent-gold);
  color: #000;
}

.section-hidden {
  display: none !important;
}

/* Image Change Overlay */
.image-edit-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.image-edit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 9, 19, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 700;
  font-size: 0.9rem;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--transition);
  cursor: pointer;
  z-index: 100;
  border-radius: inherit;
}

.live-editor-active .image-edit-container:hover .image-edit-overlay {
  opacity: 1;
}

.live-editor-badge {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Top Notification Header */
.top-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item i { color: var(--primary-light); }

.license-badge {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

/* Clean Header Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--heading-color) !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-logo-img { height: 44px; width: auto; display: block; border-radius: 6px; }

/* Desktop Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted) !important;
  transition: var(--transition);
  padding: 0.4rem 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-link.active { color: var(--heading-color) !important; }

/* Hide Mobile CTAs inside .nav-menu on desktop */
.mobile-only-ctas {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-primary {
  background: var(--primary);
  color: #FFF !important;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--accent-gold);
  color: #070913 !important;
  font-weight: 700;
}

.btn-gold:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.btn-glass {
  background: var(--bg-glass);
  color: var(--text-main) !important;
  border: 1px solid var(--border-subtle);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
  background: #EF4444;
  color: #FFF !important;
}

/* High-Contrast Gold Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold) !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--accent-gold);
  color: #070913 !important;
}

.theme-toggle-btn i {
  color: inherit !important;
  font-size: 1.25rem !important;
  display: inline-block;
}

.mobile-nav-toggle {
  display: none;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--heading-color) !important;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-nav-toggle i {
  color: var(--heading-color) !important;
}

/* Minimalist Hero Section */
.hero {
  padding: 4.5rem 0 5.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .hero-content {
    display: contents !important;
  }

  .hero-tag {
    order: 1 !important;
  }

  .hero-title {
    order: 2 !important;
    margin-bottom: 0.85rem !important;
  }

  .hero-subtitle {
    order: 3 !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-visual {
    order: 4 !important;
    margin: 0.5rem 0 1.25rem !important;
    width: 100% !important;
  }

  .hero-image-wrapper img {
    height: 250px !important;
  }

  .hero-floating-card {
    bottom: -15px !important;
    left: 15px !important;
    padding: 0.65rem 0.95rem !important;
  }

  .hero-ctas {
    order: 5 !important;
    margin-bottom: 1.25rem !important;
    width: 100% !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
  }

  .hero-trust-badges {
    order: 6 !important;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--heading-color) !important;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #38BDF8 0%, #059669 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted) !important;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-visual { position: relative; }

.hero-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hero-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-active);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.floating-icon {
  width: 42px;
  height: 42px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* Stats Banner */
.stats-banner {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0;
  position: relative;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--heading-color) !important;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Section Styling */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.25rem;
}

.section-tag {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--heading-color) !important;
  margin-bottom: 0.85rem;
}

.section-description {
  color: var(--text-muted) !important;
  font-size: 1rem;
}

/* Services Grid */
.services-section { padding: 5.5rem 0; position: relative; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

#testimonials .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.75rem;
  transition: transform 0.4s ease-in-out;
}

@media (max-width: 991px) {
  #testimonials .services-grid {
    display: flex !important;
    overflow: hidden !important;
    gap: 0 !important;
    width: 100% !important;
  }

  #testimonials .service-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* Carousel Controls (Arrows & Dots) */
.testi-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.testi-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testi-arrow-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #070913 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.testi-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
}

.testi-dot.active {
  width: 24px;
  border-radius: 10px;
  background: var(--accent-gold);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--heading-color) !important;
}

.service-text {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.service-list { list-style: none; }

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main) !important;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.service-list li i { color: var(--accent-emerald); }

/* Jobs Portal */
.jobs-section {
  padding: 5.5rem 0;
  background: rgba(13, 17, 31, 0.04);
  position: relative;
}

.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2.25rem;
}

.filter-input-group {
  flex: 1.5;
  min-width: 220px;
  position: relative;
}

.filter-input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-input, .filter-select {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
  min-height: 42px;
}

.filter-select { padding-left: 0.85rem; cursor: pointer; }

.filter-input:focus, .filter-select:focus {
  border-color: var(--primary-light);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.job-code {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.job-badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.job-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-color) !important;
  margin-bottom: 0.65rem;
}

.job-meta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted) !important;
  margin-bottom: 0.85rem;
}

.job-salary {
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}

.job-card-footer {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

/* Countries Grid & Real Flag Images */
.countries-section { padding: 5.5rem 0; position: relative; }

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.35rem;
}

.country-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.country-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.country-flag-img {
  width: 42px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.country-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color) !important;
}

.country-info p {
  font-size: 0.8rem;
  color: var(--text-muted) !important;
}

/* Process Section */
.process-section {
  padding: 5.5rem 0;
  background: rgba(13, 17, 31, 0.04);
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.35rem;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.process-step:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF !important;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color) !important;
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-muted) !important;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 14, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.modal-header { margin-bottom: 1.5rem; }

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--heading-color) !important;
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  color: var(--text-muted) !important;
  font-size: 0.88rem;
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main) !important;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
  min-height: 42px;
}

.form-control:focus { border-color: var(--primary-light); }

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.file-dropzone {
  border: 2px dashed var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  background: rgba(56, 189, 248, 0.04);
  cursor: pointer;
}

.file-dropzone i {
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

/* FAQ */
.faq-section {
  padding: 5.5rem 0;
  position: relative;
  background-image: linear-gradient(180deg, rgba(7, 9, 19, 0.88) 0%, rgba(15, 23, 42, 0.92) 100%), url('../images/faq_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: none;
  border: none;
  color: var(--heading-color) !important;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  display: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent-gold); }

/* Floating WhatsApp */
.whatsapp-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #FFF !important;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-widget i {
  font-size: 1.4rem !important;
}

.whatsapp-widget.icon-only {
  padding: 0 !important;
  border-radius: 50% !important;
  width: 56px !important;
  height: 56px !important;
  justify-content: center !important;
}

.whatsapp-widget.icon-only i {
  font-size: 2rem !important;
}

.whatsapp-widget.icon-only span {
  display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Admin Panel Table Pagination Component - Centered & Padded Layout */
/* -------------------------------------------------------------------------- */
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap !important;
  gap: 1.5rem;
  padding: 1rem 1.25rem 0.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 100%;
  overflow: visible !important;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.pagination-text {
  white-space: nowrap !important;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.pagination-text strong {
  color: #FFF !important;
  font-weight: 700;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0;
  flex-shrink: 0;
}

.page-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 0.45rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.page-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #070913 !important;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.page-btn:hover:not(.active):not(:disabled) {
  background: var(--bg-card);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.page-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.per-page-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0;
}

.per-page-select {
  padding: 0.2rem 0.45rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: #FFF;
  font-size: 0.76rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.per-page-select:hover {
  border-color: var(--accent-gold);
}

/* Dynamic Responsive Footer (Fully Adapts Background & Text to Theme) */
.footer {
  background: var(--footer-bg) !important;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  position: relative;
  color: var(--text-main) !important;
  transition: var(--transition);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted) !important;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  max-width: 300px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color) !important;
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { 
  color: var(--text-muted) !important; 
  font-size: 0.88rem; 
  transition: var(--transition);
}

.footer-links a:hover { 
  color: var(--accent-gold) !important; 
}

.footer-legal-text {
  font-size: 0.85rem;
  color: var(--text-muted) !important;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim) !important;
}

.footer-bottom a {
  color: var(--text-muted) !important;
}

.footer-bottom a:hover {
  color: var(--heading-color) !important;
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 1080px) {
  .nav-menu { gap: 1.1rem; }
  .nav-link { font-size: 0.85rem; }
  .desktop-cta-btn { display: none !important; }
}

@media (max-width: 992px) {
  .top-bar-info { display: none; }
  .top-bar-inner { justify-content: center; }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: var(--bg-dark);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.25rem;
    transition: var(--transition);
    overflow-y: auto;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-menu.active { left: 0; }
  .nav-menu .nav-link { font-size: 1.1rem; width: 100%; padding: 0.5rem 0; }

  .mobile-only-ctas { display: flex !important; }
  .mobile-nav-toggle { display: flex; align-items: center; justify-content: center; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-ctas { justify-content: center; }
  .hero-floating-card { left: 10px; bottom: 10px; }

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

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .navbar-inner { height: 66px; }
  .brand-logo { font-size: 1.1rem; }

  .hero { padding: 3rem 0 3.5rem; }
  .hero-title { font-size: 1.95rem; }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .services-grid, .jobs-grid, .countries-grid, .process-steps {
    grid-template-columns: 1fr;
  }

  .filter-bar { flex-direction: column; }
  .filter-input-group { min-width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .modal-container { padding: 1.5rem 1rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .whatsapp-widget span { display: none; }
  .whatsapp-widget { padding: 0.7rem; border-radius: 50%; }
}

/* Social Media Button Styling */
.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-icon-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.top-bar-socials a:hover {
  color: var(--accent-gold) !important;
  transform: translateY(-1px);
}

/* -------------------------------------------------------------------------- */
/* Typography Font Family Tokens */
/* -------------------------------------------------------------------------- */
.font-inter { font-family: 'Inter', sans-serif !important; }
.font-outfit { font-family: 'Outfit', sans-serif !important; }
.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif !important; }
.font-space { font-family: 'Space Grotesk', sans-serif !important; }
.font-playfair { font-family: 'Playfair Display', serif !important; }

/* -------------------------------------------------------------------------- */
/* Live Studio Sidebar & Inspector Panel */
/* -------------------------------------------------------------------------- */
.studio-sidebar {
  position: fixed;
  top: 60px;
  right: 0;
  width: 380px;
  height: calc(100vh - 60px);
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(100%);
  overflow: hidden;
}

.studio-sidebar.active {
  transform: translateX(0);
}

.studio-header {
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.studio-header-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.studio-tabs {
  display: flex;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.25rem;
  gap: 0.2rem;
}

.studio-tab-btn {
  flex: 1;
  padding: 0.5rem 0.2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.studio-tab-btn.active, .studio-tab-btn:hover {
  background: var(--bg-card);
  color: var(--accent-gold);
}

.studio-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.studio-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.studio-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.studio-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.studio-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.studio-input-range {
  width: 100%;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.studio-select {
  width: 100%;
  padding: 0.45rem 0.75rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 0.82rem;
  outline: none;
}

.studio-select option {
  background: var(--bg-surface);
  color: #FFF;
}

/* Button Variants Live Engine */
.btn-variant-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #070913 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
}

.btn-variant-blue {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%) !important;
  color: #FFF !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35) !important;
}

.btn-variant-glass {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #FFF !important;
  backdrop-filter: blur(10px) !important;
}

.btn-variant-outline {
  background: transparent !important;
  border: 1px solid var(--accent-gold) !important;
  color: var(--accent-gold) !important;
}

.btn-variant-gradient {
  background: linear-gradient(135deg, #F59E0B 0%, #38BDF8 100%) !important;
  color: #070913 !important;
  font-weight: 800 !important;
}

/* Hover Effect Utilities */
.hover-lift:hover { transform: translateY(-4px) !important; }
.hover-scale:hover { transform: scale(1.04) !important; }
.hover-glow:hover { box-shadow: 0 0 20px rgba(245, 158, 11, 0.6) !important; }

/* Drag / Reorder Highlight Overlay */
.section-reorder-active {
  outline: 2px dashed var(--accent-gold) !important;
  outline-offset: -4px;
}
