/* --------------- Document Styling --------------- */

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.doc-flow-flex {
    display: flex;
    flex-direction: column;
}


/* --------------- Colour Scheme --------------- */
:root {
    --dark-bg-colour: #181818;
    --dark-text-colour: #ffffff;
    --dark-shadow: rgba(24, 24, 24, 0.4);
    --secondary-colour: #D4AF37;
    --standard-shadow: 2px 2px 4px 2px rgba(24, 24, 24, 0.22);
}

/* --------------- Typography --------------- */
@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

a,
a:hover,
a:visited,
a:active,
a:focus {
    color: inherit;
    text-decoration: none;
}

/* Dekstop */
h1 {
    font-size: 4.2rem;
    letter-spacing: 0.06rem;
    line-height: 110%;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin: 14px 0;
}

h2 {
    font-size: 3.5rem;
    line-height: 112%;
    letter-spacing: 0.02rem;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.75rem;
    line-height: 130%;
    font-weight: 500;
    margin-bottom: 8px;
}

h5 {
    font-size: 1.75rem;
    font-weight: 500;
}

p {
    font-size: 1rem;
    line-height: 155%;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 145%;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
}

button {
    font-size: 1rem;
    line-height: 120%;
    letter-spacing: 0.04rem;
}

.a-button-light {
    padding: 12px 40px;
    border: 0;
    box-shadow: var(--standard-shadow);
    background-color: #ffffff;
    text-align: center;
    color: var(--dark-bg-colour);
    cursor: pointer;
}

.a-button-light:visited {
    color: var(--dark-bg-colour);
}

.a-button-dark:visited {
    color: #ffffff;
}

.a-button-light:hover {
    transition: background-color 0.3s ease;
    background-color: var(--dark-bg-colour);
    color: #ffffff;
}

.a-button-dark {
    padding: 12px 40px;
    border: 0;
    box-shadow: var(--standard-shadow);
    background-color: var(--dark-bg-colour);
    text-align: center;
    color: #ffffff;
    cursor: pointer;
}

.a-button-dark:hover {
    transition: background-color 0.3s ease;
    background-color: #ffffff;
    color: var(--dark-bg-colour);
}


/* Tablet View */
@media (max-width: 768px) {
    h1 {
        font-size: 3.25rem;
        letter-spacing: 0.06rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        line-height: 145%;
    }
}

/* Phone View */
@media (max-width: 375px) {
    p {
        font-size: 0.875rem;
        line-height: 155%;
    }

    h1 {
        font-size: 32px;
        line-height: 110%;
        letter-spacing: 0.06;
    }

    h2 {
        font-size: 2rem;
        line-height: 112%;
        letter-spacing: 0.02rem;
        padding-bottom: 0.5rem;
    }

    h3 {
        font-size: 1.25rem;
        line-height: 130%;
    }

    h5 {
        font-size: 1.25rem;
        line-height: 140%;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 145%;
    }

    .a-button-light, .a-button-dark {
        font-size: 1rem;
        padding: 6px 20px;
    }
}

/*  --------------- miscellaneous --------------- */
hr {
    color: #ffffff;
}

/* --------------- Shared section styling --------------- */
:root {
    --desktop-content-margin: 42px;
    --tablet-content-margin: 36px;
    --phone-content-margin: 16px;
}

.content {
    max-width: 1224px;
    flex: 1 1 100%;
    margin: 0px var(--desktop-content-margin);
}

.content-centered {
    display: flex;
    justify-content: center;
    margin-bottom: var(--desktop-content-margin);
}

