/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #f5f7fb;
}

/* ================= HEADER ================= */
.career-header {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.career-header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.career-header p {
  font-size: 18px;
  max-width: 800px;
  margin: auto;
  opacity: 0.95;
}

/* ================= CAREER SECTION ================= */
.career-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ✅ FIXED GRID */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* ================= JOB CARD ================= */
.job-card {
  background: #ffffff;
  padding: 30px 26px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
 display: flex;
  flex-direction: column;
  
}

.job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* ================= CARD TEXT ================= */
.job-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #111827;
}

.job-card .location,
.job-card .type {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 6px;
}

.job-card ul {
  margin-top: 15px;
  padding-left: 18px;
}

.job-card ul li {
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: #374151;
}

/* ================= BUTTON ================= */
.apply-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  background: #10b981;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #059669;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .career-header h1 {
    font-size: 32px;
  }

  .career-header p {
    font-size: 16px;
  }
}

/* ================= RESET (OPTIONAL) ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY OFFSET ================= */
body {
  padding-top: 80px; /* fixed navbar space */
}

/* ================= NAVBAR ================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #000;
  z-index: 9999;
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= LOGO ================= */
.logo img {
  height: 70px;
  width: auto;
}

/* ================= NAV ================= */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 4px;
  white-space: nowrap;
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: #2cff77;
}

/* ================= MEGA MENU ================= */
.mega-menu {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  display: none;
  z-index: 99999;
}

.mega-dropdown:hover .mega-menu {
  display: block;
}

/* GRID */
.mega-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 60px;
}

.mega-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #e53935;
}

.mega-col ul {
  list-style: none;
}

.mega-col ul li {
  margin-bottom: 8px;
}

.mega-col ul li a {
  font-size: 14px;
  color: #444;
  transition: 0.3s;
}

.mega-col ul li a:hover {
  color: #3623dd;
  padding-left: 4px;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .logo img {
    height: 60px;
  }

  .mega-menu {
    display: none !important;
  }
}

