@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html {
    font-size: 16px;
    box-sizing: border-box;
	scroll-behavior: smooth;
}
body {
	font-family: Roboto, sans-serif;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}
#site-wrap {
	padding-top: 2.5rem;
}

/* Colors */
a, body, a.site-branding, .button, .hero-button, ul#menu-main-menu .menu-item:last-child a, .footer-cta {
	color: #105d68;
}
body,header {
	background-color: #fcfaf0;
}
a.button, .hero-button, ul#menu-main-menu .menu-item:last-child a, .footer-cta {
	background-color: #dc7f03;
	color: #fcfaf0;
	transition: all .2s ease-in;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
}
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
	letter-spacing: .05em;
}
h4 {
	font-size: 1.4rem;
}
p {
	line-height: 1.6;
}
p:empty {
	display: none;
}
.larger-p, .hero-section p{
	font-size: 1.2em;
}
.larger-p {
	text-align: center;
	max-width: 540px;
	margin: auto;
}
.button, .hero-button, ul#menu-main-menu .menu-item:last-child a, .footer-cta {
	border-radius: 20px;
	padding: .6rem 1rem;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: .05rem;
	text-transform: uppercase;
	white-space: nowrap;
}
a.button:hover, a.button:focus, .hero-button:hover, .hero-button:focus, ul#menu-main-menu .menu-item:last-child a:hover, ul#menu-main-menu .menu-item:last-child a:focus, .footer-cta:hover, .footer-cta:focus {
	transform: translate(0,-1px);
}
.center, .cta-wrap {
	text-align: center;
	margin-top: 40px;
}
@media (max-width: 850px) {
	h1 {
		font-size: 2em;
	}
}

/* Header */
header {
	position: fixed;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	width: 100%;
	align-items: center;
}
.logo-area {
	display: flex;
}
a.site-branding {
	display: flex;
	align-items: center;
	text-decoration: none;
	font-family: Montserrat;
	font-weight: 800;
	font-size:1.3em;
}
.site-logo img {
	width: 4rem;
}

/* Header Menu */
nav.main-nav {
	margin-right: 20px;
}
ul#menu-main-menu {
	list-style-type: none;
	display: flex;
}
ul#menu-main-menu li {
	margin: 0 20px;
}
ul#menu-main-menu a {
	text-decoration: none;
	font-weight: 600;
	letter-spacing: .04rem;
	text-transform: uppercase;
}

/* Hamburger Menu */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 33px;
	height: 18px;
	background: none;
	border: none;
	cursor: pointer;
	margin-right: 10px;
	margin-left: 10px;
}
.menu-toggle .bar {
	height: 3px;
	width: 100%;
	background-color: #000;
	border-radius: 2px;
}

/* Mobile Menu Styles */
@media (max-width: 850px) {
	.site-logo img {
		width: 3rem
	}
	.logo-area {
		flex-grow: 100;
		justify-content: center;
	}
	a.site-branding {
		font-size: 1.1rem;
		display: flex;
	}
	.menu-toggle {
		display: flex;
	}
	nav.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: #fcfaf0;
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.3s ease-out;
		text-align: center;
		border-bottom: 1px solid rgba(0,0,0,.1)
	}
	ul#menu-main-menu .menu-item:last-child {
		margin-top: 25px;
	}
	nav.main-nav.open {
		max-height: 500px; /* Adjust based on content */
		transition: max-height 0.5s ease-in;
	}

	ul#menu-main-menu {
		flex-direction: column;
		padding: 10px 20px;
	}

	ul#menu-main-menu li {
		margin: 10px 0;
	}
}

/* Footer */
footer{
    background-color: #105d68;
    color: white;
	padding: 4rem;
    text-align: center;
	line-height: 1.6em;
}
ul#menu-footer-menu {
	list-style-type: none;
	text-align: left;
	padding-left: 0;
	margin-top: 0;
}
ul#menu-footer-menu a {
	color: white;
	text-decoration: none;
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
	justify-content: center;
}
.footer-column {
	text-align: left;
	max-width: 350px;
}
.footer-column a:not(.footer-cta){
	color: white; 
	text-decoration: none;
}
.footer-column a:not(.footer-cta):hover,
.footer-column a:not(.footer-cta):focus,
ul#menu-footer-menu a:hover,
ul#menu-footer-menu a:focus {
	text-decoration: underline;
}
.footer-column-1 {
	flex: 0 0 150px; /* Fixed width for the narrow column */
}
.footer-column-2 {
	margin-right: 50px;
}
.footer-column-2 p:first-child {
	margin: 0;
	font-size: 1rem;
}
.footer-column-2 p:nth-child(2) {
	margin-top: 0;
	margin-bottom: 1.7rem;
}
.footer-column-2,
.footer-column-3 {
	/* flex: 1 1 0%; */ /* These will share remaining space equally */
}
.footer-column-3 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: flex-start;
}
@media (max-width: 850px) {
	.footer-container {
		flex-direction: column;
	}
	.footer-cta:first-child {
		margin-bottom: 20px;
		margin-top: 20px;
	}
}


