body {
    font-family: 'Lato', sans-serif;
}

.back-arrow {
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
}

.job-header {
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-header h2 {
    font-weight: bold;
    margin: 0;
}

.job-header button {
    background-color: #17004c;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    width:199px;
    height: 40px;
}

.job-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.job-detail-item {
    position: relative;
    padding-right: 20px;
}

.job-detail-item:not(:last-child):not(.deadline)::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: #ccc;
}

.job-detail-item span {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.job-description {
    margin-top: 40px;
}

.job-description h3 {
    font-weight: bold;
    margin-bottom: 20px;
}

.duties-requirements {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.duties-requirements div {
    width: 45%;
    margin-bottom: 20px;
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    .job-details {
        grid-template-columns: 1fr;
    }

    .duties-requirements div {
        width: 100%;
    }
}

.vacancy {
    width: 1180px;
    padding: 0 20px;
}

.vacancy-section {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.dutiesRequiemnts{
    font-size: 24px;
    font-weight: bold
}

.vacancy-line {
    margin-top:30px;
    height: 2px
}

.vacancy-title{
    font-size:24px;
    font-weight: bold
}

#jobDescription{
    margin-bottom:10px
}

@media (max-width: 768px) {
    .job-header {
        display: block;
        margin-bottom: 20px;
    }

    .job-details {
        display: block;
        padding: 0;
    }

    .job-detail-item {
        display: block;
        padding: 10px 0;
        border: none;
    }

    .job-detail-item:not(:last-child)::after {
        content: none;
    }

    .job-detail-item span {
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }

    .job-detail-item p {
        margin: 0;
    }

    .vacancy {
        width: 100%;
        padding: 0 15px;
    }

    .back-arrow {
        margin-bottom: 10px;
    }

    /* New styling for the Apply button */
    .apply-now-container {
        width: 100%;
        margin-top: 20px;
    }

    .job-header button {
        width: 100%;
        margin-top: 0; /* Ensure no extra margin at the top */
        font-size: 16px;
    }
    #mobileApply{
        display: block !important;
        background-color: #17004c;
        color: white;
        border: none;
        border-radius: 10px;
        font-weight: bold;
        cursor: pointer;
        width: 354px;
                height: 40px;
    }
    #desktopApply{
        display: none
    }

    .job-detail-item:not(:last-child):not(.deadline)::after {
        display: none
    }
}


#mobileApply{
    display: none;
}

/* Form Section */
.ebook-form-section {
    width: 100%;
    background-color: #f9f9f9;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8;
}

.form-container {
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    padding: 30px;
    position: relative;
}

/* Form Styling */
.ebook-form .form-group {
    margin-bottom: 20px;
}

.ebook-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
}

.ebook-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.ebook-submit-btn {
    width: 100%;
    padding: 12px 0;
    background-color: #17004c;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ebook-submit-btn:hover {
    background-color: #32007a;
}

.custom-bg {
    background: #f9f9f9;
    border-radius: 8px;
}
.custom-header {
    font-family: 'Lato',sans-serif !important;
    font-weight: 700;
    font-size: 24px;
    color: #000;
    padding: 20px 0 10px;
}
.custom-input {
    background: transparent;
    height: 68px;
    border: 1px solid rgba(23, 0, 76, 0.5);
    border-radius: 4px;
    font-size: 20px;
    color: #000;
    padding: 20px 16px;
}
.custom-input::placeholder {
    color: #000;
}
.custom-input:focus {
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(23, 0, 76, 0.9);
}
.custom-input:disabled {
    background: rgba(229, 229, 229, 1);
}
.custom-button {
    background: #17004C;
    color: #fff;
    border-radius: 10px;
}
.custom-text {
    font-size: 10px;
    color: #000;
}
.custom-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    height: 68px;
    font-size: 20px;
    border: 1px solid rgba(23, 0, 76, 0.5);
    border-radius: 4px;
    padding: 0 16px;
}

.vacancy-form .btn {
    font-family: 'Lato',sans-serif;
    display: flex;
    justify-content: center;
    height: 50px;
    line-height: 50px;
    font-weight: 600;
    padding: 0 24px;
    background: #17004C;
    border-radius: 10px;
    border: 0 none;
}

.vacancy-form .btn:hover {
    background: #26007e;
}

.vacancy-form {
    width: 576px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .vacancy-form {
        width: 100%;
    }

    .custom-input {
        font-size: 14px;
    }

    .custom-file {
        font-size: 14px;
        padding-top: 4px;
    }

    .vacancy-form .btn {
        font-size: 14px;
    }
}
