:root {
  --primary: #ff6700;
  --teal: #009688;
  --bg: #f8f8f8;
  --white: #fff;
  --shadow: 0 6px 38px 0 rgba(255,103,0,0.08);
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, var(--bg) 70%, #ffe8d8 100%);
  margin: 0;
  color: #232323;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navbar */
.jobs-navbar {
  background: #fff;
  border-bottom: 2.5px solid #ffe8d8;
  padding: 0;
  box-shadow: 0 2px 12px #ff670003;
  z-index: 10;
  position: relative;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2vw;
  height: 62px;
  max-width: 1400px;
  margin: 0 auto;
}

.jobs-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.jobs-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  margin-right: 7px;
  box-shadow: 0 2px 12px #ffd7b545;
}

.jobs-navbar-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  user-select: none;
}

.jobs-navbar-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.jobs-navbar-links li a {
  font-size: 1.09rem;
  color: #444;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.87;
  transition: color 0.17s;
  position: relative;
}

.jobs-navbar-links li a.active,
.jobs-navbar-links li a:hover {
  color: var(--primary);
  opacity: 1;
}

.jobs-navbar-links li a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.underline-anim {
  display: inline-block;
  position: relative;
}

.underline-anim::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--primary) 70%);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(.77,0,.18,1);
  transform-origin: left;
}

.underline-anim:hover::after, 
.underline-anim:focus::after, 
.underline-anim.active::after {
  transform: scaleX(1);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 8px 12px 8px;
  z-index: 1101;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 32px;
  height: 32px;
  gap: 6px;
}

.hamburger-icon span {
  display: block;
  height: 3px;
  width: 28px;
  background: #ff6700;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(.83,0,.17,1);
}

.hamburger-icon.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-icon.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Hero Section */
.jobs-hero {
  text-align: center;
  margin: 36px 0 18px 0;
  padding: 0 20px;
}

.jobs-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.jobs-highlight {
  background: linear-gradient(90deg, var(--primary), var(--teal) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.jobs-hero-desc {
  font-size: 1.18rem;
  color: #444;
  font-weight: 500;
  line-height: 1.6;
}

.jobs-cta-anim {
  background: #ffe8d8;
  color: var(--primary);
  border-radius: 9px;
  padding: 3px 10px;
  margin-left: 0;
  font-size: 1.01rem;
  animation: pulse 2s infinite;
  display: inline-block;
  margin-top: 8px;
}

.jobs-share-btn {
  background: linear-gradient(90deg, var(--primary), var(--teal) 90%);
  color: #fff;
  font-weight: 700;
  border-radius: 32px;
  padding: 13px 28px;
  font-size: 1.09rem;
  box-shadow: 0 2px 8px #ff670022;
  border: none;
  letter-spacing: 0.03em;
  transition: background .16s, transform .16s, box-shadow .14s;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin-top: 18px;
}

.jobs-share-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 32px #ff670022;
}

/* Score Notification Bubble */
.jobs-score-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 18px;
  box-shadow: 0 18px 30px #ff670022;
  padding: 12px 20px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #ffe8d8;
  animation-duration: 1s;
  max-width: 90vw;
}

.jobs-score-bubble i {
  color: var(--teal);
  font-size: 1.25em;
}

/* Jobs Board */
.jobs-board {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 12px 56px 12px;
  position: relative;
}

.jobs-list {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  position: relative;
  z-index: 1;
}

.jobs-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px 18px 20px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.23s, transform 0.22s;
  border: 1.5px solid #f7e5d1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  cursor: pointer;
  animation: popIn 0.6s;
  z-index: 1;
}

@keyframes popIn {
  0% { transform: scale(0.89) translateY(30px); opacity: 0;}
  70% { transform: scale(1.04) translateY(-7px);}
  100% { transform: scale(1) translateY(0px); opacity: 1;}
}

.jobs-card:hover {
  box-shadow: 0 15px 45px #ff670044;
  border: 1.5px solid var(--primary);
  transform: scale(1.03) rotate(-1.5deg);
}

.jobs-card-title {
  font-size: 1.33rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 3px;
}

.jobs-card-meta {
  color: #009688;
  font-size: 0.99em;
  margin-bottom: 8px;
}

.jobs-card-desc {
  display: none;
  animation: fadeIn 0.4s;
  color: #444;
  font-size: 1.02rem;
  margin-bottom: 10px;
  margin-top: 8px;
  line-height: 1.6;
}

.jobs-card ul {
  margin: 8px 0 0 18px;
  padding: 0;
  font-size: 0.99em;
}

/* ACTION BUTTONS - NEATLY ALIGNED ON CARD */
.jobs-card .jobs-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 0;
  justify-content: flex-start;
  width: 100%;
}

.jobs-card-apply {
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  transition: background 0.18s, transform 0.18s;
  cursor: pointer;
  box-shadow: 0 2px 8px #00968822;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  margin: 0;
}

.jobs-card-apply:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.07);
}

.jobs-card-share {
  background: #fff3ea;
  color: var(--primary);
  font-weight: 600;
  border-radius: 14px;
  padding: 9px 16px;
  font-size: 0.99rem;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  box-shadow: 0 2px 7px #ff67001a;
  display: inline-block;
  white-space: nowrap;
  margin: 0;
}

