/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Source Sans 3", sans-serif;
}

/* Top bar */
#topBar {
    width: 100%;
    min-height: 65px;
    background-color: #001441;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    position: sticky;
    top: 0;
    left: 0;
    border-bottom: solid thin white;
    padding: 0 15px;
}

#topBar img {
    height: 65px;
    width: auto;
    display: block;
}

#socialLinks {
    height: auto;
    width: auto;
    margin: 0 15px;
}

#socialLinks a {
    text-decoration: none;
}

.raisedLink {
    position: relative;
    bottom: 0px;
    text-decoration: none;
    font-weight: 600;
    color: #FFF;
    display:none;
}

#links {
    margin: 0 15px;
    font-size: 1.05em;
}

#links a {
    color: #FFF;
    text-decoration: none;
}

/* Hero */
#heroArea {
    width: 100%;
    min-height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/alg_senior_hickory_nc.jpg');
    background-position: bottom;
    background-size: cover;
    padding: 30px 20px;
}

#heroArea img {
    display: none;
}

#heroText {
    padding: 20px;
    max-width: 900px;
}

#heroText h1 {
    margin: 20px 0;
    color: #FFF;
    line-height: 1.1;
}

#heroText p {
    font-size: 1.1em;
    font-weight: 350;
    color: #FFF;
    line-height: 1.5;
}

/* Main body */
#bodyBelow {
    width: 90%;
    margin: 25px auto;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Form wrappers */
#formContainer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

#contactForm {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

#careerHeader {
    text-align: center;
    color: #001441;
}

/* Apploi overrides */
.apploi-drop-down select {
    background-color: #001441 !important;
}

.ng-binding {
    color: #000 !important;
}

.job-link {
    color: #001441 !important;
}

.hidden-sm-down,
.jobs-card span {
    color: #001441 !important;
    font-size: 1em !important;
}

.search-job-container {
    width: 100% !important;
}

/* Contact form */
#contact_form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

#contact_form label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
}

#contact_form input,
#contact_form textarea,
#contact_form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background: #fafafa;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

#contact_form textarea {
    min-height: 140px;
    resize: vertical;
}

#contact_form input:focus,
#contact_form textarea:focus,
#contact_form select:focus {
    border-color: #4f46e5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

#contact_form button,
#contact_form input[type="submit"] {
    width: auto;
    min-width: 180px;
    max-width: 280px;
    align-self: center;
    background: #001441;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#contact_form button:hover,
#contact_form input[type="submit"]:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

/* Tablet and up */
@media (min-width: 768px) {
    #links {
        font-size: 1.15em;
        margin: 0 25px;
    }

    #bodyBelow {
        width: 85%;
        font-size: 1.2em;
    }
    .raisedLink {
        display:block;
    }

    #formContainer {
        padding: 0;
    }

    #contact_form {
        width: 80%;
        margin: 0 auto;
        padding: 24px;
    }

    #heroText {
        padding: 40px;
    }

    #heroText p {
        font-size: 1.2em;
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    #topBar {
        column-gap: 50px;
        padding: 0;
    }

    #socialLinks {
        margin: 0 30px;
    }

    #links {
        margin: 0 30px;
        font-size: 1.25em;
    }

    #heroArea {
        height: 500px;
        padding: 0;
    }

    #heroArea img {
        display: block;
        height: 75%;
        width: auto;
        margin: 0 40px;
    }

    #heroText {
        padding: 80px;
    }

    #heroText p {
        font-size: 1.25em;
    }

    #bodyBelow {
        width: 80%;
        margin: 25px 10%;
        font-size: 1.25em;
        line-height: 1.5em;
    }

    #formContainer {
        width: 60%;
        margin-left: 20%;
        padding: 0;
    }

    #contactForm {
        width: 80%;
    }

    #contact_form {
        width: 100%;
        margin: 0;
    }
}