
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --gold: #cc9226;
    --black: #050505;
    --cream: #f5f1e8;
    --muted: #777;
    --career-hero-copy-width: 440px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Outfit', Arial, sans-serif;
    color: #181818;
    background: var(--black);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, calc(100% - 80px));
    margin: auto;
}

/* Header */

.main-header {
    position: relative;
    z-index: 2;
    height: 150px;
    background: transparent;
    padding: 0;
    border-bottom: 0;
    margin: 0;
}

.brand {
    position: absolute;
    top: 58px;
    left: 60px;
    display: block;
}

.brand img {
    display: block;
    width: 78px;
    height: auto;
}

.career-header-controls {
    position: absolute;
    top: 28px;
    right: 4.2%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.main-header .mil-lang-switcher {
    position: absolute;
    top: 0;
    right: 48px;
    z-index: auto;
}

.main-header .mil-lang-current {
    gap: 6px;
    padding: 8px 12px;
}

.main-header .mil-lang-current::before {
    content: "GB";
}

.main-header .mil-lang-current .mil-lang-flag {
    display: none;
}

.career-menu-toggle {
    position: absolute;
    top: 56px;
    right: 0;
    display: block;
    width: 32px;
    height: 28px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.career-menu-toggle span,
.career-menu-toggle span::before,
.career-menu-toggle span::after {
    position: absolute;
    display: block;
    width: 30px;
    height: 2px;
    background: #888;
    content: "";
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.career-menu-toggle span {
    position: relative;
    margin: 0 auto;
}

.career-menu-toggle span::before {
    transform: translateY(-7px);
}

.career-menu-toggle span::after {
    transform: translateY(7px);
}

.career-menu-toggle[aria-expanded="true"] span {
    background: transparent;
}

.career-menu-toggle[aria-expanded="true"] span::before {
    transform: rotate(45deg);
}

.career-menu-toggle[aria-expanded="true"] span::after {
    transform: rotate(-45deg);
}

.main-links {
    position: absolute;
    top: 118px;
    right: 4.2%;
    z-index: 4;
    display: none;
    min-width: 210px;
    flex-direction: column;
    gap: 0;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(12, 12, 12, 0.96);
}

.main-links.is-open {
    display: flex;
}

.main-links a {
    display: block;
    padding: 12px 4px;
    color: var(--cream);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.main-links a:hover {
    color: var(--gold);
}

/* Hero Section */
.career-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    isolation: isolate;
    background: var(--black);
    min-height: 100vh;
    margin-top: calc(-1 * var(--career-header-height, 150px));
    display: flex;
    align-items: center;
}

.mil-animation-frame {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.career-hero .mil-animation-frame {
    top: 0;
    height: 100%;
}

.mil-animation {
    z-index: 0;
    opacity: 0.16;
    pointer-events: none;
}

.career-hero .hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 80px));
    padding: 0 15px;
    pointer-events: none;
}

.career-hero .hero-content h1,
.career-hero .hero-content > p,
.career-hero .hero-content a {
    pointer-events: auto;
}

.career-hero .mil-position-1 {
    top: 100px;
    right: 100px;
    left: auto;
}

.career-hero .mil-position-1 .mil-pentagon div {
    border-top: 0.2px solid #d79218;
}

.career-hero .mil-position-2,
.career-hero .mil-position-3 {
    display: block;
}

.career-hero .hero-content h1 br {
    display: block;
}

.career-hero h1 {
    max-width: 900px;
    margin: 0 0 64px;
    color: #eee;
    font-size: clamp(54px, 5.45vw, 86px);
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: -2.5px;
}

.career-hero h1 strong {
    font-weight: 500;
}

.career-hero .hero-content > p:not(.life-label) {
    max-width: var(--career-hero-copy-width);
    margin: 0 0 55px;
    color: #777;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.life-hero .life-label {
    position: absolute;
    top: -30px;
    left: 15px;
    margin: 0;
    color: var(--gold);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
}

.newsletter-note {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.footer-bottom-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(24px, 5vw, 70px);
}

.footer-bottom-left,
.footer-office-slider {
    min-width: 0;
}

.footer-office-slider {
    width: calc(100% - 4px);
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 16px;
    max-width: 100%;
    margin-left: 0;
    transform: none;
}

.footer-office-address {
    overflow-wrap: anywhere;
}

#site-footer > footer.mil-dark-bg {
    background: #090909;
    color: #aaa;
}

