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

:root {
    /* --- Global Colors --- */
    --bg-light: #f0f0f0;
    --color-dark: #141414;
    --color-accent: #55D831;
    --text-secondary: #212121;
    --color-white: #f6f6f8;
    --color-grey: #ccc;

    /* --- Typography --- */
    --font-heading: "Archivo", sans-serif;
    --font-body: "Inter", sans-serif;

    /* --- New Subheading Typography --- */
    --subheading-font: var(--font-heading);
    --subheading-weight: 500;
    --subheading-transform: uppercase;
    --subheading-size: .75em;
    --subheading-spacing: 2px;

    

    /* --- Button & UI Styles --- */
    --btn-text-color: var(--color-dark);
    --btn-text-light: var(--bg-light);
    --btn-accent-bg: var(--color-accent);
    --btn-font: var(--font-body);
    --btn-font-size: .75em;
    --btn-border-radius: 15px;
    --btn-border-width: 2px;
    --btn-transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   2. RESET & BASE (Meyerweb Modified)
   ========================================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0; 
    padding: 0; 
    border: 0; 
    font-size: 100%; 
    font: inherit; 
    vertical-align: baseline;
}

*, *::before, *::after { 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; /* Kills the grey mobile tap box */
}

:focus { 
    outline: 0; 
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block; 
}

body { 
    line-height: 1; 
    width: 100%; 
    margin: 0; 
    padding: 0; 
    background-color: var(--bg-light); 
    position: relative; 
    cursor: crosshair; 
    overflow-x: hidden; 
}

blockquote, q { 
    quotes: none; 
}

blockquote:before, blockquote:after, q:before, q:after { 
    content: ''; 
    content: none; 
}

table { 
    border-collapse: collapse; 
    border-spacing: 0; 
}

input[type=search]::-webkit-search-cancel-button, 
input[type=search]::-webkit-search-decoration { 
    -webkit-appearance: none; 
}

input[type=search] { 
    -webkit-box-sizing: content-box; 
    -moz-box-sizing: content-box; 
    box-sizing: content-box; 
}

textarea { 
    overflow: auto; 
    vertical-align: top; 
    resize: vertical; 
}

audio, canvas, video { 
    display: inline-block; 
    display: inline; 
    zoom: 1; 
    max-width: 100%; 
}

audio:not([controls]) { 
    display: none; 
    height: 0; 
}

[hidden] { 
    display: none; 
}

html { 
    font-size: 100%; 
    -webkit-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%; 
}

a:focus { 
    outline: thin dotted; 
}

a:active, a:hover { 
    outline: 0; 
}

img, video { 
    border: 0; 
    -ms-interpolation-mode: bicubic; 
    width: 100%; 
}

figure, form { 
    margin: 0; 
}

fieldset { 
    border: 0; 
    margin: 0; 
    padding: 0; 
}

legend { 
    border: 0; 
    padding: 0; 
    white-space: normal; 
    margin-left: -7px; 
}

button, input, select, textarea { 
    font-size: 100%; 
    margin: 0; 
    vertical-align: baseline; 
    vertical-align: middle; 
}

button, input { 
    line-height: normal; 
}

button, select { 
    text-transform: none; 
}

button, html input[type="button"], input[type="reset"], input[type="submit"] { 
    cursor: pointer; 
    overflow: visible; 
}

button[disabled], html input[disabled] { 
    cursor: default; 
}

input[type="checkbox"], input[type="radio"] { 
    box-sizing: border-box; 
    padding: 0; 
    height: 40px; 
    width: 40px; 
}

button::-moz-focus-inner, input::-moz-focus-inner { 
    border: 0; 
    padding: 0; 
}

html, button, input, select, textarea { 
    color: var(--color-dark); 
}

::-moz-selection { 
    background: #b3d4fc; 
    text-shadow: none; 
}

::selection { 
    background: #b3d4fc; 
    text-shadow: none; 
}

.chromeframe { 
    margin: 0.2em 0; 
    background: var(--color-grey); 
    color: #000; 
    padding: 0.2em 0; 
}

a { 
    text-decoration: none; 
}

p { 
    font-family: var(--font-body); 
    font-weight: 400; 
    line-height: 1.25em; 
    letter-spacing:1px;
    font-size:.75em;
}

/* New Subheading Utility Class */
.subheading {
    font-family: var(--subheading-font);
    font-weight: var(--subheading-weight);
    text-transform: var(--subheading-transform);
    font-size: var(--subheading-size);
    letter-spacing: var(--subheading-spacing);
    color: var(--color-dark);
}

/* ==========================================================================
   3. GLOBAL UI (Overlays, Animations, Buttons)
   ========================================================================== */
@keyframes fadeBlurIn { 
    0% { filter: blur(20px); opacity: 0; } 
    100% { filter: blur(0px); opacity: 1; } 
}

@keyframes spreadOut { 
    0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); } 
    100% { opacity: 0; transform: translate(var(--drift-x), var(--drift-y)) scale(0.5) rotate(0deg); } 
}

@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 0.8; transform: translateY(0); } 
}

#main-content { 
    overflow-x: clip; 
    contain: layout paint; 
}

.loading-state { 
    filter: none; 
}

#main-content.content-ready { 
    filter: blur(0px); 
}

#main-content.content-ready::after { 
    transform: translateY(100%); 
}

#main-content::after {
    content: ""; 
    position: fixed; 
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(240, 240, 240, 1) 50%, rgba(240, 240, 240, 1) 100%);
    transform: translateY(-100%); 
    transition: transform 3s cubic-bezier(0.19, 1, 0.22, 1); 
    z-index: 9999; 
    pointer-events: none;
}