.standard-section {
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

.standard-content {
    background-color: white;
    padding-top: 48px;
    padding-bottom: 48px;
}

.standard-content>p:first-of-type {
    padding-bottom: 64px;
}

.cta-content {
    padding-top: 48px;
    padding-bottom: 48px;
}

/* Portfolio */
.portfolio {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: var(--desktop-content-margin);
    justify-content: center;
}

.portfolio>div {
    flex: 1 1 288px;
    min-width: 200px;
    max-width: 288px;
    box-shadow: var(--standard-shadow);
    background-color: #000000;
}

.portfolio img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.portfolio-item {
    transition: opacity 0.3s ease;
}

.portfolio img:hover {
    opacity: 0.5;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.portfolio-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.portfolio-selector-item {
    border: 3px solid black;
    width: 160px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.portfolio-selector-selected {
    background-color: var(--dark-bg-colour);
    color: #ffffff;
}

.lightbox-overlay {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    background-color: rgba(24, 24, 24, 0.7);
}

.lightbox {
    background-size: cover;
    width: 85%;
    height: 85%;
    max-width: 1000px;
    max-height: 700px;
    background-color: #ffffff;
    border-radius: 5px;
    position: relative;
    background-position: 50%;
}

.lightbox-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.general-2-panel {
    display: flex;
    gap: 32px;
}

.general-2-panel-left {
    flex: 1 1 0;

}

.image-container {
    display: flex;
}

.general-2-panel-right {
    flex: 1 1 0;
}

.general-2-panel-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
    flex: 1 1 0;
}

/* Tablet View */
@media (max-width: 768px) {
    .content {
        max-width: 720px;
        margin: 0px var(--tablet-content-margin);
    }

    .cta-2-content {
        display: flex;
        justify-content: center;
    }

    .general-2-panel {
        flex-direction: column;
    }

    .general-2-panel-left {
        order: 2
    }

    .general-2-panel-right {
        order: 1
    }
}

/* Phone View */
@media (max-width: 375px) {}

/* --------------- Top bar styling --------------- */
.top-bar {
    background-color: var(--dark-bg-colour);
    color: white;
    display: flex;
    justify-content: center;
    width: 100%;
}

.top-bar-content {
    display: flex;
    align-items: center;
    height: 38px;
}

.top-bar-content p {
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 1px;
    line-height: 120%;
}

.topbar-icon {
    width: 1rem;
    height: 1rem;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7472%) hue-rotate(308deg) brightness(104%) contrast(101%);
}

#topbar-open-times {
    margin-left: auto;
}

.top-bar-content>p {
    padding: 12px 12px;
}

#topbar-spacer {
    margin: 0px 48px;
}

#topbar-follow-socials {
    display: flex;
    align-items: center;
    gap: 8px 8px;
}

/* Tablet View */
@media (max-width: 768px) {

    #topbar-open-times,
    #topbar-spacer {
        display: none;
    }

    #topbar-follow-socials {
        margin-left: auto;
    }
}

/* Phone View */
@media (max-width: 375px) {
    .top-bar {
        display: none;
    }
}

/* --------------- Header styling --------------- */
.header {
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 10;
    height: 100px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;

}

#header-logo {
    display: block;
    height: 100px;
    padding: 16px 8px;
}

.header-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    max-width: 600px;
}

.header-menu>a {
    padding: 0px 0px;
    font-size: 0.75rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    line-height: 120%;
    letter-spacing: 1px;
    margin-left: 4px;
}

.header-menu>a:hover,
a:visited,
a:active,
a:focus {
    color: inherit;
}

#header-contact-us {
    font-size: 1rem;
    font-weight: 500;

    background-color: var(--dark-bg-colour);
    color: var(--dark-text-colour);
    box-shadow: 2px 2px 2px var(--dark-shadow);
    padding: 16px 48px;
}

    #dropdown-contact-us {
        display: none;
    }

#header-dropdown-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    min-width: 25px;
    width: 30px;
    height: 30px;
    padding: 3px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#header-dropdown-button:hover {
    background-color: var(--dark-bg-colour);
}

.header-dropdown-button-line {
    border: 2px solid var(--dark-bg-colour);
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

#header-dropdown-button:hover .header-dropdown-button-line {
    border: 2px solid #ffffff;
    border-radius: 2px;
}

