@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  /* background: linear-gradient(to right, #f0f4f8, #ffffff); */
  /* overflow-x: hidden; */
}

/* header  */

.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  /* background: transparent; */
  /* background: white; */
  z-index: 30;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  gap: 20px;
  margin-left: 50px;
  margin-right: 50px;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 50px;
  width: 150px;
}

.nav-logo .nav-title {
  font-size: 26px;
}

.nav-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-menu-item {
  position: relative;
}

#appPicker {
  position: fixed;
  top: 10%;
  right: 10%;
  background: white;
  border: 1px solid #ccc;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#appPicker h3 {
  margin: 20px 0;
}

#appPicker ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#appPicker ul li {
  list-style: none;
}

#appPicker ul li a {
  text-decoration: none;
}

#closeModal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.nav-menu-item i {
  margin-left: 10px;
}

.nav-menu-item:hover i {
  rotate: 360deg;
}

.nav-menu-link {
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: black;
}

.nav-menu-link:hover {
  color: #ff6666;
}

.nav-menu-link:hover i {
  rotate: 180deg;
  transition-duration: 0.5s;
}

.nav-desktop-btn-wrapper {
  opacity: 0;
  animation: fade-in 1s ease forwards 2s;
  display: inline-block;
}

.nav-desktop-btn {
  padding: 14px 16px;
  background: transparent;
  border: 2px solid #ff6666;
  border-radius: 10px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-desktop-btn:hover {
  transform: scale(0.9);
}

.nav-desktop-btn i {
  transform: rotate(0deg);
  animation: toggle 1s ease forwards infinite;
}

@keyframes toggle {
  100% {
    transform: rotate(40deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-submenu {
  display: block;
  position: absolute;
  top: 10px;
  left: -60px;
  padding: 40px 0;
  list-style: none;
  white-space: nowrap;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.nav-submenu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: white;
  padding: 10px 20px;
  border: 1px solid #ccc;
  width: 500px;
  position: absolute;
  left: -120px;
}

.nav-submenu ul h3 {
  margin: 0px;
  padding: 0px;
}

.nav-submenu ul p {
  white-space: wrap;
  margin: 0px;
  padding: 0px;
}

.all-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.all-links div:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.all-links div:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.all-links div:nth-child(n + 3) {
  grid-column: 2;
  grid-row: auto;
}

.all-links li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.all-links li div {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  color: #fff;
  background-color: purple;
  display: flex;
  justify-content: center;
  align-items: center;
}

.all-links img {
  height: 60px;
  width: 60px;
  position: absolute;
  bottom: 50px;
  right: 30px;
}

.nav-submenu-link {
  text-decoration: none;
  color: black;
  display: block;
}

.nav-menu-item:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.nav-header.scrolled {
  background: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.nav-submenu-link:hover {
  color: #ff6666;
  width: 100%;
}

.nav-mobile-menu {
  display: none;
}

@media screen and (max-width: 1080px) {
  .nav-container {
    margin-left: 0px;
    /* margin-right: 0px; */
  }

  .nav-mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
  }

  .nav-mobile-menu.open {
    left: 0;
  }

  .mbl-nav-submenu {
    list-style-type: none;
  }

  .mbl-nav-submenu .mbl-nav-submenu-link {
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
    color: #c266ff;
  }

  .mbl-nav-submenu .mbl-nav-submenu-link:hover {
    color: #8a00e6;
  }

  .nav-menu-close {
    font-size: 24px;
    cursor: pointer;
    text-align: right;
  }

  .nav-mobile-menu-items {
    list-style: none;
    margin-top: 20px;
  }

  .nav-mobile-menu-item {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
  }


  .nav-mobile-menu-item i {
    margin-left: 10px;
    font-size: 12px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
  }

  .nav-mobile-menu-item:hover i.open {
    transform: rotate(180deg);
  }

  .nav-mobile-menu-item .mbl-nav-submenu {
    display: none;
    padding: 10px 0;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
    height: auto;
  }

  .nav-mobile-menu-item .mbl-nav-submenu.open {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .nav-mobile-btn {
    padding: 12px 0;
    color: white;
    background: linear-gradient(to right, #f06, #f35, #f39);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    margin: 20px auto;
    display: flex;
    gap: 20px;
    padding: 14px 30px;
    position: absolute;
    bottom: 40px;
    left: 10%;
  }

  .nav-menu-icon {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .nav-desktop {
    display: none;
  }

  .nav-desktop-btn-wrapper {
    display: none;
  }
}





.habuild-hero-section {
  position: relative;
  padding-top: 20%;
  /* min-height: 100vh; */
  background: linear-gradient(to bottom right, #fef3c7, #fff7ed, #fee2e2);
  overflow: hidden;
  /* padding-top: 5rem; */
}

/* Decorative Shapes */
.habuild-shape {
  position: absolute;
  border-radius: 50%;
  transform: rotate(45deg);
  z-index: 1;
}

.habuild-shape1 {
  top: 80px;
  left: 40px;
  width: 64px;
  height: 64px;
  background: linear-gradient(to bottom right, #f59e0b, #ea580c);
  opacity: 0.2;
}

.habuild-shape2 {
  top: 160px;
  right: 80px;
  width: 96px;
  height: 96px;
  background: linear-gradient(to bottom right, #ef4444, #ec4899);
  opacity: 0.1;
  transform: rotate(12deg);
}

.habuild-shape3 {
  bottom: 80px;
  left: 80px;
  width: 128px;
  height: 128px;
  background: linear-gradient(to bottom right, #f97316, #ef4444);
  opacity: 0.15;
  transform: rotate(-12deg);
}

.habuild-shape4 {
  bottom: 160px;
  right: 40px;
  width: 80px;
  height: 80px;
  background: linear-gradient(to bottom right, #f59e0b, #ea580c);
  opacity: 0.2;
}

/* SVG Blob Shape */
.habuild-svg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 380px;
  opacity: 0.1;
  z-index: 1;
}

.habuild-svg-inner {
  width: 100%;
  height: 100%;
}

.habuild-svg-color {
  color: #d97706;
}

/* Hero Container */
.habuild-hero-container {
  /* max-width: 1000px; */
  margin: 0 auto;
  /* padding: 0 2rem; */
  position: relative;
  z-index: 2;
}

.habuild-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  /* min-height: 100vh; */
  padding: 2rem 1rem;
  justify-content: center;
}

@media (min-width: 992px) {
  .habuild-hero-section {
    padding-top: 5%;
  }

  .habuild-hero-grid {
    flex-direction: row;
    align-items: center;
  }
}

/* Hero Left */
.habuild-hero-text h1 {
  font-size: 2.5rem;
  color: #1f2937;
  font-weight: 300;
}

.habuild-hero-text h1 .habuild-highlight {
  font-weight: 500;
  font-style: italic;
  color: #b45309;
}

.habuild-hero-text p {
  color: #4b5563;
  font-size: 1.1rem;
  max-width: 500px;
  margin-top: 1rem;
}

.habuild-hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.habuild-btn-primary {
  background: linear-gradient(to right, #d97706, #ea580c);
  color: white;
  /* padding: 1rem 2rem;*/
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.habuild-btn-primary:hover {
  background: linear-gradient(to right, #b45309, #c2410c);
  transform: scale(1.05);
}

.habuild-btn-outline {
  border: 2px solid #d97706;
  color: #b45309;
  background-color: transparent;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.habuild-btn-outline:hover {
  background-color: #fef3c7;
}

/* Hero Right */
.habuild-hero-image-wrapper {
  position: relative;
}

.habuild-image-box {
  position: relative;
  /* padding: 1.5rem; */
  /* background: rgba(255, 255, 255, 0.2); */
  backdrop-filter: blur(12px);
  /* border-radius: 2rem; */
  /* box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1); */
}

.habuild-image-box img {
  /* max-width: 100%; */
  width: 100%;
  /* max-width: 350px; */

  height: 300px;
  /* border-radius: 1.5rem; */
  /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); */
  object-fit: contain;
}

/* Dots */
.habuild-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
}

.habuild-dot1 {
  top: -16px;
  left: -16px;
  width: 64px;
  height: 64px;
  background: linear-gradient(to bottom right, #f59e0b, #ea580c);
  opacity: 0.8;
}

.habuild-dot2 {
  bottom: -12px;
  right: -12px;
  width: 48px;
  height: 48px;
  background: linear-gradient(to bottom right, #ef4444, #ec4899);
  opacity: 0.6;
}

.hero-stats {
  display: grid;
  color: white;
  margin: auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  /* margin-top: 40px; */
  /* max-width: 530px; */
}

.hero-stat-box {
  background: linear-gradient(135deg, #3a1a6a, #6e3aff);
  padding: 10px 0;
  text-align: center;
  border-radius: 16px;
}

.hero-stat-box-fitness {
  background: linear-gradient(to bottom right, #f59e0b, #ea580c);
  padding: 10px 0;
  text-align: center;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .hero-number {
    font-size: 13px;
  }

  .hero-label {
    font-size: 13px;
  }

  .hero-main {
    padding-top: 30%;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card-3d {
    width: 280px;
    height: 180px;
    transform: rotate(10deg);
  }

  .hero-card-3d:hover {
    transform: rotate(10deg) scale(1.05);
  }

  .dental-button {
    top: 260px;
  }

  .band {
    padding: 10px;
  }

  .hero-card-3d .hero-card-number {
    margin-top: 0.8rem;
  }

  .hero-btn-get-app {
    background: linear-gradient(90deg, #7c5aff, #b18aff);
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
}


.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 40px 20px;
  position: relative;
  gap: 20px;
}

.section.reverse {
  flex-direction: row-reverse;
}

.section-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 20px 0px;
}

.section img.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100px;
  height: auto;
}

.section img.nutrition-image {
  height: 340px;
  width: 320px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
}

.sub-heading {
  font-weight: bold;
  background-color: #f1f1f1;
}

.desc-col {
  background-color: #fefefe;
}

.ticks {
  text-align: center;
}

.tick::before {
  content: "\2713";
  color: green;
  font-weight: bold;
}

.card-type {
  font-weight: 600;
  text-align: center;
}

.section.fitness {
  background: linear-gradient(to right, #ffffff, #d6f1ed);
}

.section.nutrition {
  background: linear-gradient(to right, #fff5e7, #ffe9c4);
}

.section.dental-products {
  /* background: #ffcebc;
  background: linear-gradient(
    90deg,
    rgba(255, 206, 188, 1) 0%,
    rgba(255, 171, 140, 1) 100%
  ); */
  /* background:#FFE9C4; */
  background: #FFF2DC;
}

.section.dental-products1 {
  background: linear-gradient(to right, #ffe6ffff, #ffe6fbff);
}

.section.dental-products2 {
  background: linear-gradient(to right, #e3fff0ff, #effffbff);
}

.section.dental {

  background: linear-gradient(to right, #f2eaff, #e0d4ff);
}

.vision {
  background: linear-gradient(to right, rgb(203, 220, 237), #ffffff);
}

.agarwal {
  background: #f7e8ba;
}

.improvedSleep {
  background: linear-gradient(to bottom right, #f1f5f9, #e0f2fe, #e0e7ff);
}

.spa {
  background: linear-gradient(to bottom right, #ffe4e6, #fff7ed, #fce7f3);
}

.mental {
  background: #ffccd5;
  background: linear-gradient(90deg,
      rgba(255, 204, 213, 1) 0%,
      rgba(255, 181, 194, 1) 100%,
      rgba(255, 240, 243, 1) 100%);
}

.section.fitness .custom-table {
  background-color: #e1faf4;
}

.section.fitness .sub-heading {
  background-color: #d1f5ec;
}

.section.fitness .desc-col {
  background-color: #f5fdfc;
}

/* .mental .custom-table{
  background:rgba(255, 240, 243, 1) 100%;
} */

/* .mental .sub-heading{
  background-color:rgb(237, 182, 192) 100%,
} */
/* NUTRITION Table (section.nutrition) */
.section.nutrition .custom-table {
  background-color: #fff2dc;
}

.section.nutrition .sub-heading {
  background-color: #ffe4b8;
}

.section.nutrition .desc-col {
  background-color: #fffaf1;
}

/* DENTAL PRODUCTS Table (section.dental-products) */
.section.dental-products .custom-table {

  background-color: #ffedceff;
}

.section.dental-products .sub-heading {
  background-color: #FFE9C4;
  /* background-color: #f2e5d0ff; */
}

.section.dental-products .desc-col {

  background-color: #fff5e4ff;
}

.section.dental-products1 .section-content .custom-table {
  background-color: #fec4feff;
}

.section.dental-products1 .sub-heading {
  background: linear-gradient(to right, #f5caf5ff, #f9a7ebff);
}



.section.dental-products1 .desc-col {
  background: linear-gradient(to right, #ffeeffff, #fce3f8ff);
}


.section.dental-products2 .section-content .custom-table {
  background: linear-gradient(to right, #b9edd1ff, #effffbff);
}

.section.dental-products2 .sub-heading {
  background: linear-gradient(to right, #c8ffe2ff, #b9f9e9ff);
}



.section.dental-products2 .desc-col {
  background: linear-gradient(to right, #d2ffe7ff, #bbdfd6ff);
}


.section.dental .custom-table {
  /* background-color: #ffcebc; */
  background-color: #eee5ff;
}

.section.dental .sub-heading {
  /* background-color: #ffab8c; */
  background-color: #d9ccff;
}

.section.dental .desc-col {
  /* background-color: #ffe0d5; */
  background-color: #f6f0ff;
}

.hero-stats {
  grid-template-columns: repeat(2, 1fr);
}

.hero-stats {
  display: grid;
  color: white;
  margin: auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  /* margin-top: 40px; */
  /* max-width: 530px; */
}

.hero-stat-box {
  background: linear-gradient(135deg, #3a1a6a, #6e3aff);
  padding: 10px 0;
  text-align: center;
  border-radius: 16px;
}


@media (max-width: 768px) {
  .hero-number {
    font-size: 13px;
  }

  .hero-label {
    font-size: 13px;
  }

  .hero-main {
    padding-top: 30%;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card-3d {
    width: 280px;
    height: 180px;
    transform: rotate(10deg);
  }

  .hero-card-3d:hover {
    transform: rotate(10deg) scale(1.05);
  }

  .dental-button {
    top: 260px;
  }

  .band {
    padding: 10px;
  }

  .hero-card-3d .hero-card-number {
    margin-top: 0.8rem;
  }

  .hero-btn-get-app {
    background: linear-gradient(90deg, #7c5aff, #b18aff);
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
}



/* footer  */

.footer {
  background: #002147;
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.footer h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease-in-out;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s ease-in-out, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #f8c102;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.footer-links div {
  text-align: left;
}

.footer-links h2 {
  font-size: 1rem;
  font-weight: 300;
  text-decoration: underline;
  margin-bottom: 10px;
}

.footer-links a {
  color: #f8c102;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
  color: white;
}

.footer-banner {
  background: #f8c102;
  color: #002147;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 30px;
  border-radius: 10px;
  display: inline-block;
  animation: fadeInDown 1s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .footer h2 {
    font-size: 1.5rem;
  }

  .social-icons a {
    font-size: 1.2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links div {
    text-align: center;
  }

  .footer-banner {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 15px;
  }

  .footer h2 {
    font-size: 1.3rem;
  }

  .social-icons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-links h2 {
    font-size: 1rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-banner {
    padding: 10px;
    font-size: 0.9rem;
  }
}



/* popup  */

.how-it-works-btn {
  margin-top: 20px;
  padding: 10px 18px;
  border: none;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.how-it-works-btn:hover {
  background-color: #555;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 80vh;
  overflow-y: auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;

  /* ✅ Hide scrollbar but allow scroll */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE & Edge */
}

.popup::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 1001;
}

.close-btn:hover {
  color: #000;
}

.popup.active {
  display: block;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.overlay.active {
  display: block;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 60%;
  width: 100%;
}

.para-content {
  /* width:300px; */
}

/* Timeline container should grow with content */
.timeline-container {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 100%;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    flex-direction: column;
  }

  .section img.nutrition-image {
    width: 100%;
    height: 250px;
  }

  .popup {
    max-width: 90%;
  }
}

.popup {
  scroll-behavior: smooth;
  /* max-width:90%; */
}

/* timeline */
/* .timeline-container {
  position: relative;
} */
.timeline-container {
  position: relative;
  width: 100%;
  height: 500px;
  /* overflow-x: hidden;  */
}

.timeline {
  position: absolute;
  left: 30%;
  transform: translateX(-50%);
  width: 9px;
  background: #ccc;
  height: 500px;
}

.progress {
  position: absolute;
  left: 30%;
  transform: translateX(-50%);
  width: 9px;
  background: #002147;
  height: 0;
  transition: height 1s linear;
}

.step {
  position: absolute;
  left: 30%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.steps {
  position: absolute;
  margin-left: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  white-space: normal;
  /* changed from nowrap - else the sentende was not wrapping on putting a width*/
}

.step-4 {
  margin-bottom: 10%;
}

.steps div {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.steps div p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.book-now {
  background: #002147;
  font-size: 16px;
  color: white;
  padding: 6px;
  border-radius: 4px;
  font-family: "Poppins", serif;
  cursor: pointer;
  border: none;
  align-self: flex-start;
}

@keyframes zoomInOut {
  0% {
    transform: translateX(-50%) scale(0.5);
    opacity: 0;
  }

  50% {
    transform: translateX(-50%) scale(1.2);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}

.dot {
  width: 40px;
  height: 40px;
  background: #002147;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.gif {
  width: 45px;
  height: 45px;
}

.info {
  width: 20px;
  height: 20px;
}

.text {
  margin-top: 10px;
}

#step1 {
  top: 0px;
}

#step2 {
  top: 166.6px;
}

#step3 {
  top: 332.6px;
}

#step4 {
  top: 500px;
}

.infos {
  height: 18px;
  cursor: pointer;
}

.info-button {
  border: none;
  display: flex;
  gap: 8px;
  background: white;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.know-more {
  text-decoration: underline;
}

@media (max-width: 567px) {

  /* body {
    justify-content: start;
    padding-left: 30px;
  } */
  .timeline {
    position: absolute;
    left: 10%;
    transform: translateX(-50%);
    width: 9px;
    background: #ccc;
    height: 500px;
  }

  .progress {
    position: absolute;
    left: 10%;
    transform: translateX(-50%);
    width: 9px;
    background: #002147;
    height: 0;
    transition: height 1s linear;
  }

  .step {
    position: absolute;
    left: 10%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .dot {
    width: 40px;
    height: 40px;
    background: #002147;
    border-radius: 50%;
    position: absolute;
    left: 10%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }

  .steps {
    margin-left: 40px;
  }
}

.floating-btn {
  position: fixed;
  bottom: 20px;
  /* distance from bottom */
  right: 20px;
  /* distance from right */
  padding: 12px 20px;
  border-radius: 9999px;
  /* pill-shaped */
  background-color: #FFD700;
  /* gold color */
  color: #000;
  /* black text */
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;

  /* floating animation */
  animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
  background-color: #e6c200;
  /* darker gold */
  transform: scale(1.05);
}

/* keyframes for floating effect */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
    /* normal position */
  }

  50% {
    transform: translateY(-8px);
    /* float up */
  }
}