body:not(.home-page) .blur-overlay { 
    backdrop-filter: blur(8px); 
}

.blur-overlay {
    position: fixed; 
    inset: 0; 
    backdrop-filter: blur(20px); 
    background: rgba(255,255,255,0.2); 
    opacity: 0; 
    pointer-events: none; 
    z-index: 10; 
    transition: opacity .75s ease;
}

.blur-overlay.active { 
    opacity: 1; 
    pointer-events: auto; 
}

.sub-page .header, .sub-page .hamburger { 
    animation-duration: .25s; 
}

.sub-page .blur-overlay { 
    transition-duration: .25s; 
}

#ascii-trail-container { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1; 
    pointer-events: none; 
    overflow: hidden; 
}

.trail-char {
    position: absolute; 
    font-family: var(--font-body); 
    font-size: 14px; 
    color: var(--color-accent); 
    pointer-events: none; 
    user-select: none; 
    z-index: 10000;
    animation: spreadOut 0.8s forwards ease-out;
}

/* --- Global Buttons --- */
.btn-animate { 
    position: relative; 
    text-decoration: none; 
    display: inline-block; 
    color: var(--btn-text-color); 
    padding-bottom: 4px; 
    overflow: hidden; 
    font-size:.75em;
}

.btn-animate::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: var(--btn-border-width);
    background-color: var(--btn-accent-bg); 
    transform: scaleX(0); 
    transform-origin: right; 
    transition: var(--btn-transition);
}

.btn-animate:hover::after { 
    transform: scaleX(1); 
    transform-origin: left; 
}

.letstalk { 
    font-family: var(--btn-font); 
    font-size: var(--btn-font-size); 
    color: var(--btn-text-color); 
    text-decoration: none; 
    display: inline-block; 
    transition: var(--btn-transition); 
}
.backhome { 
    font-family: var(--btn-font); 
    font-size: var(--btn-font-size); 
    color: var(--btn-text-color); 
    text-decoration: none; 
    display: inline-block; 
    transition: var(--btn-transition); 
    margin-top:5%;
}

#missionButton { 
    font-family: var(--btn-font); 
    font-size: var(--btn-font-size); 
    color: var(--btn-text-light); 
    text-decoration: none; 
    display: inline-block; 
    transition: var(--btn-transition); 
    margin-top: 5%; 
}

#missionButton:hover { 
    background-color: var(--btn-accent-bg); 
    color: #f6f6f8; 
    padding-left: 5px; 
    padding-right: 5px; 
    cursor: crosshair; 
}

/* ==========================================================================
   4. GLOBAL LAYOUT (Header, Nav & Footer)
   ========================================================================== */
.header {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    border-bottom: 2px solid var(--color-dark);
    background: var(--bg-light); 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 2.5%; 
    transition: transform 0.3s ease; 
    z-index: 100; 
    animation: fadeBlurIn .75s ease-out forwards;
}

.header.hide { 
    transform: translateY(-100%); 
}

.header.show { 
    transform: translateY(0); 
}

.logo { 
    font-weight: bold; 
}

.logo img, .mobile-logo img { 
    height: 50px; 
    width: auto; 
    display: block; 
}

.nav { 
    display: flex; 
    gap: 20px; 
}

.nav a { 
    color: var(--color-dark); 
    font-size: 16px; 
    font-family: var(--font-body); 
    transition: var(--btn-transition); 
    font-weight: 400; 
}

/* Mobile Menu */
.hamburger { 
    display: none; 
    position: relative; 
    width: 24px; 
    height: 24px; 
    background: none; 
    border: none; 
    padding: 0; 
    font-size: 1.5rem; 
    cursor: pointer; 
    animation: fadeBlurIn .75s ease-out forwards; 
}

/* 1. Base transition for both icons - Change 0.8s to whatever speed you want */
.hamburger i { 
    position: absolute; 
    top: 0; 
    left: 0; 
    font-size: 1.5rem; 
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), 
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); 
    color: var(--color-dark); 
}

/* 2. Default State: Bars visible, X hidden & pre-rotated */
.hamburger .fa-bars {
    opacity: 1;
    transform: rotate(0deg);
}

.hamburger .fa-times { 
    opacity: 0;
    transform: rotate(-180deg); /* Starts rotated back so it spins forward */
}

/* 3. Active State (Clicked): Bars fade & spin out, X fades & spins in */
.hamburger.active .fa-bars { 
    opacity: 0; 
    transform: rotate(180deg); 
}

.hamburger.active .fa-times { 
    opacity: 1; 
    transform: rotate(0deg); 
}
.mobile-menu {
    position: fixed; 
    top: 0; 
    right: -90%; 
    width: 90%; 
    height: 100vh; 
    background: var(--bg-light); 
    z-index: 90;
    transition: transform 0.3s ease; 
    padding: 20px; 
    margin-top: 5%; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
}

.mobile-menu.open { 
    transform: translateX(-80%); 
}

.mobile-menu.open .hamburger .fa-bars { 
    opacity: 0; 
}

.mobile-menu.open .hamburger .fa-times { 
    opacity: 1; 
}

.mobile-menu-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.5); 
    z-index: 80; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease; 
}

.mobile-menu-overlay.active { 
    opacity: 1; 
    pointer-events: all; 
}

.mobile-logo img { 
    height: 40px; 
    margin-bottom: 30px; 
}

