/*  style.css
    Foundations Program Landing Page
    Design Aesthetics: Modern, elegant, clean, wellness-focused. 
    Colors: Sand background, deep forest green text/accents, gold.
*/

:root {
    --color-bg: #FDFBF7; /* Soft sand off-white */
    --color-text: #000000; /* Solid Black */
    --color-text-light: #000000; /* Solid Black */
    --color-accent: #D4AF37; /* Gold accent */
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.main-header.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align to top to allow icon drop down */
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns the icon perfectly to the left edge of the text */
}

.logo a {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 1px;
}

.header-icon {
    width: 50px; 
    height: auto;
    margin-top: 5px;
    opacity: 0.9;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.cta-link {
    background-color: #61818e;
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(97, 129, 142, 0.3);
}

.cta-link:hover {
    background-color: #4e6872;
    box-shadow: 0 4px 15px rgba(97, 129, 142, 0.4);
    transform: translateY(-2px);
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url('assets/client-collage-web.jpg');
    background-size: cover; /* Expands forcefully to fill the entire hero */
    background-position: center 40%; /* Custom crop: Trims slightly less from the top, and more from the bottom */
    background-repeat: no-repeat;
    background-color: #fcfcfc;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 251, 247, 0.65); /* Solid semi-transparent overlay to ensure readability when text is centered */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(253, 251, 247, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 300;
    line-height: 1.4;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #677d34;
    color: var(--color-white);
    border: 3px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #55672a;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-primary {
    border: none;
}

/* Image wrapper styles removed as image is now full background */

/* Recognition Section */
.recognition-section {
    padding: 100px 40px;
    background-color: var(--color-white);
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--color-text);
    font-weight: 400;
}

.highlight {
    color: #000000;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(103, 125, 52, 0.4), 0 0 20px rgba(103, 125, 52, 0.2), 0 1px 2px rgba(103, 125, 52, 0.1);
}

/* Value Band Section */
.value-band {
    background-color: #1d2428;
    padding: 20px 0;
}

.value-band-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.value-item {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
}

.value-check {
    color: #677d34;
    font-weight: bold;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .value-band-container {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        max-width: fit-content;
        margin: 0 auto;
    }
}

/* Welcome / Mission Grid Section */
#welcome {
    background-color: #61818e;
    padding-top: 50px;
}

#welcome .heading {
    color: var(--color-white);
}

#welcome p {
    color: var(--color-bg);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mission-grid.center-layout {
    display: flex;
    justify-content: center;
}

.mission-card.wide-card {
    max-width: 800px;
    width: 100%;
}

.red-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.red-checklist li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.5;
}

.red-checklist li:last-child {
    margin-bottom: 0;
}

.red-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #e74c3c;
    font-size: 1.3rem;
    font-weight: bold;
}

.mission-card {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(103, 125, 52, 0.15);
}

.card-icon {
    font-size: 2rem;
    color: #677d34;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.mission-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: #677d34;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.mission-card p {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--color-text-light);
}

.photo-drop-container {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 25px 60px rgba(0,0,0,0.5); /* Glowing backlight mixed with deep physical drop shadow */
    border: 5px solid #000000; /* Solid black frame */
}

