.career{
  display:grid;
  grid-template-columns: 0.5fr 3fr;
  width:90%;
  margin:auto;
  gap:1em;
}
.subhead1{
    padding: 0.5em 1em;
    font-size: 1em;
    color: darkblue;
    cursor: pointer;
    background: linear-gradient(to bottom, goldenrod, wheat);
    margin-bottom: 1em;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 1em;
}
.apply-btn{
    background-image: linear-gradient(to bottom, rgb(8 86 4 / 87%), #98f1af);
    color: black;
    padding: 10px;
    border-radius: 10px;
    width: 180px;
    font-weight: bolder;
    font-size: medium;
    box-shadow: 1px 1px 5px gray;
}
.apply{
  text-align:center;
  background-color: #215d0e;
  padding:1rem 0 1rem 0;
  margin-top: -25px;
  border-radius:10px;
}
.role-desc{
  display:grid;
  grid-template-columns: 1fr 2fr;
  color:rgb(1, 44, 1);
  gap:1em;
  text-align:justify;
}
.roles{
  box-shadow:1px 1px 5px gray;
  padding:1em;
  border-radius:0.5em;
  background-color: rgb(235, 253, 240);
}
.roles h4{
    color: white;
    padding: 0.2em 1em;
    background-color: darkgreen;
    width: 40%;
    margin-bottom: 0.5em;
    clip-path: polygon(0 0, 0 0, calc(100% - 20px) 0, 100% 10px, 100% 100%, 10px 100%, 0 100%);
}
.roles strong{
  color:darkblue;
}
.subhead{
    color: darkgreen;
    font-size: 18px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-shadow: 1px 0.3px 0.3px black;
}
@media only screen and (max-width:768px){
  .roles{
    font-size:0.8em;
    width:90%;
    margin:auto;
  }
  .roles h4{
    width:100%;
  }
  .apply-btn{
    font-size: 0.9em;
    padding: 5px;
    margin-bottom: 0.5em;
  }
  .career{
    display:block;
  }
  .career-btn{
    display: flex;
    justify-content: space-between;
  }
  .heading{
  	padding:0 30px;
  	margin-bottom:0.5em;
  }
}

.banner-img{
  width: 100%;
  height: 59vh;
  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;
  /* border-radius: 16px; */
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;

}
.banner-img h1{
  font-size: 7rem;
  text-align: center;

}
.banner-img h2{
    font-size: 4rem;
    text-align: center;
    color: white;
}
.btn {
  width: 6rem;
  background-color: #080a0c61;
  border: 3px solid #cd9e10;
  border-radius: 7px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

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

.btn:active {
  transform: scale(1.1); 
}
.btns-div{
  display: flex;
  justify-content: center;
}
.internship h2{
  text-align: center;
  color: #212050;
  font-weight: bold;
}
.job h2{
  text-align: center;
  color: #212050;
  font-weight: bold;
  border-left: none;
}
.job-box {
  width: 45rem;
  margin: 1rem auto;
  border: 1.5px solid #cd9e10;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.job-header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color:#0e4624;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
}
 .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height:normal;
}
.toggle-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.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);
}

.apply-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #152f1f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin: 20px auto;
}
.apply-btn:hover{
  background-color: #56626b;
  color: white;
}
a{
  text-decoration: none;
}
.poster-btn{
  padding: 0.5rem 1rem;
    background: #152f1f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


@media (max-width:768px){
  .banner-img {
    width: 100%;
    height: 37vh;
    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;
    /* border-radius: 16px; */
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
  }
  .job-box {
    width: 24rem;
    margin: 1rem auto;
    border: 1.5px solid #cd9e10;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}
.job-header h3{
  font-size: 18px;
}
.banner-img h1 {
    font-size: 4rem;
    text-align: center;
}

}


    
@media (min-width: 769px) {
    body{
        max-width:100%;
    }
    .wrap{
        display:flex;
        flex-wrap: wrap; 
        align-items: flex-start;
    }
    .vjs-tech{
        height:300px;
    }
}
