/*
Theme Name: Collaborative Wellness Center
Theme URI: https://collaborativewellnesscenters.com/
Author: CA
Description: A custom theme using ACF and Bootstrap
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: cwc
*/

/* Global */
body, h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Montserrat', Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}
a {
  transition: opacity 0.3s ease-in-out, color 0.3s ease-in-out;
  opacity: 1;
}
a:hover {
  opacity: 0.7;
}
p {
  font-size: 1.3rem;
  color:var(--color-black);
}
:root {
  --color-maroon: #5E223D;
  --color-blue: #92BAB6;
  --color-orange: #F7A38A;
  --color-purple: #C19898;
  --color-tan: #D6C0B4;
  --color-brown: #A18B7C;
  --color-black: #000000;
  --color-white: #FFFFFF;
}
.btn-primary {
  background-color:var(--color-blue);
  color:var(--color-white);
  font-weight: 700;
  font-size: 1.3rem;
  border: 0;
  padding: 1.1rem 2.5rem;
  border-radius: 35px;
}
.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
  background-color: var(--color-maroon);
}
.btn-primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 118, 128, 0.5); 
}
.page-template-news-events .email-signup .mb-3, .page-template-news-events .email-signup .mb-4 {
  color:#208093;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.submit-wrapper {
  display: inline-flex;
  align-items: center;
}

.submit-wrapper  .wpcf7-form-control.wpcf7-submit {
  display: inline-block;
}

.submit-wrapper .arrow-icon {
  margin-left: 10px; 
  height: 16px;
  margin-top: -53px;
  padding-left: 25px;
}
.bi-menu-button-wide {
  color: #92BAB6;
  font-size: 2rem;
  margin-right: 0.5rem;
}
/* Header */
header {
  background-color: #f2f2f2;
  padding: 10px 0;
  transition: top 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-bottom:1px solid var(--color-maroon);
}

header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header.hide {
  top: -120px;
}

.navbar-brand img {
  max-height: 55px;
}

.navbar-nav {
  position: relative;
  justify-content: flex-end;
}

.navbar-nav li {
  position: relative;
  padding-left: 10px;
}

.navbar-nav li a {
  color: var(--color-black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px 5px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-nav .nav-item {
  display: inline-block; /* Keep items inline */
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem; /* Add padding to match other nav items */
  color: #fff; /* Match the menu text color */
  text-decoration: none;
}

.navbar-nav .nav-link:hover {
  color: var(--color-primary); /* Add hover effect */
}
.navbar-nav .bi.bi-cart3, .navbar-nav .bi.bi-person-circle {
  font-size:20px;
  color: var(--color-black);
}
.navbar-nav li ul li a {
  font-weight: 600 !important;
  padding-left: 0 !important;
}


.navbar-nav li ul li {
  list-style-type: none;
}



.navbar-nav li a:hover,
.navbar-nav li a:focus {
  color: var(--color-maroon) !important;
  text-decoration: none;
}

.navbar-nav li .sub-menu {
  display: none;
  padding-left: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f2f2f2;
  z-index: 1050;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  width: 210px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-nav li.active > .sub-menu,
.navbar-nav li:hover > .sub-menu,
.navbar-nav li:focus-within > .sub-menu {
  display: block;
}

.navbar-nav li .chevron {
  display: none;
  font-size: 16px;
}

.navbar-nav li.active .chevron {
  transform: rotate(180deg);
}

.navbar-expand-lg .navbar-collapse {
  justify-content: flex-end;
}

#menu-main-menu > li.current-menu-item > a {
  color: var(--color-maroon) !important;
  transition: color 0.3s, background-color 0.3s;
}

#menu-main-menu #menu-item-26 {
  margin-right: 32px;
}
.navbar-toggler {
  border: none;
  background: none;
  outline: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  padding: 0;
}

.navbar-toggler-line {
  width: 100%;
  height: 3px;
  background-color: #FFF;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler.collapsed .navbar-toggler-line:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.navbar-toggler.collapsed .navbar-toggler-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.collapsed .navbar-toggler-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  header .navbar {
    padding: 0.75rem 0;
    min-height: 70px;
  }

  header .navbar-brand img {
    max-height: 45px;
  }

  header .navbar-nav {
    gap: 1rem;
  }

  header .navbar-nav .nav-link,
  header .navbar-nav .menu-item a {
    font-size: 0.95rem;
  }
}

/* Mobile Styles (max-width: 767px) */
@media (max-width: 767px) {
  header .navbar {
    padding: 0.5rem 0;
    min-height: 60px;
    flex-wrap: nowrap;
  }

  header .navbar-brand {
    flex: 1;
  }

  header .navbar-brand img {
    max-height: 40px;
  }

  header .navbar-toggler {
    flex: 0 0 auto;
    margin-left: 1rem;
  }

  /* Mobile Menu Styles */
  header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
       background-color: #fff;
    z-index: 20;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    padding: 1rem;
    margin-top: 1px;
  }

  header .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
  }

  header .navbar-nav .menu-item {
    border-bottom: 1px solid #e9ecef;
    margin: 0;
  }

  header .navbar-nav .menu-item:last-child {
    border-bottom: none;
  }

  header .navbar-nav .nav-link,
  header .navbar-nav .menu-item a {
    padding: 1rem 0;
    font-size: 1rem;
    display: block;
  }

  header .navbar-nav .nav-link::after,
  header .navbar-nav .menu-item a::after {
    display: none;
  }

  /* Mobile Dropdown */
  header .sub-menu {
    position: static;
    box-shadow: none;
    background: #f8f9fa;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  header .menu-item-has-children.show .sub-menu {
    display: block;
  }

  header .sub-menu .menu-item a {
    padding: 0.75rem 1rem;
    margin-left: 1rem;
    font-size: 0.9rem;
    color: #666;
  }

  /* Mobile Cart and Login */
  header .menu-item-cart,
  header .menu-item-login {
    justify-content: center;
    padding: 0.5rem 0;
  }

  header .menu-item-cart .nav-link,
  header .menu-item-login .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 0.25rem 0;
  }

  header .menu-item-cart .nav-link::after,
  header .menu-item-login .nav-link::after {
    content: attr(data-label);
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  header .navbar {
    min-height: 55px;
  }

  header .navbar-brand img {
    max-height: 35px;
  }

  header .navbar-toggler {
    width: 35px;
  }

  header .navbar-toggler-line {
    width: 20px;
    height: 2px;
    background-color: #5E223D;
  }

  header .navbar-collapse {
    padding: 0.75rem;
  }

  header .navbar-nav .nav-link,
  header .navbar-nav .menu-item a {
    padding: 0.75rem 0;
    font-size: 0.95rem;
  }
}
@media (max-width: 991px) {
  .navbar-nav li:nth-last-child(2)::before {
      display: none;
  }
nav.navbar {
  padding: 0 2rem;
}
  #menu-main-menu #menu-item-26, #menu-main-menu #menu-item-113 {
      margin-right: 0;
      padding-bottom: 0.75rem;
  }
