/* =========================================================
   AFOJAL
   CONSTRUCTION / ENGINEERING
   ========================================================= */


/* =========================================================
   FONTS
   ========================================================= */

@import url(
    'https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap'
);



/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --orange: #f59b23;

    --orange2: #ffb43b;

    --black: #090a0b;

    --dark: #111315;

    --panel: #181b1d;

    --line: #303437;

    --muted: #92979a;

    --white: #e9ecec;

    --green: #7da23b;

    --body: 'Rajdhani', sans-serif;

    --display: 'Barlow Condensed', sans-serif;

}



/* =========================================================
   RESET
   ========================================================= */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--black);

    color: var(--white);

    font-family: var(--body);

    font-size: 16px;

    line-height: 1.55;

}


a {

    text-decoration: none;

    color: inherit;

}


button,
input,
select,
textarea {

    font: inherit;

}


.container {

    width: min(
        1200px,
        calc(100% - 40px)
    );

    margin: auto;

}



/* =========================================================
   SCANLINES
   ========================================================= */

.scanlines {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 20;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.015) 0,
            rgba(255,255,255,.015) 1px,
            transparent 1px,
            transparent 4px
        );

    opacity: .35;

}



/* =========================================================
   HEADER
   ========================================================= */

.header {

    height: 78px;

    background: rgba(9,10,11,.96);

    border-bottom: 1px solid #333;

    position: sticky;

    top: 0;

    z-index: 100;

    backdrop-filter: blur(10px);

}


.nav {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



/* =========================================================
   BRAND
   ========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.brand-symbol {
    width: 48px;
    height: 48px;

    border: 2px solid var(--orange);

    display: grid;
    place-items: center;

    font-family: var(--display);
    font-weight: 800;
    font-size: 19px;

    color: var(--orange);

    transform: none;

    box-shadow:
        inset 0 0 18px
        rgba(245,155,35,.12);

    overflow: hidden;
}


.brand-symbol img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.brand strong {

    display: block;

    font-family: var(--display);

    font-size: 24px;

    letter-spacing: 2px;

}


.brand small {
    display: block;

    color: #ffffff;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.5px;
}



/* =========================================================
   NAVIGATION
   ========================================================= */

.nav nav {

    display: flex;

}


.nav nav a {

    padding: 29px 17px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #9ca0a2;

    border-bottom: 3px solid transparent;

}


.nav nav a:hover,
.nav nav a.active {

    color: #fff;

    border-bottom-color: var(--orange);

}
.nav nav a.quote-link {
    color: #f59b23 !important;
    border-bottom: 3px solid transparent !important;
    background: transparent !important;
}

.nav nav a.quote-link:hover {
    color: #f59b23 !important;
    border-bottom-color: #f59b23 !important;
}

/* Prevent active class from creating the underline */
.nav nav a.quote-link.active {
    color: #f59b23 !important;
    border-bottom-color: transparent !important;
}





/* =========================================================
   MOBILE MENU
   ========================================================= */

.menu-toggle {

    display: none;

    background: none;

    color: #fff;

    border: 1px solid #555;

    padding: 8px 12px;

}



/* =========================================================
   HERO
   ========================================================= */

.hero {

    height: 720px;

    position: relative;

    overflow: hidden;

    background: #151a1c;

}


.hero-bg {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.95) 0%,
            rgba(0,0,0,.68) 42%,
            rgba(0,0,0,.2) 100%
        );

    background-size: cover;

    background-position: center;

}


.hero-bg::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent 45%,
            rgba(245,155,35,.08) 45% 45.3%,
            transparent 45.3%
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 79px,
            rgba(255,255,255,.035) 80px,
            transparent 81px
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    padding-top: 145px;

}


.status {

    font-size: 11px;

    letter-spacing: 2px;

    color: var(--orange);

    font-weight: 700;

}


.status span:first-child {

    display: inline-block;

    width: 7px;

    height: 7px;

    background: var(--orange);

    border-radius: 50%;

    margin-right: 8px;

    box-shadow:
        0 0 10px var(--orange);

}


h1,
h2,
h3 {

    font-family: var(--display);

}


.hero h1 {

    font-size: clamp(
        58px,
        9vw,
        112px
    );

    line-height: .85;

    margin: 22px 0;

    font-weight: 800;

    letter-spacing: 2px;

}


