/* ==============================
   CAREERS LAYOUT (BASE)
============================== */
/* RESET */
html {
  scroll-behavior: smooth;
}
#developer-roles {
  scroll-margin-top: 90px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/*top image*/
.careers-image img {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* FULL PAGE HERO */
.careers-hero {
  height: 550px;
  background: linear-gradient(135deg, #eef6ff 0%, #f8fbff 60%);
  display: flex;
  align-items: center;
   margin-top: 0 !important;
  padding-top: 100px;  
}

/* CONTAINER */
.careers-container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  height: 100%;

}

/* LEFT CONTENT */
.careers-content {
  max-width: 520px;
}

.careers-content h1 {
  font-size: 44px;
  font-weight: 800;
  color: #1f3d1f;
  margin-bottom: 20px;
}

.careers-content p {
  font-size: 20px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 35px;
}

.careers-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  max-width: 1150px;
  margin: 80px auto;
  padding: 0 40px;
}

/* IMAGE */
.career-image {
  flex: 1;
}

.career-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* CONTENT BOX */
.career-box {
  flex: 1;
  background: #ffffff;
    padding: 30px 35px;
  border-radius: 50px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  border: 2px solid #025e94;
}

.career-box h3 {
  font-size: 32px;
  color: #025e94;
  margin-bottom: 20px;
}

.career-box h4 {
  margin-top: 20px;
  font-size: 18px;
}

.career-box ul {
  padding-left: 22px;
}

.career-box ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

/* APPLY BUTTON */
.apply-btn {
  margin-top: 28px;
  padding: 14px 32px;
  background: #025e94;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #014a76;
}


@media (max-width: 768px) {
  .careers-layout,
  .careers-layout.reverse {
    flex-direction: column;
    gap: 40px;
  }

  .career-image img {
    height: 260px;
  }

  .career-box {
    padding: 30px;
  }
}



/*top banner*/
.hero-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

/* LEFT CONTENT */
.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  color: #0f2a44;
  line-height: 1.2;
}

.hero-content h1 span {
  color: #1d8f6f;
}

.hero-content p {
  margin-top: 5px;
  font-size: 20px;
  color: #475569;
  max-width: 520px;
}



/* BUTTONS */
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: #025e94;
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(2, 94, 148, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  
}

.btn-outline {
  border: 2px solid #025e94;
  color: #025e94;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: #025e94;
  color: #fff;
}

/* RIGHT IMAGE */
.hero-image {
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Navbar links */
.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 6px;
  position: relative;
  text-decoration: none; 
  margin-left: 24px;
   font-weight: 500; 
   transition: 0.3s; 
}

/* Underline (hidden by default) */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background-color: white;
  transition: width 0.3s ease;
}
/* Hover underline */
.nav-links a:hover::after {
  width: 100%;
}

/* ACTIVE underline */
.nav-links a.active::after {
  width: 100%;
}