:root {
    --denim: #5D9CCA;
    --navy: #243970;
    --ink: #131C22;
    --tangerine: #FB9803;
    --pale: #DCF5FF;
    --white: white;
    --nav-height: 64px;
    --page-offset: var(--nav-height);
}

body {
    margin: 0px;
    padding: 0px;
    background-color: white;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

nav {
    width: calc(100vw - 40px);
    height: var(--nav-height);
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: rgba(36, 57, 112, 0.85);
    backdrop-filter: saturate(150%) blur(10px);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 20px rgba(0, 0, 0, 0.08);
}

nav .nav-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1200px;
}

nav .logo {
    height: 40px;
    display: block;
}

nav a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

nav a:hover {
    color: var(--pale);
}

nav .links-holder {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 24px;
}

nav .links-holder a.selected {
    color: var(--tangerine);
    text-decoration: none;
}

nav .links-holder a.apply {
    padding: 8px 16px;
    border-radius: 8px;
    background-color: var(--tangerine);
    color: #fff;
    transition: filter 0.15s ease, transform 0.15s ease;
}

nav .links-holder a.apply:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
    color: #fff;
}

nav .mob-toggle-nav {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

nav .mob-toggle-nav:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

nav .mob-toggle-nav svg {
    width: 24px;
    height: 24px;
}

@media screen and (max-width: 800px) {
    nav .mob-toggle-nav {
        display: flex;
    }
    nav .links-holder {
        display: none;
    }
}

.mobile-nav-drawer {
    position: fixed;
    top: var(--nav-height);
    left: 100vw;
    width: 100vw;
    height: calc(100vh - var(--nav-height));
    background-color: #fff;
    padding: 12px 0;
    overflow: auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform: translateX(0);
    opacity: 0;
    z-index: 2;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05);
}

.mobile-nav-drawer.open {
    left: 0px;
    opacity: 1;
}

.mobile-nav-drawer a {
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink);
    display: block;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.15s ease;
}

.mobile-nav-drawer a:hover {
    background-color: var(--pale);
}

.mobile-nav-drawer a.selected {
    color: var(--tangerine);
    border-left: 3px solid var(--tangerine);
    padding-left: 17px;
}

.mobile-nav-drawer a.apply {
    color: var(--tangerine);
    font-weight: 700;
}

