/* ============================================================
   EUROSTAFFS — PREMIUM REDESIGN CSS
   Loaded after style.css to override & enhance
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --es-navy: #0a1628;
  --es-navy-mid: #12253f;
  --es-navy-light: #1e3a5f;
  --es-blue: #4f8ef7;
  --es-blue-glow: rgba(79, 142, 247, 0.4);
  --es-blue-light: #7baeff;
  --es-gold: #f5a623;
  --es-gold-glow: rgba(245, 166, 35, 0.4);
  --es-gold-light: #ffcb6b;
  --es-white: #ffffff;
  --es-off-white: #f0f4ff;
  --es-text: #2d3952;
  --es-text-muted: #6b7a99;
  --es-border: #e0e8f5;
  --es-radius: 16px;
  --es-radius-sm: 10px;
  --es-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --es-shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.15);
  --es-glass-bg: rgba(255, 255, 255, 0.7);
  --es-glass-border: rgba(255, 255, 255, 0.3);
  --es-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

  /* ---- Premium Progress Bar ---- */
  --es-progress-height: 4px;
  --es-progress-gradient: linear-gradient(to right, #4f8ef7, #22d3ee, #f5a623);

  /* ---- Spacing tokens ---- */
  --es-section-py: 100px;
  /* vertical padding for all sections */
  --es-section-py-sm: 60px;
  /* mobile */
}

/* Glassmorphism Helper Classes */

.glass-effect {
  background: var(--es-glass-bg) !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  border: 1px solid var(--es-glass-border) !important;
  border-radius: var(--es-radius) !important;
}

.glass-dark {
  background: rgba(10, 22, 40, 0.6) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--es-radius) !important;
}

.glass-premium {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--es-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-gradient-text {
  background: linear-gradient(135deg, var(--es-blue) 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(79, 142, 247, 0.2);
  transform: translateY(-3px);
}

.entrance-anim {
  animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Journey Roadmap Component */
.journey-roadmap {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
  padding: 20px 0;
}

.journey-roadmap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.journey-step {
  position: relative;
  z-index: 2;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  cursor: pointer;
}

.journey-step.active {
  border-color: var(--es-blue);
  background: var(--es-blue-light);
  color: white;
  box-shadow: 0 0 15px var(--es-blue-glow);
}

.journey-step.completed {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
}

.journey-step-label {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: var(--es-text-muted);
}

.journey-step.active .journey-step-label {
  color: var(--es-blue);
}

/* ---------- Global Base ---------- */
body {
  font-family: 'Inter', 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  color: var(--es-text) !important;
  background-color: var(--es-off-white) !important;
  overflow-x: hidden;
}

/* ---------- Global Scroll Progress ---------- */
.es-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: var(--es-progress-height);
  background: var(--es-progress-gradient);
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(79, 142, 247, 0.5);
}

/* ---------- Skeleton Loading System ---------- */
.skeleton-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transition: opacity 0.5s ease;
}

.loading-state body {
  overflow: hidden;
}

.skeleton-header {
  height: 80px;
  background: #f1f5f9;
  width: 100%;
}

.skeleton-hero {
  height: 400px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s infinite;
  border-radius: 20px;
}

.skeleton-card {
  height: 250px;
  background: #f1f5f9;
  border-radius: 16px;
  margin-bottom: 20px;
  animation: skeleton-pulse 1.5s infinite;
}

@keyframes skeleton-pulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.loaded .skeleton-overlay {
  opacity: 0;
  pointer-events: none;
}


/* ============================================================
   GLOBAL SECTION SPACING
   — fixes custom-section-padding (was undefined) and
     makes ALL sections use the same vertical rhythm
   ============================================================ */

/* Override style.css $section-padding so it matches our token */
.section-padding {
  padding-top: var(--es-section-py) !important;
  padding-bottom: var(--es-section-py) !important;
}

/* custom-section-padding was undefined — now it matches */
.custom-section-padding {
  padding-top: var(--es-section-py) !important;
  padding-bottom: var(--es-section-py) !important;
}

/* Glass Search Bar Styling */
.glass-search-wrap {
  margin-top: -60px;
  position: relative;
  z-index: 20;
}

.job-search-form {
  background: var(--es-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--es-glass-border);
  padding: 12px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(10, 22, 40, 0.12);
}

.search-input-group {
  position: relative;
  height: 54px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  transition: var(--es-transition);
  border: 1px solid transparent;
}

.search-input-group:focus-within {
  background: #ffffff;
  border-color: var(--es-blue);
  box-shadow: 0 0 0 4px var(--es-blue-glow);
}

.search-input-group i {
  color: var(--es-blue);
  margin-right: 12px;
  font-size: 16px;
}

.search-input-group input {
  background: transparent !important;
  border: none !important;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  font-size: 15px;
  font-weight: 500;
  color: var(--es-navy);
}

.search-input-group input::placeholder {
  color: var(--es-text-muted);
}

.search-btn {
  height: 54px !important;
  font-size: 16px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--es-blue) 0%, #2d70e8 100%) !important;
  box-shadow: 0 10px 25px var(--es-blue-glow) !important;
}

/* White sections — exclude parallax/dark sections */
.section:not(.bg-parallax) {
  background-color: #ffffff;
}

/* Funfact / Parallax section — ensure dark background so white text is visible */
.section.bg-parallax {
  background-color: #0a1628 !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Funfact counter styles — ensure visibility on all devices */
.funfact {
  color: #ffffff !important;
  margin-bottom: 30px;
  text-align: center;
}

.funfact i {
  color: var(--es-gold) !important;
  display: block;
  margin-bottom: 14px;
}

.counter-box {
  display: block !important;
}

.funfact .counter {
  font-size: 48px !important;
  font-weight: 800 !important;
  color: var(--es-gold) !important;
  line-height: 1 !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.funfact .title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  display: block !important;
}

/* Override global title::after for funfact */
.funfact .title::after {
  display: none !important;
}

/* Alternate gray background */
.section.bg-gray,
.section.section-padding.bg-gray {
  background-color: #f5f7fc !important;
}

/* Section title — consistent bottom spacing */
.section-title {
  margin-bottom: 48px !important;
}

.section-title .title {
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 700 !important;
  color: var(--es-navy) !important;
  margin-bottom: 10px !important;
  position: relative;
  display: inline-block;
}

/* Blue underline accent below section title */
.section-title .title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--es-blue);
  border-radius: 2px;
  margin: 10px auto 0;
}

.section-title p {
  font-size: 15px !important;
  color: var(--es-text-muted) !important;
  margin: 0 !important;
}

