/* BrighterMonday-inspired Modern HR Theme */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f8f9fa;
  color: #222;
}

/* Modern HR Navbar Redesign */
.modern-navbar {
  background: linear-gradient(90deg, #1565c0 0%, #1976d2 100%);
  box-shadow: 0 4px 16px rgba(21,101,192,0.10);
  border-radius: 0 0 18px 18px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo-wrapper .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.navbar-tagline {
  font-size: 1.35em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(21,101,192,0.18);
  margin-top: 6px;
  margin-left: 4px;
  display: flex;
  align-items: center;
}
.navbar-tagline .fa-handshake {
  color: #ffd600;
  font-size: 1.3em;
  margin-right: 8px;
}
.tagline-text {
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #fff;
}
.navbar-nav > li > a {
  font-size: 1.05em;
  letter-spacing: 1.05px;
  padding: 7px 12px;
  position: relative;
  transition: color 0.2s, transform 0.2s;
}
.navbar-nav > li > a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #ffd600 0%, #ff9800 100%);
  border-radius: 2px;
  transition: width 0.3s;
  position: absolute;
  left: 20%;
  bottom: 10px;
}
.navbar-nav > li > a:hover, .navbar-nav > li.active > a {
  color: #ffd600 !important;
  transform: scale(1.08);
}
.navbar-nav > li > a:hover::after, .navbar-nav > li.active > a::after {
  width: 60%;
}
.badge-hot {
  background: linear-gradient(90deg, #800000 0%, #ff9800 100%);
  color: #fff;
  font-size: 0.85em;
  font-weight: 700;
  border-radius: 12px;
  padding: 2px 10px;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(255,23,68,0.15);
}
.badge-new {
  background: #800000;
  color: #ffd600;
  font-size: 0.85em;
  font-weight: 700;
  border-radius: 12px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(255,214,0,0.15);
}
.floating-glow {
  position: relative;
  animation: float-bounce 2.5s infinite ease-in-out;
  box-shadow: 0 0 16px 4px #ffd600, 0 2px 16px rgba(21,101,192,0.10);
  z-index: 2;
}
.floating-glow:hover {
  box-shadow: 0 0 32px 8px #ffd600, 0 2px 24px rgba(21,101,192,0.18);
  transform: scale(1.06);
}
@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.navbar-bell {
  color: #ffd600;
  font-size: 1.6em;
  margin-left: 24px;
  transition: color 0.2s, transform 0.2s;
  position: relative;
  top: 2px;
}
.navbar-bell:hover {
  color: #fff;
  transform: scale(1.2) rotate(-10deg);
}
.btn-pill {
  border-radius: 24px;
  padding: 6px 14px !important;
  font-weight: 700;
  background: #fff;
  color: #1565c0 !important;
  margin-left: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(21,101,192,0.08);
  transition: background 0.2s, color 0.2s;
}
.btn-pill:hover {
  background: #ffd600;
  color: #1565c0 !important;
}
.btn-pill.btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid #ffd600;
}
.btn-accent.post-job-btn {
  background: #800000;
  color: #fff !important;
  border-radius: 24px;
  font-weight: 700;
  margin-right: 18px;
  padding: 6px 14px;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(128,0,0,0.10);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-accent.post-job-btn:hover {
  background: #b71c1c;
  color: #ffd600 !important;
}
.navbar-nav {
  margin-left: 30px;
}
.nav-mini-wrapper {
  display: flex;
  align-items: center;
}
/* Dropdowns */
.navbar-nav > li > ul {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(21,101,192,0.10);
  margin-top: 8px;
  min-width: 180px;
}
.navbar-nav > li > ul > li > a {
  color: #1565c0 !important;
  padding: 12px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.navbar-nav > li > ul > li > a:hover {
  background: #ffd600;
  color: #1565c0 !important;
}
/* Responsive hamburger */
@media (max-width: 992px) {
  .navbar-nav {
    display: none;
  }
  #slicknav-mobile {
    display: block;
  }
  .nav-mini-wrapper {
    flex-direction: column;
    align-items: flex-end;
  }
}
@media (max-width: 600px) {
  .logo-wrapper .logo img {
    height: 40px;
  }
  .navbar-tagline {
    font-size: 0.95em;
  }
  .btn-accent.post-job-btn {
    padding: 8px 14px;
    font-size: 0.95em;
  }
}

/* Hero Section */
.hero {
  background: #1565c0 url('../images/hero-header/learning22.JPG') center/cover no-repeat;
  color: #fff;
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-size: 2.8em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.main-search-form-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(21,101,192,0.10);
  padding: 32px 24px 24px 24px;
  max-width: 600px;
  margin: 0 auto;
}
.main-search-form-wrapper form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.main-search-form-wrapper select,
.main-search-form-wrapper input[type="text"] {
  border-radius: 8px;
  border: 1px solid #bdbdbd;
  padding: 10px 16px;
  font-size: 1.1em;
  min-width: 180px;
}
.main-search-form-wrapper button {
  background: #ffb300;
  color: #1565c0;
  border-radius: 8px;
  font-weight: 700;
  padding: 10px 28px;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.main-search-form-wrapper button:hover {
  background: #ffd600;
  color: #1565c0;
}

/* Section Titles */
.section-title {
  border-left: 6px solid #ffb300;
  padding-left: 16px;
  margin-bottom: 24px;
  color: #1565c0;
  font-weight: 700;
  font-size: 2em;
}

/* Cards/Boxes */
.card, .recent-job-item, .process-item, .form-style-1, .table {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(21,101,192,0.07);
  border: 1px solid #e3e3e3;
  margin-bottom: 24px;
  padding: 18px 20px;
}

/* Table */
.table thead {
  background: #1565c0;
  color: #fff;
}
.table tbody tr:nth-child(even) {
  background: #fffde7;
}
.table tfoot {
  background: #ffd600;
  color: #1565c0;
}

/* Buttons */
.btn, button, input[type="submit"] {
  background: #1565c0;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 1.1em;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(21,101,192,0.08);
}
.btn:hover, button:hover, input[type="submit"]:hover {
  background: #ffb300;
  color: #1565c0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #1565c0;
  font-weight: 700;
}
h1 strong, h2 strong, h3 strong {
  color: #ffb300;
}

input, select, textarea {
  border-radius: 8px;
  border: 1px solid #bdbdbd;
  padding: 10px 16px;
  margin-bottom: 12px;
  font-size: 1em;
}
input:focus, select:focus, textarea:focus {
  border-color: #1565c0;
  outline: none;
}

/* Footer */
.footer-wrapper {
  background: #1565c0;
  color: #fff;
  border-radius: 24px 24px 0 0;
  margin-top: 48px;
  padding-top: 32px;
}
.footer-title {
  color: #ffb300;
  font-weight: 700;
}
.footer-menu a {
  color: #fff;
  transition: color 0.2s;
}
.footer-menu a:hover {
  color: #ffb300;
}

/* Accent elements */
.job-label.label-success {
  background: #ffb300;
  color: #1565c0;
}
.job-label.label-danger {
  background: #d32f2f;
  color: #fff;
}
.job-label.label-warning {
  background: #1565c0;
  color: #fff;
}

/* Misc */
#back-to-top a {
  background: #d32f2f;
  color: #fff;
  border-radius: 50%;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(211,47,47,0.15);
}
#back-to-top a:hover {
  background: #ffb300;
  color: #1565c0;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .main-search-form-wrapper {
    padding: 18px 8px 18px 8px;
  }
  .navbar .navbar-nav > li > a {
    padding: 14px 10px;
    font-size: 1em;
  }
  .navbar-nav > li > a {
    font-size: 1em;
    padding: 14px 10px;
  }
  .navbar-tagline {
    font-size: 1em;
  }
  .floating-glow {
    padding: 8px 14px;
    font-size: 0.95em;
  }
}
@media (max-width: 768px) {
  .navbar {
    border-radius: 0;
  }
  .footer-wrapper {
    border-radius: 0;
  }
  .main-search-form-wrapper {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 2em;
  }
} 

