/* Font Face Declarations */
@font-face {
    font-family: 'Recoleta';
    src: url('./fonts/Recoleta-Light.woff2') format('woff2'),
        url('./fonts/Recoleta-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Recoleta';
    src: url('./fonts/Recoleta-Regular.woff2') format('woff2'),
        url('./fonts/Recoleta-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Recoleta';
    src: url('./fonts/Recoleta-Medium.woff2') format('woff2'),
        url('./fonts/Recoleta-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Recoleta';
    src: url('./fonts/Recoleta-Bold.woff2') format('woff2'),
        url('./fonts/Recoleta-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Inter font is now loaded from Google Fonts via <link> tags in the HTML */

:root {
    --rose-quartz: #b49fb9;
    --cambridge-blue: #8b9e7f;
    --floral-white: #eeedeb;
    --ash-gray: #a0baba;
    --hunter-green: #4b694c;
    --text-dark: #2c3e2d;
    --text-light: #6b7c6d;
    --bg-cool-gray: #F0F3EF;
    --dusty-mauve: #F6F3F5;
    --light-gray: #F8F8F8;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --border-light: #E0E0E0;
    --shadow-subtle: rgba(0, 0, 0, 0.05);
    --shadow-hover: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--floral-white);
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.nav-link,
.btn-primary,
.btn-secondary,
.btn-white,
.cta-button,
.hero-title,
.section-title,
.service-title,
.step-title {
    font-family: 'Recoleta', Georgia, serif;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #F6F3F5;
    /* Dusty Mauve */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem 1.5rem;
}

.header.sticky {
    background: rgba(246, 243, 245, 0.95);
    /* Dusty Mauve with slight transparency */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-svg {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

.logo-text-stacked {
    display: flex;
    flex-direction: column;
    font-family: 'Recoleta', Georgia, serif;
    line-height: 1.2;
    font-size: 1.2rem;
    transition: font-size 0.3s ease;
}

.logo-text-enaris {
    color: var(--hunter-green);
    font-weight: 700;
    text-transform: uppercase;
}

.logo-text-health {
    color: var(--hunter-green);
    font-weight: 300;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: var(--floral-white);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    transform: translateY(-200%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}


.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--rose-quartz);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--rose-quartz);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background: transparent;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.35s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--rose-quartz);
    border: 3px solid var(--rose-quartz);
    border-radius: 25px;
    transform: perspective(350px) rotateX(0deg);
    transition: all 0.35s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--rose-quartz);
}

.cta-button:hover::before {
    background: white;
    transform: perspective(350px) rotateX(-180deg);
}

.nav-cta-desktop {
    display: none;
}

.nav-cta-mobile {
    display: list-item;
    margin-top: 1rem;
}

@media (min-width: 769px) {
    .nav-cta-desktop {
        display: inline-block;
    }

    .nav-cta-mobile {
        display: none;
    }

    .header {
        padding: 1rem 2rem;
    }

    .logo-svg {
        height: 100px;
    }

    .logo-text-stacked {
        font-size: 1.7rem;
    }

    .nav-container {
        width: auto;
        display: flex;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-menu {
        position: static;
        transform: none;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        width: auto;
        gap: 2.5rem;
    }
}

/* Navigation Dropdown */
.dropdown {
    position: relative;
}

/* Add an invisible pseudo-element to bridge the gap between the nav link and the dropdown menu. */
/* This ensures the hover state isn't lost when moving the cursor from "Services" to the menu. */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 1rem;
    /* This height covers the gap. */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 8px 16px var(--shadow-subtle);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 200px;
    border-radius: 8px;
    z-index: 1001;
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, top 0.3s ease, visibility 0.3s;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    top: calc(100% + 0.5rem);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 1rem;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-cool-gray);
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-bar {
    width: 30px;
    height: 3px;
    background-color: var(--hunter-green);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.nav-menu.active {
    transform: translateY(0);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 768px) {
    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        /* Add space between "Services" and the sub-menu */
    }

    .dropdown .dropdown-icon {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: inline-block;
        /* Allow box to size to content */
        background: rgba(139, 158, 127, 0.1);
        /* Subtle background to group items */
        box-shadow: none;
        padding: 0.5rem 1.5rem;
        /* Padding for the group */
        margin-top: 0;
        /* Using gap on parent instead */
        border-radius: 8px;
        /* Rounded corners for the group */
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: unset;
        transition: none;
    }

    .dropdown-menu li a {
        padding: 0.5rem 0;
        font-size: 1rem;
        /* Make sub-menu items smaller */
        color: var(--text-light);
        /* Differentiate from main nav items */
    }
}

/* Hero Section */
.hero {
    padding: 60px 2rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 1.5rem;
    background-color: var(--hunter-green);
    background-image: url('images/hero-crop-green.jpg');
    background-size: cover;
    background-position: top right;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px var(--shadow-subtle);
}

.hero-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(44, 62, 80, 0.15);
    z-index: 1;
}

.hero-content {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-title-main {
    font-weight: 500;
}

.hero-title-sub {
    color: white;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    background-color: transparent;
    padding: 0;
    display: block;
    border-radius: 0;
    box-shadow: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-logo-container {
    display: block;
    position: relative;
    z-index: 1;
    flex: 0 1 400px;
}

.hero-logo-svg {
    width: 100%;
    height: auto;
}

.btn-primary {
    background: var(--rose-quartz);
    color: white;
    padding: 12px 24px;
    border: 2px solid var(--rose-quartz);
    border-radius: 25px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-secondary {
    background: transparent;
    color: var(--hunter-green);
    padding: 12px 24px;
    border: 2px solid var(--hunter-green);
    border-radius: 25px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--rose-quartz);
    color: white;
    border-color: var(--rose-quartz);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--hunter-green);
    color: white;
    border-color: var(--hunter-green);
    transform: translateY(-1px);
    box-shadow: none;
}

/* Mission Section (commented out as content was removed from HTML) */
/* .mission {
    padding: clamp(80px, 12vw, 150px) 2rem 60px;
    background: url('images/stacked-waves.svg') no-repeat top / 100% auto,
        linear-gradient(to bottom, #557899 0%, white 60%);
    position: relative;
} */

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--hunter-green);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

/* .mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    line-height: 1.8;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
} */

/* Services Section */
.services {
    padding: 30px 2rem 60px;
    background-color: #d0c6d3;
    background-image: none;
    position: relative;
}

.services .section-title {
    color: white;
}

.services-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Keeps card stacking order correct */
    isolation: isolate;
    /* Creates a new stacking context to properly clip pseudo-elements */
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 3px solid var(--rose-quartz);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    min-height: 280px;
    flex: 1 1 280px;
    max-width: 350px;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: inherit;
    z-index: -1;
    transition: background-color 0.3s ease;
}

.service-card:hover::after {
    background-color: rgba(255, 255, 255, 0.8);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: inherit;
    z-index: -2;
}

.service-card-advocacy::before {
    background-image: url('images/service-advocacy.jpg');
}

.service-card-coordination::before {
    background-image: url('images/service-coordination.jpg');
}

.service-card-coaching::before {
    background-image: url('images/service-coaching.jpg');
}

.service-card-navigation::before {
    background-image: url('images/service-benefits-navigation.jpg');
}

.service-card-support::before {
    background-image: url('images/service-condition-support.jpg');
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--rose-quartz);
    flex-shrink: 0;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: inherit;
    line-height: 1.3;
}

