/* || IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* || RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font: inherit;
}

/* || VARIABLES */
:root {
    /* FONTS */
    --FF-HEADINGS: "Montserrat", sans-serif;
    --FF-BODY: "Inter", sans-serif;

    --FS-XS: clamp(.75rem, .72rem + .15vw, .875rem);
    --FS-SM: clamp(.875rem, .84rem + .2vw, 1rem);
    --FS-BASE: clamp(1rem, .95rem + .25vw, 1.125rem);
    --FS-LG: clamp(1.125rem, 1rem + .4vw, 1.35rem);
    --FS-XL: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
    --FS-2XL: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    --FS-3XL: clamp(2rem, 1.6rem + 1.5vw, 2.75rem);
    --FS-4XL: clamp(2.5rem, 2rem + 2vw, 3.75rem);
    --FS-DISPLAY: clamp(3rem, 2.2rem + 3vw, 5rem);

    --FW-REGULAR: 400;
    --FW-MEDIUM: 500;
    --FW-SEMIBOLD: 600;
    --FW-BOLD: 700;

    --LETTER-SPACING: 0.01em;

    --LH-1: 1.2;
    --LH-2: 1.6;
    --LH-ALT: 1.4;

    /* COLORS */
    --COLOR-BG: #F5F5F5;
    --COLOR-SURFACE: #FFF;
    --COLOR-SURFACE-SECONDARY: #E5E5E5;
    --COLOR-PRIMARY: #00173F;
    --COLOR-ACCENT: #5a86ad;
    --COLOR-CONTRAST: #D4A017;
    --COLOR-LINK: #485D70;
    --COLOR-PRIMARY-TEXT: #111111;
    --COLOR-SECONDARY-TEXT: #C0C0C0;
    --COLOR-TERTIARY: #FFFFFF;
    --COLOR-QUARTENERY: #555555;
    --COLOR-SUCCESS: #3B8F6B;
    --COLOR-ERROR: #D14343;
    --COLOR-BORDERS: #D9D9D9;

    /* BORDERS */
    --BORDER-LIGHT: #E5E7EB;
    --BORDER-DARK: #9CA3AF;
    --BORDER: #D1D5DB;

    /* STANDARD PADDING */
    --SPACE-1: .25rem;   /* 4px */
    --SPACE-2: .5rem;    /* 8px */
    --SPACE-3: 1rem;     /* 16px */
    --SPACE-4: 1.5rem;   /* 24px */
    --SPACE-5: 2rem;     /* 32px */
    --SPACE-6: 3rem;     /* 48px */
    --SPACE-7: 4rem;     /* 64px */
    --SPACE-8: 6rem;     /* 96px */
    --SPACE-9: 8rem;     /* 128px */
    --SPACE-10: 10rem;      /* 160px */
    --SPACE-11: 12rem;      /* 192px */
    --SPACE-12: 14rem;      /* 224px */

    /* SIZES */
    --SIZE-1: .25rem;    /* 4px */
    --SIZE-2: .5rem;     /* 8px */
    --SIZE-3: 1rem;      /* 16px */
    --SIZE-4: 1.5rem;    /* 24px */
    --SIZE-5: 2rem;      /* 32px */
    --SIZE-6: 3rem;      /* 48px */
    --SIZE-7: 4rem;      /* 64px */
    --SIZE-8: 6rem;      /* 96px */
    --SIZE-9: 8rem;      /* 128px */
    --SIZE-10: 10rem;      /* 160px */
    --SIZE-11: 12rem;      /* 192px */
    --SIZE-12: 14rem;      /* 224px */
    --SIZE-13: 16rem;      /* 256px */
    --SIZE-14: 18rem;      /* 288px */
    --SIZE-15: 20rem;      /* 320px */
    --SIZE-16: 22rem;      /* 352px */
    --SIZE-17: 24rem;      /* 384px */
    --SIZE-18: 26rem;      /* 412px */

    /* BORDER RADIUS */
    --RADIUS-XS: .25rem;
    --RADIUS-SM: .5rem;
    --RADIUS-MD: .75rem;
    --RADIUS-LG: 1rem;
    --RADIUS-XL: 1.5rem;
    --RADIUS-FULL: 9999px;

    /* SHADOWS */

    --SHADOW-SM: 0 2px 8px rgba(0, 0, 0, .08);
    --SHADOW-MD: 0 8px 24px rgba(0, 0, 0, .10);
    --SHADOW-LG: 0 16px 40px rgba(0, 0, 0, .15);

    /* TRANSITIONS */

    --TRANSITION-FAST: 150ms ease;
    --TRANSITION-NORMAL: 250ms ease;
    --TRANSITION-SLOW: 400ms ease;
}