.navbar-nav li, .navbar-nav li a {
  padding-left:0;
  font-size: 18px;
}
#menu-main-menu {
  padding-top:2rem;
}
  .navbar-nav li:nth-last-child(-n+2) a {
    padding-left: 0;
    font-size: 16px;
}
#menu-main-menu #menu-item-113 {
  position: relative;
  padding-top: 0.75rem;
  padding-bottom: 0;
}

#menu-main-menu #menu-item-113::after {
  content: '';
  position: absolute;
  top: 0%;
  left: 13%;
  transform: translateX(-50%);
  width: 25%;
  height: 2px;
  background-color: #0BCACF;
}

  .navbar-nav li.active .chevron {
      transform: rotate(180deg);
  }

  .navbar-nav li a {
      padding-right: 25px;
  }

  .navbar-nav li:hover > .sub-menu {
      display: none;
  }

  .navbar-nav li.active .sub-menu {
      position: relative;
      box-shadow: none;
  }

  .navbar-nav .menu-item-has-children {
      position: relative;
      padding: 0;
  }

  .navbar-nav .menu-item-has-children > a {
      padding-right: 30px;
      padding-left:0;
  }

  .navbar-nav .menu-item-has-children .chevron {
      font-size: 16px;
      display: inline-block;
      cursor: pointer;
      transition: transform 0.3s ease;
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
  }

  .navbar-nav .menu-item-has-children.active .chevron {
      transform: rotate(90deg) translateY(-50%);
      top: 13px;
      right: 25px;
  }

  .navbar-nav .menu-item-has-children .sub-menu {
      display: none;
      padding-left: 20px;
      list-style: none;
  }

  .navbar-nav .menu-item-has-children .sub-menu li {
      padding: 8px 0;
  }
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
}

.skip-to-content:focus {
  top: 10px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Animations */
.fade-in-base {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .fade-in-base.top-move {
    transform: translateY(-100px);
  }
  
  .fade-in-base.bottom-move {
    transform: translateY(100px);
  }
  
  .fade-in-base.left-move {
    transform: translateX(-100px);
  }
  
  .fade-in-base.right-move {
    transform: translateX(100px);
  }
  .fade-in-base.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
.woocommerce ul.products li.product .price {
  display:none;
}
/* Component - Home Hero*/
section.home-hero {
  border-bottom: 5px solid var(--color-maroon);
  padding: 6rem 0;
}
section.home-hero h1 {
  color:var(--color-maroon);
  font-size: 1em;
  font-size: 5rem;
  font-weight: 800;
}
section.home-hero h1 span {
  color:var(--color-blue);
}
section.home-hero p {
  font-size: 2rem;
  color:var(--color-black);
  font-weight: 300;
}
.home-hero {
  background-color: var(--color-light-gray); 
  color: var(--color-dark-gray);
  position: relative;
  overflow: hidden; 
}

.home-hero .hero {
  z-index: 1;
  position: relative;
  text-align:center;
}

.home-hero .decor-image {
  position: absolute;
  z-index: 0; 
}

.home-hero .top-left {
  top: 0;
  left: 0;
  width: 279px; 
  height: auto;
  transform: translate(-20%, -20%); 
}

.home-hero .bottom-right {
  bottom: 0;
  right: 0;
  width: 165px; 
  height: auto;
  transform: translate(20%, 20%); 
}

/* Hero Section */
.hero-section {
  position: relative;
  border-bottom:5px solid var(--color-maroon);
}
.hero-section .hero {
  z-index: 1;
  position: relative;
}
.hero-section h1 {
  color: var(--color-maroon);
  font-size: 2.5rem;
  font-weight: 800;
}
.hero-section .top-left {
  top: 0;
  left: 0;
  width: 130px; 
  height: auto;
}

.hero-section .bottom-right {
  bottom: 0;
  right: 0;
  width: 100px; 
  height: auto;
}

.hero-section .decor-image {
  position: absolute;
  z-index: 0;
}
/* Animation Classes */
.home-hero .animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s ease;
}

.home-hero .step-left {
  animation: slideInLeft 0.8s ease-out;
}

.home-hero .step-right {
  animation: slideInRight 0.8s ease-out;
}

.home-hero .visible {
  opacity: 1;
  transform: translateX(0);
}

.home-hero .mt-4 {
  margin-top: 1.5rem;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .home-hero {
    padding: 60px 0;
    min-height: 60vh;
  }
.hero-section h1 {
  z-index:10;
  position: relative;
}
  .home-hero .container {
    padding: 0 30px;
  }

  .home-hero .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
  }

  .home-hero .hero p {
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
  }

  .home-hero .btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
  }

  .home-hero .decor-image.top-left,
  .home-hero .decor-image.bottom-right {
    max-width: 150px;
  }
}