.service-card-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
    width: 100%;
    text-align: left;
}

.service-card-link {
    font-weight: 600;
    color: var(--rose-quartz);
    font-family: 'Recoleta', Georgia, serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    align-self: flex-start;
    position: relative;
    padding-bottom: 5px;
}

.service-card-link .lucide {
    width: 18px;
    height: 18px;
    color: var(--rose-quartz);
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-link .lucide {
    transform: translateX(4px);
}

/* How It Works Section */
.how-it-works {
    padding: clamp(80px, 12vw, 150px) 2rem 60px;
    background: url('images/stacked-waves.svg') no-repeat top / 100% auto, linear-gradient(to bottom, #a3baba 0%, var(--floral-white) 50%);
    position: relative;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    flex: 1 1 250px;
    max-width: 350px;
}

.step-visual {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
}

.step-leaf {
    position: absolute;
    background-image: url('images/leaf.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 75px;
    height: 75px;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--bg-cool-gray);
    color: var(--hunter-green);
    border: 2px solid var(--hunter-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Recoleta', Georgia, serif;
    margin: 0;
    position: relative;
    z-index: 2;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--hunter-green);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 60px 2rem;
    position: relative;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image-container {
    background-color: var(--dusty-mauve);
    padding: 1.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.about-img {
    width: 100%;
    display: block;
}

.founder-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1rem 1.5rem;
    background: rgba(44, 62, 45, 0.75);
    color: var(--floral-white);
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: center;
}

.founder-title-box {
    display: inline-block;
    background-color: transparent;
    padding: 0;
    margin-top: 0.5rem;
}

.founder-title-part {
    white-space: nowrap;
    font-weight: 600;
}

.founder-caption strong {
    font-family: 'Recoleta', Georgia, serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.about-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
    max-width: 800px;
    width: 100%;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-of-type {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--hunter-green);
    font-weight: 700;
}

.about-text ul {
    list-style: disc;
    list-style-position: outside;
    padding-left: 1.5rem;
    margin: -0.5rem 0 1.5rem 1.5rem;
}

.about-text ul li {
    margin-bottom: 0.5rem;
}

.about-learn-more {
    font-weight: 600;
    color: var(--rose-quartz);
    font-family: 'Recoleta', Georgia, serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.about-learn-more .lucide,
.next-service-link .lucide {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.about-learn-more:hover .lucide,
.next-service-link:hover .lucide {
    transform: translateX(4px);
}

.service-card-link::after,
.about-learn-more::after,
.next-service-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--rose-quartz);
    transition: width 0.3s ease;
}

.service-card:hover .service-card-link::after,
.about-learn-more:hover::after,
.next-service-link:hover::after {
    width: 100%;
}

@media (min-width: 992px) {
    .about-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
        max-width: 920px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-page .about-content {
        max-width: none;
        gap: 4rem;
    }

    .about-image-container {
        background-color: transparent;
        padding: 0;
        border-radius: 0;
        margin-bottom: 0;
        /* Add these lines to fix alignment */
        max-width: 320px;
        /* Match the image width */
        width: 100%;
        flex-shrink: 0;
        /* Prevent the container from shrinking in the flex layout */
    }

    .about-image {
        flex: 0 0 320px;
        max-width: 320px;
    }

    /* On the about page for desktop, we want the caption UNDER the image. */
    .about-page .about-image {
        margin-bottom: 1rem;
        overflow: visible;
        /* Allow static caption to be seen */
        box-shadow: none;
        /* Move style to the image itself */
        border-radius: 0;
    }

    .about-page .about-img {
        border-radius: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    }

    .about-page .founder-caption {
        position: static;
        background: transparent;
        color: var(--text-dark);
        padding: 0;
        text-align: center;
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    .about-page .founder-caption strong {
        color: var(--hunter-green);
        font-size: 1.1rem;
    }

    .about-text {
        flex: 1;
    }
}

/* CTA Section */
.cta-section {
    padding: 60px 2rem;
    background: var(--hunter-green);
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-white {
    background: transparent;
    color: var(--hunter-green);
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.35s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-white::before {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    border: 3px solid white;
    border-radius: 25px;
    transform: perspective(350px) rotateX(0deg);
    transition: all 0.35s ease;
    z-index: -1;
}

.btn-white:hover {
    color: white;
}

.btn-white:hover::before {
    background: var(--hunter-green);
    transform: perspective(350px) rotateX(-180deg);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 2rem 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--rose-quartz);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.footer-section a {
    color: var(--ash-gray);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--rose-quartz);
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #ccc;
}

.footer-bottom a {
    color: var(--ash-gray);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--rose-quartz);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.contact-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    color: var(--rose-quartz);
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 920px) {
    .nav-container {
        padding: 0.8rem 1.5rem;
    }

    .nav-menu {
        gap: 1.2rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 16px;
        font-size: 0.90rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 1rem;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .cta-button {
        margin-top: 1rem;
    }

    .hero-container {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2rem 1.5rem;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-cta-item .cta-button {
        position: static;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus,
button:focus {
    outline: 2px solid var(--rose-quartz);
    outline-offset: 2px;
}

/* === Services Page Specific Styles === */

.services-page .hero-content {
    text-align: center;
}

.services-page .hero-subtitle {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
}

.services-page .cta-section .cta-button:hover::before {
    background: var(--hunter-green);
}

.services-hero {
    height: 60vh;
    min-height: 450px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 2rem;
    position: relative;
    background-image: url('images/leaves.png'), linear-gradient(135deg, var(--floral-white) 0%, #fefefe 100%);
    background-repeat: repeat-x, no-repeat;
    background-position: top center, center;
    background-size: auto 89px, cover;
    overflow: hidden;
}

.services-hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 2;
}

.services-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--hunter-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: none;
}

.services-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
    box-shadow: none;
}

.service-details-container {
    padding: 60px 2rem;
}

.service-detail-box {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px var(--shadow-subtle);
    margin-bottom: 2.5rem;
}

.service-detail-box:last-child {
    margin-bottom: 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: start;
}

.service-detail-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.service-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: var(--bg-cool-gray);
    border: 2px solid var(--hunter-green);
    border-radius: 50%;
    box-shadow: none;
}

.service-detail-icon .lucide {
    width: 50px;
    height: 50px;
    color: var(--hunter-green);
}

.service-detail-text {
    min-width: 0;
}

.service-detail-text h2 {
    font-size: clamp(2rem, 3vw, 2.2rem);
    font-weight: 500;
    color: var(--hunter-green);
    margin-bottom: 1rem;
    font-family: 'Recoleta', Georgia, serif;
    line-height: 1.3;
}

.service-detail-text .service-overview {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-style: italic;
}

.service-detail-text h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--hunter-green);
    margin: 2rem 0 1rem 0;
    font-family: 'Recoleta', Georgia, serif;
}

.service-detail-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-detail-text ul {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.service-detail-text li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.service-highlight {
    background: var(--bg-cool-gray);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: none;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-highlight p {
    margin-bottom: 0;
    font-weight: 500;
}

.service-cta {
    text-align: center;
    margin-top: 3rem;
}

.service-cta-button {
    background: var(--rose-quartz);
    color: white;
    padding: 12px 24px;
    border: 2px solid var(--rose-quartz);
    border-radius: 25px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Recoleta', Georgia, serif;
}

.service-cta-button:hover {
    background: var(--floral-white);
    color: var(--rose-quartz);
    border-color: var(--rose-quartz);
    transform: translateY(-1px);
    box-shadow: none;
}

@media (max-width: 768px) {
    .services-hero {
        height: auto;
        min-height: 350px;
        padding: 60px 1rem;
    }

    .service-details-container {
        padding: 40px 1rem;
    }

    .service-detail-box {
        padding: 2rem;
    }

    .service-detail-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }

    .service-detail-visual {
        order: 1;
        width: 100%;
    }

    .service-detail-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }

    .service-detail-icon .lucide {
        width: 40px;
        height: 40px;
    }

    .service-detail-text {
        order: 2;
        text-align: left;
    }

    .service-detail-text h2,
    .service-detail-text .service-overview,
    .service-detail-text h3,
    .service-detail-text p,
    .service-detail-text ul {
        text-align: left;
    }

    .service-detail-text ul {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        min-height: 350px;
    }
}

/* === About Page Specific Styles === */

.about-page .hero-subtitle {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 700px;
    margin: 1.5rem auto 0 auto;
}

.about-page .hero-content {
    text-align: center;
}

.about-page .about {
    padding-top: 0;
}

.about-page .about-content {
    /* This removes extra space that was intended for a section title */
    margin-top: 0;
}

.about-video-section {
    padding: 60px 2rem;
    text-align: center;
    background: white;
}

.about-video-section .section-title {
    margin-bottom: 2rem;
}

.about-video-intro-text {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-video-intro-text p {
    margin-bottom: 1.5rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-hero {
    padding: 40px 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/leaves.png');
    background-repeat: repeat-x;
    background-position: top center;
    background-size: auto 89px;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

h1.founder-name {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--hunter-green);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.founder-credentials {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
    font-style: italic;
}

.philosophy-section {
    padding: 60px 2rem;
    background-color: var(--floral-white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.philosophy-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-icon {
    width: 48px;
    height: 48px;
    color: var(--rose-quartz);
    margin-bottom: 1.5rem;
}

.philosophy-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--hunter-green);
    margin-bottom: 1rem;
}

.philosophy-item p {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 40px 1rem 60px;
    }
}

/* === Contact Page & Form Styles === */

.contact-page .hero-subtitle {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 700px;
    margin: 1.5rem auto 0 auto;
}

.contact-page .hero-content {
    text-align: center;
}

.contact-form-section {
    padding: 60px 2rem;
    background: white;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Recoleta', Georgia, serif;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: var(--floral-white);
    font-family: inherit;
    font-size: 1.0rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose-quartz);
    box-shadow: 0 0 0 2px rgba(180, 159, 185, 0.4);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #c0392b;
    background-color: #fff6f5;
}

.form-group input.invalid:focus,
.form-group textarea.invalid:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.25);
}

.error-message {
    display: none;
    color: #c0392b;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.error-message.visible {
    display: block;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    align-self: center;
    margin-top: 1rem;
    font-size: 1rem;
}

.form-status {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background-color: #e6f9e6;
    color: var(--hunter-green);
    display: block;
}

.form-status.error {
    background-color: #fbe9e9;
    color: #c0392b;
    display: block;
}

/* === Blog Page Styles === */

.blog-page .hero-content {
    text-align: center;
}

.blog-page .hero-subtitle {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 700px;
    margin: 1.5rem auto 0 auto;
}

.blog-posts-section {
    padding: 60px 2rem;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.blog-post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-post-content h3 {
    font-family: 'Recoleta', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--hunter-green);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-post-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .blog-posts-section {
        padding: 60px 1rem;
    }
}

/* === Single Service Page Styles === */
.service-detail-page .nav-link.active {
    /* This is to make 'Services' active on individual service pages */
    color: var(--rose-quartz);
    font-weight: 500;
}

.service-detail-page .nav-link.active::after {
    width: 100%;
}

.service-page-intro {
    padding: 60px 2rem;
}

.service-page-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.service-page-image {
    flex: 1 1 35%;
    max-width: 400px;
}

.service-page-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.service-page-text {
    flex: 1 1 60%;
    padding-top: 1rem;
    /* align text better with top of image */
}

.service-page-text .service-overview {
    margin-bottom: 2rem;
}

.service-page-text h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--hunter-green);
    margin-bottom: 1rem;
    font-family: 'Recoleta', Georgia, serif;
}