/* @media (prefers-color-scheme: dark) {
    :root {
        --COLOR-BG: #08111F;
        --COLOR-SURFACE: #101C2D;
        --COLOR-PRIMARY: #5A86AD;
        --COLOR-ACCENT: #7CA6CC;
        --COLOR-PRIMARY-TEXT: #FFFFFF;
        --COLOR-SECONDARY-TEXT: #C6CCD3;
        --COLOR-TERTIARY: #111111;
        --COLOR-QUARTENERY: #C0C0C0;

        --BORDER-LIGHT: 1px solid #243244;
        --BORDER-DARK: 1px solid #4A5A70;
        --BORDER: 1px solid #344154;
    }
} */

/* || GENERAL ELEMENTS */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--COLOR-BG);
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1;
}

a {
    text-decoration: none;
    color: var(--COLOR-LINK);
    font-family: var(--FF-BODY);
}

.link {
    color: var(--COLOR-LINK);
    transition: all var(--TRANSITION-NORMAL);
}

.link:hover {
    color: var(--COLOR-ACCENT);
    transform: translateX(2px);
}

a:visited,
a:active {
    text-decoration: none;
}

main {
    min-height: 100vh;
}

h1,
h2, 
h3, 
h4, 
h5, 
h6 {
    font-family: var(--FF-HEADINGS);
    line-height: var(--LH-1);
    letter-spacing: var(--LETTER-SPACING);
    font-weight: var(--FW-BOLD);
}

h1 {
    font-size: var(--FS-4XL);
}

h2 {
    font-size: var(--FS-3XL);
    color: var(--COLOR-PRIMARY);
}

h3 {
    font-size: var(--FS-2XL);
}

h4 {
    font-size: var(--FS-XL);
}

h5 {
    font-size: var(--FS-BASE);
}

h6 {
    color: var(--COLOR-ACCENT);
    font-size: var(--FS-SM);
}

.h2-heading-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-1);
    margin-top: var(--SPACE-1);
}

p {
    font-family: var(--FF-BODY);
    font-weight: var(--FW-REGULAR);
    line-height: var(--LH-1);
    letter-spacing: var(--LETTER-SPACING);
}

.p-medium {
    font-size: var(--FS-BASE);
    font-weight: var(--FW-MEDIUM);
}

.p-xs {
    font-size: var(--FS-XS);
}

.p-small {
    font-family: var(--FF-BODY);
    font-size: var(--FS-SM);
}

.p-large {
    font-size: var(--FS-2XL);
}

.p-xlarge {
    font-size: var(--FS-3XL);
    font-weight: var(--FW-SEMIBOLD);
}

.p-link {
    color: var(--COLOR-LINK);
    transition: all var(--TRANSITION-NORMAL);
}

.primary {
    color: var(--COLOR-PRIMARY);
}

.white {
    color: var(--COLOR-TERTIARY);
}

.accent {
    color: var(--COLOR-ACCENT) !important;
}

.grey {
    color: var(#555555);
    font-weight: var(--FW-SEMIBOLD);
}

.bold {
    font-weight: var(--FW-BOLD);
}

.bold-emphasis {
    font-weight: var(--FW-BOLD);
    color: var(--COLOR-PRIMARY);
}

.btn-v1,
.btn-v2 {
    font-family: var(--FF-BODY);
    font-weight: var(--FW-MEDIUM);
    font-size: var(--FS-BASE);
    text-align: center;

    border-radius: var(--RADIUS-XS);
    padding: var(--SPACE-3);
}

.btn-v1 {
    color: var(--COLOR-TERTIARY);
    background-color: var(--COLOR-PRIMARY);
    border: 1.5px solid var(--COLOR-BORDERS);
    transition: all var(--TRANSITION-NORMAL);
}

.btn-v2 {
    color: var(--COLOR-PRIMARY);
    background-color: var(--COLOR-TERTIARY);
    border: 1.5px solid var(--COLOR-PRIMARY);
    transition: all var(--TRANSITION-NORMAL);
}

.btn-v2 svg {
    display: inline-block;
    margin-left: var(--SPACE-2);
    margin-bottom: -.35rem;
    transition: all var(--TRANSITION-NORMAL);
}

.btn-v2:hover svg {
    transform: translateX(2px);
}

.btn-v1:hover {
    transform: translateY(-2px);

    background-color: #041b42ee;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.btn-v2:hover {
    transform: translateY(-2px);

    background-color: #f0f0f0ee;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.btn-v3 {
    background-color: var(--COLOR-CONTRAST);
    color: var(--COLOR-PRIMARY-TEXT);

    font-family: var(--FF-BODY);
    font-weight: var(--FW-MEDIUM);
    font-size: var(--FS-BASE);

    padding: var(--SPACE-2) var(--SPACE-2);
    margin-right: var(--SPACE-5);

    border: var(--COLOR-PRIMARY-TEXT);
    border-radius: var(--RADIUS-XS);
    border: 1.5px solid var(--COLOR-PRIMARY-TEXT);

    cursor: pointer;

    white-space: nowrap;
    transition: all var(--TRANSITION-NORMAL);
}

.btn-v3:hover {
    transform: translateY(-2px);
    background-color: #d4a328f1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

label {
    font-family: var(--FF-BODY);

    padding-top: var(--SPACE-3);
    padding-bottom: var(--SPACE-1);
    display: block;
}

input,
select,
textarea {
    font-family: var(--FF-BODY);

    padding: var(--SPACE-2);
    border: 1px solid var(--BORDER-DARK);
    background-color: var(--COLOR-SURFACE);
    border-radius: var(--RADIUS-XS);
    margin: var(--SPACE-1) 0;
    width: 90%;
    color: var(--COLOR-PRIMARY-TEXT);
}

footer {
    position: relative;
    bottom: 0;
}

/* HEADER */

.header {
    display: flex;
    background-color: var(--COLOR-PRIMARY);
    height: var(--SPACE-7);
    align-items: center;
    justify-content: space-between;
    padding-right: var(--SPACE-2);
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    right: -5rem;
    width: 200px;
    margin-right: auto;
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    background-color: var(--COLOR-PRIMARY);
    left: 0;
    top: 100%;
    width: 100%;
    position: absolute;
    transform: translateY(-150%);
    transition: var(--TRANSITION-NORMAL);
    opacity: 0;
    visibility: hidden;
}

.nav-wrapper.active {
    transform: translateY(0);
    transition: var(--TRANSITION-NORMAL);
    opacity: 1;
    visibility: visible;
}

.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--SPACE-4);
    top: 0;
}

