@media (max-width: 991px) and (min-width: 768px) {
  html.w-mod-js:not(.w-mod-ix) [data-w-id="613f5c13-318c-4a24-c6cb-10ecf682d2dc"] {
    opacity: 0;
    -webkit-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -moz-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -ms-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
  }

  html.w-mod-js:not(.w-mod-ix) [data-w-id="2bf38f4b-c0a6-f743-7d25-b53c79b7ef0e"] {
    -webkit-transform: translate3d(0, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -moz-transform: translate3d(0, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -ms-transform: translate3d(0, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    transform: translate3d(0, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    display: block;
  }

  html.w-mod-js:not(.w-mod-ix) [data-w-id="2bf38f4b-c0a6-f743-7d25-b53c79b7ef0d"] {
    -webkit-transform: translate3d(0, 0, 0) scale3d(1.25, 1.25, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -moz-transform: translate3d(0, 0, 0) scale3d(1.25, 1.25, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -ms-transform: translate3d(0, 0, 0) scale3d(1.25, 1.25, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    transform: translate3d(0, 0, 0) scale3d(1.25, 1.25, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
  }

  html.w-mod-js:not(.w-mod-ix) [data-w-id="2bf38f4b-c0a6-f743-7d25-b53c79b7ef10"] {
    opacity: 0;
    -webkit-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -moz-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -ms-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
  }

  html.w-mod-js:not(.w-mod-ix) [data-w-id="2bf38f4b-c0a6-f743-7d25-b53c79b7ef16"] {
    opacity: 0;
    -webkit-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -moz-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -ms-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
  }

  html.w-mod-js:not(.w-mod-ix) [data-w-id="2bf38f4b-c0a6-f743-7d25-b53c79b7ef14"] {
    opacity: 0;
    -webkit-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -moz-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    -ms-transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    transform: translate3d(0, 15px, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
  }
}

@media (max-width: 991px) {
  .floating-card {
    display: none !important;
  }
}

/* Mobile hero image and spacing adjustments */
@media (max-width: 767px) {
  .home-hero-section {
    padding-top: 10px !important;
    /* Reduced from 120px */
    padding-bottom: 0px !important;
    /* Minimalistic bottom space */
    margin-bottom: 0px !important;
  }

  .home-hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .home-hero-image-block {
    width: 100% !important;
    height: auto !important;
    margin-top: 0px;
  }

  .home-hero-image {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 12px;
  }

  /* About Section Mobile Fixes */
  .home-about-section {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .home-about-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .home-about-content-wrapper {
    width: 100% !important;
    padding: 0 15px !important;
    /* Added side padding for better readability */
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .section-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
    word-wrap: break-word;
  }

  .home-about-excerpt {
    margin-bottom: 20px !important;
    font-size: 16px !important;
    line-height: 1.5;
  }

  .aveka-check-list {
    margin: 0 0 20px 0 !important;
  }

  .aveka-check-list li {
    font-size: 15px !important;
    line-height: 1.4;
    margin-bottom: 12px !important;
  }

  .aveka-note-box {
    width: 100% !important;
    box-sizing: border-box;
    padding: 20px !important;
    font-size: 16px !important;
    margin-top: 10px !important;
    border-radius: 16px;
  }

  /* Remove scrollbar from About Aveka section */
  .home-about-content-wrapper,
  .home-about-content-block,
  .home-about-wrapper {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  .home-about-content-wrapper::-webkit-scrollbar,
  .home-about-content-block::-webkit-scrollbar {
    display: none !important;
  }

  /* Manual Carousel for Benefits */
  .benefits-wrapper {
    overflow: visible !important;
  }

  .benefits-inner-wrapper {
    animation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    will-change: auto !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .benfits-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 10px 20px 20px 20px !important;
    scrollbar-width: none;
    /* Hide scrollbar for cleaner look */
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    width: auto !important;
    margin-left: -20px;
    margin-right: -20px;
  }

  .benfits-grid::-webkit-scrollbar {
    display: none;
  }

  .benfits-grid .benfits-card-block {
    flex: 0 0 50% !important;
    /* Card takes 50% width to show two cards side by side */
    min-width: 0% !important;
    scroll-snap-align: center !important;
    margin-top: 0 !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border-radius: 20px !important;
    padding: 20px 16px !important;
    /* Reduced vertical padding */
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
  }

  /* Make sure benefits title and excerpt in mobile don't have excessive margins causing length */
  .benfits-grid .benefits-card-header {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .benfits-grid .benefits-title {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .benfits-grid .benefits-excerpt {
    margin-bottom: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  /* Marquee Speed Optimization (Other Marquees) */
  .country-marquee-content {
    animation: country-scroll 6s linear infinite !important;
    gap: 20px !important;
  }

  .company-marquee .company-logoo-wrapper {
    animation: aveka-marquee-scroll 30s linear infinite !important;
  }
}

@media screen and (max-width: 479px) {
  .benefits-icon-block {
    width: 38px;
    height: 38px;
  }
}