* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

header,
.hero-banner,
.services-banner,
.contact-banner,
.logo-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

h1, h2, h3, p, blockquote {
  margin-bottom: 1.25rem;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2.5rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.8rem;
  color: #4d4d4d;
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: #777;
}

p {
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  line-height: 1.9;
  letter-spacing: 0.2px;
  color: #2e2e2e;
}

blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

/* Entire page fade-in */
.page-load {
  opacity: 0;
  animation: fadeInPage 1s ease forwards;
}

@keyframes fadeInPage {
  to { opacity: 1; }
}

/* Navbar stagger fade-in */
.navbar {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeSlideIn 1.2s ease forwards;
  animation-delay: 0.8s; /* starts after body fade starts */
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero message stagger fade-in */
.hero-message {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideInUp 1.2s ease forwards;
  animation-delay: 1.6s; /* slightly after navbar */
}

@keyframes fadeSlideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.navbar {
  background: linear-gradient(to bottom, 
    rgba(232, 239, 232, 1) 0%, 
    rgba(232, 239, 232, 1) 20%, 
    rgba(232, 239, 232, 0.8) 50%, 
    rgba(232, 239, 232, 0.4) 75%, 
    rgba(232, 239, 232, 0) 100%);
  padding: 20px 50px 80px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Inner flexbox for logo & links row */
.top-bar-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo container stays same */
.logo-container {
  display: flex;
  align-items: center;
  gap: 20px; /* slightly more space between image and text */
}

.logo-img {
  width: 75px;  /* was 60px before */
  height: auto;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2.1rem; /* slightly bigger text */
  color: #333;
  line-height: 1.2;
}

.logo-text span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.3rem; /* also slightly larger */
  display: block;
  color: #4d4d4d;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 31px;
  margin: 20px;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.book-now {
  border: 1px solid #2a554c;
  padding: 5px 15px;
  border-radius: 4px;
  color: #2a554c;
}


.navbar-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  text-align: center;
  color: #2a4e26;
  margin-top: 10px;
  text-shadow: 0 0 8px rgba(147, 207, 158, 0.25);
}



/* HERO BANNER */
.hero-banner {
  background: url("images/teenoofocus.jpg") center 30% / cover no-repeat;
  background-attachment: fixed;
  padding-top: 0;
  margin-bottom: -50px;
  z-index: 0;
  position: relative;
}

.hero-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* <-- this centers your content horizontally */
  text-align: center;        /* <-- this centers text inside flex items */
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 4rem;
}

.hero-message {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
  margin-bottom: 350px;
  margin-left: auto;   /* added */
  margin-right: auto;  /* added */
}

.hero-message h2 {
  font-size: 3.8rem;
  color: #fff;
  text-shadow: 
    0 2px 5px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(0, 0, 0, 0.6);
}


.hero-message p {
  font-size: 1.2rem;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);text-shadow: 0 0 4px rgba(0,0,0,0.8);
  margin: 0 auto 0 0;
}



.ellipse-divider {
  position: relative;
  width: 100%;
  height: 100px; /* or even 80px */
  overflow: hidden;
  z-index: 1;
}

.ellipse-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* INTRO SECTION */

.intro {
  background: #EEDED6;
  position: relative;
  z-index: 1;
  margin: -50px 0 0 0;
  padding: 80px 80px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}


.intro-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 8rem;
  align-items: flex-start;
}

.intro-text {
  flex: 1 1 55%;
}

.intro-text h2{
	font-size: 2.5rem;
	color: #2a554c;
}

.intro-text h3{
	font-size: 1.5rem;
	margin-top:-20px;
	color: #538962;
}

.intro-text p {
  color: #4d4d4d;
  font-size: 1.05rem;
  line-height: 1.8;
}