.nav-link {
    color: var(--COLOR-TERTIARY);
    font-family: var(--FF-BODY);
    font-weight: var(--FW-MEDIUM);
    font-size: var(--FS-BASE);
    text-decoration: none;
    padding: var(--SPACE-2) var(--SPACE-4);
}

.nav-link:hover {
    color: var(--COLOR-TERTIARY);
    width: 100%;
    text-align: center;
    transition: var(--TRANSITION-NORMAL);
}

.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: var(--SIZE-5);
    height: var(--SIZE-4);
    cursor: pointer;
    margin-right: var(--SPACE-3);
    background-color: transparent;
    border: none;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--COLOR-TERTIARY);
    border-radius: var(--RADIUS-SM);
}

@media screen and (min-width: 1024px) {
    .nav-wrapper {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: static;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        background-color: transparent;
    }

    .nav {
        flex-direction: row;
    }

    .nav-link {
        padding: 0;
        text-align: center;
        color: var(--COLOR-LINK);
    }

    .burger {
        display: none;
    }
    
    .btn-v3 {
        margin-left: auto;
    }
}

/* || HERO SECTION */

.hero-section {
    height: 92vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    overflow: hidden;
}

.hero-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* width: 992px; */
    /* width: auto; */
    grid-area: 1 / 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    height: 92vh;
    background-image: linear-gradient(90deg, #000b1fcb);
    padding:  var(--SPACE-9) var(--SPACE-6);
    /* align-items: flex-end; */
    grid-area: 1 / 1;
}

.hero-text .h5 {
    margin: var(--SPACE-2) 0;
}

.hero-text-wrapper {
    margin-top: auto;
}

.hero-text .p-medium {
    color: var(--COLOR-SECONDARY-TEXT);
    margin: var(--SPACE-3) 0;
}

.hero-buttons-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    gap: var(--SPACE-3);
    margin: var(--SPACE-2) 0;
}

@media screen and (min-width: 1024px) {
    .hero-buttons-wrapper {
        display: flex;
        flex-direction: row;
        margin-bottom: var(--SPACE-4);
    }

    .hero-buttons-wrapper .btn-v1,
    .hero-buttons-wrapper .btn-v2 {
        /* width: var(--SIZE-9); */
        margin-bottom: 0;
        padding: var(--SPACE-2);
    }
}

/* || SERVICE SECTION */

.service-section {
    padding: var(--SPACE-6);
}

.service-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-3);
}

.service-card svg {
    margin-left: var(--SPACE-1);
    margin-bottom: var(--SPACE-2);

    color: var(--COLOR-ACCENT);
}

.service-section .h6 {
    padding: var(--SPACE-1) 0;
}

.service-section-wrapper .p-medium {
    color: var(--COLOR-QUARTENERY);
}

.service-section .p-link {
    text-align: end;
    padding: var(--SPACE-5) 0;
}

.link svg {
    display: inline-block;
    margin-left: var(--SPACE-2);
    margin-bottom: -.35rem;
    transition: all var(--TRANSITION-NORMAL);
}

.link:hover svg {
    transform: translateX(2px);
}

.service-grid {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
}

.service-card {
    background-color: var(--COLOR-SURFACE-SECONDARY);
    padding: var(--SPACE-3);
    border: 2px solid var(--BORDER-DARK);
    border-radius: var(--RADIUS-XS);
}

.service-card .bold {
    padding-bottom: var(--SPACE-3);
    color: var(--COLOR-PRIMARY);
}

@media screen and (min-width: 640px) {
    .service-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(100px, 1fr));
        gap: var(--SPACE-4);
    }
}

