/* 
  © 2025 Sasha La Grange and DeWaldt Consulting and Contracting (Pty) Ltd | www.dewaldtconsulting.co.za
  Custom styles for DeWaldt Consulting website
  Unauthorized copying, reproduction, or modification is prohibited.
*/

/*  ============= WEB BROWSER RESETS ============ */
* { margin: 0; padding: 0; border: none }
*, *::before, *::after { box-sizing: border-box }
html { height: 100%; font-size: 100%; font: inherit; vertical-align: baseline;
scroll-behavior: smooth; scroll-padding-top: 20px }
body { line-height: 1.5; min-height: 100vh }
img { max-width: 100%; height: auto; display: block; margin: 0 auto }
@media (max-width: 767px ) { body { text-rendering: optimizeSpeed } }
@media (min-width: 768px ) { body { text-rendering: optimizeLegibility } }


/* ============ CUSTOM PROPERTIES ============  */
:root {
    /* Alternatives to default sans-serif font */
    --font-sans: -apple-system, system-ui, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Fira Sans, Ubuntu, Oxygen, Oxygen Sans, Cantarell, Droid Sans, Apple Color Emoji, Segoe UI Emoji, Segoe UI Emoji, Segoe UI Symbol, Lucida Grande, Helvetica, Arial, sans-serif;

     /* Alternatives to default serif font */
    --font-serif: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;

     /* Alternatives to default monospace font */
    --font-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    /* Fluid font size scale */
    --fs-sm: clamp(0.8rem, 0.17vi + 0.76rem, 0.89rem);
    --fs-base: clamp(1rem, 0.34vi + 0.91rem, 1.19rem);
    --fs-md: clamp(1.25rem, 0.61vi + 1.1rem, 1.58rem);
    --fs-lg: clamp(1.56rem, 1vi + 1.31rem, 2.11rem);
    --fs-xl: clamp(1.95rem, 1.56vi + 1.56rem, 2.81rem);
    --fs-xxl: clamp(2.44rem, 2.38vi + 1.85rem, 3.75rem);
    --fs-xxxl: clamp(3.05rem, 3.54vi + 2.17rem, 5rem);

    /* Color Variables */
    --headingsblue: #0A1F44;
    --iconsilver: #C9CED6;
    --hoversilver: #ADCCED;
    --backgroundblue: #244761;
    --hoverblue: #2E6868;
    --hoverteal: #2E6868;
    --darknavy: #000035;
    --grayscale900: #242424;
    --grayscale950: #0D0D0D;
    --gunmetal: #818589;
    --steel-gray: #71797E;
    --peach: #ffb88cff;
    --backgroundgrey: #eeeeee;
}


/* ============ TYPOGRAPHY ============  */

html { scroll-behavior: smooth; zoom: 1; }

*, *::before, *::after {
    box-sizing: border-box;
}

/* Nav Bar  */
nav.theme-light  { 
    position: sticky; 
    top: 0;
    z-index: 1000;
    background: var(--backgroundblue);
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Menu */
nav.theme-light ul.links-wrapper { 
    font-family: "Montserrat", sans-serif; 
}

nav.theme-light ul.links-wrapper li a:link,
nav.theme-light ul.links-wrapper li a:visited { 
    color: var(--white-000);
    font-size: 1.4vw;
}

nav.theme-light ul.links-wrapper li a:focus,
nav.theme-light ul.links-wrapper li a:hover,
nav.theme-light ul.links-wrapper li a:active { 
    color: var(--darknavy);
    transition: linear;
    font-size: 1.2vw; 
    text-decoration-line: underline;
    text-decoration-color: var(--darknavy);
    font-weight: bold;
}

nav.theme-light a#btn-cta {
    margin-right: -20px;
    margin-top: 12px;
}

nav.theme-light a#btn-cta:link,
nav.theme-light a#btn-cta:visited {
    color: white;
    background-color: var(--darknavy);
    border-color: var(--darknavy);
}

nav.theme-light a#btn-cta:focus,
nav.theme-light a#btn-cta:hover,
nav.theme-light a#btn-cta:active { 
    color: var(--darknavy);
    border-color: var(--hoversilver);
    background-color: var(--hoversilver);
    transition: linear; 
}

/* Mobile Menu */
nav.theme-light .nav-toggle { background-color: var(--backgroundblue); }

nav.theme-light .nav-toggle .bar-1,
nav.theme-light .nav-toggle .bar-2,
nav.theme-light .nav-toggle .bar-3 { background-color: white };

@media (max-width: 767px) { 
    /*Base State: Hidden Menu */
    nav.theme-light ul.links-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--backgroundblue);
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;

        /* Animation Setup */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition:
            max-height 0.4s ease,
            opacity 0.3s ease, 
            transform 0.4s ease;
        z-index: 999;
        will-change: max-height, opacity, transform;
    }
}

/* Active Menu */
@media (max-width: 767px) { 
    nav.theme-light ul.links-wrapper.active { 
        max-height: 380px; /* Adjust based on number of links */
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        background-color: var(--backgroundblue);
    }
}

