/* Vibrant Portal Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* SMERGERS-like Palette */
  --primary-color: #0d47a1; /* Deep Corporate Blue */
  --primary-light: #1976d2; /* Interactive Blue */
  --accent-color: #ffb300; /* Gold/Amber */
  --accent-hover: #ff8f00;
  --bg-color: #f8f9fa; /* Light Gray Background */
  --white: #ffffff;
  
  --text-main: #212529; /* Dark Gray for better readability */
  --text-muted: #6c757d;
  --border-color: #dee2e6;
  
  /* Status Colors */
  --success: #198754; 
  --success-bg: #d1e7dd;
  --warning: #ffc107; 
  --warning-bg: #fff3cd;
  --danger: #dc3545; 
  --danger-bg: #f8d7da;
  --info: #0dcaf0; 
  --info-bg: #cff4fc;

  --card-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --card-shadow-hover: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.05);
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-light);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}
.top-bar a {
  color: rgba(255,255,255,0.8);
}
.top-bar a:hover {
  color: var(--accent-color);
}

.main-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  gap: 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  flex: 0 0 auto;
}
.logo span {
  color: var(--accent-color);
}

.header-search {
  flex: 1;
  max-width: 500px;
  display: flex;
}
.header-search input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px 0 0 4px;
  outline: none;
  font-family: var(--font-family);
}
.header-search input:focus {
  border-color: var(--primary-light);
}
.header-search button {
  padding: 10px 20px;
  background: var(--primary-light);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
.header-search button:hover {
  background: var(--primary-color);
}

.sub-nav {
  background-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sub-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
.sub-nav a {
  display: inline-block;
  padding: 12px 0;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
}
.sub-nav a:hover, .sub-nav a.active {
  color: var(--white);
  border-bottom-color: var(--accent-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}
.btn-accent {
  background-color: var(--accent-color);
  color: #000;
}
.btn-accent:hover {
  background-color: var(--accent-hover);
}
.btn-outline {
  background-color: transparent;
  border-color: var(--primary-light);
  color: var(--primary-light);
}
.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--white);
}

/* Home Search Section */
.home-search {
    padding: 80px 0;
    background: var(--bg-color);
    animation: fadeSlideUp 0.8s ease-out forwards;
    opacity: 0; /* start invisible for animation */
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.search-input {
    flex: 1 1 200px;
    max-width: 300px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: var(--primary-light);
}

.search-button {
    flex: 0 0 auto;
    padding: 12px 24px;
    border-radius: 6px;
    background: var(--primary-light);
    color: var(--white);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.search-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.8)), url('https://images.unsplash.com/photo-1554469384-e58fac16e23a?q=80&w=2070&auto=format&fit=crop') center/cover;
  padding: 100px 0;
  color: var(--white);
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* Hero Action Box */
.hero-action-box {
  background-color: var(--white);
  border-radius: 12px;
  padding: 25px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  color: var(--text-main);
  text-align: left;
}
.action-tabs {
  display: flex;
  border-bottom: 2px solid var(--bg-color);
  margin-bottom: 25px;
}
.action-tab {
  padding: 12px 25px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.action-tab.active {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
}
.action-content h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Stats Strip */
.stats-strip {
  background-color: var(--white);
  padding: 40px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {
  padding: 15px;
  border-right: 1px solid var(--border-color);
}
.stat-item:last-child {
  border-right: none;
}
.stat-item h4 {
  font-size: 2.2rem;
  color: var(--primary-light);
  font-weight: 800;
  margin-bottom: 5px;
}
.stat-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sections */
.section {
  padding: 80px 0;
}
.section-alt {
  background-color: var(--bg-color);
}
.section-white {
  background-color: var(--white);
}
.section-header {
  margin-bottom: 50px;
  text-align: center;
}
.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}
.section-header p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Shared Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Topjobs Layout */
.layout-wrapper {
  display: flex;
  gap: 20px;
  padding: 30px 0;
  align-items: flex-start;
}
.sidebar-menu {
  flex: 0 0 250px;
  background: var(--white);
  border: 1px solid var(--border-color);
}
.sidebar-menu ul {
  list-style: none;
}
.sidebar-menu li {
  border-bottom: 1px solid var(--border-color);
}
.sidebar-menu a {
  display: block;
  padding: 12px 15px;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
  transition: background 0.2s;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
  background-color: var(--primary-light);
  color: var(--white);
}

.main-table-area {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border-color);
  overflow-x: auto;
}
.topjobs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.topjobs-table th {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.topjobs-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  vertical-align: top;
}
.topjobs-table tr:nth-child(even) {
  background-color: #f9fbfd;
}
.topjobs-table tr:hover {
  background-color: var(--info-bg);
}
.topjobs-table a {
  color: var(--primary-color);
  font-weight: 600;
}
.topjobs-table a:hover {
  text-decoration: underline;
}

/* Listing Cards (Legacy) */
.listing-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}
.listing-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  border-color: #cbd5e1;
}
.card-img-container {
  height: 180px;
  background: linear-gradient(135deg, var(--info-bg), #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-weight: 600;
  position: relative;
}
.card-badge-top {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.card-header {
  padding: 20px 20px 10px;
}
.card-title {
  font-size: 1.25rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.card-title:hover {
  color: var(--primary-light);
}
.card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 15px;
  align-items: center;
}
.card-body {
  padding: 0 20px 20px;
  flex: 1;
}
.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background-color: var(--bg-color);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.data-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.data-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
}
.card-footer {
  padding: 15px 20px;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Services Banner */
.services-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  padding: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}
.services-banner h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.services-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Forms & Inputs */
.form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--info-bg);
  background: var(--white);
}

