.bi,
.navbar,
.top-bar {
  transform: translateZ(0);
}
.contact-btn,
.points-list li,

.step-box h3 {
  margin-bottom: 10px;
}
.navbar,
.top-bar {
  will-change: transform;
}
img {
  max-width: 100%;
  height: auto;
}
.stylish-text {
  font-display: swap;
}
.bi {
  display: inline-block;
}

/* Row layout */
.card-container,
.cardrow-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Card */
.treatment-card {
    flex: 1 1 calc(25% - 30px);
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* 🔴 Image fixed height */
.treatment-card .img-wrapper {
    height: 220px;               /* SAME HEIGHT */
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-card img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;         /* IMPORTANT for illustrations */
}

/* 🔴 Title fixed height */
.treatment-card h5 {
    min-height: 56px;            /* aligns headings */
    margin: 12px 0 8px;
    font-weight: 600;
}

/* 🔴 Paragraph alignment */
.treatment-card p {
    line-height: 1.6;
    margin: 0;
}

section {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}
body {
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
.top-social-icons {
  font-size: 20px;
}
.top-bar,
.top-bar a,
.top-bar i,
.top-bar small {
  font-family: Roboto, sans-serif !important;
  font-weight: 400;
  color: #fff;
  font-size: 17px;
}
.container small i {
  color: #f0a500;
  margin-right: 6px;
  font-size: 14px;
}
.navbar-transparent {
  background: 0 0;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.nav-container {
  background-color: #fff;
  border-left: 5px solid #55af59;
  padding: 0;
}
.top-bar {
  height: 40px;
  font-size: 13px;
  color: #fff;
  z-index: 1031;
}
.navbar {
  top: 80px;
  color: #000;
  padding: 0 100px;
}
.nav-item {
  color: #fff;
}
.container {
  width: 90%;
}
.navbar .nav-link {
  color: #000 !important;
  letter-spacing: 2px;
  margin: 0 15px;
  transition: color 0.3s;
}
.navbar .nav-link:hover {
  color: #55af59;
}
.navbar .nav-link.active {
  color: #fff !important;
}
.btn-consult {
  background-color: #55af59;
  color: #fff;
  border-radius: 5px;
  letter-spacing: 2px;
  line-height: 1rem;
  font-size: 15px;
  transition: background 0.3s;
  padding: 26px;
}
.btn-consult:hover {
  background-color: #2f7d32;
  color: #fff;
}
.vertical-slide-counter {
  position: absolute;
  top: 55%;
  left: 30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 2px;
  color: #fff;
  user-select: none;
  z-index: 1000;
}
.vertical-line {
  width: 1px;
  height: 250px;
  background-color: #fff;
  margin: 10px;
}
.about-section,
.hero-section {
  height: 100vh;
  background-color: #dddd3f;
}
.hero-section {
  contain: paint;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  z-index: 1;
}
.text-container {
  text-align: left;
  position: relative;
}
.sub-heading {
  font-size: 90px;
  font-weight: 900;
  color: #fff;
  padding-left: 50px;
  font-family: Roboto, sans-serif !important;
}
.contact-text,
.contact-title {
  font-weight: 400;
  font-family: "DM Sans", sans-serif;
}
.overlay {
  inset: 0;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.hero-content {
  position: relative;
  color: #fff;
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
}
.contact-strip {
  position: relative;
  z-index: 2;
  padding: 30px 100px;
  background-color: #207e0fdb;
  opacity: 0.9;
}
.contact-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 2px;
  font-size: 12px;
  opacity: 0.8;
  position: absolute;
  left: 50px;
  top: 50px;
}
.contact-title {
  font-size: 45px;
  line-height: 1em;
  font-style: normal;
  letter-spacing: 1px;
  color: #fff;
}
.contact-content {
  padding: 0 30px;
}
.contact-text {
  font-size: 14px;
  line-height: 2rem;
  margin-top: 10px;
}
.about-para,
.points-list,
.section-para {
  letter-spacing: 0.05em;
  line-height: 30px;
}
.about-btn,
.points-list,
.section-para,
.text-image-section h2 {
  font-family: Roboto, sans-serif !important;
}
.contact-form .form-control {
  background: 0 0;
  border: none;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  color: #fff;
}
.contact-form .form-control::placeholder {
  color: #eaeaea;
}
.contact-form .form-control:focus {
  box-shadow: none;
  border-color: #fff;
}
.contact-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 30px;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  width: 100%;
}
.section-title,
.section-title span {
  font-weight: 600;
}
.contact-btn:hover {
  background: #fff;
  color: #2f7d32;
}
.overlap-contact {
  margin-top: -110px;
}
.section-title {
  font-size: 30px;
  color: #6aa84f;
}
.section-subtitle {
  font-size: 25px;
  margin-bottom: 40px;
  font-weight: 400;
  text-align: center;
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}
.step-box {
  background-color: #5b8f3f;
  color: #fff;
  padding: 40px 25px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step-box h3 {
  font-size: 22px;
}
.step-box p {
  font-size: 16px;
  line-height: 1.6;
}
.step-middle {
  font-size: 15px;
}
@media (max-width: 900px) {
  .steps-container {
    grid-template-columns: 1fr;
  }
  .step-box {
    min-height: auto;
  }
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 15px 0;
}
.card-container,
.cardrow-container {
  display: grid;
  display: grid;
  gap: 24px;
}
.divider .line {
  width: 100%;
  height: 1px;
  background-color: #548c43;
}
.leaf-icon {
  color: #548c43;
  font-size: 18px;
}
.treatment-section {
  padding: 5px 60px;
  text-align: left;
}
.points-list {
  list-style-type: disc;
  text-align: left;
  font-size: 16px;
  padding: 0 20px;
  color: #54595f;
  font-weight: 400;
}
.section-title {
  text-align: center;
}
.section-para {
  font-size: 14px;
  padding: 0;
  color: #7a7a7a;
}
.cardrow-container {
  grid-template-columns: repeat(4, 1fr);
}
.card-container h5,
.cardrow-container h5 {
  font-family: Roboto, sans-serif !important;
  padding: 10px;
  font-size: 20px;
  line-height: 24px;
  color: #538c43;
  font-weight: 400;
  text-align: center;
}
.card-container p,
.cardrow-container p,
.footer-column h3 {
  font-weight: 600;
  text-align: center;
}
.cardrow-container p {
  margin: 0;
  color: #5c5c5c;
  line-height: 28px;
  font-size: 14px;
}
.card-container {
  grid-template-rows: auto auto 1fr;
  grid-template-columns: repeat(3, 1fr);
}
.card-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 12px;
}
.card-container p {
  margin: 0;
  color: #5c5c5c;
  line-height: 28px;
}
.before-after-row {
  display: flex;
  justify-content: center;
  gap: 120px;
  margin: 50px 0;
}
.image-box img {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
}
.img-wrapper {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #7aa83f;
}
.custom-slider {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.slider-track {
  display: flex;
  gap: 20px;
  height: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 60px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar {
  display: none;
}
.slider-track img {
  flex: 0 0 260px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.slider-btn.left {
  left: 10px;
}
.slider-btn.right {
  right: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 30px 20px;
}
.text-image-section .content {
  flex: 1;
  letter-spacing: 2px;
  padding: 20px;
}
.text-image-section h2 {
  font-size: 55px;
}
.text-image-section .image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}
.text-image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.about-para {
  font-size: 14px;
  color: #5c5c5c;
}
.about-btn {
  font-size: 14px;
  color: #fff;
  background: linear-gradient(90deg, #3cac47 0, #175f19 100%);
  border: none;
  width: 20%;
  padding: 0 10px;
  letter-spacing: 2px;
}
.footer-column h3,
.site-footer {
  font-family: Poppins, sans-serif;
}
.marquee {
  width: 90%;
  overflow: hidden;
  padding: 12px 0;
}
.marquee-text {
  display: inline-block;
  letter-spacing: 5px;
  white-space: nowrap;
  animation: 12s linear infinite scrollOnce;
}
.brand {
  background-color: #55af59;
  color: #fff;
  padding: 6px 16px;
  margin-left: 13px;
  font-weight: 700;
  border-radius: 4px;
}
@keyframes scrollOnce {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.animate-bottom,
.animate-left,
.animate-right {
  opacity: 0;
  transition: 0.8s ease-out;
}
.animate-left.active,
.animate-left.show,
.animate-right.show {
  opacity: 1;
  transform: translateX(0);
}
.animate-bottom.show,
.animate.show {
  opacity: 1;
  transform: translateY(0);
}
.animate-right {
  transform: translateX(50px);
}
.animate-bottom {
  transform: translateY(50px);
}
.animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.animate {
  opacity: 0;
  transform: translateY(100px);
  transition:
    transform 0.9s,
    opacity 0.9s;
}
.site-footer {
  background-color: #5b8f3f;
  color: #fff;
  padding: 20px 180px;
  width: 100%;
  box-sizing: border-box;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-column {
  flex: 1 1 300px;
  min-width: 300px;
  text-align: left;
}
.footer-logo {
  width: 250px;
  padding-top: 20px;
  padding-left: 30px;
}
.footer-column h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 1px;
  padding-top: 30px;
}
.footer-column p {
  line-height: 28px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1.5px;
  padding-top: 20px;
  font-family: Roboto, sans-serif;
}
.footer-column i {
  margin-right: 10px;
}
.footer .contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
}
.footer .contact p i {
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  color: #f0a500;
}
.footer .contact p span {
  display: block;
  text-align: justify;
  width: 100%;
}
.footer-column:nth-of-type(2) p {
  line-height: 1.2 !important;
  margin-bottom: 5px;
}
.footer-social {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.footer-social .social-icon {
  font-size: 30px;
  color: #fff;
  transition: color 0.3s;
}
.footer-social .social-icon:hover {
  color: #4caf50;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #7ca44c;
  color: #fff;
  font-size: 16px;
  min-height: 50px;
  width: 100%;
  padding: 0 150px;
  box-sizing: border-box;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom .trophy {
  color: #fff;
  margin-right: 6px;
  font-size: 20px;
}
.iframe {
  padding-top: 40px;
}
@media (max-width: 992px) {
  .card-container,
  .cardrow-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .img-wrapper {
    height: 200px;
  }
  .site-footer {
    padding: 40px;
  }
  .footer-bottom {
    padding: 15px 40px;
  }
}
@media (max-width: 480px) {
  .footer-column h3 {
    font-size: 18px;
  }
  .footer-column p {
    font-size: 13px;
  }
  .footer-social .social-icon {
    font-size: 24px;
  }
}
.wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}
.image-container {
  display: flex;
  overflow-x: hidden;
  width: 100%;
  padding: 10px;
  gap: 10px;
}
.image-container img {
  flex: 0 0 calc(25% - 7.5px);
  height: 150px;
  object-fit: cover;
}
.scroll-btn {
  color: #000;
  border: none;
  font-size: 22px;
  padding: 10px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .contact-title {
    font-size: 30px;
    padding: 10px;
  }
  .contact-label {
    display: none;
  }
  .contact-strip {
    text-align: center;
    padding: 0;
  }
  .contact-content {
    padding: 0 10px;
  }
  .text-image-section {
    flex-direction: column;
    text-align: justify;
  }
  .mobile-menu .nav-item,
  .text-image-section .content {
    margin-bottom: 20px;
  }
  .text-image-section .image-wrapper {
    justify-content: center;
  }
  .text-image-section h2 {
    font-family: Roboto, sans-serif !important;
    font-size: 35px;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-column {
    min-width: 100%;
  }
  .footer-logo {
    display: block;
    margin: 0 auto 30px;
    max-width: 100%;
  }
  .footer-column.contact p {
    justify-content: center;
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 15px 20px;
  }
  .map-container iframe {
    width: 100%;
    height: 220px;
    border-radius: 6px;
  }
  .hero-section {
    height: 100vh;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .stylishtext-container {
    width: 550px;
  }
  .stylish-text {
    font-size: 40px;
    font-weight: 900;
    color: #fff;
  }
  .sub-heading {
    font-size: 70px;
    font-weight: 700;
    color: #fff;
    line-height: 0.9;
    font-family: Roboto, sans-serif !important;
    margin-bottom: 70px;
  }
  .text-container {
    padding-left: 0;
  }
  .section-title {
    font-size: 30px;
    color: #6aa84f;
    margin-top: 10px;
    font-weight: 600;
  }
  .divider {
    margin: 20px 0;
  }
  .treatment-section {
    padding: 0px 0;
    text-align: justify;
  }
  .navbar {
    top: 30px;
    color: #fff;
    padding: 0;
  }
  .nav-container {
    background-color: transparent;
    border-left: 5px solid #55af59;
    padding: 0;
  }
  .top-bar {
    display: none !important;
  }
  .mobile-menu {
    width: 60px;
  }
  .navbar .btn-consult {
    padding: 5px;
    margin-left: 50px;
  }
}
.steps-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.flip-card {
  background-color: transparent;
  width: 350px;
  height: 300px;
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}
.flip-card-back,
.flip-card.flip .flip-card-inner,
.flip-card:hover .flip-card-inner {
  transform: rotateX(180deg);
}
.flip-card-back,
.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.flip-card-front {
  background-color: #548c43;
  color: #fff;
}
.flip-card-back {
  background-color: #7ca44c;
  color: #fff;
}
.flip-card-front h3 {
  background-color: #548c43;
  color: #000;
}
.image-container {
  text-align: right;
}
.candidate-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 50px auto 0;
}
.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.blog-btn,
.blog-btn:hover {
  background: #6cc04a;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-image img:hover {
  transform: scale(1.05);
}
.blog-content {
  padding: 20px;
}
.blog-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}
.blog-title a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s;
}
.blog-title a:hover {
  color: #6cc04a;
}
.blog-btn {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}
@media (max-width: 600px) {
  .card-container,
  .cardrow-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .img-wrapper {
    height: 180px;
  }
  .blog-card {
    margin-bottom: 20px;
  }
}
.site-footer {
  /* background-color: #111; */
    color: #9ad67d;
  color: #f1f1f1;
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover {
  color: #9ad67d;
}
