:root {
    /* Brand Colors */
    --color-deep-teal: #18727d;
    --color-gold-bright: #f2c744;

    /* Palette Colors */
    --color-light-teal: #a7d4cd;
    --color-pale-gold: #e8d79e;
    --color-light-cream: #fff4c8;
    --color-off-white: #f5f2eb;
    --color-dark-slate: #3c4a4f;

    /* Semantic Mappings */
    --color-primary: var(--color-deep-teal);
    --color-secondary: var(--color-gold-bright);
    --color-bg-light: var(--color-off-white);
    --color-text-main: var(--color-dark-slate);
    --color-text-light: #F9FAFB;
    --color-white: #ffffff;

    --color-gray-100: #f3f4f6;
    --color-gray-300: #d1d5db;
    --color-gray-600: #4b5563;
    /* Kept for compatibility, consider mapping to Slate */
    --color-gray-700: #374151;
    --color-gray-800: var(--color-dark-slate);

    /* Fonts */
    --font-serif: 'Cinzel', serif;
    --font-decorative: 'Cinzel Decorative', cursive;
    --font-sans: 'Inter', sans-serif;
    --font-accent: 'Amaranth', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
}

/* Services Page Sub-Nav */
.services-nav {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 5rem;
    /* Below main navbar (h-20 = 5rem) */
    z-index: 40;
}

.services-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.services-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-gray-100);
    color: var(--color-primary);
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.services-nav-link:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .services-nav {
        top: 4rem;
        /* Adjust for mobile header if needed */
        position: relative;
        /* On mobile, maybe just static or sticky? Sticky is nice. */
    }

    .services-nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
}

/* Typography Helpers */
.font-serif {
    font-family: var(--font-serif);
}

.font-decorative {
    font-family: var(--font-decorative);
}

.font-accent {
    font-family: var(--font-accent);
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.font-bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.lead {
    font-weight: 500;
}


/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    max-width: 1280px;
    /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

/* Navigation */
.navbar {
    background-color: var(--color-primary);
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    height: 5rem;
    /* h-20 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    /* 3xl */
    font-weight: 700;
    color: var(--color-pale-gold);
    letter-spacing: -0.05em;
    display: flex;
    /* Added for alignment */
    align-items: center;
    /* Vertically center */
}

.logo a {
    display: flex;
    /* Ensure anchor also centers img */
    align-items: center;
}

.logo img {
    transition: transform 0.3s ease;
}

.logo a:hover img {
    transform: scale(1.1);
}

.desktop-menu {
    display: none;
}

.desktop-menu a:hover {
    color: var(--color-light-teal);
    /* teal-200ish */
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    padding-left: 1rem;
    margin-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icons a {
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: var(--color-light-teal) !important;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: block;
    color: white;
}

.mobile-menu {
    display: none;
    background-color: var(--color-primary);
    /* teal-800 */
    padding-bottom: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
}

.mobile-menu a:hover {
    background-color: var(--color-light-teal);
    /* teal-700 */
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
        align-items: center;
        gap: 2rem;
        font-size: 0.875rem;
        font-weight: 500;
        letter-spacing: 0.05em;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-gray-300);
}

.hero-bg img.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshow 24s infinite;
    /* 4 images * 6s each */
}

.hero-bg:hover .hero-slide {
    animation-play-state: paused;
}

@keyframes slideshow {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }

    4% {
        opacity: 1;
        animation-timing-function: ease-out;
    }

    /* Fast fade in (approx 1s) */
    25% {
        opacity: 1;
    }

    /* Visible for 6s (25% of 24s) */
    29% {
        opacity: 0;
    }

    /* Fade out during next slide's fade-in */
    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    /* 4xl */
    padding: 0 1rem;
}

/* Page Hero (Services, Blog, etc) */
.hero.page-hero {
    height: 50vh;
    min-height: 400px;
}

.hero.page-hero h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    /* Responsive base size */
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero.page-hero h1 {
        font-size: 3rem;
    }
}

.hero.page-hero p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 40rem;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Single Blog Post Hero Content */
/* Single Blog Post Hero Content */
/* Single Blog Post Hero Content */
.post-hero-content {
    position: relative;
    /* Changed from absolute */
    z-index: 20;
    text-align: center;
    color: white;
    padding: 0 1rem;
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Flex center for the page hero when it is a post hero */
/* Flex center for the page hero when it is a post hero */
.hero.page-hero.post-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically */
    align-items: center;
    height: auto;
    /* Allow growth */
    min-height: 60vh;
    padding-top: 8rem;
    padding-bottom: 9rem;
    /* Reduced Space for better proximity */
}