/* Tablet View */
@media (max-width: 768px) {
    #header-dropdown-button {
        display: flex;
    }

    .header-menu {
        box-shadow: inset 0 8px 12px -8px var(--dark-shadow);
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        width: 100vw;
        max-width: 100vw;
        left: calc(-1 * var(--tablet-content-margin));
        flex-direction: column;
        display: none;
        z-index: 5;
    }

    .header-menu>a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        margin-left: 0px;
    }

    .header-menu>a:hover {
        background-color: var(--dark-bg-colour);
        color: #ffffff;
    }

    #header-contact-us {
        display: none;
    }

    #dropdown-contact-us {
        display: inline;
    }
}

/* Phone View */
@media (max-width: 375px) {}

/* --------------- Footer styling --------------- */
.footer {
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

.footer-content {}

.footer-split-containers {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    padding: 96px 0 48px 0;
}


#footer-left-box {
    text-align: center;
    max-width: 300px;
    flex: 1 1 0px;
}

#footer-left-box>p {
    padding: 16px 0;
}

#footer-left-box>a {
    padding: 0 4px;
}

#footer-logo {
    display: block;
}

.footer-icon {
    width: 1rem;
    height: 1rem;
    filter: brightness(0) saturate(100%) invert(84%) sepia(30%) saturate(1168%) hue-rotate(345deg) brightness(92%) contrast(79%);
}

#footer-right-box>a {
    display: block;
    padding: 4px 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 1.6px;
}

.footer-nav-header {
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: 2.5px;
    color: var(--secondary-colour);
    margin-bottom: 16px;
}

#footer-statements {
    display: flex;
    justify-content: space-between;
    padding: 48px 0 36px 0;
}

#footer-statements a {
    color: var(--secondary-colour);
    margin-left: 24px;
}

/* Tablet View */
@media (max-width: 768px) {
    #footer-statements {
        display: flex;
        flex-direction: column;
    }

    #footer-statements div {
        margin-top: 6px;
    }

    #footer-statements a {
        margin-left: 0px;
    }
}

/* Phone View */
@media (max-width: 375px) {
    .footer-split-containers {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    #footer-right-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #footer-statements p,
    div {
        text-align: center;
    }
}

/* --------------- Home page styling --------------- */
.hero-banner {
    position: relative;
    z-index: 0;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: auto;
    overflow: hidden;
    background-color: #000;
}

.hero-banner-full {
    height: calc(100vh - 100px - 38px);
}

.hero-banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    height: calc(100vh - 100px - 38px);
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.hero-banner .content {
    position: relative;
    z-index: 1;
}

.hero-banner-content {
    margin: 96px 0px;
    padding: 32px 32px;
    background-color: rgba(0, 0, 0, 0.4);
    height: calc(100% - 96px - 96px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#hero-banner-logo {
    width: 400px;
}

#hero-buttons {
    display: flex;
    margin-top: 32px;
    gap: 16px;
}

@media (max-width: 560px) {
#hero-buttons {
    flex-direction: column;
}
}

#home-what-we-offer {
    padding-top: 48px;
}

#home-cta-1 {
    background-color: grey;
}

#home-cta-2 {
    background-color: grey;
}

/* What we offer */
.home-three-tiles {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.home-three-tile {
    display: flex;
    flex-direction: column;
    padding: 32px;
    box-shadow: 2px 2px 4px 2px rgba(24, 24, 24, 0.22);
    text-align: center;
}

.home-three-tile>img {
    margin-bottom: 32px;
    min-height: 330px;
    object-fit: cover;
}

/* Three tiles specific break point */
@media (max-width: 1140px) {
    .home-three-tiles {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .home-three-tile>img {
        max-height: 240px;
        min-height: 0;
    }

    #home-three-tile-two {
        object-position: 100% 65%;
    }

    #home-three-tile-three {
        object-position: 100% 65%;
    }
}

/* Our services */
.home-services-two-sections {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    height: 575px;
}

.home-services-two-left {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 24px;
}

.home-services-two-left>img {
    flex: 1 1 0px;
    width: 0;
    min-width: 0;
    object-fit: cover;
    box-shadow: var(--standard-shadow);
}

.services-expandable {
    flex: 1;
    margin: 32px 0;
}

