@font-face {
    font-family: 'Klavika Basic';
    src: url('/assets/user/fonts/KlavikaCH-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Klavika Basic Bold';
    src: url('/assets/user/fonts/KlavikaCH-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

.main-career-section {
    background: url('/assets/user/images/Careers-bg.png') center/cover no-repeat;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 13%;
    color: rgb(32, 64, 34);
    position: relative;
    margin-top: -7%;
}

/* Responsive*/
@media (max-width: 1600px) {
    .main-career-section {
        height: 130vh;
    }
}

@media (max-width: 1200px) {
    .main-career-section {
        height: 130vh;
    }
}

@media (max-width: 992px) {
    .main-career-section {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-career-section {
        height: 110vh;
    }
}

@media (max-width: 575px) {
    .main-career-section {
        height: 140vh;
        margin-top: -27%;
    }
}

/* career-description styling */
.careers-description {
    text-align: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.careers-description h2 {
    margin-bottom: 50px;
    font-size: 3.5rem;
    color: rgb(32, 64, 34);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Klavika Basic', sans-serif;
    position: relative;
    display: inline-block;
}

.careers-description p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    max-width: 1200px;
    margin: 0 auto 2rem;
    text-align: justify;
    text-align-last: center;
}

.main-career-section .btn {
    margin-top: 1.5rem;
    text-align: center;
    text-transform: capitalize;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .careers-description h2 {
        font-size: 2.2rem;
    }

    .careers-description p {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .careers-description {
        padding: 3rem 1rem;
    }

    .careers-description h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .careers-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .careers-description h2 {
        font-size: 1.8rem;
    }

    .careers-description p {
        text-align: justify;
    }
}


form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 220px;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.input-container {
    width: 100%;
    position: relative;
}

.input::placeholder {
    color: rgb(32, 32, 32);
    opacity: 1;
}

.icon {
    position: absolute;
    right: 0px;
    top: calc(50% + 5px);
    transform: translateY(calc(-50% - 5px));
}

.input {
    width: 100%;
    height: 30px;
    padding: 10px;
    transition: .2s linear;
    border: 1.5px solid rgb(32, 64, 34);
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: 2px;
    background-color: initial;
    color: rgb(32, 32, 32);
    opacity: 1;
}

.input:focus {
    outline: none;
    border: 0.5px solid rgb(32, 64, 34);
    box-shadow: -5px -5px 0px rgb(32, 64, 34);
}

.input-container:hover>.icon {
    animation: anim 1s linear infinite;
}

.custom-dropdown .selected {
    width: 100%;
    height: 30px;
    padding: 10px;
    border: 1.5px solid rgb(32, 64, 34);
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: 2px;
    background-color: initial;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    cursor: pointer;
    transition: .2s linear;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgb(32, 32, 32);
    opacity: 1;
}

/* Dropdown options */
.custom-dropdown .options-container {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1.5px solid rgb(32, 64, 34);
    box-shadow: -5px -5px 0px rgb(32, 64, 34);
    z-index: 100;
}

.custom-dropdown .option {
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.custom-dropdown .option:hover {
    background-color: #f0f0f0;
}

.custom-dropdown.active .selected {
    box-shadow: -5px -5px 0px rgb(32, 64, 34);
    border: 0.5px solid rgb(32, 64, 34);
}

.input[type="file"] {
    font-family: 'Klavika Basic', sans-serif;
    position: relative;
    width: 100%;
    height: 30px;
    padding: 10px;
    transition: .2s linear;
    border: 1.5px solid rgb(32, 64, 34);
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: 2px;
    cursor: pointer;
    color: rgb(32, 32, 32);
    opacity: 1;
}

.input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
}

.input[type="file"]::before {
    content: attr(data-placeholder);
    display: inline-block;
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: 2px;
    padding: 5px 15px;
    position: relative;
    left: -6%;
    cursor: pointer;
    color: rgb(32, 32, 32);
    opacity: 1;
}

@keyframes anim {

    0%,
    100% {
        transform: translateY(calc(-50% - 5px)) scale(1);
    }

    50% {
        transform: translateY(calc(-50% - 5px)) scale(1.1);
    }
}

@media (max-width: 768px) {
    form {
        max-width: 90%;
        padding: 10px;
    }
}

/* Small screens */
@media (max-width: 480px) {
    form {
        gap: 15px;
    }

    .selected,
    .input,
    .option {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .btn {
        font-size: 12px;
        padding: 8px 16px;
    }
}