/* ========================
   Careers Page Styling
   ======================== */

.careers-page-main {
  background-color: #ffffff;
  /* background-color: #009045; */
  padding: 10px;
}

/* --- Hero Section --- */
.careers-hero-banner {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.careers-hero-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-left: 80px;
  padding-bottom: 40px;
}

.careers-hero-bg h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

/* Gradient Overlay - Darker at bottom */
.careers-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

/* Leaf Decoration on Right */
.careers-hero-leaf-deco {
  position: absolute;
  bottom: -20px; /* Slight offset */
  right: 30px; /* Position from right */
  width: 250px;
  height: 250px;
  /* You need to upload your white outline leaf icon here */
  background-image: url("../images/leaf-outline-white.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.6; /* Semi-transparent */
  z-index: 2;
  pointer-events: none;
}

/* Text Content */
.careers-hero-content {
  position: relative;
  z-index: 3; /* Above decoration */
  /* max-width: 700px; */
  padding-bottom: 40px;
  color: #fff;
  text-align: left;
}

.careers-hero-title {
  font-size: 64px;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.1;
  color: #003580;
  /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
}

.careers-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: #545454; /* Light gray-white */
  margin-bottom: 30px;
  /* max-width: 550px; */
}

/* "See Open Positions" Button */
.careers-cta-btn {
  display: inline-block;
  background-color: #16a34a; /* Green Color */
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #16a34a;
}

.careers-cta-btn:hover {
  background-color: #15803d; /* Darker Green */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(22, 163, 74, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .careers-hero-banner {
    height: 400px;
  }

  /* .careers-hero-content {
    padding: 30px;
  } */

  .careers-hero-title {
    font-size: 32px;
  }

  .careers-hero-leaf-deco {
    right: -50px; /* Push partly off screen on mobile */
    width: 200px;
    height: 200px;
    opacity: 0.2;
  }
}
/* ========================
   Life at ZEBPL Section (Fixed Vertical Stack)
   ======================== */

.life-section {
  padding: 100px 0;
  background-color: #ffffff;
}

/* Ensure the main container stacks children vertically */
.life-container-stack {
  padding: 40px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 60px; /* Space between Header and Grid */
}

/* --- Part 1: Header Block --- */
.life-header-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 30px;
  margin-bottom: 30px;
}

.life-title-col {
  flex: 0 0 36%; /* Title takes 30% width */
  /* max-width: 600px; */
  /* background-color: #000; */
}

.life-title {
  font-size: 64px;
  font-weight: 700;
  color: #003580;
  margin: 0;
  line-height: 1.15;
}

.life-text-col {
  flex: 1; /* Description takes remaining space */
  max-width: 1200px;
}

.life-desc-main {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  /* margin-bottom: 20px; */
  margin: 0 0 12px 0;
}

.life-desc-sub {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* --- Part 2: Grid Layout --- */
/* .life-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  width: 100%;
} */
.life-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);

  /* Top | Middle (shorter) | Bottom */
  grid-template-rows:
    320px
    260px
    320px;

  gap: 24px;
  width: 100%;
}

/* --- 1. Small Boxes (25% Width) --- */
/* .life-card {
  grid-column: span 3;

  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  aspect-ratio: 1 / 1;
  width: 100%;
  transition: transform 0.3s ease;
}

.life-card:hover {
  transform: translateY(-5px);
} */

.life-card {
  grid-column: span 3;

  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  height: 100%; /* IMPORTANT */
  transition: transform 0.3s ease;
}

.life-card:hover {
  transform: translateY(-5px);
}

.life-card-top img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}

.life-card-bottom h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin: 0;
  line-height: 1.3;
}

/* Card Colors */
.card-yellow {
  background-color: #fdf5a8;
}
.card-green {
  background-color: #95fbc2;
}
.card-blue {
  background-color: #a8ccff;
}

/* --- 2. Half-Width Images (50% Width) --- */
/* For First and Last Rows */
/* .life-img-half {
  grid-column: span 6;

  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2 / 1;
  background-color: #eee;
} */

.life-img-half {
  grid-column: span 6;

  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  height: 100%; /* IMPORTANT */

  background-color: #eee;
}

/* --- 3. Third-Width Images (33.3% Width) --- */
/* For Middle Row */
/* .life-img-third {
  grid-column: span 4;

  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #eee;
} */

.life-img-third {
  grid-column: span 4;

  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  height: 100%; /* IMPORTANT */

  background-color: #eee;
}

/* Image Common Styles */
/* .life-img-half img,
.life-img-third img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.life-img-half:hover img,
.life-img-third:hover img {
  transform: scale(1.05);
} */

.life-img-half img,
.life-img-third img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.life-img-half:hover img,
.life-img-third:hover img {
  transform: scale(1.05);
}

/* --- Responsive Layouts --- */