/* Remove absolute positioning for this layout request */
.hero.page-hero.post-hero .hero-inner {
    display: none;
    /* We will move the link inside content */
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    transition: all 0.3s;
    text-decoration: none;
    margin-top: 2rem;
    /* Space from meta */
}

.back-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Dark version for footer area */
.back-link.dark-mode {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.back-link.dark-mode:hover {
    background-color: var(--color-dark-slate);
    border-color: var(--color-dark-slate);
}

.post-hero-category {
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: block;
    font-size: 0.875rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.post-hero-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.post-hero-meta {
    font-size: 1rem;
    opacity: 1;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

/* Related Posts Revamp */
.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 equal columns */
        gap: 3rem;
    }
}

.related-grid .blog-card {
    /* Override for related section to look more premium */
    border: none;
    box-shadow: none;
    background: transparent;
}


.related-grid .blog-card-img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    /* Prevent stretching */
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Update Read More Link to be button-like */
.read-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 2px solid var(--color-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    transition: all 0.3s;
    margin-top: 1rem;
    align-self: center;
    width: fit-content;
}

.read-more:hover {
    background-color: var(--color-secondary);
    color: white;
    transform: translateY(-2px);
}

.related-grid .blog-card-content {
    padding: 1.5rem 0;
    /* Remove horizontal padding */
}

.related-grid .blog-title {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .post-hero-title {
        font-size: 3rem;
    }
}


.hero h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Hero Logo & Typography */
.hero-logo-container {
    margin-bottom: 0.5rem;
    /* Tightened gap as requested */
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-logo-img {
    width: 100%;
    max-width: 650px;
    /* Increased from 500px */
    /* Reduced from potential huge size, but big enough to dominate */
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.hero-line {
    height: 1px;
    width: 3rem;
    background-color: var(--color-light-teal);
    /* Using light blue here */
}

.hero h2 {
    font-size: 1.25rem;
    /* Smaller than before to let logo shine */
    margin-bottom: 2rem;
    /* Matches the gap above */
    letter-spacing: 0.1em;
    font-weight: 600;
}

@media (min-width: 768px) {
    .hero-logo-img {
        max-width: 900px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-dark-slate);
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(0, 0, 0, 0.15);
}

/* Services */
.services-section {
    background-color: var(--color-off-white);
    padding: 5rem 1rem;
    text-align: center;
    border-bottom: none;
    /* Removed to prevent double border with next section */
}

.section-subtitle {
    font-family: var(--font-sans);
    color: var(--color-primary);
    font-size: 0.875rem;
    /* Updated to 0.875rem */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    /* uppercase */
    letter-spacing: 0.1em;
    /* tracking-widest */
    font-weight: 700;
    /* font-bold */
}

.section-title {
    font-family: var(--font-serif);
    color: var(--color-primary);
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.services-grid {
    display: grid;
    gap: 2rem;
    max-width: 72rem;
    /* 6xl */
    margin: 3rem auto 0;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        /* align-items: stretch; Default */
    }
}

.service-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 2px solid var(--color-light-teal);
    /* Added light blue border by default */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers content vertically */
    height: 100%;
    /* Ensures it fills grid cell */
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    /* teal-600 */
}

.service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    /* teal-800 */
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-serif);
    color: var(--color-primary);
    /* teal-900 */
    font-size: 1.25rem;
    letter-spacing: 0.025em;
    line-height: 1.4;
    /* Tighter line height for multi-line titles */
    text-align: center;
    margin: 0 auto;
    /* Center the block */
}

/* Pricing CTA */
.pricing-cta {
    background-color: var(--color-primary);
    padding: 4rem 1rem;
    text-align: center;
    color: white;
}

.pricing-cta h3 {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .pricing-cta h3 {
        font-size: 1.5rem;
    }
}

/* Meet Wendy */
.meet-wendy {
    padding: 5rem 1rem;
    background-color: white;
    border-top: 5px solid var(--color-light-teal);
    /* Consistent blue border */
}

.wendy-grid {
    display: grid;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 768px) {
    .wendy-grid {
        grid-template-columns: 1fr 2fr;
        /* Col 1 (Image) gets 1 unit, Col 2 (Text) gets 2 units */
        align-items: start;
    }
}

.wendy-text p {
    margin-bottom: 1.5rem;
    color: var(--color-gray-600);
    text-align: justify;
}

@media (min-width: 768px) {
    .wendy-text p {
        text-align: left;
    }
}

