:root {
    --navy: #263570;
    --deep-navy: #14234a;
    --green: #00a85a;
    --red: #df303a;
    --ink: #10131d;
    --body-font: "Open Sans", Arial, sans-serif;
    --heading-font: "Montserrat", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 13px;
}

a {
    color: inherit;
    text-decoration: none;
}

.hero {
    height: clamp(355px, 51vw, 560px);
    max-height: calc(100vh - 50px);
    min-height: 330px;
    position: relative;
    overflow: hidden;
    background: #8296a6;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 53%;
    display: block;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 56%, rgb(0 0 0 / 17%));
    pointer-events: none;
}

.hero-caption {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 35%;
    width: min(57%, 650px);
    padding: 9px 14px 10px;
    transform: translateX(-50%);
    background: rgb(20 22 27 / 57%);
    color: white;
    text-align: center;
}

.hero-caption h1 {
    margin: 0 0 2px;
    font-family: var(--heading-font);
    font-size: clamp(18px, 2.3vw, 28px);
    font-weight: 700;
}

.hero-caption p {
    margin: 0;
    font-size: clamp(11px, 1.3vw, 15px);
}

.hero-arrow {
    position: absolute;
    z-index: 1;
    top: 46%;
    color: rgb(255 255 255 / 75%);
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 200;
    line-height: 1;
}

.hero-arrow-left {
    left: 7%;
}

.hero-arrow-right {
    right: 7%;
}

.social-rail {
    position: absolute;
    z-index: 1;
    top: 4px;
    right: 0;
    display: grid;
    background: #1e3678;
}

.social-rail a {
    width: 25px;
    height: 24px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid rgb(255 255 255 / 20%);
}

.service-ribbon {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 98px;
}

.ribbon-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* padding: 14px 8px 12px; */
    padding: 40px;
    color: #fff;
    text-align: center;
}

.ribbon-item strong {
    margin-bottom: 11px;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
}

.ribbon-item span {
    font-size: 16px;
    line-height: 1.35;
}

.ribbon-green {
    background: var(--green);
}

.ribbon-red {
    background: var(--red);
}

.ribbon-blue {
    background: var(--navy);
}

.ribbon-yellow {
    background: var(--purple);
}

.ribbon-purple {
    background: var(--yellow);
}

.about-section {
    min-height: 365px;
    display: grid;
    grid-template-columns: 28.3% 45.4% 26.3%;
    background: #fff;
}

.about-photo {
    min-height: 365px;
    background-size: cover;
    background-position: center;
}

.about-photo-health {
    background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1000&q=85");
}

.about-photo-industry {
    background-image: url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1000&q=85");
}

.about-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
    justify-content: center;
    /* padding: 24px clamp(18px, 5vw, 48px); */
    padding: 60px 40px 60px 40px;
}

.eyebrow {
    margin: 0 0 4px;
    color: var(--green);
    /* font-family: var(--heading-font); */
    font-size: 18px;
    font-weight: 800;
}

.about-copy h2 {
    margin: 0 0 14px;
    color: #e32d38;
    /* font-family: var(--heading-font); */
    font-size: 28px;
}

.about-copy > p:not(.eyebrow) {
    margin: 0 0 11px;
    font-size: 16px;
    line-height: 1.4;
    text-align: justify;
}

.button {
    min-width: 115px;
    padding: 8px 18px 8px 18px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: white;
    font-family: var(--body-font);
    font-size: 16px;
    cursor: pointer;
    transition: filter .2s ease;
}

.button:hover {
    filter: brightness(.92);
}

.button-green {
    align-self: center;
    margin-top: 3px;
    background: #00a85a;
}

.quote-section {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 10px;
    background: #24448e;
    color: #fff;
    text-align: center;
}

.quote-section blockquote {
    margin: 0 0 10px;
    /* font-family: var(--heading-font); */
    /* font-size: clamp(16px, 2vw, 22px); */
    font-size: 25px;
    font-weight: 700;
}

.quote-section p {
    margin: 0;
    font-size: 16px;
}

.industry-grid {
    min-height: 230px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.industry-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 22px;
    background: #303030;
    color: #fff;
    text-align: center;
}

.industry-card-light {
    background: #656565;
}

.industry-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-red {
    color: #f01824;
}

.icon-yellow {
    color: #ead225;
}

.icon-sky {
    color: #1684ff;
}

.icon-green {
    color: #00bb69;
}

