/* .video-slider__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
    text-align: left;
    color: #fff;
    z-index: 2;
} */

/* .sec-title__titlein {
    padding: 20px;
    border-radius: 10px;
} */
p {
  font-family: "quicksand", "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.4375rem;
  color: #333;
}

.sec-title__titlein {
  font-family: "Snippet", sans-serif;
  font-size: 2.5rem;
  font-weight: 1000;
  letter-spacing: -1.8px;
  background: linear-gradient(45deg, rgb(226 255 16), rgb(255 173 17));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  animation: slideInLeft 1s ease-out;
  white-space: nowrap;
  filter: drop-shadow(0px 3px 0 #000);
  /* Adjust offset and color as needed */
}

/* .sec-title__titlein2 {
    color: #ffffff;
    font-family: "Snippet", sans-serif;
    font-size: 3rem;
    font-weight: 1000;
    letter-spacing: -1.8px;
    background: linear-gradient(45deg, rgb(226 255 16), rgb(255 173 17));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    animation: slideInLeft 1s ease-out;
    white-space: nowrap;
} */
.sec-title__titlein2 {
  font-family: "Snippet", sans-serif;
  font-size: 3rem;
  font-weight: 1000;
  letter-spacing: -1.8px;
  background: linear-gradient(45deg, rgb(226 255 16), rgb(255 173 17));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  animation: slideInLeft 1s ease-out;
  white-space: nowrap;
  filter: drop-shadow(2px 5px 0 #000);
  /* Adjust offset and color as needed */
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .sec-title__titlein {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .sec-title__titlein2 {
    font-size: 1.5rem;
  }
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 17%);
  z-index: 1;
}

.video-slider__item {
  position: relative;
}

.video-slider__bg {
  position: relative;
  z-index: 0;
}

/* .video-slider__text {
    padding: 20px;
    border-radius: 10px;
}

.video-slider__text h2 {
    color: #ffffff;
    font-family: "Snippet", sans-serif;
    font-size: 2rem;
    font-weight: 1000;
    font-size: 50px;
    letter-spacing: -0.8px;
    background: linear-gradient(90deg, #FFA526 0%, #F53A9E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .video-slider__text h2 {
        font-size: 1.5rem;
    }
} */

.team-card__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  /* or cover if you prefer */
}

.gallery-image img {
  border-radius: 15px;
  /* Curved corners */
  margin-left: -110px;
  /* Slightly move to the left */
}

@media (max-width: 768px) {
  .gallery-image img {
    margin-left: 0;
    /* Reset margin for smaller screens */
  }
}

@media (max-width: 480px) {
  .gla-mr {
    margin-left: -5px;
  }
}

@media (max-width: 768px) {
  .choose-us-one__funfact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Ensures proper wrapping if needed */
    gap: 10px; /* Adds spacing between icons */
    text-align: center; /* Centers the text */
  }

  .choose-us-one__funfact__text {
    margin: 0;
    font-size: 0.9rem; /* Adjust font size for mobile */
  }

  .choose-us-one__funfact__count {
    margin-right: 5px; /* Adds spacing between count and text */
  }
}

.choose-us-one {
  padding: 80px 0;
  background-color: rgb(250, 249, 248);
}

.choose-us-one__left {
  padding: 20px;
  background-color: transparent;
  box-shadow: none;
  /* margin-left: -78px; */
}

.choose-us-one__right {
  padding: 0;
}

