/**
* Template Name: Folio
* Template URL: https://bootstrapmade.com/folio-bootstrap-portfolio-template/
* Updated: Aug 08 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
* Performance & Accessibility Optimizations Applied
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts - Premium Typography System */
:root {
  --default-font: "Source Sans Pro", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Playfair Display", "Lato", serif;
  --nav-font: "Source Sans Pro", "Inter", sans-serif;
  
  /* Performance-optimized transitions */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.25s ease-out;
  --transition-slow: 0.35s ease-out;
  
  /* Focus indicators for accessibility */
  --focus-width: 2px;
  --focus-color: var(--accent-color);
  --focus-offset: 2px;
}

/* Global Colors - Calming Serenity Theme (Option A) */
:root {
  --background-color: #FAF7F5; /* Soft Ivory - warm and inviting */
  --default-color: #2C4251; /* Deep Blue-Gray - professional and calming */
  --heading-color: #4A90A4; /* Calming Teal - trustworthy and serene */
  --accent-color: #4A90A4; /* Calming Teal - growth and healing */
  --secondary-color: #E8B4B8; /* Dusty Rose - gentle and compassionate */
  --tertiary-color: #E8B4B8; /* Dusty Rose - warmth and empathy */
  --earth-brown: #9FA8A3; /* Soft Gray-Green - grounding */
  --warm-cream: #F4D8CD; /* Warm Peach - comfort and safety */
  --sage-dark: #2C4251; /* Deep Blue-Gray - depth and wisdom */
  --surface-color: #ffffff; /* Pure white for cards */
  --contrast-color: #ffffff; /* White contrast */
  --light-teal: rgba(74, 144, 164, 0.1); /* Very subtle teal */
  --light-rose: rgba(232, 180, 184, 0.1); /* Very subtle rose */
  --light-peach: rgba(244, 216, 205, 0.15); /* Subtle peach tint */
  --light-gray: rgba(44, 66, 81, 0.05); /* Subtle gray tint */

  /* Enhanced Shadow System */
  --shadow-sm: 0 2px 6px rgba(44, 66, 81, 0.08);
  --shadow-md: 0 6px 16px rgba(44, 66, 81, 0.12);
  --shadow-lg: 0 12px 32px rgba(44, 66, 81, 0.15);
  --shadow-xl: 0 20px 56px rgba(44, 66, 81, 0.18);
  --shadow-2xl: 0 30px 80px rgba(44, 66, 81, 0.22);

  /* Smooth Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.6);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #898989; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #b8a07e; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f3f1f0;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #858484;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #9e9e9e;
  --contrast-color: #ffffff;
}

/* Smooth scroll with accessibility consideration */
:root {
  scroll-behavior: smooth;
}

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* Scroll Progress Bar */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--tertiary-color), var(--accent-color));
  z-index: 10000;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 8px rgba(216, 140, 117, 0.3);
}

html {
  -webkit-tap-highlight-color: rgba(216, 140, 117, 0.2);
}

/* Smooth scrolling for iOS */
@supports (-webkit-overflow-scrolling: touch) {
  html {
    -webkit-overflow-scrolling: touch;
  }
}

/* Floating Gradient Orbs - Background Depth */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.orb-coral {
  background: radial-gradient(circle, rgba(216, 140, 117, 0.15), transparent 70%);
  filter: blur(60px);
}

.orb-sage {
  background: radial-gradient(circle, rgba(124, 154, 146, 0.12), transparent 70%);
  filter: blur(60px);
}

.orb-blue {
  background: radial-gradient(circle, rgba(165, 200, 225, 0.12), transparent 70%);
  filter: blur(60px);
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  line-height: 1.7;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-normal);
  position: relative;
}

a:hover,
a:focus {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
  outline: none;
}

a:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
  border-radius: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

h1 {
  font-size: 2.5rem;
  font-weight: 400;
}

h2 {
  font-size: 2rem;
  font-weight: 400;
}

h3 {
  font-size: 1.75rem;
  font-weight: 400;
}

h4 {
  font-size: 1.5rem;
  font-weight: 400;
}

h5 {
  font-size: 1.25rem;
  font-weight: 400;
}