.wendy-image-container {
    position: relative;
    width: 100%;
    height: auto;
    background: white;
    overflow: hidden;
    /* border: 4px solid var(--color-gray-100); - Removed per request */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.wendy-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.wendy-image-container:hover img {
    transform: scale(1.05);
}

/* Credentials */
.credentials-box {
    background-color: var(--color-light-cream);
    max-width: 64rem;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 0.5rem;
    /* Updated to match service-cta-box */
    border-left: 6px solid var(--color-primary);
    /* Added Accent Border */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    /* Added Shadow */
}

.credentials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .credentials-grid {
        display: flex;
        /* Use flex to center content block */
        justify-content: center;
        /* Center the whole group */
        gap: 4rem;
        /* Space between Resume and Experience */
        text-align: left;
        /* Reset text align */
    }

    .credentials-left {
        text-align: left;
        /* Align text left like the other side */
        /* text-align: right; -- Removed to balance */
    }

    .credentials-right {
        text-align: left;
        border-left: 1px solid var(--color-light-teal);
        /* teal-300 */
        padding-left: 4rem;
        /* More padding to separate from line */
    }
}

.credential-list li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-700);
}

/* Pre-footer */
.pre-footer {
    background-color: var(--color-primary);
    padding: 5rem 1rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.pre-footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    text-align: left;
}

@media (max-width: 768px) {
    .pre-footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .pre-footer-content .section-title {
        font-size: 2rem !important;
        /* Smaller title on mobile */
    }
}

.key-graphic {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    /* Reset margin since flex handles gap */
    transition: transform 0.5s;
}

.key-graphic:hover {
    transform: rotate(10deg) scale(1.05);
}

.bg-text-aa {
    font-family: var(--font-decorative);
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-pale-gold);
    opacity: 0.2;
    line-height: 1;
    user-select: none;
}

.key-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.main-footer {
    background-color: var(--color-dark-slate);
    padding: 3rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* teal-200 */
    color: var(--color-off-white);
    /* teal-900 */
}

.footer-grid {
    display: grid;
    gap: 3rem;
    max-width: 80rem;
    margin: 0 auto;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        /* Give more space to Mission (Col 1) */
    }
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-light-teal);
    /* Pop of light blue in footer */
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-text,
.footer-links li {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--color-light-teal);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Blog Tags */
.article-tags {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tags-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-dark-slate);
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-tag {
    background-color: var(--color-gray-100);
    color: var(--color-gray-600);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.article-tag:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-1px);
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gray-100);
    border-radius: 9999px;
    background-color: transparent;
    color: var(--color-gray-600);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: white;
}

/* Animation for filtering */
.blog-card {
    transition: all 0.4s ease;
}



/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-300);
}

.nav-link {
    display: flex;
    flex-direction: column;
    max-width: 45%;
    text-decoration: none;
    color: var(--color-gray-600);
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.nav-link.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Related Posts */
.related-posts-section {
    background-color: var(--color-bg-light);
    padding: 3rem 1rem;
    /* Reduced from 4rem */
    border-top: 1px solid var(--color-gray-300);
}

.related-grid {
    display: grid;
    gap: 1.5rem;
    /* Reduced gap */
    margin-top: 1.5rem;
}

.related-posts-section .blog-card {
    padding: 1.5rem;
    /* Reduced from 2.5rem */
}

.related-posts-section .blog-card-img {
    height: 140px;
    /* Reduced from default 200px */
}

.related-posts-section .blog-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.related-posts-section .blog-category {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
}

.related-posts-section .read-more {
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 related posts */
        max-width: 50rem;
        /* Constrain width further */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Reviews Section */
.reviews-section {
    background-color: var(--color-bg-light);
    /* Light Cream/Off-white */
    padding: 6rem 0;
    /* Remove horizontal padding on mobile to allow full bleed */
    position: relative;
    border-top: 5px solid var(--color-light-teal);
    /* Consistent blue border */
}

@media (min-width: 768px) {
    .reviews-section {
        padding: 6rem 1rem;
        /* Restore padding on desktop */
    }
}

/* Reviews Slider */
.reviews-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 90rem;
    margin: 0 -1rem;
    /* Negative margin to potential break container padding */
    width: calc(100% + 2rem);
    /* Force width to exceed container */
    padding: 0;
}

@media (min-width: 768px) {
    .reviews-slider-wrapper {
        margin: 0 auto;
        width: auto;
        padding: 0 1rem;
    }
}

.reviews-track-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    margin: 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    /* Space for shadow */
}

/* Hide scrollbar */
.reviews-track-container::-webkit-scrollbar {
    display: none;
}