.mobile-nav { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
    width: 100%; 
}

.mobile-nav a { 
    width: 100%; 
    margin-bottom: 5%; 
    font-family: var(--font-heading); 
    font-size: 1.875em; 
    font-weight: 400; 
    letter-spacing: 1px; 
    color: var(--color-dark); 
}

/* Footer */
.footer-container { 
    width: 100%; 
    border-top: 2px solid var(--color-dark); 
    margin-top: 5%; 
    background-color: var(--bg-light); 
    color: var(--color-dark); 
    box-sizing: border-box; 
}

.footer-grid { 
    display: flex; 
    width: 100%; 
}

.footer-col { 
    flex: 1; 
    padding: 2rem; 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
}

.footer-col:last-child { 
    border-right: none; 
}

.footer-label { 
    font-size: 1.5em; 
    margin-bottom: 5%; 
    font-family: var(--subheading-font); 
    font-weight: 500;
    text-transform: uppercase; 
    color: var(--color-dark); 
}

.footer-links { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
}

.footer-links a { 
    font-family: var(--font-body); 
    font-size: .75em; 
    color: var(--color-dark); 
    display: inline-block; 
    transition: var(--btn-transition); 
}

.footer-logo-container { 
    width: 100%; 
    padding: 0; 
    overflow: hidden; 
}

.footer-big-logo { 
    display: block; 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
}


/* ==========================================================================
   5. SHARED MODULES (Used across multiple pages)
   ========================================================================== */
.work-container { 
    padding-left: 5%; 
    width: 100%; 
    max-width: 1440px; 
    margin: 0 auto 10%; 
    display: flex; 
    flex-direction: column; 
}

.projects-containerTitle { 
    color: var(--color-dark); 
    padding: 0; 
    z-index: 3; 
    max-width: 1200px; 
    font-family: var(--subheading-font); 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size:1.5em;
}

.projects-container { 
    display: flex; 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
    gap: 20px; 
}

.project-main { 
    width: 50%; 
    display: flex; 
    flex-direction: column; 
}

.project-main .project-image { 
    flex-grow: 1; 
    position: relative; 
    padding-bottom: 0; 
    height: 0; 
    min-height: calc(80% + 20px); 
}

.secondary-projects { 
    width: 100%; 
    display: flex; 
    flex-wrap: wrap; 
    flex-direction: row; 
    gap: 20px; 
}

.project-row { 
    display: flex; 
    gap: 20px; 
}

.project-secondary { 
    width: 23.5%; 
}

.project-secondary .project-image { 
    padding-bottom: 100%; 
}

.project-image { 
    position: relative; 
    padding-bottom: 100%; 
    overflow: hidden; 
}

.project-image img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.project-title { 
    margin-top: 15px; 
    min-height: 2.5em; 
    display: flex; 
    align-items: center; 
    font-family: var(--font-body); 
    font-size: .75em; 
    font-weight: 400; 
    color: var(--color-dark); 
}

.pcontainer { 
    display: flex; 
    width: 100%; 
    max-width: 1440px; 
    margin: 0 auto; 
    padding: 2.5% 5% 5% 0%; 
    gap: 20px; 
}

#pContainerButton { 
    display: flex; 
    width: 100%; 
    max-width: 1440px; 
    margin: 0 auto; 
    padding: 2.5% 5% 5% 0%; 
    gap: 20px; 
    justify-content: start; 
}



/* ==========================================================================
   5.1. PAGE: 404 (404.html)
   ========================================================================== */
.errorPageContainer { 
    background: var(--bg-light); 
    min-height: 100vh; 
    display: flex; 
    flex-direction: row; 
    margin-bottom: 5%; 
    justify-content: center; 
    overflow: hidden; 
    position: relative; 
}

.heroErrorPage { 
    display: inline-block; 
    height: auto; 
    width: 100%; 
    z-index: 5; 
    margin-bottom: 15%; 
     padding: 5%; 
}
.heroErrorPage > h1 { 
    color: var(--color-dark); 
   
    z-index: 3; 
    max-width: 1440px; 
    font-family: var(--font-heading); 
    font-weight: 700; 
    text-transform: uppercase; 
    margin: 30vh auto 0vh; 
    font-size: clamp(3rem, 8vw, 5rem); 
    line-height: 0.9; 
    letter-spacing: -0.04em; 
}


/* ==========================================================================
   6. PAGE: HOME (index.html)
   ========================================================================== */
.HeroContainer { 
    background: var(--bg-light); 
    min-height: 100vh; 
    display: flex; 
    flex-direction: row; 
    margin-bottom: 5%; 
    justify-content: center; 
    overflow: hidden; 
    position: relative; 
}

.heroHome { 
    display: inline-block; 
    height: auto; 
    width: 100%; 
    z-index: 5; 
    margin-bottom: 15%; 
}

.heroHome > h1 { 
    color: var(--color-dark); 
    padding: 5%; 
    z-index: 3; 
    max-width: 1440px; 
    font-family: var(--font-heading); 
    font-weight: 700; 
    text-transform: uppercase; 
    margin: 30vh auto 0vh; 
    font-size: clamp(2.5rem, 8vw, 5rem); 
    line-height: 0.95; 
    letter-spacing: -0.05em; 
}

.hero-services { 
    position: absolute; 
    bottom: 50px; 
    width: 100%; 
    padding: 0 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 10; 
    padding-bottom: 5%; 
    max-width: 1440px; 
}