@media screen and (min-width: 1024px) {
    .service-section-wrapper {
        display: flex;
        flex-direction: row;
        gap: var(--SPACE-6);
    }

    .service-section-wrapper .h2 {
        min-width: 50%;
    }

    .service-grid {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    /* .service-card {
        max-width: 20%;
    } */
}

/* || PROJECTS SECTION */

.projects-section {
    margin-top: var(--SPACE-4);
    padding: var(--SPACE-6);
    background-color: var(--COLOR-SURFACE-SECONDARY);
}

.projects-section .p-link {
    text-align: end;
    padding-top: var(--SPACE-4);
    padding-bottom: var(--SPACE-7);
}

.projects-slider {
    display: grid;
    grid-template-columns: 3rem 1fr 3rem;
    align-items: center;
    gap: var(--SPACE-2);
    margin: -2.3rem;
}

.slider-window {
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform .35s ease;
}

.project-card {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--RADIUS-XS);
    /* height: var(--SIZE-10); */
}


.project-image {
    display: block;
    width: 100%;
    height: var(--SIZE-16);
    object-fit: cover;
}

.project-article {
    position: absolute;
    bottom: 0;
    /* inset: auto 0 0; */
    width: 100%;
    min-height: var(--SPACE-4);

    padding: var(--SPACE-2);

    color: var(--COLOR-TERTIARY);

    background-color: #5e5e5edc;
    /* background: linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    ); */
}

.project-card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: var(--SPACE-2);
}

.project-card-footer .p-small {
    color: var(--COLOR-ACCENT);
    font-weight: var(--FW-SEMIBOLD);
}

.project-card-footer .p-xs {
    color: var(--COLOR-SECONDARY-TEXT);
}

.slider-btn {
    width: var(--SIZE-5);
    height: var(--SIZE-5);

    border: none;
    border-radius: 50%;

    color: #555555;
    background-color: transparent;

    font-weight: var(--FW-BOLD);
    font-size: var(--FS-2XL);

    cursor: pointer;
    transition: all var(--TRANSITION-NORMAL);
}

.slider-btn:hover {
    color: var(--COLOR-ACCENT);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: var(--SPACE-7);
}

.dot {
    width: var(--SIZE-2);
    aspect-ratio: 1;

    border: none;
    border-radius: 50%;

    background: var(--COLOR-TERTIARY);

    cursor: pointer;
}

.dot.active {
    background:var(--COLOR-QUARTENERY);
}

@media screen and (min-width: 640px) {

    .projects-section .project-card {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .projects-section .p-link {
        padding: var(--SPACE-5) 0;
    }

    .projects-section .projects-slider {
        display: block;
        margin: 0;
    }

    .projects-section .project-card-footer {
        margin-top: var(--SPACE-1);
    }

    .projects-section .slider-window {
        overflow: visible;
    }

    .projects-section .slider-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;

        transform: none;
    }

    .projects-section .project-card {
        flex: initial;
    }

    .projects-section .slider-btn,
    .projects-section .slider-dots {
        display: none;
    }
}

/* || CREDIBILITY */

.credibility {
    background-image: url(../img/clearview-fence.jpeg);
    background-size: cover;
}

.credibility-grid {
    display: grid;
    padding: var(--SPACE-3);
    grid-template-columns: repeat(2, 1fr);
    gap: var(--SPACE-6);
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    background-color: #00173f86;
}

.credibility-line-outer {
    display: none;
}

.credibility-grid .p-xlarge {
    color: var(--COLOR-TERTIARY);
}

.credibility-grid .p-small {
    color: var(--COLOR-ACCENT);
    font-weight: var(--FW-BOLD);
}

@media screen and (min-width: 1024px) {
    .credibility-grid {
        display: flex;
        justify-content: space-between;
        gap: 0;
    }

    .credibility-line-outer {
        display: block;
        width: 3px;
        height: 100px;
        background-color: var(--COLOR-TERTIARY);
    }
}

/* || CLIENTS */

.clients {
    padding: var(--SPACE-6);
    margin: var(--SPACE-6) 0;
    overflow: hidden;
}

.clients .h3 {
    text-align: center;
    margin-bottom: var(--SPACE-5);
}

/* Hide anything outside the container */
.ticker-wrapper {
    overflow: hidden;
    width: 100%;
}

/* The moving row */
.client-ticker {
    display: flex;
    gap: var(--SPACE-5);

    min-height: var(--SIZE-7);
    width: max-content;
    animation: scroll 20s linear infinite;
}