.reviews-track {
    display: flex;
    width: 100%;
    /* No transform */
}

.review-slide {
    flex: 0 0 90%;
    /* Mobile: 90% of Viewport (Breakout) */
    scroll-snap-align: center;
    padding: 0.5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .reviews-track-container {
        margin: 0 1rem;
    }

    .review-slide {
        flex: 0 0 50%;
        /* Tablet: 2 items */
        padding: 1rem;
        /* More space on larger screens */
        scroll-snap-align: start;
    }
}

@media (min-width: 1024px) {
    .review-slide {
        flex: 0 0 33.333%;
        /* Desktop: 3 items */
    }
}

.review-card {
    background-color: white;
    padding: 1.5rem;
    /* Reduced padding for mobile */
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 2px solid var(--color-light-teal);
    /* Persistent blue outline */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 450px;
    /* Fixed height for uniformity */
}

@media (min-width: 768px) {
    .review-card {
        padding: 2rem;
        /* Standard padding desktop */
    }
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
    /* Darker seal on hover */
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray-100);
    padding-bottom: 0.5rem;
}

.review-body {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

/* Custom scrollbar for review body */
.review-body::-webkit-scrollbar {
    width: 4px;
}

.review-body::-webkit-scrollbar-track {
    background: transparent;
}

.review-body::-webkit-scrollbar-thumb {
    background: var(--color-gray-300);
    border-radius: 4px;
}

.stars {
    color: var(--color-secondary);
    letter-spacing: 2px;
    font-size: 1.125rem;
}

.review-text {
    font-style: italic;
    color: var(--color-gray-700);
    line-height: 1.7;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.review-author {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-align: right;
    margin-top: auto;
    /* Ensure it sticks to bottom if needed, though flex handles it */
}

.slider-btn {
    background: white;
    border: 1px solid var(--color-gray-300);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    color: var(--color-primary);
    flex-shrink: 0;
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Reviews CTA */
.reviews-cta {
    margin-top: 5rem;
    text-align: center;
    background-color: var(--color-primary);
    /* Dark Teal Background */
    padding: 4rem 2rem;
    border-radius: 1rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.reviews-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background-image: url('../assets/img/key-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(0deg);
}

.reviews-cta h3,
.reviews-cta p,
.reviews-cta a {
    position: relative;
    z-index: 1;
}

.reviews-cta h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-white);
    /* White text */
    margin-bottom: 0.75rem;
}

.reviews-cta p {
    color: var(--color-light-teal);
    /* Lighter accent text */
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.highlight-link {
    color: var(--color-secondary) !important;
    /* Gold */
    font-weight: 700;
    border-bottom: 1px solid var(--color-secondary) !important;
    padding-bottom: 2px;
}

.highlight-link:hover {
    color: var(--color-white) !important;
    border-color: var(--color-white) !important;
    text-decoration: none !important;
}

.service-cta-box {
    background-color: var(--color-light-cream);
    padding: 3rem;
    border-radius: 0.5rem;
    border-left: 6px solid var(--color-primary);
    margin: 4rem auto 2rem;
    max-width: 56rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Parallax Break Section */
.parallax-section {
    background-image: url('../assets/hero-images/luxury-outdoor-patio.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 8rem 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-top: 5px solid var(--color-light-teal);
    /* Added Top Border */
}

.parallax-section.reviews-bg {
    background-image: url('../assets/hero-images/luxury-living-room.jpg');
}

/* Mobile fallback for fixed attachment */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(24, 114, 125, 0.7);
    /* Deep Teal Overlay */
}

.parallax-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
}

/* Modern Watermark Background */
.watermark-container {
    position: relative;
    overflow: hidden;
}

.watermark-bg {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background-image: url('../assets/img/key-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.03;
    /* Very subtle */
    pointer-events: none;
    transform: rotate(15deg);
    z-index: 0;
}

/* Service Areas Refinements */
.service-areas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-area-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-light-teal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 1 220px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.service-area-card h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
}

.service-area-card p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--color-light-teal);
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.faq-header h3 {
    font-family: var(--font-serif);
    color: var(--color-primary);
    font-size: 1.25rem;
    margin: 0;
    padding-right: 1rem;
    transition: color 0.3s;
}

.faq-item.active .faq-header h3 {
    color: var(--color-secondary);
}

.faq-toggle-icon {
    color: var(--color-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-content {
    display: none;
    padding-bottom: 1.5rem;
    color: var(--color-gray-700);
    line-height: 1.7;
}

.faq-item.active .faq-content {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}