:root {
    --highlight-green: #D3D800;
    --alt-green: #A6A75F;
    --hero-green: #7B7D5B;
    --hero-bg: rgb(40 43 4 / 70%);
    --dark-green: #52524A;
    --st-bg: rgba(166,167,95,0.20);
}

body {
    margin: 0;
}

body * {
    font-family: "Albert Sans", sans-serif;
    transition: 0.2s;
    box-sizing: border-box;
}

.site-header {
    width: 100%;
    margin: 16px auto 0 auto;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12;
    position: absolute;
    top: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 0;
    color: var(--dark-green);
}

h2 {
    font-size: 46px;
    letter-spacing: 0;
    text-align: center;
    line-height: 50px;
}

p.subtitle {
    font-weight: 300;
    font-size: 28px;
    color: var(--dark-green);
    letter-spacing: 0;
    line-height: 36px;
    margin-bottom: 32px;
}

body a.std-button {
    background: var(--highlight-green);
    color: var(--dark-green);
    border-radius: 23px;
    padding: 8px 44px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 22px;
    text-align: center;
}

body a.std-button:hover {
    border: 1px solid var(--dark-green);
}

body a.invert-button {
    border: 2px solid var(--highlight-green);
    border-radius: 23px;
    color: var(--dark-green);
    padding: 8px 22px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 22px;
    text-align: center;
}

body a.invert-button:hover {
    background: var(--highlight-green);
    color: white;
}

.std-link {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 22px;
    text-align: center;
    color: white;
    position: relative;
}

.std-link:visited {
    color: white;
}

.std-link:hover {
    color: var(--highlight-green);
}

.std-link::after {
    content: "";
    background-image: url('../img/more-arrow.svg');
    width: 20.16px;
    height: 18px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 3px;
    right: -30px;
    transition: right 0.1s;
}

.std-link:hover::after {
    right: -40px;
}

.menu-toggle {
    background: none;
    outline: 0;
    border: 0;
}

.menu-container ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.menu-container ul a:hover {
    text-decoration: underline;
}

.menu-container li {
    position: relative;
}

.logo-container {
    width: 225px;
    height: auto;
}

#primary-menu>li {
    padding: 8px 18px;
}

#primary-menu li a {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 22px;
    text-align: center;
}

#primary-menu>li:last-child {
    border: 2px solid var(--highlight-green);
    border-radius: 23px;
}

#primary-menu>li.current-menu-item a {
    color: var(--highlight-green);
}

.menu-container li.menu-item-has-children::after {
    content: "⌄";
    color: var(--highlight-green);
    position: absolute;
    right: 0px;
    top: 4px;
    font-size: 18px;
}

header.non-home {
    position: relative;
    background: var(--dark-green);
    margin-top: 0;
    padding: 16px 0 4px 0;
    box-sizing: content-box;
    min-height: 96px;
}

@media (max-width: 1140px) {
    nav.main-navigation {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .menu-toggle {
        z-index: 989;
    }

    .main-navigation.toggled .menu-header-menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--hero-green);
    }

    #primary-menu>li:last-child {
        margin-top: 28px;
    }
}

header .menu-container a,
footer .menu-container a {
    color: white;

}

header .menu-container li:hover>a,
footer .menu-container li:hover>a {
    text-decoration: none;
    color: var(--highlight-green);
}

footer .logo-container {
    height: auto;
    max-height: 100%;
}

footer .logo-container img {
    height: 140px;
    width: auto;
}

footer .contact-info>* {
    margin: 8px 0;
}

footer .phone {
    font-family: "Assistant";
    font-size: 20px;
    letter-spacing: 0;
    line-height: 21px;
}

footer .email {
    font-family: "Assistant";
    font-weight: bold;
    font-size: 20px;
    color: #FFFFFF;
    letter-spacing: 0;
    line-height: 21px;
}

footer .address * {
    font-family: "Assistant";
    font-size: 20px;
    letter-spacing: 0;
    line-height: 26px;
}

footer .icon-pre {
    position: relative;
    padding-left: 32px;
}

footer .icon-pre::before {
    content: "";
    height: 20px;
    width: 20px;
    position: absolute;
    left: 0;
    top: 0;
    background-repeat: no-repeat;
    background-position: center;
}

footer .address::before {
    background-image: url("../img/loc-icn.svg");
}

footer .email::before {
    background-image: url("../img/mail-icn.svg");
}

footer .phone::before {
    background-image: url("../img/phone-icn.svg");
}