.hero-services span { 
    color: var(--color-dark); 
    font-family: var(--subheading-font); 
    font-weight:500;
    text-transform: uppercase; 
    letter-spacing: 1px; 
    cursor: crosshair; 
    opacity: 0; 
    animation: fadeInUp 1s ease forwards; 
    animation-delay: 0.5s; 
}



.missionSection { 
    position: relative; 
    padding: 15% 5% 10% 5%; 
    width: 100%; 
    background-color: var(--color-dark); 
    box-sizing: border-box; 
    margin: 0 auto; 
    display: block; 
}

.missionSmallText { 
    position: absolute; 
    left: 5%; 
    color: var(--bg-light); 
    font-family: var(--font-heading); 
    font-size: .75rem; 
    text-transform: uppercase; 
    margin-top: 2vw; 
}

.missionSection > h1 { 
    text-indent: 25vw; 
    color: var(--bg-light); 
    font-size: clamp(2.5rem, 8vw, 5rem); 
    font-family: var(--font-heading); 
    text-transform: uppercase; 
    font-weight: 700; 
    padding: 0; 
    margin: 0; 
    line-height: 1.125em; 
    letter-spacing: -0.05em; 
}

.missionBigText { 
    color: var(--bg-light); 
}

.missionBigText span { 
    opacity: 0.15; 
    transition: opacity .5s ease; 
    display: inline; 
}

.missionBigText span.active { 
    opacity: 1; 
}

.aboutcontainer { 
    display: flex; 
    width: 100%; 
    max-width: 1440px; 
    margin: 0 auto; 
    padding: 2.5% 5% 5% 0%; 
    gap: 20px; 
}

#aboutContainerButton { 
    display: flex; 
    width: 100%; 
    max-width: 1440px; 
    margin: 0 auto; 
    padding: 10% 5% 5% 0%; 
    gap: 20px; 
    justify-content: start; 
}

.aboutcontainer > .letstalk { 
    color: var(--bg-light); 
}


/* ==========================================================================
   7. PAGE: PORTFOLIO (portfolio.html)
   ========================================================================== */
.hero { 
    position: relative; 
    width: 100%; 
    height: 100vh; 
    max-height: 900px; 
    min-height: 600px; 
    background: var(--bg-light); 
    overflow: hidden; 
}

.hero::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-image: url('../theme/imgs/GRASS.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    z-index: 1; 
}

.hero-content { 
    position: absolute; 
    bottom: 10%; 
    left: 0; 
    width: 100%; 
    padding: 0 5%; 
    color: var(--bg-light); 
    z-index: 2; 
    text-align: left; 
    
}

.hero-title { 
    color: var(--bg-light); 
    font-size: 5em; 
    padding-bottom: 2.5%; 
    z-index: 3; 
    max-width: 1440px; 
    font-family: var(--font-heading); 
    font-weight: 700; 
    letter-spacing: -0.05em; 
    text-transform: uppercase; 
    margin-top: 50vh; 
}

.hero-subtitle { 
    color: var(--bg-light); 
    font-family: var(--subheading-font); 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom:20px;
}

.slideshow-container { 
    position: relative; 
    width: 100%; 
    height: 100vh; 
    max-height: 900px; 
    min-height: 600px; 
    overflow: hidden; 
    background: var(--bg-light); 
}

.slideshow-container::before { 
    display: none; 
}

.slide { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    transition: opacity 0.6s ease-in-out; 
    z-index: 1; 
}

.slide.active { 
    opacity: 1; 
    z-index: 2; 
}

.slide-image { 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    filter: brightness(0.8); 
}

.slider-controls { 
    position: absolute; 
    bottom: 5%; 
    right: 5%; 
    z-index: 10; 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    color: var(--bg-light); 
}

.slide-btn { 
    background: none; 
    border: none; 
    color: var(--bg-light); 
    font-family: var(--font-body); 
    font-size: 1.5rem; 
    cursor: pointer; 
    padding: 0; 
    transition: var(--btn-transition); 
}

.btn-icon { 
    width: 25px; 
    height: auto; 
    display: block; 
}

.slide-btn:hover { 
    transform: scale(1.2); 
}

.pagination-number { 
    font-family: var(--font-body); 
    font-size: 12px; 
    letter-spacing: 0.1em; 
    font-weight: 500; 
}

.filterSection { 
    margin: 0 auto; 
    padding: 5%; 
    max-width: 1440px; 
    display: flex; 
}

.filterTitle{ 
    color: var(--color-dark); 
    font-family: var(--subheading-font); 
    
    
    width: 30%; 
}

.chip { 
    font-family: var(--subheading-font); 

    transition: .3s ease; 
    cursor: pointer; 
}

.filter-nav { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem; 
}

.swRightside, .fsRightside { 
    display: flex; 
    flex-direction: row; 
    justify-content: end; 
    align-items: center; 
}

.swRightside { 
    width: 60%; 
} 

.fsRightside { 
    width: 70%; 
}

.swRightside > hr { 
    width: 85%; 
    margin: 0 15px 0 0; 
} 

.fsRightside > hr { 
    width: 90%; 
    margin: 0 15px 0 0; 
}


/* ==========================================================================
   8. PAGE: ABOUT (about.html)
   ========================================================================== */
.heroAbout { 
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
    width: 100%; 
    margin-bottom: 15%; 
}

.heroAbout > h1 { 
    color: var(--color-dark); 
    font-size: 3em; 
    padding: 5%; 
    z-index: 3; 
    max-width: 60%; 
    font-family: var(--font-heading); 
    font-weight: 700; 
    line-height: 1.5em; 
    letter-spacing: 2px; 
    margin-top: 30vh; 
}