.hero h1 em,
h2 em {

    color: var(--orange);

    font-style: normal;

}


.hero-content > p {

    max-width: 600px;

    color: #b8bdc0;

    font-size: 17px;

}



/* =========================================================
   BUTTONS
   ========================================================= */

.actions {

    display: flex;

    gap: 12px;

    margin-top: 30px;

}


.btn {

    border: 0;

    padding: 14px 25px;

    font-family: var(--display);

    font-weight: 800;

    letter-spacing: 1px;

    cursor: pointer;

    clip-path:
        polygon(
            8px 0,
            100% 0,
            calc(100% - 8px) 100%,
            0 100%
        );

    transition: .2s;

}


.btn:hover {

    filter: brightness(1.18);

    transform: translateY(-2px);

}


.btn.orange {

    background: var(--orange);

    color: #111;

}


.btn.dark {

    background: #25292b;

    color: #eee;

    border: 1px solid #555;

}



/* =========================================================
   HERO HUD
   ========================================================= */

.hero-hud {

    position: absolute;

    z-index: 3;

    bottom: 0;

    left: 50%;

    transform: translateX(-50%);

    width: min(
        1200px,
        calc(100% - 40px)
    );

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background: rgba(10,11,12,.92);

    border-top: 1px solid #45484a;

}


.hero-hud div {

    padding: 18px 25px;

    border-right: 1px solid #383b3d;

}


.hero-hud span,
.hero-hud small {

    display: block;

    color: #707578;

    font-size: 10px;

    letter-spacing: 1.5px;

}


.hero-hud b {

    font-family: var(--display);

    font-size: 34px;

    color: #eee;

}


.hero-hud small {

    color: var(--orange);

}



/* =========================================================
   MISSION BRIEF
   ========================================================= */

.brief {

    background: #1c2022;

    border-bottom: 1px solid #333;

    padding: 55px 0;

}


.brief-grid {

    display: grid;

    grid-template-columns:
        .8fr 1.4fr;

    gap: 70px;

    align-items: center;

}


label {

    font-size: 10px;

    letter-spacing: 2px;

    color: var(--orange);

    font-weight: 700;

}


.brief h2,
.heading h2 {

    font-size: 38px;

    line-height: 1;

    margin: 8px 0 15px;

}


.brief p {

    color: #888;

    max-width: 450px;

}


.brief form {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

}


.brief select,
.contact input,
.contact textarea {

    background: #101213;

    border: 1px solid #3b3f41;

    color: #ddd;

    padding: 14px;

    outline: 0;

}


.brief select:focus,
.contact input:focus,
.contact textarea:focus {

    border-color: var(--orange);

}



/* =========================================================
   GENERAL SECTION
   ========================================================= */

.section {

    padding: 100px 0;

}


.heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 35px;

}


.heading > span {

    font-size: 10px;

    color: #687074;

    letter-spacing: 2px;

}



/* =========================================================
   INTELLIGENCE
   ========================================================= */

.intel {

    background: #0c0e0f;

}


.intel-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 2px;

}


.intel-grid article {

    background: #171a1c;

    border: 1px solid #303437;

    padding: 28px;

    min-height: 260px;

    position: relative;

}


.intel-grid article:first-child {

    background:
        linear-gradient(
            135deg,
            #1b1d1e,
            #151719
        );

}


.intel-grid b {

    color: var(--orange);

    font-size: 10px;

    letter-spacing: 2px;

}


.intel-grid h3 {

    font-size: 25px;

    margin: 20px 0 12px;

}


.intel-grid p {

    color: #888;

    font-size: 14px;

}


.intel-grid a,
.service-grid a {

    position: absolute;

    bottom: 25px;

    color: var(--orange);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

}



/* =========================================================
   SERVICES
   ========================================================= */

.services {

    background: #141719;

}


.service-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 2px;

}


.service-grid article {

    background: #1b1e20;

    border: 1px solid #333;

    padding: 25px;

    min-height: 330px;

    position: relative;

    transition: .2s;

}


.service-grid article:hover {

    background: #202426;

    border-color: #555;

    transform: translateY(-5px);

}


.num {

    position: absolute;

    right: 20px;

    top: 18px;

    color: #555;

    font-family: var(--display);

    font-weight: 700;

}


