/* Base Styles */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
}

:root {
  --primary: #2d3c6a;
  --secondary: #4e6cb3;
  --accent: #e6eaf5;
  --text: #222;
  --gray: #888;
  --border: #e0e0e0;
  --font: 'Montserrat', Arial, sans-serif;
}

/* Utility Classes (for centering content within sections) */
/* Using Bootstrap's .container class now, but keeping .container-custom for specific width control if needed */
/* .container-custom {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
} */

/* Fixed Header */

header {
  background: #fff;
  padding: 15px;
  overflow: hidden;
}

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

img {
  max-width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2d3c6a;
  letter-spacing: 1px;
}

.logo img {
  width: 20%;
}

.handle-logo {
  margin: 0 auto;
}

nav {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  width: 100%;
}

nav a {
  text-decoration: none;
  margin: 0 18px;
  font-weight: 600 !important;
  font-size: 1rem;
  transition: color 0.2s;
  letter-spacing: 1px;
}

.navbar-nav li a {
  color: #4067B1;
}

nav a:hover {
  color: #4067B1;
}

.navbar-nav li {
  position: relative;
}


.navbar-nav li:first-child::before,
.navbar-nav li:last-child::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 1px;
  background: #000;
  bottom: 19px;
  display: none;
}

.navbar-nav li:last-child::after {
  right: -40px;
}

.navbar-nav li:first-child::before {
  left: -40px;
}

.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  box-shadow: 0 2px 16px rgba(66, 105, 178, 0.08);
  animation: slideDown 1s;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 700px;
  /* Minimum height for hero section */
}


.hero-content-wrap {
  position: relative;
  z-index: 1;
  /* Removed flex properties, now relying on Bootstrap row/col */
  /* gap: 50px; */
  /* Gap will be handled by Bootstrap's gutter */
  max-width: 1140px;
  /* Keeping max-width for content inside Bootstrap container */
  margin: 0 auto;
  padding: 0 15px;
}

.hero-text-content {
  /* flex: 1; */
  /* Removed flex property */
  /* min-width: 350px; */
  /* Removed min-width */
  /* max-width: 600px; */
  /* Removed max-width */
  text-align: left;
}

