:root {
    --primary-green: #4CAF50;
    --secondary-green: #45a049;
    --light-green: #8BC34A;
    --dark-green: #2E7D32;
    --yellow-green: #9ACD32;
    --lime-green: #32CD32;
    --olive-green: #556B2F;
    --white: #ffffff;
    --light-gray: #f0f0f0;
    --dark-gray: #333333;
}


@keyframes progress-pf82op {
   100% {
      inset: 0;
   }
}
 
@media screen and (min-width: 1024px) and (max-width: 1366px) {
    .navbar-sticky .logo img {
        height: 70px;
        width: 200px;
    }
}

@media screen and (min-width: 992px) {
    .col-md-3 {
        width: 25%;
    }    
    .col-md-4 {
        width: 33.33333%;
    }
    .custom-width {
            width: 45% !important;
        }
    .custom-width8 {
            width: 55% !important;
        }     
}

/* Remove gap between input and button */
.input-group .input-field {
    margin-right: 0; /* Ensure no right margin on input */
}


/* Referred Applicant Title Styles */
.referred-applicant-title {
          font-size: 28px;
          font-weight: bold;
          color: var(--text-color);
          text-transform: uppercase;
          margin-bottom: 20px;
          text-align: center;
          border-bottom: 2px solid var(--primary-green);
          padding-bottom: 10px;
      }