.service-icon {

    width: 55px;

    height: 55px;

    border: 1px solid #555;

    color: var(--orange);

    display: grid;

    place-items: center;

    font-size: 25px;

    margin-bottom: 22px;

    background: #111;

}


.service-grid h3 {

    font-size: 22px;

}


.service-grid p {

    color: #888;

    font-size: 13px;

    margin-top: 12px;

}



/* =========================================================
   PROJECTS
   ========================================================= */

.projects {

    background: #090a0b;

}


.project-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 3px;

}


.project {

    height: 360px;

    position: relative;

    overflow: hidden;

    background-color: #252b2e;

    background-size: cover;

    background-position: center;

    cursor: pointer;

    transition:
        transform .35s ease,
        filter .35s ease;

}


.project::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            0deg,
            rgba(0,0,0,.9),
            transparent 60%
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 59px,
            rgba(255,255,255,.05) 60px,
            transparent 61px
        );

    transition:
        background .35s ease;

}


.project > div {

    position: absolute;

    bottom: 25px;

    left: 25px;

    z-index: 2;

    transition:
        transform .35s ease;

}


.project small {

    color: var(--orange);

    font-size: 9px;

    letter-spacing: 1.5px;

}


.project h3 {

    font-size: 30px;

}


.project p {

    color: #888;

    font-size: 11px;

}



/* LOCATION LABEL */

.project::after {

    content: var(--project-location);

    position: absolute;

    top: 22px;

    left: 22px;

    z-index: 3;

    opacity: 0;

    padding: 8px 12px;

    border-left: 2px solid var(--orange);

    color: var(--white);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.2px;

    background:
        rgba(9,10,11,.72);

    transform: translateY(-6px);

    transition:
        opacity .35s ease,
        transform .35s ease;

}


.project:hover {

    transform: scale(1.015);

    filter: brightness(1.08);

}


.project:hover::before {

    background:
        linear-gradient(
            0deg,
            rgba(0,0,0,.95),
            rgba(0,0,0,.5) 100%
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 59px,
            rgba(255,255,255,.05) 60px,
            transparent 61px
        );

}


.project:hover > div {

    transform: translateY(-8px);

}


.project:hover::after {

    opacity: 1;

    transform: translateY(0);

}



/* =========================================================
   ABOUT
   ========================================================= */

.about {

    background: #171a1c;

}


.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}


.tactical-card {

    height: 420px;

    border: 1px solid #454a4c;

    background-color: #121516;

    background-size: cover;

    background-position: center;

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 30px;

    overflow: hidden;

}


.tactical-card::before,
.tactical-card::after {

    content: "";

    position: absolute;

    background: #566066;

}


.tactical-card::before {

    width: 100%;

    height: 1px;

    top: 50%;

    left: 0;

}


.tactical-card::after {

    width: 1px;

    height: 100%;

    left: 50%;

    top: 0;

}


.crosshair {

    position: absolute;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%);

    font-size: 40px;

    color: var(--orange);

    z-index: 2;

}


.tactical-card span {

    font-size: 10px;

    color: var(--orange);

    letter-spacing: 2px;

    z-index: 2;

}


.tactical-card strong {

    font-family: var(--display);

    font-size: 48px;

    line-height: .85;

    margin: 10px 0;

    z-index: 2;

    white-space: pre-line;

}


.tactical-card small {

    color: #777;

    letter-spacing: 2px;

    z-index: 2;

}


.about h2,
.contact h2 {

    font-size: 58px;

    line-height: .9;

    margin: 15px 0 25px;

}


.about p,
.contact > p {

    color: #8d9396;

    margin: 15px 0;

    max-width: 550px;

}


.checks {

    margin-top: 28px;

    display: grid;

    gap: 8px;

}


.checks div {

    border-left: 3px solid var(--orange);

    background: #202426;

    padding: 11px 15px;

    font-size: 11px;

    letter-spacing: 1px;

}



/* =========================================================
   CTA
   ========================================================= */

.cta {

    padding: 60px 0;

    background:
        linear-gradient(
            90deg,
            #202426,
            #16191a
        );

    border-top: 1px solid #3a3d3f;

    border-bottom: 1px solid #3a3d3f;

}


.cta .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.cta h2 {

    font-size: 40px;

    margin-top: 8px;

}



/* =========================================================
   CONTACT
   ========================================================= */