.services-expandable {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expandable-header {
    background-color: var(--dark-bg-colour);
    color: #ffffff;
    padding: 12px;
    box-shadow: 0px 4px 4px var(--dark-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expandable-header>h3 {
    font-weight: 400;
    letter-spacing: 0.03rem;
    margin-bottom: 0px;
}

.expand-chevron {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7472%) hue-rotate(308deg) brightness(104%) contrast(101%);
    width: 32px;
}

.expandable-content {
    background-color: rgba(24, 24, 24, 0.15);
    margin-bottom: 8px;
    transition: height 0.4s ease;
    transition-delay: 0;
    height: 0px;
    overflow: hidden;
}

.expandable-hide {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 32px;
}

.expandable-hide>a {
    margin-top: 24px;
    padding: 12px 40px;
    border: 0;
    box-shadow: var(--standard-shadow);
    background-color: #ffffff;
    text-align: center;
}

.expandable-hide>a:hover {
    background-color: var(--dark-bg-colour);
    color: #ffffff;
}

/* Home expandable specific break point */
@media (max-width: 1140px) {
    .home-services-two-sections {
        flex-direction: column;
        height: 1075px;
    }
}

/* Home portfolio */

.standard-content>a {
    margin-top: 40px;
}

/* Home CTA 1 */
#home-cta-1-section {
    background-image: url("assets/images/home/home-cta-1.jpg");
    background-size: cover;
}

.cta-1-content {
    background-color: rgba(0, 0, 0, 0.4);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
    color: #ffffff;
    padding: 24px 48px;
}

.home-cta-1-content>a {
    padding: 12px 40px;
    border: 0;
    box-shadow: var(--standard-shadow);
    background-color: #ffffff;
    text-align: center;
    color: var(--dark-bg-colour);
}

.home-cta-1-content>h2 {
    padding: 0;
    margin: 0;
}

/* Home our process */
.home-process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.home-process-steps>div {
    flex: 1 1 284px;
    max-width: 300px;
    box-shadow: var(--standard-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
}

.process-circle {
    background-color: var(--dark-bg-colour);
    color: #ffffff;
    font-size: 52px;
    font-weight: 700;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    margin-bottom: 18px;
}

/* Home CTA 1 */
#home-cta-2-section {
    background-image: url("assets/images/home/home-cta-1.jpg");
    background-size: cover;
}

.cta-2-content {
    background-color: rgba(0, 0, 0, 0.75);
    min-height: 512px;
    max-width: 520px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
    color: #ffffff;

    border: 2px
}

.cta-2-content>a {
    padding: 12px 40px;
    margin-top: 12px;
    border: 0;
    box-shadow: var(--standard-shadow);
    background-color: #ffffff;
    text-align: center;
    color: var(--dark-bg-colour);
}

.cta-2-content>h2 {
    padding: 0;
    margin: 0;
}

#cta-2-button {
    background-color: var(--secondary-colour);
}

/* Home testimonial */
.home-video-testimonial {
    display: flex;
    justify-content: center;
}

.home-video-testimonial video {
    border-radius: 5px;
    object-fit: cover;
    box-shadow: var(--standard-shadow);
}

/* Tablet View */
@media (max-width: 768px) {
    .hero-banner-full {
        height: 100%;
    }

    .hero-banner-video {
        height: 100%;
    }

}

/* Phone View */
@media (max-width: 375px) {
    #hero-buttons {
        flex-direction: column;
    }
}

/* --------------- Shared banner styling --------------- */

.banner-content {
    padding: 100px 32px;
    margin-top: 48px;
    margin-bottom: 48px;
}


/* --------------- About page styling --------------- */

#about-banner {
    background-image: url("assets/images/about/about-banner.jpg");
    background-size: cover;
    background-position: 50% 30%;
    min-height: 0;

}

/* About portrait */

.about-portrait {
    max-height: 500px;
    display: flex;
    gap: 32px;
}

.about-portrait img {
    object-fit: cover;
    width: 33%;
}

.about-portrait div {
    width: 77%;
}

.about-timeline-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.about-timeline-steps>div {
    flex: 1 1 284px;
    max-width: 300px;
    box-shadow: var(--standard-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
}

.timeline-icon {
    width: 42px;
    height: 42px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7472%) hue-rotate(308deg) brightness(104%) contrast(101%);
}

