/* ==========================================================================
   JobTM - Premium Employment & Recruitment Portal Stylesheet
   Design Language: Clean Corporate Modern with Mobile App Experience
   Brand Colors: JobTM Navy (#0e213f) + JobTM Gold (#fab802)
   ========================================================================== */

:root {
  --jd-primary: #0e213f;
  --jd-primary-dark: #09162a;
  --jd-primary-light: #eef4fc;
  --jd-accent: #fab802;
  --jd-accent-hover: #dfa300;
  --jd-accent-light: #fffbeb;
  --jd-dark: #09162a;
  --jd-dark-surface: #12233f;
  --jd-text: #334155;
  --jd-text-light: #64748b;
  --jd-border: #e2e8f0;
  --jd-bg: #f8fafc;
  --jd-white: #ffffff;
  
  --white-collar: #0284c7;
  --white-collar-bg: #e0f2fe;
  --green-collar: #16a34a;
  --green-collar-bg: #dcfce7;
  --grey-collar: #64748b;
  --grey-collar-bg: #f1f5f9;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 16px 36px rgba(14, 33, 63, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background-color: #040913 !important;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--jd-text);
  background-color: var(--jd-bg);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 0 !important;
  }
}

a {
  color: var(--jd-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--jd-accent);
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #09162a, #0e213f);
  color: #ffffff;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar a {
  color: #f1f5f9;
}

.top-notice-bar a:hover {
  color: #fab802;
}

.navbar-main {
  background: #ffffff;
  border-bottom: 1px solid var(--jd-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.navbar-brand-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.navbar-main .nav-link {
  font-weight: 600;
  font-size: 14.5px;
  color: #334155;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
  background: transparent !important;
  border: none !important;
  position: relative;
}

.navbar-main .nav-link:hover {
  color: var(--jd-primary) !important;
  background: transparent !important;
}

.navbar-main .nav-link.active {
  color: var(--jd-primary) !important;
  background: transparent !important;
  font-weight: 700;
}

.navbar-main .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--jd-accent);
  border-radius: 2px;
}

/* ==========================================================================
   Page Header Banner with Background Image & Centered Breadcrumb
   ========================================================================== */
.page-banner-section {
  position: relative;
  background: linear-gradient(135deg, rgba(9, 22, 42, 0.88) 0%, rgba(14, 33, 63, 0.85) 100%), 
              url('../images/page-banner.jpg') center center / cover no-repeat;
  padding: 50px 0 42px;
  color: #ffffff;
  text-align: center;
  border-bottom: 3px solid #fab802;
  overflow: hidden;
}

.page-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(250, 184, 2, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.page-banner-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 8px;
}

.page-banner-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto 16px auto;
  line-height: 1.5;
}

.page-banner-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 6px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 500;
}

.page-banner-breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.page-banner-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  font-size: 9px;
  color: #fab802;
  padding: 0 10px;
}

.page-banner-breadcrumb .breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}

.page-banner-breadcrumb .breadcrumb-item a:hover {
  color: #fab802;
}

.page-banner-breadcrumb .breadcrumb-item.active {
  color: #fab802;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .page-banner-section {
    padding: 35px 0 28px;
  }
  .page-banner-title {
    font-size: 1.65rem;
  }
  .page-banner-breadcrumb {
    font-size: 12.5px;
    padding: 5px 14px;
  }
}

/* ==========================================================================
   Sidebar Category Widget Styling
   ========================================================================== */
.sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #edf2f7;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.sidebar-cat-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0e213f;
  transform: translateX(4px);
}

.sidebar-cat-item.active {
  background: #0e213f;
  border-color: #0e213f;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(14, 33, 63, 0.18);
}

.sidebar-cat-item.active .cat-arrow-icon {
  color: #fab802 !important;
}

.sidebar-cat-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.sidebar-cat-item:hover .sidebar-cat-badge {
  background: #e2e8f0;
  color: #0e213f;
}

.sidebar-cat-item.active .sidebar-cat-badge {
  background: #fab802;
  color: #0e213f;
  border-color: #fab802;
}

/* Remove button border/box outline on toggler */
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.btn-close:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Open menu dropdown on hover on desktop */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes fadeInDropdown {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.btn-primary-jd {
  background: linear-gradient(135deg, var(--jd-primary), #173767);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  box-shadow: 0 4px 12px rgba(14, 33, 63, 0.25);
  transition: all 0.25s ease;
}

.btn-primary-jd:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 33, 63, 0.35);
  color: #ffffff !important;
}

/* Keep split button halves perfectly locked together on hover */
.btn-group .btn-primary-jd,
.btn-group .btn-primary-jd:hover,
.btn-group .btn-primary-jd:focus,
.btn-group .btn-primary-jd:active,
.btn-group .btn-accent-jd,
.btn-group .btn-accent-jd:hover,
.btn-group .btn-accent-jd:focus,
.btn-group .btn-accent-jd:active {
  transform: none !important;
  box-shadow: none !important;
}

