/* Services Page Specific Styles */

#counselling,
#psychotherapy,
#assessments,
.we-provide-section,
.our-therapists-section {
  scroll-margin-top: 160px;
}

/* Remove any default body/html margins that could create gaps */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* Services Page Specific Styles - NO NAVIGATION STYLES */



/* Fix logo visibility in navigation.
   Sizing is deliberately NOT set here: hard-coding height/width defeated every
   responsive breakpoint in styles.css and left this page's logo 16px taller
   than every other page below 1440px. */
.nav-logo .logo {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  z-index: 1000 !important;
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  object-fit: contain !important;
  max-width: none !important;
  width: auto !important;
}

.nav-logo {
  position: relative !important;
  z-index: 1001 !important;
  display: flex !important;
  align-items: center !important;
}

/* Fix We Provide section layout */
.we-provide-section {
  position: relative !important;
  z-index: 5 !important;
  overflow: hidden !important;
}

.service-item {
  position: relative !important;
  z-index: 10 !important;
  overflow: visible !important;
}

.service-image {
  position: relative !important;
  z-index: 10 !important;
  overflow: visible !important;
}

.service-img {
  position: relative !important;
  z-index: 15 !important;
  transform: none !important;
  transition: none !important;
}

/* Fix image positioning for each section */
.mental-health-image-left,
.mental-health-image-right {
  position: relative !important;
  z-index: 10 !important;
  overflow: visible !important;
}

.mental-health-img {
  position: relative !important;
  z-index: 15 !important;
  transform: none !important;
  transition: none !important;
}

.mental-illness-icon {
  position: relative !important;
  z-index: 10 !important;
  overflow: visible !important;
}

.mental-illness-img {
  position: relative !important;
  z-index: 15 !important;
  transform: none !important;
  transition: none !important;
}

.cafs-help-image {
  position: relative !important;
  z-index: 10 !important;
  overflow: visible !important;
}

.cafs-help-img {
  position: relative !important;
  z-index: 15 !important;
  transform: none !important;
  transition: none !important;
}

.service-image {
  position: relative !important;
  z-index: 10 !important;
  overflow: visible !important;
}

.service-img {
  position: relative !important;
  z-index: 15 !important;
  transform: none !important;
  transition: none !important;
}

.therapist-image {
  position: relative !important;
  z-index: 10 !important;
  overflow: visible !important;
}

.therapist-img {
  position: relative !important;
  z-index: 15 !important;
  transform: none !important;
  transition: none !important;
}

