/* ==========================================================================
   Tech Recruitment Specialists — site styles
   Built on Bootstrap 5.3. Brand: #257dd4 blue, Poppins.
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.8d91ec1ca2d8.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.9212f6f9860f.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.a09f2fccfee3.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.72993dddf88a.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.25b0e113ca7c.woff2") format("woff2"); }

:root {
  --primary: #257dd4;
  --primary-dark: #1b65b0;
  --primary-rgb: 37, 125, 212;
  --primary-soft: rgba(37, 125, 212, .1);
  --secondary: #546e7a;
  --accent: #ff9800;
  --light: #e3f2fd;
  --ink: #1e2b3a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --page: #f9fafb;
  --hero-overlay: linear-gradient(rgba(1, 12, 22, .8), rgba(2, 13, 23, .8));
  --hero-fallback: radial-gradient(1200px 500px at 85% 20%, rgba(37, 125, 212, .35), transparent 60%), #0b1726;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 5px 15px rgba(13, 71, 161, .05);
  --shadow: 0 10px 25px rgba(13, 71, 161, .1);
  --nav-h: 84px;

  --bs-primary: var(--primary);
  --bs-primary-rgb: var(--primary-rgb);
  --bs-link-color: var(--primary);
  --bs-link-color-rgb: var(--primary-rgb);
  --bs-link-hover-color: var(--primary-dark);
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --bs-body-color: var(--body);
  --bs-body-bg: var(--page);
  --bs-border-color: var(--line);
  --bs-border-radius: 6px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { font-family: var(--bs-body-font-family); color: var(--body); background: var(--page); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { font-family: inherit; color: var(--ink); }
::selection { background: rgba(var(--primary-rgb), .18); }
:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .45); outline-offset: 2px; }
.skip-link { position: absolute; left: 1rem; top: -120px; z-index: 10000; background: #fff; color: var(--primary); padding: .6rem 1rem; border-radius: 6px; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }
[hidden] { display: none !important; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
section { padding: 80px 0; }
@media (max-width: 767.98px) { section { padding: 60px 0; } }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; border-radius: 6px; transition: all .25s ease; }
.btn-lg { font-size: 1rem; padding: .8rem 1.6rem; }
.btn-primary { --bs-btn-bg: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg: var(--primary-dark); --bs-btn-hover-border-color: var(--primary-dark); --bs-btn-active-bg: var(--primary-dark); --bs-btn-active-border-color: var(--primary-dark); --bs-btn-disabled-bg: var(--primary); --bs-btn-disabled-border-color: var(--primary); padding: 10px 25px; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(13, 71, 161, .2); }
.btn-outline-primary { --bs-btn-color: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg: var(--primary); --bs-btn-hover-border-color: var(--primary); --bs-btn-active-bg: var(--primary); --bs-btn-active-border-color: var(--primary); padding: 10px 25px; }
.btn-outline-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(13, 71, 161, .15); }
.btn-sm.btn-primary, .btn-sm.btn-outline-primary { padding: 7px 16px; }
.btn-light { color: var(--primary); }
.btn-light:hover { color: var(--primary-dark); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.site-navbar { padding: 14px 0; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); position: sticky; top: 0; z-index: 1030; transition: background .35s ease, padding .35s ease, box-shadow .35s ease; }
.site-navbar .navbar-brand { color: var(--primary); padding: 0; margin-right: 1.5rem; }
.site-navbar .logo { height: 46px; width: auto; display: block; transition: height .3s ease; }
/* Logo colours: navy + blue on light backgrounds, white + sky on dark ones. */
.logo { --logo-ink: #0E2240; --logo-accent: #2373D6; }
.page-home .site-navbar .logo, .site-footer .logo { --logo-ink: #FFFFFF; --logo-accent: #6AAEFF; }
.site-navbar .nav-link { color: var(--ink); font-weight: 500; margin: 0 10px; padding: .5rem 0; position: relative; }
.site-navbar .nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--primary); transition: width .3s ease; }
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { color: var(--primary); }
.site-navbar .nav-link:hover::after, .site-navbar .nav-link.active::after { width: 100%; }
.site-navbar .navbar-toggler { border: 1px solid var(--line); color: var(--primary); font-size: 1.6rem; padding: .2rem .6rem; }
.site-navbar .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .25); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.btn-nav-outline { border: 1px solid var(--primary); color: var(--primary); padding: 6px 16px; }
.btn-nav-outline:hover, .btn-nav-outline.active, .btn-nav-outline.show { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-nav-solid { background: var(--primary); border: 1px solid var(--primary); color: #fff; padding: 6px 16px; }
.btn-nav-solid:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.site-navbar .dropdown-menu { border: 1px solid var(--line); border-radius: 10px; padding: .4rem; min-width: 210px; }
.site-navbar .dropdown-item { border-radius: 6px; padding: .5rem .75rem; font-size: .95rem; display: flex; align-items: center; gap: .6rem; }
.site-navbar .dropdown-item i { color: var(--primary); width: 1rem; }
.site-navbar .dropdown-item:active { background: var(--primary); color: #fff; }
.site-navbar .dropdown-item:active i { color: #fff; }

/* Home: transparent navbar over the hero, solid blue once scrolled */
.page-home .site-navbar { position: fixed; width: 100%; background: transparent; box-shadow: none; padding: 18px 0; }
.page-home .site-navbar .navbar-brand, .page-home .site-navbar .nav-link { color: #fff; }
.page-home .site-navbar .nav-link::after { background: #fff; }
.page-home .site-navbar .nav-link:hover, .page-home .site-navbar .nav-link.active { color: rgba(255, 255, 255, .85); }
.page-home .site-navbar .btn-nav-outline { border-color: rgba(255, 255, 255, .85); color: #fff; }
.page-home .site-navbar .btn-nav-outline:hover, .page-home .site-navbar .btn-nav-outline.show { background: #fff; color: var(--primary); }
.page-home .site-navbar .btn-nav-solid { background: #fff; border-color: #fff; color: var(--primary); }
.page-home .site-navbar .btn-nav-solid:hover { background: rgba(255, 255, 255, .9); }
.page-home .site-navbar .navbar-toggler { color: #fff; border-color: rgba(255, 255, 255, .5); }
.page-home .site-navbar.scrolled, .page-home .site-navbar.menu-open { background: rgba(14, 34, 64, .97); box-shadow: 0 2px 20px rgba(14, 34, 64, .25); padding: 10px 0; backdrop-filter: blur(10px); }
.page-home .site-navbar.scrolled .logo { height: 40px; }

@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse { margin-top: 12px; padding: 12px 16px 16px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
  .site-navbar .nav-link { margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .site-navbar .nav-link::after { display: none; }
  .nav-actions { padding-top: 14px; }
  .page-home .site-navbar .navbar-collapse { background: rgba(14, 34, 64, .98); }
  .page-home .site-navbar .nav-link { border-color: rgba(255, 255, 255, .15); }
  .site-navbar .logo { height: 38px; }
}

/* ---------- Toasts ---------- */
.toast-container { position: fixed; top: calc(var(--nav-h) + 8px); right: 20px; z-index: 1090; display: grid; gap: .6rem; max-width: min(380px, calc(100vw - 40px)); }
.site-toast { background: #fff; border: 0; border-left: 4px solid var(--primary); border-radius: 10px; box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .14); width: 100%; }
.site-toast .toast-body { padding: .9rem 1rem; font-size: .93rem; color: var(--ink); }
.site-toast i { font-size: 1.1rem; line-height: 1.4; }
.toast-success { border-left-color: #198754; }
.toast-error { border-left-color: #dc3545; }
.toast-warning { border-left-color: #ffc107; }

/* ---------- Heroes ---------- */
.hero-section { background: var(--hero-overlay), var(--hero-img, none) center / cover no-repeat, var(--hero-fallback); color: #fff; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 60px) 0 80px; }
.hero-title { font-size: 3.5rem; font-weight: 700; line-height: 1.15; margin-bottom: 20px; color: #fff; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; color: rgba(255, 255, 255, .9); }
.search-form { background: #fff; padding: 25px; border-radius: var(--radius); box-shadow: 0 10px 25px rgba(13, 71, 161, .1); margin-top: 30px; }
.search-form .form-control, .search-form .form-select { height: 52px; }
.search-form .btn { height: 52px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 28px; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.hero-stats strong { color: #fff; font-size: 1.25rem; font-weight: 600; margin-right: .35rem; }

.page-hero { position: relative; background: var(--hero-overlay), var(--hero-img, none) center / cover no-repeat, var(--hero-fallback); color: #fff; padding: 100px 0 60px; }
.page-hero .hero-title { font-size: 3rem; margin-bottom: 12px; }
.page-hero .hero-lead { color: rgba(255, 255, 255, .88); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .55); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .8); margin-bottom: 14px; font-size: .9rem; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero.hero-center { text-align: center; padding: 120px 0 80px; }
.page-hero.hero-center .hero-lead { margin: 0 auto 30px; }
.page-hero.hero-sm { padding: 64px 0 44px; }
.page-hero.hero-sm .hero-title { font-size: 2.3rem; }
@media (max-width: 991.98px) { .hero-title { font-size: 2.8rem; } .page-hero .hero-title { font-size: 2.4rem; } }
@media (max-width: 767.98px) { .hero-title { font-size: 2.2rem; } .hero-subtitle { font-size: 1rem; } .page-hero { padding: 70px 0 44px; } .page-hero .hero-title { font-size: 2rem; } .page-hero.hero-center { padding: 80px 0 56px; } }

/* ---------- Section titles ---------- */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-weight: 700; color: var(--primary); margin-bottom: 15px; font-size: 2rem; }
.section-title p { color: var(--secondary); max-width: 600px; margin: 0 auto; }
.section-title.text-start p { margin: 0; }
.bg-soft { background: var(--light); }
.bg-white-section { background: #fff; }

/* ---------- Categories ---------- */
.category-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 30px; box-shadow: var(--shadow-sm); transition: all .3s ease; height: 100%; border-top: 4px solid transparent; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-top-color: var(--primary); }
.category-card h3 { font-weight: 600; font-size: 1.5rem; margin-bottom: 12px; }
.category-icon { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary); background: var(--primary-soft); margin-bottom: 18px; }
.ai-specialties .badge { font-weight: 500; font-size: .8rem; padding: .5em .85em; border: 1px solid var(--line); }
.category-tile { display: block; color: inherit; text-align: center; }
.category-tile:hover { color: inherit; }
.category-tile .meta { color: var(--secondary); font-size: .92rem; }

/* ---------- Job cards ---------- */
.job-card { background: #fff; border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow-sm); margin-bottom: 25px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; border-left: 4px solid transparent; position: relative; }
.job-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-left-color: var(--primary); }
.job-card.h-100 { margin-bottom: 0; display: flex; flex-direction: column; }
.job-card .text-muted { flex-grow: 1; }
.job-type { align-self: flex-start; background: var(--light); color: var(--primary); padding: 5px 15px; border-radius: 50px; font-size: .85rem; font-weight: 500; display: inline-block; margin-bottom: 15px; text-transform: capitalize; }
.job-type.type-onsite { background: rgba(255, 152, 0, .12); color: #b26a00; }
.job-type.type-remote { background: rgba(16, 185, 129, .12); color: #0b7a55; }
.job-title { font-weight: 600; margin-bottom: 8px; font-size: 1.2rem; color: var(--ink); line-height: 1.35; }
a:hover .job-title, .job-title a:hover { color: var(--primary); }
.job-title a { color: inherit; }
.job-details { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.job-detail { display: block; color: var(--secondary); font-size: .9rem; }
.job-detail i { margin-right: 6px; color: var(--primary); }
.job-salary { color: var(--primary); font-weight: 600; }
.job-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 15px; }
.job-ref { color: var(--muted); font-size: .82rem; letter-spacing: .02em; }
.save-btn { border: 1px solid var(--line); background: #fff; color: var(--secondary); width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.save-btn:hover, .save-btn.is-saved { color: var(--primary); border-color: var(--primary); }

/* ---------- News / blog cards ---------- */
.news-section { background: var(--light); }
.news-card, .blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s ease; height: 100%; display: flex; flex-direction: column; }
.news-card:hover, .blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-img, .blog-img img { height: 200px; width: 100%; object-fit: cover; background: linear-gradient(135deg, #cfe3f7, #e9f2fb); display: block; }
.news-content, .blog-content-wrap { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.news-date { color: var(--secondary); font-size: .88rem; margin-bottom: 10px; display: block; }
.news-category, .blog-category { background: var(--light); color: var(--primary); padding: 3px 12px; border-radius: 50px; font-size: .8rem; font-weight: 500; display: inline-block; margin-bottom: 15px; align-self: flex-start; }
.news-title, .blog-title { font-weight: 600; margin-bottom: 12px; font-size: 1.15rem; line-height: 1.4; color: var(--ink); }
.news-title a, .blog-title a { color: inherit; }
.news-title a:hover, .blog-title a:hover { color: var(--primary); }
.news-excerpt, .blog-excerpt { color: var(--secondary); margin-bottom: 20px; flex-grow: 1; font-size: .95rem; }
.news-link { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.news-link i { transition: transform .3s ease; }
.news-link:hover i { transform: translateX(5px); }
.blog-img { position: relative; }
.blog-date { position: absolute; left: 16px; bottom: 16px; background: var(--primary); color: #fff; font-size: .8rem; font-weight: 500; padding: 5px 12px; border-radius: 6px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--secondary); font-size: .85rem; margin-bottom: 12px; }
.blog-meta i { color: var(--primary); margin-right: 5px; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); height: 100%; }
.testimonial-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-right: 18px; border: 3px solid rgba(var(--primary-rgb), .4); }
.testimonial-initial { width: 64px; height: 64px; border-radius: 50%; margin-right: 18px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: 1.3rem; flex: none; }

/* ---------- Sidebar widgets ---------- */
.sidebar-widget, .sidebar { background: #fff; border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow-sm); margin-bottom: 25px; }
.widget-title, .sidebar-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--light); position: relative; }
.widget-title::after, .sidebar-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--primary); }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.category-list li:last-child { border-bottom: 0; }
.category-list a { color: var(--body); }
.category-list a:hover, .category-list a.active { color: var(--primary); }
.category-count { background: var(--light); color: var(--primary); font-size: .8rem; font-weight: 600; border-radius: 50px; padding: 2px 10px; min-width: 32px; text-align: center; }
.recent-post { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.recent-post:last-child { border-bottom: 0; }
.recent-post img { width: 72px; height: 60px; object-fit: cover; border-radius: 6px; flex: none; background: var(--light); }
.recent-post h3 { font-size: .92rem; font-weight: 500; margin: 0 0 4px; line-height: 1.4; }
.recent-post h3 a { color: var(--ink); }
.recent-post h3 a:hover { color: var(--primary); }
.recent-post span { font-size: .8rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a, .tag-pill { background: var(--page); border: 1px solid var(--line); color: var(--body); font-size: .82rem; padding: 5px 12px; border-radius: 50px; }
.tags a:hover, .tags a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.sidebar-search { position: relative; }
.sidebar-search input { padding-right: 48px; height: 46px; }
.sidebar-search button { position: absolute; right: 4px; top: 4px; height: 38px; width: 40px; border: 0; border-radius: 6px; background: var(--primary); color: #fff; }

/* ---------- Job listings ---------- */
.filter-section { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-top: -40px; position: relative; z-index: 2; }
.filter-section .input-group-text { background: #fff; color: var(--muted); }
.filter-section .form-control, .filter-section .form-select { height: 52px; }
.filter-section .btn { height: 52px; }
.job-listings { padding: 50px 0 80px; }
.results-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.results-bar h2 { font-size: 1.2rem; font-weight: 600; margin: 0; }
.results-bar .form-select { width: auto; min-width: 200px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-filters .chip { display: inline-flex; align-items: center; gap: 6px; background: var(--light); color: var(--primary); border-radius: 50px; padding: 4px 6px 4px 12px; font-size: .85rem; font-weight: 500; }
.active-filters .chip a { color: var(--primary); display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center; }
.active-filters .chip a:hover { background: rgba(var(--primary-rgb), .15); }
.empty-state { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 50px 30px; text-align: center; }
.empty-state i { font-size: 2.6rem; color: var(--primary); }
.pagination { --bs-pagination-color: var(--primary); --bs-pagination-active-bg: var(--primary); --bs-pagination-active-border-color: var(--primary); --bs-pagination-border-radius: 8px; gap: 6px; }
.pagination .page-link { border-radius: 8px !important; min-width: 42px; text-align: center; }

/* ---------- Job detail ---------- */
.job-details-section { padding: 60px 0 40px; }
@media (max-width: 767.98px) { .job-details-section { padding: 32px 0 24px; } .job-header, .content-box { padding: 22px; } .job-header .job-title { font-size: 1.45rem; } }
.content-box, .job-header { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); margin-bottom: 25px; }
.job-header .job-title { font-size: 1.75rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 10px 0 14px; }
.job-meta-item { display: block; color: var(--secondary); font-size: .95rem; }
.job-meta-item i { color: var(--primary); margin-right: 8px; }
.content-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--light); }
.overview-list { list-style: none; padding: 0; margin: 0; }
.overview-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.overview-list li:last-child { border-bottom: 0; }
.overview-list i { color: var(--primary); width: 1.1rem; margin-top: 2px; }
.overview-list span { color: var(--muted); display: block; font-size: .8rem; }
.overview-list strong { color: var(--ink); font-weight: 500; }
.apply-box { background: linear-gradient(135deg, var(--primary), #1960a8); color: #fff; border-radius: var(--radius); padding: 28px; margin-bottom: 25px; box-shadow: var(--shadow); }
.apply-box h3 { color: #fff; font-size: 1.2rem; font-weight: 600; }
.apply-box p { color: rgba(255, 255, 255, .88); font-size: .93rem; }
.apply-box .btn-light { font-weight: 600; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row a, .share-row button { width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--secondary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: all .2s ease; }
.share-row a:hover, .share-row button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.status-callout { border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.status-callout.info { background: var(--light); color: #0f4c8a; }
.status-callout.warn { background: #fff8e6; color: #7a5300; }
.status-callout.ok { background: #e9f8f1; color: #0b6b47; }
.related-jobs-section { background: var(--light); }
.related-job-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); height: 100%; transition: all .3s ease; display: flex; flex-direction: column; }
.related-job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related-job-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }

/* ---------- Rich text (job descriptions & articles) ---------- */
.rich-text { color: var(--body); line-height: 1.75; font-size: 1rem; }
.rich-text > *:first-child { margin-top: 0; }
.rich-text h2 { font-size: 1.35rem; font-weight: 600; margin: 2rem 0 .9rem; color: var(--ink); }
.rich-text h3 { font-size: 1.15rem; font-weight: 600; margin: 1.6rem 0 .75rem; color: var(--ink); }
.rich-text h4 { font-size: 1.02rem; font-weight: 600; margin: 1.3rem 0 .6rem; }
.rich-text p { margin-bottom: 1rem; }
.rich-text ul, .rich-text ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.rich-text li { margin-bottom: .45rem; }
.rich-text ul li::marker { color: var(--primary); }
.rich-text ol li::marker { color: var(--primary); font-weight: 600; }
.rich-text hr { margin: 1.8rem 0; color: var(--line); opacity: 1; }
.rich-text strong { color: var(--ink); font-weight: 600; }
.rich-text blockquote { border-left: 4px solid var(--primary); background: var(--light); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 1.4rem 0; color: #23415f; }
.rich-text blockquote p:last-child { margin-bottom: 0; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.rich-text th { background: var(--light); color: var(--ink); font-weight: 600; }
.rich-text figure { margin: 0; overflow-x: auto; }
.rich-text img { max-width: 100%; height: auto; border-radius: 8px; }

/* ---------- Blog detail ---------- */
.blog-detail-hero { padding: 90px 0 60px; }
.blog-detail-hero .hero-title { font-size: 2.6rem; max-width: 900px; }
.blog-detail-hero .blog-category { background: rgba(255, 255, 255, .15); color: #fff; }
.blog-detail-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, .85); font-size: .93rem; }
.blog-detail-meta i { margin-right: 7px; }
.article-container { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 36px; }
.blog-featured-image { width: 100%; max-height: 430px; object-fit: cover; border-radius: var(--radius); margin-bottom: 30px; background: var(--light); }
.author-box { display: flex; gap: 18px; align-items: center; background: var(--page); border-radius: var(--radius); padding: 22px; margin-top: 30px; }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1.3rem; flex: none; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.post-nav a { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); }
.post-nav a:hover { border-color: var(--primary); color: var(--primary); }
.post-nav span { display: block; font-size: .8rem; color: var(--muted); }
.post-nav .next { justify-content: flex-end; text-align: right; grid-column: 2; }
@media (max-width: 767.98px) { .article-container { padding: 22px; } .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; } .blog-detail-hero .hero-title { font-size: 1.9rem; } }

/* ---------- About ---------- */
.story-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 420px; object-fit: cover; background: linear-gradient(135deg, #cfe3f7, #e9f2fb); }
.value-card { background: #fff; border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); height: 100%; transition: all .3s ease; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-icon { width: 64px; height: 64px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); font-size: 1.7rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.value-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.value-card p { color: var(--secondary); margin: 0; }
.cta-section { background: linear-gradient(120deg, var(--primary), #1a5ea3); color: #fff; padding: 64px 0; }
.cta-section h2 { color: #fff; font-weight: 700; }
.cta-section p { color: rgba(255, 255, 255, .88); }
.facts-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.facts-list li { background: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.facts-list span { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm); height: 100%; transition: all .3s ease; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 1.6rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.contact-card h3 { font-size: 1.15rem; font-weight: 600; }
.contact-card p, .contact-card a { color: var(--secondary); margin: 0; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--primary); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 767.98px) { .form-card { padding: 24px; } }
.map-section { padding: 0 0 80px; }
.map-container { height: 420px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--light); }
.map-container iframe { border: 0; width: 100%; height: 100%; }
.faq-section .accordion-item { border: 0; border-radius: var(--radius) !important; margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-section .accordion-button { font-weight: 500; padding: 20px 24px; color: var(--ink); }
.faq-section .accordion-button:not(.collapsed) { background: var(--light); color: var(--primary); box-shadow: none; }
.faq-section .accordion-button:focus { box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2); }
.faq-section .accordion-body { color: var(--secondary); padding: 20px 24px; }

/* ---------- Forms ---------- */
.form-label { font-weight: 500; color: var(--ink); font-size: .93rem; margin-bottom: .45rem; }
.form-control, .form-select { border-color: #d6dee8; padding: .7rem .95rem; border-radius: 8px; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(var(--primary-rgb), .15); }
.form-control::placeholder { color: #9aa7b6; }
.form-text { color: var(--muted); font-size: .82rem; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(var(--primary-rgb), .2); border-color: var(--primary); }
.invalid-feedback { font-size: .84rem; }
.required-mark { color: #dc3545; margin-left: 2px; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 46px; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); width: 36px; height: 36px; border-radius: 6px; }
.password-field.has-error .password-toggle { top: 22px; transform: none; }
.password-toggle:hover { color: var(--primary); }

/* ---------- Auth ---------- */
.auth-section { padding: 70px 0 90px; background: linear-gradient(180deg, var(--light) 0, var(--page) 340px); }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 10px 25px rgba(0, 0, 0, .08); margin: 0 auto; }
.auth-card.narrow { max-width: 460px; }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 1.8rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.auth-title { font-size: 1.65rem; font-weight: 700; margin-bottom: 6px; }
.auth-subtitle { color: var(--secondary); margin: 0; }
.auth-foot { text-align: center; margin-top: 24px; color: var(--secondary); font-size: .95rem; }
.auth-foot a { font-weight: 500; }
.form-options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; font-size: .92rem; }
@media (max-width: 575.98px) { .auth-card { padding: 26px 20px; } }
.auth-icon.warn { background: #fff4d6; color: #b7791f; }
.verify-steps { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.verify-steps li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.verify-steps i { color: var(--primary); font-size: 1.15rem; }
.verify-help { background: var(--light, #f8fafc); border: 1px solid #e6edf5; border-radius: var(--radius); padding: 18px; }


/* Sign-up stepper */
.stepper { position: relative; display: flex; justify-content: space-between; margin: 6px 0 34px; }
.stepper::before { content: ""; position: absolute; left: 16.5%; right: 16.5%; top: 19px; height: 3px; background: var(--line); border-radius: 3px; }
.stepper .progress-line { position: absolute; left: 16.5%; top: 19px; height: 3px; background: var(--primary); border-radius: 3px; width: 0; transition: width .35s ease; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 33%; gap: 8px; }
.step .dot { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid var(--line); color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; transition: all .3s ease; }
.step .label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.step.active .dot { border-color: var(--primary); color: var(--primary); }
.step.active .label { color: var(--ink); }
.step.done .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.step-panel h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 20px; }

/* ---------- Account area ---------- */
.account-section { padding: 50px 0 80px; }
.account-nav { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 12px; position: sticky; top: calc(var(--nav-h) + 16px); }
.account-nav .who { padding: 12px 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.account-nav .who strong { display: block; color: var(--ink); }
.account-nav .who span { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; color: var(--body); font-weight: 500; font-size: .95rem; background: none; border: 0; text-align: left; }
.account-nav a i, .account-nav button i { color: var(--primary); width: 1.1rem; }
.account-nav a:hover, .account-nav button:hover { background: var(--page); color: var(--primary); }
.account-nav a.active { background: var(--light); color: var(--primary); }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; height: 100%; display: flex; gap: 16px; align-items: center; }
.stat-card .icon { width: 50px; height: 50px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 1.35rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.stat-card .num { font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.stat-card .lbl { font-size: .85rem; color: var(--muted); }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; margin-bottom: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.15rem; font-weight: 600; margin: 0; }
.table-apps { margin: 0; }
.table-apps th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; border-bottom-width: 1px; white-space: nowrap; }
.table-apps td { vertical-align: middle; padding-top: 14px; padding-bottom: 14px; }
.table-apps a { font-weight: 500; color: var(--ink); }
.table-apps a:hover { color: var(--primary); }
.status-badge { font-weight: 500; font-size: .8rem; padding: .45em .8em; border-radius: 50px; }
.progress { height: 8px; border-radius: 50px; background: var(--light); }
.progress-bar { background: var(--primary); }

/* ---------- Thanks / steps ---------- */
.thanks-card { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 50px 40px; box-shadow: var(--shadow); }
.thanks-icon { width: 84px; height: 84px; border-radius: 50%; background: #e9f8f1; color: #198754; font-size: 2.2rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.next-steps { list-style: none; padding: 0; margin: 26px 0 30px; text-align: left; display: grid; gap: 14px; counter-reset: s; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; counter-increment: s; }
.next-steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; }
.next-steps strong { display: block; color: var(--ink); }
.next-steps span { color: var(--secondary); font-size: .93rem; }

/* ---------- Category hero stats ---------- */
.category-stats { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.stat-item { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 16px 26px; min-width: 150px; backdrop-filter: blur(4px); }
.stat-number { font-size: 1.7rem; font-weight: 700; color: #fff; }
.stat-label { font-size: .85rem; color: rgba(255, 255, 255, .8); }

/* ---------- Legal pages ---------- */
.legal-content { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 44px; }
@media (max-width: 767.98px) { .legal-content { padding: 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0E2240; color: #fff; padding: 70px 0 30px; }
.footer-title { font-weight: 600; margin-bottom: 22px; font-size: 1.15rem; color: #fff; }
.footer-brand { display: inline-block; margin-bottom: 22px; }
.footer-brand .logo { height: 44px; width: auto; max-width: 100%; display: block; }
.footer-blurb { color: #e3f2fd; max-width: 360px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: #e3f2fd; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-contact i { margin-right: 10px; }
.social-icons { display: flex; gap: 10px; margin-top: 18px; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.social-icons a:hover { background: #fff; color: var(--primary); }
.site-footer p { color: #e3f2fd; }
.footer-subscribe .form-control { background: #fff; border: 0; }
.footer-subscribe .btn-outline-light:hover { color: var(--primary); }
.copyright { border-top: 1px solid rgba(255, 255, 255, .55); padding-top: 22px; margin-top: 50px; text-align: center; color: #e3f2fd; }
.copyright p { margin: 0; }

/* ---------- Misc ---------- */
.error-page { padding: 110px 0; text-align: center; }
.error-code { font-size: 6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.badge.bg-primary { background: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }
.link-arrow { font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow i { transition: transform .25s ease; }
.link-arrow:hover i { transform: translateX(4px); }