.btn-group {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  vertical-align: middle;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(14, 33, 63, 0.25);
}

.btn-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 33, 63, 0.35);
}

.btn-group > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
}

.btn-accent-jd {
  background: linear-gradient(135deg, var(--jd-accent), #f59e0b);
  color: #0e213f !important;
  font-weight: 700;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  box-shadow: 0 4px 14px rgba(250, 184, 2, 0.3);
  transition: all 0.25s ease;
}

.btn-accent-jd:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 184, 2, 0.5);
  color: #0e213f !important;
}

.btn-outline-jd {
  border: 1.5px solid var(--jd-primary);
  color: var(--jd-primary) !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  background: transparent;
  transition: all 0.2s;
}

.btn-outline-jd:hover {
  background: var(--jd-primary);
  color: #ffffff !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-wrapper {
  background: linear-gradient(135deg, #09162a 0%, #0e213f 60%, #173767 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  position: relative;
  overflow: visible !important;
  z-index: 1000;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(250, 184, 2, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffb86c;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.hero-title span {
  color: #fab802;
  text-shadow: 0 0 30px rgba(255, 157, 66, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-search-box {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
}

.hero-search-input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.search-field-item {
  flex: 1 1 200px;
  position: relative;
}

.search-field-item .field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}

.search-field-item .form-control,
.search-field-item .form-select {
  padding-left: 42px;
  height: 52px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--jd-dark);
}

.search-field-item .form-control:focus,
.search-field-item .form-select:focus {
  border-color: var(--jd-primary);
  box-shadow: 0 0 0 4px rgba(14, 33, 63, 0.1);
}

.btn-search-hero {
  height: 52px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--jd-accent), #f59e0b);
  color: #0e213f !important;
  border: none;
  box-shadow: 0 4px 16px rgba(250, 184, 2, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-search-hero:hover {
  background: linear-gradient(135deg, #dfa300, #f59e0b);
  transform: translateY(-2px);
  color: #0e213f !important;
  box-shadow: 0 6px 20px rgba(250, 184, 2, 0.5);
}

.trending-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
}

.trending-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.2s;
}

.trending-tag:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.hero-image-wrap {
  position: relative;
  text-align: center;
}

.hero-image-wrap img {
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: #ffffff;
  color: var(--jd-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

/* ==========================================================================
   Collar Badges & Hub
   ========================================================================== */
.badge-collar {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-white {
  background: var(--white-collar-bg);
  color: var(--white-collar);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-green {
  background: var(--green-collar-bg);
  color: var(--green-collar);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.badge-grey {
  background: var(--grey-collar-bg);
  color: var(--grey-collar);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.collar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--jd-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.collar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.collar-card.collar-white::before { background: var(--white-collar); }
.collar-card.collar-green::before { background: var(--green-collar); }
.collar-card.collar-grey::before { background: var(--grey-collar); }

.collar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.collar-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.collar-white .collar-icon { background: var(--white-collar-bg); color: var(--white-collar); }
.collar-green .collar-icon { background: var(--green-collar-bg); color: var(--green-collar); }
.collar-grey .collar-icon { background: var(--grey-collar-bg); color: var(--grey-collar); }

/* ==========================================================================
   Job Cards
   ========================================================================== */
.job-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--jd-border);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.job-card.featured-card {
  border-left: 4px solid var(--jd-accent);
}

.job-company-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--jd-primary);
  font-size: 20px;
}

.job-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--jd-dark);
  margin-bottom: 4px;
}

.job-title a {
  color: inherit;
}

.job-title a:hover {
  color: var(--jd-primary);
}

.job-company-name {
  font-size: 14px;
  color: var(--jd-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.job-chip {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.job-chip.salary-chip {
  background: #ecfdf5;
  color: #065f46;
}

.job-chip.urgent-chip {
  background: #fef2f2;
  color: #b91c1c;
}

/* ==========================================================================
   Category Cards
   ========================================================================== */
.category-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  border: 1px solid var(--jd-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: block;
  color: var(--jd-dark);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--jd-primary);
  color: var(--jd-primary);
}

.category-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--jd-primary-light);
  color: var(--jd-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.category-card:hover .category-card-icon {
  background: var(--jd-primary);
  color: #ffffff;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 36px;
}

.section-tag {
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--jd-dark);
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--jd-text-light);
  font-size: 15px;
  max-width: 600px;
}

/* ==========================================================================
   Mobile App-Style Bottom Navigation Bar (Active on screen < 768px)
   ========================================================================== */
.mobile-bottom-nav {
  display: none !important;
}

@media (max-width: 767.98px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #09162a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    z-index: 1040;
    justify-content: space-around;
    align-items: center;
    padding: 4px 6px;
  }
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8 !important;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 0;
  transition: all 0.15s ease;
  position: relative;
}

.mobile-nav-item i {
  font-size: 19px;
  margin-bottom: 2px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #fab802 !important;
}

.mobile-nav-item.active i {
  transform: translateY(-2px);
}

.mobile-nav-item.mobile-action-center {
  position: relative;
  top: -14px;
}

.mobile-nav-item.mobile-action-center .action-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jd-accent), #f59e0b);
  color: #0e213f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(250, 184, 2, 0.45);
  border: 3px solid #09162a !important;
  margin-bottom: 2px;
}

/* ==========================================================================
   Mobile App-Style Drawer / Offcanvas (Native App Feel)
   ========================================================================== */
.mobile-app-drawer {
  max-width: 320px;
  background: #f8fafc;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25);
}

.mobile-app-drawer .offcanvas-header {
  background: linear-gradient(135deg, #0e213f 0%, #09162a 100%);
  color: #ffffff;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #fab802;
}

.mobile-app-drawer .offcanvas-header::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(250, 184, 2, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mobile-drawer-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 36px;
}

.mobile-drawer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(250, 184, 2, 0.55);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jd-primary);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.mobile-drawer-avatar img {
  border-radius: 50%;
}

.drawer-verified-tick {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1877f2;
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 5;
  pointer-events: none;
}

.drawer-verified-tick i {
  line-height: 1;
  display: block;
}

.drawer-user-sub {
  color: #cbd5e1;
  font-size: 12px;
  display: block;
  margin-top: 2px;
  letter-spacing: 0.2px;
}

.drawer-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
}