/* Mobile section spacing */
@media (max-width: 767px) {

  .section-padding,
  .custom-section-padding {
    padding-top: var(--es-section-py-sm) !important;
    padding-bottom: var(--es-section-py-sm) !important;
  }

  .section-title {
    margin-bottom: 32px !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', 'Inter', sans-serif !important;
  color: var(--es-navy) !important;
  letter-spacing: -0.02em;
}

a {
  transition: var(--es-transition);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--es-off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--es-blue);
  border-radius: 6px;
}


/* ============================================================
   UNIFIED BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  height: 46px;
  padding: 0 24px !important;
  border-radius: 10px !important;
  border: 2px solid transparent !important;
  cursor: pointer;
  transition: all 0.22s ease !important;
  white-space: nowrap;
  text-decoration: none !important;
  letter-spacing: 0.02em;
}

.btn:active {
  transform: scale(0.97) !important;
}

/* Primary */
.btn-primary {
  background: var(--es-blue) !important;
  border-color: var(--es-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(79, 142, 247, 0.35) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #2d70e8 !important;
  border-color: #2d70e8 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(79, 142, 247, 0.45) !important;
  transform: translateY(-1px);
}

/* Outline Primary */
.btn-outline-primary {
  background: transparent !important;
  border-color: var(--es-blue) !important;
  color: var(--es-blue) !important;
  box-shadow: none !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--es-blue) !important;
  border-color: var(--es-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(79, 142, 247, 0.35) !important;
  transform: translateY(-1px);
}

/* Secondary */
.btn-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Success */
.btn-success {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3) !important;
}

.btn-success:hover {
  background: #16a34a !important;
  border-color: #16a34a !important;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4) !important;
  transform: translateY(-1px);
}

/* Danger */
.btn-danger {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3) !important;
}

.btn-danger:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  transform: translateY(-1px);
}

/* Size modifiers */
.btn-sm {
  height: 36px !important;
  padding: 0 16px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
}

.btn-lg {
  height: 54px !important;
  padding: 0 36px !important;
  font-size: 16px !important;
  border-radius: 12px !important;
}

/* Read-more / text links that look like buttons */
.read-more,
.all_blogs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--es-blue) !important;
  text-decoration: none !important;
  transition: gap 0.2s ease, color 0.2s ease;
}

.read-more:hover,
.all_blogs:hover {
  color: var(--es-navy) !important;
  gap: 10px;
}

/* ============================================================
   HEADER
   ============================================================ */
header.header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassy Sticky State */
header.header.header--scrolled {
  background: var(--es-glass-bg) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  padding: 8px 0;
  border-bottom: 1px solid var(--es-glass-border);
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.08);
}

header.header.header--scrolled::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

header.header.header--scrolled #main-menu ul li a,
header.header.header--scrolled #main-menu .main-menu-list li a {
  color: var(--es-navy) !important;
}

header.header.header--scrolled .auth-item .profile-link {
  color: var(--es-navy) !important;
  border-color: rgba(10, 22, 40, 0.1);
  background: rgba(10, 22, 40, 0.05) !important;
}

header.header.header--scrolled .language_btn.btn.btn-secondary {
  color: var(--es-navy) !important;
  border-color: rgba(10, 22, 40, 0.1) !important;
  background: rgba(10, 22, 40, 0.05) !important;
}

header.header.header--scrolled .offcanvas-toggle span,
header.header.header--scrolled .offcanvas-toggle span::before,
header.header.header--scrolled .offcanvas-toggle span::after {
  background-color: var(--es-navy) !important;
}

/* Logo */
.header-logo img {
  max-height: 70px !important;
  /* Increased from 44px */
  max-width: 280px !important;
  /* Increased from 160px */
  width: auto !important;
  object-fit: contain;
}

.header-logo {
  width: auto !important;
  flex-shrink: 0;
  padding: 0 !important;
}

/* Nav links */
#main-menu .main-menu-list,
#main-menu ul.main-menu-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

#main-menu ul li a,
#main-menu .main-menu-list li a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 14px !important;
  position: relative;
  letter-spacing: 0.01em;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

#main-menu ul.main-menu-list li a::after {
  display: none !important;
}

#main-menu ul.main-menu-list li.auth-item a::after {
  display: none !important;
}

#main-menu ul li a::after,
#main-menu .main-menu-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--es-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

#main-menu ul li a:hover,
#main-menu .main-menu-list li a:hover {
  color: var(--es-white) !important;
}

#main-menu ul li a:hover::after,
#main-menu .main-menu-list li a:hover::after {
  transform: scaleX(1);
}

/* Profile / Auth Styles */
.auth-item .profile-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--es-white) !important;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 30px;
  padding: 6px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-item .profile-link i {
  font-size: 20px;
  color: var(--es-gold);
}

.auth-item .profile-link.guest {
  padding: 8px !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
}

.auth-item .profile-link.guest i {
  margin-right: 0;
  font-size: 22px;
}

.auth-item .user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive Header Layout */
@media (min-width: 992px) {
  header.header .row {
    flex-wrap: nowrap !important;
  }

  .header-logo {
    flex: 0 0 180px;
    min-width: 180px;
  }

  .header-links {
    flex: 0 0 180px;
    min-width: 180px;
    justify-content: flex-end;
    display: flex;
    align-items: center;
  }

  #main-menu {
    flex: 1 1 auto;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 991px) {
  header.header .row {
    flex-wrap: wrap;
    /* Allow wrapping on small mobile if needed, though hidden menu helps */
  }

  .header-logo {
    flex: 0 0 auto;
    min-width: 120px;
  }

  .header-links {
    flex: 0 0 auto;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }

  header.header .container {
    padding: 0 15px !important;
    /* Reduce padding on mobile */
  }

  #main-menu {
    display: none !important;
  }
}

@media (max-width: 991px) {
  #main-menu {
    display: none !important;
  }
}

@media (min-width: 992px) {
  #main-menu {
    display: flex !important;
  }
}


/* Header Links moved to media query above */

/* Language Button */
.language_btn.btn.btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 30px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13px;
}

/* ============================================================
   HERO / SLIDER SECTION
   ============================================================ */
.slider-section {
  margin-top: 0;
  position: relative;
}

.hero-main-slider {
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  background-color: #0a1628;
  /* Fallback dark blue */
}

.hero-slide {
  height: 500px !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}

@media (min-width: 992px) {
  .hero-slide {
    height: calc(100vh - 80px) !important;
    /* Adjust for header if needed, or 100vh */
    min-height: 600px;
  }
}

.hero-slide .overlay {
  background: rgba(10, 22, 40, 0.55) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
  text-align: center !important;
  padding: 0 20px !important;
  position: relative;
  z-index: 10;
}

.hero_text {
  font-size: clamp(34px, 8vw, 62px) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 4px 20px rgba(10, 22, 40, 0.4) !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  display: block !important;
}