/* Tablet (Under 992px) */
@media (max-width: 992px) {
  .life-header-block {
    flex-direction: column;
    gap: 30px;
  }

  .life-grid {
    /* Switch to 2 columns */
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reset spans for 2-column layout */
  .life-card {
    grid-column: span 1;
  }

  .life-img-half {
    grid-column: span 2; /* Make images full width on tablet */
  }

  .life-img-third {
    grid-column: span 2; /* Make images full width on tablet */
  }
}

/* Mobile (Under 600px) */
@media (max-width: 600px) {
  .life-title {
    font-size: 36px;
  }

  .life-grid {
    /* Switch to 1 column */
    grid-template-columns: 1fr;
  }

  /* Everything takes full width */
  .life-card,
  .life-img-half,
  .life-img-third {
    grid-column: span 1;
    min-height: 250px;
    aspect-ratio: auto; /* Allow natural height on mobile */
  }
  .life-card-top img {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
  }
}
/* ========================
   Why Work With Us Section
   ======================== */

.why-work-section {
  padding: 100px 0;
  background-color: #f9f9f4; /* Light Beige Background */
}

.why-work-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align top */
  gap: 80px;
}

/* --- Left Column --- */
.why-work-left {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.why-badge {
  display: inline-block;
  border: 1px solid #10b981;
  color: #10b981;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 25px;
  background: transparent;
}

.why-title {
  font-size: 40px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin: 0 0 50px 0;
}

/* Image Wrapper */
.why-work-image-wrapper {
  width: 100%;
  /* If you don't have the leaf shape yet, this adds a fallback rounded look */
  border-radius: 20px;
  overflow: hidden;
}

.why-leaf-img {
  width: 100%;
  height: auto;
  display: block;
  /* This scales the image nicely */
  transform-origin: left center;
}

/* --- Right Column (Cards) --- */
.why-work-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 20px; /* Space between cards */
}

/* Card Style */
.work-benefit-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02); /* Very subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* Icon Box */
.work-icon-box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 4px; /* Align with title text */
}

/* Content */
.work-card-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px 0;
}

.work-card-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .why-work-layout {
    flex-direction: column;
    gap: 50px;
  }

  .why-work-left,
  .why-work-right {
    max-width: 100%;
  }

  .why-title {
    font-size: 32px;
    margin-bottom: 30px;
  }
}

/* ========================
   Our Values Section
   ======================== */

.our-values-section {
  padding: 100px 0;
  background-color: #ffffff;
}

/* 3-Column Grid Layout */
.values-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Equal Columns */
  gap: 30px;
}

/* --- Item 1: Text Block --- */
.values-intro-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px; /* Space between text and next card */
}

.values-intro-title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  margin-bottom: 24px;
  line-height: 1.1;
}

.values-intro-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* --- Items 2-6: Value Cards --- */
.values-card {
  padding: 40px 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.green-card-bg {
  background-color: #ecfdf5; /* Very Light Green Background */
}

.values-card:hover {
  transform: translateY(-5px);
}

.values-card-icon {
  margin-bottom: 20px;
}

.values-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin: 0 0 15px 0;
}

.values-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Responsive Styling */
@media (max-width: 992px) {
  .values-grid-layout {
    grid-template-columns: repeat(2, 1fr); /* 2 Columns on Tablet */
  }

  .values-intro-block {
    grid-column: span 2; /* Text takes full width on tablet */
    padding-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .values-grid-layout {
    grid-template-columns: 1fr; /* 1 Column on Mobile */
  }

  .values-intro-block {
    grid-column: span 1;
  }

  .values-intro-title {
    font-size: 32px;
  }
}

/* ========================
   Talent Network Section
   ======================== */
/* --- Talent Network Section Refined --- */
.talent-network-section {
  padding: 100px 0;
  background-color: #f8f6f1; /* Specific cream/beige background from image */
}

.talent-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

/* Left Column Text */
.talent-text-col {
  flex: 1;
  max-width: 480px;
  position: sticky;
  top: 120px;
}

.talent-badge {
  display: inline-block;
  border: 1px solid #333 !important; /* Thin dark border */
  color: #333 !important;
  padding: 6px 20px !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  margin-bottom: 25px;
  background: transparent !important;
}

.talent-title {
  font-size: 32px; /* Larger as per screenshot */
  font-weight: 700;
  color: #111;
  line-height: 1.1;
  margin: 0 0 25px 0;
  letter-spacing: -1px;
}

.talent-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* Right Column Form Card */
.talent-form-col {
  flex: 1;
  max-width: 620px;
}

.talent-form-card {
  background: #ffffff !important;
  padding: 50px !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
}

/* Form Styling */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #444 !important;
  margin-bottom: 10px !important;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  font-size: 14px !important;
  color: #333;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input::placeholder {
  color: #aaa;
}

/* Custom File Upload */
.file-upload-label {
  display: flex;
  justify-content: center; /* Centered as per new design */
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px dashed #ccc !important; /* Dashed border for upload */
  border-radius: 8px;
  cursor: pointer;
  color: #888;
  font-size: 14px;
}

/* Submit Button Logic */
.talent-submit-btn {
  width: 100%;
  background-color: #5ba367 !important; /* Specific Muted Green from image */
  color: #ffffff !important;
  padding: 16px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
}

.talent-submit-btn:hover {
  background-color: #4a8a54 !important;
}

/* Checkbox alignment */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #5ba367;
}

/* Responsive */
@media (max-width: 992px) {
  .talent-layout {
    flex-direction: column;
    gap: 50px;
  }
  .talent-text-col {
    position: static;
    max-width: 100%;
    text-align: center;
  }
  .talent-form-col {
    max-width: 100%;
  }
  .talent-title {
    font-size: 36px;
  }
}