.hero-welcome {
  font-size: 2.8rem;
  /* Larger font size */
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.hero-title {
  font-size: 4.2rem;
  /* Significantly larger font size */
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 40px;
  color: #fff;
}

.consultation-form-block {
  background-color: #ffffff;
  padding: 35px 120px 35px 60px;
  max-width: 550px;
  text-align: left;
  position: absolute;
  right: 0px;
  top: 100px;
  z-index: 1;
  border-radius: 0px 10px 0px 80px;
  width: 100%;
}

.form-heading {
  font-size: 2rem;
  /* Adjusted font size */
  font-weight: 600;
  color: #4067B1;
  margin-bottom: 30px;
  text-align: center;
}

.form-field-group {
  margin-bottom: 16px;
  /* Increased spacing */
}

.form-field-group label {
  display: block;
  font-size: 18px;
  color: #4067B1;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-field-group input,
.form-field-group textarea {
  width: 100%;
  padding: 8px 18px;
  border: 1px solid #4067B1;
  border-radius: 0px;
  font-size: 1rem;
  color: #4067B1;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field-group input:focus,
.form-field-group textarea:focus {
  outline: none;
  border-color: #4067B1;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
}

.form-submit-button {
  background-color: #4067B1;
  color: #ffffff;
  padding: 8px 28px;
  border: none;
  border-radius: 25px;
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  width: auto;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 8px rgba(0, 123, 255, 0.3);
}

.form-submit-button:hover {
  background-color: #555;
  transform: translateY(-2px);
}

/* General Section Styles */
.section-spacing {
  padding: 80px 0;
  /* Consistent section padding */
}

.section-spacing-top {
  padding-top: 80px;
}

.section-main-heading {
  font-size: 4rem;
  font-weight: 500;
  color: #4067B1;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.2;
  position: relative;
}

.section-main-heading:after {
  content: '';
  width: 25%;
  height: 1px;
  background: #4067B1;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: 0 auto;
}

.section-main-heading span {
  display: block;
}

.section-sub-heading {
  font-size: 2rem;
  font-weight: 500;
  color: #4067B1;
  margin-bottom: 60px;
  text-align: center;
}

/* What We Treat Section */
.treat-grid-container {
  position: relative;
}

.treat-card {
  background-color: #ffffff;
  padding: 30px;
  /* Increased padding */
  border-radius: 10px;
  /* More rounded corners */
  text-align: center;
  /* flex: 0 0 calc(33.33% - 24px); */
  /* Removed flex properties */
  /* max-width: calc(33.33% - 24px); */
  /* Removed max-width */
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treat-card ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.treat-card ul img {
  width: 100%;
}

.treat-card ul li {
  border-right: 1px solid #4067B1;
}

.treat-card ul li:last-child {
  border: 0px;
}

/* .treat-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
} */

.treat-icon-placeholder {
  font-size: 3.5rem;
  /* Larger icon */
  color: #007bff;
  margin-bottom: 20px;
}

/* Compare Costs Section */
.cost-table-section {
  background-color: #fff;
  /* Light blue background */
}

.cost-table-container {
  background: #f1f3f9;
  padding: 100px;
  border-radius: 160px 0px 160px 0px;
}

.cost-table-wrapper {
  margin: 0 auto;
  background-color: #ffffff;
  overflow: hidden;
  border: none;
  /* Added border to the wrapper */
}

.cost-comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 20%;
}

.cost-comparison-table th,
.cost-comparison-table td {
  padding: 12px 20px;
  text-align: left;
  border: 1px solid #4067B1;
  font-size: 1rem;
  color: #4067B1;
  font-weight: 500;
  background-color: #f1f3f9;
}

.cost-comparison-table td.font-weight-bold {
  font-weight: 800;
}

.cost-comparison-table th {
  background-color: #f1f3f9;
  color: #4067B1;
  font-weight: 800;
  font-size: 1.2rem;
}

.cost-comparison-table tbody tr:nth-child(even) {
  background-color: #f1f3f9;
}

.cost-comparison-table tbody tr:hover {
  background-color: #f1f3f9;
}

.cost-comparison-table .highlight-row {
  background-color: #f1f3f9;
  /* More prominent light blue for India row */
  font-weight: 700;
  /* Bolder */
  color: #0056b3;
}

/* Programs, Holistic Approach, Why Choose Mindplus, etc. Sections */
.info-card-section {
  background-color: #ffffff;
}

.info-card-section:last-of-type {
  margin-bottom: 0;
}

.bg-light-blue {
  background-color: #eef7fc;
  /* Light blue background for specific sections */
}

/* Facilities Section */
.facilities-showcase {
  padding: 80px 0;
  text-align: center;
}

/* Removed facilities-main-image as it's replaced by carousel */
/* .facilities-main-image {
    max-width: 900px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
} */
.right-col-inner {
  padding: 0px 60px;
  max-width: 700px;
}

.our-programs-row {
  display: flex;
  align-items: center;
}

.left-col-wrap {
  width: 50%;
}

.right-col-wrap {
  width: 50%;
}


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

.custom-list li {
  font-size: 1.09rem;
  line-height: 1;
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
  color: #4067B1;
  font-weight: 500;
}

.custom-list li:last-child {
  margin-bottom: 0px;
}

.right-col-inner .custom-list li {
  color: #4067B1;
  border-bottom: 1px solid #4067B1;
  line-height: 1.5;
  padding-left: 30px;
}

.hero-form {
  flex: 1;
  max-width: 40%;
  margin-left: 30%;
  margin-top: 5%;
  margin-bottom: 5%;
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  gap: 2px;
}

.hero-form input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
}

.hero-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.hero-form button:hover {
  background: var(--secondary);
}

.hero-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 1.1rem;
}

.custom-list li span {
  display: block;
}

.custom-list li::before {
  content: '•';
  /* Bullet point */
  color: #4067B1;
  /* Blue bullet */
  font-size: 1.5rem;
  /* Larger bullet */
  position: absolute;
  left: 0;
  top: 0;
  line-height: .5;
  /* Align bullet with text */
}

.right-col-inner .custom-list li::before {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 20px;
  height: 20px;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../images/bulleticon.png);
  top: auto;
  left: -10px;
}