.hero_text .highlight {
  position: relative;
  color: var(--es-blue-light);
  background: linear-gradient(135deg, var(--es-blue-light) 0%, var(--es-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero_subtext {
  font-size: clamp(15px, 2.5vw, 20px) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 700px !important;
  margin: 20px auto 0 !important;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--es-white);
  border: 1px solid var(--es-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.06);
  transition: var(--es-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.12);
  transform: translateY(-4px);
  border-color: var(--es-blue);
}

.blog-card-img {
  overflow: hidden;
  height: 200px;
}

.blog-card-img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 12px;
  color: var(--es-text-muted);
  margin-bottom: 10px;
  display: block;
}

.blog-card-title {
  font-size: 16px !important;
  font-weight: 700;
  margin-bottom: 10px !important;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--es-navy) !important;
  text-decoration: none !important;
}

.blog-card-title a:hover {
  color: var(--es-blue) !important;
}

.blog-card-excerpt {
  font-size: 13px;
  color: var(--es-text-muted);
  line-height: 1.6;
  margin-bottom: 16px !important;
  flex: 1;
}

.blog-read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--es-blue) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--es-transition);
}

.blog-read-more:hover {
  color: var(--es-navy) !important;
  gap: 10px;
}

/* ============================================================
   TESTIMONIAL SECTION
   ============================================================ */
.testimonial {
  padding: 40px 30px;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial p {
  font-size: clamp(18px, 2.5vw, 26px) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.7 !important;
  position: relative;
  margin-bottom: 32px !important;
}

.testimonial p::before {
  content: '\201C';
  font-size: 80px;
  color: var(--es-gold);
  font-family: Georgia, serif;
  line-height: 0;
  position: absolute;
  top: 24px;
  left: -20px;
  opacity: 0.7;
}

.testimonial img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
  border-radius: 50% !important;
  border: 3px solid var(--es-gold) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto 12px !important;
  display: block !important;
}

.testimonial .name {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.testimonial .title {
  font-size: 13px !important;
  color: var(--es-gold) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}

.testimonial-slider .slick-prev:hover,
.testimonial-slider .slick-next:hover {
  background: var(--es-gold) !important;
  border-color: var(--es-gold) !important;
}

/* Compact Testimonial Section Fix */
.testimonial-section {
  padding-top: 40px !important;
  padding-bottom: 50px !important; /* Increased back as requested */
  min-height: auto !important;
  height: auto !important;
}

@media (max-width: 767px) {
  .testimonial-section {
    padding-top: 30px !important;
    padding-bottom: 10px !important;
  }
}

.testimonial-section .testimonial {
  padding: 10px 20px 0px !important; /* No bottom padding here */
}

.testimonial-section .testimonial .title {
  display: block;
  margin-bottom: 0 !important;
}

/* Force Slick to shrink */
.testimonial-section .slick-list,
.testimonial-section .slick-track {
  height: auto !important;
  min-height: 0 !important;
}

.testimonial-section .slick-slide {
  height: auto !important;
}

/* ============================================================
   WHY CHOOSE EUROSTAFFS CARDS
   ============================================================ */
.why-card {
  padding: 28px 24px;
  background: var(--es-white);
  border: 1px solid var(--es-border);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.05);
  transition: var(--es-transition);
  height: 100%;
}

.why-card:hover {
  border-color: var(--es-blue);
  box-shadow: 0 8px 32px rgba(79, 142, 247, 0.12);
  transform: translateY(-3px);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(79, 142, 247, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--es-transition);
}

.why-card:hover .why-icon {
  background: var(--es-blue);
}

.why-icon i {
  font-size: 22px;
  color: var(--es-blue);
  transition: var(--es-transition);
}

.why-card:hover .why-icon i {
  color: #ffffff;
}

.why-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--es-navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13px;
  color: var(--es-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   POPULAR JOB CATEGORIES
   ============================================================ */
.job-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: var(--es-white);
  border: 1px solid var(--es-border);
  border-radius: 16px;
  text-decoration: none !important;
  color: var(--es-text) !important;
  transition: var(--es-transition);
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.05);
  height: 100%;
}

.job-category-card:hover {
  border-color: var(--es-blue);
  box-shadow: 0 8px 32px rgba(79, 142, 247, 0.15);
  transform: translateY(-4px);
  color: var(--es-navy) !important;
}

.jcc-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(79, 142, 247, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--es-transition);
}

.job-category-card:hover .jcc-icon {
  background: var(--es-blue);
}

.jcc-icon i {
  font-size: 24px;
  color: var(--es-blue);
  transition: var(--es-transition);
}

.job-category-card:hover .jcc-icon i {
  color: #ffffff;
}

.job-category-card h6 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--es-navy);
}

/* ============================================================
   BLOG DETAIL PAGE - PREMIUM REDESIGN (REFINE: SEPARATE IMAGE)
   ============================================================ */

.blog-detail-header {
  background: linear-gradient(135deg, var(--es-navy-mid) 0%, var(--es-navy) 100%);
  padding: 140px 0 160px;
  /* More padding at bottom for content overlap */
  position: relative;
  text-align: center;
  overflow: hidden;
}

