/* General Styles */
.career-page {
    background-image: url("{% static 'images/Career_page_background.png' %}");
    background-size: cover; /* Ensures the image covers the entire page */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents repeating the image */
    padding: 30px 20px; /* Adjust padding if necessary */
}

/* Join Us Section */
.join-us {
    background-image: url("{% static 'images/business-concept-with-team-close-up.png %}"); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    padding: 20px; /* Adjusts the padding for better spacing */
    color: #fff; /* Optional: Adjust text color for better contrast */
    text-align: center; /* Optional: Center-aligns the text */
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #0a1f38, #122438);
    margin-bottom: 50px;
}

.join-us h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.join-us p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.join-us .btn-primary {
    padding: 10px 20px;
    background-color: #FF5722;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.join-us .btn-primary:hover {
    background-color: #155a96;
}

/* Available Positions Section */
.available-positions {
    padding: 30px 20px;
    background-color: #122438;
    border-radius: 10px;
}

.available-positions h2 {
    text-align: center;
    margin-bottom: 20px;
}

.job-listings {
    list-style: none;
    padding: 0;
}

.job-listings li {
    border: 1px solid #1d72b8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #1d2b46;
}

.job-listings li h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.job-listings li p {
    margin: 5px 0;
}

.job-listings .btn-secondary {
    padding: 8px 15px;
    background-color: #6c757d;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.job-listings .btn-secondary:hover {
    background-color: #5a6268;
}

/* Benefits Section */
.benefits {
    padding: 30px 20px;
    margin-top: 50px;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 30px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(3, auto); /* 3 rows */
    gap: 20px;
}

.benefit-item {
    background-color: #1d2b46;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #233a61;
}

.benefit-item h3 {
    margin-top: 0;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.benefit-item p {
    margin: 0;
}

/* Hiring Process Section */
.hiring-process {
    padding: 30px 20px;
    margin-top: 50px;
    background-color: #122438; /* Match background with available positions */
}

.hiring-process h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff; /* Set text color to white for contrast */
}

.hiring-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for 1, 2, 3 */
    gap: 20px;
    justify-items: center; /* Center the boxes */
}

.hiring-box {
    background-color: #1d2b46; /* Dark background to match other sections */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #233a61;
    color: #fff; /* White text for readability */
    text-align: left; /* Align text to the left for better layout */
}

.hiring-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Add circle style for numbers */
.hiring-box .circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #FF5722;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-right: 15px; /* Space between the circle and the text */
}

/* Style for the list items container */
.hiring-box ul {
    display: flex;
    flex-direction: column; /* Align items in a column */
    gap: 10px; /* Adds spacing between rows */
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    align-items: flex-start;
}

/* Add left alignment to each list item */
.hiring-box ul li {
    font-size: 1rem;
    display: flex;
    align-items: center; /* Align circle with text */
    text-align: left; /* Left align the text */
}

/* Add a dot before each list item */
.hiring-box ul li::before {
    content: "•"; /* Dot before each item */
    margin-right: 10px; /* Space between dot and text */
    font-size: 1.5rem; /* Size of the dot */
    color: white; /* Color of the dot */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .hiring-boxes {
        grid-template-columns: 1fr; /* Stack boxes vertically on smaller screens */
    }
}