  * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Inter', sans-serif;
      background-color: #fdfdfd;
      color: #1e293b;
    }
    :root {
      --primary: #ff8d00;
      --primary-light: #ffa64d;
      --accent: #d43f3f;
      --gray-bg: #f1f5f9;
      --card-shadow: 0 12px 28px -8px rgba(0, 32, 64, 0.08);
      --soft-gradient: linear-gradient(145deg, #ffffff, #f8fafd);
    }

    /* navbar */
    .navbar {
      padding: 0.8rem 0;
      background: white !important;
      box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    }
    .navbar-brand {
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--primary) !important;
      letter-spacing: -0.02em;
    }
    .navbar-brand span {
      color: var(--accent);
    }
    .nav-link {
      font-weight: 600;
      color: #0c1218 !important;
      margin: 0 0.5rem;
      transition: 0.2s;
      text-transform: uppercase;
    }
    .nav-link:hover { color: var(--primary) !important; }
    .btn-outline-primary {
      border-color: var(--primary);
      color: var(--primary);
      padding: 0.4rem 1.4rem;
      transition: all 0.2s;
    }
    .btn-outline-primary:hover {
      background: var(--primary);
      color: white;
    }
    .btn-primary {
      background-color: var(--primary);
      border-color: var(--primary);
      padding: 0.4rem 1.6rem;
    }

    /* HERO */
    .hero {
      background: white;
      padding: 2.5rem 0 2rem 0;
      border-bottom: 1px solid rgba(0,0,0,0.03);
    }
    .hero h1 {
      font-weight: 700;
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 1.5rem;
    }
    .stats-grid {
      display: flex;
      gap: 1.2rem;
      flex-wrap: wrap;
      margin-bottom: 1.8rem;
    }
    .stat-item {
      background: #f8fafd;
      border-radius: 28px;
      padding: 0.9rem 1.8rem;
      min-width: 130px;
      border: 1px solid #e9eef3;
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }
    .stat-item h3 {
      font-weight: 800;
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 0.1rem;
    }
    .stat-item small {
      color: #5f6b7a;
      font-size: 0.8rem;
    }
    .search-wrapper {
      background: white;
      border-radius: 60px;
      border: 1px solid #e2e8f0;
      padding: 0.3rem 0.3rem 0.3rem 1.5rem;
      max-width: 580px;
      box-shadow: 0 8px 22px -10px rgba(0,0,0,0.1);
    }
    .search-wrapper input {
      border: none;
      background: transparent;
      padding: 0.6rem 0;
    }
    .search-wrapper input:focus {
      box-shadow: none;
      outline: none;
    }
    .search-wrapper button {
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 50px;
      padding: 0.6rem 2rem;
      font-weight: 600;
      white-space: nowrap;
      transition: 0.2s;
    }
    .search-wrapper button:hover { background: #e67e00; }
    .filter-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem 0.8rem;
      margin-top: 1.2rem;
    }
    .filter-tab {
      background: #f1f5f9;
      border: none;
      border-radius: 40px;
      padding: 0.7rem 1.2rem;
      font-size: 0.85rem;
      font-weight: 500;
      color: #334155;
      transition: 0.2s;
    }
    .filter-tab:hover, .filter-tab.active {
      background: var(--primary);
      color: white;
    }
    .hero-right img {
      max-width: 100%;
      width: 360px;
    }

    /* TOP EMPLOYERS CAROUSEL (no pagination) */
    .top-employers {
      background: white;
      padding: 1.5rem 1rem;
      box-shadow: var(--card-shadow);
      margin-top: 20px;
      border-radius: 32px;
    }
    .top-employers h6 {
      font-weight: 700;
      margin-bottom: 1.5rem;
      color: var(--primary);
      font-size: 1rem;
      letter-spacing: 0.5px;
    }
    .employer-slide {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .employer-slide img {
      height: 50px;
      width: auto;
      transition: transform 0.2s;
      filter: grayscale(0.2) brightness(0.98);
      border-radius: 12px;
    }
    .employer-slide img:hover {
      transform: scale(1.05);
      filter: grayscale(0);
    }

    /* toggle buttons */
    .job-toggle {
      display: flex;
      gap: 0.5rem;
      margin: 2rem 0 1.5rem;
    }
    .job-toggle .btn {
      border-radius: 40px;
      padding: 0.6rem 2.2rem;
      font-weight: 600;
      border: 1px solid #d0dae8;
      background: white;
      color: #1e293b;
      transition: 0.2s;
    }
    .job-toggle .btn.active {
      background: var(--primary);
      border-color: var(--primary);
      color: white;
    }

    /* JOB CARDS (main grid) */
    .job-card {
      background: white;
      border-radius: 26px;
      padding: 1.2rem 1rem;
      box-shadow: var(--card-shadow);
      border: 1px solid rgba(0,0,0,0.02);
      transition: all 0.25s ease;
      height: 100%;
      display: flex;
      align-items: center;
      gap: 1rem;
      backdrop-filter: blur(2px);
    }
    .job-card:hover {
      transform: translateY(-4px);
      border-color: var(--primary-light);
      box-shadow: 0 20px 28px -10px rgba(255,141,0,0.2);
    }
    .job-logo {
      width: 56px;
      height: 56px;
      background: #eef2f6;
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      color: var(--primary);
      flex-shrink: 0;
      transition: 0.2s;
    }
    .job-card:hover .job-logo {
      background: #ffe5cc;
    }
    .job-info {
      flex: 1;
      min-width: 0;
    }
    .job-info .company {
      font-weight: 700;
      font-size: 0.95rem;
      color: #0b253b;
      margin-bottom: 0.2rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .job-info .company a {
      color: inherit;
      text-decoration: none;
    }
    .job-info .company a:hover {
      color: var(--primary);
      text-decoration: underline;
    }
    .job-info .title {
      font-weight: 600;
      font-size: 0.88rem;
      color: #2c3e50;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .job-info .title a {
      color: inherit;
      text-decoration: none;
    }
    .job-info .title a:hover {
      color: var(--primary);
      text-decoration: underline;
    }

    /* LOCATION CARDS (6 columns, attractive with <a> tag) */
    .loc-card {
      background: linear-gradient(145deg, #ffffff, #f6f9ff);
      border-radius: 28px;
      padding: 1.2rem 0.8rem;
      box-shadow: 0 12px 24px -12px rgba(0, 40, 80, 0.15);
      display: flex;
      align-items: center;
      gap: 0.8rem;
      transition: all 0.25s ease;
      border: 1px solid rgba(255, 141, 0, 0.05);
      height: 100%;
    }
    .loc-card:hover {
      transform: translateY(-6px) scale(1.02);
      background: linear-gradient(145deg, #fff5e6, #ffffff);
      border-color: var(--primary);
      box-shadow: 0 20px 32px -14px var(--primary);
    }
    .loc-icon {
      width: 48px;
      height: 48px;
      background: rgba(255, 141, 0, 0.1);
      border-radius: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      color: var(--primary);
      transition: 0.2s;
      flex-shrink: 0;
    }
    .loc-card:hover .loc-icon {
      background: var(--primary);
      color: white;
      transform: rotate(2deg);
    }
    .loc-detail h6 {
      font-weight: 800;
      font-size: 1rem;
      margin-bottom: 0.1rem;
      color: #1e293b;
      transition: 0.2s;
    }
    .loc-card:hover .loc-detail h6 {
      color: var(--primary);
    }
    .loc-detail p {
      font-size: 0.8rem;
      color: #5f6b7a;
      margin: 0;
      font-weight: 500;
    }
    .loc-card:hover .loc-detail p {
      color: #1e293b;
    }

    /* REDESIGNED TRENDING / EXPIRING CARDS (modern, compact) */
    .trending-grid {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }
    .trend-item {
      background: white;
      border-radius: 24px;
      padding: 0.9rem 1.2rem;
      box-shadow: 0 6px 14px rgba(0,0,0,0.02);
      border: 1px solid #edf2f7;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.2s;
    }
    .trend-item:hover {
      background: #fffaf2;
      border-color: var(--primary-light);
      transform: translateX(6px);
    }
    .trend-left {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .trend-icon-small {
      width: 42px;
      height: 42px;
      background: #f1f5f9;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      color: var(--primary);
    }
    .trend-info h6 {
      font-weight: 700;
      font-size: 0.95rem;
      margin-bottom: 0.1rem;
    }
    .trend-info h6 a {
      color: #1e293b;
      text-decoration: none;
    }
    .trend-info h6 a:hover { color: var(--primary); }
    .trend-info .company-sm {
      font-size: 0.75rem;
      color: #64748b;
    }
    .trend-badge {
      background: #ff8d0010;
      color: var(--primary);
      font-weight: 600;
      padding: 0.3rem 0.8rem;
      border-radius: 40px;
      font-size: 0.7rem;
      display: inline-flex;
      align-items: center;
      gap: 0.2rem;
      white-space: nowrap;
    }
    .expiring-badge {
      background: #d43f3f10;
      color: var(--accent);
    }

    /* blog cards modern */
    .blog-card-modern {
      background: white;
      border-radius: 32px;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: all 0.3s;
      height: 100%;
      border: 1px solid rgba(0,0,0,0.02);
    }
    .blog-card-modern:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 34px -16px var(--primary-light);
    }
    .blog-img-modern {
      height: 160px;
      background: linear-gradient(145deg, #d9e2ef, #eaeef5);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 2.8rem;
    }
    .blog-content-modern {
      padding: 1.5rem;
    }
    .blog-content-modern h6 {
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }
    .blog-content-modern h6 a {
      color: #1e293b;
      text-decoration: none;
    }
    .blog-content-modern h6 a:hover { color: var(--primary); }
    .blog-date-modern {
      font-size: 0.75rem;
      color: #94a3b8;
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .section-title {
      font-weight: 800;
      color: var(--primary);
      margin: 2.5rem 0 1.2rem 0;
      font-size: 1.6rem;
    }

    /* FOOTER — modern redesign */
    .footer-modern {
      background: #0f1a2c;
      color: #b0c4de;
      padding: 3rem 0 2rem;
      margin-top: 4rem;
    }
    .footer-modern h5 {
      color: white;
      font-weight: 700;
      margin-bottom: 1.2rem;
      font-size: 1.1rem;
    }
    .footer-modern a {
      color: #b0c4de;
      text-decoration: none;
      transition: 0.2s;
    }
    .footer-modern a:hover {
      color: var(--primary);
    }
    .footer-links {
      list-style: none;
      padding: 0;
    }
    .footer-links li {
      margin-bottom: 0.6rem;
    }
    .social-icons {
      display: flex;
      gap: 1rem;
      font-size: 1.4rem;
    }
    .newsletter-input {
      background: #1e2a3a;
      border: 1px solid #2f3d54;
      border-radius: 60px;
      padding: 0.6rem 1rem;
      color: white;
    }
    .newsletter-btn {
      background: var(--primary);
      border: none;
      border-radius: 60px;
      padding: 0.6rem 1.5rem;
      font-weight: 600;
    }

    /* --- MOBILE UPDATES --- */
    main { padding-bottom: 2rem; }
    
    .mobile-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 2000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-top: 1px solid rgba(0, 0, 0, 0.08);
      padding-bottom: env(safe-area-inset-bottom);
    }
    
    .mobile-nav-container {
      display: flex;
      justify-content: space-around;
      align-items: center;
      height: 65px;
    }
    
    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #64748b;
      text-decoration: none;
      font-size: 0.7rem;
      font-weight: 600;
      flex: 1;
      border: none;
      background: transparent;
    }
    
    .mobile-nav-item i { font-size: 1.4rem; margin-bottom: 2px; }
    .mobile-nav-item.active { color: var(--primary); }

    /* HIDE FOOTER ON MOBILE */
    @media (max-width: 991px) {
      .footer-modern { display: none !important; }
      body { padding-bottom: 70px; }
      .navbar .d-flex.gap-2 { display: none !important; }
    }
    
    @media (min-width: 992px) {
      .mobile-nav { display: none; }
    }

    /* SIDEBAR STYLES */
    .offcanvas {
        border-radius: 30px 0 0 30px;
    }
    .sidebar-logo {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary);
    }
    @media all and (min-width: 992px) {
    .navbar .has-megamenu { position: static; }
    .navbar .megamenu {
        left: 5%;
        right: 5%;
        width: 90%;
        margin-top: 0;
        top: 100%;
        transform: translateY(10px);
        transition: all 0.3s ease;
        display: block;
        visibility: hidden;
        opacity: 0;
    }
    .navbar .has-megamenu:hover .megamenu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Styling */
@media (max-width: 991px) {
    .megamenu { border: none; padding: 0; }
    .megamenu .border-start { border: none !important; }
}

.dropdown-item {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    color: #ff8d00;
}

.extra-small {
    font-size: 0.75rem;
}

.letter-spacing {
    letter-spacing: 1px;
}