.choose-us-one__thumb img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.choose-us-one__link__btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(45deg, #ef3bfb, #003768c4);
  color: #fff;
  border-radius: 30px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.choose-us-one__link__btn:hover {
  background-color: #0ebd32;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.choose-us-one__funfact {
  margin-top: 20px;
  text-align: center;
}

.choose-us-one__funfact__text {
  font-size: 1rem;
  color: #555;
}

@media (max-width: 768px) {
  .choose-us-one__left,
  .choose-us-one__right {
    margin-bottom: 20px;
    margin-left: 0px;
  }
  .choose-us-one__left {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .choose-us-one__top__text {
    padding-left: 0px;
    padding-right: 0px;
  }

  .sec-title--two {
    padding-left: 0px;
    padding-right: 0px;
  }

  .choose-us-one__thumb img {
    object-fit: cover;
    height: auto;
    max-height: 350px;
    border-radius: 12px;
    margin-top: 20px;
  }

  /* About Us Responsive Improvements */
  .index-custom-1 {
    height: auto !important;
    max-height: 380px;
    width: 100%;
    margin-top: 15px;
  }
  .index-custom-2 {
    margin-top: 25px;
  }

  /* Our Advantages Responsive Center Alignment */
  .our-work__item {
    margin: 0 auto 30px auto;
    text-align: center;
  }
  .our-work__item__step {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .our-work__item__content {
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .our-work__item__content::after,
  .our-work__item__shape {
    display: none !important;
  }

  /* Testimonials Avatar sizing */
  .testimonials-two__thumb {
    margin: 0 auto 20px auto !important;
    max-width: 150px;
    height: auto !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .testimonials-two__thumb img {
    width: 100%;
    height: auto !important;
    border-radius: 20px;
  }
  .testimonials-two {
    padding: 40px 0 !important;
  }
  .testimonials-two__text {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
  }
  .testimonials-two__star {
    margin-bottom: 15px !important;
  }
}

/* Styling the animated-row class */
.animated-row {
  margin: 10px;
  position: relative;
  animation: fadeInUp 1.5s ease-in-out;
  /* Smooth fade-in-up animation */
  overflow: hidden;
  /* Prevent content overflow */
  padding: 30px;
  /* Add padding around the content */
  border-radius: 10px;
  /* Rounded corners for the section */
  /* background: linear-gradient(120deg, #0ebd66, #dc3018, #f9c846); */
  background: #fff;
  background-size: 300% 300%;
  /* Makes the gradient animated */
  animation: gradientBG 6s ease infinite;
  /* Animate the gradient */
  box-shadow: 0 5px 15px rgb(0, 193, 212);
  /* Subtle shadow */
}

/* Animation for gradient background */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional styles for hover effects */
.our-work__item {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 8px;
  /* overflow: hidden; */
}

/* .our-work__item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(14, 189, 102, 0.4),
                0 15px 40px rgba(220, 48, 24, 0.4),
                0 20px 50px rgba(249, 200, 70, 0.4);
} */

/* Add this CSS for responsive testimonials */
.testimonials-two__item {
  margin-bottom: 30px;
}

.testimonials-two__thumb img {
  width: 100%;
  border-radius: 15px;
}

.testimonials-two__content {
  padding: 20px;
}

.testimonials-two__author__text {
  margin-top: 10px;
}

.testimonials-two__star {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .testimonials-two__item {
    flex-direction: column;
    text-align: center;
  }

  .testimonials-two__thumb {
    margin-bottom: 20px;
  }

  .testimonials-two__content {
    padding: 15px;
  }
}

.custom-video-cta {
  padding: 50px 0;
  background: #38353521;

  position: relative;
}

.custom-video-cta__video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 430px;
  /* Default height for larger screens */
  margin-left: -50px;
  /* Adjust as needed */
}

.custom-video-cta__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the video covers the wrapper */
  object-position: center;
  /* Centers the video within the wrapper */
  display: block;
}

.custom-play-pause-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgb(0 0 0 / 47%);
  border: none;
  border-radius: 50%;
  color: #ffffffe0;
  padding: 20px;
  cursor: pointer;
  z-index: 2;
}

.custom-play-icon::before {
  content: "\f04b";
  /* Unicode for play icon */
}

.custom-pause-icon::before {
  content: "\f04c";
  /* Unicode for pause icon */
}

.custom-play-icon::before,
.custom-pause-icon::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 2rem;
}

.custom-video-cta__content {
  padding: 30px;
  background: none;
  /* Remove background */
  border-radius: 0;
  /* Remove border radius */
  margin-top: -2px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-left: 50px;
}

.custom-video-cta__title,
.custom-video-cta__title2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffa526 0%, #f53a9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
}

.custom-video-cta__text {
  font-size: 1rem;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: left;
  font-family: "quicksand", arial;
}

