:root {
  --green: #146c43;
  --orange: #FFA500;
  --dark-orange: #ff8c00;
}

/* PAGE */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #fff;
  overflow-x: hidden;
}

.career-section {
  padding: 100px 20px 60px;
}

.career-title {
  text-align: center;
  font-size: 28px;
  color: var(--green);
  margin-bottom: 40px;
}

/* JOB GRID */
.jobs-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 10px;
}

/* JOB CARD */
.job-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.job-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #333;
}

.job-card p {
  margin: 6px 0;
  color: #666;
  font-size: 14px;
}

.job-card p strong {
  color: var(--orange);
}

/* APPLY BUTTON */
.apply-btn {
  width: 100%;
  margin-top: 16px;
  border: none;
  background: var(--orange);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background: var(--dark-orange);
  transform: translateY(-2px);
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 15px 20px;
  background: transparent;
  box-sizing: border-box;
}

/* ================= NAVBAR ================= */
.navbar {
  width: 100%;
  pointer-events: auto;
}

.nav-container {
  max-width: 1250px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* ================= LOGO ================= */
.logo img {
  height: 32px;
  width: auto;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 10002;
  position: relative;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background-color: var(--green);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger active (X icon) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================= MENU (DESKTOP) ================= */
.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ================= LINKS ================= */
.menu a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--green);
}

.menu a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.menu a:hover::before,
.menu a.active::before {
  width: 100%;
}

/* ================= DROPDOWN ================= */
.nav-item {
  position: relative;
}

.arrow {
  font-size: 11px;
  margin-left: 4px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* DROPDOWN CONTAINER */
.dropdown {
  position: absolute;
  top: 48px;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
  list-style: none;
}

/* REMOVE BULLETS + SPACING */
.dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* LINK STYLE */
.dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.dropdown li a:hover {
  background: #ecfdf5;
  color: var(--green);
}

/* SHOW DROPDOWN */
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ================= MOBILE MENU - FIXED VERSION ================= */
@media (max-width: 992px) {
  .site-header {
    padding: 12px 15px;
  }

  .nav-container {
    padding: 10px 20px;
  }

  /* Show hamburger button */
  .hamburger {
    display: flex !important;
  }

  /* Hide menu by default on mobile */
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: #ffffff;
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 80px 20px 30px;
    z-index: 10001;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    margin: 0;
    list-style: none;
  }

  /* Show menu when active class is added */
  .menu.active {
    right: 0;
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .menu a {
    display: block;
    padding: 16px 10px;
    font-size: 16px;
    font-weight: 500;
  }

  /* ================= MOBILE DROPDOWN ================= */
  .nav-item {
    position: relative;
  }

  .dropdown {
    position: static;
    display: none;
    margin-top: 0;
    padding-left: 20px;
    box-shadow: none;
    border-radius: 0;
    background: #fafafa;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .dropdown li a {
    padding: 12px 10px;
    font-size: 14px;
  }

  /* OPEN DROPDOWN VIA JS */
  .nav-item.active > .dropdown {
    display: block !important;
  }

  /* Disable hover on mobile */
  .nav-item:hover > .dropdown {
    display: none;
  }

  /* Add dropdown indicator for mobile */
  .nav-item > a {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-item > a .arrow {
    transition: transform 0.3s ease;
  }

  .nav-item.active > a .arrow {
    transform: rotate(180deg);
  }
}

/* Tablet Responsive */
@media (max-width: 768px) {
  .career-section {
    padding: 90px 15px 50px;
  }

  .career-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .jobs-grid {
    gap: 20px;
    padding: 0;
  }

  .job-card {
    padding: 20px;
  }

  .job-card h3 {
    font-size: 18px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .career-section {
    padding: 80px 12px 40px;
  }

  .career-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .jobs-grid {
    gap: 15px;
  }

  .job-card {
    padding: 18px;
  }

  .job-card h3 {
    font-size: 17px;
  }

  .apply-btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}