/* Individual client cards */
.client {
    padding: var(--SPACE-3) var(--SPACE-6);
    max-width: var(--SIZE-7);
    border-radius: var(--RADIUS-XS);
    white-space: wrap;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: var(--FW-BOLD);
    color: #00173fbb;
    text-align: center;

    background: var(--COLOR-SURFACE-SECONDARY);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.client-ticker:hover {
    animation-play-state: paused;
}

/* || TESTIMONIALS */

.testimonials {
    padding: var(--SPACE-6);
    background-color: var(--COLOR-SURFACE-SECONDARY);
}

.testimonials .h2-heading-wrapper {
    justify-self: center;
}

.testimonials h2,
.testimonials .h6 {
    text-align: center;
}

.testimonials-wrapper {
    margin-top: var(--SPACE-5);

    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
    text-align: center;
}

.client-quote {
    margin-bottom: var(--SPACE-3);
    font-style: italic;
}

.client-name {
    font-weight: var(--FW-BOLD);
}

.client-position {
    font-weight: var(--FW-SEMIBOLD);
    color: var(--COLOR-ACCENT);
}

@media screen and (min-width: 1024px) {
    .testimonials-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
    }
}

/* || CTA */

.cta {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-3);
    padding: var(--SPACE-6);
    text-align: center;
}

.cta .p-medium {
    color: var(--COLOR-QUARTENERY);
    margin-bottom: var(--SPACE-2);
}

.cta .btn-v3 {
    align-self: center;
    margin-right: 0;
}

.cta-btn-wrapper {
    transition: all var(--TRANSITION-NORMAL);
}

.cta-btn-wrapper:hover {
    transform: translateY(-2px);
}

/* || PAGE HERO */

.page-hero-wrapper {
    padding: var(--SPACE-6);
    background-color: #5a86ad50;
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-1);
}

.page-hero-wrapper .h5 {
    color: var(--COLOR-ACCENT);
    font-weight: var(--FW-BOLD);
}
.page-hero-wrapper .h1 {
    color: var(--COLOR-PRIMARY);
    font-weight: var(--FW-BOLD);
}

.page-hero-wrapper .p-medium {
    color: var(--COLOR-QUARTENERY);
    font-weight: var(--FW-SEMIBOLD);
}

/* || FOOTER */

.credentials-wrapper {
    padding: var(--SPACE-3);
    background-color: var(--COLOR-SURFACE-SECONDARY);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.credentials {
    font-size: var(--FS-S);
    color: var(--COLOR-QUARTENERY);
    line-height: 1.5em;
}

/* || SERVICE PAGE */
        /* SERVICES */
.servicepage-services {
    padding: var(--SPACE-6);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
}

.service {
    padding: var(--SPACE-4);
    border: 1px solid var(--BORDER-DARK);
    background-color: var(--COLOR-SURFACE-SECONDARY);
    border-radius: var(--RADIUS-XS);
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-3);
}

.service ul {
    padding-left: var(--SPACE-3);
    line-height: var(--LH-ALT);
}

@media screen and (min-width: 768px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--SPACE-3);
    }
}
        /* DIVIDER */

.divider {
    height: 2px;
    width: 80%;
    justify-self: center;
    background-color: var(--COLOR-QUARTENERY);
}

        /* PROCESS */

.servicepage-process {
    padding: var(--SPACE-6);
}

.process-grid {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);

    padding: var(--SPACE-5) 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-2);

    background-color: var(--COLOR-TERTIARY);
    border: 2px solid var(--BORDER-LIGHT);

    padding: var(--SPACE-4);
}

.process-step .h5{
    color: var(--COLOR-PRIMARY);
}

.process-number {
    color: #5a86ad70;
}

@media screen and (min-width: 640px) {
    .process-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .process-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}

        /* MAINTENANCE PLAN */

.maintenance-plan {
    padding: var(--SPACE-3) var(--SPACE-6);
}

.maintenance-plan .h3 {
    color: var(--COLOR-PRIMARY);
}

.maintenance-plan .h3:first-child {
    justify-self: center;
}

.plans-grid {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);

    margin: var(--SPACE-6) 0;
}

.plan {
    border: 1px solid var(--BORDER-DARK);
    background-color: var(--COLOR-SURFACE-SECONDARY);
}

.plan:nth-child(2) {
    border: 1px solid var(--BORDER-LIGHT);
    background-color: var(--COLOR-PRIMARY);
}

.plan {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-3);
    padding: var(--SPACE-4);
    min-height: var(--SIZE-18);
    transition: all var(--TRANSITION-NORMAL);
}

.plan:hover {
    transform: translateY(-5px);
}

.plan:nth-child(2) .p-large {
    color: var(--COLOR-SECONDARY-TEXT);
}

.plan:nth-child(2) .p-small {
    color: var(--COLOR-TERTIARY);
}

.plan .divider {
    width: 95%;
    display: flex;
    justify-self: center;
}

.plan .p-small {
    padding-left: var(--SPACE-3);
    line-height: var(--LH-ALT);
}

.plan-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.plan-btn-wrapper {
    margin-top: auto;
    margin-bottom: var(--SPACE-3);
    padding-top: var(--SPACE-4);
    transition: all var(--TRANSITION-NORMAL);
}

.plan-btn-wrapper:hover {
    transform: translateY(-2px);
}