h6 {
  font-size: 1rem;
  font-weight: 400;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 4px;
  border-left: 4px solid #b91c1c;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 4px;
  border-left: 4px solid #047857;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(82, 78, 68, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 4px;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus {
    color: var(--nav-hover-color);
    outline: var(--focus-width) solid var(--focus-color);
    outline-offset: var(--focus-offset);
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15px;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

/* Override for custom social media placeholders */
.footer .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Custom social icon styling */
.social-icon {
  color: var(--accent-color) !important;
  font-size: 1.5rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  margin: 0 8px !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  border-radius: 0 !important;
}

.social-icon:hover {
  color: var(--tertiary-color) !important;
  background: none !important;
  transform: translateY(-2px);
}

/* Attribution link styling */
.attribution-link {
  color: #6f42c1 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

.attribution-link:hover {
  color: #5a2d91 !important;
  text-decoration: none !important;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--tertiary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(216, 140, 117, 0.3);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover,
.scroll-top:focus {
  background: var(--tertiary-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(216, 140, 117, 0.5);
}

.scroll-top:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }

  /* Enhanced Touch Feedback - More responsive */
  .specialty-card:active,
  .service-item:active {
    transform: scale(0.97);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-buttons .btn:active,
  .btn:active {
    transform: scale(0.95);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .btn-primary:active {
    box-shadow: 0 2px 8px rgba(216, 140, 117, 0.4);
  }

  /* Mobile Typography Enhancement */
  body {
    line-height: 1.8;
  }

  .section-title h2 {
    font-size: 32px;
    letter-spacing: 0.02em;
  }

  .section-title h2::after {
    width: 100px;
    height: 4px;
  }

  h3 {
    letter-spacing: 0.01em;
  }

  p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
  }

  /* Mobile Card Redesign - More vibrant and spacious */
  .specialty-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #D88C75, #7C9A92) 1;
    box-shadow: 0 8px 24px rgba(216, 140, 117, 0.12);
  }

  .specialty-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(216, 140, 117, 0.2), rgba(124, 154, 146, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .specialty-icon i {
    font-size: 2.5rem;
    color: var(--tertiary-color);
  }

  /* Better touch targets */
  .btn {
    min-height: 48px;
    font-size: 16px;
  }

  /* Mobile-optimized spacing */
  .specialty-card {
    margin-bottom: 1.5rem;
  }

  /* Service/Therapy cards mobile enhancement */
  .service-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-left: 3px solid rgba(216, 140, 117, 0.3);
  }

  .service-item .icon i {
    font-size: 2.5rem;
  }

  /* Mobile icon tap animation */
  .specialty-card:active .specialty-icon i,
  .service-item:active .icon i {
    transform: rotate(8deg) scale(1.1);
  }

  /* Mobile Stats Cards */
  .stats-card {
    margin-bottom: 2rem;
  }

  .stats-number {
    font-size: 2.5rem;
  }

  .stats-icon {
    width: 70px;
    height: 70px;
  }

  .stats-icon i {
    font-size: 2rem;
  }

  .stats-card:active {
    transform: scale(0.98);
  }

  /* Simplify orbs on mobile for performance */
  .floating-orb {
    width: 200px !important;
    height: 200px !important;
    filter: blur(30px) !important;
  }
  
  /* Disable heavy effects on mobile */
  .hero-particles,
  .breathing-circle {
    display: none;
  }

}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Disable parallax and fixed backgrounds for reduced motion */
  .hero-psychology {
    background-attachment: scroll;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
  position: relative;
}

/* Alternating Section Backgrounds for Visual Depth */
section:nth-of-type(even) {
  background-color: var(--surface-color);
}

/* Specific Section Styling with Subtle Tints */
#about {
  background: linear-gradient(180deg, var(--background-color) 0%, rgba(249, 247, 244, 0.7) 100%);
}

#services {
  background: rgba(216, 140, 117, 0.03);
}

#specialties {
  background: var(--surface-color);
}

#contact {
  background: linear-gradient(180deg, var(--surface-color) 0%, var(--background-color) 100%);
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 56px;
  }
}

/*--------------------------------------------------------------
# Online Therapy Benefits Section
--------------------------------------------------------------*/
.online-therapy-benefits {
  background: linear-gradient(135deg, rgba(74, 144, 164, 0.05) 0%, rgba(216, 140, 117, 0.08) 100%);
  border: 1px solid rgba(74, 144, 164, 0.1);
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.online-therapy-benefits:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 164, 0.15);
}

.online-therapy-benefits h3 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.online-therapy-benefits h5 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.online-therapy-benefits p {
  color: var(--default-color);
  margin-bottom: 0;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  color: var(--tertiary-color);
}

.section-title h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--tertiary-color);
  margin: 15px auto;
  border-radius: 3px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 80%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .profile-img {
  border: none;
  padding: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about .profile-img::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.about .profile-img img {
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  height: auto;
  /* Use natural image aspect ratio so the rounded border matches */
  border: 2px solid var(--accent-color);
  box-shadow: 0 10px 40px rgba(74, 144, 164, 0.3);
  position: relative;
  z-index: 1;
}

/* Performance optimization for all images: use HTML attributes instead
   Example: <img loading="lazy" decoding="async" ...> */

.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--tertiary-color);
}

