/********** Template CSS **********/

:root {
    --primary: #00B074;
    --secondary: #2B9BFF;
    --light: #EFFDF5;
    --dark: #2B3940;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-primary {
    background-color: #039D2E !important;
}

.btn-primary:hover {
    background-color: #FDC040 !important;
    border: 1px solid #00B074;
}

.btn-square {
    padding: 8px !important;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Jobs ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 45px rgba(144, 165, 54, 0.08);
    transition: .5s;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
    cursor: pointer;
}

.text-truncate {
    font-weight: 400;
    color: #666565;
    font-size: 1rem;
}

.text-primary {
    color: #039D2E !important;
}

.fa-eye>span {
    padding-left: 5px !important;
    color: #666565;
    font-size: 0.7rem;
}

.filter-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-left: 60px !important;
    padding-right: 60px !important;
}

@media (max-width: 767px) {
    .filter-menu button {
        display: block;
    }

    .filter-form {
        display: none;
    }

    .filter-form.collapse.show {
        display: block;
    }

    .vacancy-deadline-date {
        font-size: 1.2rem;
    }
}

.form-row {
    display: flex;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 150px;
    margin-right: 15px;
}

.form-group:last-child {
    margin-right: 0;
}

.form-control:focus {
    border-color: #039D2E;
    box-shadow: 0 0 0 0.2rem lightgreen;
}

.form-control::selection {
    background-color: green !important;
}

.form-control>option:hover {
    background-color: green !important;
}

#custom-select {
    position: relative;
    width: 200px;
}

.btn-secondary:hover {
    background-color: red !important;
    transition: .3s !important;
    border: 1px solid #039D2E;
}

.close {
    background-color: red;
    box-shadow: 0 0 45px rgba(144, 165, 54, 0.08);
    color: white;
    font-size: 20px;
    border: 1px solid lightgoldenrodyellow;
    border-radius: 5px;
}

.page-header {
    background: linear-gradient(rgba(43, 57, 64, .5), rgba(43, 57, 64, .5)), url(../imgs/carousel-1.jpg) center center no-repeat !important;
    background-size: cover !important;
}

.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid var(--primary);
}

.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: var(--primary)
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

.vac-title {
    font-weight: 700;
}

.vac-short-info {
    color: white;
    font-weight: 500;
}

.vacancy-deadline-date {
    padding: 10px;
    border-radius: 8px;
    color: red;
    font-size: 1.3em;
    width: 35%;
    color: #FDC040;
    font-weight: 600;
}

.animated,
.animated_date {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.vacancy-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 90%;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 5px;
    font-family: "Quicksand", sans-serif !important;
    font-weight: 400;
    line-height: 1.5;
    color: #666565;
}

.coverletter {
    min-height: 200px !important;
}

.vacancy-send-btn {
    font-size: 17px !important;
    font-weight: 500 !important;
    padding: 20px 40px !important;
    color: #ffffff;
    border: none !important;
    background-color: #253D4E !important;
    border-radius: 10px !important;
    font-family: "Quicksand", sans-serif !important;
}

.summary,
.last_announcements {
    background-color: #EFFDF5 !important;
}

.last_vacancy_item {
    transition: .3s;
}

.last_vac_title {
    font-size: 1.3rem !important;
    color: #FDC040;
    transition: .3s;
}

.last_vac_title:hover {
    color: #039D2E !important;
}

.last-vac-informations {
    display: flex !important;
    flex-direction: column !important;
}
 
.last_vac_work_hour {
    color: #FDC040 !important;
}

.last_vac_deadline {
    color: #2B3940;
    
}

.fa-paper-plane {
    font-size: 18px;
}

.short-apply {
    font-size: 0.65rem !important;
    padding: 5px !important;
}

.swiper-pagination .swiper-pagination-bullet {
    background-color: #039D2E;
}

/* Swiper Container Styles */
.swiper {
    width: 100%;
    height: auto;
}

/* Swiper Slide Styles */
.swiper-slide {
    width: auto;
    height: auto;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.card-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.short-apply {
    font-size: 0.8rem;
    padding: 8px 16px;
}

/* Pagination Styles */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #888;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.swiper-pagination-bullet:hover {
    opacity: 1;
}

.last_vac_info {
    gap: 5px 10px !important;
}

.last_vac_info i {
    color: #039D2E;
}

.last_vac_info p {
    color: #2B3940 !important;
}

.deadline_end {
    color: red !important;
}

.short-apply-send {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 12px 30px !important;
    border-radius: 5px !important;
}

body.modal-open {
    overflow: hidden !important;
}

select {
    cursor: pointer !important;
    border: 1px solid #00B074 !important;
}

option {
    color: #253D4E !important;
    font-size: 17px !important;
}

.job-item {
    transition: .3s;
    border-radius: 5px;
}

.job-item:hover {
    border: 1px solid green !important;
}