:root {
  --primary-color: #2f1e6e;
  --secondary-color: #745090;
}

.text-primary {
  color: var(--primary-color) !important;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.5 !important;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

.btn {
  border: none !important;
  border-color: transparent !important;
}

.btn.focus,
.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-secondary {
  background-color: var(--secondary-color) !important;
  color: white !important;
}

p {
  line-height: 1.5 !important;
  font-size: 1rem !important;
}

.top-bar {
  background-color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1048;
}

.navbar {
  background-color: white;
  color: black !important;
  height: 6rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 35px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1020;
}

body {
  padding-top: calc(30px + 6rem); /* top-bar height + navbar height */
}

.navbar-nav {
  flex-wrap: wrap; /* allow wrapping to second line */
}

.nav-item {
  white-space: nowrap; /* prevent individual item text from breaking */
}

.book-now-btn {
  white-space: nowrap;
}

a.nav-link {
  padding-bottom: 0 !important;
}

/* li.nav-ite {
  padding: 0 !important;
  margin: 0 !important;
} */

.navbar-brand,
.navbar-nav .nav-link {
  color: black !important;
  font-weight: 500;
}

.book-now-btn {
  background-color: var(--secondary-color);
  color: white;
}

/* Hamburger Icon Animation */
.navbar-toggler {
  border: none !important;
  outline: none !important;
  position: relative;
  z-index: 1100;
  box-shadow: none !important;
  padding: 0.5rem;
}

.card-img-top {
  height: 200px !important;
  object-fit: cover !important;
}

.blog-heading {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  margin-bottom: 2rem;
}

.blog-img {
  height: 400px !important;
  width: 80% !important;
  object-fit: cover !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.navbar-toggler .bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  transition: all 0.3s;
  background-color: var(--primary-color);
}

.navbar-toggler.collapsed .bar:nth-child(1) {
  transform: rotate(0) translate(0, 0);
}

.navbar-toggler.collapsed .bar:nth-child(2) {
  opacity: 1;
}

.navbar-toggler.collapsed .bar:nth-child(3) {
  transform: rotate(0) translate(0, 0);
}

.navbar-toggler:not(.collapsed) .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: white;
}

.navbar-toggler:not(.collapsed) .bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: white;
}

/* Full screen mobile menu */
.navbar-collapse {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 100%;
  background-color: var(--primary-color);
  padding-top: 100px;
  transition: right 0.4s ease;
  z-index: 1050;
  overflow-y: auto;
}

.navbar-collapse.show {
  right: 0;
}

/* Mobile menu styling */
.navbar-nav {
  width: 100%;
  padding: 0 20px;
}

.navbar-nav .nav-item {
  margin: 0;
}

.navbar-expand-lg .navbar-nav {
  justify-content: start !important;
}

.navbar-nav .nav-link {
  color: white !important;
  font-size: 0.925rem;
  text-align: center;
  font-weight: 400 !important;
}

.navbar-nav .book-now-btn {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}


/* Dropdown on hover */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}


/* Prevent body scrolling when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Media query for larger screens */
@media (min-width: 992px) {
  .navbar-collapse {
    position: static;
    height: auto;
    width: auto;
    padding-top: 0;
    background-color: transparent;
    overflow: visible;
    transition: none;
  }

  .navbar-nav .nav-link {
    color: black !important;
  }

  body.menu-open {
    overflow: auto;
    position: static;
  }
}