/* Mobile Landscape (481px - 767px) */
@media (max-width: 767px) {
  .home-hero {
    padding: 50px 0;
    min-height: 50vh;
  }

  .home-hero .container {
    padding: 0 20px;
  }

  .home-hero .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .home-hero .hero p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    padding: 0 10px;
  }

  .home-hero .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .home-hero .decor-image.top-left,
  .home-hero .decor-image.bottom-right {
    max-width: 100px;
    opacity: 0.4;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .home-hero {
    padding: 40px 0;
    min-height: 45vh;
  }

  .home-hero .container {
    padding: 0 15px;
  }

  .home-hero .hero h1 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .home-hero .hero h1 span {
    margin-top: 0.25rem;
  }

  .home-hero .hero p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    padding: 0 5px;
  }

  .home-hero .btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 30px;
  }

  .home-hero .mt-4 {
    margin-top: 1rem;
  }

  .home-hero .decor-image.top-left,
  .home-hero .decor-image.bottom-right {
    max-width: 80px;
    opacity: 0.3;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .home-hero {
    padding: 30px 0;
  }

  .home-hero .hero h1 {
    font-size: 1.6rem;
  }

  .home-hero .hero p {
    font-size: 0.9rem;
  }

  .home-hero .btn-lg {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .home-hero .decor-image.top-left,
  .home-hero .decor-image.bottom-right {
    max-width: 60px;
    opacity: 0.2;
  }
}
/* Component - Services */
.services-section {
  background-color: #f2f2f2;
  padding: 6rem 0;
}
.services-section h2 {
  font-size:2.5rem;
  margin-bottom:4rem;
}
.services-section .service-item {
  background-color: var(--color-tan);
  border-radius: 0 35px 0 35px;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}
.services-section .col-md-6:nth-of-type(2n) .service-item, .services-section .col-md-6:nth-of-type(2n) .service-item .service-image {
  border-radius: 35px 0 35px 0;
}
.services-section .col-md-6:nth-of-type(2) .service-item {
  background-color: var(--color-purple);
}
.services-section .col-md-6:nth-of-type(3) .service-item {
  background-color: var(--color-orange);
}
.services-section .col-md-6:nth-of-type(4) .service-item {
  background-color: var(--color-blue);
}
.services-section .col-md-6:nth-of-type(5) .service-item {
  background-color: var(--color-brown);
}
.services-section .service-item:hover {
  transform: scale(1.05);
}
.services-section .service-item .cont-contain {
  padding: 0 2rem 2rem 2rem;
  color:var(--color-white);
}
.services-section .service-item .cont-contain p {
  color:var(--color-white);
}
.services-section .service-item .cont-contain p:first-child {
  font-size:1.75rem;
}
.services-section .service-image {
  border-radius: 0 35px 0 35px;
  margin-bottom: 15px;
}

.services-section .spacer {
  height: 1px; 
}

.services-section .row {
  display: flex;
  flex-wrap: wrap;
}

.services-section .col-md-6 {
  display: flex;
  justify-content: center;
}

.services-section .col-md-6.offset-md-3 {
  margin-top: 20px;
  justify-content: center;
}
/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .services-section .container {
    padding: 0 30px;
  }

  .services-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .services-section .service-item {
    margin-bottom: 1.5rem;
  }

  .services-section .service-image {
    height: 220px;
  }

  .services-section .cont-contain p.fw-bold {
    font-size: 1.1rem;
  }

  .services-section .cont-contain p:not(.fw-bold) {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Mobile Landscape (481px - 767px) */
@media (max-width: 767px) {
  .services-section {
    padding: 50px 0;
  }

  .services-section .container {
    padding: 0 20px;
  }

  .services-section h2 {
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
  }

  .services-section .row {
    gap: 1.5rem;
  }

  .services-section .col-md-6,
  .services-section .col-md-6.offset-md-3 {
    margin-bottom: 1rem;
  }

  .services-section .service-item {
    margin-bottom: 0;
  }

  .services-section .service-image {
    height: 200px;
    border-radius: 12px;
  }

  .services-section .cont-contain {
    padding: 1rem 0.5rem;
  }

  .services-section .cont-contain p.fw-bold {
    font-size: 1.05rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
  }

  .services-section .cont-contain p:not(.fw-bold) {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .services-section {
    padding: 40px 0;
  }

  .services-section .container {
    padding: 0 15px;
  }

  .services-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
  }

  .services-section .row {
    gap: 1.25rem;
  }

  .services-section .service-image {
    height: 180px;
    border-radius: 10px;
  }

  .services-section .cont-contain {
    padding: 0.75rem 0.25rem;
  }

  .services-section .cont-contain p.fw-bold {
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .services-section .cont-contain p:not(.fw-bold) {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .services-section {
    padding: 30px 0;
  }

  .services-section .container {
    padding: 0 10px;
  }

  .services-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .services-section .service-image {
    height: 160px;
    border-radius: 8px;
  }

  .services-section .cont-contain {
    padding: 0.5rem 0.25rem;
  }

  .services-section .cont-contain p.fw-bold {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .services-section .cont-contain p:not(.fw-bold) {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}
/* Component - Your Health */
.your-health {
  position: relative;
  background-color: var(--color-maroon);
  background-image: url('/wp-content/themes/CWC/images/CWC-Pattern.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 250px;
  color: white;
  padding: 5rem 1rem; 
}
.your-health h3 {
  font-size: 2.5rem;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom:1rem;
}
.your-health .section-intro {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--color-white);
}
.your-health .card {
  border: none;
  padding:3rem 0;
  position: relative;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.your-health .col-md-6:nth-child(odd) .card, .your-health .col-md-4:nth-child(odd) .card {
  border-radius: 0 35px 0 35px;
}

.your-health .col-md-6:nth-child(even) .card, .your-health .col-md-4:nth-child(even) .card {
  border-radius: 35px 0 35px 0;
}
.your-health .col-md-6 .top-left, .your-health .col-md-4 .top-left {
  top: 0;
  left: 0;
  width: 140px;
  height: auto;
}
.your-health .col-md-6 .decor-image, .your-health .col-md-4 .decor-image {
  position: absolute;
  z-index: 0; 
}
.your-health .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.your-health .card-title {
  font-size: 1.5rem;
  color: var(--color-maroon);
}
.your-health .card-text {
  padding:1rem 3rem;
}
/* Icon styling */
.card-icon {
  font-size: 4rem;
  color: var(--color-blue); 
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.card-icon:hover {
  transform: scale(1.1); 
}

.your-health .card {
  border: none; 
  background-color: #f8f9fa; 
  border-radius: 0.5rem; 
}

@media (max-width: 767px) {
  .your-health .section-title {
    font-size: 2rem;
  }

  .your-health .section-intro {
    font-size: 1.1rem;
  }

  .graphic-background {
    width: 120px;
    height: 120px;
  }
}

.animate-card {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.7s forwards;
}

.animate-card:nth-child(1) {
  animation-delay: 0.2s;
}

.animate-card:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.your-health.meet-team h2 {
  font-size: 2.5rem;
  padding-bottom: 2rem;
}
.your-health.meet-team p {
  font-size: 1.1rem;
  padding:0 2rem;
}
.your-health.meet-team img {
  width: 50%;
  margin: 0 auto 2rem;
}
.your-health.meet-team .row.g-4 {
  display: flex;
  flex-wrap: wrap;
}

.your-health.meet-team .row.g-4 > .col-md-6 {
  display: flex;
}

.your-health.meet-team .card {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.your-health.meet-team .card-body {
  flex-grow: 1;
}

section.faqs h1, section.faqs h2, section.faqs h3, section.faqs h4, section.faqs h5 {
  color:var(--color-maroon);
  margin-bottom:1rem;
}
section.faqs .accordion {
  margin-bottom:2rem;
}
section.faqs .accordion-button {
  background-color: var(--color-tan);
  font-size: 1.25rem;
  color: var(--color-black);
}
section.video-section {
  background-color: #f2f2f2;
}
section.video-section h2 {
  color:var(--color-maroon);
}
/* Component - Track Progress */
.track-progress {
  background-color: #f7f7f7;
}
.track-progress h4 {
  font-size: 2rem;
  color: var(--color-maroon);
  font-weight: 600;
}

.track-progress p {
  line-height: 1.6;
  margin-bottom: 30px;
}
.track-progress .col-md-6:last-child {
  padding-left:3rem;
}
.track-progress .btn-primary {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  color: white;
  font-size: 1.1rem;
  padding: 12px 25px;
  border-radius: 25px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.track-progress .btn-primary:hover {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  transform: translateY(-5px);
}

.track-progress img, img.round-image {
  width: 100%;
  height: auto;
  border-radius: 0 35px 0 35px;
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .track-progress {
    padding: 50px 0;
  }

  .track-progress .container {
    padding: 0 30px;
  }

  .track-progress h4 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .track-progress p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
  }

  .track-progress .col-md-6:last-child {
    padding-left: 2rem;
  }

  .track-progress .btn-primary {
    font-size: 1rem;
    padding: 11px 22px;
  }
}

/* Mobile Landscape (481px - 767px) */
@media (max-width: 767px) {
  .track-progress {
    padding: 40px 0;
  }

  .track-progress .container {
    padding: 0 20px;
  }

  .track-progress .row {
    flex-direction: column-reverse;
  }

  .track-progress .col-md-6 {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .track-progress .col-md-6:last-child {
    padding-left: 1rem;
    margin-bottom: 2rem;
  }

  .track-progress h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .track-progress p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    padding: 0 10px;
  }

  .track-progress .btn-primary {
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 25px;
  }

  .track-progress img {
    border-radius: 15px;
    max-width: 90%;
    margin: 0 auto;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .track-progress {
    padding: 30px 0;
  }

  .track-progress .container {
    padding: 0 15px;
  }

  .track-progress .col-md-6:last-child {
    padding-left: 0;
    margin-bottom: 1.5rem;
  }

  .track-progress h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .track-progress p {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    padding: 0 5px;
  }

  .track-progress .btn-primary {
    font-size: 0.9rem;
    padding: 9px 18px;
    border-radius: 20px;
    width: 100%;
    max-width: 280px;
  }

  .track-progress img {
    border-radius: 12px;
    max-width: 95%;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .track-progress {
    padding: 25px 0;
  }

  .track-progress .container {
    padding: 0 10px;
  }

  .track-progress .col-md-6 {
    margin-bottom: 1rem;
  }

  .track-progress .col-md-6:last-child {
    margin-bottom: 1.25rem;
  }

  .track-progress h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .track-progress p {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    padding: 0;
  }

  .track-progress .btn-primary {
    font-size: 0.85rem;
    padding: 8px 16px;
    width: 100%;
    max-width: 260px;
  }

  .track-progress img {
    border-radius: 10px;
    max-width: 100%;
  }
}


/* Component - Why Choose Us */
.why-choose-us {
  background: linear-gradient(135deg, #f7a38a, #92bab6);
  padding: 6rem 0;
  border-radius: 10px;
}
.why-choose-us h5 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 40px;
}
.why-choose-us .section-intro {
  font-size: 1rem;
  color: var(--color-white);
}
.why-choose-us .col-lg-4 {
  padding-right: 2rem;
}
.why-choose-us .col-lg-8 {
  border-left: 1px solid var(--color-maroon);
  padding-left: 4rem;
}
.why-choose-us .icon {
  font-size: 2.5rem;
  color: var(--color-maroon);
  margin-right: 1rem;
  flex-shrink: 0;
}
.why-choose-us .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.why-choose-us .card-text {
  color: var(--color-black);
  margin: 0;
}
.why-choose-us .d-flex {
  gap: 1.5rem;
}
.why-choose-us .d-flex.align-items-center {
  margin-bottom:2rem;
}
.why-choose-us .d-flex.align-items-center:last-child {
  margin-bottom:0;
}
.icon-container i {
  color: var(--color-maroon);
  transition: color 0.3s ease;
}
.custom-card:hover .icon-container i {
  color: var(--color-orange); 
}
/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .why-choose-us {
    padding: 60px 0;
  }

  .why-choose-us .container {
    padding: 0 30px;
  }

  .why-choose-us .col-lg-4 h5 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .why-choose-us .col-lg-4 p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .why-choose-us .col-lg-8 .gap-4 {
    gap: 2rem !important;
  }

  .why-choose-us .icon {
    font-size: 2.5rem;
    margin-right: 1.25rem;
    min-width: 60px;
  }

  .why-choose-us .card-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }

  .why-choose-us .card-text {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Mobile Landscape (481px - 767px) */
@media (max-width: 767px) {
  .why-choose-us {
    padding: 50px 0;
  }

  .why-choose-us .container {
    padding: 0 20px;
  }

  .why-choose-us .row {
    text-align: center;
  }

  .why-choose-us .col-lg-4 {
    margin-bottom: 2rem;
  }

  .why-choose-us .col-lg-4 h5 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .why-choose-us .col-lg-4 p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
    padding: 0 10px;
  }

  .why-choose-us .col-lg-8 .gap-4 {
    gap: 1.75rem !important;
  }

  .why-choose-us .d-flex.align-items-center {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .why-choose-us .icon {
    font-size: 2.5rem;
    margin-right: 0;
    margin-bottom: 1rem;
    min-width: auto;
  }

  .why-choose-us .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .why-choose-us .card-text {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .why-choose-us {
    padding: 40px 0;
  }

  .why-choose-us .container {
    padding: 0 15px;
  }

  .why-choose-us .col-lg-4 {
    margin-bottom: 1.5rem;
  }

  .why-choose-us .col-lg-4 h5 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  .why-choose-us .col-lg-4 p {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0 5px;
  }

  .why-choose-us .col-lg-8 .gap-4 {
    gap: 1.5rem !important;
  }

  .why-choose-us .d-flex.align-items-center {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .why-choose-us .icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }

  .why-choose-us .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .why-choose-us .card-text {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .why-choose-us {
    padding: 30px 0;
  }

  .why-choose-us .container {
    padding: 0 10px;
  }

  .why-choose-us .col-lg-4 {
    margin-bottom: 1.25rem;
  }

  .why-choose-us .col-lg-4 h5 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }

  .why-choose-us .col-lg-4 p {
    font-size: 0.8rem;
    line-height: 1.3;
    padding: 0;
  }

  .why-choose-us .col-lg-8 .gap-4 {
    gap: 1.25rem !important;
  }

  .why-choose-us .d-flex.align-items-center {
    padding: 1rem;
    border-radius: 8px;
  }

  .why-choose-us .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .why-choose-us .card-title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .why-choose-us .card-text {
    font-size: 0.8rem;
    line-height: 1.25;
  }
}

/* Component - Interior Main */
.interior-main {
  background: linear-gradient(135deg, #f7a38a, #92bab6);
  padding: 5rem 0;
}
.interior-main .col-lg-8 {
  background:rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  padding: 2rem;
}
.interior-main .col-lg-4 {
  padding-left: 4rem;
}
.interior-main ul {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.interior-main ul li {
  font-size:1.3rem;
  color: var(--color-black);
  margin-bottom:1rem;
}


/* Component - Pricing */
section.pricing {
  background-color: #f2f2f2;
}
.pricing .pricing-card {
  border: 1px solid var(--color-black);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  margin: 10px;
  background-color: #fff;
}
.pricing .pricing-container {
  margin-bottom: 4rem;
}
.pricing h2 {
  text-align:center;
  padding:0 0 3rem;
  font-weight:600;
}
.pricing h3 {
  font-size:1.5rem;
  padding:2rem 0;
  padding:0 0 2rem;
  color:var(--color-maroon);
  font-weight:600;
}

.pricing .nav-tabs .nav-link {
  font-weight:600;
  color:#000;
  border:1px solid transparent;
}
.pricing #pricingTabs {
  border: 1px solid #000;
  width: auto;
  display: inline-flex;
  border-radius: 20px;
  padding: 0.1rem 0.1rem 0.2rem;
  background-color:#fff;
}
.pricing .nav-tabs .nav-link.active {
  background: #5E223D;
  color: #fff;
  border-radius: 18px;
}
.pricing #figjam-tab.active {
  background: var(--color-blue);
  color: #fff;
  border-radius: 18px;
}
.pricing .pricing-card h5 {
  font-weight: bold;
}
.pricing .pricing-card .price {
  font-size: 20px;
  font-weight: bold;
}
.pricing .pricing-card .btn {
  width: 100%;
  border-radius: 5px;
}
.pricing .pricing-card ul {
  list-style: none;
  padding: 0;
}
.pricing .pricing-card ul li {
  text-align: left;
  padding: 5px 0;
}

.bhrt-form {
  background:var(--color-maroon);
}
.bhrt-form h3 {
  color:var(--color-white);
  text-align:center;
  font-weight:600;
}
.bhrt-form p {
  color:var(--color-white);
  text-align:center;
}

.bhrt-services p {
  color:var(--color-black) !important;
}
/* Component - Take First Step */
.take-first-step {
  position: relative;
  background-image: url('/wp-content/themes/CWC/images/CWC-Background-Dark.jpg');
  background-size: cover;
  background-position: center center !important;
  background-attachment: fixed; 
  color: white; 
  z-index: 1;
  padding: 6rem 0; 
}
.take-first-step .contact-info a {
  color: var(--color-blue);
}
.take-first-step .contact-info a:hover {
  color: var(--color-white);
}
.take-first-step .container {
  position: relative;
  z-index: 2;
}
.take-first-step h6 {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}
.take-first-step .section-description {
  color: white;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}
.take-first-step .contact-info p {
  color: var(--color-white);
}
.take-first-step .contact-info p:first-child {
  font-size: 2.5rem;
}
.take-first-step .btn-action {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  color: white;
  font-size: 1.2rem;
  padding: 15px 30px;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.take-first-step .btn-action:hover {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  transform: translateY(-5px);
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .take-first-step {
    padding: 60px 0;
    background-size: cover;
    background-position: center center !important;
  }

  .take-first-step .container {
    padding: 0 30px;
    max-width: 700px;
  }

  .take-first-step h6 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  .take-first-step .section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 20px;
  }

  .take-first-step .contact-info {
    margin-bottom: 2rem;
  }

  .take-first-step .contact-info p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .take-first-step .btn-action {
    padding: 14px 28px;
    font-size: 1.05rem;
  }
}

/* Mobile Landscape (481px - 767px) */
@media (max-width: 767px) {
  .take-first-step {
    padding: 50px 0;
    background-attachment: scroll;
    background-position: center center !important;
  }

  .take-first-step .container {
    padding: 0 20px;
    max-width: 100%;
  }

  .take-first-step h6 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .take-first-step .section-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
    padding: 0 10px;
  }

  .take-first-step .contact-info {
    margin-bottom: 1.75rem;
  }

  .take-first-step .contact-info p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .take-first-step .contact-info p strong {
    font-size: 1rem;
  }

  .take-first-step .contact-info a {
    display: inline-block;
    word-break: break-all;
  }

  .take-first-step .btn-action {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 25px;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .take-first-step {
    padding: 40px 0;
  }

  .take-first-step .container {
    padding: 0 15px;
  }

  .take-first-step h6 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .take-first-step .section-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    padding: 0 5px;
  }

  .take-first-step .contact-info {
    margin-bottom: 1.5rem;
  }

  .take-first-step .contact-info p {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .take-first-step .contact-info p:first-child {
    margin-bottom: 0.75rem;
  }

  .take-first-step .contact-info a {
    word-break: break-word;
    hyphens: auto;
  }

  .take-first-step .btn-action {
    padding: 11px 20px;
    font-size: 0.95rem;
    border-radius: 20px;
    width: 100%;
    max-width: 280px;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .take-first-step {
    padding: 30px 0;
  }

  .take-first-step .container {
    padding: 0 10px;
  }

  .take-first-step h6 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .take-first-step .section-description {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    padding: 0;
  }

  .take-first-step .contact-info {
    margin-bottom: 1.25rem;
  }

  .take-first-step .contact-info p {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .take-first-step .contact-info p:first-child {
    margin-bottom: 0.5rem;
  }

  .take-first-step .btn-action {
    padding: 10px 18px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 260px;
  }
}

/* GLP-1 Introduction Section */
.glp1-intro h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
}

/* Featured Product Section */
.glp1-products h4 {
  color: #000;
  font-size: 2.5rem;
  padding-bottom: 2rem;
}
.glp1-products .card {
  background: #ededed;
  text-align: center;
  padding: 2rem;
  border-radius: 0 35px 0 35px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease-in-out;
}
.glp1-products .card img {
  width: 10%;
  margin: 0 auto;
}
.glp1-products .card:hover {
  transform: translateY(-5px);
}

.glp1-products .btn-primary {
  background-color: var(--color-maroon);
  border: none;
  color: var(--color-white);
  font-weight: bold;
}

.glp1-products .btn-primary:hover {
  background-color: var(--color-blue);
  color: var(--color-black);
}

/* Component - Closing Message */
.closing-message {
  background-color: var(--color-tan);
  padding: 6rem 0; 
  border-top: 4px solid var(--color-maroon);
  position: relative;
  background-image: url(/wp-content/themes/CWC/images/CWC-Pattern-Maroon.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 250px;
  color: white;
  padding: 5rem 1rem;
}

.closing-message .container {
  max-width: 800px;
  margin: 0 auto;
}

.closing-message p {
  font-size:2rem;
}

.closing-message .btn-contact {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  color: white;
  font-size: 1.2rem;
  padding: 12px 30px;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.closing-message .btn-contact:hover {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  transform: translateY(-5px);
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .closing-message {
    padding: 50px 0;
    background-size: 200px;
  }

  .closing-message .container {
    padding: 0 30px;
    max-width: 700px;
  }

  .closing-message p {
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 2rem;
  }

  .closing-message .btn-contact {
    font-size: 1.1rem;
    padding: 14px 28px;
  }
}

/* Mobile Landscape (481px - 767px) */
@media (max-width: 767px) {
  .closing-message {
    padding: 40px 0;
    background-size: 150px;
  }

  .closing-message .container {
    padding: 0 20px;
    max-width: 100%;
  }

  .closing-message p {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 1.75rem;
    padding: 0 10px;
  }

  .closing-message .btn-contact {
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 25px;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .closing-message {
    padding: 30px 0;
    background-size: 120px;
  }

  .closing-message .container {
    padding: 0 15px;
  }

  .closing-message p {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    padding: 0 5px;
  }

  .closing-message .btn-contact {
    font-size: 0.95rem;
    padding: 11px 20px;
    border-radius: 20px;
    width: 100%;
    max-width: 280px;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .closing-message {
    padding: 25px 0;
    background-size: 100px;
  }

  .closing-message .container {
    padding: 0 10px;
  }

  .closing-message p {
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    padding: 0;
  }

  .closing-message .btn-contact {
    font-size: 0.9rem;
    padding: 10px 18px;
    width: 100%;
    max-width: 260px;
  }
}

section.menu {
  background-color: #f2f2f2;
}
section.menu p.mb-0 {
  padding-right:2rem;
}
section.menu span.h4 {
  color:var(--color-maroon);
  font-weight:600;
}
section.menu h4.mb-1 {
  color:var(--color-blue);
  font-weight:700;
}


/* How it Works */
.how-it-works .steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: auto;
}

.how-it-works .step-container {
  display: flex;
  align-items: center;
  margin: 15px 0;
  position: relative;
  width: 100%;
}

.how-it-works .step {
  width: 50%;
  border-radius: 10px;
  background: #f8f9fa;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  position: relative;
}

.how-it-works .step:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.how-it-works .step-container:nth-child(odd) .step {
  text-align: left;
  border-radius: 0 35px 0 35px;
  background-color: var(--color-orange);
  width:100%;
}

.how-it-works .step-container:nth-child(even) .step {
  text-align: right;
  border-radius: 35px 0 35px 0;
  background-color: var(--color-blue);
  width:100%;
}

.how-it-works .step h2, 
.how-it-works .step h3, 
.how-it-works .step h4, 
.how-it-works .step h5, 
.how-it-works .step h6 {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-black);
  margin-bottom: 10px;
  padding:10px 40px;
}

.how-it-works .step p {
  font-size: 18px;
  color: #333;
  padding: 0 40px 15px 40px;
}

.how-it-works .step-container:nth-child(even) {
  flex-direction: row-reverse;
}

.how-it-works .justify-content-end {
  flex-direction: row-reverse;
}

.how-it-works .step:hover .additional-content {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}
.how-it-works .main-area.left-side {
  position: relative;
}
.how-it-works .step.step-left img {
  border-radius: 0 35px 0 35px;
}
.how-it-works .step.step-right img {
  border-radius: 35px 0 35px 0;
}
.how-it-works .main-area.left-side i {
  font-size: 48px;
  position: absolute;
  top: 50%;
  right: -49px;
  transform: translateY(-50%);
  color: var(--color-black);
}

.how-it-works .main-area.right-side {
  position: relative;
}
.how-it-works .main-area.right-side i {
  font-size: 48px;
  position: absolute;
  top: 50%;
  left: -49px;
  transform: translateY(-50%);
  color: var(--color-black); 
}
.how-it-works .additional-content {
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  text-align: left;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.how-it-works .additional-content p { 
  margin-bottom: 0;
  padding: 10px 0;
}

.how-it-works .step-container:nth-child(even) .additional-content {
  right: 100%;
  width:100%;
  left: auto;
  transform: translateY(-50%) translateX(-50px);
  background-color: var(--color-blue);
}

.how-it-works .step-container:nth-child(odd) .additional-content {
  left: 100%;
  width:100%;
  right: auto;
  transform: translateY(-50%) translateX(50px);
  background-color: var(--color-orange);
}

.how-it-works .step-image {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.how-it-works .step-image img {
  width: 100%;
}

/* Mobile responsive */
@media (max-width: 768px) {
.how-it-works .step-container {
    flex-direction: column;
}
.how-it-works .step.step-left img {
  width:100%;
}
.how-it-works .step {
    width: 90%;
}

.how-it-works .step .additional-content {
    left: auto;
    right: auto;
    top: 100%;
    transform: translateY(20px);
}
}



.animate { 
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.step-left {
  transform: translateX(-50px);
}
.step-right {
  transform: translateX(50px);
}
.step-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.step-left.reset {
  opacity: 0;
  transform: translateX(-50px);
  transition: none;
}
.step-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.step-right.reset {
  opacity: 0;
  transform: translateX(50px);
  transition: none;
}

/* Page Content */
section.page-content {
  background-color: #f2f2f2;
}
section.page-content.bhrt {
  background-color: var(--color-tan);
}
/* 404 */
.four-o-four .display-1 {
  font-size: 6rem;
  font-weight: 700;
  color:var(--color-maroon) !important;
}
section.results-time .card-body h5 {
  text-align: center;
  padding:1rem 4rem; 
  font-weight: 600;
  font-size: 1.5rem;
  min-height: 90px;
}
section.results-time .tab-content:nth-of-type(1) .tab-pane:nth-of-type(1) p:nth-of-type(1){
  font-size:3.5rem;
  text-align:center;
  color:var(--color-maroon);
  font-weight: 600;
}
section.results-time .tab-content:nth-of-type(1) .tab-pane:nth-of-type(2) p:nth-of-type(1){
  font-size:3.5rem;
  text-align:center;
  color:var(--color-blue);
  font-weight: 600;
}
section.results-time .tab-content:nth-of-type(1) .tab-pane:nth-of-type(3) p:nth-of-type(1){
  font-size:3.5rem;
  text-align:center;
  color:var(--color-orange);
  font-weight: 600;
}
section.results-time .tab-content:nth-of-type(1) .tab-pane:nth-of-type(1) p:nth-of-type(2){
  font-size:1rem;
  text-align:center;
  color:var(--color-maroon);
  font-weight: 600;
}
section.results-time .tab-content:nth-of-type(1) .tab-pane:nth-of-type(2) p:nth-of-type(2){
  font-size:1rem;
  text-align:center;
  color:var(--color-blue);
  font-weight: 600;
}
section.results-time .tab-content:nth-of-type(1) .tab-pane:nth-of-type(3) p:nth-of-type(2){
  font-size:1rem;
  text-align:center;
  color:var(--color-orange);
  font-weight: 600;
}
section.results-time .nav-pills .nav-link.active {
  background-color: var(--color-maroon);
  color:var(--color-white);
}
section.results-time .nav-pills .nav-link {
  color: var(--color-black);
}
section.results-time .nav-pills {
margin-top:1rem;
}
section.results-time .tab-content .tab-pane p.text-start{
  color: var(--color-maroon);
  font-size: 1rem;
  font-weight: 600;
  margin: 0.1rem 0;
}

section.results-time .nav-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* Adjust spacing between tabs */
}

section.results-time .nav-pills .nav-item {
  text-align: center;
}
/* Woo Override */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--color-maroon);
  font-weight: 600;
  font-size: 1.3rem;
}
.woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
  background: #ededed;
  text-align: center;
  padding: 2rem;
  border-radius: 0 35px 0 35px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease-in-out;
}
.woocommerce ul.products.columns-3 li.product:hover {
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25);
}
.woocommerce ul.products li.product .button {
  display: inline-block;
  margin-top: 1em;
  background: var(--color-maroon);
  color: var(--color-white);
}
.woocommerce-Price-amount.amount bdi {
  color:var(--color-black);
}
.woocommerce ul.products li.product a img {
  margin: 0 auto;
  padding: 1rem 0;
}
.woocommerce ul.products li.product .onsale {
  top: 0px;
  right: auto;
  line-height: 2.7;
  opacity: 1;
  left: -7px;
  margin: -.5em -.5em 0 0;
}
.services-section.products-services a.service-item {
  text-decoration: none;
}
.services-section.products-services .service-image {
  margin-bottom:0;
}
.services-section.products-services .service-item .cont-contain {
   position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    text-align: center;
}
.services-section.products-services .col-md-6 .service-item {
  background-color: var(--color-maroon);
  position: relative;
}
.wpcf7-spinner {
  display:block;
}
@media (min-width: 768px) {
  .services-section.products-services .row.gy-4 > .col-md-6:nth-child(3) {
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
}
}
@media (max-width: 767px) {
  .services-section.products-services .row.gy-4 > .col-md-6 {
    max-width: 100%;
  }
}
body.single-product .content-area .woocommerce-product-gallery__wrapper img{
  width: 25% !important;
  margin: 0 auto;
}
body.single-product .content-area .product_cat-services .woocommerce-product-gallery__wrapper img{
  width: 100% !important;
}
body.single-product .content-area div.product {
  margin: 4rem 0;
}
.woocommerce span.onsale {
  background-color: var(--color-maroon);
} 
body.single-product .content-area div.product .price ins bdi {
  font-size: 2rem;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price, 
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block .wc-block-components-product-name {
  color: var(--color-maroon);
}
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block .wc-block-components-product-name {
  font-weight:600;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
  background-color: var(--color-maroon);
} 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover {
  background-color: var(--color-blue);
} 
.woocommerce .quantity .qty {
  min-height: 36px;
}
.woocommerce .woocommerce-breadcrumb {
  font-size: 1rem;
  color: var(--color-maroon);
  font-weight: 600;
  margin: 1.3rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-blue);
}
.woocommerce .woocommerce-ordering select {
  vertical-align: top;
  border: 1px solid #acacac;
  padding: 10px;
  border-radius: 25px;
}
.woocommerce ul.products li.product_cat-products a img {
  width: 25%;
}
.woocommerce ul.products li.product_cat-services a img {
  height: 300px;
  width: 100%;
}
body.woocommerce-page .content-area, body.woocommerce-page .wp-block-woocommerce-cart, body.woocommerce-page .wp-block-woocommerce-checkout, body.woocommerce-page .woocommerce {
  width: 1300px;
  margin: 0 auto;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__description p {
  font-size:1rem;
}
header.woocommerce-products-header {
  background-color: var(--color-white);
  padding: 0 0 12px;
  margin-bottom: 25px;
  box-shadow: none;
  border-bottom: 1px solid var(--color-blue);
}
header.woocommerce-products-header h1 {
  color: var(--color-maroon);
  font-size: 2.5rem;
  font-weight: 800;
}
.woocommerce .products ul, .woocommerce ul.products {
  padding-top:1rem;
}
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block, body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  margin: 5rem auto;
}
body.woocommerce-checkout .wc-block-checkout, body.woocommerce-account .woocommerce {
  margin: 1rem auto;
}
body.woocommerce-account .woocommerce .u-column1.col-1.woocommerce-Address {
  width: 100%;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content a {
  color: var(--color-maroon);
  font-weight:600;
}
body.woocommerce-account .woocommerce-MyAccount-content {
  margin-top: 2rem;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
  list-style-type: none;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li {
  background-color: var(--color-maroon);
  text-align: center;
  margin: 1rem;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a {
  color:var(--color-white);
  text-decoration: none;
  font-weight:600;
  padding: 15px 0;
  width: 100%;
  display: block;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li:hover {
  background-color: var(--color-blue);
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li:hover a {
  color:var(--color-black);
}
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block .wc-block-components-button {
  background-color: var(--color-maroon);
  color:var(--color-white);
  text-decoration: none;
  font-weight:600;
  text-transform: uppercase;
}
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block .wc-block-components-button:hover, body.woocommerce-cart .wp-block-woocommerce-filled-cart-block .wc-block-components-button:focus {
  background-color: var(--color-blue);
  color:var(--color-black);
}
body.woocommerce-page #sidebar{
  display:none;
}
body.woocommerce-page .woocommerce-order {
  margin:4rem 0;
}
body.woocommerce-page .woocommerce-thankyou-order-received {
  margin-bottom: 3rem;
  color: var(--color-maroon);
  font-weight: 700;
  font-size: 1.5rem;
}
body.woocommerce-page .woocommerce-table__product-name.product-name a {
  color: var(--color-maroon);
}
body.page-template-shop .services-section {
  padding: 4rem 0;
}
.timeslot-booking {
  margin: 20px 0;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 5px;
}
.timeslot-booking label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}
.timeslot-booking input[type="text"],
.timeslot-booking select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-height: 55px;
}
.ui-datepicker {
  background: white;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 100 !important;
}
.booked-slot {
  color: #999;
  text-decoration: line-through;
}
.services-section.bhrt-services.lab-testing h2{
  margin-bottom: 1rem;
}
.services-section.bhrt-services.lab-testing .cont-contain h3, .services-section.bhrt-services.lab-testing .cont-contain h4 {
   color:var(--color-black);
}
.services-section.bhrt-services.lab-testing .cont-contain h3  {
  font-size:2.5rem;
}
.lab-results {
  padding:3rem;
}
.lab-results .heading {
  padding:1.5rem;
  font-size:1.3rem;
  font-weight:600;
}
/* Multi-Step Form Container */
.cf7-multi-step {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.total-head input {
  font-size: 2rem;
    font-weight: 600;
    background: transparent;
    border: 0;
    width: 45px;
    color: var(--color-maroon);
}
.cf7-multi-step.active {
  display: block;
  opacity: 1;
}
.cf7-multi-step p {
  font-size:1.1rem;
}
input[name="overall-total"] {
  width: 50px;
  font-size: 2rem;
    font-weight: 600;
    background: transparent;
    border: 0;
    width: 45px;
    color: #fff;
}
.cf7-multi-step .next-btn {
  float: right;
  margin-top: -57px;
  z-index: 111;
  position: relative;
}
.total-head {
  margin-bottom: 1rem;
}
.cf7-multi-step .col-md-3{
  font-size: 16px;
  background: var(--color-blue);
  padding: 1rem;
  width: 22%;
  margin: 1rem;  
  min-height: 500px;
  border-radius: 25px;
  box-shadow: #00000040 0px 5px 15px 0px;
}
.cf7-multi-step.step-1 img {
border-radius: 35px 0 35px 0;
}
/* Select elements inside labels, within a .col-md-3 div */
.cf7-multi-step .col-md-3 label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.total-head .wpcf7-form-control-wrap {
  padding-right: 2rem;
}
.cf7-multi-step .col-md-3 select {
  margin-left: auto; /* Pushes the select element to the right */
}
.form-wrapper {
  font-size: 16px;
  background: var(--color-blue);
  padding: 2rem 1rem;
  margin: 1rem;  
  width:75%;
  border-radius: 0 35px 0 35px;
  box-shadow: #00000040 0px 5px 15px 0px;
}
.form-wrapper input {
  margin: 0.75rem 0;
}
.cf7-multi-step .col-md-3.overall-total {
  min-height:auto;
    background-color:var(--color-maroon);
    color:var(--color-white);
    height: 310px;
}
.cf7-multi-step .col-md-3.overall-total p{
  color: #fff;
}
.cf7-multi-step .col-md-3 label {
  font-size:1rem;
}
/* TEMPORARY HIDE VALIDATION */
.wpcf7-not-valid-tip {
  display:none !important;
}
/* Progress Bar */
.cf7-progress {
  width: 100%;
  height: 8px;
  background: #f3f3f3;
  border-radius: 5px;
  margin-bottom: 15px;
  overflow: hidden;
}
.col-md-3 {
  position: relative;
}
.modal-content {
  background:#fff;
}
.modal-content .btn.btn-secondary {
  margin-top:1rem;
}
.total-head {
  position: absolute;
  bottom: 0;
  width: 100%; /* To make sure the total-head takes the full width of the column */
}
.cf7-progress-bar {
  width: 0;
  height: 100%;
  background: var(--color-maroon);
  transition: width 0.4s ease-in-out;
}

/* Buttons */
.next-btn, .prev-btn {
  background: var(--color-maroon);
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.next-btn:hover, .prev-btn:hover {
  opacity:0.7;
}

/* Error Styling */
.error {
  border: 2px solid red !important;
}

.product-list .col-lg-1\/5 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 992px) {
  .product-list .col-lg-1\/5 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
  
.product-list .btn-primary {
  font-size: 15px;
}
  .products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .products-container::before {
    content: "";
    display: block;
    width: 0;
    order: 1;
  }
  
  /* For exactly 5 products with 3 in the first row and 2 in the second */
  .products-container .product-item:nth-child(n+4) {
    margin-left: auto;
    margin-right: auto;
  }
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Creates a 1:1 aspect ratio box */
  overflow: hidden;
}

.product-image-wrapper .main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* This maintains aspect ratio while fitting within the container */
  transition: opacity 0.3s ease;
}
.product-list .card a:hover, .product-list .card a:focus {
  opacity:1 !important;
}
.product-list .card .card-title a, .product-list .card .coming-soon-label {
  color:var(--color-maroon);
  font-size: 19px;
}
.faq-section a, .accordion-button {
  color:var(--color-maroon);
}

.step-container {
  margin-bottom: 2rem;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* Three equal columns */
  position: relative;
  transition: all 0.3s ease;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.step.step-right {
  direction: rtl; 
}

.step.step-right > div {
  direction: ltr; 
}

.step-image-col {
  overflow: hidden;
  border-radius: 0 8px 8px 0;
  height: 100%;
}

.main-content-col {
  padding: 1.5rem;
  position: relative;
  text-align:left;
}

.additional-content-col {
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align:left;
}

.step:hover .additional-content-col {
  opacity: 1;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.step:hover .service-image {
  transform: scale(1.05);
}

.step h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #333;
}

.step p {
  color: #333;
  margin-bottom: 0.5rem;
}

.step ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.step li {
  margin-bottom: 0.5rem;
}
.additional-content-col p {
  padding:0 !important;
}
.bi-arrow-left, .bi-arrow-right {
  position: absolute;
  top: 1rem;
  color: #000;
  font-size:2rem;
}
.bi-arrow-right {
  right:1rem;
  top: 24px;
}
.bi-arrow-left {
  left: 1rem;
  top: 24px;
}
.animate {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}

.step-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .step {
    grid-template-columns: 1fr; /* Stack on mobile */
    grid-template-rows: auto auto auto;
    direction: ltr; /* Reset direction on mobile */
  }
  
  .step-image-col {
    border-radius: 8px 8px 0 0;
    order: 1; /* Image first on mobile */
  }
  
  .main-content-col {
    order: 2; 
  }
  
  .additional-content-col {
    opacity: 1; /* Always show on mobile */
    order: 3; /* Additional content third on mobile */
  }
}
/* FOOTER */
footer {
  background-color: #F2F2F2;
  color: var(--color-black);
  font-size: 0.9rem;
  padding: 50px 15px;
  box-sizing: border-box;
  clear: both;
}
footer .address a {
  color: var(--color-black);
  text-decoration: none;
}
footer .address a:hover {
  color: var(--color-orange);
  text-decoration: underline;
}

footer .mb-0 {
  color: #707070;
}

footer .col-md-4 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}

footer .footer-logo {
  max-height: 60px;
  margin-bottom: 10px;
}

footer .address {
  margin-bottom: 5px;
  line-height: 1.6;
}

footer p {
  margin: 0;
}

footer .footer-links {
  display: flex;
  gap: 20px;
}

footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-links ul li {
  margin-bottom: 10px;
}

footer .footer-links a {
  color: var(--color-maroon);
  text-decoration: none;
  font-size: 0.9rem;
}

footer .footer-links a:hover {
  text-decoration: underline;
}

footer .social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

footer .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f2f2f2;
  color: #007b8f;
  transition: background-color 0.3s, color 0.3s;
}

footer .social-icons a:hover {
  background-color: var(--color-orange);
  color: #fff;
}

footer .bottom-footer {
  padding-top: 50px;
}

footer .bottom-footer .mb-0 {
  font-size: 12px;
  margin: 0 auto;
}

footer .bottom-footer img {
  padding: 0 5px;
}

footer .col-md-4 .row {
  border-left: 1px solid var(--color-maroon);
  padding-left: 20px;
}

footer .col-md-4 .row .col-md-6:first-child ul li a {
  font-weight: 700;
  text-transform: uppercase;
}

footer .col-md-4 .row .col-md-6:nth-of-type(2) ul li a {
  text-transform: uppercase;
  color: #707070;
  font-size: 12px;
}
footer .address .address-wrap {
  display:inline-block;
}
@media (max-width: 768px) {
  footer {
    padding: 30px 15px;
  }
  footer .address .address-wrap {
    display: block;
    padding: 0.2rem 0;
}
  footer .bottom-footer .mb-0 {
    margin-left: 7px;
}
  footer .footer-links {
    gap: 20px;
  }
  footer .footer-links ul {
    text-align: left;
  }
  footer .social-icons {
    justify-content: center;
    gap: 15px;
  }
  footer .bottom-footer {
    padding-top: 20px;

  }
  footer .col-md-4 {
    margin-bottom: 20px;
    border-top: 1px solid #007b8f;
    padding-top: 1.4rem;
  }
  footer .col-md-4 .row {
    display: flex; 
    gap: 20px;
  }
  footer .col-md-4 .row .col-md-6 {
    flex: 1;
  }
}