.blog-detail-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(79, 142, 247, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.blog-detail-header-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-detail-category {
  display: inline-block;
  background: rgba(245, 166, 35, 0.15);
  color: var(--es-gold);
  padding: 6px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.blog-detail-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -0.02em;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px;
}

.blog-detail-meta span i {
  margin-right: 8px;
  color: var(--es-gold);
}

/* Dedicated Blog Image Wrapper - Full Bleed Design */
.blog-main-image-wrap {
  width: auto !important;
  margin: -60px -40px 50px -40px !important;
  /* Undo parent padding for full width impact */
  border-radius: 40px 40px 0 0 !important;
  /* Match container top corners */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  line-height: 0;
  display: block !important;
}

.blog-main-image-wrap img {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  /* Override global 60% constraint from style.css */
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  background: #f8f9fa;
}

@media (max-width: 991px) {
  .blog-main-image-wrap {
    margin: -50px -40px 40px -40px !important;
    border-radius: 30px 30px 0 0 !important;
  }
}

@media (max-width: 767px) {
  .blog-main-image-wrap {
    margin: -35px -20px 30px -20px !important;
    border-radius: 20px 20px 0 0 !important;
  }
}

/* Blog Content Styling */
.blog-content-wrapper {
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 40px;
  box-shadow: 0 20px 60px rgba(15, 30, 50, 0.08);
  margin-top: -100px;
  /* pull up over header */
  position: relative;
  z-index: 10;
  border: 1px solid rgba(230, 235, 240, 0.8);
}

.blog-sidebar-wrapper {
  margin-top: -160px;
  position: relative;
  z-index: 10;
}

.sidebar-widget {
  background: #ffffff;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(15, 30, 50, 0.08) !important;
  border: 1px solid rgba(230, 235, 240, 0.8) !important;
  padding: 30px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 45px rgba(10, 22, 40, 0.08) !important;
}

.sidebar-widget-title {
  color: var(--es-navy);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.sidebar-widget-title i {
  color: var(--es-primary);
  opacity: 0.8;
}

.blog-content-main {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #475569;
  font-weight: 400;
}

.blog-content-main h2,
.blog-content-main h3 {
  color: var(--es-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 3rem 0 1.5rem;
}

.blog-content-main p {
  margin-bottom: 1.5rem;
}

/* Share Bar */
.blog-share-sidebar {
  padding: 40px 0;
  border-top: 1px solid var(--es-border);
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.blog-share-sidebar span {
  font-weight: 700;
  color: var(--es-navy);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.social-share-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-share-btn:hover {
  transform: translateY(-4px);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ss-facebook {
  background: #3b5998;
}

.ss-twitter {
  background: #1da1f2;
}

.ss-linkedin {
  background: #0077b5;
}

.ss-whatsapp {
  background: #25d366;
}

.relevant-blogs-section {
  padding: 80px 0;
  background: #f8fafc;
}

.relevant-blogs-section .blog {
  border-radius: 24px !important;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(15, 30, 50, 0.04) !important;
  border: 1px solid rgba(230, 235, 240, 0.6) !important;
  background: #ffffff;
}

.relevant-blogs-section .blog:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 30, 50, 0.08) !important;
}

.relevant-blogs-section .blog img {
  border-radius: 24px 24px 0 0 !important;
}

.relevant-blogs-section .title a {
  color: var(--es-navy);
  font-weight: 700;
  transition: color 0.2s ease;
  text-decoration: none;
}

.relevant-blogs-section .title a:hover {
  color: var(--es-primary);
}

.toc-list a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  line-height: 1.6;
}

.toc-list a:hover {
  color: var(--es-primary);
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .blog-content-wrapper {
    padding: 50px 40px;
    margin-top: -80px;
  }

  .blog-sidebar-wrapper {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .blog-content-wrapper {
    padding: 35px 20px;
    margin-top: -60px;
  }

  .blog-sidebar-wrapper {
    margin-top: 0;
  }

  .blog-detail-header {
    padding: 120px 0 100px;
  }
}

/* ============================================================
   LEGAL PAGES (TERMS, PRIVACY, REFUND) - PREMIUM REDESIGN
   ============================================================ */
.legal-page-header {
  background-image: url('../images/bg/natural-resume-banner.png');
  /* Using a professional background image */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

/* Darker overlay for text readability over background image */
.legal-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.85);
  z-index: 1;
}

/* Floating shapes for premium feel */
.legal-page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  /* fix gap */
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--es-off-white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

.legal-header-content {
  position: relative;
  z-index: 10;
}

.legal-header-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--es-gold);
  font-size: 36px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.legal-page-header:hover .legal-header-icon {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.legal-header-title {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.legal-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--es-transition);
}

.legal-breadcrumb a:hover {
  color: var(--es-gold);
}

.legal-breadcrumb li+li::before {
  content: '\f105';
  /* Angle right icon */
  font-family: "FontAwesome";
  margin-right: 15px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.legal-content-card {
  background: var(--es-white);
  padding: 80px 100px;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(10, 22, 40, 0.12);
  border: 1px solid var(--es-border);
  margin-top: -80px;
  position: relative;
  z-index: 20;
}

/* Updated date badge */
.legal-updated-badge {
  display: inline-block;
  background: rgba(79, 142, 247, 0.08);
  color: var(--es-blue);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 50px;
  border: 1px solid rgba(79, 142, 247, 0.15);
}

.legal-updated-badge i {
  margin-right: 8px;
}

/* Typography styles */
.legal-content-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--es-navy);
  margin-bottom: 1.5rem;
}

.legal-content-card p {
  font-size: 17px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .legal-content-card {
    padding: 60px 40px;
    margin-top: -60px;
  }
}

@media (max-width: 767px) {
  .legal-content-card {
    padding: 40px 25px;
    margin-top: -40px;
  }

  .legal-page-header {
    padding: 140px 0 90px;
  }

  .legal-header-title {
    font-size: 32px;
  }
}

/* ============================================================
   HOW IT WORKS (HOME PAGE)
   ============================================================ */
.step-card {
  padding: 30px 20px;
  background: var(--es-white);
  border-radius: 16px;
  border: 1px solid var(--es-border);
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.05);
  transition: var(--es-transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  border-color: var(--es-blue);
  box-shadow: 0 8px 32px rgba(79, 142, 247, 0.12);
  transform: translateY(-4px);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(79, 142, 247, 0.08);
  /* light blue */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--es-transition);
  position: relative;
  z-index: 2;
}

.step-card:hover .step-icon {
  background: var(--es-blue);
}

.step-icon i {
  font-size: 24px;
  color: var(--es-blue);
  transition: var(--es-transition);
}

.step-card:hover .step-icon i {
  color: #ffffff;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--es-navy);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--es-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Add an arrow pointing right for desktop between steps (using pseudo element on col) */
@media (min-width: 992px) {
  .how-it-works-row>div:not(:last-child) .step-card::after {
    content: '\f105';
    /* FontAwesome angle-right */
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--es-border);
    z-index: 10;
  }
}

/* ============================================================
   RESUME BUILDER CTA (HOME PAGE)
   ============================================================ */
.resume-cta-wrapper {
  background-image: url('../images/bg/natural-resume-banner.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--es-shadow-lg);
  position: relative;
  text-align: center;
  /* Center everything */
}

/* Gradient Overlay - Dark uniform overlay to make text pop */
.resume-cta-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.85);
  /* Dark solid blue overlay */
  pointer-events: none;
  z-index: 1;
}

.resume-cta-content {
  padding: 80px 40px;
  position: relative;
  z-index: 2;
  max-width: 800px;
  /* Wider max width for centered content */
  margin: 0 auto;
  /* Center the wrapper */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center flex children */
}

.resume-cta-content h2 {
  font-size: clamp(32px, 5vw, 46px) !important;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 24px;
  line-height: 1.25;
}

.resume-cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 40px;
  line-height: 1.7;
}

.resume-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
  justify-content: center;
  gap: 15px 30px;
  /* Space between items */
}