.hero {
  background: url("images/h.jpeg") center center/cover no-repeat;
  height: 60vh;
  position: relative;
  top: 0px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(47, 30, 110, 0.5); /* primary color overlay */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtext {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.social-icons a {
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ccc;
}

.clinic-intro {
  background-color: #f3f3f3;
}

.clinic-intro h3 {
  font-weight: 600;
  color: var(--primary-color);
}

.clinic-intro p {
  color: #333;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
}

.clinic-objectives div > h2 {
  font-weight: 700;
  color: var(--primary-color);
}

.clinic-objectives p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* Tagline Section */
.tagline {
  background-color: #f8f9fa;
  color: #2f1e6e;
  padding: 4rem 0;
}

.tagline h3 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.tagline p {
  font-size: 1.25rem;
  color: #745090;
}

/* Core Values Section */
.core-values .card {
  border: 2px solid var(--primary-color) !important;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.core-values .card:hover {
  transform: translateY(-5px);
}

.core-values .card-title {
  font-weight: 600;
  color: var(--primary-color);
}

.core-values .card-text {
  color: #333;
}

/* Icon Style */
.values-icon {
  color: var(--primary-color) !important;
}

.core-values h2 {
  font-weight: 700 !important;
  color: var(--primary-color);
  font-size: 1.5rem !important;
}

.core-values .card.h-100 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.core-values .row {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.core-values .col-md-4 {
  display: flex;
  justify-content: center;
}

/* Vision and Mission Section */
/* Vision & Mission Section Styling */
.vision-mission {
  position: relative;
  overflow: hidden;
  padding: 0 0 !important;
}

.vision-mission .container {
  padding: 0;
}

.vision-mission .row {
  margin: 0;
  /* min-height: 500px; */
}

/* Image styling */
.vision-image-container {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.vision-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

/* Content styling */
.vision-content {
  padding: 3rem 1rem;
  background-color: #2f1e6e;
}

.vision-content h3 {
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.vision-content h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: white;
}

.vision-content p {
  font-weight: 400;
  line-height: 1.7;
}

/* Media query for mobile devices */
@media (max-width: 991px) {
  .vision-mission .row {
    flex-direction: column;
  }

  .vision-image-container {
    height: 300px;
  }

  .vision-content {
    padding: 2rem 1rem;
  }
}

/* Founders Section */
.founders {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.founder-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.founder-card img {
  border-radius: 50%;
  border: 4px solid --primary-color;
}

.founder-heading {
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  color: var(--primary-color);
  margin-top: 2rem;
}

.founder-card h4 {
  font-size: 1.5rem !important;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.founder-card p {
  font-size: 1rem;
  color: var(--primary-color);
}

.founder-card .btn-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.founder-card .btn-link:hover {
  color: #745090;
}

tbody tr td {
  font-weight: 600 !important;
}

/* Base table styling */
.therapy-interventions {
  background-color: #f8f9fa;
}

.therapy-interventions .founder-heading {
  color: #2f1e6e;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.therapy-interventions .founder-heading:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #2f1e6e;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.therapy-table {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.therapy-item {
  padding: 15px;
  font-weight: 500;
  color: #333;
  background-color: white;
  transition: all 0.3s ease;
}

.therapy-item:hover {
  background-color: #f5f5f5;
}

/* Media query for mobile view */
@media (max-width: 767px) {
  .therapy-table tr {
    display: flex;
    flex-direction: column;
  }

  .therapy-table td {
    display: block;
    width: 100%;
    border-bottom: 1px solid #dee2e6;
  }

  /* Remove double borders */
  .therapy-table tr:not(:last-child) td:last-child {
    border-bottom: 2px solid #dee2e6;
  }

  /* Add spacing between items */
  .therapy-item {
    padding: 12px 15px;
  }
}

/* Footer Section Styling */
.footer {
  background-color: var(--primary-color);
  color: white;
}

.footer-logo-img {
  height: 80px;
  width: 80px;
  border-radius: 10px;
}

.footer h5 {
  font-weight: bold;
}

.footer ul li {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer ul li a {
  color: white;
  text-decoration: none;
}

.footer ul li a:hover {
  text-decoration: underline;
}

.footer .text-center p {
  font-size: 14px;
  margin-top: 20px;
}

/* Map Section Styling */
.map-section {
  background-color: #f4f4f4;
  padding: 30px 0;
}

.map-section h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.map-container {
  width: 100%;
  height: 500px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* About Us Hero Section */
.about-us-hero {
  background-color: #f4f4f4;
  padding: 50px 0;
}

.about-us-hero .icon-container {
  display: inline-block;
  margin-bottom: 30px;
}

.about-us-hero h1 {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
}

.about-us-hero p.lead {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

/* Mission, Vision, and Values Section */
.mission-vision-values {
  background-color: var(--primary-color);
  padding: 50px 0;
  color: white !important;
}

.mission-vision-values h2 {
  font-size: 36px;
  font-weight: bold;
  color: white;
}

.mission-vision-values .lead {
  font-size: 18px;
  color: white;
  line-height: 1.6;
}

/* Core Values Section */
.value-card {
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  text-align: center;
}

.value-card h4 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
}

.value-card p {
  font-size: 16px;
  color: #555;
}

.value-card i {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* About Page Features Section */
.features {
  background-color: var(--primary-color);
}

.features h2 {
  color: white;
}

.features .feature-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.features .feature-card i {
  color: var(--primary-color);
}

.features .feature-card h4 {
  color: var(--primary-color);
  margin-top: 15px;
}

.features .feature-card p {
  color: #333;
  margin-top: 10px;
}

/* Quote and Image Section */
/* .quote-image-section {
  background-color: #f4f4f4; 
} */

.quote-image-section .blockquote {
  font-style: italic;
  color: var(--primary-color);
  border-left: 5px solid var(--primary-color);
  padding-left: 20px;
}

.quote-image-section .blockquote-footer {
  text-align: right;
  font-size: 1rem;
  color: #555;
}

.quote-image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Hero Section for Services Page */
.services-hero {
  background-color: var(--primary-color);
  color: white;
}

.services-hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
}

.services-hero p {
  font-size: 1.125rem;
  color: white;
}

.services-hero .btn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  font-size: 1.125rem;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.services-hero .btn:hover {
  background-color: #745090;
}

.services-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: #f8f9fa;
}

.why-choose-us h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.why-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.why-card .icon {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.why-card h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.why-card p {
  font-size: 1rem;
  color: #333;
}

/* Services Section */
.services-section {
  background-color: #f8f9fa;
}

.services-content {
  background-color: var(--primary-color) !important;
  border-radius: 10px;
  padding: 40px;
}

.services-content h2 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 3rem !important;
  margin-top: 3rem;
}

.service-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.service-icon {
  font-size: 30px;
  color: white;
}

.service-item h5 {
  font-size: 1.25rem;
  color: white;
}

.service-item p {
  font-size: 1rem;
  color: white;
}

@media (max-width: 767px) {
  .service-item {
    flex-direction: column;
    text-align: center;
  }

  .service-icon {
    margin-bottom: 10px;
  }
}

/* Contact Page Hero Section */
.contact-hero {
  background-color: var(--primary-color);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 0;
}

.contact-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: bold;
}

.contact-hero .lead {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.contact-info i {
  font-size: 1.4rem;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ff7f50; /* Example hover color */
}

/* Contact / Booking Form Section */
.contact-form {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.contact-form h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.contact-form .form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.contact-form .form-control {
  font-size: 1rem;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.contact-form .btn {
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: var(--primary-color);
  border: none;
  color: white;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #ff7f50; /* Example hover color */
}

.contact-form .row {
  margin-bottom: 20px;
}

/* What We treat */
.icon_what {
  font-size: 2rem !important;
}

.freq {
  margin: auto;
  padding: 5rem;
}

.faq-toggle {
  color: black !important;
  font-weight: 600 !important;
  text-decoration: none;
}

/* .gallery-section {
  padding: 20px;
} */

/* .image-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
} */

/* .gallery-image {
  width: 400px;
  max-width: 48%;
  border-radius: 8px;
} */

.what-img {
  height: 300px;
  height: 300px !important;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .contact-form h2 {
    font-size: 2rem;
  }

  .contact-form .form-control {
    font-size: 0.9rem;
  }

  .contact-form .btn {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-hero .lead {
    font-size: 1rem;
  }

  .contact-info p {
    font-size: 1rem;
  }
}

/* Make sure it's responsive */
@media (max-width: 767px) {
  .why-card {
    margin-bottom: 20px;
  }

  .mission-vision {
    padding: 0 1rem !important;
  }
}

@media (max-width: 767px) {
  .value-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 992px) {
  /* .navbar-collapse {
    position: static;
    height: auto;
    width: auto;
    background: none;
    padding-top: 0;
    display: flex !important;
  } */

  .navbar {
    top: 55px;
  }

  .about-heading {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 768px) {
  .divider {
    border-left: 1px solid #dee2e6;
    height: 100%;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    -ms-flex-direction: row;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: start !important;
  }

  .top-bar {
    z-index: 1048;
  }

  .nav_a_link {
    padding: 1rem 3rem !important;
  }
}


@media (min-width: 992px) {
   /* Show dropdown on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}


/* Show dropdown on hover (desktop only) */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}


/* Optional: Adjust position if needed */
.navbar-nav .dropdown-menu {
    margin-top: 0;
}

}


.referral-hero-section {
  position: relative;
  background-image: url('./images/referral_bg2.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  height: 60vh;
  color: white;
}

.referral-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color:rgba(47, 30, 110, 0.5); /* Dark overlay */
  z-index: 1;
}

.referral-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 40%;
  transform: translateY(-50%);
}

.ref_p {
  font-size: 3rem;
  padding: 2px 30px;
  font-weight: 600;
}

.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: block;
}





/* style.css */

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #004080;
}

.navbar .dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.btn-primary {
    background-color: #004080;
    border-color: #004080;
}

.btn-primary:hover {
    background-color: #003366;
    border-color: #003366;
}


/* Style for the white toggler icon */
.navbar-toggler-icon-white {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Style for the white toggler button border */
.navbar-toggler-white {
  border-color: rgba(255, 255, 255, 0.5) !important;
}