/* ==========================================================================
   Sabaa Recruitment Agency - Master Stylesheet
   مكتب سبأ لاستقدام الأيدي العاملة - عمّان، الأردن
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700&display=swap');

:root {
  /* Color Palette - Royal Emerald & Warm Gold */
  --primary: #0A4D3C;
  --primary-dark: #063428;
  --primary-light: #126A53;
  --primary-hover: #083F31;
  --primary-soft: #EBF7F3;
  --primary-glow: rgba(10, 77, 60, 0.15);

  --accent-gold: #D4AF37;
  --accent-gold-dark: #B59021;
  --accent-gold-light: #F4E299;
  --accent-gold-soft: #FCF8E9;

  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5D;

  --dark: #121A17;
  --dark-soft: #1E2B26;
  --gray-900: #212925;
  --gray-700: #4B5652;
  --gray-500: #788580;
  --gray-300: #D0D9D5;
  --gray-200: #E6ECE9;
  --gray-100: #F4F7F5;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 8px rgba(18, 26, 23, 0.04);
  --shadow-md: 0 6px 20px rgba(18, 26, 23, 0.08);
  --shadow-lg: 0 14px 34px rgba(18, 26, 23, 0.12);
  --shadow-hover: 0 20px 40px rgba(10, 77, 60, 0.16);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--gray-100);
  color: var(--gray-900);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-contact-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.top-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-contact-list a {
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-contact-list a:hover {
  color: var(--accent-gold-light);
}

.top-social-list {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
}

.top-social-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: var(--transition);
}

.top-social-list a:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.top-badge-ministry {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold-light);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   Header & Navbar (Sticky & Glassmorphic)
   -------------------------------------------------------------------------- */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-200);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-badge-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--accent-gold-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 4px 12px rgba(10, 77, 60, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.logo-text h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0;
  line-height: 1.15;
}

.logo-text span {
  font-size: 0.76rem;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.6rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.96rem;
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2.5px;
  background: var(--accent-gold);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 77, 60, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 77, 60, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.28);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.38);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.3rem;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(145deg, #052A20 0%, #0B4D3C 60%, #115D49 100%);
  color: var(--white);
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-left: 1rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.35rem;
}

.hero-title .highlight {
  color: var(--accent-gold-light);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
  line-height: 1.8;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge-item i {
  color: var(--accent-gold-light);
  font-size: 1.15rem;
}

/* Hero Media & Floating Card */
.hero-media {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.hero-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  right: -25px;
  background: var(--white);
  color: var(--dark);
  padding: 1.25rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  max-width: 290px;
  animation: floatCard 4s ease-in-out infinite;
}

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

.floating-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.floating-text h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.floating-text p {
  font-size: 0.85rem;
  color: var(--gray-700);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Quick Stats Ribbon
   -------------------------------------------------------------------------- */
.stats-ribbon {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  margin-top: -2.8rem;
  position: relative;
  z-index: 10;
  padding: 1.8rem 2rem;
  border: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0 1rem;
  border-left: 1px solid var(--gray-200);
}

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

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Section Headers & Common Styles
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 5.5rem 0;
}

.section-padding-sm {
  padding: 3.5rem 0;
}

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

.section-sub {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  background: var(--accent-gold-soft);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CVs Explorer (Live Filter & Cards)
   -------------------------------------------------------------------------- */
.cv-filter-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 2.5rem;
}

.cv-search-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input-wrap i {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
}

.search-input-wrap input {
  width: 100%;
  padding: 0.75rem 2.8rem 0.75rem 1.2rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.search-input-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.filter-select {
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  outline: none;
  background: var(--white);
  cursor: pointer;
  min-width: 160px;
}

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

.nationality-tabs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.filter-pill {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Workers Grid */
.workers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.worker-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.worker-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gray-300);
}

.worker-image-header {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #F4F7F5;
}

.worker-image-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.worker-card:hover .worker-image-header img {
  transform: scale(1.04);
}

.worker-code-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18, 26, 23, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.worker-status-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 77, 60, 0.92);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.worker-card-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.worker-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}

.worker-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.worker-nationality {
  font-size: 0.88rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.worker-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0.85rem 0 1.15rem;
  padding: 0.75rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.worker-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-700);
}

.worker-meta-item i {
  color: var(--primary);
  font-size: 0.9rem;
}

.worker-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.skill-tag {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.worker-card-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.btn-card-cv {
  padding: 0.55rem;
  font-size: 0.85rem;
}

.btn-card-wa {
  padding: 0.55rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   CV Modal Preview
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 26, 23, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--dark);
  color: var(--white);
}

.modal-header-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 2.2rem 2.2rem 1.8rem;
  position: relative;
}

.modal-profile-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.modal-avatar {
  width: 120px;
  height: 155px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  background: #fff;
}

.modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.modal-header-info h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.modal-header-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.modal-body {
  padding: 2rem;
}

.modal-specs-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.spec-box {
  background: var(--gray-100);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.spec-title {
  color: var(--gray-500);
  font-weight: 600;
}

.spec-val {
  font-weight: 700;
  color: var(--dark);
}

.modal-skills-section {
  margin-bottom: 1.8rem;
}

.modal-skills-section h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.modal-bio-box {
  background: var(--primary-soft);
  border-right: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   Why Choose Sabaa (Features & Authority)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gray-300);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.35rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Recruitment Timeline (4 Weeks Journey)
   -------------------------------------------------------------------------- */
.timeline-section {
  background: var(--white);
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent-gold));
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 0 6px var(--primary-soft);
  z-index: 2;
  margin: 0 auto;
}

