* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }
  body, html  {
  height: 100vh;
  width:100%;
  font-family: 'Verdana', sans-serif;
  color: white;
  font-size:16px;
  line-height:1.6;
  font-weight: 300;
  background-color: #333333 ;
  }
  
  
  
  /*MOBILE FIRST LOAD */
  .wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax( 70px,1fr));
  grid-template-areas:
  /* STACKED **/ 
  "nav"
  "toptext"
  "add1"
   "footer"
  ;
  }
  /*LARGER SCREENS ONLY*/
  @media  only screen and (min-width: 1200px){
  .wrapper{
  display: grid;
  grid-gap: 2em;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax( 70px,1fr));
  grid-template-areas:
  "nav   nav      nav             nav "
  "toptext  toptext  toptext  toptext "
  " add1    add1   add1    add1 "
  "footer     footer    footer  footer "
  ;
  }
  }
.toptext{
grid-area: toptext;
color: white;
text-align: center;
font-weight: 500;
margin: 30px 0 80px 0;
background-color:  #98A869;
min-height: 200px;
}
.toptext h1{
font-size: 2vw;
margin-top: 45px;
color: white;
font-weight: 500;
padding: 20px;
line-height: 1.4;
}
img {
max-width: 100%;
}
ul  {
list-style: square;
list-style-position: outside;
}
li {
margin-left: 10px;
font-weight: 400;
margin-right: 2em;
line-height: 2.2;
padding-left: 1em;
}
nav{
margin: 0;
}
.add1{
grid-area: add1;
display: grid;
grid-gap: 1em;
grid-template-columns: repeat(3, 1fr);
color: white;
padding: 5px;
margin-bottom: 80px;
min-height: 200px;
}


/* MAIN POPUP AREA  ------------------------------------------------------------------*/
  

/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 10; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  color: black !important;
}
/* The Close Button */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: rgb(230, 14, 14);
text-decoration: none;
cursor: pointer;
}
.myBtn_multi{
  background-color: #90D5FF;
color: #333333; 
cursor: pointer;
border-radius: 12px ;
text-decoration:none;
font-size:14px;
font-weight: 300;
width:30em;
height: 60px;
padding:5px 5px;
margin:auto;
border:none;
}
.modal-content h2{
font-size: 1em;
}
.myBtn_multi:hover{
  transform: translateY(-0.25em);
  border-color: white;
  color: white;
  background-color: #98A869;
  cursor: pointer;
}

/* MODAL END */





/* BLUE APPLY  BUTTON ----------------------------------- */
.button {
border: none;
background-color: #90D5FF;
color: black;
font-weight: 400;
padding: 2px 40px;
border-radius: 15px;
display: inline-block;
text-decoration: none;
font-size: 0.9em;
text-transform: uppercase;
margin-bottom: 40px;
}
.button:hover {
color: black !important;
background: rgb(11, 148, 182);
}
/* BACK BUTTON */
#container-btn {
width: 400px;
margin: 20px auto 0;
}
.back-1 {
background-color: #90D5FF;
color: black; 
cursor: pointer;
display:flex;
align-items:center;
justify-content:center;
border-radius: 10px ;
text-decoration:none;
font-size:1em;
width:15em;
height: 40px;
padding:5px 10px;
margin:auto;
border: 1px solid black;


}
.back-1:hover {
transform: translateY(-0.25em);
border-color: white;
color: black;
background-color: white;
cursor: pointer;
}
/* END */


/* NAV */

.nav {
  height: 50px;
  width: 100%;
  background-color: white;
  position: fixed;
  color: white  ;
  background-color:  #98A869;
}

.nav > .nav-header {
  display: inline;
}

.nav > .nav-header > .nav-title {
  display: inline-block;
  font-size: 16px;
  color: black;
  padding: 10px 10px 10px 10px;
}

.nav > .nav-btn {
  display: none;
}

.nav > .nav-links {
  display: inline;
  float: right;
  font-size: 16px;
  margin-right: 40px;
}

.nav > .nav-links > a {
  display: inline-block;
  padding: 13px 10px 13px 10px;
  text-decoration: none;
  color: white;
}

.nav > .nav-links > a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.nav > #nav-check {
  display: none;
}

@media (max-width:810px) {
  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 30px;
    top: 0px;
  }
  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }
  .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid #eee;
  }
  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0px;
  }
  .nav > .nav-links > a {
    display: block;
    width: 100%;
  }
  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }
  .nav > #nav-check:checked ~ .nav-links {
    height: calc(100vh - 50px);
    overflow-y: auto;
  }
}
/* END */



/* FOOTER */

footer {
  grid-area: footer;
  text-align: center;
  background-color: #4682b4;
  padding: 40px;
  min-height: 100px;
  color: white;

}


  /* MEDIA QUERIES */

  @media only screen and (max-width: 470px) {
  .toptext h1{
  font-size: 6vw;
  margin-top: 45px;
  color: white;
  font-weight: 500;
  padding: 20px;
  }
  .footer{
  display: block;

  }
  .grid2 {
  display: block;
  align-content: space-around;
  grid-gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-template-rows: auto;
  }
  }


/* NEW ADD LAYOUT FORMAT */
.job-card {
border: 1px solid #ddd;
padding: 15px;
border-radius: 8px;
text-align: center;
cursor: pointer;
transition: 0.3s;
}
.job-card:hover {
background: #f4f4f4;
color: #333333;
}
.job-card h2{
  font-size: 14px;
  text-transform:capitalize;
  font-weight: normal;
}

.job-modal {
display: none; /* Hidden by default */
position: fixed;
color: #333333;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%; /* Adjust width for small screens */
max-width: 600px; /* Prevent it from getting too large */
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
overflow-y: auto; /* Enable scroll if content is long */
max-height: 80vh; /* Prevent it from overflowing the screen */
}
.job-modal-content {
padding: 10px;
}

/* Close button styling */
.close {
position: absolute;
top: 10px;
right: 15px;
font-size: 20px;
cursor: pointer;
}

/* Responsive Fix for Small Screens */
@media (max-width: 600px) {
.job-modal {
width: 95%;
max-width: 90%;
padding: 15px;
}
}

.apply-button {
display: block;
text-align: center;
background: #007bff;
color: white;
padding: 10px;
text-decoration: none;
border-radius: 5px;
margin-top: 10px;
}
.apply-button:hover {
background: #0056b3;
}

.job-modal li {
  padding: 8px;
}
.job-modal h1 {
  font-size: 1.2em;
}

.view-btn {
background-color: #90D5FF;
color: black; 
cursor: pointer;
display:flex;
align-items:center;
justify-content:center;
border-radius: 10px ;
text-decoration:none;
font-size:1em;
width:8em;
height: 30px;
padding:10px 10px;
margin:auto;
border: 1px solid black;
}
.view-btn:hover{ 
transform: translateY(-0.25em);
border-color: white;
color: white;
background-color: #98A869;
cursor: pointer;

}
.text44::first-letter {
  text-transform: uppercase;
}

/* ENDS */
