<?php /*template name: List Sub Pages*/ get_header(); ?>

<div class="uk-container">
	<main role="main">
		<section>

		<h1 class="uk-text-center uk-text-uppercase"><?php the_title(); ?></h1>
        <p class="uk-text-center">At Orchard Valley Counselling Services, we offer <span class="green">Holistic Counselling Services</span> designed to nurture the mind, body, and spirit. Our compassionate and experienced counselors utilize a blend of traditional and alternative therapeutic approaches to address emotional, psychological, and physical well-being. By focusing on <span class="orange">personal growth, healing</span>, and <span class="orange">self-awareness</span>, we guide clients on their journey to <span class="orange">balance</span> and <span class="orange">inner peace</span>. Whether you’re seeking support for stress, anxiety, relationship challenges, or life transitions, our holistic services provide a comprehensive and personalized approach to healing.</p>

			<?php if (have_posts()): while (have_posts()) : the_post(); ?>

				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

					<?php the_content(); ?>
					
					<div class="uk-child-width-1-3@m uk-text-center uk-grid-small uk-margin-large-top" uk-grid uk-scrollspy="target: > div; cls: uk-animation-fade; delay: 200"> 
						
							<?php
							$id = get_the_ID();
							$args = array(
								'post_type'      => 'page',
								'posts_per_page' => -1,
								'post_parent'    => $id,
								'order'          => 'ASC',
								'orderby'        => 'menu_order'
							 );


							$parent = new WP_Query( $args );

							if ( $parent->have_posts() ) : ?>

								<?php while ( $parent->have_posts() ) : $parent->the_post(); ?>
								
								<div>
									
									<div id="parent-<?php the_ID(); ?>" class="parent-page uk-text-center">
										<div class="uk-inline-clip uk-transition-toggle">
											<div class="uk-text-center banner_small">
												<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
													<img class="uk-transition-scale-up uk-transition-opaque uk-border-rounded" src="<?php the_post_thumbnail_url('thumbnail'); ?>">
												</a>
											</div>
										</div>
										<div class="">
											<h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="uk-text-decoration-none black"><?php the_title(); ?></a></h3>
											<?= the_field('services_page_description'); ?>
											<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="uk-button uk-button-primary uk-margin">Find Out More</a>
										</div>
									</div>
								</div>
		

								<?php endwhile; ?>

							<?php endif; wp_reset_postdata(); ?>
						
						</div>
					
					

					<br class="clear">

					<p class="uk-text-right"><?php edit_post_link( __('Edit this page'), '', '', 0, 'post-edit-link uk-text-large uk-padding-small uk-button-large uk-button uk-button-primary' ); ?></p>

				</article>

			<?php endwhile; ?><?php endif; ?>


		</section>
	</main>
</div>
<div class="specialized-services-section uk-margin-large-top uk-padding-large">
    <div class="uk-width-1-2@m uk-margin-auto">

        <h1 class="uk-text-center uk-text-uppercase">Specialized Services</h1>
        <p class="uk-text-center"><i>Generic help won’t cut it. You’re not a checkbox—you’re a person with unique struggles, strengths, and goals. That’s why we’ve honed our expertise into laser-focused specialties designed to tackle your specific challenges head-on. No fluff. No one-size-fits-all. Just proven strategies that work.</i></p>
        <div class="uk-grid-small uk-text-center" uk-grid>
            <div class="uk-width-1-3">
                <img src="/wp-content/uploads/2025/06/clock.png">
            </div>
            <div class="uk-width-1-3">
                <img src="/wp-content/uploads/2025/06/info.png">
            </div>
            <div class="uk-width-1-3">
                <img src="/wp-content/uploads/2025/06/home.png">
            </div>
        </div>
        <p class="uk-text-center">Click below To learn more</p>
        <div class="uk-text-center uk-margin-medium-top">
            <a href="/our-services/our-specialities/" class="uk-button uk-button-primary uk-margin-right">SPECIALTIES</a>
            <a href="/counsellors/" class="uk-button uk-button-default">COUNSELLORS</a>
        </div>
    </div>
</div>
<?php get_template_part('content-healing-journey'); ?>
<?php get_footer(); ?>