.intro-photo {
  flex: 1 1 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-photo img {
  max-width: 380px;
  width: 100%;
  border-radius: 50%;
  box-shadow: 
  0 4px 20px rgba(0,0,0,0.15), 
  0 0 40px rgba(90,160,162,0.3);
}


.wave-divider {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  margin: -1px 0;  /* negative margin to eliminate overlap gaps */
  z-index: 1;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}


.special { 
  padding: 1.5rem;
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
  color: #93CF9E;/* matches your lighter mint accent */
}


.learn-more {
  align-self: flex-end;
border: 1px solid #d3e3d3;
  padding: 12px 28px;  /* more space around text */
  border-radius: 6px;  /* soften the corners slightly */
  text-align: center;
  transition: background 0.3s ease;
  color: #d3e3d3;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-style: normal;
}

.light-version {
  border-color: #2a554c;
  color: #2a554c;
}



/* SERVICES SECTION */
.services-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

.services-overlay {
  max-width: auto;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: rgba(255,255,255,0.5);
  z-index: 1;
  position: relative;
}

.services-center-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  padding: 3rem 1rem;
}

.services {
  background: #F4F1EC;
  padding: 3rem 3rem;
  border-radius: 8px;
  max-width: 600px;
  z-index: 2;
}

.services h2{
	font-size: 2.1rem;
}

.services ul {
  padding-left: 1.2rem;
  list-style-type: disc;
  color: #333;
}

.services li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.services-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 100vw;
  height: 100%;
}

.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reach-out {
text-align: center;
  margin-top: 2.5rem;	
} 




/* RATES SECTION */
.details {
  background: #5AA0A2;
  padding: 40px 40px;
  color: #fff;
}

.details-text {
  max-width: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;  /* also change to center for smoother appearance */
}

.details h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
	color: #3B696B;
}

.details p {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.details-text .highlighted-text {
  color: #2a554c;
	font-size: 1.2rem;
}

.highlighted-text {
  font-style: italic;
  text-align: center;
  margin: 2rem 0;
}

.details strong {
  color: #2a554c;
}


/* FOOTER */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #2a554c;
}

.footer-content {
  display: flex;
  align-items: center;     /* vertically centers all children */
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  line-height: 1;  
	margin-bottom: 30px;/* prevents extra vertical space */
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-content p {
  margin: 0;               /* removes default spacing */
  line-height: 1;          /* aligns better with image */
  display: flex;
  align-items: center;     /* centers text within its line box */
  color: #fff;
  font-size: 0.9rem;
}

.footer-credit {
	text-align: end;
	margin-top: 50px;
}

.footer-credit p{
	font-size: 0.75rem;
	line-height: 0.2;
	color:#5AA0A2;
}

/* Faster fade-in for contact page */
.contact-fade {
  animation: fadeInPageContact 0.5s ease forwards;
}

.contact-fade .navbar {
  animation-delay: 0.3s;  /* faster */
}

@keyframes fadeInPageContact {
  to { opacity: 1; }
}


.contact-banner {
  position: relative;
  background: #538962;
  background-attachment: fixed;
  color: #fff;
  padding-top: 0;  /* no need for padding on top anymore */
}

/* Contact Page Grid */
.contact-page {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
	border-radius: 8px;
	box-shadow: 0 0 20px rgba(0,0,0,0.05); /* optional: subtle depth */
}

/* Left Side */
.contact-info {
  flex: 1 1 40%;
  background-color: #f7fdf7;
	border-left: 5px solid #8fb893;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.contact-info h2{
  margin-bottom: 1rem;
  color: #8fb893;
	font-size: 2rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: #2a4e26;
  font-size: 1rem;
}

.contact-info strong{
	color: #000000;
}

/* Right Side Form */
.contact-form {
  flex: 1 1 55%;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.contact-form h2 {
  margin-bottom: 0.5rem;
  color: #2a554c;
	font-size: 2rem;
}

.form-subtext {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #5aa0a2;
  margin-bottom: 1.5rem;
}

.contact-form form{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* Form Layout */
form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 0.25rem;
	color: #2a554c;
}

input, textarea {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

/* Button */
button[type="submit-btn"] {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #97b295;
	font-family: 'Cormorant Garamond', serif;
	font-weight: 600;
	font-size: 1rem;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit-btn"]:hover {
  background-color: #2a4e26;
}

/* Large Textareas – Full-width and stacked */
.large-textarea {
  width: 100%;
  margin-top: 1rem;
}

.large-textarea label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
	font-size: 1rem;
}

.large-textarea textarea {
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  min-height: 160px;
  resize: vertical;
  background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.03);
}


/* Optional: style placeholder text nicely */
textarea::placeholder {
  color: #999;
  font-size: 0.95rem;
}

/* Ensure all form groups stay cleanly spaced */
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 120px;
}


