/* Inner Banner Styles */
.inner_banner_mb {
    margin-bottom: 60px;
}

.inner_banner_recruitment {
    margin-bottom: 0px !important;
    margin-top: 86px;
}

.recruitment_banner {
    background-image: url(../images/aboutpage/about_banner.jpg); /* Update with your recruitment banner image */
    background-repeat: no-repeat;
    background-size: cover;
}

.inner_banner_title ul li,
.inner_banner_title ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
}

.inner_banner_title ul li {
    display: inline-block;
}

.recruitment_banner .inner_banner_title {
    display: inline-block;
    padding: 160px 0px;
    position: relative;
    text-align: left;
}

.inner_banner_title h1 {
    color: white;
    font-size: 60px;
    margin-top: 5px;
    font-weight: 700;
}

/* Recruitment Section */
.recruitment_section {
    background-color: #f8f8f8;
    padding: 100px 0px;
}

/* Search Section */
.recruitment_search_section {
    text-align: center;
    padding: 40px 0;
}

.recruitment_search_title {
    font-size: 36px;
    color: #fe0002; /* Red to match the theme */
    font-weight: 700;
    margin-bottom: 10px;
}

.recruitment_search_subtitle {
    font-size: 18px;
    color: #333;
    font-weight: 400;
    margin-bottom: 20px;
}

.recruitment_search_bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.search_input {
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    transition: border-color 0.3s ease;
}

.search_input:focus {
    border-color: #fe0002; /* Red border on focus */
    outline: none;
    box-shadow: 0 0 5px rgba(254, 0, 2, 0.2);
}

.search_btn {
    padding: 10px 20px;
    background-color: #fe0002; /* Red to match the theme */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search_btn:hover {
    background-color: #e60000; /* Slightly darker red on hover */
}

/* Positions List */
.recruitment_positions {
    max-width: 800px;
    margin: 0 auto;
}

.position_item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition for show/hide */
}

.position_item[style*="display: none"] {
    opacity: 0;
    transform: translateY(10px); /* Slight slide effect when hiding */
}

.position_item[style*="display: block"] {
    opacity: 1;
    transform: translateY(0); /* Reset position when showing */
}

.position_header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.position_header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.toggle_icon {
    font-size: 24px;
    color: #fe0002; /* Red to match the theme */
}

.position_area {
    padding: 20px;
    margin-top: -35px;
}

.position_area p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.position_details {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.position_details p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.apply_btn {
    padding: 10px 20px;
    background-color: #fe0002; /* Red to match the theme */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apply_btn:hover {
    background-color: #e60000; /* Slightly darker red on hover */
}

/* Modal Styles */
.modal-dialog {
    max-width: 500px; /* Set a reasonable width for the modal */
}

.modal-content {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.modal-header {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    padding: 20px;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.modal-body {
    padding: 30px;
}

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #fe0002; /* Red border on focus */
    box-shadow: 0 0 5px rgba(254, 0, 2, 0.2);
    outline: none;
}

.form-control[readonly] {
    background-color: #f0f0f0; /* Slightly gray background for read-only field */
    cursor: not-allowed; /* Indicate that the field is not editable */
}

.btn-primary {
    background-color: #fe0002; /* Red to match the theme */
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e60000; /* Slightly darker red on hover */
}

.submit_btn {
    background-color: #e60000 !important;
    border: solid 1px #e60000 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recruitment_section {
        padding: 50px 0px;
    }

    .recruitment_search_title {
        font-size: 28px;
    }

    .recruitment_search_subtitle {
        font-size: 16px;
    }

    .recruitment_search_bar {
        flex-direction: column;
        gap: 10px;
    }

    .search_input {
        max-width: 100%;
    }

    .position_header h4 {
        font-size: 18px;
    }

    .position_area p {
        font-size: 14px;
    }

    .position_details p {
        font-size: 14px;
    }

    .apply_btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .modal-dialog {
        max-width: 90%;
    }

    .modal-body {
        padding: 20px;
    }
}