.job-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Styles for each job item */
.job-item {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Grid layout for job info, location, and type columns */
.job-grid {
    display: grid;
    grid-template-columns: 3fr 2fr 1fr;
    gap: 15px;
    width: 100%;
    padding: 20px;
    align-items: center;
}

/* Layout for the job information section */
.job-col-info {
    display: flex;
    align-items: center;
}

.job-position {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Styles for the company logo */
.company-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Styles for the job details (title and company name) */
.job-details {
    display: flex;
    flex-direction: column;
}

.job-details h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.job-details p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Styles for the location column */
.job-col-location {
    font-size: 14px;
    color: #555;
}

.job-location {
    display: flex;
    align-items: center;
}

.job-location-icon {
    margin-right: 5px;
    color: #007bff;
}

/* Styles for the job type and closing date column */
.job-col-type {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Labels for job types (freelance, full-time, part-time) */
.job-label {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 5px;
    white-space: nowrap;
}

.label-freelance {
    background-color: #4caf50;
    color: #fff;
}

.label-fulltime {
    background-color: #F0AD4E;
    color: #fff;
}

.label-parttime {
    background-color: #f44336;
    color: #fff;
}

/* Deadline for job posting */
.job-deadline {
    font-size: 11.5px;
    align-items: center;
    color: #888;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {

    .job-item {
        flex-direction: column;
    }

    .job-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .job-col-info {
        flex-direction: column;
        align-items: center;
    }

    .job-position {
        flex-direction: column;
        align-items: center;
    }

    .company-logo {
        margin-bottom: 10px;
    }

    .job-details {
        align-items: center;
    }

    .job-col-location {
        justify-content: center;
    }

    .job-location {
        justify-content: center;
    }

    .job-col-type {
        align-items: center;
    }

    .job-label {
        margin-top: 10px;
        width: 130px;
    }

    .job-deadline {
        margin-top: 5px;
    }
}

/* Additional responsiveness for very small screens */
@media (max-width: 480px) {
    .job-details h4 {
        font-size: 16px;
    }

    .job-details p {
        font-size: 12px;
    }

    .job-col-location,
    .job-deadline {
        font-size: 12px;
    }

    .job-label {
        font-size: 10px;
        padding: 4px 8px;
    }
}



/* Responsive design for smaller screens */
@media (max-width: 768px) {

    .job-item {
        flex-direction: column;
    }

    .job-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .job-col-info,
    .job-position {
        flex-direction: column;
        align-items: center;
    }

    .company-logo {
        margin-bottom: 10px;
    }

    .job-details {
        align-items: center;
    }

    .job-col-location,
    .job-location,
    .job-col-type {
        justify-content: center;
        align-items: center;
    }

    .job-label {
        width: 130px;
        margin-top: 10px;
    }

    .job-deadline {
        margin-top: 5px;
    }
}

/* Additional responsiveness for very small screens */
@media (max-width: 480px) {
    .job-details h4 {
        font-size: 16px;
    }

    .job-details p,
    .job-col-location,
    .job-deadline {
        font-size: 12px;
    }

    .job-label {
        font-size: 10px;
        padding: 4px 8px;
    }
}




.input-half {
        width: 50%;
        margin-right: 10px;
    }

.logo img {
    height: 70px;
    width: 200px;
    transition: height 0.3s ease; /* Smooth transition */
}

#location::placeholder {
    color: #ffffff;
}

/* Adjusted logo size when navbar is sticky */
.navbar-sticky .logo img {
    height: 50px;
    width: 125px;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-login-box-wrapper {
        width: 95%;
        padding: 15px;
        max-width: 450px; /* Ensure the modal fits better on tablet-sized devices */
    }

    .modal-login-box-wrapper .modal-header {
        padding: 10px;
    }

    .modal-login-box-wrapper .modal-body {
        padding: 15px;
    }

    .modal-login-box-wrapper .modal-footer {
        padding: 10px;
    }

    .modal-login-box-wrapper .btn-facebook,
    .modal-login-box-wrapper .btn-inverse {
        padding: 10px 15px;
        font-size: 14px;
    }
    .modal-login-box-wrapper .btn-inverses{
        width: 100%;
        padding: 10px 15px;
        font-size: 14px;
    }
    .modal-login-box-wrapper .close {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .modal-login-box-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 10px; /* Reduce padding on smaller devices */
        border-radius: 0; /* Remove border-radius for full-width on mobile */
    }

    .modal-login-box-wrapper .modal-header .modal-title {
        font-size: 18px;
    }

    .modal-login-box-wrapper .btn-facebook,
    .modal-login-box-wrapper .btn-inverse {
        padding: 8px 10px;
        font-size: 12px;
    }
    .modal-login-box-wrapper .btn-inverses{
        width: 100%;
        padding: 10px 15px;
        font-size: 14px;
    }

    .modal-login-box-wrapper .close {
        font-size: 18px; /* Adjust close icon size on smaller screens */
        top: 10px;
        right: 10px;
    }

    .modal-login-box-wrapper .modal-body {
        padding: 10px; /* Further reduce padding on small screens */
    }
}

.buttons {
    position: relative;
    overflow: hidden;
    height: 3rem;
    padding: 0 2rem;
    border-radius: 1.5rem;
    background: var(--white);
    background-size: 400%;
    color: var(--dark-green);
    border: none;
}

.buttons:hover::before {
    transform: scaleX(1);
}

.buttons-content {
    position: relative;
    z-index: 1;
}

.buttons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 100%;
    height: inherit;
    border-radius: inherit;
    background: linear-gradient(
        82.3deg,
        var(--light-green) 10.8%,
        var(--primary-green) 94.3%
    );
    transition: all 0.475s;
}

.buttons:hover .buttons-content {
    color: var(--white);
}


.announcements-section {
    padding: 60px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.announcement-card {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.announcement-card:hover {
    transform: translateY(-4px);
}

.announcement-label {
    font-weight: bold;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    color: #ffffff;
    margin-bottom: 10px;
}

.label-System_Update {
    background-color: #d9534f;
}

.label-Important_Announcement {
    background-color: #f0ad4e;
}

.label-partnership {
    background-color: #5bc0de;
}

.label-job_fair {
    background-color: #5cb85c;
}

.announcement-title {
    font-size: 18px;
    color: #333;
}

.announcement-content {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
}

.announcement-date {
    font-size: 14px;
    color: #777;
}

.navbar-nav-wrapper {
    display: flex;
    justify-content: center;
    padding: 10px 0; 
    background-color: transparent; 
}

.navbar-nav-wrapper .nav > li {
    margin: 0 15px;
}

.navbar-nav-wrapper .nav > li > a p {
    margin: 0;
    padding: 5px 10px; 
    text-align: center;
}

.nav-mini-wrapper {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 8px 0; 
}

.nav-mini-wrapper .nav-mini {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-mini-wrapper .nav-mini > li {
    margin-left: 10px; 
}

.nav-mini-wrapper .nav-mini > li > a {
    text-decoration: none;
    color: #333; 
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-transform: uppercase; /* Make text uppercase */
    font-size: 14px; /* Adjust font size */
}

.nav-mini-wrapper .nav-mini > li > a:hover {
    background-color: #f0f0f0; 
}


/* Media query to hide nav-mini-wrapper on mobile devices */
@media (max-width: 768px) {
    .text-element {
        margin-top: 20px; /* Adjust as needed */
    }
    .nav-mini-wrapper {
        display: none; /* Hide on mobile devices */
    }
}

/* Additional styling for navbar-nav-wrapper on mobile devices */
@media (max-width: 768px) {
    .text-element {
        margin-top: 20px; /* Adjust as needed */
    }
    .navbar-nav-wrapper {
        justify-content: flex-start; 
    }
}

/* Hide logout and profile links by default */
.nav-item.logout-profile {
    display: none;
}

/* Show logout and profile links in mobile view */
@media (max-width: 768px) {
    .nav-item.logout-profile {
        display: block;
    }

    /* Ensure main navigation items are displayed or adjusted for mobile view */
    
}
/* Default font size for desktop view */
.section-titles h2 {
  font-size: calc(1em + 2vw);
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .section-titles h2 {
    font-size: calc(1em + 2vw); /* Increase font size for mobile view */
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
	padding-left: 50px;

  }
}

/* Media query for smaller mobile screens */



/* Media query for very small mobile screens */
@media only screen and (max-width: 320px) {
  .section-titles h2 {
    font-size: calc(1em + 2vw); /* Increase font size for very small mobile screens */
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
	padding-left: 55px;

  }
}
.section-titles h1 {
  font-size: calc(1em + 2vw);
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .section-titles h1 {
    font-size: calc(1em + 2vw); /* Increase font size for mobile view */
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
	padding-left: 80px;

  }
}

/* Media query for smaller mobile screens */



/* Media query for very small mobile screens */
@media only screen and (max-width: 320px) {
  .section-titles h1 {
    font-size: calc(1em + 2vw); /* Increase font size for very small mobile screens */
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
	padding-left: 80px;

  }
}
  
    .autofit2 {
	height:70px;
	width:400px;
    object-fit:cover; 
  }
  
      .autofit3 {
	height:80px;
	width:100px;
    object-fit:cover; 
  }
  
/* Basic styles for the hero section */
.hero {
    background-size: cover; /* Ensures the background image covers the entire section */
    background-position: center; /* Centers the image within the section */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    height: 660px; /* Set a default height for the hero section */
    width: 100%; /* Full width of the parent container */
    display: flex;
    align-items: center;
    justify-content: center; /* Centers content horizontally and vertically if needed */
    color: white; /* Adjust text color if you add content */
    text-align: center; /* Center-align text if you add content */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        height: 500px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 479px) {
    .announcements-section {
        padding: 0px;
    }
}


.label-important { background-color: #e3f2fd; color: #1565c0; }
.label-maintenance { background-color: #ffcdd2; color: #c62828; }
.label-partnership { background-color: #e8f5e9; color: #2e7d32; }
.label-job_fair { background-color: #fff3e0; color: #ef6c00; }




/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .announcement {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: more) {
    .announcement {
        border: 2px solid #000;
    }
    .announcement-label {
        border: 1px solid #000;
    }
}
.nav-item {
    /*margin: 15px 0; /* Add vertical spacing between items */
    text-align: center; /* Center text horizontally */
}


.section-titles h3 {
  font-size: calc(1em + 2vw);
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .section-titles h3 {
    font-size: calc(1em + 2vw); /* Increase font size for mobile view */
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
	padding-left: 50px;

  }
}

/* Media query for smaller mobile screens */


/* Media query for very small mobile screens */
@media only screen and (max-width: 320px) {
  .section-titles h3 {
    font-size: calc(1em + 2vw); /* Increase font size for very small mobile screens */
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
	padding-left: 55px;

  }
}


.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h2 {
    text-align: center;
    color: #2c3e50; /* Change this to a darker gray if desired */
    margin-bottom: 30px;
    font-size: 2.5em;
}

.category-section {
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.category-title {
    font-size: 1.5em;
    color: #ecf0f1; /* Light gray for the title text */
    background-color: #31511E; /* Dark gray for the header background */
    padding: 15px;
    margin-bottom: 20px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px 20px;
}

.image-container {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

.image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-caption {
    padding: 10px;
    text-align: center;
    background-color: #f8f9fa;
    font-size: 14px;
    color: #495057;
}

.category-nav {
    display: flex;
    justify-content: space-between; /* Distributes buttons evenly */
    flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
    margin-bottom: 20px;
}

.category-nav button {
    background-color: #31511E; 
    color: #ecf0f1; /* Light gray text color */
    border: 1px solid #ecf0f1; /* Light gray border */
    padding: 15px 0; /* Vertical padding for consistency */
    flex: 1; /* Makes each button take equal space */
    margin: 0 5px; /* Adds margin between buttons */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, border 0.3s; /* Transition for background and border */
    font-size: 1em;
}

.category-nav button:hover {
    background-color: #185519; 
}

/*.category-nav button.active {
    background-color: #2c3e50; 
}*/

@media (max-width: 768px) {
    .gallery-container {
        padding: 10px;
    }

    h2 {
        font-size: 2em;
    }

    .category-title {
        font-size: 1.2em;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .category-nav button {
        padding: 8px 16px;
        font-size: 0.9em;
        min-width: auto; /* Remove min-width on mobile */
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.8em;
    }

    .category-title {
        font-size: 1.1em;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .image-container img {
        height: 150px;
    }

    .category-nav button {
        padding: 6px 12px;
        font-size: 0.8em;
        min-width: auto; /* Remove min-width on mobile */
    }
}
/* Slideshow styles */
.slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 300%; /* 3 images * 100% */
            height: 100%;
            display: flex;
            transition: transform 1s ease-in-out;
        }
        .slide {
            width: 33.333%; /* 100% / 3 images */
            height: 100%;
            background-size: cover;
            background-position: center;
        }
        
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}


/* Announcement styles */
.announcement {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    height: 100%;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.announcement:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.announcement h6 {
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 10px;
    padding-right: 80px; /* Make room for the label */
}

.announcement-content {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.announcement-date {
    font-size: 0.8em;
    color: #666;
}

/* Label styles */
.announcement-label {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
}

.label-important { background-color: #e3f2fd; color: #1565c0; }
.label-maintenance { background-color: #ffcdd2; color: #c62828; }
.label-partnership { background-color: #e8f5e9; color: #2e7d32; }
.label-job_fair { background-color: #fff3e0; color: #ef6c00; }

/* Responsive styles */



/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .announcement {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: more) {
    .announcement {
        border: 2px solid #000;
    }
    .announcement-label {
        border: 1px solid #000;
    }
}
.nav-item {
    /*margin: 15px 0; /* Add vertical spacing between items */
    text-align: center; /* Center text horizontally */
}


.section-titles h3 {
  font-size: calc(1em + 2vw);
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .section-titles h3 {
    font-size: calc(1em + 2vw); /* Increase font size for mobile view */
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
	padding-left: 50px;

  }
}

/* Media query for smaller mobile screens */


/* Media query for very small mobile screens */
@media only screen and (max-width: 320px) {
  .section-titles h3 {
    font-size: calc(1em + 2vw); /* Increase font size for very small mobile screens */
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
	padding-left: 55px;

  }
}

@media (max-width: 768px) {
    .gallery-container {
        padding: 10px;
    }

    h2 {
        font-size: 2em;
    }

    .category-title {
        font-size: 1.2em;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .category-nav button {
        padding: 8px 16px;
        font-size: 0.9em;
        min-width: auto; /* Remove min-width on mobile */
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.8em;
    }

    .category-title {
        font-size: 1.1em;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .image-container img {
        height: 150px;
    }

    .category-nav button {
        padding: 6px 12px;
        font-size: 0.8em;
        min-width: auto; /* Remove min-width on mobile */
    }
}

/* Search Form Container */
.search-form-container {
    width: 100%;
    max-width: 800px; /* Adjusted max width to fit everything */
    margin: 0 auto;
    padding: 10px; /* Reduced padding */
}

.search-form {
    display: flex;
    justify-content: flex-start; /* Align items to the start */
    align-items: center; /* Center items vertically */
}

/* Input Group (Single Row) */
.input-group {
    display: flex;
    flex-grow: 1; /* Allow inputs to stretch across */
}

/* Input Fields (Pill-Shaped) */
.input-field {
    width: 100%; /* Full width to fill container */
    padding: 10px 20px; /* Adjusted padding for pill-shape */
    border-radius: 50px; /* Pill-shaped fields */
    border: 2px solid #fff; /* White border */
    background-color: transparent;
    color: #fff; /* White text */
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-field::placeholder {
        color: white; 
        opacity: 1; 
}

.input-field:focus {
    border-color: #32CD32;
    outline: none;
}

.input-field:hover {
    border-color: #32CD32;
}

/* Button Styles (Transparent Background, Pill-Shaped) */
.button-container {
    flex-shrink: 0; /* Ensure the button doesn't shrink */
    margin-left: -2px; /* Remove gap by slightly overlapping with the input */
}

.search-button {
    background-color: transparent; /* Set background to transparent */
    color: #fff; /* Text color */
    border: 2px solid #fff; /* White border */
    padding: 10px 30px; /* Wide button for pill shape */
    border-radius: 50px; /* Pill-shaped button */
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    border-color: #32CD32;
}

.search-button i {
    font-size: 18px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-form {
        flex-direction: row; /* Stack elements vertically */
        align-items: stretch; /* Make inputs and button take full width */
    }

    .input-group {
        width: 100%; /* Full width on mobile */
    }

    .input-field {
        width: 130px; /* Full width on mobile */
        padding: 10px 20px; /* Padding adjustment for mobile */
        font-size: 10px; /* Smaller font size for mobile */
        margin-top: 3px;
    }

    .button-container {
        width: 100%; /* Full width for button container */
    }

    .search-button {
        /*width: 100%; /* Full width for button on mobile */
        font-size: 14px; /* Smaller font size for button */
        padding: 6px 20px; /* Adjust padding for mobile */
        margin-right: 250px;
        margin-bottom: 10px;
    }
}

/* Remove gap between input and button */
.input-group .input-field {
    margin-right: 0; /* Ensure no right margin on input */
}
:root {
    --primary-color: #4CAF50;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Referred Applicant Titl

/* General styles for featured job section */
.row-featured {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 20px;
}

.col-featured {
    width: 100%;
}

.job-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Styles for each job item */
.job-item {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Grid layout for job info, location, and type columns */
.job-grid {
    display: grid;
    grid-template-columns: 3fr 2fr 1fr;
    gap: 15px;
    width: 100%;
    padding: 20px;
    align-items: center;
}

/* Layout for the job information section */
.job-col-info {
    display: flex;
    align-items: center;
}

.job-position {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Styles for the company logo */
.company-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Styles for the job details (title and company name) */
.job-details {
    display: flex;
    flex-direction: column;
}

.job-details h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.job-details p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Styles for the location column */
.job-col-location {
    font-size: 14px;
    color: #555;
}

.job-location {
    display: flex;
    justify-content: center;
    align-items: center;
}

.job-location-icon {
    margin-right: 5px;
    color: #007bff;
}

/* Styles for the job type and closing date column */
.job-col-type {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Labels for job types (freelance, full-time, part-time) */
.job-label {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 5px;
    white-space: nowrap;
}

.label-freelance {
    background-color: #4caf50;
    color: #fff;
}

.label-fulltime {
    background-color: #F0AD4E;
    color: #fff;
}

.label-parttime {
    background-color: #f44336;
    color: #fff;
}

/* Deadline for job posting */
.job-deadline {
    font-size: 11.5px;
    align-items: center;
    color: #888;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .row-featured {
        padding: 10px;
    }

    .job-item {
        flex-direction: column;
    }

    .job-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .job-col-info {
        flex-direction: column;
        align-items: center;
    }

    .job-position {
        flex-direction: column;
        align-items: center;
    }

    .company-logo {
        margin-bottom: 10px;
    }

    .job-details {
        align-items: center;
    }

    .job-col-location {
        justify-content: center;
    }

    .job-location {
        justify-content: center;
    }

    .job-col-type {
        align-items: center;
    }

    .job-label {
        margin-top: 10px;
        width: 130px;
    }

    .job-deadline {
        margin-top: 5px;
    }
}

/* Additional responsiveness for very small screens */
@media (max-width: 480px) {
    .job-details h4 {
        font-size: 16px;
    }

    .job-details p {
        font-size: 12px;
    }

    .job-col-location,
    .job-deadline {
        font-size: 12px;
    }

    .job-label {
        font-size: 10px;
        padding: 4px 8px;
    }
}

.job-search {
    background-image: url('./images/search.png');
}

.employers {
    background-image: url('./images/jobs.png');
}

.citizens-charter {
    background-image: url('./images/citizen.png');
}

.contact-us {
    background-image: url('./images/contact.png');
}

.city-website {
    background-image: url('./images/bats_web.png');
}


/* Mobile styles */
@media (max-width: 768px) {
    .gallery-container {
        padding: 10px;
    }

    .image-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two images per row */
        gap: 10px; /* Space between images */
    }

    .image-container {
        overflow: hidden; /* Prevent images from overflowing */
        border-radius: 8px; /* Rounded corners */
    }

    .image-container img {
        width: 100%; /* Ensure images take full width */
        height: auto; /* Maintain aspect ratio */
    }

    /*.quick-link {
        height: 80px; /* Adjust height for smaller screens 
        font-size: 14px; /* Smaller font size 
        position: relative; /* Ensure relative positioning 
    }*/

    .announcement {
        margin-bottom: 15px; /* Add space between announcements */
    }

    .row {
        display: flex;
        flex-direction: column; /* Stack the columns vertically */
    }

    .col-md-8,
    .col-md-4 {
        width: 100%; /* Make both columns full width */
    }

    .col-md-4 {
        order: -1; /* Move the right column to the top */
    }
}

/* FAQ Section Styles */
.faq-container {
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background-color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary-color);
}

.faq-icon {
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(135deg);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(-45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background-color: #fff;
}

.faq-answer p,
.faq-answer ol {
    padding: 0 1.5rem;
    margin: 0 0 1rem;
}

.faq-answer ol {
    padding-left: 3rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 1000px;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-container {
        margin: 1rem;
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer p,
    .faq-answer ol {
        font-size: 0.9rem;
    }
}

.gallery-container {
        max-width: 100%;
        margin: auto;
    }
    .image-gallery {
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .image-gallery img {
        display: none;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
    }
    .image-gallery img.active {
        display: block;
    }
    .category-nav {
        display: flex;
        justify-content: space-around;
        margin-bottom: 10px;
    }
    .category-section {
        display: none;
    }
    .category-section.active {
        display: block;
    }