.aboutHeroImg { 
    margin-top: 90vh; 
}

.aboutservices { 
    width: 100%; 
    height: auto; 
    max-width: 1440px; 
    margin: 5% auto; 
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
    padding-left:5%;
}

.aboutservicesTop { 
    width: 100%; 
    height: auto; 
    max-width: 1440px; 
    padding-top: 25vh; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    padding-left:5%;
}

.asleft { 
    width: 50%; 
    height: 50%; 
    
}

.aboutservicesTop > .asleft { 
    width: 90%; 
}

.asright { 
    width: 40%; 
    height: 50%; 
    padding-right: 5%; 
}

.aboutservicesTop > .asright { 
    padding-right: 0; 
    width: 100%; 
}

#zoomimg3 { 
    width: 50%; 
    max-width: 1440px; 
    height: auto; 
    overflow: hidden; 
    margin: 0 auto; 
    margin-bottom: 5%; 
}

.aboutHeroImgTest { 
    width: 100%; 
    height: auto; 
    display: block; 
}

.asleft > p { 
    color: var(--color-dark); 
    line-height: 2; 
    font-size: 14px; 
    letter-spacing: .5px; 
}

.asleft > .tagHolder { 
    margin: 0 0 5% 0; 
}

.astitle { 
    margin: 0% 0 5% 0; 
}

.astitle > h1 { 
    color: var(--color-dark); 
    margin-top: 0vh; 
    font-size: clamp(2.5rem, 8vw, 5rem); 
    padding-bottom: 2.5%; 
    z-index: 3; 
    max-width: 1440px; 
    font-family: var(--font-heading); 
    font-weight: 700; 
    letter-spacing: -0.05em; 
    line-height: 1em; 
    text-transform: uppercase; 
}

.astitle p { 
    color: var(--color-dark); 
    line-height: 2; 
    font-size: 14px; 
    letter-spacing: .5px; 
}

.astitle > h3 { 
    color: var(--color-dark); 
    margin-top: 0vh; 
    z-index: 3; 
    max-width: 1440px; 
    font-weight: 500; 
    margin-bottom: 5%; 
    font-family: var(--subheading-font); 
    text-transform: uppercase; 
    font-size:1.5em;
}

.asbreakdown { 
    margin: 0% 0 10% 0; 
}

.asbreakdown > p { 
    margin-top: 15px; 
    min-height: 2.5em; 
    display: flex; 
    align-items: center; 
    font-family: var(--font-body); 
    font-size: .75em; 
    font-weight: 400; 
    padding-bottom: 10%; 
    letter-spacing: 1px; 
    color: var(--text-secondary); 
}

.asbreakdown > ul { 
    list-style: none; 
}

.asbreakdown li { 
    color: var(--color-dark); 
    min-height: 2.5em; 
    display: flex; 
    align-items: center; 
    font-family: var(--font-body); 
    font-size: .75em; 
    letter-spacing: 1px; 
}

.asbreakdown > h3 { 
    color: var(--color-dark); 
    margin-top: 0vh; 
    z-index: 3; 
    max-width: 1440px; 
  font-size:1.125em;
    font-weight: 400; 
    margin-bottom: 5%; 
    font-family: var(--subheading-font); 
    text-transform: uppercase; 
}
/* ==========================================================================
   PROCESS ACCORDION (About Page)
   ========================================================================== */
.process-container { 
    width: 90%; 
    max-width: 1440px; 
    margin: 0 auto; 
    margin-bottom:20%;
}

.process-main-title { 
    /* Style this as your main heading */
    font-family: var(--subheading-font); 
    font-size:1.5em;
    font-weight: 500;
    text-transform: uppercase; 
    color: var(--color-dark); 
    padding: 0 0 1rem 0; 
 
}

.process-accordion-item { 
    border-bottom: 1px solid rgba(20, 20, 20); 
}

.process-accordion-header { 
    width: 100%; 
    padding: 2.5rem 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: none; 
    border: none; 
    cursor: crosshair; 
    transition: all 0.3s ease; 
}

.process-accordion-header h2 { 
    /* Style this as your subheading */
    font-family: var(--font-body); 
    font-size:1.125em;
     letter-spacing:1px;
    color: var(--color-dark); 
    text-align: left; 
    max-width: 80%; 
    text-transform:uppercase;
}

/* -- The Animation Mechanics -- */
.process-accordion-content { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.6s cubic-bezier(0.19, 1, 0.22, 1); 
}

.process-accordion-item.active .process-accordion-content { 
    max-height: 2000px; 
    padding-bottom: 4rem; 
}

.process-accordion-item.active .plus-icon { 
    transform: rotate(45deg); 
}
.process-best-for{
    font-family: var(--font-body);
    font-size:.75em;
}
/* ==========================================================================
   9. PAGE: CASE STUDY (projectTemplate.html)
   ========================================================================== */
#zoomimg2 { 
    width: 50%; 
    max-width: 1440px; 
    height: auto; 
    overflow: hidden; 
    margin: 0 auto; 
    margin-bottom: 5%; 
}

.herocs { 
    width: 100%; 
    max-width: 1440px; 
    display: block; 
    margin: 0 auto; 
}

.herocsimg { 
    width: 90%; 
    height: auto; 
    display: block; 
    margin:0 auto;
}