.photo-drop-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Solution Section */
.solution-section {
    padding: 100px 40px;
    background-color: var(--color-bg); /* Warm sand background */
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('assets/teaching_at_Farmers-web.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: 0;
}

.solution-container-vertical {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.solution-heading-top {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}

.solution-photo-frame {
    width: 100%;
    max-width: 600px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05); /* Added for sharp square frame */
    padding: 10px;
    background-color: var(--color-white);
}

.solution-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.solution-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.solution-row > * {
    flex: 1 1 400px;
}

.split-photo {
    max-width: none;
    display: flex;
    flex-direction: column;
}

.split-photo .solution-img {
    height: 100%;
    object-fit: cover;
}
.solution-text-box.square-frame-box {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.solution-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.solution-content strong {
    color: var(--color-text);
    font-weight: 600;
}

.floating-testimonial {
    position: absolute;
    bottom: -115px; /* Brought down another 10% approx */
    right: -25px;  /* Moved right instead of centered */
    background-color: var(--color-white);
    padding: 25px 35px;
    box-shadow: 15px 15px 35px rgba(0,0,0,0.25); /* Stronger shadow effect */
    border: 1px solid rgba(0,0,0,0.05); /* Same sharp edge */
    z-index: 10;
    width: 80%;
    max-width: 450px;
    text-align: center;
}

.testimonial-quote {
    font-family: "Georgia", "Times New Roman", serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 8px !important;
    line-height: 1.4;
}

.testimonial-author {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .solution-text-box.square-frame-box {
        padding: 2rem;
    }
    .solution-heading-top {
        font-size: 2.2rem;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .header-container {
        align-items: center;
        padding: 0 20px;
    }

    .hamburger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 40px;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .hero-section {
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.benefits-section {
    background: linear-gradient(135deg, #748c3b 0%, #677d34 50%, #485824 100%); /* Rich gradient replacing solid color */
    box-shadow: inset 0 15px 30px rgba(0,0,0,0.15), inset 0 -15px 30px rgba(0,0,0,0.15); /* Gives the entire section physical depth */
    padding-bottom: 100px;
}

.benefits-banner-wrapper {
    width: 100%;
    margin-bottom: 50px;
}

.benefits-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    box-shadow: none; /* Shadow removed per request */
}

.benefits-container {
    padding: 0 40px;
}

.benefits-heading {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 400; 
    color: var(--color-text); /* Reverted to black */
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 2px 5px rgba(255, 255, 255, 0.4); /* A bright 'backlight' halo behind the black text to lift it off the dark background */
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
}

.benefit-box {
    background-color: var(--color-white);
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid #ffd700; /* Yellow frame */
    border-radius: 8px; /* Slightly soften the sharp yellow corners to match the site */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2); /* Creates a bright backlighting halo around the box */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-box:hover {
    transform: translateY(-8px); /* Lifts up off the page on hover */
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.7), 0 15px 35px rgba(0, 0, 0, 0.3); /* Backlight flares brighter on hover */
}

.benefit-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: rgba(103, 125, 52, 0.1); /* light accent wash behind icon */
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow on the circular badge */
}

.benefit-icon svg {
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.3)); /* Exact vector drop-shadow pulling the art off the page */
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
    transition: color 0.3s ease; /* smooth morph to yellow */
}

/* Makes the title turn yellow as soon as the mouse enters the box */
.benefit-box:hover .benefit-title {
    color: #ffd700; 
}

.benefit-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Responsiveness for new grids */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Lorraine Testimonial Section */
.lorraine-testimonial-section {
    position: relative;
    background-image: url('assets/laughing%20with%20Lorraine1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 40px 100px 40px; /* Reduced bottom padding to let it sink low */
    display: flex;
    align-items: flex-end; /* Drops the container to the bottom */
    justify-content: flex-end; /* Keeps on right */
    min-height: 80vh;
}

.lorraine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark transparency to pop text */
    z-index: 1;
}

.lorraine-container {
    position: relative;
    z-index: 2;
    text-align: right; /* Text is right-aligned */
    width: 50%; /* Gives it space to breathe while forcing to right side */
    max-width: 600px;
    margin-top: 50px; /* Slight bump from the top */
    margin-right: 5%; /* Pushes slightly off the literal right wall */
}

.lorraine-text {
    font-family: var(--font-body); /* Flipped to body font */
    font-size: 2.2rem; /* Bumped up to match the "I wish I would've started sooner" size */
    color: var(--color-white);
    font-weight: 400; /* Matched weight exact */
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.lorraine-author {
    font-family: var(--font-heading); /* Flipped back to heading font */
    font-size: 1.5rem;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* 3 Testimonials Section */
.three-testimonial-section {
    padding: 100px 0;
    background-color: #98b8d4; /* Pastel grey azure */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.three-testimonial-pre-heading {
    font-family: var(--font-body);
    font-size: 2.2rem; /* Matched size of Lorraine's quote */
    font-weight: 400; /* Kept current weight (not bold) */
    color: var(--color-white); /* Changed to white */
    text-align: left; /* Changed to left justification */
    align-self: flex-start; /* References from the left edge */
    margin-left: 10%; /* Reduced from 25% to shift it roughly "2 inches" leftward */
    margin-bottom: 60px; /* Space between this quote and the heading below */
    line-height: 1.4;
    padding-right: 10%;
}

.highlight-yellow-italic {
    color: #ffd700; /* Matching the rich gold from the stars */
    font-style: italic;
}

.three-testimonial-heading {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--color-text); /* Black text */
    text-align: center;
    margin-bottom: 50px; /* Restored space between heading and photos */
}

.three-testimonial-subtext {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--color-text); /* Black text */
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.three-testimonial-stars {
    color: #ffd700; /* Rich gold color */
    font-size: 2.2rem;
    letter-spacing: 8px; /* Spaces out the stars nicely */
    margin-bottom: 0; /* Space removed since it is now at the bottom */
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.testimonial-cards-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    padding: 0 20px;
    margin-bottom: 50px;
    flex-wrap: wrap; /* Keeps them responsive */
}

.testimonial-card {
    background-color: #f0f0f0;
    border-radius: 8px; /* Softer layout border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 30px 20px;
    max-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    background-color: #d1d1d1; /* Placeholder grey */
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Clips the image cleanly into the border radius */
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* perfectly frames headshots without squishing */
}

.testimonial-quote {
    font-family: var(--font-body);
    font-weight: 300; /* Ultra-light weight to contrast with bold */
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 30px;
    line-height: 1.4;
    flex-grow: 1; /* Pushes the author block to the bottom evenly */
}

.testimonial-quote strong {
    font-weight: 700; /* Explicitly maximum thick boldness for high contrast*/
}

.testimonial-author {
    font-family: var(--font-body);
    font-weight: 300; /* Ultra-light weight to contrast with bold */
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.3;
}

.testimonial-author strong {
    font-weight: 700; 
}

/* 3 Simple Steps Section */
.simple-steps-section {
    padding: 80px 20px;
    background-color: #000;
    background-image: linear-gradient(rgba(152, 184, 212, 0.85), rgba(152, 184, 212, 0.85)), url('assets/lisa%20climbing%20at%20JT-web.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.steps-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-text);
    margin-bottom: 60px;
    font-weight: 400;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.step-card {
    flex: 1 1 300px;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #ffffff;
    padding: 55px 30px 20px 30px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid #ffd700;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.7), 0 15px 35px rgba(0, 0, 0, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #ffd700;
    color: var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 12px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--color-text);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.step-card:hover .step-title {
    color: #ffd700; 
}

.step-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .steps-heading {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   Tenets/List Section
   ========================================================================== */
.tenets-section {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%),
        url('assets/Lisa%20JT%20Dynamic%20Core2_flipped-web.jpg') center/cover no-repeat fixed;
    color: var(--color-white);
    position: relative;
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 -20px 40px rgba(0, 0, 0, 0.2);
}

.tenets-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tenet-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tenet-item:last-child {
    border-bottom: none;
}

.tenet-item:hover {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 12px;
    border-bottom-color: #ffd700;
}

.tenet-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(103, 125, 52, 0.5);
    font-weight: 700;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tenet-item:hover .tenet-number {
    color: #677d34;
    transform: scale(1.1);
}

.tenet-content h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 0;
    font-weight: 500;
    color: #000000;
    transition: color 0.3s ease;
}

.tenet-item:hover .tenet-content h3 {
    color: #677d34;
}

.tenet-content p {
    margin-top: -2px;
    margin-bottom: 0;
    font-size: 1.15rem;
    line-height: 1.4;
    color: #000000;
    font-weight: 300;
}

@media (max-width: 600px) {
    .tenet-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
}

/* Educational Drop Section */
.educational-drop {
    position: relative;
    padding: 8rem 2rem;
    overflow: hidden;
    min-height: 85vh; /* Increased from 50vh so the photo has more room */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background-image: url('assets/Lisa%20Upclose%20smile.jpg');
    background-size: cover;
    background-position: center top; /* Keeps the focus towards the top/center of the image */
    background-attachment: fixed;
}

.educational-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.educational-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    margin: 0;
    margin-top: -3rem;
    margin-left: 2%;
    padding: 0 1rem;
}

.educational-quote {
    font-family: var(--font-body);
    font-size: 2.2rem;
    color: var(--color-text);
    font-weight: 400;
    line-height: 1.2;
    text-shadow: 0 1px 15px rgba(255, 255, 255, 0.8), 0 1px 3px rgba(255, 255, 255, 1);
    text-align: left;
    margin: 0;
}

.educational-quote span {
    font-weight: 600;
}

.educational-subtext-container {
    position: absolute;
    bottom: 5rem;
    right: 4%;
    z-index: 2;
    padding: 0 1rem;
    text-align: right;
    white-space: nowrap;
}

.educational-subtext {
    font-family: var(--font-body);
    font-size: 2.2rem;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 15px rgba(255, 255, 255, 0.8), 0 1px 3px rgba(255, 255, 255, 1);
    margin: 0;
}

@media (max-width: 768px) {
    .educational-quote {
        font-size: 1.6rem;
    }
    .educational-subtext-container {
        white-space: normal;
        bottom: 2rem;
    }
    .educational-subtext {
        font-size: 1.6rem;
    }
}

.foundation-outcome-band {
    background-image: url('assets/Silvia%20and%20Lisa%20in%20squat.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-color: #1d2428;
    padding: 6rem 2rem;
    position: relative;
}

.foundation-outcome-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.foundation-outcome-band > * {
    position: relative;
    z-index: 2;
}

.outcome-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.outcome-heading {
    color: var(--color-accent);
    line-height: 1.2;
    font-size: 2.8rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    max-width: none;
}

.outcome-checklist {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto !important;
}

.outcome-checklist li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.outcome-checklist li:hover {
    border-color: var(--color-accent);
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.outcome-checklist li::before {
    display: none;
}

.audio-links-placeholder {
    display: flex;
    flex-direction: column;
    margin-right: 2%; /* Reduced margin for more width */
    margin-top: 1.5rem; /* Aligned with 'body connection' */
    gap: 6rem;
    flex-shrink: 0;
}

.audio-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.audio-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-white);
    font-size: 1.8rem;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevents text from breaking onto multiple lines */
}

.audio-link:hover {
    color: var(--color-accent);
}

.audio-link svg {
    color: var(--color-accent);
}

.waveform-graphic {
    max-width: 100%;
    height: auto;
    width: 200px;
    margin-left: 4.2rem; /* Indents to align under the text, past the play button */
    opacity: 0.8;
}

@media (max-width: 768px) {
    .outcome-flex-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    .audio-links-placeholder {
        margin-left: 2%;
    }
    .foundation-outcome-band p {
        font-size: 1.6rem;
    }
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-bg);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    max-width: 90%;
    width: 500px;
    text-align: center;
    border: 3px solid var(--color-accent);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #e74c3c;
}

.modal-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.modal-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto 25px auto;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #677d34;
    margin-bottom: 10px;
    font-weight: 500;
}