/* Footer Social Icons */
.footer-socials {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.footer-socials img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	filter: brightness(0) invert(1); /* optional: make them white */
}


/* Footer Search */
.footer-search {
	margin-top: 3rem;
	width: 100%;
}
.footer-search > form > div {
	width: 100%;
	display: flex;
	border-radius: 10px;
	overflow: hidden;
	height: 30px;
}
.footer-search form div > input[type="text"] {
	flex-grow: 1;
	border: 1px solid rgba(0,0,0,.2);
	padding-left: 10px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}
.footer-search form div > input[type="submit"] {
	background-image: url('/wp-content/uploads/2025/06/magnifying-glass.webp');
	background-size: 70%;
	background-position: center;
	background-repeat: no-repeat;
	color: rgba(0,0,0,0);
	width:30px;
	border: 1px solid rgba(0,0,0,.2);
	cursor: pointer;
}
@media (max-width: 850px) {
	.footer-search {
		margin-top: 40px;
	}
}

/* Page General */
.hero-section, section {
	padding: 4rem;
	position: relative;
}
section.color1-bg {
	background-color:rgba(16,93,104,.9);
	color: white;
}
section.color2-bg {
	background-color:rgba(16,93,104,.1);
}
.four-up, .three-up, .two-up {
	display: flex;
	width: 100%;
	text-align: center;
	justify-content: space-between;
	flex-wrap: wrap;
}
.three-up {
	 max-width: 850px;
	 margin: auto;
 }
.two-up {
	max-width: 600px;
	margin:auto;
}
.three-up > div,
.two-up > div,
.four-up > div {
	box-sizing: border-box;
	padding: 1%;
}
.four-up > div {
	width: 23%;
}
.three-up > div {
	width: 33%;
}
.two-up > div {
	width: 47%;
}
.img-wcaption {
	transition: all .2s ease-in;
	position: relative;
}
.img-wcaption:hover,
.img-wcaption:focus {
	transform: translate(0,-2px);
}
.img-wcaption h3 {
	margin-top: 0;
}
.img-wcaption > div, .three-up-image, .two-up-image {
	padding-top: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
.three-up-image, .two-up-image {
	padding-top: 40%;
	background-position: center;
}
.frame-cover-link {
	position: absolute;
	width: 100%;
	height: 100%;
}
.togglable-wrapper {
	cursor: pointer;
	margin-bottom: 20px;
}
.togglable-wrapper .three-up-image, .togglable-wrapper .two-up-image, .togglable-wrapper h3 {
	transition: all .2s ease-in;
}
.togglable-wrapper:hover .three-up-image, .togglable-wrapper:hover .two-up-image, .togglable-wrapper:hover h3 {
	transform:translate(0,-1px)
}
.togglable-wrapper h3 {
	margin: 10px 0;

}
.togglable-section {
	max-height: 0;
	overflow: hidden;
	transition: max-height .8s ease-in;
	transition-delay: .3s;
}
.togglable-wrapper.open .togglable-section {
	max-height: 600px;
	transition: max-height .8s ease-in;
}
@media (max-width: 850px) {
	.hero-section, section {
		padding: 1.5rem;
		position: relative;
	}
	.four-up > div {
		width: 47%;
		max-width: 300px;
		margin-bottom: 20px;
	}
	.three-up > div {
		width: 48%;
	}
}

/* Homepage */
.two-col {
	display: flex;
	width: 100%;
}
.two-col .left-column {
	width:  30%;
	min-width: 350px;
	background-size: cover;
	background-repeat: no-repeat;
	margin-right: 60px;
	background-position: center;
}
.hero-section {
	min-height: calc(100vh - 14rem);
	display: flex;
}
.hero-section .container {
	display: flex;
}
.hero-grid {
	display: flex;
	gap: 2rem;
	align-items: center;
}
.hero-left {
    width: 400px;
    flex-shrink: 0;
	margin-bottom: 30px;
}
.hero-right {
    flex-grow: 1;
    min-width: 0;
}
.hero-button {
	display: inline-block;
	margin-top: 1rem;
}
.hero-button:last-child {
	margin-left: 20px;
}
.why-choose-section .two-col{
	justify-content: space-between;
}
.why-choose-section div.two-col > div:nth-child(2) {
	max-width: 450px;
}
.learn-more {
	text-decoration: underline;
	margin-top: 0;
}
.downlink-wrap {
	position: absolute;
	bottom: 0;
	left:  0;
	width: 100%;
	text-align: center;
}
.downlink-wrap a {
	text-decoration: none;
	font-weight: 600;
}
.downlink-wrap a:after {
	content:'\25bc';
	display: block;
	opacity: .3;
	font-size: 1.2em;
	transform: scaleY(50%);
}
#specialties-section .four-up {
	margin-bottom: 50px;
	justify-content: center
}
#specialties-section .four-up > div {
	width: 18%;
	margin: 1%;
	min-width: 180px;
}
#specialties-section .img-wcaption {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
	/* flex-wrap: wrap; */
	border: solid 2px;
	border-radius: 20px;
	box-sizing: border-box;
}
#specialties-section .img-wcaption p {
	text-align: center;
}
#specialties-section .img-wcaption > div {
	padding-top: 50%;
}
#clinicians-section, #therapy-types-section {
	background: linear-gradient(to top, rgba(16,93,104,.15) 45%, transparent 45%);
}
#clinicians-four-panel {
	max-width: 700px;
	margin: auto;
	display: block;
	margin-bottom:30px;
}
section#therapy-types-section .four-up {
	max-width: 710px;
	margin: auto;
}
section#therapy-types-section .four-up > div {
	width: 24.4%;
}
section#therapy-types-section h3 {
	margin-top: 10px;
}
@media (max-width: 850px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
    .hero-left, .hero-right {
        flex: none;
        width: 100%;
    }
	#specialties-section .four-up > div {
		min-width: 145px;
	}
	#specialties-section .four-up h3 {
		font-size: 1.1rem;
	}
	.two-col {
		flex-direction: column;
		text-align: center;
	}
	.two-col > div {
		width: 100% !important;
		max-width: 100% !important;
	}
	section p {
		text-align: left;
	}
	.downlink-wrap {
		display: none;
	}
	.hero-section {
		min-height: 0;
	}
	section#therapy-types-section h3 {
		font-size: .8rem;
	}
	#clinicians-section, #therapy-types-section {
		background: linear-gradient(to top, rgba(16,93,104,.15) 55%, transparent 55%);
	}
}
@media (min-width: 1250px) {
	.why-choose-section .two-col{
		justify-content: center;
	}
}