.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

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

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
  height: 100%;
  margin-bottom: 30px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 144, 164, 0.15);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  will-change: transform, box-shadow;
}

.services .service-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--accent-color);
}

.services .service-item .icon {
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 48px;
  line-height: 0;
  transition: all 0.4s ease;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(74, 144, 164, 0.2));
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
  transform: scale(1.2) translateY(-8px) rotate(-5deg);
  filter: drop-shadow(0 4px 8px rgba(74, 144, 164, 0.4));
}

.services .service-item .title {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 20px;
  transition: 0.3s;
}

.services .service-item .description {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 10px;
}

.services .service-item .readmore {
  display: flex;
  align-items: center;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: 0.3s;
  font-weight: 700;
  font-size: 14px;
}

.services .service-item .readmore i {
  margin-left: 8px;
}

.services .service-item:hover .title,
.services .service-item:hover .readmore,
.services .service-item:hover .icon i {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 144, 164, 0.15);
  padding: 40px;
  height: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing .pricing-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.95);
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  font-weight: 500;
}

.pricing .description {
  font-size: 14px;
}

.pricing .cta-btn {
  border: 1px solid var(--default-color);
  color: var(--default-color);
  display: block;
  text-align: center;
  padding: 10px 35px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  margin-top: 20px;
  margin-bottom: 6px;
}

.pricing .cta-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul li:last-child {
  padding-bottom: 0;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .featured {
  position: relative;
  background: rgba(74, 144, 164, 0.1);
  border: 2px solid var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.pricing .featured:hover {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-12px) scale(1.02);
}

.pricing .featured .popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 4px 15px 6px 15px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.pricing .featured .cta-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 144, 164, 0.15);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
}

.contact .info-wrap:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-color);
}

.contact .info-item {
  transition: var(--transition-normal);
  padding: 1rem;
  border-radius: 1rem;
}

.contact .info-item:hover,
.contact .info-item:focus-within {
  background: rgba(74, 144, 164, 0.05);
  transform: translateX(4px);
}

.contact .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(74, 144, 164, 0.1), rgba(232, 180, 184, 0.1));
  border: 1px solid rgba(74, 144, 164, 0.2);
  margin-right: 20px;
  box-shadow: var(--shadow-sm);
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--heading-color);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 15px;
  color: var(--default-color);
}

.contact .info-item:hover i {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  color: #ffffff;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--shadow-md);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  outline: var(--focus-width) solid var(--accent-color);
  outline-offset: var(--focus-offset);
  box-shadow: 0 0 0 3px rgba(74, 144, 164, 0.1);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: var(--transition-normal);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.contact .php-email-form button[type=submit]:hover,
.contact .php-email-form button[type=submit]:focus {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 164, 0.3);
}

.contact .php-email-form button[type=submit]:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Psychology Website Custom Styles - Heylotohealth Inspired
--------------------------------------------------------------*/

/* Hero Section for Psychology Practice */
.hero-psychology {
  background-image:
    linear-gradient(
      135deg,
      rgba(74, 144, 164, 0.12) 0%,
      rgba(232, 180, 184, 0.08) 50%,
      rgba(244, 216, 205, 0.12) 100%
    ),
    url('../img/zen-bg.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  will-change: transform;
}

.hero-psychology::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 247, 245, 0.25);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.hero-psychology .container {
  position: relative;
  z-index: 2;
}

/* Professional background elements */
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-pattern {
  position: absolute;
  border-radius: 50%;
  opacity: 0.04;
}

.bg-pattern-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.bg-pattern-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--earth-brown) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
}

.bg-decoration {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-color) 25%, var(--tertiary-color) 50%, var(--earth-brown) 75%, transparent 100%);
  opacity: 0.3;
}

.bg-decoration::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.6;
}

.bg-decoration::after {
  content: '';
  position: absolute;
  top: -1px;
  right: 10px;
  width: 4px;
  height: 4px;
  background: var(--tertiary-color);
  border-radius: 50%;
  opacity: 0.8;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
  font-size: 1.75rem;
  color: var(--accent-color);
  font-weight: 500;
  font-family: var(--heading-font);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.3);
}

.hero-credentials {
  font-size: 1.2rem;
  color: var(--default-color);
  font-weight: 400;
  font-family: var(--default-font);
  margin-bottom: 0;
  letter-spacing: 0.5px;
  text-shadow: none;
}