.drawer-close-btn:hover {
  background: rgba(250, 184, 2, 0.25);
  color: #fab802;
  border-color: #fab802;
  transform: scale(1.08);
}

.drawer-auth-card {
  background: #ffffff;
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.drawer-section-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  padding: 14px 16px 6px;
}

.mobile-drawer-links {
  list-style: none;
  padding: 4px 10px;
  margin: 0;
}

.mobile-drawer-links li {
  margin-bottom: 3px;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  color: #1e293b;
  font-weight: 600;
  font-size: 14.5px;
  background: transparent;
  transition: all 0.2s ease;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
  background: #ffffff;
  color: var(--jd-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.drawer-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.drawer-chevron {
  font-size: 11px;
  color: #cbd5e1;
  transition: transform 0.2s;
}

.mobile-drawer-links a:hover .drawer-chevron {
  color: var(--jd-primary);
  transform: translateX(2px);
}

.drawer-footer-strip {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 12px 16px 14px;
  margin-top: auto;
}

.drawer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.drawer-social-btn.facebook {
  background: #1877f2;
  color: #ffffff !important;
}

.drawer-social-btn.linkedin {
  background: #0a66c2;
  color: #ffffff !important;
}

.drawer-social-btn.twitter {
  background: #000000;
  color: #ffffff !important;
}

.drawer-social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
}

.drawer-social-btn.youtube {
  background: #ff0000;
  color: #ffffff !important;
}

.drawer-social-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  color: #ffffff !important;
  opacity: 0.95;
}

/* ==========================================================================
   Comprehensive Multi-Column Footer with World-Class Modern Styling
   ========================================================================== */
.footer-wrapper {
  background: radial-gradient(circle at 85% 0%, #11284a 0%, #060d19 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding: 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #fab802 0%, #0e213f 50%, #10b981 100%) 1;
  flex-shrink: 0;
}

/* Subtle background accent orbs */
.footer-wrapper::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-wrapper::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(250, 184, 2, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Top Feature Highlights Bar */
.footer-top-strip {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 0;
  position: relative;
  z-index: 2;
}

.footer-feature-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.footer-feature-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.footer-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.footer-icon-circle.wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.22), rgba(18, 140, 126, 0.32));
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.footer-icon-circle.shield {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.22), rgba(14, 165, 233, 0.3));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.footer-icon-circle.help {
  background: linear-gradient(135deg, rgba(250, 184, 2, 0.22), rgba(245, 158, 11, 0.3));
  color: #fab802;
  border: 1px solid rgba(250, 184, 2, 0.4);
}

.footer-feature-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-feature-sub {
  color: #94a3b8;
  font-size: 13px;
  margin: 0;
}

/* Main Footer */
.footer-main {
  padding: 70px 0 45px;
  position: relative;
  z-index: 2;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  /*background: #ffffff;*/
  margin-bottom: 5px;
  transition: transform 0.2s ease;
}

.footer-logo-card:hover {
  transform: translateY(-2px);
}

.footer-brand .footer-desc {
  color: #cbd5e1 !important;
  font-size: 14px;
  line-height: 1.75;
}