#heart-icon {
    width: 80px;
    height: 80px;
}

#trophy-icon {
    width: 58px;
    height: 58px;
}

.timeline-arrow {
    position: relative;
    padding-right: 168px;
    display: inline-block;
    width: 90%;
    margin-top: 8px;
}

.timeline-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 60px;
    right: 0;
    height: 2px;
    background: #000;
    transform: translateY(-50%);
}

.timeline-arrow::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: translateY(-50%) rotate(45deg);
}

/* About team behind magic */

#about-team-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* About CTA 1 */
#about-cta-1-section {
    background-image: url("assets/images/home/home-cta-1.jpg");
    background-size: cover;
}

.about-cta-socials {
    display: flex;
    margin-top: 16px;
    gap: 24px;
}

.about-cta-socials div {
    background-color: var(--dark-bg-colour);
    width: 64px;
    height: 64px;
    border-radius: 32px;
    box-shadow: var(--standard-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-icon {
    filter: brightness(0) saturate(100%) invert(76%) sepia(87%) saturate(416%) hue-rotate(346deg) brightness(88%) contrast(87%);
}

.cta-icon-a {
    width: 32px;
    height: 32px;
}

/* About Work in Action */
.about-work-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 256px 256px;
    gap: 16px;
}

.about-work-action-grid-item>img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#about-work-action-grid-1 {
    grid-column: 1 / span 2;
}

#about-work-action-grid-4 {
    grid-column: 2 / span 2;
}

/* Tablet View */
@media (max-width: 768px) {
    .about-portrait {
        flex-direction: column;
        max-height: 100%;
    }

    .about-portrait img {
        object-fit: cover;
        width: 100%;
        max-height: 500px;
        object-position: 100% 20%;
    }

    .about-portrait div {
        width: 100%;
    }

    .about-work-action-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 256px 256px;
        gap: 16px;
    }

    #about-work-action-grid-1 {
        grid-column: 1 / span 1;
    }

    #about-work-action-grid-4 {
        grid-column: 2 / span 1;
    }
}

/* Phone View */
@media (max-width: 375px) {
    .about-work-action-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 16px;
    }

    #about-work-action-grid-1, #about-work-action-grid-2,
    #about-work-action-grid-3, #about-work-action-grid-4 {
        grid-column: 1;
    }
}

/* About metrics */
.about-metrics-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.about-metrics-container>div {
    flex: 1 1 288px;
    max-width: 288px;
    background-color: var(--dark-bg-colour);
    color: #ffffff;
    padding: 36px 8px;
    text-align: center;
}

.about-metrics-heading {
    font-size: 4.2rem;
    letter-spacing: 0.06rem;
    line-height: 110%;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin: 14px 0;
}

.about-metrics-text {
    font-size: 1.75rem;
    font-weight: 500;
}

/* About CTA 2 */

#about-cta-2-section {
    background-image: url("assets/images/about/about-cta-2.jpg");
    background-size: cover;
}


/* Phone View */
@media (max-width: 375px) {
    #hero-buttons {
        flex-direction: column;
    }
}

/* --------------- Services page styling --------------- */

#services-banner {
    background-image: url("assets/images/services/services-banner.jpg");
    background-size: cover;
    background-position: 20% 10%;
    min-height: 0;

}

#services-panel-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#services-panel-right video {
    box-shadow: var(--standard-shadow);
}

.services-four-image {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 24px;

}

.services-four-image>img {
    flex: 1 1 0px;
    width: 0;
    min-width: 0;
    object-fit: cover;
    box-shadow: var(--standard-shadow);

}

/* Services CTAs */

#services-cta-1-section {
    background-image: url("assets/images/services/services-cta-1.jpg");
    background-size: cover;
    background-position: 0% 50%;
}

#services-cta-2-section {
    background-image: url("assets/images/services/services-cta-2.jpg");
    background-size: cover;
    background-position: 0% 50%;
}

#services-cta-3-section {
    background-image: url("assets/images/services/services-cta-3.jpg");
    background-size: cover;
    background-position: 0% 50%;
}