.holistic-approach-wrap {
  padding-left: 50px;
}

.holistic-approach-right-col {
  margin-top:auto;
}

.why-mindplus-bg {
  background-image: url(../images/background-image.jpg);
  background-position: center;
  background-size: cover;
  margin-top: 70px;
}

.mindplusContentwrap {
  background-color: #4067B1;
  width: 50%;
  padding: 40px 100px 40px 100px;
  border-radius: 0px 60px 0px 0px;
}


.mindplusContentwrap h3 {
  color: #fff;
  font-weight: bold;
  font-size: 2.5rem;
  line-height: 1;
}

.mindplusContentwrap span {
  display: block;
}

.mindplusContentwrap .custom-list li {
  color: #fff;
}

.mindplusContentwrap .custom-list li::before {
  color: #fff;
}

.mindplusContentwrap p {
  font-size: 1.09rem;
  line-height: 1.8;
  position: relative;
  color: #fff;
  font-weight: 500;
  margin-top: 30px;
}

.left-rehab-outpatient-row,
.right-rehab-outpatient-row {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid #4067B1;
  justify-content: center;
  border-bottom: 1px solid #4067B1;
}

.right-rehab-outpatient-row {
  border-top: 0px;
}

.left-rehab-outpatient-row .custom-list {
  text-align: center;
}


.left-rehab-outpatient-row .custom-list li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0px;
  color: #4067B1;
  display: flex;
  /* Make li a flex container */
  justify-content: center;
  /* Center the content horizontally */
  align-items: flex-start;
  /* Align items to the start of the cross axis (top) */
  padding-left: 0;
  /* Remove padding-left as flexbox handles spacing */
  text-align: center;
  /* Ensure text itself is centered within the flex item */
}

.left-rehab-outpatient-row .custom-list li::before {
  content: '•';
  color: #4067B1;
  font-size: 1.5rem;
  position: static;
  /* Reset to normal flow */
  margin-right: 2px;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  top: 0px;

}

.section-inner-heading {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  color: #4067B1;
}

.section-inner-heading span {
  display: block;
}

.rehab-outpatient-content {
  border-right: 1px solid #4067B1;
  padding: 30px 30px 20px;
  width: 40%;
}

.rehab-international-content {
  padding: 30px 30px 20px;
  width: 40%;
}

.owl-theme .owl-dots .owl-dot span {
  height: 15px;
  width: 15px;
}

#book-consultation .owl-carousel .owl-dot.active span {
  background-color: #4067B1 !important;
}

.owl-carousel .item {
  background-color: #ffffff;
  text-align: center;
  height: 100%;
  /* Ensure items have consistent height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.owl-carousel .item img {
  max-width: 100%;
  object-fit: cover;
  /* Cover the area, crop if needed */
  margin-bottom: 15px;
}

.owl-carousel .owl-dots {
  margin-top: 20px;
}

.owl-carousel .owl-dot span {
  background: #ccc !important;
}

.owl-carousel .owl-dot.active span {
  background: #007bff !important;
}

.topOwlBanner .owl-dots .owl-dot.active span {
  background: #4269b2;
}

.owl-nav button {
  width: 12%;
  position: absolute;
}

.owl-nav button img {
  width: 100%;
}

.owl-nav button.owl-next {
  transform: rotate(180deg);
  right: 35%;
  top: 2px;
}

.owl-nav {
  position: relative;
  bottom: 0px;
  right: 0px;
  z-index: 999;
  height: 100px;
  top: 40px;
}

.owl-nav button.owl-prev {
  left: 35%;
}

.facility-img-wrapper,
.facility-img-wrapper img {
  border-radius: 40px 0px 40px 0px;
}

.facility-img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(66, 105, 178, 0.04);
}