.timeline-content-card {
  background: var(--gray-100);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.timeline-week-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.timeline-content-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-content-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* Alternate sides for desktop */
.timeline-item:nth-child(even) .timeline-content-card {
  grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-empty {
  grid-column: 1;
}

.timeline-item:nth-child(odd) .timeline-content-card {
  grid-column: 1;
}

.timeline-item:nth-child(odd) .timeline-empty {
  grid-column: 3;
}

/* --------------------------------------------------------------------------
   Countries Showcase Grid
   -------------------------------------------------------------------------- */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.country-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.country-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.country-card-img.country-flag-wrap {
  height: 195px;
  position: relative;
  background: linear-gradient(145deg, #0A4D3C 0%, #063428 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 2px solid var(--accent-gold);
}

.country-flag-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  display: inline-flex;
}

.country-card:hover .country-flag-box {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-color: var(--accent-gold-light);
}

.country-flag-img {
  width: 140px;
  height: 85px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.country-flag-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  color: var(--white);
}

.country-flag-label h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
}

.country-flag-emoji {
  font-size: 1.25rem;
}

.country-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.country-meta-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.88rem;
}

.country-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.country-features-list li {
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.country-features-list li i {
  color: var(--primary);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Recruitment Estimator & Calculator
   -------------------------------------------------------------------------- */
.calculator-box {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAF9 100%);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  max-width: 950px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-form-group {
  margin-bottom: 1.5rem;
}

.calc-form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.calc-select {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  outline: none;
  background: var(--white);
  font-weight: 600;
  transition: var(--transition);
}

.calc-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.calc-result-panel {
  background: var(--primary-soft);
  border: 2px dashed var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.calc-result-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(10, 77, 60, 0.15);
}

.calc-result-header h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.calc-data-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}

.calc-data-label {
  color: var(--gray-700);
  font-weight: 600;
}

.calc-data-value {
  color: var(--primary-dark);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Consultation & Booking Form Section
   -------------------------------------------------------------------------- */
.consultation-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.consult-info h2 {
  color: var(--white);
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.consult-info p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.consult-perks {
  list-style: none;
}

.consult-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.95);
}

.consult-perks li i {
  color: var(--accent-gold-light);
  font-size: 1.2rem;
}

.consult-form-card {
  background: var(--white);
  color: var(--dark);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.consult-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  text-align: center;
}

.consult-form-card p {
  text-align: center;
  color: var(--gray-700);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--gray-900);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.faq-header:hover {
  background: var(--gray-100);
}

.faq-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-title i {
  color: var(--primary);
  font-size: 1.15rem;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: var(--white);
}

.faq-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.active .faq-body {
  padding: 0.5rem 1.5rem 1.4rem;
  max-height: 300px;
}

/* --------------------------------------------------------------------------
   Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #FFB800;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.testimonial-text {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.author-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* --------------------------------------------------------------------------
   Contact & Location Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  color: var(--gray-700);
  font-size: 0.92rem;
}

.contact-info-text a:hover {
  color: var(--primary);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
  min-height: 380px;
  background: #E5ECE9;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #EDF4F1 0%, #DCE8E3 100%);
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.map-placeholder h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4.5rem 0 1.8rem;
  font-size: 0.92rem;
}

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

.footer-col h3 {
  color: var(--white);
  font-size: 1.18rem;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2.5px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(-4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.footer-contact-item i {
  color: var(--accent-gold);
  margin-top: 0.25rem;
}

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

/* --------------------------------------------------------------------------
   Floating Quick Action Bar
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.55rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.float-whatsapp {
  background: var(--whatsapp-green);
}

.float-phone {
  background: var(--primary);
}

.float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.4;
  animation: pulseRipple 2s infinite;
  z-index: -1;
}

@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    padding-left: 0;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-badges-row {
    justify-content: center;
  }
  .hero-floating-card {
    right: 20px;
    bottom: -15px;
  }
  .features-grid,
  .countries-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-left: none;
  }
  .calc-grid,
  .consult-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }

  /* Mobile Dropdown Nav */
  .navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    z-index: 100;
  }
  .navbar.menu-open .nav-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }
  .navbar.menu-open .nav-actions .btn {
    width: 100%;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .hero-title {
    font-size: 2.15rem;
  }
  .section-title {
    font-size: 1.85rem;
  }

  .features-grid,
  .countries-grid,
  .testimonials-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-left: none;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1rem;
  }
  .stat-item:last-child {
    border-bottom: none;
  }

  /* Timeline mobile linear */
  .timeline-wrapper::before {
    right: 25px;
  }
  .timeline-item {
    grid-template-columns: 50px 1fr;
    gap: 1.25rem;
  }
  .timeline-node {
    grid-column: 1 !important;
    margin: 0;
  }
  .timeline-content-card {
    grid-column: 2 !important;
  }
  .timeline-empty {
    display: none;
  }

  .modal-specs-table {
    grid-template-columns: 1fr;
  }
  .modal-profile-header {
    flex-direction: column;
    text-align: center;
  }
}