.accent-text {
  color: var(--accent-color);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--default-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: none;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--default-color);
  margin-bottom: 2rem;
  font-style: normal;
  opacity: 0.9;
  text-shadow: none;
}

/* Hero Credentials Styling */
.hero-credentials-wrapper {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
}

.credentials-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out;
}

.credentials-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.2) !important;
}

.credential-item {
  transition: all 0.3s ease;
}

.credential-item:hover {
  transform: translateX(5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.badge-experience {
  top: 2rem;
  right: -2rem;
  transform: rotate(3deg);
  animation-delay: 1s;
}

.badge-certified {
  bottom: 2rem;
  left: -2rem;
  transform: rotate(-3deg);
  animation-delay: 3s;
}

.badge-icon {
  background: var(--light-brown);
  padding: 0.5rem;
  border-radius: 0.75rem;
  color: var(--earth-brown);
  font-size: 1.25rem;
}

.badge-certified .badge-icon {
  background: var(--light-sage);
  color: var(--sage-dark);
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.badge-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tertiary-color);
  font-family: var(--heading-font);
}

.badge-label, .badge-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--default-color);
}

.badge-subtitle {
  font-size: 0.65rem;
  color: var(--default-color);
  opacity: 0.7;
}

.hero-contact {
  color: var(--default-color);
  font-size: 0.95rem;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.hero-buttons .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 2rem;
  font-family: var(--default-font);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
  width: 300px;
  height: 300px;
}


.hero-buttons .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--accent-color);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-outline-primary {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero-buttons .btn-outline-primary:hover {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 144, 164, 0.3);
}

/*--------------------------------------------------------------
# Enhanced Hero Section Elements
--------------------------------------------------------------*/

/* Glassmorphism Hero Card */
.hero-glass-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  text-align: center;
}

.hero-glass-card .hero-title {
  font-size: 4rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 0.75rem !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
  line-height: 1.1 !important;
}

.hero-glass-card .hero-subtitle {
  font-size: 2rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  margin-bottom: 1rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
  line-height: 1.3 !important;
}

.hero-glass-card .hero-tagline {
  font-size: 1.15rem !important;
  color: #ffffff !important;
  max-width: 600px;
  margin: 0 auto 2rem !important;
  line-height: 1.6;
  opacity: 0.95 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4) !important;
}

.hero-glass-card .hero-description {
  font-size: 1.1rem !important;
  color: #ffffff !important;
  max-width: 700px;
  margin: 0 auto 1.5rem !important;
  line-height: 1.5;
  opacity: 0.9 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4) !important;
}

/* Trust Badges */
.hero-trust-badges {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(74, 144, 164, 0.15);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.6);
}

.trust-badge i {
  font-size: 1.4rem;
  color: #ffffff;
}

.trust-badge:nth-child(1) i {
  color: var(--accent-color);
}

.trust-badge:nth-child(2) i {
  color: #4CAF50;
}

.trust-badge:nth-child(3) i {
  color: var(--secondary-color);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(74, 144, 164, 0.15);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  line-height: 1;
  font-family: var(--heading-font);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--default-color);
  opacity: 0.8;
  font-weight: 500;
}

/* Floating Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(74, 144, 164, 0.25);
  border-radius: 50%;
  animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 12s;
  width: 8px;
  height: 8px;
}

.particle:nth-child(2) {
  left: 70%;
  top: 40%;
  animation-delay: 3s;
  animation-duration: 18s;
  width: 12px;
  height: 12px;
}

.particle:nth-child(3) {
  left: 30%;
  top: 60%;
  animation-delay: 6s;
  animation-duration: 15s;
  background: rgba(232, 180, 184, 0.3);
  width: 10px;
  height: 10px;
}

.particle:nth-child(4) {
  left: 85%;
  top: 70%;
  animation-delay: 9s;
  animation-duration: 20s;
  width: 8px;
  height: 8px;
}

.particle:nth-child(5) {
  left: 50%;
  top: 30%;
  animation-delay: 12s;
  animation-duration: 16s;
  background: rgba(244, 216, 205, 0.35);
  width: 14px;
  height: 14px;
}

@keyframes float-particle {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  50% {
    transform: translateY(-80px) translateX(40px);
    opacity: 0.7;
  }
  90% {
    opacity: 0.3;
  }
}

/* Breathing Circle Animation */
.breathing-circle {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 144, 164, 0.15), transparent 70%);
  animation: breathe 6s infinite ease-in-out;
  z-index: 1;
}

.circle-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 180, 184, 0.2), transparent 70%);
  animation: breathe-inner 6s infinite ease-in-out;
}