#cta-3-content-container {
    display: flex;
    justify-content: right;
}



/* Services descriptions */

.services-description {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-header-container {
    border-left: 2px solid var(--dark-bg-colour);
    padding-left: 16px;
}

#services-partial-stage-container {
    border-left: 2px solid #ffffff;
}

.services-stage-features {
    padding-left: 16px;
    margin-top: 48px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.services-stage-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 50%;
    margin-bottom: 16px;
    padding: 8px;
    max-width: 50%;
}

#services-partial-stage-content,
#services-partial-stage-section {
    background-color: var(--dark-bg-colour);
    color: #ffffff;
}

.services-partial-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7472%) hue-rotate(308deg) brightness(104%) contrast(101%);
}

#services-hear-from-clients-content {
    min-width: 0px;
}

.services-reviews {
    display: flex;
    width: 100%;
}

.services-review-item {
    padding: 12px;
    margin: 10px 10px;
    margin-bottom: 40px;
    box-shadow: var(--standard-shadow);

    flex: 1 1 calc(33%);
    max-width: 500px;

    display: flex;
    align-items: center;
    gap: 12px
}

.services-review-portrait {
    min-width: 80px;
    max-width: 80px;
    height: 80px;
    display: flex;
}

.services-review-portrait-image {
    border-radius: 40px;
    object-fit: cover;
    flex: 1 1 auto;
}

.services-review-text {
    border-left: 2px solid var(--dark-bg-colour);
    padding-left: 16px;
}

.services-review-text p {
    padding-left: 16px;
    font-size: 0.8rem;
    text-align: left;
}

.caption {
    font-size: 0.75rem;
    margin-top: 10px;
}


@media (max-width: 1140px) {
    .services-reviews {
        flex-direction: column;
        align-items: center;

    }

}

/* Review scroll vertical */
@media (max-width: 650px) {
    #services-hear-from-clients-content {
        margin-bottom: 32px;
    }
}


/* Tablet View */
@media (max-width: 768px) {
    #services-panel-right {
        width: 100%;
    }

}

/* Phone View */
@media (max-width: 375px) {
    .services-stage-features {
        flex-direction: column;
    }

    .services-stage-feature {
        max-width: 100%;
    }

    .services-stage-feature p {
        text-align: left;
    }

    .services-review-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px
    }

    .services-review-text {
       
        border-left: 0;
        padding-top: 8px;
        padding-left: 0;
    }
}

/* --------------- Portfolio page styling --------------- */

#portfolio-banner {
    background-image: url("assets/images/portfolio/portfolio-banner.jpg");
    background-size: cover;
    background-position: 0% 50%;
    min-height: 0;

}

/* Featured project viewer */
.portfolio-scroll-item {
    list-style-type: none;
    flex: 0 0 33%;

    margin: 10px 10px;
    box-shadow: var(--standard-shadow);

    scroll-snap-align: center;

    display: flex;
    align-items: center;
    gap: 12px
}

.portfolio-scroll-item>img {
    flex: 1 1 auto;
    object-fit: cover;
    height: 100%;
}

#portfolio-scroll-container {
    padding: 0;
    align-items: center;
    margin: 0 48px;
    height: 400px;
}

#portfolio-scroll-prev,
#portfolio-scroll-next {
    display: block;
}


/* Portfolio CTA */
#portfolio-cta-3-section {
    background-image: url("assets/images/portfolio/portfolio-cta-1.jpg");
    background-size: cover;
    background-position: 0% 50%;
}

@media (max-width: 1140px) {
    #portfolio-scroll-container {
        justify-content: space-around;
    }
}

/* Review scroll vertical */
@media (max-width: 850px) {
    #portfolio-hear-from-clients-content {
        margin-bottom: 32px;
    }
    #portfolio-scroll-container {
        margin: 0 0;
    }
}

/* Phone View */
@media (max-width: 375px) {
    .portfolio-scroll-item {
        flex: 1 1 100%;
    }
}


/* Slider Styling  */

