﻿@charset "utf-8";
/* ==========================================================================
   Newcomer Canada Job Portal Theme Styles (Bootstrap 3 Compatible)
   ========================================================================== */

:root {
  --canada-red: #b91c1c;
  --canada-dark-red: #8B0000;
  --canada-deep-red: #700000;
  --canada-charcoal: #1e293b;
  --canada-blush: #fff5f5;
  --canada-border: #f1f5f9;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #fbfbfb;
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #b91c1c;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover, a:focus {
  color: #8B0000;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   1. Navigation Bar
   -------------------------------------------------------------------------- */
.navbar-inverse {
  background-color: #8B0000 !important;
  border-color: #8B0000 !important;
  padding: 8px 0;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.navbar-brand {
  padding: 8px 15px;
  height: auto;
}

.navbar-brand img {
  height: 38px;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.navbar-inverse .navbar-nav > li > a {
  color: #ffffff !important;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 14px;
  transition: all 0.2s ease;
  border-radius: 20px;
  margin: 0 2px;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.18) !important;
}

.navbar-inverse .navbar-nav > li.nav-btn-item {
  margin-left: 10px;
}

.navbar-inverse .navbar-nav > li > a.btn-post-job {
  background-color: #ffffff !important;
  color: #8B0000 !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 8px 18px;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.navbar-inverse .navbar-nav > li > a.btn-post-job:hover {
  background-color: #f8fafc !important;
  color: #b91c1c !important;
  transform: translateY(-1px);
}

.navbar-inverse .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
  min-width: 200px;
}

.navbar-inverse .dropdown-menu > li > a {
  color: #334155 !important;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
}

.navbar-inverse .dropdown-menu > li > a:hover {
  background-color: #fff5f5 !important;
  color: #b91c1c !important;
}

/* --------------------------------------------------------------------------
   2. Hero Canada Section & Floating Search Bar
   -------------------------------------------------------------------------- */
.hero-canada-section {
  background: linear-gradient(180deg, #fff5f5 0%, #fffbfb 100%);
  padding: 80px 0 60px 0;
  margin-top: 54px;
  border-bottom: 1px solid #fee2e2;
}

.hero-top-badge {
  margin-bottom: 24px;
}

.badge-pill-fire {
  display: inline-block;
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
}

.hero-main-title {
  font-size: 62px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
}

.text-canada-red {
  color: #b91c1c;
}

.hero-main-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.hero-search-container {
  max-width: 820px;
  margin: 0 auto 24px auto;
}

.hero-floating-pill-card {
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  padding: 6px 10px;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: space-between;
}

.hero-search-col {
  flex: 1;
  -webkit-flex: 1;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  padding: 0 16px;
}

.hero-search-col .icon-muted {
  color: #94a3b8;
  font-size: 16px;
  margin-right: 10px;
}

.hero-search-col .hero-input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 14px;
  height: 42px;
  padding: 0;
  color: #1e293b;
  outline: none !important;
  width: 100%;
}

.hero-search-divider {
  width: 1px;
  height: 30px;
  background-color: #e2e8f0;
}

.hero-search-btn-col .btn-hero-search {
  background-color: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hero-search-btn-col .btn-hero-search:hover {
  background-color: #991b1b;
  border-color: #991b1b;
}

.hero-popular-tags {
  margin-top: 15px;
}

.popular-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  margin-right: 8px;
}

.popular-pill-tag {
  display: inline-block;
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 12px;
  margin: 4px 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.popular-pill-tag:hover {
  background: #f8fafc;
  color: #b91c1c;
  border-color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   3. Sections Header & Shared Layout
   -------------------------------------------------------------------------- */
.main-content-container {
  padding-top: 50px;
  padding-bottom: 60px;
}

.section-block {
  margin-bottom: 60px;
}

.section-header-row {
  margin-bottom: 30px;
}

.section-tag-badge {
  display: inline-block;
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.section-main-heading {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.section-sub-heading {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.section-sub-heading.center-sub {
  max-width: 550px;
  margin: 0 auto 30px auto;
}

.header-link-col {
  padding-top: 24px;
}

.view-all-link {
  font-weight: 600;
  font-size: 14px;
  color: #b91c1c;
}

.view-all-link:hover {
  color: #8B0000;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. Featured Opportunities (Job Cards)
   -------------------------------------------------------------------------- */
.job-opportunity-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 20px;
  margin-bottom: 24px;
  transition: all 0.25s ease;
  min-height: 200px;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: space-between;
}

.job-opportunity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

.card-top-row {
  display: flex;
  display: -webkit-flex;
  align-items: flex-start;
  -webkit-align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.card-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}

.card-logo-box img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.logo-fallback-initial {
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.card-title-box {
  flex-grow: 1;
  overflow: hidden;
}

.card-job-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-job-title a,
.job-card-title-link {
  color: #0f172a;
}

.card-job-title a:hover,
.job-card-title-link:hover {
  color: #b91c1c;
}

.card-company-name {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta-tags {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.meta-pill {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 11px;
}

.meta-pill-type {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
}

.card-footer-row {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.card-posted-time {
  font-size: 11px;
  color: #94a3b8;
}

.btn-card-apply {
  background: #1e293b;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 50px;
  display: inline-block;
}

.btn-card-apply:hover {
  background: #0f172a;
  transform: translateY(-1px);
}

.load-more-wrap {
  margin-top: 20px;
}

.btn-load-more {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.2);
}

.btn-load-more:hover {
  background: #991b1b;
  border-color: #991b1b;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   5. Browse by Category Cards
   -------------------------------------------------------------------------- */
.category-card-item {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  padding: 16px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.22s ease;
  min-height: 80px;
}

.category-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-color: rgba(185, 28, 28, 0.3);
}

.cat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.cat-info {
  flex-grow: 1;
  overflow: hidden;
}

.cat-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-card-item:hover .cat-name {
  color: #b91c1c;
}

.cat-count {
  font-size: 11px;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   6. Trusted by Top Companies Logo Grid
   -------------------------------------------------------------------------- */
.employer-logo-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  filter: grayscale(85%);
  opacity: 0.85;
  transition: all 0.25s ease;
}

.employer-logo-card:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.employer-logo-card img {
  max-height: 48px;
  max-width: 100px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   7. Call to Action Banner (Next Step)
   -------------------------------------------------------------------------- */
.section-cta {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  padding: 50px 20px;
  margin: 60px 0;
}

.cta-heading {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.text-yellow-accent {
  color: #eab308;
}

.cta-subtext {
  font-size: 15px;
  color: #64748b;
  max-width: 550px;
  margin: 0 auto 28px auto;
}

.cta-btn-group .btn {
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  margin: 0 6px;
}

.cta-btn-group .btn-danger {
  background: #b91c1c;
  border-color: #b91c1c;
}

.cta-btn-group .btn-default {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
}

.cta-btn-group .btn-default:hover {
  background: #0f172a;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. Newsletter / Job Alert Section
   -------------------------------------------------------------------------- */
.newsletter-banner-card {
  background: linear-gradient(135deg, #8B0000 0%, #600000 100%);
  border-radius: 24px;
  padding: 60px 20px;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 15px 35px rgba(139, 0, 0, 0.25);
}

.badge-digest {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.newsletter-title {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.newsletter-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
  margin: 0 auto 30px auto;
}

.newsletter-input-box {
  background: #ffffff;
  border-radius: 50px;
  padding: 4px 6px;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.newsletter-input-box .job-alert-input {
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  padding-left: 20px;
  font-size: 14px;
  height: 40px;
  color: #1e293b;
  flex-grow: 1;
  outline: none;
}

/* --------------------------------------------------------------------------
   9. Footer Wrap
   -------------------------------------------------------------------------- */
.footer-canada-wrap {
  background: #8B0000;
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  max-height: 42px;
  margin-bottom: 15px;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.footer-col-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list li a {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links-list li a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.social-network {
  list-style: none;
  padding: 0;
  display: flex;
  display: -webkit-flex;
  gap: 8px;
}

.social-network.social-circle li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  transition: all 0.2s ease;
}

.social-network.social-circle li a:hover {
  background: #ffffff;
  color: #8B0000 !important;
  transform: translateY(-2px);
}

.footer-bottom-row {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.footer-bottom-row .copyright a {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 6px;
}

.footer-bottom-links .sep {
  color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   10. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hero-floating-pill-card {
    flex-direction: column;
    border-radius: 20px;
    padding: 14px;
  }
  .hero-search-col {
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
  }
  .hero-search-divider {
    display: none;
  }
  .hero-search-btn-col {
    width: 100%;
  }
  .hero-search-btn-col .btn-hero-search {
    width: 100%;
  }
  .header-link-col {
    text-align: left !important;
    padding-top: 0;
    margin-bottom: 20px;
  }
}