/*
 * Theme Name: Valens Theme
 * Author: QStylez
 * Description: A custom theme for Valens based on Figma designs.
 * Version: 1.5
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic & Body
# Content Margins
# Header
# Navigation - Sub Menu
# Buttons
# Hero Section
# Welcome Section
# Services Section
# Testimonials Section
# Content Feature Section (Mediation)
# Blog Section
# CTA Section
# Footer
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic & Body
--------------------------------------------------------------*/

:root {
    --white: #ffffff;
    --terracotta: #b38b7a;
    --cta-color: #7c2f0f;
    --darker-grey: #2c2c2c;
    --sand: #e6dcdb;
    --heading-desktop-h1-font-family: "Newsreader", serif;
    --heading-desktop-h1-font-size: 4.5rem;
    --heading-desktop-h1-line-height: 120%;
    --heading-desktop-h1-font-weight: 400;
    --heading-desktop-h2-font-family: "Newsreader", serif;
    --heading-desktop-h2-font-size: 3rem;
    --heading-desktop-h2-line-height: 120%;
    --heading-desktop-h2-font-weight: 400;
    --heading-desktop-h3-font-family: "Newsreader", serif;
    --heading-desktop-h3-font-size: 2.5rem;
    --heading-desktop-h3-line-height: 120%;
    --heading-desktop-h3-font-weight: 400;
    --heading-desktop-h4-font-family: "Newsreader", serif;
    --heading-desktop-h4-font-size: 2rem;
    --heading-desktop-h4-line-height: 130%;
    --heading-desktop-h4-font-weight: 400;
    --heading-desktop-h5-font-family: "Newsreader", serif;
    --heading-desktop-h5-font-size: 1.5rem;
    --heading-desktop-h5-line-height: 140%;
    --heading-desktop-h5-font-weight: 400;
    --text-medium-normal-font-family: "Poppins", sans-serif;
    --text-medium-normal-font-size: 1.125rem;
    --text-medium-normal-line-height: 170%;
    --text-medium-normal-font-weight: 400;
    --text-regular-normal-font-family: "Poppins", sans-serif;
    --text-regular-normal-font-size: 1rem;
    --text-regular-normal-line-height: 170%;
    --text-regular-normal-font-weight: 400;
    --text-small-normal-font-family: "Poppins", sans-serif;
    --text-small-normal-font-size: 0.875rem;
    --text-small-normal-line-height: 170%;
    --text-small-normal-font-weight: 400;
    /* SVG Arrow Icons as Data URIs */
    --arrow-right-white: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.293 17.793L12.707 19.207L19.414 12.5L12.707 5.79297L11.293 7.20697L15.586 11.5H6V13.5H15.586L11.293 17.793Z' fill='white'/%3E%3C/svg%3E");
    --arrow-right-dark: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.293 17.793L12.707 19.207L19.414 12.5L12.707 5.79297L11.293 7.20697L15.586 11.5H6V13.5H15.586L11.293 17.793Z' fill='%232c2c2c'/%3E%3C/svg%3E");
    --arrow-right-brown: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.293 17.793L12.707 19.207L19.414 12.5L12.707 5.79297L11.293 7.20697L15.586 11.5H6V13.5H15.586L11.293 17.793Z' fill='%237C2F0F'/%3E%3C/svg%3E");
}
body, body * {
    box-sizing: border-box;
}
body {
    margin: 0;
    overflow-x: clip;
    position: relative;
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    color: var(--darker-grey);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}
.grecaptcha-badge {
    visibility: hidden !important;
}
.inner-container {
    width: 100%;
    max-width: 83rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.homepage-wrapper {
    background: var(--white, #ffffff);
    display: flex;
    flex-direction: column;
    gap: 0rem;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}
/*--------------------------------------------------------------
# Generic Section Container
--------------------------------------------------------------*/

/* This new container handles the consistent content width and side spacing.
  NOTE: We only define properties here that are the SAME for all sections. 
  The vertical padding and display properties are defined per section below.
*/

/*--------------------------------------------------------------
# Section Style Adjustments
--------------------------------------------------------------*/

.hero-section .inner-container {
    /* The container now controls the layout of the text and links inside */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    /* Pushes content to the bottom */
    height: 100%;
}
.welcome-section .inner-container {
    /* Flex properties are moved here to create the side-by-side layout again */
    display: flex;
    flex-direction: row;
    gap: 4.3125rem;
    align-items: flex-start;
}
.services-section .inner-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    align-items: flex-start;
}
.testimonials-section .inner-container {
    /* Apply the same logic to this container */
    display: flex;
    flex-direction: column;
    gap: 5rem;
    align-items: flex-start;
}
body .testimonials-section {
    display: none;
}
body .testimonials-section+section {

}
.content-feature-section .inner-container {
    /* Flex properties moved here for the image/text layout */
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}
.blog-section .inner-container {
    /* Flex properties moved here for the featured/latest posts layout */
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    flex-direction: row-reverse;
}
/* Text meant only for screen readers. */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
/*--------------------------------------------------------------
# Content Margins
--------------------------------------------------------------*/

.welcome-section__description> :first-child, .services-section__description> :first-child, .service-card__content> :first-child, .testimonial-card__quote> :first-child, .content-feature-section__description> :first-child, .featured-post__content> :first-child, .latest-posts__description> :first-child, .blog-card__content> :first-child, .cta-section__description> :first-child, .site-footer__contact-details> :first-child {
    margin-top: 0;
}
.welcome-section__description> :last-child, .services-section__description> :last-child, .service-card__content> :last-child, .testimonial-card__quote> :last-child, .content-feature-section__description> :last-child, .featured-post__content> :last-child, .latest-posts__description> :last-child, .blog-card__content> :last-child, .cta-section__description> :last-child, .site-footer__contact-details> :last-child {
    margin-bottom: 0;
}
section div>p:first-child {
    margin-top: 0;
}
section div>p:last-child {
    margin-bottom: 0;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
    padding: 1.5rem 20rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0rem;
    z-index: 100;
    transition: background-color 0.3s;
    background-color: rgb(179 139 122 / 0%);
}
.site-header .inner-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
body .site-header.sub-menu-active {
    background-color: var(--Terracotta, #B38B7A);
}
body.scrolled-past-header .site-header {
    background-color: var(--Terracotta, #B38B7A);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.site-header__logo .logo-image {
    flex-shrink: 0;
    width: 13.75rem;
    height: auto;
    position: relative;
}
.site-header__nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
.site-header__nav-menu {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-header__nav-menu .menu-item a {
    color: var(--white, #ffffff);
    text-align: left;
    font-family: var(--text-medium-normal-font-family);
    font-size: var(--text-medium-normal-font-size);
    line-height: var(--text-medium-normal-line-height);
    font-weight: var(--text-medium-normal-font-weight);
    position: relative;
    text-decoration: none;
    padding: 0.5rem 0;
}
body.scrolled .site-header__nav-menu .menu-item a {
    color: var(--darker-grey);
}
body.scrolled .site-header .menu-item-has-children>a::after {
    border-color: var(--darker-grey);
}
.site-header__actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    position: relative;
}
/*--------------------------------------------------------------
# Navigation - Sub Menu (JS-Controlled)
--------------------------------------------------------------*/

.sub-menu-wrapper {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 3.5rem 0;
    z-index: -1;
}
.sub-menu-wrapper .sub-menu-nav, .sub-menu-wrapper .sub-menu__promo-card {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sub-menu-wrapper-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
}
.sub-menu-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 21rem;
}
.sub-menu-nav::before {
    /* The content is now set by the --sub-menu-title CSS variable from JavaScript */
    content: var(--sub-menu-title, "Menu");
    /* Fallback to "Menu" if something goes wrong */
    color: var(--darker-grey, #2c2c2c);
    font-family: var(--heading-desktop-h5-font-family);
    font-size: 1.25rem;
    font-weight: 400;
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--sand);
}
header#masthead .sub-menu-nav .menu-item {
    width: fit-content;
}
header#masthead .sub-menu-nav .menu-item a {
    color: var(--darker-grey);
    font-family: var(--heading-desktop-h3-font-family);
    font-size: var(--heading-desktop-h3-font-size);
    font-weight: var(--heading-desktop-h3-font-weight);
    line-height: var(--heading-desktop-h3-line-height);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
    padding: 0;
    gap: 0.5rem;
    background: none;
}
header#masthead .sub-menu-nav .menu-item a:hover {
    color: var(--cta-color);
}
header#masthead .sub-menu-nav .menu-item a::after {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: var(--arrow-right-dark);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.3s ease;
}
header#masthead .sub-menu-nav .menu-item a:hover::after {
    opacity: 1;
    transform: translateX(5px);
}
.sub-menu__promo-card {
    background: var(--terracotta, #b38b7a);
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 23.625rem;
    color: var(--white);
}
.sub-menu__promo-image {
    border-radius: 0.5rem;
    height: 10.8rem;
    background-size: cover;
    background-position: center;
}
.sub-menu__promo-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sub-menu__promo-title {
    font-family: var(--heading-desktop-h4-font-family);
    font-size: var(--heading-desktop-h4-font-size);
    line-height: var(--heading-desktop-h4-line-height);
    font-weight: var(--heading-desktop-h4-font-weight);
    color: var(--white);
    margin: 0;
}
.sub-menu__promo-description {
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    color: var(--white);
    margin: 0;
}
.sub-menu__promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    margin-top: auto;
}
.sub-menu__promo-link .icon-arrow {
    background-image: var(--arrow-right-white);
    width: 1.5rem;
    height: 1.5rem;
    background-size: contain;
}
.site-header .menu-item-has-children>a {
    display: flex;
    align-items: center;
}
.site-header .menu-item-has-children>a::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 8px;
    margin-left: 0.5rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease-in-out;
    /* White version of the SVG arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8' fill='none'%3E%3Cpath d='M0.878968 1.75281L6.58597 7.45981L12.293 1.75281L10.879 0.338806L6.58597 4.63181L2.29297 0.338806L0.878968 1.75281Z' fill='white'/%3E%3C/svg%3E");
}
.site-header .menu-item-has-children:hover>a::after {}
/* Styles for the scrolled header state */

