/* AI Talent Hunt footer palette, scoped to the completed site pages. */
footer.ath-footer {
    --ath-footer-navy: #101c3d;
    --ath-footer-navy-deep: #0b1530;
    --ath-footer-blue: #123d66;
    --ath-footer-brand: #1fa2cc;
    --ath-footer-brand-deep: #0884b8;
    --ath-footer-teal: #26c9b3;
    --ath-footer-ice: #ecf6fa;
    --ath-footer-coral: #cf3e21;
    background-color: var(--ath-footer-navy) !important;
    background-image: linear-gradient(145deg, var(--ath-footer-navy-deep) 0%, var(--ath-footer-navy) 48%, var(--ath-footer-blue) 100%) !important;
}

/* Preserve and recolor the template's large rotated background shape. */
footer.ath-footer.bg-dark::after {
    background: linear-gradient(62.5deg, transparent 8%, rgba(31, 162, 204, 0.14) 100%);
    opacity: 1;
}

footer.ath-footer .fixed-bg {
    opacity: 0.12;
    filter: hue-rotate(-55deg) saturate(0.9) brightness(1.05);
}

footer.ath-footer .widget-title::after {
    background: linear-gradient(135deg, var(--ath-footer-brand) 0%, var(--ath-footer-teal) 100%);
    opacity: 0.18;
}

footer.ath-footer.bg-dark .item p,
footer.ath-footer.bg-dark .f-item .address ul li strong,
footer.ath-footer.bg-dark .f-item.link li a,
footer.ath-footer.bg-dark .footer-bottom p {
    color: #cbdde6;
}

footer.ath-footer.bg-dark .f-item.link li a:hover,
footer.ath-footer .social li a:hover {
    color: var(--ath-footer-teal);
}

footer.ath-footer .social li a {
    color: #d9edf4;
}

footer.ath-footer .footer-bottom {
    border-top-color: rgba(31, 162, 204, 0.24);
    background: linear-gradient(90deg, rgba(8, 132, 184, 0.10) 0%, rgba(31, 162, 204, 0.16) 100%);
}

footer.ath-footer.bg-dark .footer-bottom form input,
footer.ath-footer.bg-dark .footer-bottom form input:focus {
    color: #ffffff;
    border-color: rgba(31, 162, 204, 0.30);
    transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
}

footer.ath-footer.bg-dark .footer-bottom form input:focus {
    border-color: var(--ath-footer-teal);
    background-color: rgba(236, 246, 250, 0.06);
}

footer.ath-footer .footer-bottom form input::-webkit-input-placeholder {
    color: #b9d0da;
}

footer.ath-footer .footer-bottom form input::-moz-placeholder {
    color: #b9d0da;
}

footer.ath-footer .footer-bottom form input:-ms-input-placeholder {
    color: #b9d0da;
}

footer.ath-footer.bg-dark .footer-bottom form span.input-group-addon {
    border-left-color: rgba(31, 162, 204, 0.30);
}