/* Status Badges */
.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
}
.status-pending { background: var(--warning-bg); color: var(--warning); }
.status-published { background: var(--success-bg); color: var(--success); }
.status-rejected { background: var(--danger-bg); color: var(--danger); }

/* Mega Footer */
.mega-footer {
  background-color: #ffeb3b;
  color: #0b4cb4;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background-color: var(--primary-light);
  border-radius: 2px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 2.2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
  .services-banner { flex-direction: column; text-align: center; gap: 30px; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  /* Mobile layout adjustments */
  .tj-page { flex-direction: column; }
  .tj-sidebar { display: none; }
  .header-inner-new { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .header-scroller { width: 100%; margin: 8px 0; }
/* Removed mobile table flex hack to allow horizontal scrolling instead */

/* HelaInvest custom layout adjustments for mobile */
.layout-container { flex-direction: column !important; min-width: 0 !important; width: 100%; overflow: visible !important; }
#sidebar-container { flex: none !important; width: 100% !important; position: relative !important; top: 0 !important; max-height: none !important; margin-bottom: 20px; box-sizing: border-box; overflow: visible !important; }
.main-listings { width: 100% !important; overflow: visible !important; box-sizing: border-box; }
.header-nav-new { flex-wrap: wrap; justify-content: center !important; gap: 10px !important; }
.ikman-filters-container .ikman-search-row { flex-direction: column; gap: 10px; width: 100%; box-sizing: border-box; }
.ikman-filters-bar { flex-wrap: wrap; justify-content: center; }
.ikman-filters-bar select, .ikman-filters-bar button { width: 100%; margin: 5px 0; }
.header-actions-new { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; margin-top: 10px; }

}

/* ── Topjobs Specific Styles (Full Set) ── */
/* Single-row header — logo | nav | login — exactly matches reference image 2 */
.tj-topbar { display: none !important; } /* Topbar fully suppressed */

.tj-header {
  background: #fff;
  border-bottom: 2px solid #ccc;
  padding: 0;
}
.tj-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 12px;
  display: flex;
  align-items: center;   /* NO justify-content: space-between */
  gap: 0;
}

/* Logo — left, tight */
.tj-logo {
  font-size: 1.55rem;
  font-weight: 900;
  color: #003399;
  text-decoration: none;
  line-height: 1.1;
  flex: 0 0 auto;
  margin-right: 14px;
}
.tj-logo span { color: #cc9900; }
.tj-logo small {
  display: block;
  font-size: 0.58rem;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.8px;
  text-transform: lowercase;
}

/* Nav buttons — immediately after logo, left-aligned */
.tj-header-btns {
  display: flex;
  gap: 5px;
  align-items: center;
  flex: 1;              /* pushes login to far right */
}

.tj-btn-post {
  background: #8b1a1a;
  color: #fff;
  border: none;
  padding: 5px 13px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.18s;
  white-space: nowrap;
}
.tj-btn-post:hover { background: #6e1414; color: #fff; }

.tj-btn-happy {
  background: #ffcc00;
  color: #333;
  border: none;
  padding: 5px 13px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.18s;
  white-space: nowrap;
}
.tj-btn-happy:hover { background: #e6b800; color: #222; }

.tj-btn-text {
  color: #222;
  font-weight: 400;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 5px 10px;
  white-space: nowrap;
  transition: color 0.15s;
}
.tj-btn-text:hover { color: #8b1a1a; }

/* Login button — absolute far right (margin-left: auto pushes it fully right) */
.tj-btn-login {
  background: #cc9900;
  color: #fff;
  border: none;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s;
  margin-left: auto;    /* pushes to absolute far right */
}
.tj-btn-login:hover { background: #b38600; color: #fff; }

.tj-subnav { background: #003399; display: flex; align-items: center; overflow-x: auto; padding: 0; }
.tj-subnav a { color: #fff; font-size: 0.78rem; white-space: nowrap; padding: 6px 14px; text-decoration: none; border-right: 1px solid rgba(255,255,255,0.2); }
.tj-subnav a:hover { background: rgba(255,255,255,0.15); }

.tj-page { max-width: 1400px; width: 100%; margin: 0 auto; padding: 8px 20px; display: flex; gap: 10px; align-items: flex-start; }
.tj-sidebar { width: 240px; flex-shrink: 0; position: relative; overflow: hidden; }
.tj-sidebar-title { background: #003399; color: #fff; padding: 12px 14px; font-size: 0.95rem; font-weight: 700; }
.tj-sidebar ul { list-style: none; margin: 0; padding: 0; }
.tj-sidebar ul li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 0.85rem; color: #fff; background: #1a52cc; border-bottom: 1px solid rgba(255,255,255,0.15); text-decoration: none; transition: background 0.15s; white-space: normal; line-height: 1.3; }
.tj-sidebar ul li a:hover { background: #003399; }
.tj-sidebar ul li a.active { background: #fff; color: #003399; font-weight: 700; }
.tj-sidebar ul li a.active .arrow { color: #003399; font-weight: 900; }
.tj-sidebar .arrow { font-size: 1.1rem; }
.tj-sidebar-scroll { background: #003399; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 0.8rem; cursor: pointer; }

/* ── News-style Services Ticker ── */
.tj-news-ticker {
  display: flex;
  align-items: stretch;
  background: #8b1a1a;
  border-bottom: 2px solid #6e1414;
  height: 40px;
  overflow: hidden;           /* CRITICAL — clips everything to one line */
  margin-bottom: 8px;
}
.tj-news-label {
  background: #cc9900;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex: 0 0 auto;
  border-right: 3px solid #a37700;
}
.tj-news-overflow {
  flex: 1;
  overflow: hidden;           /* CRITICAL — second clip layer */
  display: flex;
  align-items: center;
  position: relative;
}
.tj-news-track {
  display: inline-flex;       /* inline so width = natural content width */
  align-items: center;
  white-space: nowrap;        /* CRITICAL — never wrap */
  animation: newsScroll 30s linear infinite;
}
.tj-news-track:hover { animation-play-state: paused; cursor: default; }
.tj-news-track > span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0 18px;
  white-space: nowrap;
}
.tj-ndot {
  color: #ffcc00 !important;
  font-size: 0.45rem !important;
  padding: 0 !important;
  line-height: 1;
  opacity: 0.9;
}

@keyframes newsScroll {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.tj-main { flex: 1; min-width: 0; }
.tj-filter { background: #fff; border: 1px solid #ccc; padding: 10px 14px; margin-bottom: 8px; display: flex; gap: 12px; align-items: center; flex-wrap: nowrap; }
.tj-filter label { font-size: 0.9rem; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.tj-filter input[type=text] { border: 1px solid #aaa; padding: 6px 10px; font-size: 0.9rem; width: 140px; }
.tj-btn-search { background: #009900; color: #fff; border: none; padding: 6px 20px; font-weight: 700; font-size: 0.9rem; cursor: pointer; border-radius: 2px; }

.tj-results-header { background: #fff; border: 1px solid #ccc; border-bottom: none; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; }
.tj-results-header strong { font-size: 1rem; color: #003399; }
.tj-btn-grid { background: #003399; color: #fff; border: none; padding: 6px 14px; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; gap: 6px; }

.tj-table-wrap { border: 1px solid #eaeaea; background: #fff; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); margin-top: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tj-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-family: 'Inter', sans-serif; }
.tj-table th, .tj-table td { border: 1px solid #e2e8f0; }
.tj-table thead th { background: #f8fafc; color: #475569; padding: 16px 20px; text-align: left; font-weight: 700; border-bottom: 2px solid #cbd5e1; position: sticky; top: 0; z-index: 2; white-space: nowrap; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.tj-table tbody tr { background-color: #ffffff; transition: all 0.2s ease; }
.tj-table tbody tr:nth-child(even) { background-color: #f8fafc; }
.tj-table tbody tr:hover { background-color: #f0fdf4; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.03); z-index: 1; position: relative; }
.tj-table td { padding: 4px 10px; vertical-align: middle; color: #334155; font-size: 0.9rem; }
.tj-table td:first-child { text-align: left; background: transparent; border-right: none; font-weight: normal; }
.tj-table .biz-title a { color: #0f172a; font-weight: 700; text-decoration: none; font-size: 1.1rem; display: block; margin-bottom: 5px; transition: color 0.2s; }
.tj-table .biz-title a:hover { color: #2563eb; }
.tj-table .biz-employer { color: #64748b; font-size: 0.85rem; margin-top: 4px; line-height: 1.4; }
.tj-btn-detail {
  display: inline-block;
  background: var(--primary-light);
  color: var(--white) !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}
.tj-btn-detail:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
}
.tj-btn-detail:active {
  transform: scale(0.97);
}

.tj-right { width: 190px; flex-shrink: 0; }
.tj-right-widget { background: #fff; border: 1px solid #ccc; text-align: center; padding: 12px; font-size: 0.85rem; }
.tj-right-widget .brand { font-size: 1.6rem; font-weight: 900; color: #003399; }
.tj-right-widget .brand span { color: #cc9900; }
.tj-right-widget .no1 { font-size: 2.8rem; font-weight: 900; color: #cc3300; line-height: 1; }
.tj-right-widget .store-btn { display: block; background: #222; color: #fff; border-radius: 4px; padding: 6px 10px; margin: 6px 0; font-size: 0.75rem; text-decoration: none; text-align: left; }
.tj-right-widget .store-btn strong { display: block; font-size: 0.85rem; }

.tj-footer { background: #fff; border-top: 2px solid #003399; margin-top: 10px; padding: 10px 0; }
.tj-footer .inner { max-width: 1140px; margin: 0 auto; padding: 0 10px; text-align: center; }
.tj-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-bottom: 6px; }
.tj-footer-links a { color: #003399; font-size: 0.8rem; padding: 3px 12px; border-right: 1px solid #ccc; text-decoration: none; }
.tj-footer-links a:last-child { border-right: none; }
.tj-footer-links a:hover { text-decoration: underline; }
.tj-footer-copy { font-size: 0.72rem; color: #666; margin-top: 4px; }
.tj-footer-social { display: flex; justify-content: flex-end; gap: 6px; margin-top: -20px; padding-right: 10px; }
.tj-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; color: #fff; font-size: 0.7rem; font-weight: 700; text-decoration: none; }
.tj-social-fb { background: #1877f2; }
.tj-social-x  { background: #000; }
.tj-social-in { background: #0a66c2; }

/* ── Listing Cards Grid & Modern Cards ── */
.listing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  padding: 20px 0;
  width: 100%;
}

.lc-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-color: var(--primary-light);
}

.lc-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-name {
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.lc-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lc-meta {
  border-top: 1px dashed var(--border-color);
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.lc-meta-label {
  color: var(--text-muted);
  font-weight: 500;
}

.lc-meta-value {
  color: var(--text-main);
  font-weight: 600;
}

.lc-footer {
  background: #fdfdfd;
  border-top: 1px solid var(--border-color);
  padding: 12px 20px;
  text-align: right;
}

.lc-btn {
  background: var(--primary-light);
  color: var(--white);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
}

.lc-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.lc-btn:active {
  transform: scale(0.98);
}

/* New Header Styles matching the design */
.top-bar-new {
    background-color: #0b4cb4; /* Deep blue from image */
    color: white;
    font-size: 13px;
    padding: 2px 0;
}
.top-bar-new .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.top-bar-new a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
.top-bar-new a:hover {
    text-decoration: underline;
}

.main-header-new {
    background-color: white;
    border-bottom: 3px solid #0b4cb4;
}
.header-inner-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0;
}

.logo-new {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo-new .hela { color: #0b4cb4; }
.logo-new .invest { color: #add8e6; }

.search-container-new {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
}
.search-input-new {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}
.search-input-new:focus {
    border-color: #0b4cb4;
}
.search-btn-new {
    padding: 10px 20px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.search-btn-new:hover {
    background-color: #0b4cb4;
}

.header-actions-new {
    display: flex;
    align-items: center;
    gap: 15px;
}
.login-link-new {
    color: #0b4cb4;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}
.btn-register-new {
    background-color: #ffb300;
    color: black;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.btn-register-new:hover {
    background-color: #e6a200;
}
.btn-add-profile-new {
    background-color: #0b4cb4;
    color: white;
    font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-color: var(--primary-light);
}

.lc-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-name {
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.lc-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lc-meta {
  border-top: 1px dashed var(--border-color);
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.lc-meta-label {
  color: var(--text-muted);
  font-weight: 500;
}

.lc-meta-value {
  color: var(--text-main);
  font-weight: 600;
}

.lc-footer {
  background: #fdfdfd;
  border-top: 1px solid var(--border-color);
  padding: 12px 20px;
  text-align: right;
}

.lc-btn {
  background: var(--primary-light);
  color: var(--white);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
}

.lc-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.lc-btn:active {
  transform: scale(0.98);
}

/* New Header Styles matching the design */
.top-bar-new {
    background-color: #0b4cb4; /* Deep blue from image */
    color: white;
    font-size: 13px;
    padding: 2px 0;
}
.top-bar-new .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.top-bar-new a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
.top-bar-new a:hover {
    text-decoration: underline;
}

.main-header-new {
    background-color: white;
    border-bottom: 3px solid #0b4cb4;
}
.header-inner-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0;
}

.logo-new {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo-new .hela { color: #0b4cb4; }
.logo-new .invest { color: #ffb300; }

.header-scroller {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 30px;
    background: #f8f9fa;
    border-radius: 4px;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.header-scroller-inner {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.header-scroller-inner span {
    margin-right: 40px;
}

.search-container-new {
    display: flex;
    align-items: center;
    width: 500px;
    background-color: #e6f7ff; /* light cyan background */
    border: 1px solid #c2dfff;
    border-radius: 4px;
    padding: 2px;
}
.search-input-new {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
    background-color: #f9fbff; /* light background color */
    color: #add8e6; /* light blue text */
}

.invest {
    color: #add8e6; /* light blue for Invest text */
}

.search-input-new:focus {
    border-color: #0b4cb4;
}
#sidebar-search-input:focus {
    background-color: #f4f8ff;
    border-bottom: 2px solid #0b4cb4 !important;
    box-shadow: 0 0 15px rgba(11, 76, 180, 0.4) !important;
    position: relative;
    z-index: 10;
    outline: none;
}
.search-btn-new {
    padding: 10px 20px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.search-btn-new:hover {
    background-color: #0b4cb4;
}

.header-actions-new {
    display: flex;
    align-items: center;
    gap: 15px;
}
.login-link-new {
    color: #0b4cb4;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}
.btn-register-new {
    background-color: #ffb300;
    color: black;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.btn-register-new:hover {
    background-color: #e6a200;
}
.btn-add-profile-new {
    background-color: #0b4cb4;
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.btn-add-profile-new:hover {
    background-color: #083a8c;
}

/* Two-column Layout Styles */
.layout-container {
    display: flex;
    gap: 30px;
}

.sidebar-categories {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
}

.ld-card {
    background: rgba(255,255,255,0.25);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
}

/* Dark mode */
.dark-mode .ld-card {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 12px rgba(255,255,255,0.1);
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #083a8c 100%);
    color: white;
    font-weight: 700;
    padding: 18px 20px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 450px;
    overflow-y: auto;
}

/* Custom Scrollbar for Category List */
.category-list::-webkit-scrollbar {
    width: 6px;
}
.category-list::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
.category-list::-webkit-scrollbar-thumb {
    background: #c1c1c1; 
    border-radius: 10px;
}
.category-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; 
}

.category-list li {
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: block;
    padding: 12px 20px;
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.category-list a:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
    transform: translateX(4px);
}

.main-listings {
    flex: 1;
    min-width: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .layout-container {
        flex-direction: column;
    }
    .sidebar-categories {
        width: 100%;
    }
}

/* ==========================================================================
   Print Styles for HelaInvest Platform
   ========================================================================== */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    padding: 0;
    margin: 0;
  }
  
  /* Hide non-printable elements */
  .top-bar-new,
  .main-header-new,
  .tj-header,
  .tj-subnav,
  .tj-sidebar,
  .tj-right,
  .tj-footer,
  .tj-filter,
  .btn,
  .btn-action,
  .btn-add-profile-new,
  .btn-register-new,
  .login-link-new,
  .search-container-new,
  .sidebar-categories,
  header,
  footer,
  nav,
  button,
  input,
  select,
  a.lc-btn,
  a.tj-btn-detail,
  .tj-btn-post,
  .tj-btn-happy,
  .tj-btn-login {
    display: none !important;
  }

  /* Full-width container and main body */
  .layout-container,
  .tj-page,
  .main-listings,
  .tj-main,
  main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }

  /* Table styling for print */
  table, .tj-table, .detail-table {
    width: 100% !important;
    border-collapse: collapse !important;
    page-break-inside: auto;
  }
  
  tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }

  thead {
    display: table-header-group;
  }

  th, td {
    border: 1px solid #ddd !important;
    padding: 8px !important;
  }

  /* Page breaks for sections in details */
  .section-title {
    page-break-after: avoid;
    border-bottom: 2px solid #333 !important;
  }

  .desc-block {
    page-break-inside: avoid;
    background: #fdfdfd !important;
    border-left: 3px solid #333 !important;
  }
}

/* Category Modal Styles */
.cat-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.cat-modal-overlay.active { display: flex; }
.cat-modal-box {
    background: #fff;
    width: 900px; max-width: 95vw;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex; flex-direction: column;
    height: 80vh; max-height: 800px;
}
.cat-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; border-bottom: 1px solid #eee;
}
.cat-modal-header h3 { margin: 0; font-size: 1.1rem; color: #333; }
.cat-modal-close {
    background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #666;
}
.cat-modal-body {
    display: flex; flex: 1; overflow: hidden;
}
.cat-modal-col {
    flex: 1; overflow-y: auto; padding: 0;
}
.cat-modal-col-left {
    border-right: 1px solid #eee;
    background: #fafafa;
}
.cat-modal-col-right {
    background: #fff;
    padding: 10px 20px;
}
.cat-modal-left-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; cursor: pointer; border-bottom: 1px solid #eee;
    color: #444; font-weight: 500; font-size: 0.95rem; transition: all 0.2s;
}
.cat-modal-left-item:hover, .cat-modal-left-item.active {
    background: #fff; color: #0044bb;
    border-left: 4px solid #0044bb;
}
.cat-modal-left-item i.main-icon { margin-right: 10px; color: #777; width: 20px; text-align: center; }
.cat-modal-left-item.active i.main-icon { color: #0044bb; }

.cat-modal-subgroup {
    margin-top: 20px; margin-bottom: 10px;
    font-weight: 700; color: #333; font-size: 0.9rem;
    border-bottom: 1px solid #eee; padding-bottom: 5px;
}
.cat-modal-right-item {
    display: block; padding: 6px 0; color: #555; text-decoration: none; font-size: 0.85rem;
    cursor: pointer;
}
.cat-modal-right-item:hover { color: #0044bb; text-decoration: underline; }

.cat-modal-footer {
    padding: 15px 20px; border-top: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center; background: #fafafa;
    border-radius: 0 0 8px 8px;
}
.cat-modal-reset {
    background: #fff; border: 1px solid #00a685; color: #00a685; padding: 8px 15px; border-radius: 4px; cursor: pointer; font-size: 0.85rem; font-weight: 600;
}
.cat-modal-show {
    background: #00a685; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; font-weight: 600; font-size: 0.9rem;
}
.cat-modal-show:hover { background: #008f73; }

/* Ikman Style Pill Filters */
.ikman-filters-container {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Search Row */
.ikman-search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    align-items: center;
}

.ikman-search-row input[type="text"] {
    flex-grow: 1;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.ikman-search-row input[type="text"]:focus {
    border-color: #00a685;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 166, 133, 0.1);
}

.ikman-search-row button {
    padding: 14px 30px;
    background: linear-gradient(135deg, #00a685 0%, #008a6e 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 166, 133, 0.2);
    transition: all 0.3s ease;
}

.ikman-search-row button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 166, 133, 0.3);
}

/* Pill Filters Row */
.ikman-filters-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.pill-btn, .pill-select {
    padding: 5px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
}

.pill-select {
    padding-right: 35px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.pill-btn:hover, .pill-select:hover {
    border-color: #cbd5e1;
    color: #1e293b;
    background: #f8fafc;
}

.pill-btn-refine {
    border-color: #00a685;
    color: #00a685;
    background: #ecfdf5;
}

.pill-btn-refine i {
    color: #00a685;
}

.pill-btn-refine:hover {
    background: #f0fbf8;
    border-color: #009877;
}

#filter-location {
    border: 2px solid #1e293b;
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 15px;
    padding-right: 35px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
#filter-location:hover {
    background: #f8fafc;
    border-color: #0f172a;
}

/* Modern Footer Styles */
.hela-footer {
    background: linear-gradient(135deg, #0d47a1 0%, #083a8c 100%);
    color: #e2e8f0;
    padding: 60px 0 20px;
    font-family: 'Inter', sans-serif;
    margin-top: 60px;
}
.hela-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.hela-footer-about h3.footer-logo-badge {
    background: #ffffff;
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    letter-spacing: -0.5px;
}
.hela-footer-about h3.footer-logo-badge .hela {
    color: #0d47a1;
}
.hela-footer-about h3.footer-logo-badge .invest {
    color: #ffb300;
}
.hela-footer-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 300px;
}
.hela-footer-links h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hela-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hela-footer-links li {
    margin-bottom: 12px;
}
.hela-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.hela-footer-links a:hover {
    color: #00a685;
    padding-left: 5px;
}
.hela-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
}
.hela-footer-bottom a {
    color: #00a685;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.hela-footer-bottom a:hover {
    color: #059669;
}
@media (max-width: 1024px) {
    .hela-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   Mobile Responsive Adjustments (Android & iPhone)
   ========================================================================== */
@media (max-width: 1024px) {
    /* Top Bar & Header */
    .top-bar-new .container > div {
        justify-content: center !important;
        font-size: 0.85rem;
    }
    .header-inner-new {
        flex-direction: column;
        gap: 15px;
    }
    .header-scroller {
        display: none !important; /* Hide scroller on mobile to save space */
    }
    .header-actions-new {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    /* Search & Filters */
    .ikman-search-row {
        flex-direction: column;
        gap: 15px;
    }
    .ikman-search-row input[type="text"], 
    .ikman-search-row button {
        width: 100%;
        box-sizing: border-box;
    }
    .ikman-filters-bar {
        justify-content: center;
    }
    .pill-btn, .pill-select, #filter-location {
        padding: 8px 15px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    /* Table Adjustments */
    .tj-table td, .tj-table thead th {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    .tj-table .biz-title a {
        font-size: 0.95rem;
    }
    
    /* Footer Adjustments */
    .hela-footer {
        padding: 40px 0 20px;
        text-align: center;
    }
    .hela-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hela-footer-about h3.footer-logo-badge {
        margin: 0 auto 15px;
    }
    .hela-footer-about p {
        margin: 0 auto;
    }
    .hela-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Thin Footer Styles matching topjob.lk structure but preserving our brand colors and content */
.hela-footer-thin {
    background: linear-gradient(135deg, #0d47a1 0%, #083a8c 100%);
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    width: 100%;
    flex-shrink: 0; /* Keep it fixed-height and prevent shrinking */
    z-index: 1000;
}
.hela-footer-thin .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.hela-footer-thin .footer-thin-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
    font-size: 0.85rem;
    gap: 8px;
}
.hela-footer-thin .footer-thin-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.hela-footer-thin .footer-thin-links a:hover {
    color: #ffb300;
}
.hela-footer-thin .divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}
.hela-footer-thin .footer-thin-bottom {
    background-color: #062c63; /* Darker blue bar */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
}
.hela-footer-thin .footer-thin-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 0.8rem;
    color: #94a3b8;
}
.hela-footer-thin .copyright-text {
    text-align: center;
}
.hela-footer-thin .footer-thin-bottom-inner a {
    color: #ffb300;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.hela-footer-thin .footer-thin-bottom-inner a:hover {
    color: #ff8f00;
}
.hela-footer-thin .social-icons {
    position: absolute;
    left: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}
.hela-footer-thin .social-link {
    color: #ffffff;
    font-size: 0.9rem;
    transition: color 0.2s, transform 0.2s;
}
.hela-footer-thin .social-link:hover {
    color: #ffb300;
    transform: scale(1.1);
}

/* Mobile adjustments for Thin Footer */
@media (max-width: 1024px) {
    .hela-footer-thin .footer-thin-links {
        flex-direction: column;
        gap: 6px;
        padding: 12px 0;
    }
    .hela-footer-thin .divider {
        display: none;
    }
    .hela-footer-thin .footer-thin-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .hela-footer-thin .social-icons {
        position: static;
        justify-content: center;
    }
}