.custom-video-cta__link__btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(45deg, #ef3bfb, #003768c4);
  color: #fff;
  border-radius: 30px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.custom-video-cta__link__btn:hover {
  background-color: #0ebd32;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .custom-video-cta__video-wrapper {
    height: 300px;
    /* Reduce height for smaller screens */
    margin-left: 0;
    /* Reset margin for smaller screens */
  }

  .custom-video-cta__content {
    margin-top: 30px;
    margin-left: 0px;
  }

  .custom-video-cta__title,
  .custom-video-cta__title2 {
    font-size: 1.5rem;
  }

  .custom-video-cta__text {
    font-size: 0.9rem;
  }
}

.banner-image .banner-main-image {
  /* margin-right: 95px; */
  margin-bottom: -260px;
  text-align: left;
  margin-left: -113px;
}

.img-01 {
  height: 584px;
}

.img-02 {
  margin-left: -157px;
  height: 428px;
}

.img-03 {
  margin-bottom: 204px;
  margin-left: 69px;
  height: 225px;
  margin-top: -558px;
}

@media (min-width: 992px) {
  .col-lg-6 {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 50%;
  }
}

@media only screen and (max-width: 991px) {
  .img-01 {
    height: 331px;
    margin-left: 90px;
  }

  .banner-image .banner-main-image {
    margin-right: 0;
    text-align: left;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .banner-image .banner-main-image {
    margin-right: 50px;
  }
}

@media only screen and (max-width: 991px) {
  .banner-image .img-02 {
    display: none;
  }
}

/* .banner-image .img-02 {
    position: absolute;
    right: -232px;
    bottom: 125px;
} */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .banner-image .img-02 {
    right: -88px;
    /* max-width: 240px; */
  }

  .banner-image .img-03 {
    margin-bottom: 394px;
    margin-left: 275px;
    height: 225px;
    margin-top: -929px;
  }
}

@media only screen and (max-width: 991px) {
  .banner-image .img-03 {
    display: none;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .banner-style-3 .banner-image .img-03 {
    right: 90px;
    bottom: 345px;
  }
}

/* .banner-image .img-03 {
    position: absolute;
    right: 0;
    bottom: 435px;
} */
.custom-icon {
  width: 43px;
  /* Adjust size as needed */
  height: 52px;
  /* Adjust size as needed */
  /* transform: rotate(-45deg);  */
  position: relative;
  /* Match the positioning style */
}

.modern-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  margin-bottom: 30px;
  position: relative;
  /* ── Equal height: card becomes a flex column ── */
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ... other styles ... */
.play-icon::before {
  content: "\f04b";
  /* Unicode for play icon */
}

.pause-icon::before {
  content: "\f04c";
  /* Unicode for pause icon */
}

.play-icon::before,
.pause-icon::before {
  font-family: "Font Awesome 6 Free";
  /* Or "Font Awesome 5 Free" if using FA5 */
  font-weight: 900;
  /* Often required, especially for solid icons */
  /* ...other styles... */
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgb(107 241 35 / 60%);
}

.modern-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 220px; /* fixed height — all cards same */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
  padding: 10px;
  border: 1px solid purple;
  border-top: 3px solid purple;
  border-bottom: 3px solid purple;

  border-left: 3px solid purple;
  border-right: 3px solid purple;
  border-radius: 17px;
  flex-shrink: 0; /* don't squish the image area */
}

.modern-card__image {
  max-width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: contain; /* keep aspect ratio, no crop */
}

.modern-card__content {
  padding: 20px;
  text-align: center;
  border: 3px solid #1fe0c7d9;
  border-radius: 14px;
  flex: 1; /* grows to fill remaining card height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modern-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0ebd32;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.modern-card__description {
  font-size: 1rem;
  color: #777;
  margin-bottom: 20px;
  line-height: 1.6;
  height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "quicksand", arial;
}

.modern-card__packaging {
  font-size: 14px;
  color: #444;
  margin-bottom: 6px;
  font-weight: 600;
  text-align: center;
  font-family: "quicksand", arial;
}

.modern-card__price-wrapper {
  font-size: 15px;
  color: #dc3545;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
  font-family: "quicksand", arial;
}

.packaging-label,
.price-label {
  color: #777;
  font-weight: 500;
}

.price-value {
  color: #7873f5;
  font-weight: 800;
}

.typed-cursor {
  display: none;
}

.modern-card__link {
  display: inline-block;
  padding: 12px 26px;
  background: #00c1d4; /* Universal brand teal color */
  color: #fff;
  border-radius: 40px;
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  align-self: center; /* Prevents stretching and centers the button */

  /* 3D Shadow Effects */
  box-shadow:
    0 6px 0 #008290, /* Dark teal shadow */
    /* Bottom hard shadow */ 0 8px 15px rgba(0, 0, 0, 0.3); /* Soft blur */
}