/* Mobile Menu Links */
@media (max-width: 767px) { 
    nav.theme-light ul.links-wrapper.active li a { 
        color: white;
        font-size: 16px;
        transition: none;
        -webkit-tap-highlight-color: transparent;
        background-color: transparent;
        outline: none;
    } 
}

@media (max-width: 767px) { 
    nav.theme-light ul.links-wrapper.active li a:focus,
    nav.theme-light ul.links-wrapper.active li a:hover,
    nav.theme-light ul.links-wrapper.active li a:active { 
        color: var(--darknavy);
        text-decoration-color: var(--darknavy);
    } 
}

@media (max-width: 767px) { 
    nav.theme-light ul.links-wrapper.active a#btn-cta {
        background-color: var(--darknavy);
        border-color: var(--darknavy);
        color: white;
        margin-left: -15px;
        font-size: 16px;
        transition:
            background-color 0.25s ease,
            border-color 0.25s ease,
            color 0.25s ease;
    }
}

@media (max-width: 767px) { 
    nav.theme-light ul.links-wrapper.active a#btn-cta:focus,
    nav.theme-light ul.links-wrapper.active a#btn-cta:hover,
    nav.theme-light ul.links-wrapper.active a#btn-cta:active { 
        background-color: var(--hoversilver);
        border-color: var(--hoversilver);
        color: var(--darknavy);
    }
}

/* Logo */
nav.theme-light .brand img {
    width: 200px;
    max-height: 70px;
    margin-bottom: 5px;
    margin-top: -5px;
    margin-left: -30px;
} 

/* Mobile Logo */
@media (max-width: 767px) { 
    nav.theme-light .brand img {
        width: 150px;
        max-height: 50px;
        margin-left: -10px;
        margin-bottom: -10px;
    } 
}

/* Hero & Background Img */
header.hero-bg { 
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header.hero-bg .container-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

header.hero-bg .container-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

header.hero-bg > .container-overlay { 
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,0,0,0.0),rgba(0,0,0,0.0)); 
}

/* Mobile Hero & Background Img */
@media (max-width: 767px) { 
    header.hero-bg {
        display: flex;
        flex-direction: column;      
        justify-content: center;     
        align-items: center;         
        padding: 20px 10px;          
        height: auto;
    }
}

/* Hero Text */
header.hero-bg .container-text {
    z-index: 2;
    text-align: center;
    font-size: larger;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    padding: 10px;;
}

header.hero-bg .container-text h1 {
    font-family: "Montserrat", sans-serif;
    text-align: center;
    color: var(--darknavy);
    font-weight: 600;
    margin-top: -10px;
}

header.hero-bg .container-text .highlight {
    color: var(--hoversilver);
    text-shadow: #0D0D0D 2px 2px 4px;
}

header.hero-bg .container-text .divider {
    width: 30%;
    height: 4px;
    background: var(--iconsilver);
    margin-top: 5px;
    box-shadow: 0 0 10px #0D0D0D;
}

header.hero-bg .container-text h2 {
    font-family: "Inter", sans-serif;
    font-size: 24px;
    text-align: center;
    color: var(--darknavy);
    margin-top: 15px;
}

/* Mobile Hero Text */
@media (max-width: 767px) { 
    header.hero-bg .container-text{
        z-index: 2;
        text-align: center;
        margin-top: 5px;
    }
} 

@media (max-width: 767px) { 
    header.hero-bg .container-text h1 {
        font-family: "Montserrat", sans-serif;
        text-align: center;
        color: var(--darknavy);
        font-weight: bold;
        font-size: 5vw;
        margin-bottom: 5px;
    }
}

@media (max-width: 767px) { 
    header.hero-bg .container-text .highlight {
        color: var(--hoversilver);
        text-shadow: #0D0D0D 1px 1px 2px;
    }
}

@media (max-width: 767px) { 
    header.hero-bg .container-text .divider {
        width: 50%;
        height: 2px;
        background-color: var(--iconsilver);
        margin-top: 2px;
        margin-bottom: 2px;
        box-shadow: 0 0 8px black;
    }
}

@media (max-width: 767px) { 
    header.hero-bg .container-text h2 {
        font-family: "Inter", sans-serif;
        font-size: 3vw;
        text-align: center;
        color: var(--darknavy);
        margin-top: 5px;
        margin-bottom: -10px;
    }
}

/* Hero CTA */
header.theme-light .container-btn a.btn:nth-child(1),
header.theme-light .container-btn a.btn:nth-child(2) { 
    z-index: 2;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;;
}

header.theme-light .container-btn a.btn:nth-child(1),
header.theme-light .container-btn a.btn:nth-child(2) { font-family: "Montserrat", serif; }

header.theme-light .container-btn a.btn:nth-child(1):link,
header.theme-light .container-btn a.btn:nth-child(1):visited { 
    color: white; 
    background-color: var(--darknavy);
    border-color: var(--darknavy);
    font-size: 1.25vw;
}

header.theme-light .container-btn a.btn:nth-child(1):focus,
header.theme-light .container-btn a.btn:nth-child(1):hover,
header.theme-light .container-btn a.btn:nth-child(1):active { 
    color: var(--darknavy); 
    transition: all 0.3s ease; 
    background-color: var(--hoversilver);
    border-color: var(--hoversilver);
    font-size: 1.4vw;
}