#site-footer > footer.mil-dark-bg::before {
    display: none;
}

@media (min-width: 1025px) {
    #site-footer .footer-office-slider {
        grid-template-columns: 48px minmax(0, 1fr) 48px !important;
        gap: 16px !important;
    }

    #site-footer .footer-office-slider .footer-office-arrow,
    #site-footer .footer-office-content {
        transform: none !important;
    }
}

@media (max-width: 1200px) {
    .career-hero {
        --career-header-height: 62px;
    }

    .main-header {
        height: 62px;
    }

    .brand {
        top: 0;
        left: 28px;
        display: flex;
        height: 62px;
        align-items: center;
    }

    .brand img {
        width: 60px;
    }

    .career-menu-toggle {
        position: relative;
        top: auto;
        right: auto;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 238px;
    min-height: 72px;
    background: var(--gold);
    color: #fff;
    padding: 10px 12px 10px 32px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    white-space: nowrap;
    transition: transform 0.4s cubic-bezier(0, 0, 0.3642, 1), filter 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.hero-btn span {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    background: var(--black);
    color: var(--gold);
    border-radius: 50%;
    font-size: 23px;
    transition: transform 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.hero-btn:hover {
    transform: scale(1.015);
    filter: brightness(110%);
}

.hero-btn:hover span {
    transform: scale(1.15);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
}

.hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: color 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.hero-secondary-btn span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: #1b1b1b;
    color: #fff;
    font-size: 23px;
    transition: transform 0.4s cubic-bezier(0, 0, 0.3642, 1), background-color 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.hero-secondary-btn:hover {
    color: #fff;
}

.hero-secondary-btn:hover span {
    transform: scale(1.15);
    background: #252525;
}

.life-card-arrow,
.opportunity-arrow {
    position: relative;
    display: grid;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    place-items: center;
    color: #aaa;
    font-size: 20px;
    line-height: 1;
    isolation: isolate;
}

.life-card-arrow::before,
.opportunity-arrow::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 50%;
    background: #252525;
    content: "";
    transform: scale(0.32);
    transition: transform 0.35s ease, background-color 0.35s ease;
}

.life-card:hover .life-card-arrow,
.life-card:focus-within .life-card-arrow,
.opportunity-card:hover .opportunity-arrow,
.opportunity-card:focus-within .opportunity-arrow {
    color: #050505;
}

.life-card:hover .life-card-arrow::before,
.life-card:focus-within .life-card-arrow::before,
.opportunity-card:hover .opportunity-arrow::before,
.opportunity-card:focus-within .opportunity-arrow::before {
    background: #cc9226;
    transform: scale(1);
}

/* Career Navigation */

.career-nav {
    background: #fff;
    border-bottom: 1px solid #e9e9e9;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 50px;
    min-height: 72px;
}

.career-nav a {
    color: #777;
    font-size: 16px;
    font-weight: 600;
    padding: 24px 0;
    white-space: nowrap;
    transition: color 0.3s;
}

.career-nav a:hover,
.career-nav a.active {
    color: var(--gold);
}

.career-nav a.active {
    font-weight: 600;
}

/* Why Deepshi Section */

.page-section {
    padding: 115px 0 125px;
    scroll-margin-top: 72px;
    background: #fff;
}

.section-label {
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
}

.page-section h2 {
    margin: 0 0 24px;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.1;
    font-size: clamp(40px, 13vw, 50px);
    letter-spacing: -1.5px;
}

.page-section h2 span {
    font-weight: 300;
}

.section-intro {
    max-width: 770px;
    margin: 0 0 55px;
    color: #737373;
    font-size: 20px;
    line-height: 1.7;
}

.about-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding: 30px 0 90px;
    border-top: 1px solid #e3e3e3;
}

.about-layout h3 {
    margin: 8px 0 17px;
    font-size: 25px;
}

.about-layout p,
.values-grid p {
    margin: 0;
    color: #747474;
    font-size: 16px;
    line-height: 1.8;
}

/* Core Values */

.values-heading {
    margin-bottom: 28px;
}

.values-heading h3 {
    margin: 0;
    font-size: 40px;
    letter-spacing: -1px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5px;
    background: rgba(255, 255, 255, 0.12);
}

.values-grid article {
    position: relative;
    overflow: hidden;
    background: var(--black);
    padding: 34px;
}

.values-grid article::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0, 0, 0.3642, 1);
}