.jobs-card-share:hover {
  background: var(--primary);
  color: #fff;
}

.jobs-card-linkedin {
  color: #0077b5;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.17s;
  white-space: nowrap;
}

.jobs-card-linkedin:hover {
  color: #004471;
}

/* Badge */
.jobs-card-badge {
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 7px 15px;
  box-shadow: 0 2px 8px #ff670022;
  animation: bounceIn 1.3s;
  margin-left: auto;
  white-space: nowrap;
}

/* POPUP CARD SCROLLABILITY */
.jobs-card.jobs-card-active {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1.05) !important;
  z-index: 3000 !important;
  box-shadow: 0 18px 70px #ff670055, 0 2px 20px #00968844;
  width: 98vw;
  max-width: 500px;
  min-width: 0;
  margin: 0;
  padding: 26px 20px 22px 20px;
  animation: popActive .3s;
  background: #fff;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@keyframes popActive {
  0% { transform: translate(-50%, -45%) scale(0.92); }
  100% { transform: translate(-50%, -50%) scale(1.05);}
}

.jobs-card.jobs-card-active .jobs-card-desc {
  display: block !important;
  animation: fadeIn .3s;
  margin-bottom: 10px;
}

.jobs-card-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ff6700;
  z-index: 3002;
  cursor: pointer;
  transition: color 0.18s;
  background: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px #ff67001e;
}

.jobs-card-close-btn:hover { 
  color: #009688; 
}

.jobs-card.jobs-card-active .read-more {
  display: none;
}

body.jobs-popup-active {
  overflow: hidden;
}

/* Read more link */
.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 8px;
  display: inline-block;
  font-size: 0.95rem;
}

.read-more:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0;}
  to { opacity: 1;}
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--primary);}
  100% { box-shadow: 0 0 0 10px transparent;}
}

@keyframes bounceIn {
  0% { transform: scale(0.7);}
  60% { transform: scale(1.1);}
  100% { transform: scale(1);}
}

.jobs-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #bbb;
  font-size: 1.2rem;
  margin-top: 40px;
}

.jobs-no-results i {
  font-size: 2.5rem;
  margin-bottom: 8px;
  color: #ff6700;
}

/* Responsive */
@media (max-width: 700px) {
  .navbar-content {
    padding: 0 1vw;
    height: 55px;
  }
  
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  
  .jobs-navbar-links {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    width: 100vw;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid #ffe8d8;
    box-shadow: 0 8px 24px #ff670022;
    z-index: 999;
    padding: 0;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  .jobs-navbar-links.active {
    display: flex;
  }
  
  .jobs-navbar-links li {
    width: 100%;
    border-bottom: 1px solid #ffe8d8;
    text-align: left;
  }
  
  .jobs-navbar-links li:last-child {
    border-bottom: none;
  }
  
  .jobs-navbar-links li a {
    padding: 15px 20px;
    font-size: 1.13rem;
    display: block;
    width: 100%;
    color: #444;
    text-align: left;
  }
  
  .jobs-list {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }
  
  .jobs-hero {
    margin-top: 20px;
  }
  
  .jobs-hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .jobs-hero-desc {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .jobs-cta-anim {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
  }
  
  .jobs-share-btn {
    padding: 12px 20px;
    font-size: 1rem;
    margin-top: 15px;
  }
}

@media (max-width: 600px) {
  .jobs-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 5px;
  }
  
  .jobs-card {
    padding: 16px 15px;
    border-radius: 12px;
  }
  
  .jobs-card-title {
    font-size: 1.1rem;
  }
  
  .jobs-card-meta {
    font-size: 0.9rem;
  }
  
  .jobs-card .jobs-card-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .jobs-card-apply, .jobs-card-share {
    flex: 1;
    text-align: center;
    min-width: 0;
    padding: 10px 8px;
    font-size: 0.9rem;
  }
  
  .jobs-card-linkedin {
    order: 3;
    margin-top: 5px;
  }
  
  .jobs-card-badge {
    margin-left: 0;
    order: 4;
    align-self: flex-start;
    margin-top: 5px;
  }
  
  .jobs-card.jobs-card-active {
    padding: 15px 12px;
    max-width: 92vw;
    max-height: 80vh;
  }
  
  .jobs-card-close-btn {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 1.7rem;
  }
  
  .jobs-hero h1 {
    font-size: 1.5rem;
  }
  
  .jobs-hero-desc {
    font-size: 0.95rem;
  }
  
  .jobs-cta-anim {
    font-size: 0.9rem;
    margin-top: 8px;
  }
}

@media (max-width: 400px) {
  .jobs-card {
    padding: 14px 10px;
  }
  
  .jobs-card .jobs-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .jobs-card-apply, .jobs-card-share, .jobs-card-linkedin, .jobs-card-badge {
    width: 100%;
    text-align: center;
    margin: 0;
  }
  
  .jobs-card-linkedin {
    justify-content: center;
  }
  
  .jobs-hero h1 {
    font-size: 1.3rem;
  }
}

/* Mobile device-specific tweaks */
@media (hover: none) {
  .jobs-card:hover {
    transform: none;
    box-shadow: var(--shadow);
    border: 1.5px solid #f7e5d1;
  }
  
  .jobs-card-apply:active, .jobs-card-share:active {
    transform: scale(0.98);
  }
}