@keyframes breathe {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-50%) scale(1.3);
    opacity: 0.7;
  }
}

@keyframes breathe-inner {
  0%, 100% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Specialty Cards - Modern Glassmorphism Style */
.specialty-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 144, 164, 0.15);
  transition: var(--transition-normal);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  will-change: transform, box-shadow;
}

.specialty-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(74, 144, 164, 0.15), rgba(232, 180, 184, 0.15));
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.specialty-icon i {
  font-size: 2rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(216, 140, 117, 0.1), transparent);
  transition: left 0.5s ease;
}

.specialty-card:hover::before {
  left: 100%;
}

.specialty-card:hover,
.specialty-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.98);
}

.specialty-icon i {
  transition: all 0.3s ease;
}

.specialty-card:hover .specialty-icon {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) rotate(-5deg);
}

.specialty-card:hover .specialty-icon i {
  color: #ffffff;
  transform: scale(1.2) rotate(5deg);
}

/* Icon animations on scroll */
[data-aos="icon-bounce"] .specialty-icon i,
[data-aos="icon-bounce"] .service-item .icon i {
  animation: iconBounce 0.8s ease-out;
}

@keyframes iconBounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
  65% { transform: translateY(-5px); }
  80% { transform: translateY(0); }
  100% { transform: translateY(0); }
}

.specialty-card h4 {
  color: var(--heading-color);
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, rgba(216, 140, 117, 0.05), rgba(124, 154, 146, 0.05));
  padding: 4rem 0;
}

.stats-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 144, 164, 0.15);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tertiary-color), var(--accent-color));
}

.stats-card-coral::before {
  background: linear-gradient(90deg, var(--secondary-color), #D9959A);
}

.stats-card-sage::before {
  background: linear-gradient(90deg, var(--accent-color), #5EADC1);
}

.stats-card-blue::before {
  background: linear-gradient(90deg, var(--warm-cream), #F5C3B3);
}

.stats-card:hover,
.stats-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--accent-color);
}

.stats-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stats-card-coral .stats-icon {
  background: linear-gradient(135deg, rgba(232, 180, 184, 0.2), rgba(232, 180, 184, 0.3));
}

.stats-card-sage .stats-icon {
  background: linear-gradient(135deg, rgba(74, 144, 164, 0.2), rgba(74, 144, 164, 0.3));
}

.stats-card-blue .stats-icon {
  background: linear-gradient(135deg, rgba(244, 216, 205, 0.2), rgba(244, 216, 205, 0.3));
}

.stats-icon i {
  font-size: 2.5rem;
}

.stats-card-coral .stats-icon i {
  color: var(--secondary-color);
}

.stats-card-sage .stats-icon i {
  color: var(--accent-color);
}

.stats-card-blue .stats-icon i {
  color: #C89A84;
}

.stats-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stats-card-coral .stats-number {
  color: var(--secondary-color);
}

.stats-card-sage .stats-number {
  color: var(--accent-color);
}

.stats-card-blue .stats-number {
  color: #C89A84;
}

.stats-number::after {
  content: '+';
  font-size: 2rem;
  margin-left: 0.25rem;
  opacity: 0.8;
}

.stats-label {
  font-size: 1.1rem;
  color: var(--default-color);
  margin: 0;
  font-weight: 500;
}

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

.specialty-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--default-color);
}

/* Therapy Introduction Section */
.therapy-intro {
  background: linear-gradient(135deg, var(--light-brown) 0%, var(--warm-cream) 50%, #ffffff 100%);
  border-left: 4px solid var(--earth-brown);
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(139, 115, 85, 0.08);
}

/* Training Lists - Heylotohealth Style */
.training-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.training-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(124, 154, 146, 0.1);
  display: flex;
  align-items: center;
}

.training-list li:last-child {
  border-bottom: none;
}

.training-list i {
  color: var(--earth-brown);
  margin-right: 12px;
  font-size: 1.1rem;
}

/* Booking CTA - Heylotohealth Style */
.booking-cta {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  border: none;
  border-radius: 1.5rem;
}

.booking-cta h3 {
  color: #ffffff !important;
}

.cta-therapy {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  border: none;
  border-radius: 1.5rem;
}

.cta-therapy h3 {
  color: #ffffff !important;
}

.publications-section h3 {
  color: #ffffff !important;
}

.publications-section h5 {
  color: #ffffff !important;
}

/* Emergency Notice */
.emergency-notice {
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%) !important;
  color: #2c3e50 !important;
  border: 2px solid #e67e22;
}

/* Cal.com Booking Section */
.cal-booking-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 144, 164, 0.15);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
}