/* Footer Section */
.main-footer {
  color: #4067B1;
  padding: 60px 0;
  /* Increased padding */
  text-align: center;
}

.footer-content-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-main-heading {
  font-size: 4.5rem;
  font-weight: 500;
  margin-bottom: 25px;
  line-height: 1;
  position: relative;
}


.footer-main-heading::before,
.footer-main-heading::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 0;
  width: 150px;
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Background image on the left */

.footer-main-heading::before {
  left: 80px;
  background-image: url('../images/footer-icon-left.png');
}

/* Background image on the right */
.footer-main-heading::after {
  right: 50px;
  background-image: url('../images/footer-icon-right.png');
}

.footer-main-heading span {
  display: block;
}

.footer-contact-info p {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-contact-info a {
  color: #4067B1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: #555;
  /* Lighter blue on hover */
  text-decoration: underline;
}

.footer-cta-message {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  border-top: 1px solid #4067B1;
  border-bottom: 1px solid #4067B1;
  padding: 20px 0px;
  max-width: 800px;
  margin: 50px auto 0px;
}

#what-we-treat,
#our-programs,
#holistic-approach,
#why-mindplus,
#rehab-vs-outpatient,
#post-discharge-care,
#medical-tourism,
#our-facilities {
  scroll-margin-top: 180px;
  /* Use the same value for consistency */
}
.sideThankyoutext {
  position: relative;
  margin-left: 50px;
}

.ThankWrappericon {
  position: absolute;
  top: -248px;
  left: -90px;
  width: 100%;
}

.ThankWrappericon img {
  width: 70%;
}
.ourpersonalised {
  margin-bottom: 2rem;
}
.addBorderandbutton {
    border: 1px solid #4067B1;
    padding: 50px 120px;
    border-radius: 60px;
    position: relative;
}
.managepositiontext {
    position: absolute;
    top: -90px;
    background: #fff;
    margin: 0 auto;
    text-align: center;
    left: 0px;
    right: 0px;
    width: 50%;
}
.Team-img-wrapper {
    text-align: center;
    max-width: 180px;
}
.team-blob-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-radius: 170px 120px 130px 0px;
    background: #f8fafc;
}
.Team-img-wrapper .fw-bold {
    font-weight: 600;
    margin-top: 10px;
    font-size: 1.1rem;
}
.Team-img-wrapper div:last-child {
    font-size: 0.95rem;
    color: #555;
}
.newOwllanding .owl-nav {
    height: 70px;
    top: 0px;
}
.managepositionbutton {
    position: absolute;
    bottom: -20px;
    left: 0px;
    right: 0px;
    text-align: center;
}
.managepositionbutton .gray-bgcolor {
    background-color: #4067B1;
    cursor: pointer;
    border-radius: 50px;
    color: #fff;
    border: none;
}

.floating-icon-base {
    position: fixed;
    bottom: 70px;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}
.call-icon-float {
    background-color: #ff9999;
    right: 20px;
    bottom: 70px;
}
.whatsapp-icon-float {
    background-color: #25D366;
    right: 20px;
}

.social-media-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 26px;
  justify-content: center;
  margin-top: 20px;
  font-size: 40px;
  margin-bottom: -20px;
}

.box-border {
    border-top: 1px solid #4269b2;
    border-right: 1px solid #4269b2;
    border-left: 1px solid #4269b2;
    height: 60px;
    border-radius: 90px 70px 0px 0px;
    width: 52%;
    margin: 0 auto 10px;
    position: relative;
}
.box-border.graybox-border {
    border-top: 1px solid #4067B1;
    border-right: 1px solid #4067B1;
    border-left: 1px solid #4067B1;
}

.newlandingmapWrapper {
    text-align: center;
}

.newlandingmapWrapper .col-md-6 > div {
    margin: 0 auto;
}

.holistic-approach-right-col.mt-0 {
    display: flex;
    align-items: center;
}