/* Services Page */
.specialties-columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-content: flex-start;
	align-items: flex-start;
}
.specialties-columns > div {
	max-width: 45%;
	margin: unset;
}
.specialties-columns h2 {
	width: 100%;
	margin-top: 20px;
}
.specialty-teams {
	
}
.specialty-teams h4 {
	margin-bottom: 0;
}
.specialty-teams h4:before {
	content:'\25bc';
	margin-right: 10px;
	font-size: .9em;
	opacity: .5;
	transform: scaleY(0.7);
	display: block;
	float: left;
}
.specialty-teams ul {
	margin-left: 5px;
}
.specialty-teams li {
	margin-bottom: 10px;
}
@media (max-width: 850px) {
	.specialties-columns > div {
		max-width: 100%;
	}
	.specialties-columns h2 {
		text-align: center;
	}
	#testing-services-section .two-up > div {
		width: 100%;
	}
}
/* Shared styles for search + 404 pages */
.not-found h1,
.search-results h1 {
	text-align: center !important;
	margin-top: 40px;
}
.search-posts {
	max-width: 700px;
	margin: auto;
	margin-bottom: 100px;
}
.search-posts h2 {
	font-size: 1.5rem;
	margin-bottom: 0;
}
.not-found p,
.search-results p {
	font-size: 1.125rem;
	margin-bottom: 1.5rem;
	margin-top: 5px;
}

/* Contact form styles */
.ninja-wrapper {
	max-width: 560px;
	margin: auto;
	margin-top: 30px;
}
.nf-before-form-content {
	display: none;
}
.ninja-forms-field {
	min-height: 2rem;
	border-radius: 5px;
}

/* Search form styles */
.not-found form,
.search-results form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}
.not-found input[type="search"],
.search-results input[type="search"] {
	padding: 0.75rem 1rem;
	font-size: 1rem;
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.not-found button,
.search-results button {
	padding: 0.75rem 1.25rem;
	background-color: #333;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.3s ease;
}

.not-found button:hover,
.search-results button:hover {
	background-color: #555;
}


/* Responsive tweaks */
@media (min-width: 851px) {
	.not-found form,
	.search-results form {
		flex-wrap: nowrap;
	}
	
}

/* Clinicians Page */
.clinician-section {
	display: flex;
	justify-content: center;
}
.clinician-section h4 {
	margin-top: 0;
}
.clinician-section:nth-child(odd),
.page-id-21 section:first-child {
	background-color:rgba(16,93,104,.1);
}
.clinician-headshot {
	width: 200px;
	height: 200px;
	background-size: cover;
	border-radius: 20px;
	margin-right: 40px;
} 
.clinician-headshot {display:none;}
	/* Hide headshots temporarily */
.clinician-copy {
	flex: 1;
	max-width: 500px;
}

/* End main.css */