@media screen and (min-width: 1024px) {
    .plans-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* || CONTACT PAGE */
        /* FORM */

.contacts {
    padding: var(--SPACE-4);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
}

.contact-form {
    padding: var(--SPACE-4);
    background-color: var(--COLOR-SURFACE-SECONDARY);
    border-radius: var(--RADIUS-XS);
}

form {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--SPACE-3);
}

.contact-form button {
    margin-top: auto;
    margin-bottom: var(--SPACE-3);
}

.contact-grid .p-small {
    color: var(--COLOR-QUARTENERY);
}

.brief-textarea {
    min-height: 18vh;
}

.contact-details {
    padding: var(--SPACE-4);
    padding-bottom: 0;
}

.details-grid {
    margin-top: var(--SPACE-4);
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-2);

    padding: var(--SPACE-4);
    background-color: var(--COLOR-SURFACE-SECONDARY);
    border-radius: var(--RADIUS-XS);
}

.black {
    color: var(--COLOR-PRIMARY-TEXT);
}

.location-wrapper iframe {
    border: 1px solid var(--COLOR-BORDER-TWO);
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

.location-wrapper {
    border: 1px solid var(--BORDER-DARK);
    border-radius: 2px;
    margin: var(--SPACE-3) 0;
    width: 95%;
    height: 25%;
    aspect-ratio: 16/9;
}

@media screen and (min-width: 1024px) {
    .contact-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* || ABOUT US */
    /* DESCRIPTION */
.description {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-5);
    justify-content: center;

    padding: var(--SPACE-6);
    background-color: var(--COLOR-SURFACE-SECONDARY);
}

.description .h3 {
    text-align: center;
}

.about-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: var(--SPACE-6);
}

.about-img {
    justify-self: center;
    height: var(--SIZE-15);
    width: var(--SIZE-15);

    aspect-ratio: 1 / 1;
    overflow: hidden;

    border: 1px solid var(--BORDER-DARK);
    border-radius: var(--RADIUS-XS);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-description-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
    text-align: center;
    
}

@media screen and (min-width: 1024px) {
    .about-wrapper {
        display: flex;
        flex-direction: row-reverse;
        gap: var(--SPACE-9);

    }

    .about-description-wrapper {
        text-align: start;
        width: 60%;
    }
}

    /* OUR VALUES */

.values {
    padding: var(--SPACE-6);
}

.all-values {
    display: flex;
    flex-direction: column;
}

.value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--SPACE-5);

    background-color: var(--COLOR-SURFACE-SECONDARY);

    padding: var(--SPACE-6);
    margin: 0 -3rem;
}

.value:first-child {
    margin-top: var(--SPACE-6);
}

.value:nth-child(2) {
    background-color: var(--COLOR-BG);
    margin: 0 -3rem;
}

.value:last-child {
    margin-bottom: -3rem;
}

.value-img {
    height: var(--SIZE-13);
    width: var(--SIZE-13);

    aspect-ratio: 1 / 1;
    overflow: hidden;

    border: 1px solid var(--BORDER-DARK);
    border-radius: var(--RADIUS-XS);
}

.value-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.value-wrapper {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: var(--SPACE-4);
}

@media screen and (min-width: 1024px) {
    .value {
        display: flex;
        flex-direction: row;
        gap: var(--SPACE-8);

        background-color: var(--COLOR-SURFACE-SECONDARY);

        padding: var(--SPACE-6);
        margin: 0 -3rem;
    }
    
    .value:nth-child(2) {
        flex-direction: row-reverse;
        background-color: var(--COLOR-BG);
        margin: 0 -3rem;
    }

    .value-wrapper {
        display: flex;
        flex-direction: column;
        text-align: start;
        gap: var(--SPACE-4);
        width: 63%;
    }
}

#about .policy-callout {
    margin: var(--SPACE-6);
}

        /* OUR TEAM */

.team {
    display: flex;
    flex-direction: column;
    padding: var(--SPACE-6);
    text-align: center;
    gap: var(--SPACE-5);
}

.founder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--SPACE-4);
}

.founder-img {
    height: var(--SIZE-13);
    width: var(--SIZE-13);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--BORDER-DARK);
    border-radius: var(--RADIUS-XS);
}

.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team .p-large {
    color: var(--COLOR-QUARTENERY);
}

.founder-description {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-3);
}

.members-grid {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
}

.member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--SPACE-3);

    border: 1px solid var(--BORDER-DARK);
    border-radius: var(--RADIUS-XS);
    background-color: var(--COLOR-SURFACE-SECONDARY);

    padding: var(--SPACE-4);
}

.member-img {
    height: var(--SIZE-12);
    width: var(--SIZE-12);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--BORDER-DARK);
    border-radius: var(--RADIUS-FULL);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-description {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-3);
}

.team .p-large{
    font-size: var(--FS-LG);
}