.resume-features-list li {
  display: flex;
  align-items: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

.resume-features-list li i {
  color: var(--es-gold);
  font-size: 20px;
  margin-right: 12px;
}

.btn-cta-gold {
  background: linear-gradient(135deg, var(--es-gold), var(--es-gold-light)) !important;
  color: var(--es-navy) !important;
  border: none !important;
  padding: 0 45px !important;
  height: 60px;
  font-size: 18px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 20px rgba(245, 166, 35, 0.3) !important;
  transition: all 0.3s ease !important;
}

.btn-cta-gold:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 15px 25px rgba(245, 166, 35, 0.4) !important;
  color: var(--es-navy) !important;
}

/* Adjustments for mobile */
@media (max-width: 991px) {
  .resume-cta-content {
    padding: 60px 20px;
  }

  .resume-features-list {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

.job-category-card p {
  font-size: 12px;
  color: var(--es-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   DETAIL PAGES (JOB/UNIVERSITY) MODERNIZATION
   ============================================================ */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 24px;
  box-shadow: var(--es-shadow);
  margin-bottom: 30px;
}

.sidebar-widget .title {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--es-off-white);
  position: relative;
}

.sidebar-widget .title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--es-blue);
}

.job-overview li {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--es-border);
  font-size: 14px;
}

.job-overview li:last-child {
  border-bottom: none;
}

.job-overview li strong {
  color: var(--es-navy);
  font-weight: 600;
  min-width: 80px;
  flex-shrink: 0;
}

/* Ensure long values like emails wrap */
.job-overview li span,
.job-overview li a {
  word-break: break-all;
  flex: 1;
}

.job-overview li i {
  width: 32px;
  height: 32px;
  background: rgba(79, 142, 247, 0.1);
  color: var(--es-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Page heading enhancement */
.page-heading-section {
  padding: 120px 0 80px !important;
  background-color: var(--es-navy) !important;
}

.page-heading-content .title {
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 15px !important;
}

/* ============================================================
   ANIMATIONS & EFFECTS
   ============================================================ */
.premium-lift {
  transition: var(--es-transition);
}

.premium-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--es-shadow-lg) !important;
}

/* Counter Animation Helper */
.counter-box .counter {
  display: inline-block;
  font-weight: 800;
}

/* AOS visibility fix for mobile if needed */
@media (max-width: 991px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

.aos-animate {
  pointer-events: auto;
}

/* ============================================================
   JOB SEARCH BAR
   ============================================================ */
.job-search-section {
  background: var(--es-white);
  padding: 28px 0 !important;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
  border-bottom: 1px solid var(--es-border);
  position: relative;
  z-index: 5;
}

.job-search-form {
  background: var(--es-white) !important;
  border-radius: var(--es-radius) !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

.job-search-form input[type="text"] {
  height: 52px !important;
  border: 1.5px solid var(--es-border) !important;
  border-radius: var(--es-radius-sm) !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  color: var(--es-text) !important;
  background: var(--es-off-white) !important;
  width: 100%;
  transition: var(--es-transition);
}

.job-search-form input[type="text"]:focus {
  border-color: var(--es-blue) !important;
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.15) !important;
  background: #fff !important;
  outline: none;
}

.job-search-form button[type="submit"],
.job-search-form .btn.btn-primary {
  height: 52px !important;
  padding: 0 36px !important;
  background: linear-gradient(135deg, var(--es-blue), #2563eb) !important;
  border: none !important;
  border-radius: var(--es-radius-sm) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(79, 142, 247, 0.4) !important;
  transition: var(--es-transition) !important;
  white-space: nowrap;
}

.job-search-form button[type="submit"]:hover,
.job-search-form .btn.btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 22px rgba(79, 142, 247, 0.55) !important;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title .title {
  font-size: clamp(26px, 4vw, 40px) !important;
  font-weight: 800 !important;
  color: var(--es-navy) !important;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-title .title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--es-blue), var(--es-gold));
  border-radius: 4px;
}

.section-title p {
  color: var(--es-text-muted) !important;
  font-size: 15px !important;
  margin-top: 14px;
}

/* ============================================================
   SECTIONS — BACKGROUND
   ============================================================ */
.section.section-padding {
  background: var(--es-off-white);
}

.section.section-padding:nth-child(even) {
  background: var(--es-white);
}

/* ============================================================
   JOB LIST CARDS
   ============================================================ */
a.job-list.row {
  background: var(--es-white) !important;
  border-radius: var(--es-radius) !important;
  padding: 20px 24px !important;
  margin-bottom: 14px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: 1.5px solid var(--es-border) !important;
  border-left: 4px solid var(--es-blue) !important;
  box-shadow: var(--es-shadow) !important;
  transition: var(--es-transition) !important;
  align-items: center !important;
  text-decoration: none !important;
  display: flex !important;
}

a.job-list.row:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--es-shadow-lg) !important;
  border-color: var(--es-blue) !important;
  border-left-color: var(--es-gold) !important;
}

/* Company logo circle */
.job-list .company-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-list .company-logo img {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--es-border) !important;
  background: #fff;
  padding: 4px;
}

/* Job title */
.job-list .content .title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--es-navy) !important;
  margin-bottom: 4px !important;
}

/* Meta list */
.job-list .content .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-list .content .meta li {
  font-size: 13px;
  color: var(--es-text-muted);
  margin: 0 !important;
}

.job-list .content .meta .text-primary {
  color: var(--es-blue) !important;
  font-weight: 600;
}

/* Salary + badge */
.job-list .salary-type {
  text-align: right;
  min-width: 120px;
}

@media (max-width: 575px) {
  a.job-list.row {
    padding: 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .job-list .salary-type {
    text-align: left;
    order: 2 !important;
    margin-top: 10px;
    width: 100%;
  }

  .job-list .content {
    order: 1 !important;
    width: 100%;
  }

  .job-list .company-logo {
    margin-bottom: 12px;
  }
}

.job-list .salary-range {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--es-navy);
}

.job-list .badge.bg-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border-radius: 30px !important;
  letter-spacing: 0.04em !important;
  margin-top: 4px;
}

/* View All button */
.btn.btn-primary {
  background: linear-gradient(135deg, var(--es-blue), #2563eb) !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 12px 36px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(79, 142, 247, 0.35) !important;
  transition: var(--es-transition) !important;
}

.btn.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(79, 142, 247, 0.5) !important;
}

/* ============================================================
   FUNFACT / STATS SECTION
   ============================================================ */
.section.section-padding.bg-parallax[data-bg-image] {
  background: linear-gradient(135deg, var(--es-navy) 0%, var(--es-navy-light) 100%) !important;
  background-attachment: unset !important;
  background-image: none !important;
}

.funfact-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.funfact {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--es-radius) !important;
  padding: 36px 24px !important;
  text-align: center !important;
  backdrop-filter: blur(10px);
  transition: var(--es-transition);
  flex: 1 1 200px;
  max-width: 240px;
}