.next-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-weight: 600;
    color: var(--rose-quartz);
    font-family: 'Recoleta', Georgia, serif;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
}

@media (max-width: 992px) {
    .service-page-content {
        flex-direction: column;
        align-items: center;
    }

    .service-page-text {
        padding-top: 0;
    }
}

/* Active Nav Link Style */
.nav-link.active {
    color: var(--rose-quartz);
    font-weight: 500;
}

.nav-link.active::after {
    width: 100%;
}

/* === Legal & Privacy Page Styles === */
.privacy-page .hero-subtitle,
.legal-page .hero-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.privacy-policy-section,
.legal-content {
    padding: 60px 2rem;
    background: white;
}

.privacy-content,
.legal-content .container {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.7;
}

.privacy-content h2,
.legal-content .container h2 {
    font-family: 'Recoleta', Georgia, serif;
    font-size: 1.8rem;
    color: var(--hunter-green);
    margin: 2.5rem 0 1rem 0;
    font-weight: 500;
}

.privacy-content h3,
.legal-content .container h3 {
    font-family: 'Recoleta', Georgia, serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    font-weight: 500;
}

.privacy-content p,
.privacy-content ul,
.privacy-content ol,
.legal-content .container p,
.legal-content .container ul,
.legal-content .container ol {
    margin-bottom: 1.5rem;
}

.privacy-content ul,
.privacy-content ol,
.legal-content .container ul,
.legal-content .container ol {
    padding-left: 1.5rem;
}

.privacy-content li,
.legal-content .container li {
    margin-bottom: 0.75rem;
}

.privacy-content a,
.legal-content .container a {
    color: var(--rose-quartz);
    text-decoration: underline;
    font-weight: 500;
}

.privacy-content strong,
.legal-content .container strong {
    color: var(--text-dark);