/* styles.css */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  padding-bottom: 0px;
}

/* Header */
header {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 {
  color: #0077cc;
  font-size: 24px;
}
.header-form{
  display: flex;
}
.header-form select,
.header-form button {
  padding: 8px 12px;
  height: 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.header-form button {
  margin: 0 8px; 
  height: 35px;
  background-color: #0077cc;
  color: #fff;
  cursor: pointer;
}
.header-form button:hover {
  background-color: #005fa3;
}

/* Top Section */
.top-section{
  margin: 1em auto;
  text-align: center;
}


/* Search Section */
.search-section {
  background-color: #fff;
  padding: 20px;
  margin: 20px auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  min-width: 700px;
  max-width: 700px;
}
.search-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.search-form input,
.search-form select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
}
.search-form button {
  background-color: #0077cc;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}
.search-form button i {
  margin-right: 6px;
}
.search-form button:hover {
  background-color: #005fa3;
}

/* Add breathing room around job cards */
main {
  padding: 20px 15%;
}

/* Job Card */
.job-card {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  margin: 0 auto;
  margin-bottom: 20px;
  display: block;
  /*justify-content: space-between;*/
  align-items: center;
  max-width: 700px;
}
.job-card:hover{
  background-color: tan;
  transition: 3s ease;
}
.job-card .top {
  display: flex;
}
.job-card .info {
  flex: 1;
}
.job-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.job-card p {
  margin-bottom: 4px;
  color: #555;
  padding-left: 1em;
}
hr{
  margin: 8px 0;
  border: 5px #005fa3 solid;
  display: none;
}
.job-card .apply {
  /*background-color: #22aaee;*/
  background-color: #0055aa;
  color: #fff;
}
.job-card .visit {
  background-color: #0055aa;
  color: #fff;
}
.job-card .share {
  background-color: #0055aa;
  color: #fff;
}
.job-card .actions a:hover {
  opacity: 0.9;
}
/*updated card*/


/* Icon spacing */
.job-card i {
  margin-right: 8px;
  color: #33bbee;
}

/* Link buttons */
.job-card .actions{
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly; /* or use 'space-evenly' */
  flex-wrap: nowrap;
}
.job-card .actions a {
  flex: 1;
  display: inline-block;
  margin: 2px;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
}
.job-card .logo {
  position: relative;
  width: 64px;
  height: 64px;
  margin-left: 20px;
  margin-bottom: 0px;
}
.job-card .logo img {
  position: absolute;
  top: 10px;
  right: 30px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.job-card .bottom {
  display: flex;
}


/* Form Card (apply.html) */
.form-card {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
form {
  flex: 1;
}
form h2 {
  font-size: 20px;
  margin-bottom: 16px;
}
form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
form input,
form select {
  width: 100%;
  height: 35px;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form button {
  background-color: #28a745;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
form button:hover {
  background-color: #218838;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}
.pagination a {
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  border-radius: 4px;
}
.pagination a:hover {
  background-color: #eee;
}
.pagination button {
  padding: 8px 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  border-radius: 4px;
}
.pagination button:hover {
  background-color: #eee;
}

/* FAQ Card */
.faq-card {
  background-color: #fff;
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.faq-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0077cc;
  text-align: center;
}
.faq-item {
  margin-bottom: 20px;
}
.faq-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}
.faq-item h3 i {
  margin-right: 8px;
  color: #0077cc;
}
.faq-item p {
  color: #555;
  line-height: 1.6;
}

/* Disclaimer Card */
.disclaimer-card {
  background-color: #fff;
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.disclaimer-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #cc0000;
  text-align: center;
}
.disclaimer-card h2 i {
  margin-right: 8px;
}
.disclaimer-card p {
  margin-bottom: 16px;
  color: #555;
  line-height: 1.6;
}

/* Privacy Policy Card */
.privacy-card {
  background-color: #fff;
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.privacy-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0077cc;
  text-align: center;
}
.privacy-card h2 i {
  margin-right: 8px;
}
.privacy-card h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 8px;
  color: #333;
}
.privacy-card p {
  margin-bottom: 16px;
  color: #555;
  line-height: 1.6;
}

.privacy-card a, .disclaimer-card a, .faq-card a {
  justify-items: center;
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

.privacy-card a:hover, .disclaimer-card a:hover, .faq-card a:hover {
  background-color: #005fa3;
}

/* Contact Card */
.contact-card {
  background-color: #fff;
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0077cc;
  text-align: center;
}
.contact-card h2 i {
  margin-right: 8px;
}
.contact-form {
  display: flex;
  flex-direction: column;
}
.contact-form label {
  margin-top: 12px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form button {
  margin-top: 20px;
  background-color: #0077cc;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}
.contact-form button:hover {
  background-color: #005fa3;
}
.contact-info {
  margin-top: 30px;
  text-align: center;
  color: #555;
}
.contact-info p {
  margin-bottom: 8px;
}
.contact-info i {
  margin-right: 8px;
  color: #0077cc;
}


/* Footer */
footer {
  background-color: #fff;
  border-top: 1px solid #ddd;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}
footer h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
footer .social-icons {
  margin-bottom: 12px;
}
footer .social-icons a {
  margin: 0 10px;
  font-size: 20px;
  color: #0077cc;
  text-decoration: none;
}
footer .social-icons a:hover {
  color: #005fa3;
}
footer .links a {
  margin: 0 10px;
  color: #0077cc;
  text-decoration: none;
}
footer .links a:hover {
  text-decoration: underline;
}
footer p {
  color: #666;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 600px) {
  .job-card,
  .form-card {
    /*flex-direction: column;
    align-items: flex-start;*/
  }
  .job-card .logo,
  .form-card .logo {
    /*margin-top: 20px;*/
  }
  .logo{
    display: none;
  }
  form .logo{
    display: none;
  }
  main {
    padding: 20px 5%;
  }
}
@media (max-width: 500px) {
  .actions a{
    margin-bottom: 15px;
  }
  main {
    padding: 20px 5%;
  }
}
@media (max-width: 400px) {
  header{
    width: 100%;
    display: inline-block;
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 350px) {
  .actions a{
    width: 100%;
    text-align: center;
  }
}