:root {
    --background: #fbf6ef;
    --outline: #f3e7d2;
    --text-dark: #1F1F1F;
    --text-dark-hover: #4b4b4b;
    --text-light: #EAE8E6;
    --accordion-bg: #EBD1AD;
    --accordion-hover: #e9c89e;
    --nav-hover: #f5e7d5;
    --nav-active: #f5e7d5;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--text-dark);
}

.no-scroll {
  /* overflow: hidden; */
  height: 100vh;
}

html {
    background-color: var(--background);
}

body {
    overflow-x: hidden;
}

a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

h1 {
    font-size: 61px;
    letter-spacing: .02em;
    font-family: "Crimson Pro", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

h2 {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-style: normal;
}

h3 {
    font-size: 46px;
    letter-spacing: .01em;
    font-family: "Crimson Pro", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    padding-bottom: 16px;
}

h4 {
    font-size: 26px;
    font-family: "Crimson Pro", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.text-l {
    color: var(--text-light);
}

.text-18 {
    font-size: 18px;
    font-family: "Lato", sans-serif;
    line-height: 175%;
    font-weight: 400;
    font-style: normal;
}

.margin {
    padding-inline: 100px;
}

.out-l {
    border-left: 2px solid var(--outline);
}

.out-r {
    border-right: 2px solid var(--outline);
}

.out-lr {
    border-inline: 2px solid var(--outline);
}

.out-b {
    border-bottom: 2px solid var(--outline);
}

.container {
    width: 100%;
    max-width: 1440px;
    margin-inline: 100px;
    background-color: transparent;
}

.section-base {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.button-hover-dark:hover {
    background-color: #7C3813;
    transition: .12s ease-out;
}

.button-hover-light:hover {
    background-color: var(--nav-active);
    transition: .15s ease-out;
}

.span-none {
    display: none;
}

/*---------*/
/* Nav Bar */
/*---------*/

header {
    height: 88px;
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: var(--background);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.header-container a {
    overflow: hidden;
}

.logo {
    width: 241px;
    height: 88px;
}

.nav-container {
    width: 100%;
    max-width: 450px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    height: 100%;
    flex-grow: 1;
    align-content: center;
    text-align: center;
    font-size: 18px;
    font-family: "Crimson Pro", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.nav-active {
    background-color: var(--nav-active);
}

.nav-link:hover {
    background-color: var(--nav-hover);
    transition: .25s ease-out;
}

.hamburger-wrapper {
    display: none;
}

.mobile-menu {
    display: none;
}

.mobile-menu.active {
    transform: translateY(0);
    transition-delay: .2s;
}

/*------*/
/* Hero */
/*------*/

.hero {
    background-image: url(./Assets/Hero\ Poppy\ Blurred.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

.section-hero {
    justify-content: center;
    align-items: center;
}

.hero-text-wrapper {
    align-items: start;
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10%;
    max-width: 755px;
    color: var(--text-light);
}

.h2-hero {
    font-size: 21px;
    font-weight: 400;
    line-height: 150%;
    padding-inline: 0px;
}

.button {
    font-family: "Lato", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
}

.button-hero {
    padding-block: 10px;
    padding-inline: 28px;
    border-radius: 6px;
    background-color: #954317;
    width: fit-content;
}

.hero-subtext {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .01em;
    margin-top: 2px;
}

.portal-link {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/*-------*/
/* Intro */
/*-------*/

.section-intro {
    position: relative;
    min-height: 100vh;
}

.section-intro::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--outline);
  transform: translateX(-50%);
}

.intro {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 74px;
}

.welcome-wrapper {
    display: flex;
    flex-direction: row;
}

.welcome-text {
    display: flex;
    align-items: start;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
    padding-inline: .6rem;
}

.welcome-img-wrapper {
    aspect-ratio: 155/88;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 1;
    flex-basis: 50%;
}

.welcome-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
}

.about-wrapper {
    display: flex;
    flex-direction: row;
    padding-top: 74px;
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
    padding-inline: .6rem;
}

.about-img-wrapper {
    aspect-ratio: 155/88;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 1;
    flex-basis: 50%;
}

.about-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/*----------*/
/* Services */
/*----------*/

.service-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 3.5rem;
    text-align: center;
    min-height: 50vh;
}

.services-body {
    max-width: 1200px;
}

.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.card {
    display: flex;
    gap: 15px;
    flex: 0 0 25%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 260px;
    padding: 32px 12px 16px 12px;
    text-align: center;
}

.learn-more-wrapper:hover {
    fill: var(--text-dark-hover);
    color: var(--text-dark-hover);
    transition: .1s ease-out;
}

.learn-more-wrapper:hover svg {
    fill: var(--text-dark-hover);
    color: var(--text-dark-hover);
    transition: .1s ease-out;
}

.card-body {
    font-size: 15px;
    line-height: 160%;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.learn-more {
    display: flex;
    font-size: 14px;
    line-height: 160%;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-style: normal;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a span {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*------*/
/* FAQs */
/*------*/

.faq .container {
    padding-block: 74px;
}

.faq h3 {
    text-align: center;
    padding-block: 2.75rem;
}

.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.accordion {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 28px;
    background-color: var(--accordion-bg);
    border-radius: 4px;
}

.accordion:hover {
    background-color: var(--accordion-hover);
    transition: .1s ease-out;
}

.accordion-heading {
    font-size: 19px;
    line-height: 160%;
    letter-spacing: .01rem;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.accordion-chevron {
    rotate: 180deg;
    transition: .1s;
}

.active .accordion-chevron {
    rotate: 0deg;
    transition: .1s;
}

.panel {
    font-size: 16px;
    line-height: 160%;
    letter-spacing: .01rem;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    padding: 20px 22px;
    background-color: transparent;
    display: none;
    overflow: hidden;
}

/*-----*/
/* CTA */
/*-----*/

.cta {
    background-image: url(./Assets/Iphone_Office_Picture_1.webp);
    background-size: cover;
    background-position: right 0px bottom 10%;
    background-repeat: no-repeat;
}

.cta-tint {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
}

.container-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    min-height: 90vh;
    text-align: center;
    padding: 2rem;
}

.cta-heading {
    font-size: 52px;
    letter-spacing: .01em;
    font-family: "Crimson Pro", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    padding-bottom: 0;
}

.cta-text {
    max-width: 900px;
    font-size: 21px;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 160%;
}

.button-cta {
    padding-block: 10px;
    padding-inline: 28px;
    border-radius: 6px;
    background-color: var(--background);
    font-weight: 600;
    width: fit-content;
}

/*--------*/
/* Footer */
/*--------*/

.footer {
    min-height: 45vh;
    font-size: 16px;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 160%;
    letter-spacing: .01em;
}

.footer-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.footer-left {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
    padding-bottom: 5vh;
}

.footer-contact {
    padding-top: .5rem;
    padding-left: .625rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-contact svg {
    margin-top: 1px;
}

.footer-email-mobile {
    display: none;
}

.footer-center {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 5vh;
}

.mobile-portal {
    display: none;
}

.footer-center a {
    text-decoration: underline solid 1px var(--text-dark);
    text-underline-offset: 4px;
}

.footer-center a:hover {
    color: var(--text-dark-hover);
    text-decoration: underline solid 1px var(--text-dark-hover);
}

.footer-right {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: end;
    padding-bottom: 5vh;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: .625rem;
}

.footer-links a:hover {
    color: var(--text-dark-hover);
    text-decoration: underline solid 1px var(--text-dark-hover);
    text-underline-offset: 4px;
}


/*---------------*/
/* Services Page */
/*---------------*/

.service-hero {
    background-image: url(./Assets/Service\ Hero.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
}

.section-service-hero {
    justify-content: center;
    align-items: center;
}

.service-tint {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
}

.service-hero-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10%;
    max-width: 755px;
    color: var(--text-light);
}

.service-hero-text {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 21px;
    font-weight: 400;
    line-height: 150%;
}

.service-list {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 52px;
    padding-block: 80px;
    padding-inline: 8px;
}

.service-listing {
    scroll-margin-block-start: 95px;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

/* .service-listing:nth-child(1) {
    scroll-margin-block-start: 147px;
} */

.h2-service {
    font-size: 32px;
    letter-spacing: .01em;
    font-family: "Crimson Pro", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

/*------------*/
/* About Page */
/*------------*/

.about {
    display: flex;
    padding-top: 150px;
    padding-bottom: 200px;
}

.about .welcome-img-wrapper {
    flex: 0 0 40%;
}

.h1-about {
    line-height: 68px;
}

.h2-about {
    padding-bottom: 8px;
}

.about-text-wrapper {
    display: flex;
    flex: 0 0 60%;
    flex-direction: column;
    gap: 1rem;
    padding-inline-start: 8px;
    padding-inline-end: 40px;
}

/*--------------*/
/* Contact Page */
/*--------------*/

.contact {
    background-image: url(./Assets/Contact\ Alt\ 2.webp);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    height: 100vh;
}

.contact-tint {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
}

.section-contact {
    justify-content: center;
    align-items: center;
}

.contact-text-wrapper {
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10%;
    max-width: 755px;
    z-index: 10;
}

.contact-text-wrapper h1 {
    color: var(--text-light);
}

.h2-contact {
    color: var(--text-light);
    font-size: 21px;
    font-weight: 400;
    line-height: 150%;
}

.button {
    font-family: "Lato", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
}

.contact-button-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.button-contact {
    font-family: "Lato", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    padding-block: 10px;
    padding-inline: 28px;
    border-radius: 6px;
    background-color: #954317;
    width: fit-content;
}

.button-portal {
    color: var(--text-light);
    background-color: #954317;
    font-weight: 400;
    padding-block: 10px;
    padding-inline: 28px;
    border-radius: 6px;
    width: fit-content;
}

.office {
    display: flex;
}

.office div {
    flex: 1;
    padding-block: 32px;
}

.office-heading {
    display: flex;
}

.h2-office {
    font-size: 46px;
    letter-spacing: .01em;
    font-family: "Crimson Pro", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    padding-left: 8px;
}

.h2-office-mobile {
    display: none;
}

.office-pics {
    display: flex;
    min-height: 40vh;
}

.office-1 {
    background-image: url(./Assets/Office\ Photo\ 3.webp);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    flex: 1;
}

.office-2 {
    background-image: url(./Assets/Jenga\ 1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
}

.office-3 {
    background-image: url(./Assets/Office\ Building.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
}

/*--------------*/
/* Tablet 992px */
/*--------------*/

@media (max-width: 1300px) {

    .about {
        align-items: center;
    }

    .about-text-wrapper {
        flex: 0 0 50%;
    }
    

    .about .welcome-img-wrapper{
        flex: 0 0 50%;
        height: 70%;
    }
}

@media (max-width: 992px) {

    .container {
        margin-inline: 12px;
        padding-inline: 42px;
    }

    .out-lr {
        border: none;
    }

    /*--------*/
    /* Header */
    /*--------*/

    .nav-container {
        display: none;
    }

    .hamburger-wrapper {
        display: flex;
        align-items: center;
        padding: 10px;
    }
    
    .hamburger {
        all: unset;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-menu-container {
        width: 100%;
        height: 100%;
        max-width: 1440px;
        background-color: transparent;
        padding-top: 32px;
        padding-left: 12px;
    }

    .mobile-menu {
        position: fixed;
        top: 88px;
        left: 0;
        width: 100%;
        height: calc(100vh - 88px);
        background: var(--background);
        color: var(--text-dark);
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        padding-inline: 100px;
        transform: translateX(calc(-100% - 88px));
        transition: 0.4s ease;
        z-index: 10;
        font-size: 24px;
        font-family: "Lato", sans-serif;
        font-weight: 500;
        font-style: normal;
    }

    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu a {
        text-decoration: none;
    }

    .intro {
        padding-block: 32px;
    }

    .section-intro::before {
        display: none;
    }

    .welcome-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .welcome-img-wrapper, .about-img-wrapper {
        padding-inline: 8px;
    }

    .about-wrapper {
        flex-flow: column-reverse;
        gap: 20px;
        padding-top: 32px;
    }

    .service-heading {
        padding-block: 40px;
    }

    /*-------*/
    /* Cards */
    /*-------*/

    .cards .container {
        border: none;
    }

    .card {
        flex: 0 0 50%;
    }

    .card:nth-child(n+3) {
        border-top: 2px solid var(--outline);
    }

    .card:nth-child(even) {
        border-right: 2px solid var(--outline);
    }


    .about-text-wrapper {
        flex: 0 0 100%;
        padding-inline: 8px;
    }

    .bio-img {
        display: none;
    }

}

@media (max-width: 768px) {

    .container {
        margin-inline: 12px;
    }

    .out-lr {
        border-inline: none;
    }

    .out-l {
        border-left: none;
    }

    .out-r {
        border-right: none;
    }

    .hero-text-wrapper {
        align-items: center;
        text-align: center;
    }

    .hero-text-wrapper h2 {
        padding-inline: 20px;
    }

    .intro {
        text-align: center;
    }

    .welcome-text, .about-text {
        align-items: center;
    }

    .cards .container {
        margin-inline: 0px;
        padding-inline: 0px;
    }

    .card {
        flex: 0 0 50%;
    }

    .card:nth-child(n+3) {
        border-top: 2px solid var(--outline);
    }

    .card:nth-child(even) {
        border-left: 2px solid var(--outline);
    }

    .card:nth-child(even) {
        border-right: none;
    }

    .mobile-menu {
        padding-inline: 20px;
    }

    .faq h3 {
        padding-top: 0px;
    }

    .footer-center {
        display: none;
        padding-bottom: 0px;
    }

    .footer-links {
        align-items: end;
    }

    .mobile-portal {
        display: inline-block;
        text-decoration: underline solid 1px var(--text-dark);
        text-underline-offset: 4px;
    }

    .service-hero-text-wrapper {
        align-items: center;
        text-align: center;
    }

    .service-listing {
        align-items: center;
        text-align: center;
    }

    .contact-text-wrapper {
        align-items: center;
        text-align: center;
    }

    .contact-text-wrapper h1 {
        max-width: 500px;
    }

    .h2-office {
        display: none;
    }

    .office div:nth-child(2) {
        overflow-x: visible;
    }

    .h2-office-mobile {
        display: inline-block;
        text-align: center;
        text-wrap: nowrap;
    }
}

@media (max-width: 576px) {

    .out-lr {
        border-inline: none !important;
    }

    .out-l {
        border-left: none !important;
    }

    .out-r {
        border-right: none !important;
    }

    .card {
        flex: 0 0 100%;
    }

    .card:nth-child(even) {
        border-right: none !important;
    }

    .card:nth-child(1) {
        border-bottom: 2px solid var(--outline);
    }

    .container {
        margin-inline: 12px;
        padding-inline: 0px;
    }

    .contact-button-wrapper {
        flex-direction: column;
    }

    .office-pics {
        flex-direction: column;
        gap: 16   px;
    }

    .office-1, .office-2, .office-3 {
        aspect-ratio: 16/9;
    }

    .footer-email {
        display: none;
    }
    
    .footer-email-mobile {
        display: flex;
        align-items: center;
        gap: 6px;
        text-decoration: underline solid 1px var(--text-dark);
        text-underline-offset: 4px;
    }
}