.funfact:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(79, 142, 247, 0.4) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

.funfact .counter {
  display: block;
  font-size: 52px !important;
  font-weight: 800 !important;
  font-family: 'Montserrat', sans-serif !important;
  color: var(--es-gold) !important;
  line-height: 1 !important;
  text-shadow: 0 2px 10px rgba(245, 166, 35, 0.3);
}

.funfact .title {
  display: block;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 10px;
}

/* ============================================================
   FEATURED COMPANIES
   ============================================================ */
.company-slider.row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0;
}

.company-slider .col {
  padding: 8px !important;
  flex: 1 1 140px;
}

@media (max-width: 575px) {
  .company-slider .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .job-category-slider .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

a.feature-company {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 24px !important;
  padding: 30px 20px !important;
  text-align: center !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.01) !important;
  position: relative;
  overflow: hidden;
}

a.feature-company::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  z-index: -1;
}

a.feature-company:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.08) !important;
  border-color: var(--es-blue) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

a.feature-company img {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  object-fit: contain !important;
  background: #f8fafc;
  padding: 12px;
  border-radius: 18px !important;
  margin-bottom: 18px !important;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

a.feature-company:hover img {
  transform: scale(1.1);
}

a.feature-company .title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--es-navy) !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.2px;
}

a.feature-company .open-job {
  font-size: 11px !important;
  color: var(--es-blue) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(43, 89, 255, 0.08) !important;
  padding: 5px 14px !important;
  border-radius: 30px !important;
  display: inline-block;
}

/* Testimonial (bg-parallax bg-2) */
.section.section-padding.bg-parallax:not(:first-of-type) {
  background: linear-gradient(135deg, #0f2040 0%, #1a3a6e 100%) !important;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-slider .blog {
  flex: 1 1 300px;
  max-width: 380px;
}

.blog {
  background: var(--es-white) !important;
  border-radius: var(--es-radius) !important;
  overflow: hidden !important;
  border: 1.5px solid var(--es-border) !important;
  box-shadow: var(--es-shadow) !important;
  transition: var(--es-transition) !important;
}

.blog:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--es-shadow-lg) !important;
  border-color: var(--es-blue) !important;
}

.blog .media {
  overflow: hidden;
  border-radius: var(--es-radius) var(--es-radius) 0 0;
}

.blog .media img {
  width: 100% !important;
  max-width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.blog:hover .media img {
  transform: scale(1.05) !important;
}

.blog .content {
  padding: 20px 22px !important;
}

.blog .content .title a {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--es-navy) !important;
  line-height: 1.4 !important;
}

.blog .content .title a:hover {
  color: var(--es-blue) !important;
}

.blog .meta {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  font-size: 12px;
  color: var(--es-text-muted);
}

.blog .content .desc {
  font-size: 13px;
  color: var(--es-text-muted);
  margin-bottom: 14px;
}

a.read-more {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--es-blue) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 0 !important;
  border-bottom: 2px solid transparent;
  transition: var(--es-transition) !important;
}

a.read-more:hover {
  border-bottom-color: var(--es-blue) !important;
  color: #2563eb !important;
}

a.all_blogs {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--es-blue) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 16px !important;
}

a.all_blogs:hover {
  color: #2563eb !important;
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.job-category-slider.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.job-category-slider .col {
  padding: 10px !important;
}

/* ============================================================
   REGIONAL OFFICES — ACCORDION
   ============================================================ */
.accordion-item {
  border: 1.5px solid var(--es-border) !important;
  border-radius: var(--es-radius-sm) !important;
  margin-bottom: 10px !important;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600 !important;
  color: var(--es-navy) !important;
  background: var(--es-white) !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.08), rgba(37, 99, 235, 0.05)) !important;
  color: var(--es-blue) !important;
  box-shadow: none !important;
}

.office_item {
  padding: 4px 0;
  font-size: 14px;
  color: var(--es-text);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-top-section.section {
  background: var(--es-navy) !important;
  position: relative;
  padding-top: 70px !important;
  padding-bottom: 50px !important;
}

.footer-top-section.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--es-blue), var(--es-gold), var(--es-blue));
  background-size: 200%;
  animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.footer-widget-about img {
  max-width: 140px !important;
  max-height: 50px !important;
  object-fit: contain;
  filter: brightness(1.2);
  margin-bottom: 16px;
}

.footer-widget-about p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.footer-socail {
  display: flex !important;
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin-top: 20px !important;
}

/* Profile / Auth Styles */
.auth-item {
  margin-left: 10px !important;
}

.auth-item .profile-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--es-white) !important;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 30px;
  padding: 6px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--es-transition);
}

.auth-item .profile-link:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: var(--es-blue);
}

.auth-item .profile-link i {
  font-size: 20px;
  color: var(--es-gold);
}

.auth-item .profile-link.guest {
  padding: 8px !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
}

.auth-item .profile-link.guest i {
  margin-right: 0;
  font-size: 22px;
}

.auth-item .user-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.auth-item .sub-menu {
  right: 0 !important;
  left: auto !important;
  top: 100% !important;
  min-width: 180px;
  border-radius: var(--es-radius-sm);
  padding: 15px !important;
}

#main-menu .auth-item .sub-menu li a {
  padding: 8px 0 !important;
  color: var(--es-navy) !important;
  font-weight: 500;
}

#main-menu .auth-item .sub-menu li a:hover {
  color: var(--es-blue) !important;
}

/* Ensure single line & alignment */
header.header .container {
  max-width: 100% !important;
  padding: 0 30px;
}

header.header .row {
  flex-wrap: wrap !important;
}

@media (max-width: 991px) {
  header.header {
    background: var(--es-navy) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    position: sticky !important;
    top: 0;
    z-index: 1000 !important;
  }

  header.header .container {
    padding: 10px 15px !important;
  }

  header.header .row {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

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

#main-menu {
  flex: 1;
  justify-content: center;
}

#main-menu ul.main-menu-list {
  gap: 2px !important;
}