.modal-detail {
    font-family: var(--font-body);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.modal-detail a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

.modal-detail a:hover {
    color: #677d34;
}

/* Details Modal Specifics */
.details-modal-content {
    max-width: 90%;
    width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px 40px;
    text-align: left;
}

.detail-item {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    line-height: 1.6;
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-item strong {
    color: var(--color-text);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Mobile & iPad Fallback for Parallax/Fixed Backgrounds
   Fixes the iOS Safari bug where background-attachment: fixed breaks images
   ========================================================================== */
@media (hover: none), (max-width: 1024px) {
    .solution-section::before, 
    .lorraine-testimonial-section, 
    .simple-steps-section, 
    .tenets-section, 
    .educational-drop,
    .foundation-outcome-band {
        background-attachment: scroll !important;
    }
}

/* More Mobile Fixes */
@media (max-width: 768px) {
    /* Adjust solution floating testimonial */
    .floating-testimonial {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 0 auto;
        margin-top: 20px;
        width: 100%;
    }
    
    /* Lorainne block width */
    .lorraine-container {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        text-align: center;
        background: rgba(0,0,0,0.5); /* extra contrast for reading */
        padding: 20px;
        border-radius: 8px;
    }
    
    .lorraine-text {
        font-size: 1.6rem;
    }
    
    .three-testimonial-pre-heading {
        font-size: 1.5rem;
        margin-left: 5%;
        padding-right: 5%;
    }
    
    .three-testimonial-heading {
        font-size: 2.2rem;
    }
    
    .steps-heading, .benefits-heading, .section-header h2 {
        font-size: 2.2rem !important;
    }
    
    .modal-content, .details-modal-content {
        padding: 30px 20px;
    }
    
    .hero-title-main {
        white-space: normal !important;
    }
    
    /* Spacing fixes */
    .solution-section, .benefits-section, .three-testimonial-section, .simple-steps-section, .tenets-section, .intake-section {
        padding: 60px 20px !important;
    }
    
    .outcome-heading {
        font-size: 2.0rem;
    }
    .outcome-checklist li {
        font-size: 1.2rem;
        padding: 0.8rem 1.6rem;
    }
}

/* Mobile Tweak: Push text up inside the step circles */
@media (max-width: 768px) {
    .step-card {
        padding-top: 30px !important;
        padding-bottom: 40px !important;
        justify-content: center !important;
    }
}