.hero {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: auto;
    margin-top: var(--page-offset);
    padding: 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.start-section {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: auto;
    margin-top: var(--page-offset);
    padding: 20px;
}

.hero .image {
    width: calc(50% - 20px);
    flex-shrink: 0;
    height: 400px;
    background-image: url("../images/Banner.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.hero .content {
    width: calc(50% - 20px);
}

.hero h1 {
    font-size: 3rem;
}

.primary-btn,
.secondary-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    outline: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.primary-btn {
    background-color: var(--tangerine);
}

.secondary-btn {
    background-color: var(--navy);
}

.hero button {
    font-size: 1rem;
}

.primary-btn:hover,
.secondary-btn:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 850px) {
    .hero {
        flex-direction: column;
        gap: 0px;
        padding: 0px;
        width: 100%;
    }
    .hero .image {
        width: 100%;
        height: 100px;
        border-radius: 0px;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero .content {
        width: calc(100% - 40px);
        margin-left: 20px;
    }
}

.page-holder {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-holder > section,
.page-holder > .mobile-nav-drawer ~ section {
    flex: 1 0 auto;
}

.page-holder footer {
    background-color: var(--ink);
    padding: 56px 20px 24px;
    width: calc(100% - 40px);
    display: flex;
    justify-content: center;
    color: var(--white);
    margin-top: auto;
}

.page-holder footer .footer-content {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
        "brand   links"
        "copy    links";
    column-gap: 40px;
    row-gap: 12px;
    align-items: start;
}

.page-holder footer .footer-content > div:first-child {
    grid-area: brand;
}

.page-holder footer .footer-content > .copyright {
    grid-area: copy;
}

.page-holder footer .footer-content > .links-area {
    grid-area: links;
}

.footer-content .logo {
    height: 40px;
    display: block;
}

.footer-content .copyright {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 360px;
}

.footer-content .copyright b {
    color: var(--pale);
    font-weight: 600;
}

.footer-content .links-area {
    font-size: 0.9rem;
}

.footer-content .links-area u {
    text-decoration: none;
    display: block;
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    opacity: 0.9;
}

.footer-content .links-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-content .links-area a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-content .links-area a:hover {
    color: var(--tangerine);
}

.page-holder footer::before {
    content: none;
}

.page-holder footer .footer-content::after {
    content: "";
    grid-column: 1 / -1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 16px;
}

@media screen and (max-width: 700px) {
    .page-holder footer .footer-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "copy"
            "links";
        gap: 28px;
    }
}

.center-section {
    text-align: center;
}

.lede {
    max-width: 600px;
    margin: 0 auto 32px;
    color: rgba(19, 28, 34, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.faq {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid rgba(19, 28, 34, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.faq-item[open] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(19, 28, 34, 0.15);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background-color: rgba(220, 245, 255, 0.4);
}

.faq-item .chev {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--navy);
    transition: transform 0.2s ease;
}

.faq-item[open] .chev {
    transform: rotate(180deg);
}

.faq-item .faq-content {
    padding: 0 20px 18px;
    color: rgba(19, 28, 34, 0.75);
    line-height: 1.6;
}

.faq-item .faq-content p {
    margin: 0;
}

.team-grid {
    max-width: 1000px;
    margin: 32px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.team-card {
    background-color: #fff;
    border: 1px solid rgba(19, 28, 34, 0.1);
    border-radius: 12px;
    padding: 28px 20px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.team-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--pale);
    margin-bottom: 16px;
}

.team-name {
    margin: 0 0 4px;
    font-size: 1.2rem;
}

.team-role {
    margin: 0 0 12px;
    color: var(--tangerine);
    font-weight: 600;
    font-size: 0.9rem;
}

.team-bio {
    margin: 0;
    color: rgba(19, 28, 34, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media screen and (max-width: 800px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.job-header-text {
    flex: 1 1 400px;
}

.job-header-text h1 {
    margin: 0 0 8px;
    font-size: 2.5rem;
}

.job-header-text .lede {
    margin: 0;
    text-align: left;
    max-width: 600px;
}

.job-header-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.divider {
    border: none;
    border-top: 1px solid rgba(19, 28, 34, 0.1);
    margin: 32px 0;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.job-info h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.job-info p {
    margin: 0 0 16px;
    color: rgba(19, 28, 34, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.job-qa {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-qa-item h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.job-qa-item p {
    margin: 0;
    color: rgba(19, 28, 34, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media screen and (max-width: 800px) {
    .job-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .job-header-actions {
        flex-direction: row;
        width: 100%;
    }
    .job-header-actions button {
        flex: 1;
    }
}

.apply-section {
    position: relative;
}

.apply-back {
    margin-bottom: 16px;
}

.apply-card {
    max-width: 460px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid rgba(19, 28, 34, 0.1);
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.apply-card h1 {
    margin: 0 0 8px;
    font-size: 1.6rem;
}

.apply-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--ink);
    background-color: #fff;
    border: 1px solid rgba(19, 28, 34, 0.2);
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.apply-input:focus {
    border-color: var(--denim);
    box-shadow: 0 0 0 3px rgba(93, 156, 202, 0.18);
}

.apply-input.valid {
    border-color: #22a06b;
    box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.18);
}

.apply-input.invalid {
    border-color: #d13b3b;
    box-shadow: 0 0 0 3px rgba(209, 59, 59, 0.18);
}

.full-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
}

.dark-btn {
    background-color: var(--ink);
}

.dark-btn:disabled {
    background-color: rgba(19, 28, 34, 0.4);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.dark-btn:disabled:hover {
    filter: none;
    transform: none;
    box-shadow: none;
}

.file-status {
    margin: 4px 0 0;
    font-size: 0.85rem;
    text-align: left;
    color: rgba(19, 28, 34, 0.6);
}

.file-status.ok {
    color: #22a06b;
}

.apply-disclaimer {
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: rgba(19, 28, 34, 0.55);
    line-height: 1.5;
}

@media screen and (max-width: 500px) {
    .apply-card {
        padding: 24px 20px;
    }
}