@media screen and (min-width: 1024px) {
    .team {
        text-align: start;
    }

    .founder {
        flex-direction: row;
        align-items: start;
        gap: var(--SPACE-7);
    }

    .founder-description {
        width: 60%;
    }

    .members-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin: var(--SPACE-2) -1rem;
    }
}

/* || PROJECT PAGE */
    /* RECENT PROJECT */

.recent-projects {
    background-color: var(--COLOR-SURFACE-SECONDARY);
    padding: var(--SPACE-4);
}

.recent-projects .h3 {
    color: var(--COLOR-PRIMARY);
    padding: var(--SPACE-2) var(--SPACE-4) var(--SPACE-3) var(--SPACE-5);
}

.recent-projects .projects-slider {
    margin: 0 -1.5rem;
}

.recent-projects .project-card {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    align-items: center;
    text-align: center;
    padding: var(--SPACE-1);
    gap: var(--SPACE-3);
    border-radius: 0;
}

.recent-project-img {
    height: var(--SIZE-15);
    width: var(--SIZE-15);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--RADIUS-XS);
}

.recent-project-img .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.recent-project-text {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
}

.project-details-wrapper {
    display: flex;
    justify-content: space-between;
}

.project-details-wrapper .p-medium {
    color: var(--COLOR-QUARTENERY);
}
/* 
.project-detail {
    text-align: center;
} */

.full-project-btn {
    margin: var(--SPACE-4) 0;
    align-self: start;
    transition: all var(--TRANSITION-NORMAL);
}

.full-project-btn:hover {
    transform: translateY(-2px);
}

@media screen and (min-width: 1024px) {
    .projects-slider .project-card {
        display: flex;
        flex-direction: row;
        gap: var(--SPACE-6);
    }

    .recent-project-text {
        width: 55%;
    }
}

    /* ALL PROJECTS */

.all-projects {
    padding: var(--SPACE-6);
}

.all-projects .h2-heading-wrapper .p-medium {
    color: var(--COLOR-QUARTENERY);
    margin-top: var(--SPACE-2);
}

.project-filters {
    display: flex;
    gap: var(--SPACE-3);
    overflow-x: scroll;

    margin: var(--SPACE-4) 0;
    margin-left: -1rem;
}

.project-filters .btn-v2 {
    white-space: nowrap;
}

.project-filters .btn-v2:hover {
    transform: translateY(-0.5px);
}

.active-filter {
    background: var(--COLOR-PRIMARY);
    color: var(--COLOR-TERTIARY);
}

.active-filter:hover {
    background: #041b42ee;
    color: var(--COLOR-TERTIARY);
}

.all-projects .divider {
    width: 105%;
}

.projects-grid {
    display: grid;
    flex-direction: column;
    gap: var(--SPACE-3);

    margin: var(--SPACE-6) 0;
}

.projects-grid .project-card:hover {
    transform: translateY(-2px);
    transition: all var(--TRANSITION-SLOW);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .58);
    cursor: pointer;
}

.projects-grid .project-card:hover img {
    transform: scale(1.05);
    transition: all var(--TRANSITION-SLOW);
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--SPACE-4);

        margin: var(--SPACE-6) 0;
    }
}

/* || PRIVACY POLICY PAGE */

.policy-updated {
    color: var(--COLOR-QUARTENERY);
    margin-top: var(--SPACE-2);
}

.policy-content {
    padding: var(--SPACE-6);
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-6);
}

.policy-toc {
    padding: var(--SPACE-4);
    background-color: var(--COLOR-SURFACE-SECONDARY);
    border-radius: var(--RADIUS-XS);
}

.policy-toc .p-small {
    color: var(--COLOR-PRIMARY);
    margin-bottom: var(--SPACE-3);
}

.policy-toc ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-2);
}

.policy-toc a {
    font-size: var(--FS-SM);
}

.policy-body {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-6);
}

.policy-section h3 {
    color: var(--COLOR-PRIMARY);
    margin-bottom: var(--SPACE-3);
    scroll-margin-top: calc(var(--SPACE-7) + var(--SPACE-3));
}

.policy-section h5 {
    color: var(--COLOR-ACCENT);
    margin-top: var(--SPACE-4);
    margin-bottom: var(--SPACE-2);
}