.full-form-extension {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Large textareas styling (already present but ensure it's outside the contact-form) */
.full-form-extension .form-group {
  margin-bottom: 1.5rem;
}

.full-form-extension textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  font-family: inherit;
}

.submit-btn {
  align-self: flex-start;
  border: 1px solid #538962;
  padding: 12px 28px;
  border-radius: 6px;
  text-align: center;
  transition: background 0.3s ease;
  color: #538962;
  font-weight: 500;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-style: normal;
  background: none;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #2a4e26;
  color: #fff;
}

.reassurance-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  background: 
	  linear-gradient(to left, 
      rgba(42, 78, 38, 1) 0%, 
      rgba(42, 78, 38, 0.85) 25%, 
      rgba(42, 78, 38, 0.5) 50%, 
      rgba(42, 78, 38, 0.2) 75%, 
      rgba(42, 78, 38, 0) 100%
    ),
    url("images/theonlywayisup.jpg");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 1px solid #d3e3d3;
  text-align: center;
  min-height: 250px;
}

.reassurance-text p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 3rem; /* bumped up */
  color: #f7fdf7;
  margin: 0;
  z-index: 2;
}

.reassurance-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.03); /* extremely subtle film */
  z-index: 1;
}

.reassurance-text {
  position: relative;
  z-index: 3;
  margin-left: 20rem; /* this nudges it right */
}



.services-banner {
  position: relative;
  background: 
    linear-gradient(to left, rgba(42, 78, 100, 0.75), rgba(42, 78, 38, 0.3), rgba(42, 78, 38, 0)),
    url("images/heroimagelight.jpg") center 30% / cover no-repeat;
  background-attachment: fixed;
  padding-top: 0;
  margin-bottom: -50px;
  z-index: 0;
}



.services-hero-main {
  display: flex;
  justify-content: flex-end;  /* move text to right */
  text-align: right;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  padding-bottom: 7rem;
  padding-right: 4rem;  /* flip from left to right */
}

.services-hero-message {
  max-width: 600px;
  padding: 1rem 2rem;
  border-radius: 8px;
}

.services-hero-message h2 {
  font-size: 4.5rem;
  color: #fff;
  text-shadow: 
    0 2px 5px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(0, 0, 0, 0.6);
}

.services-hero-message p {
  font-size: 1.4rem;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin: 0 auto 0 0;
}


.services-grid-wrapper {
  background: #f4f1ec;
  padding: 4rem 0; /* tighter padding since grid will be edge-to-edge */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* remove spacing between cards */
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.3s ease;
}

/* Color overlays — permanent tint */
.trauma::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(151, 178, 149, 0.6); /* same color as .trauma but semi-transparent */
  z-index: 1;
}
.anxiety::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(90, 160, 162, 0.6);
  z-index: 1;
}
/* Repeat for other cards */
.transitions::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 85, 76, 0.6);
  z-index: 1;
}
.spiritual::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(143, 184, 147, 0.6);
  z-index: 1;
}
.caregivers::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(77, 122, 90, 0.6);
  z-index: 1;
}
.illness::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(59, 105, 107, 0.6);
  z-index: 1;
}

/* Text stays always in place */
.service-card span {
  position: relative;
  z-index: 3;
  padding: 1rem;
}

/* Hover overlay — darker slide */
.service-card::after {
  content: "";
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  transition: bottom 0.3s ease;
  z-index: 2;
}

.service-card:hover::after {
  bottom: 0;
}