.footer-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  font-size: 13.5px;
  margin-bottom: 10px;
}

.footer-meta-item i {
  margin-top: 4px;
  font-size: 14px;
  flex-shrink: 0;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: var(--jd-accent);
  border-color: var(--jd-accent);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(250, 184, 2, 0.4);
}

.footer-col-title {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  position: relative;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--jd-accent), #fab802);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #cbd5e1 !important;
  font-size: 13.5px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a .link-bullet {
  font-size: 9px;
  color: #fab802;
  transition: transform 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

.footer-links a:hover .link-bullet {
  color: #fab802;
  transform: translateX(2px);
}

/* Collar dots */
.collar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.collar-dot.white { background-color: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.6); }
.collar-dot.green { background-color: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
.collar-dot.grey  { background-color: #94a3b8; box-shadow: 0 0 6px rgba(148, 163, 184, 0.6); }

/* Quick alert box */
.footer-alert-card {
  background: linear-gradient(135deg, rgba(14, 33, 63, 0.35), rgba(15, 23, 42, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 28px;
  margin: 30px 0 10px;
  backdrop-filter: blur(8px);
}

/* Bottom Strip */
.footer-bottom {
  background: #040913;
  padding: 22px 0;
  font-size: 13.5px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 2;
}

.footer-bottom a {
  color: #cbd5e1 !important;
  transition: all 0.2s;
}

.footer-bottom a:hover {
  color: #fab802 !important;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: #cbd5e1;
}

@media (max-width: 767.98px) {
  .footer-bottom {
    padding-bottom: 80px !important;
  }
  .footer-top-strip {
    padding: 16px 0;
  }
  .footer-main {
    padding: 35px 0 25px;
  }
}

/* App Download Banner */
.app-banner-card {
  background: linear-gradient(135deg, #09162a, #0e213f);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  overflow: hidden;
  position: relative;
  margin: 60px 0;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.app-store-btn:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Back to Top Floating Action Button
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 84px; /* Floats above the mobile navigation bar */
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jd-accent), #f59e0b);
  color: #0e213f;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(250, 184, 2, 0.45);
  z-index: 1050;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: #0e213f;
  color: #fab802;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(14, 33, 63, 0.5);
  border-color: rgba(250, 184, 2, 0.5);
}

@media (min-width: 768px) {
  .back-to-top-btn {
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

/* ==========================================================================
   WHY CHOOSE CARDS — Professional Hover Cards
   ========================================================================== */
.why-card {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e8edf4;
  box-shadow: 0 2px 12px rgba(14,33,63,0.05);
  transition: all 0.28s ease;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(14,33,63,0.12);
  border-color: var(--jd-accent);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 1rem;
}

.why-card-icon.bg-warning {
  color: #0e213f !important;
}

/* ==========================================================================
   HOVER SHADOW UTILITY
   ========================================================================== */
.hover-shadow:hover {
  box-shadow: 0 6px 24px rgba(14,33,63,0.12) !important;
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

/* ==========================================================================
   SECTION HEADER REFINEMENTS
   ========================================================================== */
.section-tag {
  display: inline-block;
  background: rgba(14,33,63,0.07);
  color: var(--jd-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--jd-primary);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
}

/* ==========================================================================
   PROFESSIONAL TYPOGRAPHY POLISH
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
}

p {
  line-height: 1.7;
}

/* Remove any remaining legacy orange */
:root {
  --orange-legacy: #ff6b00;
  --orange-hover-legacy: #e05e00;
}

/* ==========================================================================
   PORTAL AUTH PAGES (Candidate & Employer)
   ========================================================================== */
.auth-page-wrapper {
  background-color: #f8fafc !important;
  padding-top: 30px !important;
  padding-bottom: 0 !important;
  width: 100%;
  margin: 0;
  flex: 1 0 auto;
}

.auth-card {
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.03) !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

/* ==========================================================================
   INTERACTIVE TAG / CHIP INPUT COMPONENT
   ========================================================================== */
.tag-input-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 12px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tag-input-wrapper:focus-within {
  border-color: #0e213f;
  box-shadow: 0 0 0 3px rgba(14, 33, 63, 0.12);
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0e213f;
  color: #ffffff;
  border: 1px solid #0e213f;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(14, 33, 63, 0.1);
  user-select: none;
  animation: tagPop 0.15s ease-out;
}

@keyframes tagPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.tag-badge .tag-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  flex-shrink: 0;
  line-height: 0;
  transition: all 0.15s ease;
}

.tag-badge .tag-remove-btn i {
  font-size: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.tag-badge .tag-remove-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

.tag-text-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  flex: 1 1 120px;
  min-width: 120px;
  padding: 6px 4px;
  font-size: 14px;
  color: #0f172a;
}

.tag-text-input::placeholder {
  color: #94a3b8;
  font-size: 13px;
}