.industry-card h2 {
    margin: 0 0 13px;
    /* font-family: var(--heading-font); */
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.industry-card p {
    max-width: 235px;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.resources-section {
    min-height: 328px;
    padding: 60px 7.2% 60px;
    background: #293776;
    color: #fff;
}

.section-heading {
    margin-bottom: 23px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 3px;
    /* font-family: var(--heading-font); */
    font-size: 25px;
    font-weight: 800;
}

.section-heading p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    max-width: 1030px;
    margin: auto;
}

.resource-card {
    min-height: 215px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 12px;
    border-radius: 14px;
    background: #fff;
    color: #111;
    text-align: center;
}

.resource-card svg {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    /* fill: black; */
    /* stroke: currentColor; */
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.resource-card h3 {
    margin: 0 0 12px;
    /* font-family: var(--heading-font); */
    font-size: 25px;
    /* font-weight: 800; */
}

.resource-card p {
    margin: 0;
    color: #53586b;
    font-size: 14px;
    line-height: 1.3;
}

.jobs-section {
    min-height: 270px;
    display: grid;
    grid-template-columns: 40.4% 59.6%;
}

.jobs-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #24448e;
    color: white;
    text-align: center;
}

.jobs-copy h2 {
    margin: 0 0 48px;
    /* font-family: var(--heading-font); */
    font-size: 30px;
}

.jobs-copy p {
    margin: 0 0 17px;
    font-size: 16px;
}

.button-teal {
    background: #13ca91;
}

.jobs-photo {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgb(23 41 79 / 24%), rgb(18 36 72 / 20%)), url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1500&q=85");
    background-size: cover;
    background-position: center;
}

.visa-overlay {
    position: absolute;
    inset: 0;
    overflow: hidden;
    color: rgb(255 255 255 / 70%);
    background-image: linear-gradient(30deg, transparent 24%, rgb(255 255 255 / 42%) 24.2%, transparent 24.7%, transparent 74%, rgb(255 255 255 / 42%) 74.2%, transparent 74.7%), linear-gradient(150deg, transparent 24%, rgb(255 255 255 / 32%) 24.2%, transparent 24.7%, transparent 74%, rgb(255 255 255 / 32%) 74.2%, transparent 74.7%);
    background-size: 170px 150px;
}

.visa-tag {
    position: absolute;
    font-size: clamp(12px, 1.7vw, 18px);
    text-shadow: 0 1px 5px #334;
}

.tag-work {
    top: 29%;
    left: 31%;
}

.tag-application {
    top: 11%;
    left: 54%;
}

.tag-passport {
    top: 48%;
    left: 8%;
}

.tag-travel {
    top: 53%;
    left: 46%;
    color: #fff;
}

.tag-tourism {
    top: 75%;
    left: 31%;
}

.tag-international {
    top: 75%;
    left: 68%;
}

.visa-badge {
    position: absolute;
    top: 24%;
    left: 59%;
    width: clamp(110px, 17vw, 175px);
    height: clamp(110px, 17vw, 175px);
    display: grid;
    place-items: center;
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
    background: rgb(58 139 233 / 83%);
    color: #fff;
    font-family: var(--heading-font);
    font-size: clamp(29px, 4.2vw, 47px);
    font-weight: 800;
}

@media (min-width: 1200px) {
    .about-copy {
        padding-right: 70px;
        padding-left: 70px;
    }
}

@media (max-width: 760px) {
    .ribbon-item {
        padding-right: 4px;
        padding-left: 4px;
    }

    .ribbon-item strong {
        font-size: 11px;
    }

    .ribbon-item span {
        font-size: 10px;
    }

    .about-copy {
        padding: 30px 22px;
    }

    .about-copy > p:not(.eyebrow) {
        font-size: 10px;
    }

    .industry-card {
        padding-right: 12px;
        padding-left: 12px;
    }

    .industry-card h2 {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .industry-card p {
        font-size: 10px;
    }

}

@media (max-width: 560px) {
    .hero {
        min-height: 300px;
        height: 65vh;
        max-height: 480px;
    }

    .hero-caption {
        width: 76%;
        bottom: 13%;
    }

    .service-ribbon {
        grid-template-columns: repeat(2, 1fr);
    }

    .ribbon-item {
        min-height: 92px;
    }

    .ribbon-item:last-child {
        grid-column: 1 / -1;
    }

    .about-section {
        grid-template-columns: 1fr 1fr;
    }

    .about-photo {
        min-height: 210px;
    }

    .about-copy {
        grid-row: 1 / span 2;
        grid-column: 1 / -1;
        padding: 35px 28px;
    }

    .about-photo-health,
    .about-photo-industry {
        min-height: 150px;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-card {
        min-height: 205px;
    }

    .resources-section {
        padding: 32px 18px;
    }

    .resource-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .resource-card {
        min-height: 185px;
        padding-right: 25px;
        padding-left: 25px;
    }

    .jobs-section {
        grid-template-columns: 1fr;
    }

    .jobs-copy {
        min-height: 225px;
    }

    .jobs-copy h2 {
        margin-bottom: 25px;
    }

    .jobs-photo {
        min-height: 250px;
    }

}