.values-grid article:hover {
    background: var(--black);
}

.values-grid article:focus-within {
    background: var(--black);
}

.values-grid article::before {
    pointer-events: none;
}

.values-grid article:hover::before {
    transform: scaleX(1);
}

.values-grid article > span {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values-grid article > span:hover {
    transform: translateY(-3px) scale(1.12);
    box-shadow: 0 5px 14px rgba(204, 146, 38, 0.24);
}

.values-grid h4 {
    margin: 22px 0 12px;
    color: #eee;
    font-size: 26px;
}

.values-grid p {
    color: #999;
}

/* Tablet */

@media (max-width: 851px) {
    .container {
        width: calc(100% - 44px);
    }

    .career-hero .mil-dodecahedron {
        width: 100px;
        height: 69px;
        transform-style: flat;
        animation: none;
    }

    .career-hero .mil-pentagon:not(:first-child) {
        display: none;
    }

    .career-hero .mil-pentagon:first-child {
        top: 0;
        left: 0;
        transform: none;
    }

    .career-hero {
        min-height: 100vh;
    }

    .career-hero .hero-content {
        width: calc(100% - 44px);
    }

    .nav-inner {
        gap: 28px;
        overflow-x: auto;
    }

    .about-layout,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-layout {
        gap: 20px;
        padding-bottom: 55px;
    }

    .page-section {
        padding: 75px 0;
    }
}

@media (min-width: 1201px) {
    .career-hero .hero-content {
        transform: translateY(25px);
    }
}

/* Mobile */

@media (max-width: 560px) {
    .brand {
        left: 16px;
    }

    .career-header-controls {
        right: 16px;
    }

    .main-links {
        right: 16px;
    }

    .career-hero h1 {
        font-size: clamp(42px, 12vw, 56px);
        letter-spacing: -1.5px;
        margin-bottom: 42px;
    }

    .career-hero .hero-content > p:not(.life-label) {
        margin-bottom: 38px;
        font-size: 15px;
    }

    .hero-btn {
        min-width: min(238px, 100%);
        padding-left: 22px;
        gap: 12px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .hero-actions {
        gap: 18px;
    }

    .life-hero .life-label {
        top: -25px;
        left: 15px;
    }

    .about-layout,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-heading h3 {
        font-size: 32px;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px 0;
    }

    .footer-bottom-left {
        transform: none;
    }

    .footer-office-slider {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 8px;
        min-height: 230px;
        margin-top: 0;
    }

    .footer-office-arrow {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 650px) {
    #site-footer .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px 0;
    }

    #site-footer .footer-bottom-left {
        transform: none;
    }

    #site-footer .footer-office-slider {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 8px;
        min-height: 230px;
        margin-top: 0;
    }

    #site-footer .footer-office-arrow {
        width: 36px;
        height: 36px;
    }
}