.herocs > h1 { 
    color: var(--color-dark); 
    font-size: 5em; 
    padding-bottom: 2.5%; 
    z-index: 3; 
    max-width: 1440px; 
    font-family: var(--font-heading); 
    font-weight: 700; 
    letter-spacing:-0.05em; 
    text-transform: uppercase; 
    padding: 5%; 
    padding-top: 15%; 
    margin: 0 auto; 
}

.cscontext { 
    width: 100%; 
    height: auto; 
    max-width: 1440px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
}

.cscleft { 
    width: 40%; 
    height: 50%; 
    padding-left: 5%; 
}

.cscright { 
    width: 40%; 
    height: 50%; 
    padding-right: 2.5%; 
}

.cscleft > p { 
    color: var(--color-dark); 
    line-height: 2; 
    font-size: 14px; 
    letter-spacing: .5px; 
}

.cscleft > .tagHolder { 
    margin: 0 0 5% 0; 
}

.csbrief { 
    margin: 10% 0 10% 0; 
}

.csbrief p { 
    color: var(--color-dark); 
    font-family: var(--font-body); 
    font-size: 12px; 
    font-weight: 400; 
    letter-spacing: 1px; 
    line-height: 1.5em; 
}

.csbrief > h3 { 
    color: var(--color-dark); 
    font-size: 1.5em; 
    font-weight: 500; 
    margin-bottom: 5%; 
    font-family: var(--font-heading); 
    text-transform: uppercase; 
}

.csobjectives { 
    margin: 10% 0 10% 0; 
}

.csobjectives > ul { 
    list-style: none; 
}

.csobjectives li { 
    color: var(--color-dark); 
    font-family: var(--font-body); 
    font-size: 12px; 
    font-weight: 400; 
    padding-bottom: 5%; 
    letter-spacing: 1px; 
}

.csobjectives > h3 { 
    color: var(--color-dark); 
    font-size: 1.5em; 
    font-weight: 500; 
    margin-bottom: 5%; 
    font-family: var(--font-heading); 
    text-transform: uppercase; 
}

.csfeatures, .csclient { 
    margin: 10% 0 10% 0; 
}

.csfeatures p, .csclient p { 
    color: var(--color-dark); 
    line-height: 2; 
    font-size: 14px; 
    letter-spacing: .5px; 
}

.csfeatures > h3 { 
    color: var(--color-dark); 
    font-size: 3em; 
    font-weight: 500; 
    margin-bottom: 5%; 
    font-family: var(--font-heading); 
}

.csclient > h3, .cscright > h3 { 
    color: var(--color-dark); 
    font-size: 3em; 
    font-weight: 500; 
    margin-bottom: 5%; 
    font-family: var(--font-heading); 
}

.cscright > h3 { 
    margin-top: 5%; 
}

.masonry { 
    max-width: 1440px; 
    margin: 0% auto; 
    padding: 0; 
    column-count: 4; 
    column-gap: 16px; 
    margin-bottom: 5%; 
}

.masonry .mItem { 
    display: inline-block; 
    margin-bottom: 16px; 
    width: 100%; 
    cursor: pointer; 
}

.lightbox { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background-color: rgba(0, 0, 0, 0.9); 
    z-index: 100000 !important; 
    justify-content: center; 
    align-items: center; 
    user-select: none; 
}

.lightbox-content { 
    max-width: 90%; 
    max-height: 85%; 
    object-fit: contain; 
    box-shadow: 0 0 30px rgba(0,0,0,0.5); 
}

.close, .lightbox-prev, .lightbox-next { 
    position: absolute; 
    color: var(--bg-light); 
    background: none; 
    border: none; 
    cursor: crosshair; 
    z-index: 100001; 
}

.close { 
    top: 30px; 
    right: 30px; 
    font-size: 40px; 
}

.lightbox-prev, .lightbox-next { 
    top: 50%; 
    transform: translateY(-50%); 
    font-size: 50px; 
    padding: 20px; 
    transition: opacity 0.3s ease; 
}

.lightbox-prev { 
    left: 10px; 
} 

.lightbox-next { 
    right: 10px; 
}

.lightbox-prev:hover, .lightbox-next:hover { 
    opacity: 0.7; 
}

body.lightbox-active .header { 
    transform: translateY(-100%) !important; 
    pointer-events: none; 
}


/* ==========================================================================
   10. PAGE: PACKAGES (packages.html)
   ========================================================================== */
.packages-container { 
    width: 90%; 
    max-width: 1440px; 
    margin: 0 auto; 
}

.service-main-title { 
    font-family: var(--font-heading); 
    font-size: 1.5em; 
    font-weight: 800; 
    text-transform: uppercase;  
    color: var(--color-dark); 
    padding: 4rem 0 1rem 0; 
    border-bottom: 2px solid var(--color-dark); 
    margin-bottom: 2rem; 
}

.accordion-item { 
    border-bottom: 1px solid rgba(20, 20, 20, 0.2); 
}

.accordion-header { 
    width: 100%; 
    padding: 2.5rem 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: none; 
    border: none; 
    cursor: crosshair; 
    transition: all 0.3s ease; 
    font-size:1.125em;
}

.accordion-header h2 { 
    font-family: var(--subheading-font);  
    font-weight: 500; 
    text-transform: uppercase; 
    color: var(--color-dark); 
    text-align: left; 
    max-width: 80%; 
    font-size:1.125em;
}

.plus-icon { 
    
    font-weight: 300; 
    transition: transform 0.4s ease; 
}


.accordion-item.active .plus-icon { 
    transform: rotate(45deg); 
   
}

.accordion-content { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.6s cubic-bezier(0.19, 1, 0.22, 1); 
}