.cal-booking-section:hover {
  box-shadow: var(--shadow-2xl);
  border-color: var(--accent-color);
}

#my-cal-inline-50mins {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Mobile optimization for Cal.com */
@media (max-width: 768px) {
  .cal-booking-section {
    padding: 1.5rem 1rem;
  }

  #my-cal-inline-50mins {
    height: 600px !important;
  }
  
  /* Disable hover effects on mobile for better performance */
  .specialty-card:hover,
  .stats-card:hover,
  .service-item:hover,
  .glass-card:hover {
    transform: none;
  }
  
  /* Reduce backdrop-filter on mobile */
  .specialty-card,
  .stats-card,
  .service-item,
  .glass-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.95);
  }
}

/* Contact Form Enhancements */
.contact-form-section .form-control {
  border-radius: 8px;
  border: 2px solid #e8e8e8;
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

.contact-form-section .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Footer Enhancements */
.footer .sitename {
  color: var(--accent-color);
  font-weight: 700;
}

.footer-info a {
  color: var(--accent-color);
  transition: var(--transition-normal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-info a:hover,
.footer-info a:focus {
  color: var(--secondary-color);
  text-decoration-thickness: 2px;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible for better keyboard navigation */
*:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

/* Desktop and Large Screens - Credentials styling */
@media (min-width: 769px) {
  .credentials-card {
    max-width: 450px !important;
  }

  .credential-item {
    padding: 1.2rem !important;
  }
}

/* Responsive Design - Consolidated */
/* Desktop Enhancements */
@media (min-width: 1024px) {
  /* More prominent orbs on desktop */
  .floating-orb {
    filter: blur(80px);
  }

  /* Enhanced hover states for cards */
  .specialty-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 70px -12px rgba(216, 140, 117, 0.25);
  }

  .stats-card:hover {
    transform: translateY(-12px) scale(1.05);
  }

  /* Frosted glass effect on hover */
  .specialty-card:hover,
  .stats-card:hover {
    backdrop-filter: blur(10px);
  }

  /* Better icon animations on desktop */
  .specialty-card:hover .specialty-icon i {
    transform: scale(1.2) rotate(8deg);
  }

  /* Desktop section title */
  .section-title h2 {
    font-size: 36px;
  }

  .section-title h2::after {
    width: 120px;
    height: 4px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 0.5px;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-credentials {
    font-size: 1.1rem;
  }

  .hero-buttons {
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: auto;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(124, 154, 146, 0.2);
  }

  .hero-buttons .btn:active {
    box-shadow: 0 2px 6px rgba(124, 154, 146, 0.3);
  }

  /* Mobile card polish */
  .info-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
  }

  /* Enhanced mobile CTA */
  .booking-cta {
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(124, 154, 146, 0.15);
  }

  .cta-therapy {
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(124, 154, 146, 0.15);
  }

  .credentials-card {
    max-width: 350px !important;
    margin: 0 auto !important;
  }

  .credential-item {
    padding: 0.8rem !important;
  }

  .specialty-card {
    margin-bottom: 20px;
  }

  .hero-psychology {
    padding: 6rem 0 4rem;
    min-height: auto;
  }

  .hero-glass-card {
    padding: 2.5rem 2rem;
  }

  .hero-glass-card .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-glass-card .hero-subtitle {
    font-size: 1.5rem !important;
  }

  .hero-glass-card .hero-tagline {
    font-size: 1rem !important;
  }

  .hero-glass-card .hero-description {
    font-size: 1rem !important;
  }

  .hero-trust-badges {
    gap: 1.5rem;
  }

  .trust-badge {
    font-size: 0.85rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .breathing-circle {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .hero-psychology {
    padding: 5rem 0 3rem;
    background-attachment: scroll;
  }

  .hero-glass-card {
    padding: 2rem 1.5rem;
  }

  .hero-glass-card .hero-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  .hero-glass-card .hero-subtitle {
    font-size: 1.25rem !important;
  }

  .hero-glass-card .hero-tagline {
    font-size: 0.95rem !important;
  }

  .hero-glass-card .hero-description {
    font-size: 0.95rem !important;
  }

  .hero-trust-badges {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .trust-badge {
    font-size: 0.85rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 15px;
  }

  .particle {
    display: none;
  }

  /* Mobile icon enhancements */
  .specialty-icon {
    background: linear-gradient(135deg, rgba(216, 140, 117, 0.1), rgba(124, 154, 146, 0.1));
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
  }

  .specialty-icon i {
    font-size: 2rem;
  }

  /* Better mobile section spacing */
  section {
    padding: 40px 0;
  }

  /* Enhance service cards on mobile */
  .service-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }

  .credentials-card {
    max-width: 300px !important;
    padding: 1rem !important;
  }

  .credential-item {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1rem !important;
  }

  .credential-icon {
    margin-right: 0 !important;
    margin-bottom: 0.5rem !important;
  }
}

/* Professional Psychology Branding - Heylotohealth Theme */
.bg-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%) !important;
}

.text-primary {
  color: var(--accent-color) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, #5EADC1 100%);
  border: none;
  color: #ffffff;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 2rem;
  transition: var(--transition-normal);
  font-family: var(--default-font);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform, box-shadow;
}

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

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, #5EADC1 0%, var(--accent-color) 100%);
}

.btn-primary:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 2rem;
  padding: 10px 26px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: var(--default-font);
}

.btn-outline-primary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(124, 154, 146, 0.3);
}