.header-links {
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.language_btn {
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.footer-socail li a {
  width: 38px;
  height: 38px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 15px !important;
  transition: var(--es-transition) !important;
  text-decoration: none !important;
}

.footer-socail li a:hover {
  background: var(--es-blue) !important;
  border-color: var(--es-blue) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(79, 142, 247, 0.4) !important;
}

.footer-widget h6.title {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--es-gold) !important;
  margin-bottom: 20px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widget-link ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget-link ul li {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.footer-widget-link ul li a {
  color: rgba(255, 255, 255, 0.60) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  transition: var(--es-transition) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-widget-link ul li a::before {
  content: '›';
  color: var(--es-blue);
  font-size: 16px;
  line-height: 1;
}

.footer-widget-link ul li a:hover {
  color: var(--es-white) !important;
  padding-left: 4px;
}

/* Newsletter */
.footer-widget-newsletter p {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px !important;
  margin-bottom: 14px !important;
}

#mc-form {
  display: flex !important;
  gap: 8px !important;
}

#mc-email {
  flex: 1;
  height: 46px !important;
  border-radius: var(--es-radius-sm) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
  padding: 0 14px !important;
  font-size: 13px !important;
}

#mc-email::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

#mc-email:focus {
  border-color: var(--es-blue) !important;
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.2) !important;
  outline: none !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

#mc-submit.btn {
  height: 46px !important;
  width: 46px !important;
  padding: 0 !important;
  background: linear-gradient(135deg, var(--es-blue), #2563eb) !important;
  border: none !important;
  border-radius: var(--es-radius-sm) !important;
  color: #fff !important;
  font-size: 16px !important;
  box-shadow: 0 4px 14px rgba(79, 142, 247, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#mc-submit.btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(79, 142, 247, 0.55) !important;
}

/* Footer bottom bar */
.footer-bottom-section.section {
  background: rgba(5, 12, 24, 0.9) !important;
  padding: 16px 0 !important;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 12px !important;
  margin: 0 !important;
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
#scrollUp {
  background: linear-gradient(135deg, var(--es-blue), #2563eb) !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(79, 142, 247, 0.4) !important;
  bottom: 26px !important;
  right: 26px !important;
}

/* ============================================================
   MOBILE OFFCANVAS
   ============================================================ */
.offcanvas-section {
  background: #0a1628 !important;
  background-color: #0a1628 !important;
}

@media (min-width: 992px) {
  .offcanvas-section {
    display: none !important;
  }
}

/* Make the inner wrap dark too so white text is visible */
.offcanvas-section .offcanvas-wrap,
.offcanvas-section .inner {
  background-color: #0a1628 !important;
}

.offcanvas-section .offcanvas-close {
  color: rgba(255, 255, 255, 0.6) !important;
  background-color: transparent !important;
}

.offcanvas-menu nav ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.offcanvas-menu nav ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.offcanvas-menu nav a,
.offcanvas-menu nav ul li a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  display: block !important;
  padding: 12px 0 !important;
}

/* Forcefully hide any secondary or duplicated <a> tags within the same <li> */
.offcanvas-menu nav ul li a~a {
  display: none !important;
}

.offcanvas-menu nav a:hover,
.offcanvas-menu nav ul li a:hover {
  color: var(--es-blue) !important;
}


/* ============================================================
   LAYOUT — Fixed header spacing
   ============================================================ */

/* Slider section is full-bleed behind the transparent fixed header */
.slider-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow: visible !important;
}

/* Non-slider first sections get breathing room below the fixed header */
.section:not(.slider-section):first-of-type {
  padding-top: 80px;
}

@media (max-width: 991px) {
  .header-logo img {
    max-height: 36px !important;
  }

  .hero_text {
    font-size: clamp(32px, 8vw, 60px) !important;
  }

  a.job-list.row {
    flex-wrap: wrap !important;
  }

  .funfact {
    max-width: 100%;
  }

  .glass-search-wrap {
    padding: 16px 15px;
  }

  .glass-search-wrap .job-search-form {
    padding: 12px !important;
  }
}

@media (max-width: 575px) {
  .job-search-form .row {
    flex-direction: column;
    gap: 12px !important;
  }

  .blog-slider {
    flex-direction: column;
  }

  .blog-slider .blog {
    max-width: 100%;
  }

  .glass-search-wrap button[type="submit"] {
    width: 100% !important;
  }
}

/* Fix slider overflow on mobile — only clip the list, never constrain the track */
.slick-list {
  overflow: hidden !important;
}

/* ============================================================
   GLASSMORPHISM SEARCH BAR
   ============================================================ */
.glass-search-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(50%);
  padding: 0 15px;
}

.glass-search-wrap .job-search-form {
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 16px !important;
  padding: 14px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 10px;
  padding: 0 16px;
  transition: var(--es-transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-input-group:focus-within {
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.25), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-input-group i {
  color: var(--es-blue);
  font-size: 15px;
}

.search-input-group input {
  border: none !important;
  background: transparent !important;
  height: 48px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  width: 100%;
  color: var(--es-text);
}

.search-input-group input::placeholder {
  color: var(--es-text-muted);
}

.search-input-group input:focus {
  box-shadow: none !important;
  outline: none !important;
}

.glass-search-wrap .search-btn {
  height: 48px !important;
  border-radius: 10px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(79, 142, 247, 0.4) !important;
  padding: 0 28px !important;
}

@media (max-width: 991px) {
  .glass-search-wrap {
    position: relative;
    bottom: auto;
    transform: none;
    padding: 30px 15px;
    background: var(--es-navy-mid);
    margin-top: -2px;
  }

  .glass-search-wrap .job-search-form {
    background: rgba(255, 255, 255, 0.12) !important;
  }
}

@media (max-width: 575px) {
  .glass-search-wrap .row {
    flex-direction: column;
  }

  .glass-search-wrap .search-btn {
    width: 100% !important;
  }
}

/* ============================================================
   PREMIUM PAGINATION
   ============================================================ */
.pagination-wrap {
  margin-top: 50px;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pagination {
  display: flex !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  border: none !important;
}

.pagination .page-item {
  border: none !important;
  margin: 0 !important;
}

.pagination .page-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--es-navy) !important;
  background: #ffffff !important;
  border: 1px solid var(--es-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 5px rgba(10, 22, 40, 0.05) !important;
  transition: all 0.25s ease !important;
}

.pagination .page-item.active .page-link {
  background: var(--es-navy) !important;
  border-color: var(--es-navy) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.2) !important;
}

.pagination .page-link:hover {
  background: var(--es-off-white) !important;
  border-color: var(--es-blue) !important;
  color: var(--es-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 142, 247, 0.1) !important;
}

.pagination .page-item.disabled .page-link {
  background: #f8fafd !important;
  color: #cbd5e1 !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed;
}

/* Robustly hide "Showing 1 to 12 of 244 results" across all common templates */
.pagination-wrap p.small.text-muted,
.pagination-wrap nav div:first-child,
.pagination-wrap nav .flex.items-center.justify-between div:first-child,
.pagination-wrap nav .hidden.sm\:flex-1.sm\:flex.sm\:items-center.sm\:justify-between div:first-child,
.pagination-info {
  display: none !important;
}

nav .flex.items-center.justify-between div:last-child {
  margin: 0 auto !important;
}

nav .flex.items-center.justify-between div:first-child p span,
.pagination-info span {
  font-weight: 700 !important;
  color: var(--es-navy) !important;
}

/* Hide default laravel pagination elements that might clash */
nav .hidden.sm\:flex-1.sm\:flex.sm\:items-center.sm\:justify-between {
  flex-direction: column !important;
}

@media (max-width: 767px) {
  .pagination .page-link {
    min-width: 36px;
    height: 36px;
    font-size: 13px !important;
    border-radius: 8px !important;
  }
}

/* ============================================================
   FLOATING WIDGETS REPOSITIONING
   ============================================================ */
#scrollUp {
  bottom: 110px !important;
  right: 26px !important;
  width: 48px !important;
  height: 48px !important;
  background: var(--es-navy) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  font-size: 18px !important;
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.3) !important;
  transition: all 0.3s ease !important;
  z-index: 1040 !important;
  padding: 0 !important;
}