body {
  zoom: 90%;
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
  .consultation-form-block {
    padding: 35px 60px 25px 30px;
    top: 80px;
    z-index: 1;
    border-radius: 0px 10px 0px 50px;
    max-width: 450px;
  }

  .navbar-nav li a {
    color: #000;
    font-size: 14px;
    margin: 0px;
  }

  .form-field-group {
    margin-bottom: 10px;
  }
}

@media (max-width: 1500px) {
  .left-rehab-outpatient-row .custom-list li{
    font-size: 1rem;
  }
  .consultation-form-block {
    padding: 35px 60px 25px 30px;
    top: 80px;
    z-index: 1;
    border-radius: 0px 10px 0px 50px;
    max-width: 450px;
  }

  .navbar-nav li a {
    color: #000;
    font-size: 12px;
    margin: 0px;
  }

  .form-field-group {
    margin-bottom: 10px;

  }

  .form-field-group input,
  .form-field-group textarea {
    width: 100%;
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: .8rem;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .form-heading {
    font-size: .8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
    text-align: left;
  }

  .form-field-group label {
    margin-bottom: 2px;
    font-size: 1rem;
  }

  .hero-section {
    position: relative;
    min-height: 500px;
  }

  .section-main-heading {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .section-spacing-top {
    padding-top: 40px;
  }

  /* .section-spacing {
    padding: 40px 0 0px;
  } */

  .facilities-showcase {
    /* padding: 40px 0 0px; */
    text-align: center;
  }

  .cost-table-container {
    background: #f1f3f9;
    padding: 50px 100px;
    border-radius: 100px 0px 100px 0px;
  }

  .header-logo {
    max-width: 200px !important;
  }

  .mindplusContentwrap h3 {
    font-size: 1.7rem;
  }

  .custom-list li {
    font-size: 1rem;
  }

  .footer-cta-message span {
    display: block;
  }

  .footer-cta-message {
    font-size: 2rem;
    max-width: 600px;
  }

  .footer-main-heading {
    font-size: 3.5rem;
  }

  .footer-main-heading::before,
  .footer-main-heading::after {
    top: 10px
  }

  .footer-main-heading::before {
    left: 150px;
  }

  .footer-main-heading::after {
    right: 120px;
  }
  .owl-carousel .item img {
    height: 590px;
  }
  #what-we-treat,
  #our-programs,
  #holistic-approach,
  #why-mindplus,
  #rehab-vs-outpatient,
  #medical-tourism,
  #post-discharge-care,
  #our-facilities {
    scroll-margin-top: 131px;
    /* Use the same value for consistency */
  }
}
/* @media (max-width: 1280px) {
  .form-field-group input, .form-field-group textarea{
    padding: 8px 18px;
  }
}
@media (max-width: 1280px) {
  .form-field-group input, .form-field-group textarea{
    padding: 8px 18px;
  }
} */

@media (min-width: 992px) {
  body.body-fixed-padding {
    padding-top: 208px !important;
  }
}

@media (max-width: 992px) {
  body {
    zoom: normal;
  }

  .hero-form {
    flex: 1;
    max-width: 80%;
    margin-left: 10%;
    margin-top: 5%;
    margin-bottom: 5%;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    gap: 2px;
  }

  #what-we-treat,
  #our-programs,
  #holistic-approach,
  #why-mindplus,
  #rehab-vs-outpatient,
  #medical-tourism,
  #post-discharge-care,
  #our-facilities {
    scroll-margin-top: 77px;
    /* Use the same value for consistency */
  }

  .form-field-group {
    margin-bottom: 10px;
  }

  #mainHeader {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .header-wrapperone img {
    max-width: 140px !important;
    height: auto;
    margin-left: 0 !important;
  }

  .handle-logo {
    margin: 0px;
  }

  .navbar-nav li:first-child::before,
  .navbar-nav li:last-child::after {
    display: none;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 24px rgba(66, 105, 178, 0.08);
    padding: 16px 0 8px 0;
    z-index: 1100;
    border-radius: 0 0 18px 18px;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(66,105,178,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  .main-nav ul {
    gap: 18px;
  }

  .main-nav li a {
    font-size: 0.85rem;
  }

  .consultation-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  /* Hero section column adjustments */
  .hero-text-content,
  .consultation-form-block {
    text-align: left;
    /* Center text on smaller screens */
  }

  .hero-title {
    margin-bottom: 20px;
    /* Reduce margin for better fit */
  }

  .hero-content-wrap .row>div {
    padding-bottom: 30px;
    /* Add bottom padding to columns for spacing */
  }

  .hero-content-wrap .row>div:last-child {
    padding-bottom: 0;
  }


  .hero-welcome {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .consultation-form-block {
    max-width: 420px;
    margin: 20px auto 0px;
    position: static;
    padding: 0px 10px;
  }

  /* What We Treat grid adjustments */
  .treat-card {
    margin-bottom: 20px;
    /* Adjust margin for smaller screens */
  }

  .cost-comparison-table th,
  .cost-comparison-table td {
    padding: 15px;
    font-size: 0.9rem;
  }

  .section-main-heading {
    font-size: 2.2rem;
  }

  .section-sub-heading {
    font-size: 1.7rem;
  }

  .info-card-section {
    padding: 35px;
  }

  .footer-main-heading {
    font-size: 2rem;
  }

  .footer-contact-info p {
    font-size: 1.05rem;
  }

  .footer-cta-message {
    font-size: 1.15rem;
  }

  .addBorderandbutton {
    padding: 50px 50px;
  }
  .Team-img-wrapper {
    max-width: 100%;
  }
}

.desktop-hidden {
  display: none !important;
}
@media (max-width: 768px) {
  .desktop-hidden {
    display: block !important;
  }
  .mobile-hidden {
    display: none !important;
  }
  header {
    overflow: visible;
    padding: 0px;
  }
  .hero-section .owl-carousel .item img {
    height: auto;
  }

  .main-header {
    padding: 12px 0;
  }

  .header-content-wrap {
    flex-direction: column;
    gap: 10px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .main-nav li a {
    font-size: 0.8rem;
  }

  .consultation-btn {
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  .hero-section {
    padding: 0px;
    min-height: 300px;
  }

  .hero-welcome {
    font-size: 1.8rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .form-heading {
    font-size: 1.7rem;
  }

  .section-spacing {
    padding: 60px 0;
  }

  .section-main-heading {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .section-sub-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  /* What We Treat grid adjustments */
  .treat-card ul {
    gap: 0;
  }

  .treat-card {
    margin-bottom: 20px;
    padding: 0px;
    /* Adjust margin for smaller screens */
  }

  .cost-table-container {
    background: #fff;
    padding: 10px;
    border-radius: 0px;
  }

  .cost-table-wrapper.desktop-hidden {
    display: flex !important;
    gap: 30px;
    flex-direction: column;
  }
  .cost-comparison-table th, 
  .cost-comparison-table td {
    white-space: normal;
    width: 50%;
  }

  .our-programs-row {
    display: block;
  }

  .left-col-wrap,
  .right-col-wrap {
    width: 100%;
  }

  .right-col-inner {
    padding: 0px 10px;
    max-width: 700px;
    margin-top: 20px;
  }

  .holistic-approach-wrap {
    padding-left: 0px;
    margin-top: 20px;
  }

  .mindplusContentwrap {
    background-color: #4067B1;
    width: 100%;
    padding: 15px;
    border-radius: 0px 60px 0px 0px;
  }

  .left-rehab-outpatient-row,
  .right-rehab-outpatient-row {
    display: block;
  }

  .rehab-outpatient-content {
    border-right: 0px;
    padding: 0px;
    width: 100%;
    margin-top: 20px;
  }

  .rehab-international-content {
    padding: 0px;
    width: 100%;
    margin-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #4067B1;
    padding-top: 20px;
  }

  .info-card-section {
    padding: 25px;
    padding-top: 50px;
    margin-bottom: 0px;
  }
  .why-mindplus-bg {
    margin-top: 0px;
  }

  #medical-tourism, #our-facilities {
    padding-top: 30px;
    padding-left: 13px;
    padding-right: 13px;
    padding-bottom: 0px !important;
  }
  #our-facilities {
    padding-top: 50px;
  }
  .ourpersonalised {
    margin-top: 5px !important;
    margin-bottom: 0px !important;
    padding-left: 13px;
    padding-right: 13px;
  }
  .newlandingmapWrapper {
    padding-left: 13px;
    padding-right: 13px;
  }

  #medical-tourism  .section-main-heading {
    margin-bottom: 30px !important;
  }
  .custom-list li {
    font-size: 0.95rem;
    padding-left: 25px;
  }

  .custom-list li::before {
    font-size: 1.3rem;
  }

  .facilities-showcase {
    padding: 0px;
  }

  .owl-nav button.owl-next {
    top: 3px;
  }

  .section-spacing-top {
    padding-top: 60px;
  }

  .main-footer {
    color: #4067B1;
    padding: 30px 0px 30px;
    text-align: center;
  }

  .footer-main-heading {
    font-size: 1.8rem;
  }

  .footer-main-heading::before,
  .footer-main-heading::after {
    top: 8px;
    width: 80px;
    height: 40px;
  }

  .footer-main-heading::before {
    left: 60px;
  }

  .footer-main-heading::after {
    right: 20px;
  }

  .footer-contact-info p {
    font-size: 1rem;
  }

  .footer-cta-message {
    font-size: 1.05rem;
  }

  .left-rehab-outpatient-row .custom-list li br {
    display: none;
  }

  .left-rehab-outpatient-row .custom-list li {
    font-size: 1rem;
    justify-content: start;
    text-align: left;
  }

  .mobilemap {
      max-width: 100% !important;
  }
  .box-border {
    height: 20px;
    width: 100%;
    display: none;
  }
  .addBorderandbutton {
      padding: 20px 0px;
      border-radius: 20px;
      position: relative;
  }
  .managepositiontext {
      width: 100%;
      top: 0;
      position: relative;
      padding-left: 20px;
      padding-right: 20px;
  }
  .addBorderandbutton h2 span {
      display: inline !important;
  }
  .Team-img-wrapper {
      text-align: center;
      width: 180px;
      margin: auto;
  }
  .mindplusContentwrap h3 span {
    display: inline;
  }

  .mindplusContentwrap h3 {
      font-size: 20px;
      line-height: 1.2;
  }

  .mindplusContentwrap p {
      font-size: 16px;
      line-height: 1.5;
  }

  #medical-tourism .fw-bold + div {
      font-size: 16px !important;
  }

  .newlandingmapWrapper .fw-bold + div {
      font-size: 14px !important;
  }

  .why-mindplus-bg {
      background-image: none;
  }
}

@media (max-width: 576px) {
  .hero-text-content {
    text-align: center;
    /* Ensure text is centered on extra small screens */
  }

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

  .hero-title {
    font-size: 2.2rem;
  }

  .form-heading {
    font-size: 1.4rem;
  }

  .section-main-heading {
    font-size: 1.6rem;
  }

  .section-sub-heading {
    font-size: 1.3rem;
  }

  .cost-comparison-table th,
  .cost-comparison-table td {
    font-size: 0.85rem;
  }

  .footer-main-heading {
    font-size: 1.6rem;
  }

  .footer-contact-info p {
    font-size: 0.9rem;
  }

  .footer-cta-message {
    font-size: 0.95rem;
  }

  .footer-main-heading::before {
    left: 25px;
  }

  .footer-main-heading::after {
    right: -15px;
  }

  .left-rehab-outpatient-row .custom-list li {
    font-size: 0.95rem;
    padding-left: 25px;
    line-height: 1.8;
    margin-bottom: 12px;
    position: relative;
    font-weight: 500;
  }

  .left-rehab-outpatient-row .custom-list li::before {
    content: '•';
    font-size: 1.3rem;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.6;
  }
  .floating-icon-base {
      width: 50px;
      height: 50px;
      font-size: 1.8em;
  }
  .whatsapp-icon-float {
      right: 15px;
      bottom: 100px;
  }
  .call-icon-float {
    bottom: 30px;
  }
}