header.theme-light .container-btn a.btn:nth-child(2):link,
header.theme-light .container-btn a.btn:nth-child(2):visited { 
    color: white; 
    background-color: var(--darknavy);
    border-color: var(--darknavy);
    font-size: 1.25vw;
}

header.theme-light .container-btn a.btn:nth-child(2):focus,
header.theme-light .container-btn a.btn:nth-child(2):hover,
header.theme-light .container-btn a.btn:nth-child(2):active { 
    color: var(--darknavy); 
    transition: all 0.3s ease; 
    background-color: var(--hoversilver);
    border-color: var(--hoversilver);
    font-size: 1.4vw;
}

/* Mobile Hero CTA */
@media (max-width: 767px) { 
    header.theme-light .container-btn {
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    header.theme-light .container-btn i.fa-archway,  header.theme-light .container-btn i.fa-file-lines {
        margin-right: -25px;
    }
}

@media (max-width: 767px) { 
    header.theme-light .container-btn a.btn:nth-child(1),
    header.theme-light .container-btn a.btn:nth-child(2) {
        font-family: "Montserrat", serif; 
    } 
}

@media (max-width: 767px) { 
    header.theme-light .container-btn a.btn:nth-child(1):link,
    header.theme-light .container-btn a.btn:nth-child(1):visited { 
        color: white; 
        background-color: var(--darknavy);
        border-color: var(--darknavy);
        font-size: 2vw;
    } 
}

@media (max-width: 767px) { 
    header.theme-light .container-btn a.btn:nth-child(1):focus,
    header.theme-light .container-btn a.btn:nth-child(1):hover,
    header.theme-light .container-btn a.btn:nth-child(1):active { 
        color: var(--darknavy); transition: all 0.3s ease; 
        background-color: var(--hoversilver);
        border-color: var(--hoversilver);
        font-size: 1.75vw;
    } 
}

@media (max-width: 767px) { 
    header.theme-light .container-btn a.btn:nth-child(2):link,
    header.theme-light .container-btn a.btn:nth-child(2):visited { 
        color: white; 
        background-color: var(--darknavy);
        border-color: var(--darknavy);
        font-size: 2vw;
    } 
}

@media (max-width: 767px) { 
    header.theme-light .container-btn a.btn:nth-child(2):focus,
    header.theme-light .container-btn a.btn:nth-child(2):hover,
    header.theme-light .container-btn a.btn:nth-child(2):active { 
        color: var(--darknavy); transition: all 0.3s ease; 
        background-color: var(--hoversilver);
        border-color: var(--hoversilver);
        font-size: 1.75vw;
    } 
}

/* Section: Intro */
.section-selector-3.theme-light {
    margin-bottom: -80px;
}

.section-selector-3.theme-light .intro {
    font-size: 23px;
    margin-top: -25px;
    color: black;
    font-family: "Inter", sans-serif;
}

.section-selector-3.theme-light .intro .bold-text {
    color: var(--darknavy);
}

.section-selector-3.theme-light .service-item .fa-solid {
    color: var(--backgroundblue);
}

.section-selector-3.theme-light .service-item p {
    font-size: 23px;
}

.section-selector-3.theme-light .service-item .bold-text {
    color: var(--darknavy);
}

/* Mobile Section: Intro */
@media (max-width: 767px) {
    .section-selector-3.theme-light {
        margin-bottom: -70px;
    }
}

@media (max-width: 767px) {
    .section-selector-3.theme-light .intro {
        font-size: 4vw;
        margin-top: -25px;
        color: black;
        font-family: "Inter", sans-serif;
        margin-bottom: -5px;
    }
}

@media (max-width: 767px) {
    .section-selector-3.theme-light .service-item p {
        font-size: 4vw;
    }
}

/* Sections Background */
.section-selector-1.theme-light, 
.section-selector-2.theme-light, 
.section-selector-3.theme-light, 
.section-selector-4.theme-light,
.section-selector-5.theme-light,
.section-selector-6.theme-light,
.section-selector-7.theme-light,
.section-selector-8.theme-light {
    background-color: var(--backgroundgrey) 
}

/* Sections: Services Headings */

.section-selector-1.theme-light {
    margin-top: 10px;
}

.section-selector-2.theme-light {
    margin-top: -80px;
}

.section-selector-1 .col-1 h2, 
.section-selector-2 .col-1 h2 {
    text-transform: uppercase;
    color: var(--darknavy);
    font-size: 55px;
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
}

.section-selector-1 .col-1 .underline, 
.section-selector-2 .col-1 .underline {
    width: 20%;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--iconsilver);
    margin-top: -8px;
}

/* Mobile Headings */
@media (max-width: 767px) {
    .section-selector-2.theme-light {
        margin-top: -50px;
    }
}

@media (max-width: 767px) {
    .section-selector-1 .col-1 h2 {
        text-transform: uppercase;
        color: var(--darknavy);
        font-size: 30px;
        font-weight: 400;
        font-family: "Montserrat", sans-serif;
        margin-top: -20px;
    }
}