.contact {

    background: #0d0f10;

}


.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

}


.contact-info {

    margin-top: 30px;

    display: grid;

    gap: 2px;

}


.contact-info div {

    background: #181b1d;

    border: 1px solid #303437;

    padding: 14px;

    color: #9b9fa1;

    font-size: 11px;

    letter-spacing: 1px;

}


.contact form {

    display: grid;

    gap: 10px;

}


.contact textarea {

    resize: vertical;

}


.contact #formMessage {

    color: var(--orange);

    font-size: 12px;

    margin-top: 8px;

}



/* =========================================================
   FOOTER
   ========================================================= */

footer {

    background: #080909;

    border-top: 1px solid #292c2d;

    padding: 28px 0;

    color: #606568;

    font-size: 10px;

    letter-spacing: 1px;

}


footer .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.brand-mini {

    color: #ddd;

    font-family: var(--display);

    font-size: 22px;

}


.brand-mini small {

    font-family: var(--body);

    font-size: 8px;

    color: #555;

    margin-left: 10px;

}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {


    .nav nav {

        display: none;

    }


    .menu-toggle {

        display: block;

    }


    .nav nav.open {

        display: flex;

        position: absolute;

        top: 78px;

        left: 0;

        right: 0;

        background: #101213;

        flex-direction: column;

        padding: 15px;

    }


    .nav nav.open a {

        padding: 14px;

    }


    .hero {

        height: 760px;

    }


    .hero-content {

        padding-top: 110px;

    }


    .hero-hud {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .brief-grid,
    .about-grid,
    .contact-grid {

        grid-template-columns: 1fr;

    }


    .intel-grid,
    .service-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .project-grid {

        grid-template-columns: 1fr;

    }


    .brief-grid {

        gap: 35px;

    }


    .about-grid {

        gap: 40px;

    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {


    .container {

        width:
            calc(100% - 24px);

    }


    .header {

        height: 70px;

    }


    .brand strong {

        font-size: 20px;

    }


    .brand small {

        font-size: 7px;

    }


    .hero {

        height: 800px;

    }


    .hero h1 {

        font-size: 58px;

    }


    .hero-content > p {

        font-size: 14px;

    }


    .actions {

        flex-direction: column;

        align-items: flex-start;

    }


    .hero-hud {

        width:
            calc(100% - 24px);

    }


    .hero-hud div {

        padding: 12px;

    }


    .hero-hud b {

        font-size: 25px;

    }


    .brief form,
    .intel-grid,
    .service-grid {

        grid-template-columns: 1fr;

    }


    .section {

        padding: 70px 0;

    }


    .heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 15px;

    }


    .heading h2,
    .brief h2 {

        font-size: 30px;

    }


    .project {

        height: 300px;

    }


    .about h2,
    .contact h2 {

        font-size: 45px;

    }


    .tactical-card {

        height: 330px;

    }


    .cta .container,
    footer .container {

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

    }


    .cta h2 {

        font-size: 30px;

    }

}

#projectLocation {

    width: 100%;

    padding: 16px 18px;

    background: #111315;

    color: #ffffff;

    border: 1px solid #34383b;

    font-family: inherit;

    font-size: 14px;

    font-weight: 500;

    cursor: pointer;

    outline: none;

    appearance: auto;
}


/* When the dropdown is focused */

#projectLocation:focus {

    border-color: #f59b23;

    box-shadow:
        0 0 0 1px #f59b23;

}


/* Country */

#projectLocation optgroup {

    background: #111315;

    color: #f59b23;

    font-size: 16px;

    font-weight: 800;

}


/* Region */

#projectLocation optgroup optgroup {

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    background: #181b1d;

}


/* Cities */

#projectLocation option {

    background: #090a0b;

    color: #d7d7d7;

    font-size: 13px;

    font-weight: 400;

    padding: 8px;

}

/* =========================================================
   DYNAMIC PROJECT STATUS SECTIONS
   ========================================================= */

.project-status-section + .project-status-section {
    margin-top: 75px;
}

.project-status-section[hidden] {
    display: none !important;
}

.project-status-section .heading {
    margin-bottom: 25px;
}

.project-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.project-status-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--orange);
}

#formMessage.is-error {
    color: #ff6b6b;
}

#formMessage.is-success {
    color: var(--orange);
}

.contact-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