/* 3D press-down effect on hover */
.modern-card__link:hover {
  transform: translateY(2px);
  box-shadow:
    0 4px 0 #4b0082, /* Dark purple shadow */
    0 6px 10px rgba(0, 0, 0, 0.2);
  background: #6413a6; /* Universal brand purple hover color */
}

/* Arrow before text */
.modern-card__link:before {
  content: "→";
  margin-right: 10px;
  transition: margin-right 0.3s ease;
  display: inline-block;
}

.modern-card__link:hover:before {
  margin-right: 15px;
}

/* Right-align the Discover More button */
.about-two__link {
  margin-top: 30px;
  text-align: center;
  /* Right-aligns the button */
}

/* .about-two__link__btnn {
        display: inline-block;
        padding: 10px 20px;
        background-color: #0ebd32;
        color: #fff;
        border-radius: 30px;
        font-weight: 600;
        text-transform: uppercase;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    .about-two__link__btnn:hover {
        background-color: #dc3018;
    } */

@media (min-width: 1159px) and (max-width: 1200px) {
  .choose-us-one__thumb img {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .about-two {
    padding: 0px 0px;
  }
}

/* --- Element Custom Styles --- */

.index-custom-1 {
  border-radius: 10px;
  margin-top: 29px;
  object-fit: cover;
  height: 501px;
}

.index-custom-2 {
  margin-top: 50px;
}

.index-custom-3 {
  line-height: 1.43rem;
}

.index-custom-4 {
  margin-top: 30px;
}

.index-custom-5 {
  height: 700px;
  margin-top: 39px;
}

.index-custom-6 {
  margin-top: 53px;
}

.index-custom-7 {
  background: linear-gradient(90deg, #ffa526 0%, #f53a9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.index-custom-8 {
  margin-left: 57px;
}

/* Custom Responsive Overrides for CTA and Typography */
@media (max-width: 991px) {
  .index-custom-8 {
    margin-left: 0 !important;
    text-align: center;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .sec-title__title {
    font-size: 24px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
  }
}

/* --- Horizontal Scroll for Growth Verticals on Mobile --- */
@media (max-width: 767px) {
  .service-page .row.gutter-y-30 {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 20px 10px 35px 10px !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    gap: 15px !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: thin !important;
    scrollbar-color: #c903fa rgba(0, 0, 0, 0.05) !important;
  }

  .service-page .row.gutter-y-30::-webkit-scrollbar {
    height: 6px !important;
  }
  .service-page .row.gutter-y-30::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 10px !important;
  }
  .service-page .row.gutter-y-30::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #01c2ff, #c903fa) !important;
    border-radius: 10px !important;
  }

  .service-page .row.gutter-y-30 > div[class*="col-"] {
    flex: 0 0 auto !important;
    width: 160px !important;
    max-width: 160px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    scroll-snap-align: start !important;
  }

  .service-page .team-card {
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  .service-page .team-card__image {
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto !important;
  }
  .service-page .team-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  .service-page .team-card__content {
    margin-top: -2px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .service-page .team-card__content__inner {
    padding: 10px 8px !important;
    min-height: 85px !important;
    border-radius: 12px !important;
    box-shadow: 0px 4px 15px 0px rgba(65, 8, 108, 0.25) !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  .service-page .team-card__content::after {
    width: 40px !important;
    height: 50px !important;
    bottom: -8px !important;
    left: -8px !important;
  }

  .service-page .team-card__content__title,
  .service-page .team-card__content__titlen,
  .service-page .team-card__content__titlegs {
    font-size: 13px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .service-page .team-card__content__hover {
    margin-top: 2px !important;
  }

  .service-page .team-card__content__hover__icon,
  .service-page .team-card__content__hover__iconr,
  .service-page .team-card__content__hover__icong,
  .service-page .team-card__content__hover__iconne,
  .service-page .team-card__content__hover__iconn {
    width: 32px !important;
    height: 32px !important;
    margin: 0 auto !important;
  }

  .service-page .custom-icon {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* Disable wow delay effects inside horizontal scroll to avoid missing element triggers */
  .service-page .wow {
    opacity: 1 !important;
    transform: none !important;
    animation-name: none !important;
    transition: none !important;
    visibility: visible !important;
  }
}

/* --- Funfact Section Mobile Optimizations (2x2 Grid, smaller footprint) --- */
@media (max-width: 767px) {
  .funfact-one__inner {
    padding: 20px 10px !important;
    margin-top: -40px !important;
  }

  .funfact-one .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
  }

  .funfact-one .col-lg-3.col-md-6 {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .funfact-one__item {
    padding-bottom: 12px !important;
    margin-bottom: 10px !important;
  }

  .funfact-one__icon {
    width: 50px !important;
    height: 56px !important;
    font-size: 20px !important;
    margin-bottom: 4px !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
  }

  .funfact-one__count {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .funfact-one__text {
    font-size: 13px !important;
  }

  /* Adjust background clip top position for smaller item */
  .funfact-one__item::after {
    top: 8px !important;
  }
}

/* --- Modern Card Row Layout for Mobile Devices --- */
@media (max-width: 767px) {
  .team-one--home .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

  .team-one--home .row > div[class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .modern-card {
    flex-direction: row !important;
    height: auto !important;
    min-height: 180px !important;
    margin-bottom: 0 !important;
  }

  .modern-card:hover {
    transform: none !important;
  }

  .modern-card__image-wrapper {
    width: 38% !important;
    height: auto !important;
    align-self: stretch !important;
    border-right: none !important;
    border-radius: 15px 0 0 15px !important;
    padding: 10px !important;
    flex-shrink: 0 !important;
  }

  .modern-card__image {
    max-width: 100% !important;
    height: auto !important;
    max-height: 140px !important;
  }

  .modern-card__content {
    width: 62% !important;
    padding: 12px 15px !important;
    border-radius: 0 15px 15px 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
    gap: 4px !important;
  }

  .product__item__title {
    font-size: 15px !important;
    font-weight: 800 !important;
    margin-bottom: 2px !important;
    text-align: left !important;
    line-height: 1.2 !important;
  }

  .product__item__title a {
    text-align: left !important;
    display: block !important;
    color: #0ebd32 !important;
  }

  .modern-card__packaging {
    font-size: 12px !important;
    margin-bottom: 2px !important;
    text-align: left !important;
  }

  .modern-card__price-wrapper {
    font-size: 13px !important;
    margin-bottom: 2px !important;
    text-align: left !important;
  }

  .packaging-label,
  .price-label {
    font-size: 11px !important;
  }

  .modern-card__description {
    font-size: 12px !important;
    margin-bottom: 6px !important;
    line-height: 1.33 !important;
    height: auto !important;
    max-height: 32px !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  .modern-card__link {
    padding: 6px 12px !important;
    font-size: 11px !important;
    border-radius: 20px !important;
    text-align: center !important;
    width: fit-content !important;
    margin-top: 2px !important;
    align-self: center !important;
    box-shadow:
      0 3px 0 #008290, /* Dark teal shadow */
      0 4px 6px rgba(0, 0, 0, 0.2) !important;
  }

  /* Partner / Brand Logos mobile scaling and arrow hide */
  .client-carousel-one .client-carousel__one__item {
    min-height: 70px !important;
    padding: 5px !important;
  }
  .client-carousel-one .client-carousel__one__item img {
    max-height: 45px !important;
    max-width: 130px !important;
    object-fit: contain !important;
    width: auto !important;
    margin: 0 auto !important;
  }
  .client-carousel-one .owl-theme .owl-nav {
    display: none !important;
  }
}

/* Make doctor image background gradient (only on Home Page) */
.about-two .about-two__thumb__item {
  background: linear-gradient(135deg, #ffa526 0%, #f53a9e 100%) !important;
  box-shadow: 0 15px 40px rgba(0, 193, 212, 0.35) !important;
  height: 495px !important;
  overflow: hidden !important;
}

@media (max-width: 1199px) {
  .about-two .about-two__thumb__item {
    height: auto !important;
    aspect-ratio: 530/495 !important;
  }
}

.about-two .about-two__thumb__item img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