#scrollUp:hover {
  background: var(--es-blue) !important;
  transform: translateY(-5px) !important;
}

.scroll-progress {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.scroll-progress svg.progress-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.scroll-progress path.progress-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 4;
}

.scroll-progress path.progress-path {
  fill: none;
  stroke: #00ff88;
  stroke-width: 4;
  stroke-linecap: round;
  box-sizing: border-box;
  transition: stroke-dashoffset 10ms linear;
}

#scrollUp i {
  position: relative;
  z-index: 1;
}

/* ============================================================
   COMPANY LISTING REDESIGN
   ============================================================ */
.company-list-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.01);
  text-decoration: none !important;
  height: 100%;
  position: relative;
}

.company-list-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.company-list-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
  border-color: var(--es-blue);
  background: rgba(255, 255, 255, 0.98);
}

.company-list-card .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 1;
}

.company-logo-wrap {
  width: 90px;
  height: 90px;
  background: #f1f5f9;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  padding: 15px;
  transition: transform 0.4s ease, background 0.4s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.company-list-card:hover .company-logo-wrap {
  transform: rotate(-3deg) scale(1.05);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.company-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.company-info .title {
  font-size: 20px;
  font-weight: 800;
  color: var(--es-navy);
  margin-bottom: 10px;
  letter-spacing: -0.4px;
  transition: color 0.3s;
}

.company-list-card:hover .title {
  color: var(--es-blue);
}

.stats-row {
  margin-bottom: 18px;
}

.stats-row .open-job {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--es-blue);
  background: rgba(43, 89, 255, 0.08);
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.company-info .location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--es-text-muted);
}

.company-info .location i {
  color: var(--es-blue);
  font-size: 16px;
}

.card-footer-action {
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.btn-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--es-navy);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.company-list-card:hover .btn-text {
  color: var(--es-blue);
  gap: 15px;
}

/* Sidebar Refinement */
.sidebar-widget.bg-white {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  padding: 25px !important;
}

.sidebar-widget .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--es-navy);
  border-bottom: 2px solid var(--es-blue);
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px !important;
}

/* ============================================================
   MOBILE OVERFLOW FIX — does NOT affect desktop/laptop
   ============================================================ */
@media (max-width: 991px) {

  /* Prevent the whole page from scrolling sideways */
  html,
  body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
    max-width: 100vw !important;
  }

  /* Header: allow logo and links to shrink below 180px */
  .header-logo {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }

  .header-links {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }

  /* Let header padding breathe on small screens */
  header.header .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Allow the header row to fill width and space items apart */
  header.header .row {
    width: 100% !important;
    justify-content: space-between !important;
  }

  /* All generic containers must not exceed viewport */
  .container,
  .container-fluid,
  .container-xl,
  .container-xxl {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Bootstrap rows: remove negative margins that cause overflow */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Sections / sliders must not overflow */
  .slider-section,
  .hero-slider,
  .hero-slide,
  .section {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

/* KEY FIX: Offcanvas section was 390px wide causing overflow on small screens */
.offcanvas-section {
  width: 100% !important;
  max-width: 360px !important;
}

/* Logo image: constrain size */
.header-logo img {
  max-height: 36px !important;
  max-width: 130px !important;
  width: auto !important;
}

/* Hero text: allow wrapping, no fixed widths */
.hero_text {
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
}

.hero_subtext {
  max-width: 100% !important;
}

/* Job list rows: wrap on mobile */
a.job-list.row {
  flex-wrap: wrap !important;
}

/* Slick slider: basic cleanup */
.slick-track {
  display: block;
  /* Restore default Slick behavior */
}

/* SEARCH FORM MOBILE FIX */
@media (max-width: 600px) {

  .job-search-form button[type="submit"],
  .job-search-form .btn.btn-primary {
    white-space: normal !important;
    height: auto !important;
    padding: 10px 20px !important;
    min-height: 52px;
  }

  .job-search-form input[type="text"] {
    font-size: 13px !important;
    padding: 0 12px !important;
  }

  .glass-search-wrap .container {
    padding: 0 10px !important;
  }
}

/* Hyper-Premium Design Styles */
.mesh-gradient-blue {
  background: radial-gradient(at 0% 0%, rgba(79, 142, 247, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(34, 211, 238, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(79, 142, 247, 0.1) 0px, transparent 50%),
    #ffffff;
}

.mesh-gradient-dark {
  background: radial-gradient(at 0% 0%, rgba(79, 142, 247, 0.3) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(30, 41, 59, 0.8) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(15, 23, 42, 1) 0px, transparent 100%),
    #0f172a;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* Circular Progress SVG */
.progress-circle {
  width: 100px;
  height: 100px;
  position: relative;
  display: inline-block;
}

.progress-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-circle circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  cx: 50;
  cy: 50;
  r: 45;
}

.progress-circle .bg {
  stroke: #f1f5f9;
}

.progress-circle .fg {
  stroke: var(--es-blue);
  stroke-dasharray: 283;
  /* 2 * PI * 45 */
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1s ease-in-out;
}

.progress-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 800;
  color: var(--es-navy);
}

.glow-active {
  box-shadow: 0 0 15px var(--es-blue-glow);
  z-index: 10;
}

.premium-card-hover:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--es-shadow-lg) !important;
  transform: translateY(-8px) scale(1.02);
}

.glass-search-premium {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50px !important;
}

.greeting-text {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.01em;
}

.gradient-bg-university {
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Social Share buttons */
.social-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 8px;
  color: #fff !important;
  transition: all 0.3s ease;
}

.ss-facebook {
  background-color: #3b5998;
}

.ss-twitter {
  background-color: #1da1f2;
}

.ss-linkedin {
  background-color: #0077b5;
}

.ss-whatsapp {
  background-color: #25d366;
}

.social-share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}