footer.ath-footer.bg-dark .footer-bottom form span.input-group-addon button {
    background: linear-gradient(135deg, var(--ath-footer-brand-deep) 0%, var(--ath-footer-brand) 100%);
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(8, 132, 184, 0.28);
    transition: background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

footer.ath-footer.bg-dark .footer-bottom form span.input-group-addon button:hover,
footer.ath-footer.bg-dark .footer-bottom form span.input-group-addon button:focus {
    background: var(--ath-footer-coral);
    box-shadow: 0 7px 18px rgba(207, 62, 33, 0.24);
}

footer.ath-footer .footer-bottom .logo img {
    width: auto;
    height: 50px;
    max-width: 185px;
    object-fit: contain;
    opacity: 0.92;
    filter: brightness(0) invert(1) drop-shadow(0 5px 14px rgba(0, 0, 0, 0.18));
}

@media (max-width: 767px) {
    footer.ath-footer .footer-bottom .logo img {
        height: 42px;
        max-width: 155px;
    }
}

/*
 * Canonical shared footer layout.
 *
 * The values below preserve the approved Employers-page footer. The extra
 * ath-shared-footer class deliberately isolates this contract from legacy
 * template footers and prevents page-level design files from changing its
 * proportions, type, logo, spacing, or responsive behavior.
 */
html body footer.ath-footer.ath-shared-footer {
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: #ffffff;
    font-family: "Nunito", sans-serif;
}

html body footer.ath-footer.ath-shared-footer::after {
    left: -30%;
    top: 0;
    content: "";
    position: absolute;
    height: 600px;
    width: 1000px;
    border-radius: 50px;
    transform: rotate(45deg);
    z-index: -1;
    background: linear-gradient(62.5deg, transparent 8%, rgba(31, 162, 204, 0.14) 100%);
    opacity: 1;
    pointer-events: none;
}

html body footer.ath-footer.ath-shared-footer .container {
    position: relative;
    z-index: 2;
}

html body footer.ath-footer.ath-shared-footer .f-items {
    padding-top: 80px;
    padding-bottom: 62px;
}

html body footer.ath-footer.ath-shared-footer .item {
    margin-top: 50px;
}

html body footer.ath-footer.ath-shared-footer .f-item.about {
    padding-right: 30px;
}

html body footer.ath-footer.ath-shared-footer .footer-brand {
    display: block;
    width: auto;
    height: 64px;
    max-width: 230px;
    object-fit: contain;
    filter: none;
    margin: 0 0 23px;
}

html body footer.ath-footer.ath-shared-footer .footer-intro {
    max-width: 420px;
    margin: 0;
    color: #cbdde6;
    font-size: 15px;
    line-height: 1.8;
}

html body footer.ath-footer.ath-shared-footer .footer-contact {
    display: grid;
    gap: 12px;
    max-width: 420px;
    margin: 24px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(203, 221, 230, 0.16);
    font-style: normal;
}

html body footer.ath-footer.ath-shared-footer .footer-contact-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    color: #ffffff;
    text-decoration: none;
}

html body footer.ath-footer.ath-shared-footer .footer-contact-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

html body footer.ath-footer.ath-shared-footer .footer-contact-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html body footer.ath-footer.ath-shared-footer .footer-contact-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

html body footer.ath-footer.ath-shared-footer .footer-contact-copy > span {
    color: #ffad66;
    font-family: "Quicksand", sans-serif;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html body footer.ath-footer.ath-shared-footer .footer-contact-copy strong {
    overflow-wrap: anywhere;
    color: #e9f5f8;
    font-family: "Quicksand", sans-serif;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    transition: color 0.25s ease;
}

html body footer.ath-footer.ath-shared-footer .footer-contact-item:hover .footer-contact-icon,
html body footer.ath-footer.ath-shared-footer .footer-contact-item:focus .footer-contact-icon {
    color: #101c3d;
    border-color: #ffffff;
    background: #ffffff;
    transform: translateY(-2px);
}

html body footer.ath-footer.ath-shared-footer .footer-contact-item:hover .footer-contact-copy strong,
html body footer.ath-footer.ath-shared-footer .footer-contact-item:focus .footer-contact-copy strong {
    color: var(--ath-footer-teal);
}

html body footer.ath-footer.ath-shared-footer .footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

html body footer.ath-footer.ath-shared-footer .footer-social-link {
    display: inline-flex;
    align-items: center;
    color: #e9f5f8;
    text-decoration: none;
    transition: color 0.25s ease;
}

html body footer.ath-footer.ath-shared-footer .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e9f5f8;
    transition: color 0.25s ease, transform 0.25s ease;
}

html body footer.ath-footer.ath-shared-footer .footer-social-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

html body footer.ath-footer.ath-shared-footer .footer-social-link:hover,
html body footer.ath-footer.ath-shared-footer .footer-social-link:focus {
    color: #ffad66;
}

html body footer.ath-footer.ath-shared-footer .footer-social-link:hover .footer-social-icon,
html body footer.ath-footer.ath-shared-footer .footer-social-link:focus .footer-social-icon {
    color: #ffad66;
    transform: translateY(-2px);
}