/* Fix image visibility issues */
.mental-health-img,
.mental-illness-img,
.cafs-help-img,
.service-img,
.therapist-img {
  position: relative !important;
  z-index: 10 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Ensure sections don't hide images */
.mental-health-section,
.mental-illness-section,
.cafs-help-section,
.we-provide-section,
.book-appointment-section,
.our-therapists-section {
  position: relative !important;
  z-index: 5 !important;
}

/* Mental Health Section */
.mental-health-section {
  background: #FFFFFF;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.mental-health-container {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.mental-health-image-left,
.mental-health-image-right {
  flex: 0 0 35%;
  height: 100%;
  position: relative;
}

.mental-health-image-left {
  margin-left: 0;
}

.mental-health-image-right {
  margin-right: 0;
}

.mental-health-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 78px;
}

.mental-health-image-left .mental-health-img {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.mental-health-image-right .mental-health-img {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.mental-health-content {
  flex: 1;
  text-align: center;
  padding: 0 60px;
  z-index: 10;
  position: relative;
}

.mental-health-content {
  text-align: center;
}

.mental-health-content h2 {
  font-family: 'Zeyada', cursive;
  font-size: 3.5rem;
  color: #12A89C;
  margin-bottom: 24px;
  line-height: 1.2;
}

.mental-health-content p {
  font-family: 'Zain', cursive;
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.6;
}

.read-more-btn {
  background: #FF9801;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s;
  margin-top: 24px;
}

.read-more-btn:hover {
  background: #ffb300;
}

/* Mental Illness Section */
.mental-illness-section {
  background: #FFF7EF;
  padding: 80px 0;
}

.mental-illness-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.mental-illness-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.face-icon {
  position: relative;
  width: 200px;
  height: 200px;
}

.face-outline {
  width: 100%;
  height: 100%;
  border: 4px solid #12A89C;
  border-radius: 50%;
  position: relative;
}

.face-outline::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40%;
  border: 3px solid #12A89C;
  border-top: none;
  border-radius: 0 0 50% 50%;
}



.mental-illness-content h2 {
  font-family: 'Zeyada', cursive;
  font-size: 3.5rem;
  color: #12A89C;
  margin-bottom: 16px;
  line-height: 1.2;
}

.mental-illness-content h3 {
  font-family: 'Zeyada', cursive;
  font-size: 2rem;
  color: #12A89C;
  margin-bottom: 24px;
  line-height: 1.2;
}

.mental-illness-content p {
  font-family: 'Zain', cursive;
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.6;
}

.mental-illness-content ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.mental-illness-content li {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.mental-illness-content li::before {
  content: '•';
  color: #FF9801;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.mental-illness-additional {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}

.mental-illness-additional p {
  font-family: 'Zain', cursive;
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.6;
  text-align: center;
}

/* How Can CAFS Help Section */
.cafs-help-section {
  background: #FFFFFF;
  padding: 80px 0;
}

.cafs-help-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  min-height: 450px;
}

.cafs-help-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cafs-help-content h2 {
  font-family: 'Zeyada', cursive;
  font-size: 4.2rem;
  color: #12A89C;
  margin-bottom: 20px;
  line-height: 1.1;
}

.cafs-help-content p {
  font-family: 'Zain', cursive;
  font-size: 1.3rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.5;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  font-family: 'Zain', cursive;
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}

.services-list li::before {
  content: '•';
  color: #FF9801;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.5rem;
}

.cafs-help-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cafs-help-img {
  width: 100%;
  height: 100%;
  max-width: 600px;
  min-height: 350px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* We Provide Section - New Design */
.we-provide-section {
  background: #12A89C;
  padding: 80px 0;
  border-radius: 76px;
  margin-top: 80px;
}

.we-provide-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}

.we-provide-title {
  font-family: 'Zeyada', cursive;
  font-size: 128px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #fff;
  margin-bottom: 64px;
}

/* Service Item Base Styles */
.service-item {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-bottom: 80px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 76px;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover effects for all service items - sections pop up on hover */
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* Target state for navigation - only apply when explicitly navigated to */
.service-item:target {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  animation: targetHighlight 0.5s ease-out;
}

@keyframes targetHighlight {
  0% {
    transform: translateY(-8px) scale(1.02);
  }
  100% {
    transform: translateY(-8px) scale(1);
  }
}

/* Service Number */
.service-number {
  font-family: 'Amatic SC', cursive;
  font-size: 4rem;
  color: #FF9801;
  font-weight: 700;
  text-align: center;
  min-width: 80px;
}

/* Service Content */
.service-content h3 {
  font-family: 'Zeyada', cursive;
  font-size: 2.5rem;
  color: #FF9801;
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-content p {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-content li {
  font-family: 'Zain', cursive;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.service-content li::before {
  content: '•';
  color: #FF9801;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Service Image Base Styles */
.service-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-img {
  width: 100%;
  max-width: 250px;
  height: 200px;
  border-radius: 16px;
  object-fit: cover;
  border: 4px solid #fff;
  transform: rotate(5deg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

/* Layout for each service item */
.counselling-item {
  grid-template-columns: 1.5fr 1.5fr;
  background: #12A89C;
}

/* Inline service number styling */
.service-number-inline {
  font-family: 'Amatic SC', cursive;
  font-size: 2.5rem;
  color: #FF9801;
  font-weight: 700;
  margin-right: 8px;
}

/* Counselling title color override */
.counselling-item .service-title {
  color: #fff !important;
  font-size: 4rem !important;
}

/* Counselling content styling */
.counselling-item .service-content p {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.6;
}

.psychotherapy-item {
  grid-template-columns: 1.5fr 1.5fr;
  grid-template-rows: auto auto;
  gap: 32px;
  background: #12A89C;
}

.assessments-item {
  grid-template-columns: auto 2fr 1fr;
}

/* Counselling Item Special Styling */
.counselling-image {
  position: relative;
}

.outer-frame {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 500 / 350;
  background: #DDDDDD;
  transform: rotate(-8.88deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.inner-frame {
  width: 92%;
  height: 92%;
  background: #fff;
  transform: rotate(-8.88deg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.counselling-image .service-img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  border: none;
  transform: rotate(-8.88deg);
  box-shadow: none;
  object-fit: cover;
}

/* Counselling content bullet points - orange circles */
.counselling-item .service-content li::before {
  color: #FF9801;
}

/* Psychotherapy title color override */
.psychotherapy-item .service-title {
  color: #fff !important;
  font-size: 4rem !important;
}

/* Psychotherapy container height */
.psychotherapy-item {
  min-height: 600px;
  align-items: center;
}

/* Psychotherapy content bullet points - orange circles */
.psychotherapy-item .service-content li::before {
  color: #FF9801;
}



/* Psychotherapy additional list positioning and styling */
.psychotherapy-additional-list {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin-top: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  font-family: 'Zain', cursive;
  font-size: 1rem;
  color: #fff;
  margin-left: 0;
  list-style: none;
}

/* Psychotherapy additional bullet points - orange circles */
.psychotherapy-additional-list li {
  font-family: 'Zain', cursive;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.psychotherapy-additional-list li::before {
  content: '•';
  color: #FF9801 !important;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Psychotherapy image styling - same as counselling */
.psychotherapy-image .service-img {
  width: 460px;
  height: 320px;
  max-width: none;
  border-radius: 0;
  border: none;
  transform: rotate(-8.88deg);
  box-shadow: none;
  object-fit: cover;
}

/* Assessments Item Special Styling */
.assessments-item {
  grid-template-columns: 1.5fr 1.5fr;
  background: #12A89C;
}

/* Assessments title color override */
.assessments-item .service-title {
  color: #fff !important;
  font-size: 4rem !important;
}

/* Assessments content bullet points - orange circles */
.assessments-item .service-content li::before {
  color: #FF9801;
}

/* Assessments image styling - same as counselling and psychotherapy */
.assessments-image .service-img {
  width: 460px;
  height: 320px;
  max-width: none;
  border-radius: 0;
  border: none;
  transform: rotate(-8.88deg);
  box-shadow: none;
  object-fit: cover;
}

/* Assessments content styling */
.assessments-item .service-content p {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.6;
}

.assessments-item .service-content strong {
  color: #FF9801;
  font-weight: 600;
}

/* Alternating Colors for WE PROVIDE Sections */
.counselling-item {
  background: #12A89C !important; /* Green */
}

.psychotherapy-item {
  background: #12A89C !important; /* Green */
}

.assessments-item {
  background: #12A89C !important; /* Green */
}

/* Adjust text colors for orange sections */
.psychotherapy-item .service-content p,
.psychotherapy-item .service-content li {
  color: #fff !important;
}

.psychotherapy-item .service-title {
  color: #fff !important;
}

/* Scroll Animation Styles for Images */
.mental-illness-img.animate-on-scroll {
  transform: translateX(-40px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(.4,0,.2,1), opacity 1.2s cubic-bezier(.4,0,.2,1);
}

.mental-illness-img.animate-on-scroll.in-view {
  transform: translateX(0);
  opacity: 1;
}

.cafs-help-img.animate-on-scroll {
  transform: translateX(40px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(.4,0,.2,1), opacity 1.2s cubic-bezier(.4,0,.2,1);
}

.cafs-help-img.animate-on-scroll.in-view {
  transform: translateX(0);
  opacity: 1;
}





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

.service-number {
  font-family: 'Amatic SC', cursive;
  font-size: 4rem;
  color: #FF9801;
  font-weight: 700;
  text-align: center;
  min-width: 80px;
}

.service-content h3 {
  font-family: 'Zeyada', cursive;
  font-size: 2.5rem;
  color: #FF9801;
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-content p {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-content li {
  font-family: 'Zain', cursive;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.service-content li::before {
  content: '•';
  color: #FF9801;
  font-weight: bold;
  position: absolute;
  left: 0;
}



.service-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  border: 4px solid #fff;
  transform: rotate(5deg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}





/* Book Appointment Section */
.book-appointment-section {
  background: #fff;
  padding: 80px 0;
}

.book-appointment-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}

.book-appointment-container p {
  font-family: 'Amatic SC', cursive;
  font-size: 2.2rem;
  color: #12A89C;
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 900;
}

.book-now-btn {
  background: #FF9801;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 20px 48px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.book-now-btn:hover {
  background: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Our Therapists Section */
.our-therapists-section {
  background: #FFF7EF;
  padding: 80px 0;
  border-radius: 76px 76px 0 0;
  margin: 0;
  width: 100%;
}

/* Contact Buttons Section */
.contact-buttons-section {
  background: #FFF7EF;
  padding: 60px 0;
  width: 100%;
}

.contact-buttons-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 32px;
}

.contact-text p {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  color: #222;
  margin: 0;
  line-height: 1.4;
}

.contact-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-text-middle {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  color: #222;
  white-space: nowrap;
}

.phone-button {
  background: #12A89C;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 32px;
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.phone-button:hover {
  background: #0D948A;
}

.booking-button {
  background: #FF9801;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 32px;
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.booking-button:hover {
  background: #ffb300;
}

@media (max-width: 900px) {
  .contact-buttons-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  
  .contact-buttons {
    flex-direction: column;
    gap: 16px;
  }
  
  .contact-text-middle {
    white-space: normal;
  }
}

/* Tablet landscape (769–1024px): stack contact row — 1024 still used desktop row above 900px breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
  .contact-buttons-section .contact-buttons-container {
    flex-direction: column !important;
    text-align: center !important;
    gap: clamp(16px, 2.5vw, 24px) !important;
    padding: 0 clamp(16px, 4vw, 24px) !important;
  }

  .contact-buttons-section .contact-buttons {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(12px, 2.5vw, 16px) !important;
    width: 100% !important;
  }

  .contact-buttons-section .contact-text p {
    text-align: center !important;
    line-height: 1.5 !important;
  }

  .contact-buttons-section .contact-text-middle {
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.45 !important;
  }

  .contact-buttons-section .phone-button,
  .contact-buttons-section .booking-button {
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

.our-therapists-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.our-therapists-container h2 {
  font-family: 'Zeyada', cursive;
  font-size: 3.5rem;
  color: #12A89C;
  text-align: center;
  margin-bottom: 64px;
  line-height: 1.2;
}

.therapists-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px);
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .our-therapists-section .therapists-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1200px;
  }
}

.therapist-card {
  text-align: center;
  max-width: 250px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.therapist-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  position: relative;
}

.therapist-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: #FF9801;
  border-radius: 50%;
  z-index: -1;
}

.therapist-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}

.therapist-name {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  color: #12A89C;
  margin-bottom: 8px;
  font-weight: 600;
}

.therapist-title {
  font-family: 'Zain', cursive;
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.therapist-book-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #FF9801;
  color: #fff;
  text-decoration: none;
  border-radius: 24px;
  font-family: 'Zain', cursive;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  min-height: 44px;
  box-sizing: border-box;
  transition: background 0.2s;
  text-align: center;
  max-width: 100%;
}

.therapist-book-btn:hover {
  background: #ffb300;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mental-health-container,
  .mental-illness-container,
  .cafs-help-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .service-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .service-number {
    order: -1;
    margin-bottom: 16px;
  }
  
  .therapists-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .mental-health-container,
  .mental-illness-container,
  .cafs-help-container,
  .we-provide-container,
  .book-appointment-container,
  .our-therapists-container {
    padding: 0 24px;
  }
  
  .mental-health-content h2,
  .mental-illness-content h2,
  .cafs-help-content h2,
  .our-therapists-container h2 {
    font-size: 2.5rem;
  }
  
  .we-provide-title {
    font-size: 3rem;
  }
  
  .service-content h3 {
    font-size: 2rem;
  }
  
  .therapists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .therapists-grid {
    grid-template-columns: 1fr;
  }
  
  .service-item {
    padding: 20px;
  }
  
  .book-now-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
  }
}

/* Enhanced Animation System */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Slide animations for different directions */
.slide-left {
  transform: translateX(-100px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-left.animated {
  transform: translateX(0);
  opacity: 1;
}

.slide-right {
  transform: translateX(100px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right.animated {
  transform: translateX(0);
  opacity: 1;
}

.slide-up {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up.animated {
  transform: translateY(0);
  opacity: 1;
}

/* Scale animations */
.scale-in {
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animated {
  transform: scale(1);
  opacity: 1;
}

/* Fade animations with different delays */
.fade-in {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animated {
  opacity: 1;
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* Rotate animations */
.rotate-in {
  transform: rotate(-10deg) scale(0.8);
  opacity: 0;
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-in.animated {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

/* Stagger animations for lists */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.animated {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }
.stagger-item:nth-child(7) { transition-delay: 0.7s; }

/* Enhanced hover animations for service items */
.service-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s;
  z-index: 1;
  pointer-events: none;
}

.service-item:hover::before {
  left: 100%;
}

.service-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-item:hover .service-img {
  transform: rotate(0deg) scale(1.05);
}

/* Enhanced service content animations */
.service-content {
  position: relative;
  z-index: 2;
}

.service-content h3 {
  transition: all 0.3s ease;
}

.service-item:hover .service-content h3 {
  transform: translateY(-2px);
}

/* Enhanced image animations */
.service-img {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-img {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Therapist card animations */
.therapist-card {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.therapist-card.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.therapist-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.therapist-card:hover .therapist-img {
  transform: scale(1.1);
}

.therapist-img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button animations */
.read-more-btn, .book-now-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.read-more-btn:hover, .book-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 152, 1, 0.3);
}

.read-more-btn::before, .book-now-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.read-more-btn:hover::before, .book-now-btn:hover::before {
  left: 100%;
}

/* Mental health section specific animations */
.mental-health-image-left {
  transform: translateX(-100px);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mental-health-image-left.animated {
  transform: translateX(0);
  opacity: 1;
}

.mental-health-image-right {
  transform: translateX(100px);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mental-health-image-right.animated {
  transform: translateX(0);
  opacity: 1;
}

.mental-health-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.3s;
}

.mental-health-content.animated {
  opacity: 1;
  transform: translateY(0);
}

/* CAFS help section animations */
.cafs-help-content {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.cafs-help-content.animated {
  opacity: 1;
  transform: translateX(0);
}

.cafs-help-image {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.cafs-help-image.animated {
  opacity: 1;
  transform: translateX(0);
}

/* We provide title animation */
.we-provide-title {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.we-provide-title.animated {
  opacity: 1;
  transform: scale(1);
}

/* Service item entrance animations */
.service-item {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Contact buttons animation */
.contact-buttons-container {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-buttons-container.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Book appointment section animation */
.book-appointment-container {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-appointment-container.animated {
  opacity: 1;
  transform: scale(1);
}

/* Additional visual enhancements */
.mental-health-section,
.mental-illness-section,
.cafs-help-section,
.we-provide-section,
.book-appointment-section,
.our-therapists-section {
  position: relative;
  overflow: hidden;
}

/* Parallax-like effect for background elements */
.mental-health-section::before,
.mental-illness-section::before,
.cafs-help-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(18, 168, 156, 0.02) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s ease-out;
  pointer-events: none;
  z-index: 1;
}

.mental-health-section.animated::before,
.mental-illness-section.animated::before,
.cafs-help-section.animated::before {
  transform: translateX(100%);
}

/* Enhanced button hover effects */
.read-more-btn:hover,
.book-now-btn:hover,
.phone-button:hover,
.booking-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 152, 1, 0.3);
}

/* Smooth transitions for all interactive elements */
a, button, .service-item, .therapist-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading animation for images */
.service-img,
.therapist-img,
.mental-health-img,
.cafs-help-img {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced focus states for accessibility */
.read-more-btn:focus,
.book-now-btn:focus,
.phone-button:focus,
.booking-button:focus {
  outline: 2px solid #12A89C;
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Services Read More modals — shared by ALL service popups:
 * #mentalHealthModal, #counsellingModal, #psychotherapyModal, #assessmentsModal
 *
 * Opened with display:flex (services.js). Critical: min-height:0 + flex-shrink so
 * max-height is honored; otherwise long content forces a near-fullscreen card.
 */
.story-modal-overlay,
#mentalHealthModal.story-modal-overlay,
#counsellingModal.story-modal-overlay,
#psychotherapyModal.story-modal-overlay,
#assessmentsModal.story-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  overflow: hidden;
}

/* JS sets display:flex + .is-open on every services Read More modal */
.story-modal-overlay.is-open,
#mentalHealthModal.is-open,
#counsellingModal.is-open,
#psychotherapyModal.is-open,
#assessmentsModal.is-open {
  display: flex !important;
}

.story-modal-overlay .story-modal-container,
#mentalHealthModal .story-modal-container,
#counsellingModal .story-modal-container,
#psychotherapyModal .story-modal-container,
#assessmentsModal .story-modal-container {
  position: relative;
  background-color: #fff;
  margin: 0 auto;
  padding: 0;
  border-radius: 20px;
  width: min(800px, 100%);
  max-width: 800px;
  /* Cap size; min-height:0 lets the flex item respect max-height */
  max-height: min(80vh, calc(100dvh - 48px));
  min-height: 0;
  height: auto;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  flex: 0 1 auto;
}

/* Body scroll lock while any services modal is open (class toggled in services.js) */
body.no-scroll {
  overflow: hidden !important;
  touch-action: none;
  overscroll-behavior: none;
}

.story-modal-overlay .story-modal-close,
#mentalHealthModal .story-modal-close,
#counsellingModal .story-modal-close,
#psychotherapyModal .story-modal-close,
#assessmentsModal .story-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  z-index: 2002;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.story-modal-close:hover {
  background-color: #f0f0f0;
  color: #333;
}

.story-modal-overlay .story-modal-content,
#mentalHealthModal .story-modal-content,
#counsellingModal .story-modal-content,
#psychotherapyModal .story-modal-content,
#assessmentsModal .story-modal-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  height: auto;
  overflow: hidden;
}

.story-modal-overlay .story-modal-header,
#mentalHealthModal .story-modal-header,
#counsellingModal .story-modal-header,
#psychotherapyModal .story-modal-header,
#assessmentsModal .story-modal-header {
  background: linear-gradient(135deg, #12A89C, #0d8a7f);
  color: white;
  padding: 30px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.story-modal-header h2 {
  margin: 0;
  font-family: 'Zain', cursive;
  font-size: 2.5rem;
  font-weight: 600;
  padding-right: 36px; /* keep title clear of close control */
  box-sizing: border-box;
}

.story-modal-overlay .story-modal-body,
#mentalHealthModal .story-modal-body,
#counsellingModal .story-modal-body,
#psychotherapyModal .story-modal-body,
#assessmentsModal .story-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 30px;
  max-height: none;
}

.story-content h3 {
  color: #12A89C;
  font-family: 'Zain', cursive;
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.story-content h3:first-child {
  margin-top: 0;
}

.story-content p {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

#counsellingModal .story-content ul,
#psychotherapyModal .story-content ul,
#assessmentsModal .story-content ul {
  font-family: 'Zain', cursive;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin: 12px 0 24px;
  padding-left: 1.5rem;
  list-style: disc;
  list-style-position: outside;
}

#counsellingModal .story-content li,
#psychotherapyModal .story-content li,
#assessmentsModal .story-content li {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin-bottom: 10px;
}

#counsellingModal .story-content li:last-child,
#psychotherapyModal .story-content li:last-child,
#assessmentsModal .story-content li:last-child {
  margin-bottom: 0;
}

#counsellingModal .story-content p + ul,
#psychotherapyModal .story-content p + ul,
#assessmentsModal .story-content p + ul {
  margin-top: 4px;
}

#counsellingModal .story-content ul + p,
#psychotherapyModal .story-content ul + p,
#assessmentsModal .story-content ul + p {
  margin-top: 8px;
}

/* Services READ MORE modal: hidden scrollbar + scroll hint */
#counsellingModal .story-modal-body,
#psychotherapyModal .story-modal-body,
#assessmentsModal .story-modal-body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#counsellingModal .story-modal-body::-webkit-scrollbar,
#psychotherapyModal .story-modal-body::-webkit-scrollbar,
#assessmentsModal .story-modal-body::-webkit-scrollbar {
  display: none;
}

#counsellingModal .story-modal-body.has-scroll-hint:not(.scroll-hint-hidden),
#psychotherapyModal .story-modal-body.has-scroll-hint:not(.scroll-hint-hidden),
#assessmentsModal .story-modal-body.has-scroll-hint:not(.scroll-hint-hidden) {
  padding-bottom: 44px;
}

#counsellingModal .story-modal-container:has(.story-modal-body.has-scroll-hint:not(.scroll-hint-hidden))::before,
#psychotherapyModal .story-modal-container:has(.story-modal-body.has-scroll-hint:not(.scroll-hint-hidden))::before,
#assessmentsModal .story-modal-container:has(.story-modal-body.has-scroll-hint:not(.scroll-hint-hidden))::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96));
  pointer-events: none;
  z-index: 2001;
}

#counsellingModal .story-modal-container:has(.story-modal-body.has-scroll-hint:not(.scroll-hint-hidden))::after,
#psychotherapyModal .story-modal-container:has(.story-modal-body.has-scroll-hint:not(.scroll-hint-hidden))::after,
#assessmentsModal .story-modal-container:has(.story-modal-body.has-scroll-hint:not(.scroll-hint-hidden))::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #12A89C;
  border-bottom: 2px solid #12A89C;
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.8;
  pointer-events: none;
  z-index: 2002;
  animation: services-scroll-hint-bounce 2s ease-in-out infinite;
}

@keyframes services-scroll-hint-bounce {
  0%, 100% {
    transform: translateX(-50%) rotate(45deg) translateY(0);
  }
  50% {
    transform: translateX(-50%) rotate(45deg) translateY(4px);
  }
}

/* Story Modal Go to Top Button */
.story-modal-go-to-top {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.story-modal-go-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.story-modal-go-to-top svg circle {
  fill: rgba(18, 168, 156, 0.25);
  transition: fill 0.2s;
}

.story-modal-go-to-top:hover svg circle {
  fill: #12A89C;
}

.story-modal-go-to-top svg path {
  stroke: #fff;
}

.story-modal-go-to-top svg {
  display: block;
}

@media (max-width: 600px) {
  .story-modal-go-to-top {
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
  }
  .story-modal-go-to-top svg {
    width: 32px;
    height: 32px;
  }
} 


/* Comprehensive Responsive Design for Services Page */

/* Large Desktop */
@media (max-width: 1600px) {
  .mental-health-container,
  .mental-illness-container,
  .how-can-cafs-help-container,
  .we-provide-container,
  .book-appointment-container,
  .our-therapists-container {
    max-width: 95vw;
    padding: 0 20px;
  }
  
  .mental-health-image-left,
  .mental-health-image-right {
    width: 45%;
  }
  
  .mental-health-content {
    width: 50%;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  .mental-health-container,
  .mental-illness-container,
  .how-can-cafs-help-container,
  .we-provide-container,
  .book-appointment-container,
  .our-therapists-container {
    max-width: 98vw;
    padding: 0 16px;
  }
  
  .mental-health-image-left,
  .mental-health-image-right {
    width: 40%;
  }
  
  .mental-health-content {
    width: 55%;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .mental-health-content p,
  .mental-illness-content p,
  .how-can-cafs-help-content p,
  .we-provide-content p {
    font-size: 1rem;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .mental-health-container,
  .mental-illness-container,
  .how-can-cafs-help-container,
  .we-provide-container,
  .book-appointment-container,
  .our-therapists-container {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }
  
  .mental-health-image-left,
  .mental-health-image-right {
    width: 90%;
    max-width: 500px;
    order: 2;
  }
  
  .mental-health-content {
    width: 100%;
    order: 1;
  }
  
  .mental-illness-icon {
    width: 90%;
    max-width: 400px;
    order: 2;
  }
  
  .mental-illness-content {
    width: 100%;
    order: 1;
  }
  
  .how-can-cafs-help-icon {
    width: 90%;
    max-width: 500px;
    order: 2;
  }
  
  .how-can-cafs-help-content {
    width: 100%;
    order: 1;
  }
  
  .we-provide-icon {
    width: 90%;
    max-width: 500px;
    order: 2;
  }
  
  .we-provide-content {
    width: 100%;
    order: 1;
  }
  
  .book-appointment-form {
    width: 100%;
    max-width: 500px;
  }
  
  .book-appointment-info {
    width: 100%;
    text-align: center;
  }
  
  .our-therapists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .section-title {
    font-size: 2.4rem;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .mental-health-section,
  .mental-illness-section,
  .how-can-cafs-help-section,
  .we-provide-section,
  .book-appointment-section,
  .our-therapists-section {
    padding: 48px 0 32px 0;
  }
  
  .mental-health-container,
  .mental-illness-container,
  .how-can-cafs-help-container,
  .we-provide-container,
  .book-appointment-container,
  .our-therapists-container {
    padding: 0 12px;
    gap: 24px;
  }
  
  .mental-health-image-left,
  .mental-health-image-right,
  .mental-illness-icon,
  .how-can-cafs-help-icon,
  .we-provide-icon {
    width: 100%;
    height: 200px;
  }
  
  .mental-health-img,
  .mental-illness-img,
  .how-can-cafs-help-img,
  .we-provide-img {
    height: 200px;
  }
  
  .our-therapists-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .therapist-card {
    padding: 20px;
  }
  
  .therapist-avatar {
    width: 80px;
    height: 80px;
  }
  
  .therapist-name {
    font-size: 1.4rem;
  }
  
  .therapist-role {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  
  .mental-health-content p,
  .mental-illness-content p,
  .how-can-cafs-help-content p,
  .we-provide-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .read-more-btn,
  .book-appointment-btn {
    padding: 10px 24px;
    font-size: 1rem;
  }
  
  .book-appointment-form {
    padding: 24px;
  }
  
  .form-group {
    margin-bottom: 16px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

/* Mobile Medium */
@media (max-width: 480px) {
  .mental-health-section,
  .mental-illness-section,
  .how-can-cafs-help-section,
  .we-provide-section,
  .book-appointment-section,
  .our-therapists-section {
    padding: 32px 0 24px 0;
  }
  
  .mental-health-container,
  .mental-illness-container,
  .how-can-cafs-help-container,
  .we-provide-container,
  .book-appointment-container,
  .our-therapists-container {
    padding: 0 8px;
    gap: 20px;
  }
  
  .mental-health-image-left,
  .mental-health-image-right,
  .mental-illness-icon,
  .how-can-cafs-help-icon,
  .we-provide-icon {
    height: 160px;
  }
  
  .mental-health-img,
  .mental-illness-img,
  .how-can-cafs-help-img,
  .we-provide-img {
    height: 160px;
  }
  
  .therapist-card {
    padding: 16px;
  }
  
  .therapist-avatar {
    width: 60px;
    height: 60px;
  }
  
  .therapist-name {
    font-size: 1.2rem;
  }
  
  .therapist-role {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .mental-health-content p,
  .mental-illness-content p,
  .how-can-cafs-help-content p,
  .we-provide-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .read-more-btn,
  .book-appointment-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .book-appointment-form {
    padding: 20px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* Mobile Small */
@media (max-width: 360px) {
  .mental-health-container,
  .mental-illness-container,
  .how-can-cafs-help-container,
  .we-provide-container,
  .book-appointment-container,
  .our-therapists-container {
    padding: 0 6px;
    gap: 16px;
  }
  
  .mental-health-image-left,
  .mental-health-image-right,
  .mental-illness-icon,
  .how-can-cafs-help-icon,
  .we-provide-icon {
    height: 140px;
  }
  
  .mental-health-img,
  .mental-illness-img,
  .how-can-cafs-help-img,
  .we-provide-img {
    height: 140px;
  }
  
  .therapist-card {
    padding: 12px;
  }
  
  .therapist-avatar {
    width: 50px;
    height: 50px;
  }
  
  .therapist-name {
    font-size: 1.1rem;
  }
  
  .therapist-role {
    font-size: 0.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .mental-health-content p,
  .mental-illness-content p,
  .how-can-cafs-help-content p,
  .we-provide-content p {
    font-size: 0.85rem;
  }
  
  .read-more-btn,
  .book-appointment-btn {
    padding: 6px 16px;
    font-size: 0.85rem;
  }
  
  .book-appointment-form {
    padding: 16px;
  }
}

/*
 * Tablet — apply to EVERY services Read More popup (shared classes + all IDs).
 * Smaller card (~72% width), clear margin, internal body scroll only.
 */
@media (max-width: 1024px) {
  .story-modal-overlay,
  #mentalHealthModal.story-modal-overlay,
  #counsellingModal.story-modal-overlay,
  #psychotherapyModal.story-modal-overlay,
  #assessmentsModal.story-modal-overlay {
    padding: clamp(20px, 3.5vw, 32px) !important;
  }

  .story-modal-overlay .story-modal-container,
  #mentalHealthModal .story-modal-container,
  #counsellingModal .story-modal-container,
  #psychotherapyModal .story-modal-container,
  #assessmentsModal .story-modal-container {
    width: min(72vw, 560px) !important;
    max-width: min(72vw, 560px) !important;
    max-height: min(75vh, calc(100dvh - 56px)) !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .story-modal-overlay .story-modal-header,
  #mentalHealthModal .story-modal-header,
  #counsellingModal .story-modal-header,
  #psychotherapyModal .story-modal-header,
  #assessmentsModal .story-modal-header {
    padding: 20px 22px !important;
  }

  .story-modal-overlay .story-modal-header h2,
  #mentalHealthModal .story-modal-header h2,
  #counsellingModal .story-modal-header h2,
  #psychotherapyModal .story-modal-header h2,
  #assessmentsModal .story-modal-header h2 {
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2rem) !important;
  }

  .story-modal-overlay .story-modal-body,
  #mentalHealthModal .story-modal-body,
  #counsellingModal .story-modal-body,
  #psychotherapyModal .story-modal-body,
  #assessmentsModal .story-modal-body {
    padding: 20px 22px !important;
  }

  .story-modal-overlay .story-modal-close,
  #mentalHealthModal .story-modal-close,
  #counsellingModal .story-modal-close,
  #psychotherapyModal .story-modal-close,
  #assessmentsModal .story-modal-close {
    top: 12px !important;
    right: 12px !important;
  }
}

/* Phone / small tablet portrait — all four popups */
@media (max-width: 768px) {
  .story-modal-overlay,
  #mentalHealthModal.story-modal-overlay,
  #counsellingModal.story-modal-overlay,
  #psychotherapyModal.story-modal-overlay,
  #assessmentsModal.story-modal-overlay {
    padding: 16px !important;
  }

  .story-modal-overlay .story-modal-container,
  #mentalHealthModal .story-modal-container,
  #counsellingModal .story-modal-container,
  #psychotherapyModal .story-modal-container,
  #assessmentsModal .story-modal-container {
    /* Overlay padding 16px → effective side gap 16px each (~calc(100% - 32px)) */
    width: 100% !important;
    max-width: 100% !important;
    max-height: min(80vh, calc(100dvh - 32px)) !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .story-modal-overlay .story-modal-header,
  #mentalHealthModal .story-modal-header,
  #counsellingModal .story-modal-header,
  #psychotherapyModal .story-modal-header,
  #assessmentsModal .story-modal-header {
    padding: 16px 18px !important;
  }

  .story-modal-overlay .story-modal-header h2,
  #mentalHealthModal .story-modal-header h2,
  #counsellingModal .story-modal-header h2,
  #psychotherapyModal .story-modal-header h2,
  #assessmentsModal .story-modal-header h2 {
    font-size: clamp(1.4rem, 1.15rem + 1.5vw, 1.75rem) !important;
    padding-right: 36px !important;
  }

  .story-modal-overlay .story-modal-body,
  #mentalHealthModal .story-modal-body,
  #counsellingModal .story-modal-body,
  #psychotherapyModal .story-modal-body,
  #assessmentsModal .story-modal-body {
    padding: 16px 18px !important;
  }

  .story-modal-overlay .story-content h3,
  #mentalHealthModal .story-content h3,
  #counsellingModal .story-content h3,
  #psychotherapyModal .story-content h3,
  #assessmentsModal .story-content h3 {
    font-size: 1.4rem !important;
  }

  .story-modal-overlay .story-content p,
  #mentalHealthModal .story-content p,
  #counsellingModal .story-content p,
  #psychotherapyModal .story-content p,
  #assessmentsModal .story-content p,
  #counsellingModal .story-content ul,
  #psychotherapyModal .story-content ul,
  #assessmentsModal .story-content ul,
  #counsellingModal .story-content li,
  #psychotherapyModal .story-content li,
  #assessmentsModal .story-content li {
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  .story-modal-overlay,
  #mentalHealthModal.story-modal-overlay,
  #counsellingModal.story-modal-overlay,
  #psychotherapyModal.story-modal-overlay,
  #assessmentsModal.story-modal-overlay {
    padding: 16px !important;
  }

  .story-modal-overlay .story-modal-container,
  #mentalHealthModal .story-modal-container,
  #counsellingModal .story-modal-container,
  #psychotherapyModal .story-modal-container,
  #assessmentsModal .story-modal-container {
    width: 100% !important;
    max-width: 100% !important;
    max-height: min(78vh, calc(100dvh - 32px)) !important;
    border-radius: 20px !important;
  }

  .story-modal-overlay .story-modal-header,
  #mentalHealthModal .story-modal-header,
  #counsellingModal .story-modal-header,
  #psychotherapyModal .story-modal-header,
  #assessmentsModal .story-modal-header {
    padding: 14px 16px !important;
  }

  .story-modal-overlay .story-modal-header h2,
  #mentalHealthModal .story-modal-header h2,
  #counsellingModal .story-modal-header h2,
  #psychotherapyModal .story-modal-header h2,
  #assessmentsModal .story-modal-header h2 {
    font-size: 1.45rem !important;
  }

  .story-modal-overlay .story-modal-body,
  #mentalHealthModal .story-modal-body,
  #counsellingModal .story-modal-body,
  #psychotherapyModal .story-modal-body,
  #assessmentsModal .story-modal-body {
    padding: 14px 16px !important;
  }

  .story-modal-overlay .story-content h3,
  #mentalHealthModal .story-content h3,
  #counsellingModal .story-content h3,
  #psychotherapyModal .story-content h3,
  #assessmentsModal .story-content h3 {
    font-size: 1.25rem !important;
  }

  .story-modal-overlay .story-content p,
  #mentalHealthModal .story-content p,
  #counsellingModal .story-content p,
  #psychotherapyModal .story-content p,
  #assessmentsModal .story-content p,
  #counsellingModal .story-content ul,
  #psychotherapyModal .story-content ul,
  #assessmentsModal .story-content ul,
  #counsellingModal .story-content li,
  #psychotherapyModal .story-content li,
  #assessmentsModal .story-content li {
    font-size: 0.95rem !important;
  }

  #counsellingModal .story-modal-container:has(.story-modal-body.has-scroll-hint:not(.scroll-hint-hidden))::after,
  #psychotherapyModal .story-modal-container:has(.story-modal-body.has-scroll-hint:not(.scroll-hint-hidden))::after,
  #assessmentsModal .story-modal-container:has(.story-modal-body.has-scroll-hint:not(.scroll-hint-hidden))::after {
    bottom: 14px;
    width: 8px;
    height: 8px;
  }
}

/* Mobile dropdown show/hide */
.nav-dropdown .dropdown-menu {
    display: none;            /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-dropdown .dropdown-menu.show {
    display: block;           /* Becomes visible when tapped on mobile */
    opacity: 1;
    visibility: visible;
}

/* Use media query to avoid overriding desktop hover behavior */
@media (min-width: 1024px) {
    .nav-dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    /* Disable mobile hover-related side effects (avoid unnecessary flicker) */
    .nav-dropdown .dropdown-menu.show {
        display: block;
    }
}



/* ============== RESPONSIVE FIXES FOR MOBILE & TABLET ============== */

/* 1. Fix framed rotated images in We Provide section */
@media (max-width: 1024px) {
    /* Make frames fully responsive */
    .outer-frame,
    .inner-frame {
        width: 100% !important;
        max-width: 400px !important;
        height: auto !important;
        padding-bottom: 80% !important; /* Maintain aspect ratio */
        margin: 0 auto;
    }
    
    .inner-frame {
        transform: none !important; /* Remove rotation on tablet/mobile */
    }
    
    .service-img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        transform: none !important; /* Remove rotation */
        border-radius: 16px !important;
        object-fit: cover;
    }
    
    /* Center the image container */
    .service-image {
        justify-content: center;
        padding: 20px;
    }
}

/* Mobile specific - even smaller */
@media (max-width: 768px) {
    .outer-frame,
    .inner-frame {
        max-width: 300px !important;
        padding-bottom: 70% !important;
    }
    
    /* Stack everything vertically and center */
    .service-item {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding: 40px 20px !important;
        gap: 30px;
    }
    
    /* Additional lists - full width */
    .psychotherapy-additional-list {
        grid-column: 1 / -1;
        padding: 0 20px;
    }
    
    /* Title sizes reduce */
    .service-title {
        font-size: 2.8rem !important;
    }
    
    .service-content p,
    .service-content li {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .outer-frame,
    .inner-frame {
        max-width: 260px !important;
        padding-bottom: 65% !important;
    }
    
    .service-title {
        font-size: 2.4rem !important;
    }
    
    .we-provide-title {
        font-size: 64px !important; /* Original 128px too big on small phones */
    }
}

/* 2. Fix Mental Health section overlapping images */
@media (max-width: 1024px) {
    .mental-health-image-left,
    .mental-health-image-right {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 0 0 80% !important;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .mental-health-container {
        flex-direction: column;
        text-align: center;
    }
    
    .mental-health-content {
        padding: 0 20px !important;
    }
    
    .mental-health-img {
        border-radius: 40px !important; /* Full rounded on mobile */
    }
    
    .mental-health-image-left .mental-health-img,
    .mental-health-image-right .mental-health-img {
        border-radius: 40px !important;
    }
}

/* 3. Therapists grid - better responsive */
@media (max-width: 768px) {
    .therapists-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .therapists-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .therapist-image {
        width: 120px !important;
        height: 120px !important;
    }
}

/* 4. General mobile improvements */
@media (max-width: 768px) {
    /* Reduce section padding */
    .mental-health-section,
    .mental-illness-section,
    .cafs-help-section,
    .we-provide-section,
    .book-appointment-section,
    .our-therapists-section {
        padding: 60px 0 !important;
    }
    
    /* Title sizes */
    .section-title {
        font-size: 2.8rem !important;
    }
    
    .mental-health-content h2,
    .mental-illness-content h2,
    .cafs-help-content h2 {
        font-size: 3rem !important;
    }
    
    /* Text readability */
    .service-content p,
    .mental-health-content p,
    .mental-illness-content p,
    .cafs-help-content p {
        font-size: 1.1rem !important;
        line-height: 1.8 !important;
    }
    
    /* Buttons */
    .read-more-btn,
    .book-now-btn {
        padding: 14px 28px !important;
        font-size: 1rem !important;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .we-provide-title {
        font-size: 56px !important;
    }
    
    .service-title {
        font-size: 2.2rem !important;
    }
    
    .outer-frame,
    .inner-frame {
        max-width: 220px !important;
    }
}




/* ============== FINAL FIX FOR FRAMED IMAGES - VISIBLE ON MOBILE ============== */

@media (max-width: 1024px) {
    /* Reset frames to responsive without breaking visibility */
    .outer-frame {
        width: 100% !important;
        max-width: 380px !important;
        height: auto !important;
        padding-bottom: 75% !important;  /* Approx 4:3 ratio */
        margin: 0 auto !important;
        background: #DDDDDD !important;
        transform: rotate(0deg) !important;  /* Remove rotation */
        position: relative !important;
        overflow: visible !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    }
    
    .inner-frame {
        position: absolute !important;
        top: 8% !important;
        left: 8% !important;
        right: 8% !important;
        bottom: 8% !important;
        background: #fff !important;
        border: 12px solid white !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        transform: rotate(0deg) !important;
    }
    
    .service-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transform: rotate(0deg) !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Ensure container doesn't hide anything */
    .service-image {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 30px 0 !important;
        overflow: visible !important;
    }
    
    /* Stack layout */
    .service-item {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        padding: 50px 20px !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .outer-frame {
        max-width: 320px !important;
        padding-bottom: 72% !important;
    }
    
    .inner-frame {
        border: 10px solid white !important;
    }
}

@media (max-width: 480px) {
    .outer-frame {
        max-width: 280px !important;
        padding-bottom: 70% !important;
    }
    
    .service-title {
        font-size: 2.5rem !important;
    }
    
    .we-provide-title {
        font-size: 68px !important;
    }
}

/* ============== SERVICES PAGE HERO RESPONSIVE FIXES ============== */

/* Tablet and below: keep bg/overlay locked to hero bounds */
@media (max-width: 1024px) {
  .hero {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-bg,
  .hero-overlay {
    min-height: 0 !important;
    height: 100% !important;
    width: 100%;
  }

  .hero-bg {
    object-fit: cover !important;
  }
}

/* Tablet: center hero content (desktop stays left-aligned via shared styles) */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero {
    min-height: 62vh;
    padding-top: 130px;
    padding-bottom: 60px;
    border-radius: 0 0 32px 32px;
    align-items: center;
    justify-content: center;
  }

  .hero-bg,
  .hero-overlay {
    border-radius: 0 0 32px 32px;
  }

  .hero-bg {
    object-position: 68% 52% !important;
  }

  .hero-overlay {
    background: linear-gradient(
      to right,
      #12A89C 0%,
      rgba(18, 168, 156, 0.78) 42%,
      rgba(18, 168, 156, 0.22) 68%,
      rgba(18, 168, 156, 0) 100%
    ) !important;
  }

  .hero-content {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    max-width: 52% !important;
    padding: 0 0 20px 0 !important;
  }

  .hero-content h1 {
    font-size: 2.5rem !important;
    line-height: 1.12 !important;
    margin-bottom: 14px !important;
    text-align: center !important;
  }

  .hero-content p {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }
}

/* Mobile: center hero content */
@media (max-width: 768px) {
  .hero {
    z-index: 999 !important;
    min-height: clamp(400px, 60vh, 540px);
    padding-top: 92px;
    padding-bottom: 44px;
    border-radius: 0 0 24px 24px;
    text-align: center;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
      120deg,
      #12A89C 0%,
      rgba(18, 168, 156, 0.88) 52%,
      rgba(18, 168, 156, 0.35) 100%
    );
  }

  .hero-bg,
  .hero-overlay {
    border-radius: 0 0 24px 24px;
  }

  .hero-bg {
    object-position: 72% 48% !important;
  }

  .hero-overlay {
    background: linear-gradient(
      to right,
      #12A89C 0%,
      rgba(18, 168, 156, 0.85) 48%,
      rgba(18, 168, 156, 0.28) 75%,
      rgba(18, 168, 156, 0) 100%
    ) !important;
  }

  .hero-content {
    margin: 0 auto !important;
    text-align: center !important;
    max-width: min(92vw, 520px) !important;
    padding: 0 16px !important;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 1.15rem + 3.2vw, 2.35rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  .hero-content p {
    font-size: clamp(0.9rem, 0.82rem + 0.55vw, 1.05rem) !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
  }

  .hero-content p:last-of-type {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: clamp(360px, 56vh, 480px);
    padding-top: 84px;
    padding-bottom: 36px;
  }

  .hero-bg {
    object-position: 76% 45% !important;
  }

  .hero-content {
    margin: 0 auto !important;
    max-width: min(94vw, 480px) !important;
    text-align: center !important;
  }

  .hero-content h1 {
    font-size: clamp(1.55rem, 1rem + 4.2vw, 1.95rem) !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .hero-content p {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  .hero {
    min-height: clamp(340px, 54vh, 450px);
    padding-top: 80px;
    padding-bottom: 32px;
  }

  .hero-bg {
    object-position: 80% 42% !important;
  }

  .hero-content {
    max-width: min(94vw, 440px) !important;
    text-align: center !important;
  }

  .hero-content h1 {
    font-size: 1.5rem !important;
    text-align: center !important;
  }

  .hero-content p {
    font-size: 0.85rem !important;
    text-align: center !important;
  }
}

/* ============== SERVICES PAGE MENTAL HEALTH RESPONSIVE FIXES ============== */

@media (max-width: 1024px) {
  .mental-health-section {
    min-height: 0;
    padding: 56px 0 48px;
    overflow: hidden;
    align-items: stretch;
  }

  .mental-health-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 28px !important;
    padding: 0 clamp(16px, 4vw, 32px) !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .mental-health-content {
    order: 1 !important;
    width: 100% !important;
    max-width: 680px !important;
    padding: 0 clamp(12px, 3vw, 24px) !important;
    text-align: center !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .mental-health-content.animated {
    transform: none !important;
    opacity: 1 !important;
  }

  .mental-health-image-left,
  .mental-health-image-right {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: min(520px, calc(100vw - 32px)) !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    opacity: 1 !important;
    overflow: hidden !important;
  }

  .mental-health-image-left.animated,
  .mental-health-image-right.animated {
    transform: none !important;
    opacity: 1 !important;
  }

  .mental-health-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
    object-fit: cover !important;
    border-radius: 32px !important;
    display: block !important;
  }

  .mental-health-image-left .mental-health-img,
  .mental-health-image-right .mental-health-img {
    border-radius: 32px !important;
    border-top-left-radius: 32px !important;
    border-bottom-left-radius: 32px !important;
    border-top-right-radius: 32px !important;
    border-bottom-right-radius: 32px !important;
  }

  .mental-health-content .read-more-btn {
    margin-top: 20px;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .mental-health-section {
    padding: 48px 0 40px !important;
  }

  .mental-health-container {
    gap: 24px !important;
    padding: 0 16px !important;
  }

  .mental-health-content h2,
  .mental-health-content .section-title {
    margin-bottom: 20px !important;
  }

  .mental-health-content p {
    margin-bottom: 14px !important;
  }

  .mental-health-image-left,
  .mental-health-image-right {
    width: min(100%, calc(100vw - 32px)) !important;
  }

  .mental-health-image-left {
    margin-top: 4px !important;
  }

  .mental-health-img {
    aspect-ratio: 4 / 3;
    border-radius: 24px !important;
  }

  .mental-health-image-left .mental-health-img,
  .mental-health-image-right .mental-health-img {
    border-radius: 24px !important;
  }

  .mental-health-content .read-more-btn {
    margin-top: 16px;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .mental-health-section {
    padding: 40px 0 32px !important;
  }

  .mental-health-container {
    gap: 20px !important;
    padding: 0 12px !important;
  }

  .mental-health-img {
    aspect-ratio: 3 / 2;
    border-radius: 20px !important;
  }

  .mental-health-image-left .mental-health-img,
  .mental-health-image-right .mental-health-img {
    border-radius: 20px !important;
  }
}

/* ============== SERVICES PAGE MENTAL ILLNESS RESPONSIVE FIXES ============== */

@media (max-width: 1024px) {
  .mental-illness-section {
    padding: 48px 0 40px;
    overflow-x: clip;
    overflow-y: visible;
  }

  .mental-illness-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 clamp(16px, 4vw, 32px) !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
  }

  .mental-illness-icon {
    order: 2 !important;
    width: min(160px, 38vw) !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: clamp(24px, 5vw, 36px) auto clamp(20px, 4vw, 32px) !important;
    padding: clamp(8px, 2vw, 16px) 0 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .mental-illness-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .mental-illness-img.rotate-in,
  .mental-illness-img.rotate-in.animated {
    transform: none !important;
    opacity: 1 !important;
  }

  .mental-illness-content {
    order: 1 !important;
    width: 100% !important;
    max-width: 680px !important;
    text-align: center !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .mental-illness-content.slide-left,
  .mental-illness-content.slide-left.animated {
    transform: none !important;
    opacity: 1 !important;
  }

  .mental-illness-content h2,
  .mental-illness-content .section-title {
    font-size: clamp(2rem, 1.6rem + 2vw, 2.8rem) !important;
    margin-bottom: 10px !important;
    line-height: 1.15 !important;
  }

  .mental-illness-content h3 {
    font-size: clamp(1.35rem, 1.1rem + 1.5vw, 1.75rem) !important;
    margin-bottom: 14px !important;
    line-height: 1.2 !important;
  }

  .mental-illness-content p {
    font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.1rem) !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
  }

  .mental-illness-content p:last-of-type {
    margin-bottom: clamp(16px, 4vw, 24px) !important;
  }

  .mental-illness-content ul {
    margin: 12px auto 4px !important;
    padding: 0 !important;
    max-width: 560px;
    text-align: left;
  }

  .mental-illness-content li {
    font-size: clamp(0.9rem, 0.85rem + 0.35vw, 1.05rem) !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
    padding-left: 20px !important;
  }

  .mental-illness-additional {
    padding: 0 clamp(16px, 4vw, 32px) !important;
    max-width: 680px !important;
    margin: clamp(16px, 4vw, 28px) auto 0 !important;
  }

  .mental-illness-additional p {
    font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.1rem) !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  .mental-illness-additional.fade-in,
  .mental-illness-additional.fade-in.animated {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile only: balanced centering (equal side padding; no WhatsApp-side offset) */
@media (max-width: 768px) {
  .mental-illness-section {
    padding: 40px 0 32px !important;
    text-align: center;
  }

  .mental-illness-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 auto !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 clamp(20px, 5vw, 28px) !important;
    box-sizing: border-box !important;
  }

  .mental-illness-icon {
    order: 2 !important;
    width: min(140px, 34vw) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: clamp(22px, 5vw, 32px) auto clamp(18px, 4vw, 28px) !important;
    padding: clamp(8px, 2vw, 14px) 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .mental-illness-img {
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  .mental-illness-content {
    order: 1 !important;
    width: 100% !important;
    max-width: min(36rem, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .mental-illness-content h2,
  .mental-illness-content .section-title,
  .mental-illness-content h3,
  .mental-illness-content p {
    text-align: center !important;
  }

  .mental-illness-content h2,
  .mental-illness-content .section-title {
    margin-bottom: 8px !important;
  }

  .mental-illness-content h3 {
    margin-bottom: 12px !important;
  }

  .mental-illness-content ul {
    margin: 10px auto 6px !important;
    text-align: left;
  }

  .mental-illness-content li {
    margin-bottom: 6px !important;
  }

  .mental-illness-additional {
    width: 100% !important;
    max-width: min(36rem, 100%) !important;
    margin: clamp(18px, 4vw, 28px) auto 0 !important;
    padding: 0 clamp(20px, 5vw, 28px) !important;
    box-sizing: border-box !important;
  }

  .mental-illness-additional p {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .mental-illness-section {
    padding: 32px 0 32px !important;
    scroll-margin-bottom: 0;
  }

  .mental-illness-container {
    gap: 0 !important;
    padding: 0 clamp(16px, 4.5vw, 24px) !important;
  }

  .mental-illness-content p:last-of-type {
    margin-bottom: clamp(18px, 4.5vw, 26px) !important;
  }

  .mental-illness-icon {
    width: min(120px, 32vw) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: clamp(20px, 5vw, 30px) auto clamp(18px, 4vw, 26px) !important;
    padding: clamp(10px, 2.5vw, 16px) 0 !important;
  }

  .mental-illness-img {
    height: auto !important;
    max-height: none !important;
  }

  .mental-illness-additional {
    margin-top: clamp(20px, 5vw, 32px) !important;
    margin-bottom: 0 !important;
    padding: 0 clamp(16px, 4.5vw, 24px) !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  .mental-illness-additional p:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 390px) {
  .mental-illness-section {
    padding-bottom: 32px !important;
  }

  .mental-illness-container {
    gap: 0 !important;
    padding: 0 16px !important;
  }

  .mental-illness-icon {
    margin: clamp(22px, 6vw, 32px) auto clamp(20px, 5vw, 28px) !important;
    padding: clamp(10px, 3vw, 18px) 0 !important;
  }

  .mental-illness-additional {
    margin-top: clamp(22px, 6vw, 34px) !important;
    padding: 0 16px !important;
    padding-bottom: 0 !important;
  }

  .mental-illness-additional p:first-of-type {
    margin-top: 0 !important;
    padding-top: clamp(4px, 1vw, 8px) !important;
  }

  .mental-illness-additional p:last-of-type {
    padding-bottom: 0 !important;
  }
}

/* ============== SERVICES PAGE CAFS HELP RESPONSIVE FIXES ============== */

@media (max-width: 1024px) {
  .cafs-help-section {
    padding: 48px 0 40px;
    overflow: hidden;
  }

  .cafs-help-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 0 clamp(16px, 4vw, 32px) !important;
    min-height: 0 !important;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
  }

  .cafs-help-content {
    order: 1 !important;
    width: 100% !important;
    max-width: 680px !important;
    text-align: center !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .cafs-help-content.slide-left,
  .cafs-help-content.slide-left.animated {
    transform: none !important;
    opacity: 1 !important;
  }

  .cafs-help-content h2,
  .cafs-help-content .section-title {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem) !important;
    margin-bottom: 14px !important;
    line-height: 1.12 !important;
  }

  .cafs-help-content p {
    font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.15rem) !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
  }

  .cafs-help-content .services-list {
    margin: 8px auto 0 !important;
    padding: 0 !important;
    max-width: 520px;
    text-align: left;
  }

  .cafs-help-content .services-list li {
    font-size: clamp(0.9rem, 0.85rem + 0.35vw, 1.05rem) !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
    padding-left: 22px !important;
  }

  .cafs-help-image {
    order: 2 !important;
    width: min(520px, calc(100vw - 32px)) !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
    opacity: 1 !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .cafs-help-image.slide-right,
  .cafs-help-image.slide-right.animated {
    transform: none !important;
    opacity: 1 !important;
  }

  .cafs-help-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    object-fit: cover !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .cafs-help-section {
    padding: 40px 0 32px !important;
  }

  .cafs-help-container {
    gap: 20px !important;
    padding: 0 16px !important;
  }

  .cafs-help-content h2,
  .cafs-help-content .section-title {
    margin-bottom: 10px !important;
  }

  .cafs-help-content .services-list {
    margin: 6px auto 0 !important;
  }

  .cafs-help-content .services-list li {
    margin-bottom: 6px !important;
  }

  .cafs-help-image {
    width: min(100%, calc(100vw - 32px)) !important;
  }

  .cafs-help-img {
    aspect-ratio: 3 / 2;
    border-radius: 18px !important;
  }
}

@media (max-width: 480px) {
  .cafs-help-section {
    padding: 32px 0 28px !important;
  }

  .cafs-help-container {
    gap: 16px !important;
    padding: 0 12px !important;
  }

  .cafs-help-img {
    aspect-ratio: 16 / 11;
    border-radius: 16px !important;
  }
}

/* ============== SERVICES PAGE WE PROVIDE RESPONSIVE FIXES ============== */

@media (max-width: 1024px) {
  .we-provide-section {
    margin-top: clamp(40px, 6vw, 80px);
    padding: clamp(48px, 6vw, 80px) 0;
    border-radius: clamp(28px, 5vw, 76px);
    overflow-x: clip;
  }

  .we-provide-container {
    max-width: 100%;
    width: 100%;
    padding: 0 clamp(16px, 4vw, 32px);
    box-sizing: border-box;
  }

  .we-provide-title {
    font-size: clamp(3rem, 2rem + 5vw, 5.5rem) !important;
    line-height: 1.05 !important;
    margin-bottom: clamp(32px, 5vw, 64px) !important;
    padding: 0 8px;
  }

  .we-provide-section .service-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: clamp(20px, 4vw, 32px) !important;
    align-items: start !important;
    margin-bottom: clamp(40px, 6vw, 80px) !important;
    padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 24px) !important;
    border-radius: clamp(24px, 5vw, 76px) !important;
    min-height: 0 !important;
    overflow: visible !important;
    text-align: center !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .we-provide-section .psychotherapy-item {
    min-height: 0 !important;
  }

  .we-provide-section .service-item:hover,
  .we-provide-section .service-item:target,
  .we-provide-section .service-item:hover .service-img,
  .we-provide-section .service-item:hover .service-content h3 {
    transform: none !important;
    box-shadow: none !important;
  }

  .we-provide-section .service-content {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .we-provide-section .service-content p,
  .we-provide-section .service-content li {
    font-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.1rem) !important;
    line-height: 1.6 !important;
  }

  .we-provide-section .service-content ul,
  .we-provide-section .psychotherapy-additional-list {
    text-align: left;
    max-width: 520px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 clamp(8px, 2vw, 16px) !important;
  }

  .we-provide-section .psychotherapy-additional-list {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }

  .we-provide-section .service-title,
  .we-provide-section .counselling-item .service-title,
  .we-provide-section .psychotherapy-item .service-title,
  .we-provide-section .assessments-item .service-title {
    font-size: clamp(2rem, 1.5rem + 3vw, 3rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
  }

  .we-provide-section .service-number-inline {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem) !important;
  }

  .we-provide-section .service-image {
    width: 100%;
    max-width: min(380px, calc(100vw - 48px));
    margin: 0 auto !important;
    padding: clamp(12px, 3vw, 24px) 0 !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .we-provide-section .outer-frame {
    width: min(380px, calc(100vw - 48px)) !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 500 / 350 !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    background: #DDDDDD !important;
  }

  .we-provide-section .inner-frame {
    position: absolute !important;
    top: 8% !important;
    left: 8% !important;
    right: 8% !important;
    bottom: 8% !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    overflow: hidden !important;
    border: 10px solid #fff !important;
    border-radius: 14px !important;
    background: #fff !important;
  }

  .we-provide-section .counselling-image .service-img,
  .we-provide-section .psychotherapy-image .service-img,
  .we-provide-section .assessments-image .service-img,
  .we-provide-section .service-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    transform: none !important;
    object-fit: cover !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 768px) {
  .we-provide-section {
    padding: 40px 0 !important;
    border-radius: clamp(20px, 4vw, 48px);
  }

  .we-provide-container {
    padding: 0 16px !important;
  }

  .we-provide-title {
    margin-bottom: 32px !important;
  }

  .we-provide-section .service-item {
    padding: 28px 16px !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
  }

  .we-provide-section .service-image {
    max-width: min(320px, calc(100vw - 32px));
    padding: 16px 0 !important;
  }

  .we-provide-section .outer-frame {
    width: min(320px, calc(100vw - 32px)) !important;
  }

  .we-provide-section .inner-frame {
    border-width: 8px !important;
  }
}

@media (max-width: 480px) {
  .we-provide-section {
    padding: 32px 0 !important;
    border-radius: 20px;
    margin-top: 32px;
  }

  .we-provide-container {
    padding: 0 12px !important;
  }

  .we-provide-title {
    font-size: clamp(2.5rem, 2rem + 4vw, 3.5rem) !important;
    margin-bottom: 24px !important;
  }

  .we-provide-section .service-item {
    padding: 24px 12px !important;
    gap: 16px !important;
    border-radius: 20px !important;
  }

  .we-provide-section .service-title,
  .we-provide-section .counselling-item .service-title,
  .we-provide-section .psychotherapy-item .service-title,
  .we-provide-section .assessments-item .service-title {
    font-size: clamp(1.75rem, 1.4rem + 2.5vw, 2.4rem) !important;
  }

  .we-provide-section .service-image {
    max-width: min(280px, calc(100vw - 24px));
  }

  .we-provide-section .outer-frame {
    width: min(280px, calc(100vw - 24px)) !important;
    border-radius: 16px !important;
  }

  .we-provide-section .inner-frame {
    border-width: 6px !important;
    border-radius: 12px !important;
  }
}

/* ============== SERVICES PAGE COUNSELLING CARD RESPONSIVE ============== */
/* Preserve desktop frame architecture: grey outer + white inner (dual rotate) + photo.
   ≤1024px: single-column flow with image between bullet list and “However…” (display:contents + order).
   >1024px desktop: unchanged 2-column [text][image]. */

@media (max-width: 1024px) {
  .we-provide-section .counselling-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    align-items: stretch !important;
    overflow: visible !important;
    max-width: 100% !important;
    background: #12A89C !important;
    border: none !important;
    gap: clamp(16px, 3vw, 28px) !important;
    padding: clamp(24px, 4vw, 36px) clamp(18px, 4vw, 28px) !important;
    border-radius: clamp(20px, 4vw, 48px) !important;
    box-shadow: none !important;
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: left !important;
  }

  /* Flatten .service-content so h3/p/ul/image reorder via grid order */
  .we-provide-section .counselling-item .service-content {
    display: contents !important;
  }

  .we-provide-section .counselling-item .service-content > * {
    position: relative;
    z-index: 2;
  }

  .we-provide-section .counselling-item .service-content p:last-of-type {
    order: 6 !important;
  }

  .we-provide-section .counselling-item .service-title {
    margin-bottom: clamp(10px, 2vw, 14px) !important;
  }

  .we-provide-section .counselling-item .service-content p {
    margin-bottom: clamp(10px, 2.2vw, 16px) !important;
  }

  .we-provide-section .counselling-item .service-content ul {
    margin: clamp(8px, 2vw, 12px) 0 clamp(10px, 2.2vw, 16px) !important;
    padding: 0;
    text-align: left;
  }

  .we-provide-section .counselling-item .counselling-image.service-image {
    order: 5 !important;
    width: 100% !important;
    max-width: min(500px, calc(100vw - 56px)) !important;
    min-height: 0 !important;
    margin: clamp(8px, 2vw, 14px) auto !important;
    padding: clamp(10px, 2vw, 18px) !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .we-provide-section .counselling-item .outer-frame {
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    aspect-ratio: 500 / 350 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transform: rotate(-8.88deg) !important;
    transform-origin: center center !important;
    background: #DDDDDD !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: visible !important;
    flex-shrink: 1;
    min-width: 0;
  }

  .we-provide-section .counselling-item .inner-frame {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 92% !important;
    height: 92% !important;
    max-width: none !important;
    padding-bottom: 0 !important;
    transform: rotate(-8.88deg) !important;
    transform-origin: center center !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .we-provide-section .counselling-item .counselling-image .service-img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Counselling shimmer — matches desktop .service-item::before (1443–1457) */
  .we-provide-section .counselling-item {
    position: relative !important;
    overflow: hidden !important;
  }

  .we-provide-section .counselling-item::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
    transition: left 0.6s !important;
    z-index: 1 !important;
    pointer-events: none !important;
    border-radius: inherit;
  }

  .we-provide-section .counselling-item:hover::before,
  .we-provide-section .counselling-item:target::before,
  .we-provide-section .counselling-item:active::before {
    left: 100% !important;
  }

  .we-provide-section .counselling-item .service-content,
  .we-provide-section .counselling-item .counselling-image.service-image {
    position: relative !important;
    z-index: 2 !important;
  }

  /* Counselling-only hover/tap — mirrors desktop .service-item:hover (1460–1490) */
  .we-provide-section .counselling-item:hover,
  .we-provide-section .counselling-item:target {
    transform: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
  }

  .we-provide-section .counselling-item:active {
    transform: none !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18) !important;
  }

  .we-provide-section .counselling-item:hover .service-content h3,
  .we-provide-section .counselling-item:hover .service-title,
  .we-provide-section .counselling-item:active .service-content h3,
  .we-provide-section .counselling-item:active .service-title,
  .we-provide-section .counselling-item:target .service-content h3,
  .we-provide-section .counselling-item:target .service-title {
    transform: translateY(-2px) !important;
  }

  /* Image stays transform:none; shadow on outer-frame (visible — inner-frame clips img shadow) */
  .we-provide-section .counselling-item:hover .counselling-image .service-img,
  .we-provide-section .counselling-item:target .counselling-image .service-img,
  .we-provide-section .counselling-item:active .counselling-image .service-img {
    transform: none !important;
    box-shadow: none !important;
  }

  .we-provide-section .counselling-item:hover .outer-frame,
  .we-provide-section .counselling-item:target .outer-frame {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
  }

  .we-provide-section .counselling-item:active .outer-frame {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22) !important;
  }
}

@media (max-width: 768px) {
  .we-provide-section .counselling-item {
    gap: clamp(12px, 2.5vw, 20px) !important;
    padding: 24px 16px !important;
  }

  .we-provide-section .counselling-item .service-title {
    font-size: clamp(1.75rem, 1.4rem + 2vw, 2.5rem) !important;
  }

  .we-provide-section .counselling-item .service-content p,
  .we-provide-section .counselling-item .service-content li {
    font-size: clamp(0.88rem, 0.85rem + 0.3vw, 1rem) !important;
  }

  .we-provide-section .counselling-item .counselling-image.service-image {
    padding: clamp(8px, 1.5vw, 14px) !important;
  }

  .we-provide-section .counselling-item .outer-frame {
    max-width: 100% !important;
  }
}

/* Tablet only (481–1024px): balanced image breathing room between bullets and “However…” */
@media (max-width: 1024px) and (min-width: 481px) {
  .we-provide-section .counselling-item .service-content ul {
    margin-bottom: clamp(12px, 2.5vw, 20px) !important;
  }

  .we-provide-section .counselling-item .counselling-image.service-image {
    margin-top: clamp(16px, 3vw, 24px) !important;
    margin-bottom: clamp(32px, 5vw, 44px) !important;
  }

  .we-provide-section .counselling-item .service-content p:last-of-type {
    margin-top: clamp(8px, 1.5vw, 12px) !important;
  }
}

/* Phones: centred typography — stacked flow inherited from ≤1024px block above */
@media (max-width: 480px) {
  .we-provide-section .counselling-item {
    gap: 16px !important;
    padding: 22px 14px 28px !important;
    text-align: center !important;
  }

  .we-provide-section .counselling-item .service-content ul {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left;
    max-width: 520px;
  }

  .we-provide-section .counselling-item .counselling-image.service-image {
    max-width: min(400px, calc(100vw - 32px)) !important;
    padding: clamp(10px, 2.5vw, 16px) !important;
  }

  .we-provide-section .counselling-item .service-content p:last-of-type {
    margin-top: 0 !important;
  }

  .we-provide-section .counselling-item .outer-frame {
    max-width: min(400px, 100%) !important;
    transform: rotate(-7deg) !important;
  }

  .we-provide-section .counselling-item .inner-frame {
    transform: rotate(-7deg) !important;
  }
}

@media (max-width: 390px) {
  .we-provide-section .counselling-item .counselling-image.service-image {
    max-width: min(340px, calc(100vw - 24px)) !important;
    padding: 8px 6px !important;
  }

  .we-provide-section .counselling-item .outer-frame {
    max-width: min(340px, 100%) !important;
    transform: rotate(-6deg) !important;
  }

  .we-provide-section .counselling-item .inner-frame {
    transform: rotate(-6deg) !important;
  }
}

/* ============== SERVICES PAGE ASSESSMENTS CARD RESPONSIVE ============== */
/* Mirrors approved Counselling pattern (3522–3816).
   ≤1024px: single-column flow with image between bullet list and closing <strong> paragraph.
   >1024px desktop: unchanged 2-column [text][image]. */

@media (max-width: 1024px) {
  .we-provide-section .assessments-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    align-items: stretch !important;
    overflow: visible !important;
    max-width: 100% !important;
    background: #12A89C !important;
    border: none !important;
    gap: clamp(16px, 3vw, 28px) !important;
    padding: clamp(24px, 4vw, 36px) clamp(18px, 4vw, 28px) !important;
    border-radius: clamp(20px, 4vw, 48px) !important;
    box-shadow: none !important;
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: left !important;
  }

  .we-provide-section .assessments-item .service-content {
    display: contents !important;
  }

  .we-provide-section .assessments-item .service-content > * {
    position: relative;
    z-index: 2;
  }

  .we-provide-section .assessments-item .service-content p:last-of-type {
    order: 6 !important;
  }

  .we-provide-section .assessments-item .service-title {
    margin-bottom: clamp(10px, 2vw, 14px) !important;
  }

  .we-provide-section .assessments-item .service-content p {
    margin-bottom: clamp(10px, 2.2vw, 16px) !important;
  }

  .we-provide-section .assessments-item .service-content ul {
    margin: clamp(8px, 2vw, 12px) 0 clamp(10px, 2.2vw, 16px) !important;
    padding: 0;
    text-align: left;
  }

  .we-provide-section .assessments-item .assessments-image.service-image {
    order: 5 !important;
    width: 100% !important;
    max-width: min(500px, calc(100vw - 56px)) !important;
    min-height: 0 !important;
    margin: clamp(8px, 2vw, 14px) auto !important;
    padding: clamp(10px, 2vw, 18px) !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .we-provide-section .assessments-item .outer-frame {
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    aspect-ratio: 500 / 350 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transform: rotate(-8.88deg) !important;
    transform-origin: center center !important;
    background: #DDDDDD !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: visible !important;
    flex-shrink: 1;
    min-width: 0;
  }

  .we-provide-section .assessments-item .inner-frame {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 92% !important;
    height: 92% !important;
    max-width: none !important;
    padding-bottom: 0 !important;
    transform: rotate(-8.88deg) !important;
    transform-origin: center center !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .we-provide-section .assessments-item .assessments-image .service-img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .we-provide-section .assessments-item {
    position: relative !important;
    overflow: hidden !important;
  }

  .we-provide-section .assessments-item::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
    transition: left 0.6s !important;
    z-index: 1 !important;
    pointer-events: none !important;
    border-radius: inherit;
  }

  .we-provide-section .assessments-item:hover::before,
  .we-provide-section .assessments-item:target::before,
  .we-provide-section .assessments-item:active::before {
    left: 100% !important;
  }

  .we-provide-section .assessments-item .service-content,
  .we-provide-section .assessments-item .assessments-image.service-image {
    position: relative !important;
    z-index: 2 !important;
  }

  .we-provide-section .assessments-item:hover,
  .we-provide-section .assessments-item:target {
    transform: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
  }

  .we-provide-section .assessments-item:active {
    transform: none !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18) !important;
  }

  .we-provide-section .assessments-item:hover .service-content h3,
  .we-provide-section .assessments-item:hover .service-title,
  .we-provide-section .assessments-item:active .service-content h3,
  .we-provide-section .assessments-item:active .service-title,
  .we-provide-section .assessments-item:target .service-content h3,
  .we-provide-section .assessments-item:target .service-title {
    transform: translateY(-2px) !important;
  }

  .we-provide-section .assessments-item:hover .assessments-image .service-img,
  .we-provide-section .assessments-item:target .assessments-image .service-img,
  .we-provide-section .assessments-item:active .assessments-image .service-img {
    transform: none !important;
    box-shadow: none !important;
  }

  .we-provide-section .assessments-item:hover .outer-frame,
  .we-provide-section .assessments-item:target .outer-frame {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
  }

  .we-provide-section .assessments-item:active .outer-frame {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22) !important;
  }
}

@media (max-width: 768px) {
  .we-provide-section .assessments-item {
    gap: clamp(12px, 2.5vw, 20px) !important;
    padding: 24px 16px !important;
  }

  .we-provide-section .assessments-item .service-title {
    font-size: clamp(1.75rem, 1.4rem + 2vw, 2.5rem) !important;
  }

  .we-provide-section .assessments-item .service-content p,
  .we-provide-section .assessments-item .service-content li {
    font-size: clamp(0.88rem, 0.85rem + 0.3vw, 1rem) !important;
  }

  .we-provide-section .assessments-item .assessments-image.service-image {
    padding: clamp(8px, 1.5vw, 14px) !important;
  }

  .we-provide-section .assessments-item .outer-frame {
    max-width: 100% !important;
  }
}

@media (max-width: 1024px) and (min-width: 481px) {
  .we-provide-section .assessments-item .service-content ul {
    margin-bottom: clamp(12px, 2.5vw, 20px) !important;
  }

  .we-provide-section .assessments-item .assessments-image.service-image {
    margin-top: clamp(16px, 3vw, 24px) !important;
    margin-bottom: clamp(32px, 5vw, 44px) !important;
  }

  .we-provide-section .assessments-item .service-content p:last-of-type {
    margin-top: clamp(8px, 1.5vw, 12px) !important;
  }
}

@media (max-width: 480px) {
  .we-provide-section .assessments-item {
    gap: 16px !important;
    padding: 22px 14px 28px !important;
    text-align: center !important;
  }

  .we-provide-section .assessments-item .service-content ul {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left;
    max-width: 520px;
  }

  .we-provide-section .assessments-item .assessments-image.service-image {
    max-width: min(400px, calc(100vw - 32px)) !important;
    padding: clamp(10px, 2.5vw, 16px) !important;
  }

  .we-provide-section .assessments-item .service-content p:last-of-type {
    margin-top: 0 !important;
  }

  .we-provide-section .assessments-item .outer-frame {
    max-width: min(400px, 100%) !important;
    transform: rotate(-7deg) !important;
  }

  .we-provide-section .assessments-item .inner-frame {
    transform: rotate(-7deg) !important;
  }
}

@media (max-width: 390px) {
  .we-provide-section .assessments-item .assessments-image.service-image {
    max-width: min(340px, calc(100vw - 24px)) !important;
    padding: 8px 6px !important;
  }

  .we-provide-section .assessments-item .outer-frame {
    max-width: min(340px, 100%) !important;
    transform: rotate(-6deg) !important;
  }

  .we-provide-section .assessments-item .inner-frame {
    transform: rotate(-6deg) !important;
  }
}

/* ============== SERVICES PAGE PSYCHOTHERAPY CARD RESPONSIVE ============== */
/* Mirrors approved Counselling/Assessments/Support pattern.
   ≤1024px: reorder DOM via grid order — content (1) → image (5) → additional list (6).
   >1024px desktop: unchanged 2-column [image][text] + full-width list row. */

@media (max-width: 1024px) {
  .we-provide-section .psychotherapy-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    align-items: stretch !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    max-width: 100% !important;
    min-height: 0 !important;
    background: #12A89C !important;
    border: none !important;
    gap: clamp(16px, 3vw, 28px) !important;
    padding: clamp(24px, 4vw, 36px) clamp(18px, 4vw, 28px) !important;
    border-radius: clamp(20px, 4vw, 48px) !important;
    box-shadow: none !important;
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: left !important;
    position: relative !important;
  }

  .we-provide-section .psychotherapy-item .service-content {
    order: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .we-provide-section .psychotherapy-item .service-title {
    margin-bottom: clamp(10px, 2vw, 14px) !important;
  }

  .we-provide-section .psychotherapy-item .service-content p {
    margin-bottom: clamp(10px, 2.2vw, 16px) !important;
  }

  .we-provide-section .psychotherapy-item .service-content p:last-of-type {
    margin-bottom: 0 !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-image.service-image {
    order: 5 !important;
    width: 100% !important;
    max-width: min(500px, calc(100vw - 56px)) !important;
    min-height: 0 !important;
    margin: clamp(8px, 2vw, 14px) auto 0 !important;
    padding: clamp(10px, 2vw, 18px) !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-additional-list {
    order: 6 !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: clamp(8px, 2vw, 12px) auto 0 !important;
    padding: 0 clamp(8px, 2vw, 16px) !important;
    text-align: left !important;
    list-style: none !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-additional-list li {
    font-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.1rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
  }

  .we-provide-section .psychotherapy-item .outer-frame {
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    aspect-ratio: 500 / 350 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transform: rotate(-8.88deg) !important;
    transform-origin: center center !important;
    background: #DDDDDD !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: visible !important;
    flex-shrink: 1;
    min-width: 0;
  }

  .we-provide-section .psychotherapy-item .inner-frame {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 92% !important;
    height: 92% !important;
    max-width: none !important;
    padding-bottom: 0 !important;
    transform: rotate(-8.88deg) !important;
    transform-origin: center center !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-image .service-img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .we-provide-section .psychotherapy-item {
    overflow: hidden !important;
  }

  .we-provide-section .psychotherapy-item::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
    transition: left 0.6s !important;
    z-index: 1 !important;
    pointer-events: none !important;
    border-radius: inherit;
  }

  .we-provide-section .psychotherapy-item:hover::before,
  .we-provide-section .psychotherapy-item:target::before,
  .we-provide-section .psychotherapy-item:active::before {
    left: 100% !important;
  }

  .we-provide-section .psychotherapy-item:hover,
  .we-provide-section .psychotherapy-item:target {
    transform: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
  }

  .we-provide-section .psychotherapy-item:active {
    transform: none !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18) !important;
  }

  .we-provide-section .psychotherapy-item:hover .service-content h3,
  .we-provide-section .psychotherapy-item:hover .service-title,
  .we-provide-section .psychotherapy-item:active .service-content h3,
  .we-provide-section .psychotherapy-item:active .service-title,
  .we-provide-section .psychotherapy-item:target .service-content h3,
  .we-provide-section .psychotherapy-item:target .service-title {
    transform: translateY(-2px) !important;
  }

  .we-provide-section .psychotherapy-item:hover .psychotherapy-image .service-img,
  .we-provide-section .psychotherapy-item:target .psychotherapy-image .service-img,
  .we-provide-section .psychotherapy-item:active .psychotherapy-image .service-img {
    transform: none !important;
    box-shadow: none !important;
  }

  .we-provide-section .psychotherapy-item:hover .outer-frame,
  .we-provide-section .psychotherapy-item:target .outer-frame {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
  }

  .we-provide-section .psychotherapy-item:active .outer-frame {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22) !important;
  }
}

@media (max-width: 768px) {
  .we-provide-section .psychotherapy-item {
    gap: clamp(12px, 2.5vw, 20px) !important;
    padding: 24px 16px !important;
  }

  .we-provide-section .psychotherapy-item .service-title {
    font-size: clamp(1.75rem, 1.4rem + 2vw, 2.5rem) !important;
  }

  .we-provide-section .psychotherapy-item .service-content p,
  .we-provide-section .psychotherapy-item .psychotherapy-additional-list li {
    font-size: clamp(0.88rem, 0.85rem + 0.3vw, 1rem) !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-image.service-image {
    padding: clamp(8px, 1.5vw, 14px) !important;
  }

  .we-provide-section .psychotherapy-item .outer-frame {
    max-width: 100% !important;
  }
}

@media (max-width: 1024px) and (min-width: 481px) {
  .we-provide-section .psychotherapy-item .service-content {
    margin-bottom: clamp(4px, 1vw, 8px) !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-image.service-image {
    margin-top: clamp(16px, 3vw, 24px) !important;
    margin-bottom: clamp(24px, 4vw, 36px) !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-additional-list {
    margin-top: clamp(8px, 1.5vw, 12px) !important;
  }
}

@media (max-width: 480px) {
  .we-provide-section .psychotherapy-item {
    gap: 16px !important;
    padding: 22px 14px 28px !important;
    text-align: center !important;
  }

  .we-provide-section .psychotherapy-item .service-content {
    text-align: center !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-additional-list {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
    max-width: 520px !important;
    /* Fix #4: keep last bullet clear of fixed WhatsApp (right) + go-to-top (bottom) */
    padding-right: clamp(52px, 14vw, 64px) !important;
    padding-bottom: clamp(48px, 12vw, 60px) !important;
    box-sizing: border-box !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-image.service-image {
    max-width: min(400px, calc(100vw - 32px)) !important;
    padding: clamp(10px, 2.5vw, 16px) !important;
  }

  .we-provide-section .psychotherapy-item .outer-frame {
    max-width: min(400px, 100%) !important;
    transform: rotate(-7deg) !important;
  }

  .we-provide-section .psychotherapy-item .inner-frame {
    transform: rotate(-7deg) !important;
  }
}

@media (max-width: 390px) {
  .we-provide-section .psychotherapy-item .psychotherapy-additional-list {
    padding-right: clamp(56px, 15vw, 68px) !important;
    padding-bottom: clamp(52px, 13vw, 64px) !important;
  }

  .we-provide-section .psychotherapy-item .psychotherapy-image.service-image {
    max-width: min(340px, calc(100vw - 24px)) !important;
    padding: 8px 6px !important;
  }

  .we-provide-section .psychotherapy-item .outer-frame {
    max-width: min(340px, 100%) !important;
    transform: rotate(-6deg) !important;
  }

  .we-provide-section .psychotherapy-item .inner-frame {
    transform: rotate(-6deg) !important;
  }
}

/* ============== WE PROVIDE TABLET TITLE ALIGNMENT ============== */
/* Tablet only (481–1024px): left-align section title to match card content inset.
   Mismatch cause: .we-provide-title text-align:center (458–464) vs
   .service-item horizontal padding (3347 / counselling 3575) + text-align:left (5067). */
@media (max-width: 1024px) and (min-width: 481px) {
  .we-provide-section .we-provide-title {
    text-align: left !important;
    padding-left: clamp(18px, 4vw, 28px) !important;
    padding-right: clamp(18px, 4vw, 28px) !important;
  }

  .we-provide-section .service-item .service-title {
    text-align: left !important;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .we-provide-section .we-provide-title {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ============== SERVICES PAGE OUR THERAPISTS AREA RESPONSIVE ============== */
/* Book Appointment + Our Therapists + Contact Buttons (bottom of services.php).
   Overrides legacy 1187, 1267–1300, 2474–2495, 2022–2166 spacing on tablet/mobile only. */

@media (max-width: 1024px) {
  .book-appointment-section {
    padding: clamp(48px, 7vw, 64px) 0 clamp(36px, 5vw, 48px) !important;
  }

  .book-appointment-container {
    padding: 0 clamp(16px, 4vw, 24px) !important;
  }

  .book-appointment-container p {
    margin-bottom: clamp(20px, 3.5vw, 28px) !important;
    font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2rem) !important;
    line-height: 1.5 !important;
  }

  .book-appointment-container .book-now-btn {
    padding: clamp(14px, 2.5vw, 18px) clamp(32px, 6vw, 44px) !important;
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem) !important;
  }

  .our-therapists-section {
    padding: clamp(40px, 6vw, 56px) 0 clamp(28px, 4vw, 40px) !important;
    border-radius: clamp(32px, 5vw, 56px) clamp(32px, 5vw, 56px) 0 0 !important;
    overflow-x: clip !important;
  }

  .our-therapists-container {
    padding: 0 clamp(16px, 4vw, 24px) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .our-therapists-container h2,
  .our-therapists-section .section-title {
    margin-bottom: clamp(20px, 3.5vw, 32px) !important;
    font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem) !important;
    line-height: 1.15 !important;
  }

  .our-therapists-section .therapists-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(16px, 3vw, 24px) !important;
    max-width: min(520px, 100%) !important;
    width: 100% !important;
    margin: 0 auto !important;
    justify-items: center !important;
    box-sizing: border-box !important;
  }

  .our-therapists-section .therapist-card {
    max-width: min(220px, 100%) !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .our-therapists-section .therapist-image {
    width: clamp(108px, 20vw, 130px) !important;
    height: clamp(108px, 20vw, 130px) !important;
    margin: 0 auto clamp(10px, 2vw, 14px) !important;
  }

  .our-therapists-section .therapist-name {
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem) !important;
    margin-bottom: 4px !important;
    line-height: 1.35 !important;
  }

  .our-therapists-section .therapist-title {
    font-size: clamp(0.85rem, 0.82rem + 0.25vw, 0.95rem) !important;
    line-height: 1.4 !important;
  }

  .our-therapists-section .therapist-book-btn {
    margin-top: clamp(8px, 2vw, 12px) !important;
    padding: clamp(10px, 2vw, 12px) clamp(14px, 3vw, 18px) !important;
    font-size: clamp(0.82rem, 0.8rem + 0.2vw, 0.9rem) !important;
    width: 100%;
    max-width: 200px;
  }

  .contact-buttons-section {
    padding: clamp(28px, 4.5vw, 40px) 0 clamp(36px, 6vw, 52px) !important;
  }

  .contact-buttons-container {
    gap: clamp(14px, 2.5vw, 20px) !important;
    padding: 0 clamp(16px, 4vw, 24px) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-buttons-section .contact-text p {
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem) !important;
    line-height: 1.5 !important;
  }

  .contact-buttons-section .contact-buttons {
    gap: clamp(12px, 2.5vw, 16px) !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .contact-buttons-section .phone-button,
  .contact-buttons-section .booking-button {
    padding: clamp(12px, 2.2vw, 14px) clamp(20px, 4vw, 28px) !important;
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem) !important;
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-buttons-section .contact-text-middle {
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem) !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .our-therapists-section .therapists-grid {
    max-width: min(480px, calc(100vw - 32px)) !important;
    gap: clamp(14px, 2.5vw, 20px) !important;
  }

  .our-therapists-section .therapist-image {
    width: clamp(100px, 18vw, 120px) !important;
    height: clamp(100px, 18vw, 120px) !important;
  }

  /* Fix #3: clearance above fixed go-to-top + softer footer transition (tablet portrait + phones) */
  .contact-buttons-section {
    padding-bottom: clamp(56px, 10vw, 80px) !important;
  }
}

@media (max-width: 480px) {
  .book-appointment-section {
    padding: clamp(36px, 8vw, 44px) 0 clamp(28px, 5vw, 36px) !important;
  }

  .our-therapists-section {
    padding: clamp(32px, 7vw, 40px) 0 clamp(24px, 4vw, 32px) !important;
    border-radius: clamp(24px, 5vw, 32px) clamp(24px, 5vw, 32px) 0 0 !important;
  }

  .our-therapists-container h2,
  .our-therapists-section .section-title {
    margin-bottom: clamp(16px, 3vw, 24px) !important;
    font-size: clamp(1.75rem, 1.5rem + 2vw, 2.25rem) !important;
  }

  .our-therapists-section .therapists-grid {
    grid-template-columns: 1fr !important;
    gap: clamp(20px, 4.5vw, 28px) !important;
    max-width: min(320px, calc(100vw - 32px)) !important;
  }

  .our-therapists-section .therapist-card {
    max-width: min(260px, 100%) !important;
  }

  .our-therapists-section .therapist-image {
    width: clamp(96px, 26vw, 112px) !important;
    height: clamp(96px, 26vw, 112px) !important;
  }

  .contact-buttons-section {
    padding: clamp(24px, 5vw, 32px) 0 clamp(72px, 16vw, 96px) !important;
  }
}

@media (max-width: 390px) {
  .our-therapists-section .therapists-grid {
    max-width: min(300px, calc(100vw - 24px)) !important;
  }

  .book-appointment-container .book-now-btn {
    width: 100% !important;
    max-width: 280px !important;
  }
}

/* ============== WE PROVIDE SERVICE READ MORE BUTTON LAYOUT ============== */
.we-provide-section .counselling-item .service-read-more-wrap,
.we-provide-section .psychotherapy-item .service-read-more-wrap,
.we-provide-section .assessments-item .service-read-more-wrap {
  display: block;
  width: 100%;
  clear: both;
  margin: 16px 0 28px;
  text-align: left;
}

.we-provide-section .service-read-more-wrap .read-more-btn {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 44px;
  line-height: 1.2;
}

@media (min-width: 1025px) {
  .we-provide-section .counselling-item .service-read-more-wrap,
  .we-provide-section .psychotherapy-item .service-read-more-wrap,
  .we-provide-section .assessments-item .service-read-more-wrap {
    margin: 12px 0 32px;
  }
}

@media (max-width: 1024px) {
  .we-provide-section .counselling-item .service-read-more-wrap,
  .we-provide-section .psychotherapy-item .service-read-more-wrap,
  .we-provide-section .assessments-item .service-read-more-wrap {
    margin: 14px 0 22px;
    text-align: center;
  }

  .we-provide-section .service-read-more-wrap .read-more-btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .we-provide-section .service-read-more-wrap .read-more-btn {
    max-width: 100%;
    padding: 14px 24px !important;
  }
}

/* ============== FIRST 3 WE PROVIDE CARDS: LAYOUT ============== */
/* Desktop (≥1025px): two-column alternating layouts via modifier classes.
   Tablet/mobile (≤1024px): stacked title → image → description → READ MORE. */

.we-provide-section .counselling-item > .service-title,
.we-provide-section .psychotherapy-item > .service-title,
.we-provide-section .assessments-item > .service-title {
  font-family: 'Zeyada', cursive;
  line-height: 1.2;
  width: 100%;
}

.we-provide-section .counselling-item .service-content,
.we-provide-section .psychotherapy-item .service-content,
.we-provide-section .assessments-item .service-content {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 1024px) {
  .we-provide-section .counselling-item,
  .we-provide-section .psychotherapy-item,
  .we-provide-section .assessments-item {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
  }

  .we-provide-section .counselling-item > .service-title,
  .we-provide-section .psychotherapy-item > .service-title,
  .we-provide-section .assessments-item > .service-title {
    order: 1 !important;
  }

  .we-provide-section .counselling-item > .service-image.counselling-image,
  .we-provide-section .psychotherapy-item > .service-image.psychotherapy-image,
  .we-provide-section .assessments-item > .service-image.assessments-image,
  .we-provide-section .counselling-item .counselling-image.service-image,
  .we-provide-section .psychotherapy-item .psychotherapy-image.service-image,
  .we-provide-section .assessments-item .assessments-image.service-image {
    order: 2 !important;
  }

  .we-provide-section .counselling-item > .service-content,
  .we-provide-section .psychotherapy-item > .service-content,
  .we-provide-section .assessments-item > .service-content {
    order: 3 !important;
  }

  .we-provide-section .counselling-item .service-content > *,
  .we-provide-section .psychotherapy-item .service-content > *,
  .we-provide-section .assessments-item .service-content > *,
  .we-provide-section .counselling-item .service-content p,
  .we-provide-section .psychotherapy-item .service-content p,
  .we-provide-section .assessments-item .service-content p,
  .we-provide-section .counselling-item .service-content p:last-of-type,
  .we-provide-section .assessments-item .service-content p:last-of-type,
  .we-provide-section .psychotherapy-item .service-content p:last-of-type,
  .we-provide-section .counselling-item .service-read-more-wrap,
  .we-provide-section .psychotherapy-item .service-read-more-wrap,
  .we-provide-section .assessments-item .service-read-more-wrap {
    order: unset !important;
  }

  .we-provide-section .counselling-item > .service-image,
  .we-provide-section .psychotherapy-item > .service-image,
  .we-provide-section .assessments-item > .service-image {
    align-self: center;
    width: 100%;
  }
}

@media (min-width: 1025px) {
  .we-provide-section .service-card--content-left,
  .we-provide-section .service-card--image-left {
    display: grid !important;
    grid-template-columns: 1.5fr 1.5fr !important;
    grid-template-rows: auto auto !important;
    gap: 32px !important;
    align-items: center !important;
  }

  .we-provide-section .service-card--content-left > .service-title,
  .we-provide-section .service-card--image-left > .service-title,
  .we-provide-section .service-card--content-left > .service-content,
  .we-provide-section .service-card--image-left > .service-content,
  .we-provide-section .service-card--content-left > .service-image,
  .we-provide-section .service-card--image-left > .service-image,
  .we-provide-section .counselling-item .counselling-image.service-image,
  .we-provide-section .psychotherapy-item .psychotherapy-image.service-image,
  .we-provide-section .assessments-item .assessments-image.service-image {
    order: unset !important;
  }

  .we-provide-section .service-card--content-left > .service-title {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .we-provide-section .service-card--content-left > .service-content {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: start !important;
  }

  .we-provide-section .service-card--content-left > .service-image {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    justify-self: center !important;
    width: 100% !important;
  }

  .we-provide-section .service-card--image-left > .service-image {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    justify-self: center !important;
    width: 100% !important;
  }

  .we-provide-section .service-card--image-left > .service-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .we-provide-section .service-card--image-left > .service-content {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
  }
}

/*
 * Mental Health right photo only (img/6.png is 780×1160 portrait).
 * Crop it to the same 3:2 box as the landscape left photo.
 */
@media (min-width: 1025px) {
  .mental-health-section .mental-health-image-right {
    height: auto;
  }

  .mental-health-image-right .mental-health-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4096 / 2732;
    object-fit: cover;
    object-position: center;
  }
}

/*
 * Mental Illness photo replaces the facial vector.
 * Keep the vector's displayed box (239×383) and existing section gaps.
 */
.mental-illness-section .mental-illness-img {
  width: 239px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 239 / 383;
  object-fit: cover !important;
  object-position: center;
  border-radius: 28px;
}