body.scrolled .site-header .menu-item-has-children>a::after {
    /* Dark version of the SVG arrow, using the --darker-grey color */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8' fill='none'%3E%3Cpath d='M0.878968 1.75281L6.58597 7.45981L12.293 1.75281L10.879 0.338806L6.58597 4.63181L2.29297 0.338806L0.878968 1.75281Z' fill='%232c2c2c'/%3E%3C/svg%3E");
}
.intro-section__image {
    max-width: 50%;
}
/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

.btn {
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    height: 3.1875rem;
    position: relative;
    text-decoration: none;
    border: 0.125rem solid transparent;
}
.btn-content {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.btn .label {
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    position: relative;
}
.btn .icon-arrow {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.btn.btn-with-arrow {
    padding-right: 1rem;
}
.btn-outline-light {
    border-color: var(--white, #ffffff);
    color: var(--white, #ffffff);
}
body.scrolled .btn-outline-light {
    border-color: var(--darker-grey);
    color: var(--darker-grey);
}
.btn-outline-light .label {
    color: var(--white, #ffffff);
}
body.scrolled .btn-outline-light .label {
    color: var(--darker-grey);
}
.btn-primary {
    background: var(--cta-color, #7c2f0f);
    color: var(--white, #ffffff);
}
.btn-primary .label {
    color: var(--white, #ffffff);
}
.btn-outline-dark {
    border-color: var(--darker-grey, #2c2c2c);
    color: var(--darker-grey, #2c2c2c);
}
.btn-outline-dark .label {
    color: var(--darker-grey, #2c2c2c);
}
.btn-outline-light .icon-arrow {
    background-image: var(--arrow-right-white);
}
body.scrolled .btn-outline-light .icon-arrow {
    background-image: var(--arrow-right-dark);
}
.btn-primary .icon-arrow {
    background-image: var(--arrow-right-white);
}
.btn-outline-dark .icon-arrow {
    background-image: var(--arrow-right-dark);
}
body .expertise-card .btn-outline-dark, body .expertise-card .btn-outline-dark .label {
    border-color: #7C2F0F;
    color: #7C2F0F;
}
body .expertise-card .btn-outline-dark:hover {
    background-color: #7C2F0F;
    border-color: #7C2F0F;
    color: #fff;
}
body .expertise-card .btn-outline-dark:hover .label {
    color: #fff;
}
body .expertise-card .btn-outline-dark .icon-arrow {
    background-image: var(--arrow-right-brown);
}
body .expertise-card .btn-outline-dark:hover .icon-arrow {
    background-image: var(--arrow-right-white);
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero-section {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 6rem 0;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    align-self: stretch;
    min-height: 100vh;
    min-height: 40rem;
    position: relative;
}
.hero-section__text {
    color: var(--white, #ffffff);
    text-align: left;
    font-family: var(--heading-desktop-h1-font-family);
    font-size: var(--heading-desktop-h1-font-size);
    line-height: var(--heading-desktop-h1-line-height);
    font-weight: var(--heading-desktop-h1-font-weight);
    position: relative;
    align-self: stretch;
}
.hero-section__quick-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.hero-section__quick-links-title {
    color: var(--white, #ffffff);
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-size: 1.125rem;
    line-height: 170%;
    font-weight: 500;
    position: relative;
    align-self: stretch;
}
.hero-section__quick-links-list {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
/*--------------------------------------------------------------
# Welcome Section
--------------------------------------------------------------*/

.welcome-section {
    background: var(--terracotta, #b38b7a);
    padding: 8rem 0rem;
    display: flex;
    flex-direction: row;
    gap: 4.3125rem;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    position: relative;
}
.welcome-section__text {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    position: relative;
}
.welcome-section__title {
    color: var(--white, #ffffff);
    text-align: left;
    font-family: var(--heading-desktop-h2-font-family);
    font-size: var(--heading-desktop-h2-font-size);
    line-height: var(--heading-desktop-h2-line-height);
    font-weight: var(--heading-desktop-h2-font-weight);
    position: relative;
    align-self: stretch;
    margin: 0;
}
.welcome-section__description {
    color: #ffffff;
    text-align: left;
    font-family: var(--text-medium-normal-font-family);
    font-size: var(--text-medium-normal-font-size);
    line-height: var(--text-medium-normal-line-height);
    font-weight: var(--text-medium-normal-font-weight);
    position: relative;
    max-width: 38.5rem;
}
.welcome-section__key-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.key-point {
    color: var(--white, #ffffff);
    text-align: left;
    position: relative;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--white);
    width: 100%;
}
.key-point:last-child {
    border-bottom: 0;
}
.key-point__title {
    font-family: "Newsreader", serif;
    font-size: 22px;
    line-height: 170%;
    font-weight: 400;
    font-weight: 400;
}
.key-point__description {
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
}
body .poppins {
    font-family: "Poppins", sans-serif;
}
body .key-point__title .poppins {
    font-size: 1rem;
}
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.services-section {
    padding: 8rem 0rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    position: relative;
}
.services-section__header {
    display: flex;
    flex-direction: row;
    gap: 5.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.services-section__title {
    color: var(--cta-color, #7c2f0f);
    text-align: left;
    font-family: var(--heading-desktop-h2-font-family);
    font-size: var(--heading-desktop-h2-font-size);
    line-height: var(--heading-desktop-h2-line-height);
    font-weight: var(--heading-desktop-h2-font-weight);
    position: relative;
    width: 35.75rem;
    margin: 0;
}
.services-section__description {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--text-medium-normal-font-family);
    font-size: var(--text-medium-normal-font-size);
    line-height: var(--text-medium-normal-line-height);
    font-weight: var(--text-medium-normal-font-weight);
    position: relative;
    align-self: stretch;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.services-section__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.services-section__grid-row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.service-card {
    background: var(--sand, #e6dcdb);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1;
    position: relative;
}
.service-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    gap: 0;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.service-card__title {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--heading-desktop-h4-font-family);
    font-size: var(--heading-desktop-h4-font-size);
    line-height: var(--heading-desktop-h4-line-height);
    font-weight: var(--heading-desktop-h4-font-weight);
    position: relative;
    align-self: stretch;
    margin: 0;
}
.service-card__description {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    position: relative;
    align-self: stretch;
}
/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/

.testimonials-section {
    background: var(--terracotta, #b38b7a);
    padding: 8rem 0rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    position: relative;
}
.testimonials-section__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
.testimonials-section__title {
    color: var(--white, #ffffff);
    text-align: left;
    font-family: var(--heading-desktop-h2-font-family);
    font-size: var(--heading-desktop-h2-font-size);
    line-height: var(--heading-desktop-h2-line-height);
    font-weight: var(--heading-desktop-h2-font-weight);
    position: relative;
    margin: 0;
}
.testimonials-section__nav {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.testimonials-section__nav .arrow-prev, .testimonials-section__nav .arrow-next {
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #545454;
    border-radius: 50%;
    background-image: var(--arrow-right-white);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.3s ease;
    font-size: 0;
    border: none;
}
.testimonials-section__nav .arrow-prev:hover, .testimonials-section__nav .arrow-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}
.testimonials-section__nav .arrow-prev {
    transform: rotate(180deg);
}
.testimonials-section__slider {
    width: 100%;
    position: relative;
}
.testimonial-card {
    background: var(--white, #ffffff);
    border-radius: 0.5rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    height: auto;
    min-height: 100%;
}
.testimonial-card__main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.testimonial-card__meta {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.testimonial-card__stars {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    height: auto;
    position: relative;
}
.testimonial-card__date {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--text-small-normal-font-family);
    font-size: var(--text-small-normal-font-size);
    line-height: var(--text-small-normal-line-height);
    font-weight: var(--text-small-normal-font-weight);
    position: relative;
}
.testimonial-card__quote {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--text-medium-normal-font-family);
    font-size: var(--text-medium-normal-font-size);
    line-height: var(--text-medium-normal-line-height);
    font-weight: var(--text-medium-normal-font-weight);
    position: relative;
    align-self: stretch;
    margin: 0;
}
.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.testimonial-card__author-name {
    color: var(--cta-color, #7c2f0f);
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    line-height: 170%;
    font-weight: 600;
    position: relative;
    align-self: stretch;
}
.testimonial-card__author-title {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    position: relative;
    align-self: stretch;
}
/* Flickity Testimonials Carousel Styles */

/* Base Flickity styles */

.testimonials-section__slider {
    width: 100%;
}
.testimonials-section__slider.flickity-enabled {
    position: relative;
}
.testimonials-section__slider.flickity-enabled:focus {
    outline: none;
}
.testimonials-section__slider.flickity-viewport {
    overflow: hidden;
    position: relative;
    height: 100%;
}
.testimonials-section__slider.flickity-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}
/* Testimonial card sizing for 3-up layout */

.testimonials-section__slider .testimonial-card {
    width: calc(33.333% - 1.33rem);
    /* 3 cards with gaps */
    margin-right: 2rem;
    flex-shrink: 0;
}
/* Ensure cards maintain their styling */

.testimonials-section__slider .testimonial-card.is-selected {
    /* Optional: Add selected state styling if desired */
}
/* Hide default Flickity buttons since we're using custom ones */

.flickity-button {
    display: none;
}
/* Responsive adjustments */

@media (max-width: 1200px) {
    .testimonials-section__slider .testimonial-card {
        width: calc(50% - 1rem);
        /* 2 cards on medium screens */
    }
}
@media (max-width: 768px) {
    .testimonials-section__slider .testimonial-card {
        width: 100%;
        /* 1 card on mobile */
        margin-right: 0;
    }
    .testimonials-section {
        padding: 4rem 0;
        /* Adjust padding for mobile */
    }
}
/* Optional: Smooth transitions */

.testimonials-section__slider.flickity-enabled.is-draggable {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.testimonials-section__slider.flickity-enabled.is-draggable .testimonial-card {
    -webkit-tap-highlight-color: transparent;
}
/* Ensure proper height for the slider */

.testimonials-section__slider .flickity-viewport {
    height: auto;
    min-height: unset;
    /* Adjust based on your content */
}
/*--------------------------------------------------------------
# Content Feature Section (Mediation)
--------------------------------------------------------------*/

.content-feature-section {
    background: var(--white, #ffffff);
    padding: 6rem 0;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    position: relative;
}
.content-feature-section__image {
    border-radius: 1rem;
    flex: 1;
    height: 33.5rem;
    position: relative;
    object-fit: cover;
}
.content-feature-section__text-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 38.75rem;
    position: relative;
}
.content-feature-section__text-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.content-feature-section__title {
    color: var(--cta-color, #7c2f0f);
    text-align: left;
    font-family: var(--heading-desktop-h2-font-family);
    font-size: var(--heading-desktop-h2-font-size);
    line-height: var(--heading-desktop-h2-line-height);
    font-weight: var(--heading-desktop-h2-font-weight);
    position: relative;
    align-self: stretch;
    margin: 0;
}
.content-feature-section__description {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--text-medium-normal-font-family);
    font-size: var(--text-medium-normal-font-size);
    line-height: var(--text-medium-normal-line-height);
    font-weight: var(--text-medium-normal-font-weight);
    position: relative;
    align-self: stretch;
}
/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/

.blog-section {
    padding: 8rem 0rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    position: relative;
}
.blog-section__featured-post {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    align-self: stretch;
    flex-shrink: 0;
    width: 39.125rem;
    position: relative;
    text-decoration: none;
}
.featured-post__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    margin-top: auto;
}
.chip {
    background: var(--cta-color, #7c2f0f);
    border-radius: 1rem;
    padding: 0.25rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    color: var(--white, #ffffff);
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
}
.featured-post__title {
    color: var(--white, #ffffff);
    text-align: left;
    font-family: var(--heading-desktop-h3-font-family);
    font-size: var(--heading-desktop-h3-font-size);
    line-height: var(--heading-desktop-h3-line-height);
    font-weight: var(--heading-desktop-h3-font-weight);
    position: relative;
    align-self: stretch;
    margin: 0;
}
.post-read-time {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
    margin-top: 1rem;
}
.post-read-time.dark-text .read-time-text {
    color: var(--darker-grey, #2c2c2c);
}
.post-read-time.light-text .read-time-text {
    color: var(--white, #ffffff);
}
.read-time-icon {
    flex-shrink: 0;
    width: 0.833125rem;
    height: 0.833125rem;
    position: relative;
}
.read-time-text {
    text-align: left;
    font-family: var(--text-small-normal-font-family);
    font-size: var(--text-small-normal-font-size);
    line-height: var(--text-small-normal-line-height);
    font-weight: var(--text-small-normal-font-weight);
    position: relative;
}
.blog-section__latest-posts {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    position: relative;
}
.latest-posts__header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.latest-posts__title {
    color: var(--cta-color, #7c2f0f);
    text-align: left;
    font-family: var(--heading-desktop-h2-font-family);
    font-size: var(--heading-desktop-h2-font-size);
    line-height: var(--heading-desktop-h2-line-height);
    font-weight: var(--heading-desktop-h2-font-weight);
    position: relative;
    align-self: stretch;
    margin: 0;
}
.latest-posts__description {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--text-medium-normal-font-family);
    font-size: var(--text-medium-normal-font-size);
    line-height: var(--text-medium-normal-line-height);
    font-weight: var(--text-medium-normal-font-weight);
    position: relative;
    align-self: stretch;
    margin-top: 0;
    margin-bottom: 0;
}
.latest-posts__articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.blog-card {
    background: var(--sand, #e6dcdb);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    text-decoration: none;
}
.blog-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.blog-card__title {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--heading-desktop-h5-font-family);
    font-size: var(--heading-desktop-h5-font-size);
    line-height: var(--heading-desktop-h5-line-height);
    font-weight: var(--heading-desktop-h5-font-weight);
    position: relative;
    align-self: stretch;
    margin: 0;
}
/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/

.cta-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    position: relative;
}
.cta-section {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.cta-section__content-box {
    background: var(--sand, #e6dcdb);
    border-radius: 1rem;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 37.0625rem;
    position: relative;
}
.cta-section__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.cta-section__title {
    color: var(--cta-color, #7c2f0f);
    text-align: left;
    font-family: var(--heading-desktop-h2-font-family);
    font-size: var(--heading-desktop-h2-font-size);
    line-height: var(--heading-desktop-h2-line-height);
    font-weight: var(--heading-desktop-h2-font-weight);
    position: relative;
    width: 100%;
    margin: 0;
}
.cta-section__description {
    color: var(--darker-grey, #2c2c2c);
    text-align: left;
    font-family: var(--text-medium-normal-font-family);
    font-size: var(--text-medium-normal-font-size);
    line-height: var(--text-medium-normal-line-height);
    font-weight: var(--text-medium-normal-font-weight);
    position: relative;
    width: 100%;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    width: 100%;
    position: relative;
}
.site-footer__main {
    background: var(--terracotta, #b38b7a);
    padding: 6rem 20rem 0rem 20rem;
    padding-left: unset;
    padding-right: unset;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
}
.site-footer__grid {
    padding: 0rem 0rem 2.5rem 0rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
.site-footer__logo-socials {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.site-footer__logo-socials .logo-image {
    flex-shrink: 0;
    width: 20.9375rem;
    height: auto;
    position: relative;
}
.site-footer__social-icons {
    display: flex;
    flex-direction: row;
    gap: 2.71113rem;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.site-footer__social-icons a svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}
.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    gap: 0rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.site-footer__widget-title {
    margin-top: 0;
    color: var(--white, #ffffff);
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    line-height: 170%;
    font-weight: 500;
    position: relative;
}
.site-footer__contact-details {
    color: var(--white, #ffffff);
    text-align: left;
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    position: relative;
}
.site-footer__contact-details a {
    color: var(--white);
    text-decoration: none;
}
.site-footer__contact-details a:hover {
    text-decoration: underline;
}
.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    gap: 0;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.site-footer__nav .menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer__nav .menu-item a {
    color: var(--white, #ffffff);
    text-align: left;
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    position: relative;
    text-decoration: none;
}
.site-footer__divider {
    border-style: solid;
    border-color: var(--white, #ffffff);
    border-width: 0.03125rem 0 0 0;
    align-self: stretch;
    flex-shrink: 0;
    height: 0rem;
    position: relative;
}
.site-footer__bottom-bar {
    background: var(--terracotta, #b38b7a);
    padding: 1rem 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.bottom-bar__links .menu {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}
.bottom-bar__links .menu-item a {
    color: var(--white, #ffffff);
    text-align: left;
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    text-decoration: underline;
    position: relative;
}
body .bottom-bar__links .menu-item a:hover {
    text-decoration: none;
}
.bottom-bar__copyright {
    color: var(--white, #ffffff);
    text-align: center;
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    position: relative;
}
.bottom-bar__credit {
    color: var(--white, #ffffff);
    text-align: center;
    font-family: var(--text-regular-normal-font-family);
    font-size: var(--text-regular-normal-font-size);
    line-height: var(--text-regular-normal-line-height);
    font-weight: var(--text-regular-normal-font-weight);
    position: relative;
}
.bottom-bar__credit a {
    color: #fff;
    text-decoration: unset;
}
.bottom-bar__credit a:hover {
    text-decoration: underline;
}
.site-footer {
    background: var(--terracotta, #b38b7a);
}
/* The main wrapper only has vertical padding and a background */

.site-footer__main {
    background: var(--terracotta, #b38b7a);
    padding: 6rem 0 0 0;
    width: 100%;
}
/* The inner-container handles the layout of the grid and divider */

.site-footer__main .inner-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
}
/* The grid itself just handles its direct children */

.site-footer__grid {
    padding-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
/* The bottom bar wrapper only has vertical padding and a background */

.site-footer__bottom-bar {
    background: var(--terracotta, #b38b7a);
    padding: 1rem 0;
}
/* The inner-container handles the side-by-side alignment */

.site-footer__bottom-bar .inner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*--------------------------------------------------------------
# Generic Inner Container
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Two Column Text Section
--------------------------------------------------------------*/

.two-column-text-section {
    background-color: var(--sand);
    padding: 6rem 0;
    /* Flex properties removed from here */
}
.two-column-text-section .inner-container {
    /* Flex properties moved here to control the two columns */
    display: flex;
    flex-direction: row;
    gap: 5rem;
    align-items: flex-start;
}
.two-column-text-section__left {
    flex: 1;
}
.two-column-text-section__title {
    font-family: var(--heading-desktop-h2-font-family);
    font-size: var(--heading-desktop-h2-font-size);
    line-height: var(--heading-desktop-h2-line-height);
    font-weight: var(--heading-desktop-h2-font-weight);
    color: var(--cta-color);
    margin: 0 0 2.5rem 0;
}
.two-column-text-section__content {
    font-family: var(--text-medium-normal-font-family);
    font-size: var(--text-medium-normal-font-size);
    line-height: var(--text-medium-normal-line-height);
    color: var(--darker-grey);
}
.two-column-text-section__right {
    flex: 1;
    padding-top: 6.5rem;
    padding-top: 0;
    /* Align with bottom of title */
}
@media (min-width: 1280px) {
    .hero-section__text {
        position: absolute;
        top: 0;
        top: 0;
        margin: 0;
        top: 50%;
        top: 60%;
        margin-top: 0;
        transform: translateY(-5.4rem);
    }
    .hero-section__text {
        position: relative;
        transform: unset;
        top: unset;
    }
}
@media (min-width: 1025px) {
    .site-header {
        padding: 1.5rem 0;
    }
    .site-header .inner-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    html {
        scroll-padding-top: 7.625rem;
    }
}