/* --- Banner --- */
.banner-img {
  width: 100%;
  min-height: 59vh;
  height: auto;
  background-image: url('https://res.cloudinary.com/djx69owjm/image/upload/v1755936020/Way2Agribusiness/career/pexels-technobulka-5500269_nwbvu2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-img .container {
  background: hsl(210deg 20% 1% / 30%);
  border-radius: 1rem;
  padding: 1.5rem 2rem 2rem;
  width: 100%;
}

.banner-img h1 {
  font-size: 3rem;
  text-align: center;
  margin: 0 0 1rem;
}

.banner-img .container p {
  text-align: justify;
  line-height: 1.9;
  margin: 0 0 1.5rem;
}

/* --- Navigation Buttons --- */
.btns-div {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.btn {
  background-color: #070739;
  border: 3px solid #cd9e10;
  border-radius: 7px;
  color: white;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  background-color: #6c757da1;
  transform: scale(1.05);
}

.btn:active {
  transform: scale(1.1);
}

/* --- Section Headings --- */
.internship h2,
.job h2 {
  text-align: center;
  color: #212050;
  font-weight: bold;
  margin: 1.5rem 0 1rem;
}

/* --- Job / Internship Accordion Box --- */
.job-box {
  width: 45rem;
  margin: 1rem auto;
  border: 1.5px solid #cd9e10;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.job-header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0e4624;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
}

.job-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.job-details {
  max-height: 0;
  overflow: hidden;
  background: #f9f9f9;
  padding: 0 1rem;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.job-box.active .job-details {
  max-height: none;
  padding: 1rem;
}

.job-box.active .toggle-icon {
  transform: rotate(45deg);
}

.job-details h5 {
  margin: 0.8rem 0 0.3rem;
  color: #0e4624;
}

.job-details p {
  margin: 0 0 0.5rem;
  line-height: 1.7;
}

/* --- Apply Button --- */
.apply-btn {
  display: block;
  margin: 1.2rem auto;
  padding: 0.5rem 1.5rem;
  background: #152f1f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  width: fit-content;
  text-decoration: none;
  font-size: 1rem;
}

.apply-btn:hover {
  background-color: #56626b;
  color: white;
}

/* --- Poster --- */
.poster-thumbnail {
  text-align: center;
  margin: 0.5rem 0;
}

.poster-btn {
  display: block;
  margin: 0.5rem auto 1rem;
  padding: 0.5rem 1rem;
  background: #152f1f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.poster-btn:hover {
  background-color: #56626b;
}

a {
  text-decoration: none;
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 768px) {
  .banner-img {
    min-height: unset;
    padding: 1.5rem 1rem;
  }

  .banner-img h1 {
    font-size: 2rem;
  }

  .btns-div {
    flex-wrap: wrap;
  }

  .job-box {
    width: 100%;
    border-radius: 10px;
  }

  .job-header h3 {
    font-size: 1rem;
  }
}