.policy-section p {
    line-height: var(--LH-2);
    margin-bottom: var(--SPACE-3);
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section ul {
    padding-left: var(--SPACE-4);
    line-height: var(--LH-2);
    margin-bottom: var(--SPACE-3);
}

.policy-section li {
    margin-bottom: var(--SPACE-1);
}

.policy-callout {
    border-left: 3px solid var(--COLOR-CONTRAST);
    background-color: var(--COLOR-SURFACE-SECONDARY);
    padding: var(--SPACE-3) var(--SPACE-4);
    border-radius: var(--RADIUS-XS);
}

.policy-section .contact-card {
    margin-top: var(--SPACE-3);
    gap: var(--SPACE-1);
}

.policy-section .contact-card a {
    display: block;
}

@media screen and (min-width: 1024px) {
    .policy-content {
        display: grid;
        grid-template-columns: 250px 1fr;
        align-items: start;
        gap: var(--SPACE-7);
    }

    .policy-toc {
        position: sticky;
        top: calc(var(--SPACE-7) + var(--SPACE-3));
    }
}

    /* PRIVACY FAQ */

.policy-faq {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
    margin-top: var(--SPACE-4);
}

.policy-faq-item {
    padding: var(--SPACE-4);
    border: 1px solid var(--BORDER-LIGHT);
    border-radius: var(--RADIUS-XS);
    background-color: var(--COLOR-SURFACE);
}

.policy-faq-item h5 {
    color: var(--COLOR-PRIMARY);
    margin-bottom: var(--SPACE-2);
}

.policy-faq-item p {
    line-height: var(--LH-ALT);
}

@media screen and (min-width: 1024px) {
    .policy-faq {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* || FAQ PAGE */

.faq-category {
    scroll-margin-top: calc(var(--SPACE-7) + var(--SPACE-3));
}

.faq-category h3 {
    color: var(--COLOR-PRIMARY);
    margin-bottom: var(--SPACE-3);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
}

.faq-item {
    padding: var(--SPACE-4);
    border: 1px solid var(--BORDER-LIGHT);
    border-radius: var(--RADIUS-XS);
    background-color: var(--COLOR-SURFACE);
}

.faq-item h5 {
    color: var(--COLOR-PRIMARY);
    margin-bottom: var(--SPACE-2);
}

.faq-item p {
    line-height: var(--LH-ALT);
}

@media screen and (min-width: 1024px) {
    .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--SPACE-4);
    }
}

/* || PROJECT MODAL */

body.modal-open {
    overflow: hidden;
}

.projects-grid .project-card,
.recent-projects .full-project-btn .btn-v1 {
    cursor: pointer;
}

.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
}

.project-modal.active {
    display: block;
}

.project-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 23, 63, 0.7);
}

.project-modal-panel {
    position: relative;
    background: var(--COLOR-SURFACE);

    width: 100%;
    height: 100vh;
    height: 100dvh;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.project-modal-close {
    position: sticky;
    top: var(--SPACE-3);
    left: calc(100% - var(--SIZE-5) - var(--SPACE-3));

    display: flex;
    align-items: center;
    justify-content: center;

    width: var(--SIZE-5);
    height: var(--SIZE-5);

    background: var(--COLOR-PRIMARY);
    color: var(--COLOR-TERTIARY);
    border: none;
    border-radius: var(--RADIUS-FULL);

    font-size: var(--FS-LG);
    line-height: 1;
    cursor: pointer;

    z-index: 2;
}

.project-modal-gallery {
    position: relative;
    margin-top: calc(var(--SIZE-5) * -1);
}

.project-modal-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.project-modal-gallery-track::-webkit-scrollbar {
    display: none;
}

.project-modal-gallery-track img {
    flex: 0 0 100%;
    scroll-snap-align: start;

    width: 100%;
    height: var(--SIZE-15);
    object-fit: cover;
}

.project-modal-gallery-dots {
    position: absolute;
    bottom: var(--SPACE-3);
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: var(--SPACE-2);
}

.project-modal-gallery-dots .dot {
    width: var(--SIZE-1);
    aspect-ratio: 1;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    cursor: pointer;
}

.project-modal-gallery-dots .dot.active {
    background: var(--COLOR-TERTIARY);
}

.project-modal-body {
    padding: var(--SPACE-4);
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-4);
}

.project-modal-meta {
    text-transform: uppercase;
    letter-spacing: var(--LETTER-SPACING);
}

.project-modal-title {
    color: var(--COLOR-PRIMARY);
}

.project-modal-section h5 {
    color: var(--COLOR-ACCENT);
    margin-bottom: var(--SPACE-2);
}

.project-modal-section p {
    line-height: var(--LH-2);
}

.project-modal-stats {
    display: flex;
    flex-direction: column;
    gap: var(--SPACE-3);
}

.project-modal-stats .stat-label {
    color: var(--COLOR-QUARTENERY);
    margin-bottom: var(--SPACE-1);
}

.project-modal-quote-btn {
    align-self: center;
    margin-top: var(--SPACE-2);
}

@media screen and (min-width: 768px) {
    .project-modal-overlay {
        cursor: pointer;
    }

    .project-modal-panel {
        width: 90%;
        /* max-width: 46rem; */
        height: auto;
        max-height: 90vh;

        margin: 5vh auto;
        border-radius: var(--RADIUS-MD);
        box-shadow: var(--SHADOW-LG);
    }

    .project-modal-gallery-track img {
        height: var(--SIZE-16);
    }

    .project-modal-body {
        padding: var(--SPACE-5) var(--SPACE-6) var(--SPACE-6);
    }

    .project-modal-stats {
        flex-direction: row;
        gap: var(--SPACE-6);
    }

    .project-modal-stats > div {
        flex: 1;
    }
}