footer .partner-logos {
    margin-top: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

footer .partner-logos img:nth-child(1) {
    height: 50px;
    width: auto;
}

footer .partner-logos img:nth-child(2) {
    height: 28px;
    width: auto;
}

footer .partner-logos img:nth-child(3) {
    height: 97px;
    width: auto;
    margin-left: -16px;
}

@media (max-width: 475px) {
    footer .partner-logos {
        justify-content: space-evenly;
    }
    footer .partner-logos img {
        max-width: 30%;
    }
}

footer .legal-info {
    margin-top: 96px;
}

footer .legal-info * {
    font-family: "Assistant";
    font-size: 14px;
    letter-spacing: 0;
}

footer .legal-info *:last-child {
    margin-bottom: 0;
}

.header-content {
    width: 1200px;
    max-width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header .sub-menu {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 7px 0 rgba(0,0,0,0.50);
    font-size: 20px;
    letter-spacing: 0;
    border-top: 3px solid #D3D800;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    width: 250px;
}

header #primary-menu .sub-menu li a {
    font-weight: 500;
    font-size: 20px;
    color: var(--dark-green);
    letter-spacing: 0;
    text-align: left;
    padding: 8px;
    width: 100%;
}

header #primary-menu .sub-menu li:hover a {
    background: rgba(211,216,0,0.30);
    border-radius: 5px;
}

header #primary-menu .sub-menu li {
    margin: 4px 12px;
}

footer {
    background: rgb(123, 125, 91, 0.9);
    position: relative;
    margin-top: 96px;
}

footer * {
    color: white;
}

footer a:hover {
    color: var(--highlight-green);
}

.footer-birds {
    position: absolute;
    top: 0;
    transform: translateY(-60%);
    right: 15%;
}

.footer-navigation {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
}

.footer-navigation li {
    padding: 6px 0;
}

.footer-navigation a {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 22px;
}

footer .content {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-end;
    justify-content: space-between;
    width: 1173px;
    max-width: 100%;
    margin: 0 auto;
    padding: 39px 0;
    overflow: hidden;
    padding-top: 72px;
}

footer .content>div {
    margin: 0 auto;
}

footer .content .right {
    width: 370px;
    max-width: 100%;
}

footer .content .left {
    width: 450px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

footer .contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 24px;
}

footer .contact-info p {
    margin: 0;
}

ul.social-icons {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    gap: 26px;
    margin-left: 32px;
    margin-top: 38px;
}

ul.social-icons img {
    height: 26px;
    width: auto;
}

/* Home Page */
.home-hero {
    background: var(--hero-bg);
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-size: cover;
    background-position: bottom center;
    position: relative;
}

.home-hero video {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
}

.home-hero .hero-content {
    width: 960px;
    max-width: 100%;
    padding: 192px 20px 128px 20px;
}

.home-hero * {
    color: white;
    text-align: center;
}

.home-hero h1 {
    font-size: 46px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 58px;
    text-align: center;
}

.home-hero a {
    color: var(--highlight-green);
    transition: 0.2s;
}

.home-hero a:hover {
    color: white;
}

.home-hero p {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 37px;
    text-align: center;
}

/* Service Cards Homepage */
.service-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 1210px;
    padding: 0 20px;
    max-width: 100%;
    margin: 80px auto;
}

.service-cards .subtitle {
    text-align: center;
}

