/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    line-height: 1.6;
}



/* Hero Section */
.hero {
    background-image: url('/images/security_team.jpg'); /* Replace with your own image */
    background-attachment: fixed; /* Fixes the background */
    background-size: cover;
    background-position-y: 0px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    
    
    
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    /*border-radius: 10px;*/
}

.hero h1 {
    font-size: 36px;
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
}

/* General button styles */
.job-actions {
    text-align: right; /* Align buttons to the right */
}

.job-actions a {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    color: white;
}

/* View Details button */
.job-actions .view-details {
    background-color: #004d00;
    border: 1px solid #004d00;
}

.job-actions .view-details:hover {
    background-color: #66cc66;
    transform: scale(1.05);
}

/* Apply Now button */
.job-actions .apply-now {
    background-color: #66cc66;
    border: 1px solid #66cc66;
}

.job-actions .apply-now:hover {
    background-color: #004d00;
    transform: scale(1.05);
}





/* Job Listings Section */
.job-listings-section {
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.job-listings {
    width: 100%;
    margin-top: 20px;
}

.job-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: left;
}

.job-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

/* Job Number Styling */
.job-table td strong {
    font-weight: bold;
    font-size: 18px;
    color: #004d00;
}



.job-table tbody tr {
    transition: background-color 0.3s ease; /* Smooth transition effect */
}

.job-table tbody tr:hover {
    background-color: #f0f0f0; /* Light background color on hover */
    /*cursor: pointer;  Changes cursor to pointer on hover */
}

/*.job-table tbody tr td a {
    color: inherit;  Inherit the text color 
    text-decoration: none;
}*/




/* Action Buttons */
.action-buttons {
    text-align: right;
}

.view-details-button,
.apply-now-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004d00;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.view-details-button:hover,
.apply-now-button:hover {
    background-color: #66cc66;
}

/* More Jobs Button */
.more-jobs {
    margin-top: 30px;
}

.cta-button {
    padding: 20px 80px;
    background-color: #004d00;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #66cc66;
}








/* Footer */
footer {
    background-color: #004d00;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-family: 'Arial', sans-serif;
}







/* General button styles */
.job-actions {
    text-align: right; /* Align buttons to the right */
}

.job-actions a {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    color: white;
    font-size: 16px;
}

/* View Details button */
.job-actions .view-details {
    background-color: #004d00;
    border: 1px solid #004d00;
    font-size: 14px;
}

.job-actions .view-details:hover {
    background-color: #66cc66;
    transform: scale(1.05);
}

/* Apply Now button */
.job-actions .apply-now {
    background-color: #66cc66;
    border: 1px solid #66cc66;
    font-size: 14px;
}

.job-actions .apply-now:hover {
    background-color: #004d00;
    transform: scale(1.05);
}

/* Add icons to the table headers */
th {
    font-weight: bold;
    text-align: left;
    padding: 10px;
    position: relative;
}

th.sortable:hover {
    cursor: pointer;
    color: #66cc66;
}

/* FontAwesome icons for sorting */
th.sortable::after {
    content: '\f0dc'; /* FontAwesome sort icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    color: #ccc;
}

th.sortable.sorted-asc::after {
    content: '\f0de'; /* FontAwesome up arrow */
}

th.sortable.sorted-desc::after {
    content: '\f0dd'; /* FontAwesome down arrow */
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #66cc66;
    color: white;
    padding: 15px;
    border-radius: 50%;
    border: none;
    font-size: 25px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensures it appears above all other content */
}

.back-to-top:hover {
    background-color: #004d00;
    transform: scale(1.1);
}