/* Tagline Bar */
.navbar-tagline-bar {
  width: 100%;
  background: linear-gradient(90deg, #1976d2 0%, #00bcd4 100%);
  color: #fff;
  font-size: 2em;
  font-weight: 900;
  text-align: center;
  padding: 18px 0 14px 0;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 12px rgba(21,101,192,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  position: relative;
}
.navbar-tagline-bar .fa-handshake {
  color: #ffd600;
  font-size: 1.3em;
  margin-right: 14px;
}
.navbar-tagline-bar .tagline-text {
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  font-size: 1.1em;
}
/* Services Dropdown */
.services-dropdown .dropdown-menu {
  min-width: 340px;
  padding: 18px 0 18px 0;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(21,101,192,0.13);
  background: #fff;
  margin-top: 12px;
}
.services-dropdown .dropdown-menu > li > a {
  font-size: 1.08em;
  color: #1565c0 !important;
  padding: 12px 28px 12px 18px;
  display: flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
  border-radius: 8px;
}
.services-dropdown .dropdown-menu > li > a i {
  margin-right: 12px;
  font-size: 1.2em;
  color: #ffd600;
}
.services-dropdown .dropdown-menu > li > a:hover {
  background: #e3f2fd;
  color: #1976d2 !important;
}
/* Navbar spread */
.navbar-nav {
  justify-content: flex-start;
  width: auto;
  display: flex;
  margin-right: 0;
  align-items: center;
}
.navbar-nav > li > a {
  font-size: 0.98em;
  letter-spacing: 1px;
  padding: 4px 10px;
  position: relative;
  transition: color 0.2s, transform 0.2s;
  margin: 0;
  line-height: 1.2;
}
@media (max-width: 992px) {
  .navbar-nav > li > a {
    font-size: 0.95em;
    padding: 8px 8px;
  }
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 48px;
}
.nav-mini-wrapper {
  display: flex;
  align-items: center;
  position: static;
  right: auto;
  top: auto;
  transform: none;
  z-index: 1300;
  margin-left: 24px;
}
@media (max-width: 1200px) {
  .nav-mini-wrapper {
    margin-left: 8px;
  }
}
@media (max-width: 992px) {
  .navbar .container {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-mini-wrapper {
    margin-left: 0;
    margin-top: 12px;
    justify-content: flex-end;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .navbar-tagline-bar {
    font-size: 0.95em;
    padding: 6px 0 6px 0;
  }
  .nav-mini-wrapper {
    flex-direction: column;
    align-items: stretch;
    margin-top: 8px;
  }
  .btn-accent.post-job-btn {
    width: 100%;
    margin-bottom: 8px;
    margin-right: 0;
  }
} 

/* Maroon and Light Grey HR Branding */
.mega-menu {
  position: relative;
  z-index: 1200;
}
.mega-menu .mega-menu-content {
  min-width: 520px;
  background: linear-gradient(135deg, #800000 0%, #1976d2 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(21,101,192,0.25);
  border: none;
  padding: 0 0 24px 0;
  margin-top: 16px;
  left: 0;
  right: 0;
  position: absolute;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: perspective(800px) rotateX(-75deg) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.9s cubic-bezier(.4,0,.2,1), transform 0.9s cubic-bezier(.4,0,.2,1), visibility 0.9s;
  will-change: transform, opacity;
}
.mega-menu .mega-menu-content::before {
  content: '';
  display: block;
  width: 100%;
  height: 12px;
  background: #800000;
}
.mega-menu:hover .mega-menu-content,
.mega-menu:focus-within .mega-menu-content,
.mega-menu .mega-menu-content.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: perspective(800px) rotateX(0deg) scale(1);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
  padding: 28px 32px 0 32px;
}
/* Mega Menu: improved hover for clarity */
.mega-menu-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  font-size: 1.13em;
  font-weight: 800;
  padding: 20px 8px 12px 8px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  background: none;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mega-menu-grid a:last-child {
  border-bottom: none;
}
.mega-menu-grid a i {
  font-size: 2.1em;
  color: #ffd600;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.mega-menu-grid a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: 0 2px 12px rgba(128,0,0,0.10);
}
.mega-menu-grid a:hover i {
  color: #ffd600;
}
/* Navbar maroon accent underline */
.navbar-nav > li > a:hover, .navbar-nav > li.active > a {
  color: #ffd600 !important;
  border-bottom: 3px solid #800000;
  transform: scale(1.08);
}
/* Post a Job button maroon */
.btn-accent.post-job-btn {
  background: #800000;
  color: #fff !important;
  border-radius: 24px;
  font-weight: 700;
  margin-right: 18px;
  padding: 10px 28px;
  box-shadow: 0 2px 8px rgba(128,0,0,0.10);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-accent.post-job-btn:hover {
  background: #b71c1c;
  color: #ffd600 !important;
}
.badge-hot {
  background: linear-gradient(90deg, #800000 0%, #ff9800 100%);
  color: #fff;
}
.badge-new {
  background: #800000;
  color: #ffd600;
}
@media (max-width: 992px) {
  .mega-menu .mega-menu-content {
    min-width: 90vw;
    padding: 0 6vw 18px 6vw;
  }
  .mega-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
    padding: 18px 6vw 0 6vw;
  }
}
@media (max-width: 600px) {
  .mega-menu .mega-menu-content {
    min-width: 98vw;
    padding: 0 2vw 10px 2vw;
    left: 0;
    right: 0;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 10px 0;
    padding: 10px 2vw 0 2vw;
  }
  .mega-menu-grid a {
    font-size: 1em;
    padding: 12px 2px 8px 2px;
  }
} 

.navbar-mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-left: 12px;
  z-index: 3000;
  background: none;
  border: none;
  position: absolute;
  right: 16px;
  top: 12px;
}
.navbar-mobile-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background: #333;
  margin: 5px 0;
  border-radius: 2px;
  transition: background 0.2s;
}
@media (max-width: 992px) {
  .navbar-mobile-toggle {
    display: flex !important;
    position: absolute;
    right: 16px;
    top: 12px;
    z-index: 3000;
    background: none;
    border: none;
  }
  .navbar .container .mobile-only {
    display: none;
  }
  .navbar .container.mobile-open .mobile-only {
    display: block !important;
  }
}
@media (max-width: 992px) {
  .navbar-tagline-bar {
    display: none;
  }
  .navbar .container {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    position: relative;
  }
  .navbar-nav,
  .nav-mini-wrapper {
    background: linear-gradient(135deg, #b71c1c 0%, #42a5f5 100%);
    box-shadow: 0 8px 32px rgba(21,101,192,0.13);
    border-radius: 0 0 18px 18px;
    margin: 0;
    padding: 0;
    position: fixed;
    left: 0;
    top: 56px;
    z-index: 2000;
    transition: max-height 0.4s, opacity 0.4s;
    overflow-y: auto;
    max-height: 0;
    opacity: 0;
  }
  .navbar .container.mobile-open .navbar-nav,
  .navbar .container.mobile-open .nav-mini-wrapper {
    background: linear-gradient(135deg, #b71c1c 0%, #42a5f5 100%);
    box-shadow: 0 8px 32px rgba(21,101,192,0.13);
  }
  .mega-menu .mega-menu-content {
    background: linear-gradient(135deg, #b71c1c 0%, #42a5f5 100%);
    border-top: 1.5px solid #f5f5f5;
    left: 0;
    top: 0;
    z-index: 2002;
  }
  .navbar-nav > li {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }
  .navbar-nav > li > a {
    padding: 18px 18px;
    font-size: 1.15em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    box-sizing: border-box;
  }
  .nav-mini-wrapper > * {
    margin-bottom: 10px;
    width: 100%;
  }
  .mega-menu .mega-menu-content {
    position: static;
    min-width: 0;
    width: 100vw;
    margin: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: none;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none;
    background: linear-gradient(135deg, #800000 0%, #1976d2 100%);
    border-top: 1.5px solid #f5f5f5;
    left: 0;
    top: 0;
    z-index: 2002;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 18px 0;
    padding: 18px 4vw 0 4vw;
  }
  .logo-wrapper .logo img,
  .hero img,
  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .hero {
    padding: 24px 0 24px 0 !important;
    background-size: cover !important;
  }
  .main-search-form-wrapper {
    padding: 12px 4vw 12px 4vw !important;
    max-width: 100vw !important;
  }
} 

@media (max-width: 992px) {
  .mega-menu .mega-menu-content {
    display: none;
    opacity: 0;
    transform: none !important;
    transition: none;
    background: #fffbe7 !important; /* TEMP: debug background */
    color: #222;
    z-index: 2002;
  }
  .mega-menu.services-open .mega-menu-content {
    display: block;
    opacity: 1;
    transform: none !important;
  }
  .mega-menu .services-menu-link {
    cursor: pointer;
  }
} 

.desktop-only { display: block; }
.mobile-only { display: none; }
@media (max-width: 992px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: none !important; }
  .navbar .container.mobile-open .mobile-only {
    display: block !important;
    width: 100vw;
    background: #fffbe7;
    box-shadow: 0 8px 32px rgba(21,101,192,0.13);
    border-radius: 0 0 18px 18px;
    margin: 0;
    padding: 0 0 10px 0;
    position: fixed;
    left: 0;
    top: 56px;
    z-index: 2000;
    overflow-y: auto;
  }
  .mobile-only .nav {
    flex-direction: column;
    align-items: stretch;
  }
  .mobile-only li {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }
  .mobile-only li > a {
    padding: 18px 18px;
    font-size: 1.15em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    box-sizing: border-box;
  }
} 