.scroll-container {
    width: 100%;
    padding: 0;
    margin-top: 32px;

    overflow-x: hidden;
    scroll-snap-type: x mandatory;

    display: flex;
    flex-wrap: nowrap;
    text-align: center;
}

.scroll-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.scroll-next,
.scroll-prev {
    display: none;
    cursor: pointer;
    height: 50px;
    width: 70px;
}

.scroll-next img {
    transform: rotate(90deg);
    height: 100%;
}

.scroll-next:active img {
    transform: translate(2px, 2px) rotate(90deg);
}

.scroll-prev img {
    transform: rotate(-90deg);
    height: 100%;
}

.scroll-prev:active img {
    transform: translate(2px, 2px) rotate(-90deg);
}

.scroll-inactive {
    filter: brightness(0) saturate(100%) invert(79%) sepia(1%) saturate(261%) hue-rotate(30deg) brightness(99%) contrast(90%);
}

.scroll-item-centered {
    flex: 0 0 calc(40% - 60px);
    height: 300px;
}

.scroll-item-offset {
    flex: 0 0 30%;
    height: 220px;
}

.scroll-item-spacer {
    box-shadow: 0 0 0 0 #ffffff;
}

.scroll-subtext {
    margin-top: 48px;
}

#portfolio-subheading {
    margin-top: 64px;
    font-size: 2.125rem;
    font-weight: 400;
    margin-bottom: 48px;
}

.portfolio-associated-services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
}

.portfolio-associated-services>div {
    flex: 1 1 284px;
    max-width: 300px;
    box-shadow: var(--standard-shadow);
    text-align: center;
    padding: 16px;
}

.portfolio-associated-services img {
    width: 150px;
}

@media (max-width: 1140px) {

    .scroll-next,
    .scroll-prev {
        display: flex;
    }

    .scroll-item-centered {
        flex: 0 0 calc(70% - 60px);
        height: 300px;
    }

    .scroll-item-offset {
        flex: 0 0 15%;
        height: 220px;
        display: none;
    }
}

@media (max-width: 850px) {


    .scroll-controls {
        position: relative;
    }

    .scroll-prev {
        position: absolute;
        left: 35%;
        top: 90%;
    }

    .scroll-next {
        position: absolute;
        right: 35%;
        top: 90%;
    }

    .scroll-next,
    .scroll-prev {
        height: 35px;
        width: 35px;
    }

    .scroll-item-centered {
        flex: 0 0 95%;
        height: 300px;
    }

    .scroll-item-offset {
        flex: 0 0 15%;
        height: 220px;
        display: none;
    }
}

@media (max-width: 375px) {}

/* --------------- Contact page styling --------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    box-shadow: var(--standard-shadow);
    padding: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
}

.living-in-radios {
    display: flex;
}

.living-in-radios label {
    margin-right: 24px;
}

textarea {
    padding: 4px;
}

.form-submit-container {
    display: flex;
    justify-content: right;
}

.form-submit-container input {}

.contact-2-panel-left {
    background-image: url("assets/images/contact/contact-form-kitchen.jpg");
    background-size: cover;
    background-position: 50% 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px;
}

.contact-details {
    background-color: var(--dark-bg-colour);
    opacity: 0.85;
    width: 100%;
    color: #ffffff;
    padding: 24px;
}

.contact-details>p {
    margin-bottom: 24px;
}

.contact-details-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-details-item img {
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7472%) hue-rotate(308deg) brightness(104%) contrast(101%);
}

.contact-details p {
    overflow-wrap: anywhere;   /* modern, best behavior */
    word-break: break-word;    /* fallback for older browsers */
}

#contact-form-map {
    background-image: url("assets/images/contact/contact-map.jpg");
    background-size: cover;
    height: 400px;
    background-position: 50%;
}

@media (max-width: 560px) {
    .contact-grid {
        grid-template-columns: 1fr;      
        padding: 16px;
        gap: 16px;
    }

    .living-in-radios {
        flex-direction: column;
        gap: 8px;
    }
}

/* --------- Privacy Policy ---------- */

.privacy-policy {
    line-height: 150%;
    width: 70%;
}