html body footer.ath-footer.ath-shared-footer .widget-title {
    position: relative;
    z-index: 1;
    margin: 0 0 30px;
    color: #ffad66;
    font-family: "Quicksand", sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

html body footer.ath-footer.ath-shared-footer .widget-title::after {
    position: absolute;
    left: -15px;
    top: -10px;
    content: "";
    height: 40px;
    width: 40px;
    border-radius: 50%;
    z-index: -1;
    background: linear-gradient(135deg, var(--ath-footer-brand) 0%, var(--ath-footer-teal) 100%);
    opacity: 0.18;
}

html body footer.ath-footer.ath-shared-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

html body footer.ath-footer.ath-shared-footer .f-item.link li {
    margin: 0 0 15px;
    padding: 0;
}

html body footer.ath-footer.ath-shared-footer .f-item.link li:last-child {
    margin-bottom: 0;
}

html body footer.ath-footer.ath-shared-footer .f-item.link li a {
    display: inline-block;
    color: #cbdde6;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 700;
    font-family: "Quicksand", sans-serif;
    text-decoration: none;
    transition: color 0.25s ease;
}

html body footer.ath-footer.ath-shared-footer .f-item.link li a:hover,
html body footer.ath-footer.ath-shared-footer .f-item.link li a:focus {
    color: var(--ath-footer-teal);
}

html body footer.ath-footer.ath-shared-footer .footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(31, 162, 204, 0.24);
    background: linear-gradient(90deg, rgba(8, 132, 184, 0.10) 0%, rgba(31, 162, 204, 0.16) 100%);
}

html body footer.ath-footer.ath-shared-footer .footer-bottom .row {
    align-items: center;
}

html body footer.ath-footer.ath-shared-footer .footer-bottom p {
    margin: 0;
    color: #cbdde6;
    font-size: 15px;
    line-height: 1.7;
}

html body footer.ath-footer.ath-shared-footer .footer-bottom .footer-links {
    margin-top: 0;
    text-align: right;
}

html body footer.ath-footer.ath-shared-footer .footer-bottom .footer-links a {
    color: #cbdde6;
    margin-left: 22px;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 600;
    font-family: "Quicksand", sans-serif;
    text-decoration: none;
    transition: color 0.25s ease;
}

html body footer.ath-footer.ath-shared-footer .footer-bottom .footer-links a:hover,
html body footer.ath-footer.ath-shared-footer .footer-bottom .footer-links a:focus {
    color: var(--ath-footer-teal);
}

@media (max-width: 991px) {
    html body footer.ath-footer.ath-shared-footer .f-items {
        padding-top: 55px;
        padding-bottom: 50px;
    }

    html body footer.ath-footer.ath-shared-footer .f-item.about {
        padding-right: 15px;
    }
}

@media (max-width: 767px) {
    html body footer.ath-footer.ath-shared-footer .f-items {
        padding-top: 38px;
        padding-bottom: 42px;
    }

    html body footer.ath-footer.ath-shared-footer .item {
        margin-top: 38px;
    }

    html body footer.ath-footer.ath-shared-footer .footer-brand {
        height: 56px;
        max-width: 205px;
        margin-bottom: 20px;
    }

    html body footer.ath-footer.ath-shared-footer .footer-contact {
        margin-top: 20px;
        padding-top: 20px;
    }

    html body footer.ath-footer.ath-shared-footer .widget-title {
        margin-bottom: 22px;
    }

    html body footer.ath-footer.ath-shared-footer .footer-bottom,
    html body footer.ath-footer.ath-shared-footer .footer-bottom .text-right,
    html body footer.ath-footer.ath-shared-footer .footer-bottom .footer-links {
        text-align: center !important;
    }

    html body footer.ath-footer.ath-shared-footer .footer-bottom .footer-links {
        margin-top: 12px;
    }

    html body footer.ath-footer.ath-shared-footer .footer-bottom .footer-links a {
        margin: 0 8px;
    }
}