.accordion-item.active .accordion-content { 
    max-height: 2000px; 
    padding-bottom: 4rem; 
}

.package-details ul { 
    list-style: none; 
    padding: 0; 
}

.package-details li { 
    font-family: var(--font-body); 
    font-size: .75em; 
    padding: 10px 0; 
    border-bottom: 1px solid rgba(20, 20, 20, 0.05); 
    color: var(--text-secondary); 
    font-weight:400;
    letter-spacing:1px;
}

.best-for { 
    font-family: var(--subheading-font); 
    font-weight:500;
    text-transform: uppercase;
    letter-spacing: 1px; 
    margin-bottom: 2rem; 
   
}
.strategy-block, .design-block, .advantage-block, .addons-block > h3{
    font-family: var(--font-body);
    font-weight:500;
    
}
.strategy-block > h3{
    font-size:.75em;
    font-weight:900;
    margin-bottom:2.5%;
}
.design-block > h3{
    font-size:.75em;
    font-weight:900;
    margin-bottom:2.5%;
}
.advantage-block > h3{
    font-size:.75em;
    font-weight:900;
    margin-bottom:2.5%;
}
.addons-block > h3{
    font-size:.75em;
    font-weight:900;
    margin-bottom:2.5%;
}
.strategy-block, .design-block, .advantage-block, .addons-block{
  padding-bottom:2rem;
}


/* ==========================================================================
   11. PAGE: CONTACT (contact.html)
   ========================================================================== */
.cContainer { 
    width: 100%; 
    max-width: 1440px; 
    margin: 0 auto; 
    padding-top: 30vh; 
}

.ContactHero { 
    position: relative; 
    width: 100%; 
    max-width: 1250px; 
    padding: 2.5%; 
}

.ContactHero > h1 { 
    color: var(--color-dark); 
    margin-top: 0vh; 
    font-size: 5em; 
    padding-bottom: 2.5%; 
    z-index: 3; 
    max-width: 1440px; 
    font-family: var(--font-heading); 
    font-weight: 700; 
    letter-spacing: -0.05em; 
    text-transform: uppercase; 
    line-height:.9;
}

#contact-form { 
    position: relative; 
    width: 100%; 
    max-width: 750px; 
    padding: 2.5%; 
}

input { 
    font-size: 0.875em; 
    width: 90%; 
    height: 50px; 
    padding: 0px 15px 0px 15px; 
    margin-bottom: 2.5%; 
    background: transparent; 
    color: var(--color-dark); 
    border: solid var(--btn-border-width) var(--color-dark); 
    border-radius: 10px; 
    transition: var(--btn-transition); 
    font-family: var(--font-heading); 
}

textarea { 
    width: 90%; 
    border-radius: 10px; 
    height: 110px; 
    max-height: 110px; 
    padding: 15px; 
    font-family: var(--font-heading); 
    background: transparent; 
    outline: none; 
    margin-bottom: 2.5%; 
    color: var(--color-dark); 
    font-size: 0.875em; 
    border: solid var(--btn-border-width) var(--color-dark); 
    transition: var(--btn-transition); 
}

input:hover, textarea:hover { 
    color: var(--color-dark); 
}

textarea:hover { 
    background: var(--bg-light); 
}

#submit { 
    width: 90%; 
    padding: 0; 
    font-size: 0.875em; 
    color: var(--btn-text-color); 
    outline: none; 
    cursor: crosshair; 
    border: solid var(--btn-border-width) var(--color-dark); 
    border-radius: var(--btn-border-radius); 
    font-family: var(--font-heading); 
}

#submit:hover { 
    letter-spacing: 1px; 
    background: var(--btn-accent-bg); 
    color: var(--btn-text-light); 
    border: 1px solid var(--btn-accent-bg); 
}

.captcha { 
    display: flex; 
    justify-content: center; 
    margin-bottom: 2.5%; 
}

/* Contact Form Placeholders */
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { 
    color: var(--color-dark); 
    font-size: 0.875em; 
}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder { 
    color: var(--bg-light); 
}

input::-moz-placeholder, textarea::-moz-placeholder { 
    color: var(--color-dark); 
    font-size: 0.875em; 
}

input:focus::-moz-placeholder, textarea:focus::-moz-placeholder { 
    color: var(--color-dark); 
}

input::placeholder, textarea::placeholder { 
    color: var(--color-dark); 
    font-size: 0.875em; 
}

input:focus::placeholder, textarea:focus::placeholder { 
    color: var(--bg-light); 
}

input::-ms-placeholder, textarea::-ms-placeholder { 
    color: var(--bg-light); 
    font-size: 0.875em; 
}

input:focus::-ms-placeholder, textarea:focus::-ms-placeholder { 
    color: var(--bg-light); 
}

input:hover::-webkit-input-placeholder, textarea:hover::-webkit-input-placeholder { 
    color: var(--color-dark); 
    font-size: 0.875em; 
}

input:hover:focus::-webkit-input-placeholder, textarea:hover:focus::-webkit-input-placeholder { 
    color: var(--color-dark); 
}

input:hover::-moz-placeholder, textarea:hover::-moz-placeholder { 
    color: var(--color-dark); 
    font-size: 0.875em; 
}

input:hover:focus::-moz-placeholder, textarea:hover:focus::-moz-placeholder { 
    color: var(--color-dark); 
}

input:hover::placeholder, textarea:hover::placeholder { 
    color: var(--color-dark); 
    font-size: 0.875em; 
}

input:hover:focus::placeholder, textarea:hover:focus::placeholder { 
    color: var(--color-dark); 
}