@media (max-width: 767px) {
    .section-selector-2 .col-1 h2 {
        text-transform: uppercase;
        color: var(--darknavy);
        font-size: 30px;
        font-weight: 400;
        font-family: "Montserrat", sans-serif;
        margin-top: -25px;
    }
}

@media (max-width: 767px) {
    .section-selector-1 .col-1 .underline, 
    .section-selector-2 .col-1 .underline {
        width: 40%;
        height: 4px;
        margin-left: auto;
        margin-right: auto;
        background-color: var(--iconsilver);
        margin-top: -8px;
        margin-bottom: -10px;
    }
}

/* Images */
.section-selector-1 .col-3 figure, 
.section-selector-2 .col-3 figure {
    position: relative;
}

.section-selector-1 .col-3 img, 
.section-selector-2 .col-3 img {
    opacity: 1;
    display: block;
    transition: 0.5s ease;
    backface-visibility: hidden;
    width: 80%;
}

.section-selector-1 .col-3 .text-box, 
.section-selector-2 .col-3 .text-box {
    transition: 0.5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.section-selector-1 .col-3 .text, 
.section-selector-2 .col-3 .text {
    background-color: #000035;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
    font-family: "Inter", sans-serif;
}

.section-selector-1 .col-3 figure:hover img, 
.section-selector-2 .col-3 figure:hover img {
    opacity: 0.3;
}

.section-selector-1 .col-3 figure:hover .text-box, 
.section-selector-2 .col-3 figure:hover .text-box {
    opacity: 1;
}

/* Mobile Images */
@media (max-width: 767px) {
    .section-selector-1 .col-3 figure, 
    .section-selector-2 .col-3 figure {
        position: relative;
        flex-direction: column;
        gap: 0;
        margin-top: -10px;
        margin-bottom: -20px;
    }
}

@media (max-width: 767px) {
    .section-selector-1 .col-3 img, 
    .section-selector-2 .col-3 img {
        opacity: 1;
        display: block;
        transition: 0.5s ease;
        backface-visibility: hidden;
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .section-selector-1 .col-3 .text-box, 
    .section-selector-2 .col-3 .text-box {
        opacity: 1; /* Makes text visible */
        /* Reset positioning */
        position: static;
        transform: none;
        /* Center block itself */
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        /* Overlay Box */
        padding-top: 0;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .section-selector-1 .col-3 .text, 
    .section-selector-2 .col-3 .text {
        background-color: rgba(30, 30, 30, 0.4);
        color: white;
        text-transform: uppercase;
        font-size: 3vw;
        padding: 0;
        text-align: center;
        font-family: "Inter", sans-serif;
        font-weight: 150;
    }
}

@media (max-width: 767px) {
    .section-selector-1 .col-3 figure:hover img, 
    .section-selector-2 .col-3 figure:hover img {
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .section-selector-1 .col-3 figure:hover .text-box, 
    .section-selector-2 .col-3 figure:hover .text-box {
        opacity: 1;
    }
}

/* Section CTA */
.section-selector-4.theme-light {
    font-family: "Inter", sans-serif;
}

.section-selector-4.theme-light h3 {
    font-size: 2.5vw;
    font-weight: 300;
    margin-top: -50px;
}

.section-selector-4.theme-light p {
    font-size: 2.5vw;
    font-weight: bold;
}

.section-selector-4.theme-light a:link,
.section-selector-4.theme-light a:visited {
    color: var(--darknavy);
    text-decoration: none;
}

.section-selector-4.theme-light a:focus,
.section-selector-4.theme-light a:hover,
.section-selector-4.theme-light a:active {
    color: var(--backgroundblue);
    text-decoration: none;
}

/* Mobile Section CTA */
@media (max-width: 767px) {
    .section-selector-4.theme-light {
        margin-top: -35px;
    }
}

@media (max-width: 767px) {
    .section-selector-4.theme-light h3 {
        font-size: 4vw;
        font-weight: 300;
        margin-top: -40px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .section-selector-4.theme-light p {
        font-size: 4vw;
        font-weight: bold;
        text-align: center;
    }
}

/* Footer */
footer.theme-light { 
    background-color: var(--backgroundblue);
}

footer.theme-light img {
    width: 15%;
    height: 15%;
    margin-top: -20px;
    margin-bottom: 10px;
}

footer.theme-light > ul.footer-links li a:link,
footer.theme-light > ul.footer-links li a:visited { 
    color: var(--white-000); 
    text-decoration: none;
    font-family: "Montserrat", serif;
    font-size: 1.5vw;
    transition: linear;
}

footer.theme-light > ul.footer-links li a:focus,
footer.theme-light > ul.footer-links li a:hover,
footer.theme-light > ul.footer-links li a:active { 
    color: var(--darknavy);
    text-decoration: none; 
    font-family: "Montserrat", serif;
    font-size: 1.2vw;
    font-weight: bold;
}

/* Footer Icons */

footer.theme-light > ul.footer-icons {
    margin-top: -20px;
}

footer.theme-light > ul.footer-icons li a:link i,
footer.theme-light > ul.footer-icons li a:visited i { 
    color: var(--darknavy) 
}

footer.theme-light > ul.footer-icons li a:focus i,
footer.theme-light > ul.footer-icons li a:hover i,
footer.theme-light > ul.footer-icons li a:active i { 
    color: var(--hoversilver) 
}

/* Designed By */
footer.theme-light .designby p {
    color: white;
    font-family: "Inter", sans-serif;
    font-weight: 200;
    margin-top: -25px;
}

footer.theme-light .designby a:link,
footer.theme-light .designby a:visited {
    color: var(--darknavy);
    text-decoration: none;
    font-weight: bold;
}

footer.theme-light .designby a:focus,
footer.theme-light .designby a:hover,
footer.theme-light .designby a:active {
    color: var(--peach);
}

/* Copyright */
footer.theme-light .copyright { 
    background-color: var(--backgroundblue) 
}

footer.theme-light .copyright p { 
    color: white;
    font-family: "Inter", sans-serif;
    font-weight: 200;
    margin-bottom: -10px;
}

/* Mobile Footer */
@media (max-width: 767px) {
    footer.theme-light {
        margin-top: -20px;
    }
}

@media (max-width: 767px) {
    footer.theme-light img {
        width: 25%;
        height: 25%;
        margin-top: -10px;
        margin-bottom: -5px;
    }
}

@media (max-width: 767px) {
    footer.theme-light > ul.footer-links {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    footer.theme-light > ul.footer-links li a:link,
    footer.theme-light > ul.footer-links li a:visited { 
        color: var(--white-000); 
        text-decoration: none;
        font-family: "Montserrat", serif;
        font-size: 2vw;
        transition: linear;
    }
}

@media (max-width: 767px) {
    footer.theme-light > ul.footer-links li a:focus,
    footer.theme-light > ul.footer-links li a:hover,
    footer.theme-light > ul.footer-links li a:active { 
        color: var(--darknavy);
        text-decoration: none; 
        font-family: "Montserrat", serif;
        font-size: 1.75vw;
        font-weight: bold;
    }
}

/* Footer Icons */
@media (max-width: 767px) {
    footer.theme-light > ul.footer-icons {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        margin-top: -35px;
    }
}

@media (max-width: 767px) {
    footer.theme-light > ul.footer-icons li {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 767px) {
    footer.theme-light > ul.footer-icons i.fa-brands {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    footer.theme-light > ul.footer-icons i.fa-envelope {
        font-size: 14px;
    }
}

/* Mobile Design By */
@media (max-width: 767px) { 
    footer.theme-light .designby p {
        color: white;
        font-family: "Inter", sans-serif;
        font-weight: 200;
        margin-top: -25px;
        font-size: 3vw;
    }
}

@media (max-width: 767px) {
    footer.theme-light .designby a:link,
    footer.theme-light .designby a:visited {
        color: var(--darknavy);
        text-decoration: none;
        font-weight: bold;
    }
}

@media (max-width: 767px) {
    footer.theme-light .designby a:focus,
    footer.theme-light .designby a:hover,
    footer.theme-light .designby a:active {
        color: var(--peach);
    }
}

/* Mobile Copyright */
@media (max-width: 767px) {
    footer.theme-light .copyright p { 
        color: white;
        font-family: "Inter", sans-serif;
        font-weight: 200;
        font-size: 3vw;
        margin-top: -20px;
        margin-bottom: 1px;
    }
}

/* About & Process Sections */
.section-selector-5.theme-light {  
    margin-top: -60px;
    margin-bottom: -20px;
}

.section-selector-5.theme-light .about-headings {
    font-size: 3.5vw;
    font-family: "Montserrat", serif;
    text-align: center;
    color: var(--darknavy);
}

.section-selector-5.theme-light .divider {
    display: block;
    width: 15%;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--iconsilver);
    margin-bottom: 30px;
}

.section-selector-5.theme-light .about-text {
    font-size: 1.75vw;
    font-family: "Inter", sans-serif;
    font-weight: 350;
    margin-bottom: 20px;
    text-align: center;
}

.section-selector-5.theme-light .about-text .bold-text {
    color: var(--backgroundblue);
}

.section-selector-5.theme-light .about-text-italics {
    font-style: italic;
    text-align: center;
    font-size: 1.75vw;
    color: var(--darknavy);
}

.section-selector-5.theme-light .bold-list {
    color: var(--backgroundblue);
}

.section-selector-5.theme-light li {
    font-size: 1.75vw;
    font-family: "Inter", sans-serif;
    font-weight: 350;
}

.section-selector-5.theme-light .fa-li i {
    font-size: 1.75vw;
    color: var(--darknavy);
}

.section-selector-5.theme-light .about-CTA {
    font-size: 2vw;
    font-family: "Inter", sans-serif;
    font-weight: 350;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 0;
}

.section-selector-5.theme-light .about-CTA a:link,
.section-selector-5.theme-light .about-CTA a:visited {
    font-size: 1.75vw;
    font-family: "Inter", sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--darknavy);
}

.section-selector-5.theme-light .about-CTA a:focus,
.section-selector-5.theme-light .about-CTA a:hover, 
.section-selector-5.theme-light .about-CTA a:active {
    font-size: 1.75vw;
    font-family: "Inter", sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--backgroundblue);
}

.section-selector-5.theme-light img.founder {
    max-width: 20vw;
    margin: 0 auto 20px;
}

.section-selector-5.theme-light img.process {
    border-radius: 25px;
}

/* Mobile About & Process Section */
@media (max-width: 767px) {
    .section-selector-5.theme-light { 
        background-color: var(--backgroundgrey); 
        margin-top: -40px;
    }
}

@media (max-width: 767px) {
    .section-selector-5.theme-light .about-headings {
        font-size: 6vw;
        font-family: "Montserrat", serif;
        text-align: center;
        color: var(--darknavy);
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .section-selector-5.theme-light .divider {
        display: block;
        height: 2px;
        width: 25%;
        margin-left: auto;
        margin-right: auto;
        background-color: var(--iconsilver);
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .section-selector-5.theme-light .about-text {
        font-size: 3vw;
        font-family: "Inter", sans-serif;
        font-weight: 450;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
.section-selector-5.theme-light .about-text-italics {
    font-style: italic;
    text-align: center;
    font-size: 3vw;
    }
}

@media (max-width: 767px) {
    .section-selector-5.theme-light li {
        font-size: 3vw;
        font-family: "Inter", sans-serif;
    }
}

@media (max-width: 767px) {
    .section-selector-5.theme-light .fa-li i {
        font-size: 3vw;
        color: var(--darknavy);
    }
}

@media (max-width: 767px) {
    .section-selector-5.theme-light .about-CTA {
        font-size: 3vw;
        font-family: "Inter", sans-serif;
        font-weight: 450;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .section-selector-5.theme-light .about-CTA a:link,
    .section-selector-5.theme-light .about-CTA a:visited {
        font-size: 3vw;
        font-family: "Inter", sans-serif;
        font-weight: bold;
        text-decoration: none;
        color: var(--darknavy);
    }
}

@media (max-width: 767px) {
    .section-selector-5.theme-light .about-CTA a:focus,
    .section-selector-5.theme-light .about-CTA a:hover, 
    .section-selector-5.theme-light .about-CTA a:active {
        font-size: 3vw;
        font-family: "Inter", sans-serif;
        font-weight: bold;
        text-decoration: none;
        color: var(--backgroundblue);
    }
}

@media (max-width: 767px) {
    .section-selector-5.theme-light img.founder {
        max-width: 100px;
        margin: 0 auto 10px;
    }
}

/* Contact */
.section-selector-6.theme-light {
    margin-top: -60px;
}

.section-selector-6.theme-light .contact-heading {
    font-size: 3.5vw;
    font-family: "Montserrat", serif;
    text-align: center;
    color: var(--darknavy);
}

.section-selector-6.theme-light .divider {
    display: block;
    width: 15%;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--iconsilver);
    margin-bottom: 30px;
}

.section-selector-6.theme-light .contact-text {
    font-size: 2vw;
    font-family: "Inter", sans-serif;
    font-weight: 350;
    margin-top: -10px;
    margin-bottom: -50px !important;
    text-align: center;
}

.section-selector-6.theme-light a:link,
.section-selector-6.theme-light a:visited {
    color: var(--backgroundblue);
    text-decoration: none;
    font-weight: bolder;
}

.section-selector-6.theme-light a:focus,
.section-selector-6.theme-light a:hover,
.section-selector-6.theme-light a:active {
    color: var(--darknavy);
    text-decoration: none;
}

/* Contact Form */
.section-selector-7.theme-light .form-container {
    background-image: url(../img/building-contact.webp) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 20px;
}

.section-selector-7.theme-light .form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7) !important;
    border-radius: 20px;
    z-index: 1;
}

.section-selector-7.theme-light form {
    position: relative;
    z-index: 5;
    transform: translateZ(0);
    border-radius: 20px;
    padding: 30px;
    background-color: transparent !important;
}

input[type="text"] {
    height: 40px;
    font-size: large !important;
    font-family: "Inter", sans-serif !important;
    border-style: none !important;
}

input[type="email"] {
    height: 40px;
    font-size: large !important;
    font-family: "Inter", sans-serif !important;
    border-style: none !important;
}

input[type="tel"] {
    height: 40px !important;
    font-size: large !important;
    background-color: white !important;
    width: 100%;
    font-family: "Inter", sans-serif !important;
    border-style: none !important;
}

input[type="date"] {
    height: 40px !important;
    font-size: large !important;
    background-color: white !important;
    font-family: "Inter", sans-serif !important;
    border-style: none !important;
}

.section-selector-7.theme-light .form-row {
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.section-selector-7.theme-light .form-row label {
    font-family: "Montserrat", serif;
    color: white !important;
    cursor: default !important;
    font-size: 1.5vw !important;
}

.section-selector-7.theme-light .form-row .asterisk  {
    color: red !important;
    font-size: 1.25vw !important;
}

.section-selector-7.theme-light .form-row5 {
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: -5px;
}

.section-selector-7.theme-light .form-row5 label {
    font-family: "Montserrat", serif;
    color: white !important;
    cursor: default !important;
    font-size: 1.5vw !important;
}

.section-selector-7.theme-light select {
    height: 40px;
    width: 300px;
    border-radius: 5px;
    font-size: large;
}

.section-selector-7.theme-light select:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.section-selector-7.theme-light textarea {
    font-size: large !important;
    font-family: "Inter", sans-serif !important;
    border-style: none !important;
}

.section-selector-7.theme-light textarea:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.section-selector-7.theme-light .form-row7 label {
    font-family: "Inter", serif;
    color: white !important;
    cursor: default !important;
    font-size: 1vw !important;
    margin-top: 0;
    margin-left: 20px;
}

.section-selector-7.theme-light .form-row7 .asterisk  {
    color: red !important;
    font-size: 1vw !important;
}

.form-row7 a:link,
.form-row7 a:visited {
    color: var(--hoverblue) !important;
    text-decoration: none !important;
    font-weight: bolder !important;
}

.form-row7 a:focus,
.form-row7 a:active,
.form-row7 a:hover {
    color: red !important;
    text-decoration: none !important;
    font-weight: bolder !important;
}

.section-selector-7.theme-light .form-footer {
    display: flex;
    justify-content: center !important;
    margin-top: 30px;
    
}

.section-selector-7.theme-light .form-footer button {
    font-size: 1.5vw !important;
    background-color: var(--darknavy) !important;
    border-color: var(--darknavy) !important;
    color: white !important;
    margin-left: auto;
    margin-right: auto;
}

.section-selector-7.theme-light .form-footer button:hover {
    color: var(--darknavy) !important;
    background-color: var(--hoversilver) !important;
    border-color: var(--hoversilver) !important;
}

/* Mobile Contact Section */
@media (max-width: 767px) {
    .section-selector-6.theme-light { 
        margin-top: -40px;
        margin-bottom: -20px;
    }
}

@media (max-width: 767px) {
    .section-selector-6.theme-light .contact-heading {
        font-size: 6vw;
        font-family: "Montserrat", serif;
        text-align: center;
        color: var(--darknavy);
    }
}

@media (max-width: 767px) {
    .section-selector-6.theme-light .divider {
        display: block;
        height: 2px;
        width: 25%;
        margin-left: auto;
        margin-right: auto;
        background-color: var(--iconsilver);
        margin-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .section-selector-6.theme-light .contact-text {
        font-size: 3vw;
        font-family: "Inter", sans-serif;
        font-weight: 450;
        margin-bottom: 0 !important;
    }
}

/* Mobile Contact Form */
@media (max-width: 767px) {
    .section-selector-7.theme-light .form-container {
        margin-top: -40px;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light .form-row {
        margin: 0;
    }
}

@media (max-width: 767px) {
    input[type="text"] {
        height: 30px !important;
        font-size: 16px !important;
        font-family: "Inter", sans-serif !important;
        border-style: none !important;
    }   
}

@media (max-width: 767px) {
    input[type="email"] {
        height: 30px !important;
        font-size: 16px !important;
        font-family: "Inter", sans-serif !important;
        border-style: none !important;
    }
}

@media (max-width: 767px) {
    input[type="tel"] {
        height: 30px !important;
        font-size: 16px !important;
        background-color: white !important;
        font-family: "Inter", sans-serif !important;
        border-style: none !important;
    }
}

@media (max-width: 767px) {
    .date-wrapper {
        width: 80% !important;
        max-width: 80% !important;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .date-wrapper input[type="date"] {
        height: 30px !important;
        font-size: 16px !important;
        background-color: white !important;
        font-family: "Inter", sans-serif !important;
        border-style: none !important;
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light .form-row label {
        font-family: "Montserrat", serif;
        color: white !important;
        cursor: default !important;
        font-size: 3vw !important;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light .form-row .asterisk  {
        color: red !important;
        font-size: 2.5vw !important;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light .form-row5 {
        display: block;
        margin-left: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light .form-row5 label {
        font-family: "Montserrat", serif;
        color: white !important;
        cursor: default !important;
        font-size: 3vw !important;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light select {
        height: 30px !important;
        font-size: 16px !important;
        width: 90% !important;
        border-radius: 5px;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light textarea {
        font-size: smaller !important;
        font-family: "Inter", sans-serif !important;
        border-style: none !important;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light .form-row7 .asterisk  {
        color: red !important;
        font-size: 2.5vw !important;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light .form-row7 label  {
        color: white !important;
        font-size: 2.5vw !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .section-selector-7.theme-light .form-footer button {
        font-size: 2.75vw !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
        margin-top: -10px !important;
        margin-bottom: 0 !important;
    }
}

/* POPIA Banner */
#popia-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    font-family: "Inter", sans-serif;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    font-family: "Inter", sans-serif;
}

#popia-banner.popia-show {
    transform: translateY(0);
}

.popia-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-family: "Inter", sans-serif;
}

.popia-content p {
    margin: 0 0 25px;
    color: black;
    line-height: 1.5;
}

.popia-content a {
    color: var(--darknavy);
    text-decoration: underline;
    text-decoration-color: var(--darknavy);
}

.popia-content a:hover {
    color: var(--backgroundblue);
    text-decoration: underline;
    text-decoration-color: var(--backgroundblue);
}

.popia-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.popia-label {
    display: inline-flex !important;  /* inline-flex keeps them on same line */
    align-items: center !important;  /* vertically center checkbox and text */
    gap: 8px !important;   /* space between checkbox and text */
    white-space: nowrap !important;  /* prevent text from wrapping under the checkbox */
    font-size: 13px;
    margin: 0;  /* override rules that add margin */
    width: auto !important;  /* prevent forced full-width labels */
    min-width: 0;  /* robust against flexbox bugs */
}

.popia-checkbox {
    margin: 0 !important;  /* remove any external margins */
    flex: 0 0 auto !important;  /* prevent checkbox from stretching */
    vertical-align: middle !important;
    transform: translateY(0);  /* keep baseline consistent */
    cursor: pointer;
}

#popia-save, #popia-reject {
    background-color: var(--darknavy);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    margin-bottom: -5px;
}

#popia-save:hover, #popia-reject:hover {
    background-color: var(--backgroundblue);
}

/* Mobile POPIA Banner */
@media (max-width: 767px) {
    .popia-content {
      padding: 15px;
      font-size: 13px;
    }
}

@media (max-width: 767px) {
    .popia-options {
      flex-direction: column;
      gap: 10px;
    }
}

/* Privacy Policy */
.privacy-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
}

.privacy-container h1 {
    font-family: "Montserrat", serif;
    color: var(--darknavy);
    text-align: center;
    margin-bottom: 10px;
    font-size: 56px;
}

.privacy-container p.date{
    font-family: "Inter", sans-serif;
    font-weight: bold;
    font-size: 18px;
}

.privacy-container p.intro {
    font-family: "Inter", sans-serif;
    font-size: 16.5px;
    margin-top: 15px;
}

.privacy-container h2 {
    font-family: "Montserrat", serif;
    color: var(--darknavy);
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 36px;
}

.privacy-container p.privacy-text {
    font-family: "Inter", sans-serif;
    font-size: 16.5px;
}

.privacy-container ul {
    list-style-type: none;
}

.privacy-container .privacy-list-heading {
    font-family: "Inter", sans-serif;
    font-size: 16.5px;
    margin-bottom: 7px;
}

.privacy-container li.privacy-lists {
    font-family: "Inter", sans-serif;
    font-size: 16.5px;
}

.privacy-container p.privacy-info {
    font-family: "Inter", sans-serif;
    font-size: 16.5px;
    margin-top: 15px;
}

.privacy-container p.privacy-contact {
    font-family: "Inter", sans-serif;
    font-size: 16.5px;
    margin-top: 15px;
}

.privacy-container p.privacy-text a:link {
    font-family: "Inter", sans-serif;
    font-size: 16.5px;
    text-decoration: none;
    color: var(--backgroundblue);
}

.privacy-container p.privacy-text a:hover {
    text-decoration: none;
    color: red;
}

/* Projects Section */
.section-selector-8.theme-light {  
    margin-top: -60px;
    margin-bottom: 30px;
}

.section-selector-8.theme-light .about-headings {
    font-size: 3.5vw;
    font-family: "Montserrat", serif;
    text-align: center;
    color: var(--darknavy);
}

.section-selector-8.theme-light .divider {
    display: block;
    width: 15%;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--iconsilver);
    margin-bottom: 30px;
}

.section-selector-8.theme-light .about-text {
    font-size: 1.75vw;
    font-family: "Inter", sans-serif;
    font-weight: 350;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

/* Mobile Projects Section */
@media (max-width: 767px) {
    .section-selector-8.theme-light { 
        background-color: var(--backgroundgrey); 
        margin-top: -40px;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .section-selector-8.theme-light .about-headings {
        font-size: 6vw;
        font-family: "Montserrat", serif;
        text-align: center;
        color: var(--darknavy);
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .section-selector-8.theme-light .divider {
        display: block;
        height: 2px;
        width: 25%;
        margin-left: auto;
        margin-right: auto;
        background-color: var(--iconsilver);
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .section-selector-8.theme-light .about-text {
        font-size: 3vw;
        font-family: "Inter", sans-serif;
        font-weight: 450;
        margin-bottom: 10px;
    }
}

/* Projects Section Slideshow */
.mySlides1, .mySlides2 {
    display: none;
    width: 100%;
    height: 100%;
}

.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.slideshow-container {
    position: relative;
    aspect-ratio: 1200 / 700;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    overflow: hidden;
    margin-top: -10px;
}

 .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: black;
    font-weight: bold;
    font-size: 36px;
    transition: background-color 0.3s ease;
    background-color: rgba(0,0,0,0.3);
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.7);
    
}

.fade {
    animation-name: fade;
    animation-duration: 1.2s;
}

@keyframes fade {
    from {opacity: 0.4} 
    to {opacity: 1}
}

/* Mobile Projects Slideshow */
@media (max-width: 767px) {
    .section-selector-2.theme-light.projects {
        margin-top: 0px;
    }
}

@media (max-width: 767px) {
    .slideshow-container {
        aspect-ratio: 16 / 9;
        max-width: 100%;
        margin-top: -10px;
    }
}

@media (max-width: 767px) {
    .prev, .next {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .section-selector-4.theme-light.projects {
        margin-top: 0;
    }
}