/* Global Typography Updates */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font) !important;
  color: var(--heading-color) !important;
}

/* Section Background Updates */
.light-background {
  --background-color: var(--background-color);
}

/* Floating Badge Responsive Updates */
@media (max-width: 768px) {
  .floating-badge {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .badge-experience {
    right: -1rem;
    top: 1rem;
  }

  .badge-certified {
    left: -1rem;
    bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .floating-badge {
    position: relative;
    margin: 1rem auto;
    transform: none !important;
    animation: none;
  }

  .badge-experience, .badge-certified {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
}

/*--------------------------------------------------------------
# Background Images & Sections - PLACEHOLDER FOR FUTURE IMAGES
# To enable background images in future:
# 1. Uncomment the background-image, background-size, background-position, background-attachment lines
# 2. Uncomment the ::before pseudo-element for overlay
# 3. Replace 'your-image.jpg' with actual image path
# 4. Uncomment background-attachment rules in responsive sections
--------------------------------------------------------------*/
/* About Section - Background placeholder for future */
.about-with-bg {
  background: linear-gradient(135deg, var(--light-sage) 0%, var(--warm-cream) 100%);
  /* background-image: url('../img/portfolio/your-image.jpg'); */
  /* background-size: cover; */
  /* background-position: center; */
  /* background-attachment: fixed; */
  position: relative;
}

/* .about-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(249, 247, 244, 0.85);
  z-index: 1;
} */

.about-with-bg .container {
  position: relative;
  z-index: 2;
}

/* Specialties Section - Background placeholder for future */
.specialties-with-bg {
  background: linear-gradient(135deg, var(--light-brown) 0%, var(--background-color) 100%);
  /* background-image: url('../img/portfolio/your-image.jpg'); */
  /* background-size: cover; */
  /* background-position: center; */
  /* background-attachment: fixed; */
  position: relative;
}

/* .specialties-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
} */

.specialties-with-bg .container {
  position: relative;
  z-index: 2;
}

/* Training Section - Background placeholder for future */
.training-with-bg {
  background: linear-gradient(135deg, var(--light-coral) 0%, var(--warm-cream) 100%);
  /* background-image: url('../img/portfolio/your-image.jpg'); */
  /* background-size: cover; */
  /* background-position: center; */
  /* background-attachment: fixed; */
  position: relative;
}

/* .training-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(249, 247, 244, 0.82);
  z-index: 1;
} */

.training-with-bg .container {
  position: relative;
  z-index: 2;
}

/* Therapies Section - Background placeholder for future */
.therapies-with-bg {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--background-color) 100%);
  /* background-image: url('../img/portfolio/your-image.jpg'); */
  /* background-size: cover; */
  /* background-position: center; */
  /* background-attachment: fixed; */
  position: relative;
}

/* .therapies-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
} */

.therapies-with-bg .container {
  position: relative;
  z-index: 2;
}

/* Contact Section - Background placeholder for future */
.contact-with-bg {
  background: linear-gradient(135deg, var(--warm-cream) 0%, var(--light-sage) 100%);
  /* background-image: url('../img/portfolio/your-image.jpg'); */
  /* background-size: cover; */
  /* background-position: center; */
  /* background-attachment: fixed; */
  position: relative;
}

/* .contact-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(249, 247, 244, 0.83);
  z-index: 1;
} */

.contact-with-bg .container {
  position: relative;
  z-index: 2;
}

/* Subtle texture overlay - placeholder for future background sections */
/* .background-section {
  position: relative;
}

.background-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="4" stitchTiles="stitch"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.02"/></svg>');
  pointer-events: none;
  z-index: 1;
} */

/*--------------------------------------------------------------
# Glassmorphism Components
--------------------------------------------------------------*/
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
  border-radius: 1.5rem;
  transition: var(--transition-normal);
  will-change: transform, box-shadow;
}