.service-cards .content {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.service-cards .card {
    width: 270px;
    height: 231px;
    background: rgba(166, 167, 95, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-cards .card:hover {
    background: rgba(82, 82, 74, 1);
    box-shadow: 0 2px 9px 0 rgba(0,0,0,0.50);
}

.service-cards .card a {
    font-weight: bold;
    color: var(--dark-green);
    font-size: 26px;
    color: #52524A;
    letter-spacing: 0;
    text-align: center;
    line-height: 30px;
}

.service-cards .card:hover a {
    color: var(--highlight-green);
}

@media (max-width: 960px) {
    .service-cards p.subtitle {
        text-align: center;
    }
}

/* Testimonial Section */
.testimonial-section {
    width: 1170px;
    max-width: 100%;
    background-image: url("../img/testimonial-bg.png");
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    position: relative;
    min-height: 545px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-section .arrow {
    position: absolute;
    top: 45%;
    width: 22.8px;
    height: 38px;
    z-index: 11;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
} 

.testimonial-section .arrow.left {
    background-image: url('../img/arrow-left.svg');
    left: -22.8px;
}
.testimonial-section .arrow.right {
    background-image: url('../img/arrow-right.svg');
    right: -22.8px;
}

@media (max-width: 1230px) {
    .testimonial-section .arrow.left {
        left: 10px;
    }
    .testimonial-section .arrow.right {
        right: 10px;
    }

    .testimonial-content.active {
        padding: 40px;
    }
}

.testimonial-section .testimonial-content {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.testimonial-section .testimonial-content.active {
    display: flex;
}

.testimonial-section .testimonial-content p {
    font-size: 36px;
    color: var(--dark-green);
    letter-spacing: 0;
    margin: 0;
    text-align: center;
    line-height: 50px;
}

.testimonial-section .testimonial-content p.testimonial-info.show-author {
    display: block;
}

.testimonial-section .testimonial-content p.testimonial-info {
    display: none;
    font-family: "Assistant";
    font-weight: 500;
    font-size: 18px;
    color: var(--dark-green);
    letter-spacing: 0;
    text-align: center;
}

/* Highlight Section */
.highlight-section {
    width: 1440px;
    max-width: 100%;
    margin: 48px auto;
}

.highlight-section .content {
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}

.highlight-section .content>div {
    flex: 0.5;
}

.highlight-section .content .left {
    margin-right: -44px;
    z-index: 10;
    margin-top: -20px;
    line-height: 0;
    padding-bottom: 20px;
}

.highlight-section .content .right {
    background: var(--alt-green);
    align-self: stretch;
    display: flex;
}

.highlight-section.image-right .left {
    order: 2;
    margin-right: 0;
    margin-left: -44px;
    margin-top: -20px;
    padding-bottom: 20px;
}

.highlight-section.image-right .right {
    order: 1;
}

.highlight-section .content .right .content-container {
    margin: auto;
    width: 484px;
    max-width: 100%;
}

.highlight-section p {
    font-weight: 200;
    font-size: 28px;
    color: white;
    letter-spacing: 0;
    line-height: 36px;
}

@media (max-width: 1120px) {
    .highlight-section .content {
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .highlight-section .content>div {
        flex: 0.5;
    }
    
    .highlight-section .content .left {
        margin-right: 0;
        z-index: 10;
        margin-top: 0;
        line-height: 0;
        padding-bottom: 0;
    }
    
    .highlight-section .content .right {
        padding-bottom: 28px;
    }
    
    .highlight-section.image-right .left {
        margin-right: auto;
        margin-left: auto;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .highlight-section.image-right .right {
        order: 1;
    }

    .highlight-section .content .right .content-container {
        max-width: 100vw;
        width: auto;
        padding: 0 12px;
    }
}

@media (max-width: 560px) {
    .highlight-section p {
        font-weight: 200;
        font-size: 22px;
        color: white;
        letter-spacing: 0;
        line-height: 30px;
    }
}

/* Recent Posts */
.recent-posts-section {
    margin-top: 72px;
}

.recent-posts-section .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.recent-posts-section .posts-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    gap: 30px;
    margin: 72px 0;
}

.recent-post img {
    line-height: 0;
    height: 317px;
    width: 372px;
    object-position: center;
    object-fit: cover;
}

.post-info {
    background: var(--st-bg);
    margin: 0;
    padding: 0;
    width: 372px;
    max-width: 100%;
    padding: 25px 22px;
}

.post-info>a:hover h3 {
    text-decoration: underline;
}

.recent-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.post-categories {
    margin-bottom: 10px;
    display: block;
}

.post-categories a {
    font-family: "Assistant";
    font-weight: 500;
    font-size: 14px;
    color: #52524A;
    letter-spacing: 0;   
    text-transform: uppercase;  
}

.recent-post h3 {
    font-weight: 600;
    font-size: 26px;
    color: #52524A;
    letter-spacing: 0;
    line-height: 30px;
}

/* Flexi-Page Content */
.title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-green);
}

.title-section .content {
    margin: 0 auto;
    border-top: 1px solid var(--highlight-green);
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

.title-section h1 {
    color: white;
    font-size: 48px;
}

.blog-page .posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 48px;
    max-width: 1173px;
    width: 100%;
    margin: 48px auto;
    row-gap: 24px;
    column-gap: 24px;
}

.blog-page .posts-container .post-excerpt {
    display: none;
}

.blog-page .posts-container .recent-post:nth-child(5n+1) {
    grid-column: 2/4;
}

.blog-page .posts-container .recent-post:nth-child(5n+1) .post-info {
    width: 100%;
}

.blog-page .posts-container .recent-post:nth-child(5n+1) .post-info h3 {
    height: 60px
}

.blog-page .posts-container .recent-post:nth-child(5n+1) .wp-post-image {
    width: 100%;
}

.blog-page .posts-container .recent-post:first-child {
    grid-column: 1/4;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 461px;
}

.blog-page .posts-container .recent-post:first-child .post-excerpt {
    display: block;
}

.blog-page .posts-container .recent-post:first-child .wp-post-image {
    width: calc(100% - 372px);
    height: 100%;
}

.blog-page .posts-container .recent-post:first-child .post-info {
    width: 372px;
    height: 100%;
}

.blog-page .load-more-btn {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blog Post Page */
.blog-post {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#background-shape {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100vw;
    height: 300px;
    background: var(--alt-green);
    background-size: 100px 100px;
    background-position: top center;
    background-repeat: no-repeat;
}