/* Individual card colors */
.trauma { background: #97b295; }
.anxiety { background: #5aa0a2; }
.transitions { background: #2a554c; }
.spiritual { background: #8fb893; }
.caregivers { background: #4d7a5a; }
.illness { background: #3b696b; }
/* Individual Service Pages */


/* Dropdown structure */
.services-dropdown {
  position: relative;
}

.services-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%); /* centers directly under "Services" link */
  background: #f4f1ec;
  padding: 1.5rem;
  z-index: 999;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  min-width: 500px;
  max-width: 550px;
}

/* Show on hover */
.services-dropdown:hover .dropdown-menu {
  display: block;
}

.services-dropdown:hover > a {
  background: #f4f1ec;
}

.dropdown-menu ul {
  display: grid;
   grid-template-columns: repeat(2, 1fr); /* 2 columns instead of 3 */
  gap: 1rem;
  margin: 0;
  padding: 0;
  align-items: stretch;  /* ensures even box height */
}

/* Remove default list styles */
.dropdown-menu li {
  list-style: none;
  display: flex;
  align-items: stretch;
}

/* Links styling (matches navbar buttons) */
.dropdown-menu a {
  display: block;
  padding: 5px 15px;
  border: 1px solid #2a554c;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-family: 'Merriweather', serif; /* same as navbar links */
  font-weight: 500;
  font-size: 0.95rem; /* slightly smaller to fit text better */
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap;
	flex: 1;
}

/* Hover effect */
.dropdown-menu a:hover {
  background: #ededed;
  color: #2a554c;
}

/* Active page highlight */
.dropdown-menu a.active {
  background: #97b295;
  color: #fff;
  border-color: #97b295;
  font-weight: bold;
}


.service-page-text{
	padding-left: 80px;
	padding-right: 80px;
}


.service-page {
  padding: 3rem 2rem;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.service-page p {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
	color: #fff;
}

.service-button {
  margin-top: 2rem;
}

.service-button .contact-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #2a4e26;
  color: #fff;
  border-radius: 6px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.service-button .contact-button:hover {
  background: #538962;
}

/* Trauma page */
.trauma-page .services-banner {
  background: 
    linear-gradient(to left, rgba(151, 178, 149, 0.75), rgba(42, 78, 38, 0.3), rgba(42, 78, 38, 0)),
    url("images/handssupport.jpg") center 30% / cover no-repeat;
	 background-attachment: fixed;
}

.trauma-page .service-page {
  background: #97b295;
}

/* Trauma page */
.transition-page .services-banner {
  background: 
    linear-gradient(to left, rgba(151, 178, 149, 0.75), rgba(42, 78, 38, 0.3), rgba(42, 78, 38, 0)),
    url("images/supportheroimage.jpg") center 30% / cover no-repeat;
	 background-attachment: fixed;
}

.transition-page .service-page {
  background: #2a554c;
}

/* Trauma page */
.caregiver-page .services-banner {
  background: 
    linear-gradient(to left, rgba(151, 178, 149, 0.75), rgba(42, 78, 38, 0.3), rgba(42, 78, 38, 0)),
    url("images/veteransupport.jpg") center 30% / cover no-repeat;
	 background-attachment: fixed;
}

.caregiver-page .service-page {
  background: #4d7a5a;
}

/* Trauma page */
.anxiety-page .services-banner {
  background: 
    linear-gradient(to left, rgba(151, 178, 149, 0.75), rgba(42, 78, 38, 0.3), rgba(42, 78, 38, 0)),
    url("images/calmingbreathing.jpg") center 30% / cover no-repeat;
	 background-attachment: fixed;
}

.anxiety-page .service-page {
  background: #5aa0a2;
}

/* Trauma page */
.spiritual-page .services-banner {
  background: 
    linear-gradient(to left, rgba(151, 178, 149, 0.75), rgba(42, 78, 38, 0.3), rgba(42, 78, 38, 0)),
    url("images/mindfullness.jpg") center 30% / cover no-repeat;
	 background-attachment: fixed;
}

.spiritual-page .service-page {
  background: #8fb893;
}

/* Trauma page */
.illness-page .services-banner {
  background: 
    linear-gradient(to left, rgba(151, 178, 149, 0.75), rgba(42, 78, 38, 0.3), rgba(42, 78, 38, 0)),
    url("images/handstherapy.jpg") center 30% / cover no-repeat;
	 background-attachment: fixed;
}

.illness-page .service-page {
  background: #3b696b;
}




/* ---------------------------
   MEDIA QUERIES FOR TABLET + MOBILE
----------------------------*/
@media screen and (max-width: 991px) {
/* UNIVERSAL navbar fix for all wrapper types */
  .navbar,
  .hero-banner .navbar,
  .contact-banner .navbar,
  .services-banner .navbar {
    padding: 20px;
  }

  .navbar ul,
  .hero-banner .navbar ul,
  .contact-banner .navbar ul,
  .services-banner .navbar ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
    padding-left: 0;
  }

  .navbar a,
  .hero-banner .navbar a,
  .contact-banner .navbar a,
  .services-banner .navbar a {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .logo-text,
  .hero-banner .logo-text,
  .contact-banner .logo-text,
  .services-banner .logo-text {
    font-size: 1.6rem;
  }

  .logo-text span {
    font-size: 1rem;
  }

  .navbar-tagline {
    font-size: 1.6rem;
    text-align: center;
    margin-top: 10px;
  }

 .intro-flex {
    flex-direction: row; /* Changed from column */
    gap: 2rem;
    align-items: center; /* Optional: vertically align items */
    justify-content: center; /* Optional: space content evenly */
    flex-wrap: wrap; /* Fallback if space is tight */
  }

  .intro-text,
  .intro-photo {
    flex: 1 1 50%; /* Split 50/50 */
    text-align: center;
  }

  .intro-photo img {
    max-width: 280px;
    width: 100%;
    height: auto;
  }

	.hero-message,
  .services-hero-message {
	  margin-bottom: 14rem !important; /* or however much space you want */
  }
	
	
  .hero-message h2 {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-logo {
    height: 70px;
  }

  .footer-content {
    flex-direction: column;
	  gap: 30px;
    text-align: center;
  }
	
	.footer-credit {
		margin-top: 80px;
	}
	
.services-dropdown .dropdown-menu {
  min-width: 420px;
  max-width: 460px;
  padding: 1rem;
}

.dropdown-menu a {
  font-size: 0.85rem;
  padding: 5px 10px;
}
}




/* Small screens: phones */
@media screen and (max-width: 600px) {
 
	html, body {
    height: auto !important;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background: #e9f2ec !important;
  }
	header,
.hero-banner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.navbar {
  margin-top: 0 !important;
  padding-top: 0.5rem !important;
}
	
	.intro-flex {
    flex-direction: row !important; /* Changed from column */
    gap: 1.5rem !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap;
  }

  .intro-text,
  .intro-photo {
    flex: 1 1 50% !important;
    text-align: center;
  }

  .intro-text h2 {
    font-size: 1.8rem;
  }

  .intro-text h3 {
    font-size: 1.2rem;
  }

  .intro-text p {
    font-size: 0.85rem;
  }

  .intro-photo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 1.5rem;
  }

  .intro-photo img {
    max-width: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  /* HERO, SERVICE, CONTACT, FAITH BANNERS FIXED */
  .hero-banner,
  .contact-banner {
    background-size: cover !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }
	
	.services-banner {
  background-size: cover !important; /* Prevents blurriness */
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-attachment: scroll !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

  .hero-main {
    padding: 0 1rem;
    flex-direction: column;
    align-items: center;
  }
	
	.services-hero-main {
    padding: 0 1rem !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 3rem; /* Extra push-down from nav */
	  margin-bottom: 15rem;
  }
	

  .hero-message {
    margin: 0 auto;
	  margin-bottom: 3rem !important; /* or whatever spacing you prefer */
    padding: 1.5rem 1rem;
    max-width: 90%;
    text-align: center;
  }

  .hero-message {
    margin-bottom: 0 !important; /* FIXED collapsing space */
  }
	
.services-hero-message {
    margin-top: -2rem;
    padding: 2rem 1rem !important;
    max-width: 90%;
    text-align: center;
	margin-bottom: 3rem !important; /* or whatever spacing you prefer */
  }
	
  .services-hero-message h2 {
    font-size: 3.5rem !important; /* slightly larger for emphasis */
  }
  .hero-message h2,
  .services-hero-message h2 {
    font-size: 2.5rem;
  }

  .hero-message p,
  .services-hero-message p {
    font-size: 1rem;
    padding: 6px 12px;
  }
	

  /* REASSURANCE PANEL FIX */
  .reassurance-panel {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 200px;
    max-height: 200px;
    text-align: center;
  }

  .reassurance-text {
    margin: 0;
    text-align: center;
    z-index: 3;
  }

  .reassurance-text p {
    font-size: 2.5rem;
    line-height: 1.3;
    padding: 0 1rem;
    color: #ffffff;
    text-shadow: rgba(0, 0, 0, 0.6);
  }

  /* DROPDOWN MENU ADJUSTMENTS */
  .services-dropdown .dropdown-menu {
    min-width: 320px;
    max-width: 360px;
    padding: 0.75rem;
  }

  .dropdown-menu ul {
    grid-template-columns: 1fr;
  }

  .dropdown-menu a {
    font-size: 0.85rem;
    padding: 6px 10px;
    white-space: normal;
  }
	
	 .footer-logo {
    height: 80px;
  }

  .footer-content {
    flex-direction: column;
	  gap: 30px;
    text-align: center;
  }
	
	.footer-content p{
		line-height: 2;
	}
	
	.footer-credit {
		margin-top: 85px;
	}
	
}	





	
@media screen and (max-width: 480px) {

   /* BODY HEIGHT FIX */
  html, body {
    height: auto !important;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background: #e9f2ec !important;
  }

  /* RESET HEADER + BANNERS */
  header,
  .hero-banner,
  .contact-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-color: #e9f2ec !important;
  }

  .hero-banner,
  .contact-banner {
    background-size: cover !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    min-height: 450px;
    padding-top: 3rem; /* Push down from navbar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }
	
	 .services-banner {
     margin-bottom: 0 !important;
		 background-attachment: scroll !important;
		 background-size: cover !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important;
   position: relative;
  }
	
.navbar {
    margin-top: 0 !important;
    padding-top: 0 !important;
	}
	
  .navbar p {
    font-size: 1.2rem !important;
  }
	
	 .hero-main {
    padding: 0 1.25rem !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 3rem; /* Extra push-down from nav */
	  margin-bottom: 5rem;
  }
	
	.services-hero-main {
    padding: 0 1.25rem !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 3rem; /* Extra push-down from nav */
	  margin-bottom: 15rem;
  }

  .hero-message {
    margin: 0 auto !important;
    padding: 2rem 1rem !important;
    max-width: 90%;
    text-align: center;
  }

  .hero-message {
    margin-bottom: 0 !important;
  }

  .hero-message h2 {
    font-size: 2rem !important;
  }
	
.services-hero-message {
    margin-top: -2rem;
    padding: 2rem 1rem !important;
    max-width: 90%;
    text-align: center;
  }
  .services-hero-message h2 {
    font-size: 3.5rem !important; /* slightly larger for emphasis */
  }

  .hero-message p,
  .services-hero-message p {
    font-size: 1rem !important;
  }

	
/* INTRO SECTION */
  .intro {
    padding: 40px 20px !important;
    width: 100% !important;
  }

  .intro-flex {
    display: flex !important;
    flex-direction: row !important;  /* Stack side by side */
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .intro-text,
  .intro-photo {
    flex: 1 1 50% !important;
    text-align: center;
    padding: 0.5rem !important;
    box-sizing: border-box !important;
  }

  .intro-photo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .intro-photo img {
    max-width: 160px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    flex-shrink: 1 !important;
  }
	
.details-text h2{
		font-size: 2.2rem !important;
	}
	
	
	 .footer-logo {
    height: 75px;
  }

  .footer-content {
    flex-direction: column;
	  gap: 30px;
    text-align: center;
  }
	
	
	.footer-credit {
		margin-top: 85px;
	}

  /* FONT SIZE BASELINE */
  h1, h2, h3 {
    font-size: 1.5rem !important;
  }

  p {
    font-size: 0.85rem !important;
    line-height: 1.6;
  }
}