.glass-card:hover,
.glass-card:focus-within {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: rgba(74, 144, 164, 0.4);
}

.glass-card-strong {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  border-radius: 1.5rem;
}

.glass-overlay {
  background: linear-gradient(135deg, rgba(74, 144, 164, 0.08) 0%, rgba(232, 180, 184, 0.08) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/*--------------------------------------------------------------
# Optimized Animation System
--------------------------------------------------------------*/
/* Consolidated animations for better performance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Optimized animation classes */
.animate-fadeInUp {
  animation: fadeInUp 0.4s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Hover Glow Effect */
.hover-glow {
  position: relative;
  transition: all 0.3s ease;
}

.hover-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--accent-color), var(--tertiary-color));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.hover-glow:hover::before {
  opacity: 0.6;
}

/* Hover Tilt Effect */
.hover-tilt {
  transition: transform 0.3s ease;
}

.hover-tilt:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* Button Ripple Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Shimmer Effect */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(74, 144, 164, 0.25), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/*--------------------------------------------------------------
# Section Dividers - Wave & Curve Shapes
--------------------------------------------------------------*/
.section-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.section-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider-top {
  top: -1px;
  bottom: auto;
  transform: rotate(180deg);
}

/* Curved Divider */
.curve-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.curve-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
}

/* Angled Divider with Fade */
.angled-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.angled-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 80px;
}

@media (max-width: 768px) {
  .angled-divider svg {
    height: 50px;
  }
}

/* Decorative Elements */
.decorative-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 144, 164, 0.15), rgba(232, 180, 184, 0.1));
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.decorative-dots {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--accent-color) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.1;
  pointer-events: none;
}


/*--------------------------------------------------------------
# Mobile & Touch Optimizations
--------------------------------------------------------------*/
/* Touch-friendly buttons and links */
.btn, a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ensure all interactive elements have proper touch targets */
button, 
input[type="submit"], 
input[type="button"], 
[role="button"] {
  min-height: 44px;
  min-width: 44px;
}

/* Prevent horizontal scrolling */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Improve text readability on mobile */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    word-wrap: break-word;
  }

  p {
    margin-bottom: 1.2rem;
    word-wrap: break-word;
  }

  /* Mobile form improvements */
  .form-control {
    font-size: 16px !important; /* Prevents zoom on iOS */
    padding: 12px 15px;
  }

  /* Mobile card improvements */
  .card {
    margin-bottom: 1.5rem;
  }

  /* Mobile spacing improvements */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Mobile floating badge fixes */
  .floating-badge {
    position: static;
    margin: 1rem auto;
    transform: none !important;
    animation: none;
    display: flex;
    justify-content: center;
    max-width: 250px;
  }

  .badge-experience, .badge-certified {
    position: static;
    margin: 0.5rem auto;
  }
}

@media (max-width: 576px) {
  .floating-badge {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .badge-number {
    font-size: 1.2rem;
  }

  .badge-label, .badge-title {
    font-size: 0.7rem;
  }
}

/* High-DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for retina displays */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

  .credentials-card {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Reduce blur effects on high-DPI displays for better performance */
  .floating-orb {
    filter: blur(50px) !important;
  }
}
/* Masonry Layout for Testimonials */
.testimonials-masonry {
  column-count: 2;
  column-gap: 1.5rem;
}

.testimonial-masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  display: inline-block;
  width: 100%;
}

@media (max-width: 991px) {
  .testimonials-masonry {
    column-count: 1;
  }
}

.testimonial-item {
  transform: translateY(0);
  height: auto !important;
}
.testimonial-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(44, 66, 81, 0.18) !important;
}
.testimonial-item:hover .testimonial-avatar {
  transform: scale(1.1) rotate(5deg);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@media (max-width: 768px) {
  .testimonial-item {
    margin-bottom: 1.5rem;
  }
}

/* Masonry Layout for Testimonials */
.testimonials-masonry {
  column-count: 2;
  column-gap: 1.5rem;
}

.testimonial-masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  display: inline-block;
  width: 100%;
}

@media (max-width: 991px) {
  .testimonials-masonry {
    column-count: 1;
  }
}

.testimonial-item {
  transform: translateY(0);
  height: auto !important;
}
.testimonial-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(44, 66, 81, 0.18) !important;
}
.testimonial-item:hover .testimonial-avatar {
  transform: scale(1.1) rotate(5deg);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@media (max-width: 768px) {
  .testimonial-item {
    margin-bottom: 1.5rem;
  }
}