input:hover:focus::-ms-placeholder, textarea:hover:focus::-ms-placeholder { 
    color: var(--color-dark); 
}


/* ==========================================================================
   12. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1199px) {
    .masonry { 
        column-count: 3; 
    }
}

@media (max-width: 991px) {
    .masonry { 
        column-count: 2; 
    }
    .aboutservicesTop { 
        flex-direction: column; 
    }
    .aboutservicesTop > .asleft { 
        width: 90%; 
    }
    .aboutservicesTop > .asright { 
        width: 100%; 
        padding-left: 0; 
    }
    .asright, .asleft { 
        margin-top: 5%; 
    }
    .missionSmallText { 
        font-size: .75em; 
    }
}

@media (max-width: 768px) {
    /* Kill the interactive backgrounds on mobile */
    #morphing-grid {
        display: none !important;
    }
    
    /* Keep your typography fix */
    .heroHome > h1 { 
        margin-top: 15vh; 
        margin-bottom: 15%;
        font-size: 2.5em; 
        letter-spacing: -2px; 
        line-height: 1.05; 
    }
    .mobile-hide { 
        display: none; 
    }
    .footer-col { 
        border-right: none; 
        padding: 1.5rem; 
    }
    .footer-col:last-child { 
        border-bottom: none; 
    }
    .nav { 
        gap: 15px; 
    }
    .hero { 
        min-height: 500px; 
    }
    .hero-content { 
        bottom: 8%; 
        padding: 0 8%; 
    }
    .projects-container { 
        flex-direction: column; 
    }
    .project-main, .secondary-projects { 
        width: 100%; 
    }
    .project-main .project-image { 
        min-height: 400px; 
        padding-bottom: 100%; 
    }
    .project-row { 
        flex-direction: column; 
    }
    .project-secondary { 
        width: 48%; 
    }
    .hero-services { 
        flex-wrap: wrap; 
        justify-content: start; 
        gap: 15px; 
        bottom: 20vh; 
    }
}

@media (max-width: 767px) {
    .masonry { 
        column-count: 1; 
    }
}

@media only screen and (max-width: 600px) {
    .cscontext { 
        flex-direction: column-reverse; 
    }
    .cscleft { 
        width: 90%; 
    }
    .cscright { 
        width: 90%; 
        padding-left: 5%; 
    }
    .missionSection > h1 { 
        font-size: 2.5em; 
        text-indent: 35vw; 
    }
}

@media (max-width: 560px) {
    .heroHome > h1 { 
        margin-top: 15vh; 
        margin-bottom: 15%;
        font-size: 2.5em; 
        letter-spacing: -2px; 
        line-height: 1.05; /* This stops the letters from crashing */
    }
    .header { 
        display: grid; 
        grid-template-columns: 1fr auto 1fr; 
        padding: 15px 15px; 
    }
    .logo img, .mobile-logo img { 
        height: 30px; 
    }
    .nav { 
        display: none; 
    }
    .hamburger { 
        grid-column: 3; 
        justify-self: end; 
        display: block; 
        margin: 0; 
    }
    .herocs > h1 { 
        font-size: 2em; 
        margin: 0 auto; 
        padding: 10% 5% 5% 5%; 
        z-index: 3; 
        max-width: 1440px; 
        margin-bottom: 5vh; 
        margin-top: 10vh; 
    }
    .heroHome > h1 { 
        margin-top: 15vh; 
        margin-bottom:15%;
        font-size: 2.5em; 
        letter-spacing: -2px; 
    }
    
    .heroAbout { 
        flex-direction: column; 
    }
    .heroAbout > h1 { 
        margin-top: 15vh; 
        font-size: 2em; 
        letter-spacing: normal; 
        max-width: 100%; 
    }
    .aboutHeroImg { 
        margin-top: 10%; 
        width: 100%; 
        flex-direction: column-reverse; 
    }
    .hero { 
        min-height: 400px; 
        height: 80vh; 
    }
    .hero-content { 
        bottom: 5%; 
        padding: 5%; 
    }
    #filters { 
        display: flex; 
        flex-wrap: wrap; 
    }
    .hero-title, .astitle > h1 { 
        font-size: 2.5rem; 
        margin-bottom: 0.5rem; 
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .project-secondary { 
        width: 46.5%; 
    }
    .aboutservicesTop { 
        padding-top: 10vh; 
    }
    
}

@media (max-width: 500px) {
    .cContainer { 
        padding-top: 15vh; 
    }
    .ContactHero > h1 { 
        font-size: 2.5rem; 
        line-height:.9;
        margin-bottom:10%;
        
    }
    .aboutservices { 
        flex-direction: column; 
    }
    .asleft { 
        width: 100%; 
        padding-right: 5%; 
    }
    .asright { 
        
        width: 100%; 
    }
}

@media (max-width: 450px) {
    .footer-grid { 
        flex-wrap: wrap; 
    }
}

@media (max-width: 400px) {
    .astitle > h1 { 
        font-size: 2.5em; 
        line-height:.9;
    }
    .HeroContainer{
        min-height:90vh;
    }
    .hero-services { 
        flex-wrap: wrap; 
        justify-content: start; 
        gap: 15px; 
        bottom: 5vh; 
        width: 100%; 
    }
    .hero-services span { 
        font-size:.75em;
        font-weight:500; 
    }
    .projects-containerTitle{
        font-size:1.5em;
    }
    .pcontainer{
        padding: 10% 5% 5% 0%;
    }
}