
/* NeoNivesh deployment polish */
img { max-width: 100%; height: auto; }
.thumb-info .thumb-info-wrapper {
  display: block;
  overflow: hidden;
}
.thumb-info .thumb-info-wrapper > img,
.thumb-info .thumb-info-wrapper picture > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.testimonial .testimonial-author img.rounded-circle {
  width: 115px;
  height: 115px;
  object-fit: cover;
}
.page-header.page-header-modern,
.parallax-background {
  background-position: center center !important;
}
.custom-contact-form-style-1 .form-control,
.custom-contact-form-style-1 textarea {
  max-width: 100%;
}
@media (max-width: 991.98px) {
  .col-half-section,
  .col-half-section-left,
  .col-half-section-right {
    width: 100%;
    max-width: 100%;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .owl-carousel .owl-item .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .thumb-info .thumb-info-wrapper > img,
  .thumb-info .thumb-info-wrapper picture > img {
    aspect-ratio: 16 / 11;
  }
}
@media (max-width: 767.98px) {
  .page-header .breadcrumb {
    text-align: left !important;
    margin-top: .75rem;
  }
  .page-header h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  .custom-process .process-step {
    margin-bottom: 2rem !important;
  }
  .custom-testimonial-style-1 blockquote p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }
  .custom-contact-form-style-1 .row > div {
    margin-bottom: 1rem;
  }
  .section {
    background-position: center center;
  }
}

/* Hero image refinement */
.custom-carousel-container .background-image-wrapper {
  background-position: center center !important;
}
@media (min-width: 992px) {
  .custom-carousel-container .owl-item:first-child .background-image-wrapper {
    background-position: 58% center !important;
  }
  .custom-carousel-container .owl-item:nth-child(2) .background-image-wrapper {
    background-position: 56% center !important;
  }
}
@media (max-width: 991.98px) {
  .custom-carousel-container .background-image-wrapper {
    background-position: 62% center !important;
  }
}

/* Floating WhatsApp quick-access button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: translateY(-3px);
  background: #1ebe5d;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
@media (max-width: 767.98px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
    font-size: 29px;
  }
}


/* Final hero responsive fix: correct height, crop and mobile image */
.neon-hero-slider,
.neon-hero-slider .owl-stage-outer,
.neon-hero-slider .owl-stage,
.neon-hero-slider .owl-item {
  height: 500px !important;
}
.neon-hero-slider .background-image-wrapper {
  background-size: cover !important;
  background-position: center center !important;
}
.neon-hero-slider .neon-hero-bg-1 {
  background-position: center 42% !important;
}
.neon-hero-slider .neon-hero-bg-2 {
  background-position: center center !important;
}
@media (max-width: 1199.98px) {
  .neon-hero-slider,
  .neon-hero-slider .owl-stage-outer,
  .neon-hero-slider .owl-stage,
  .neon-hero-slider .owl-item {
    height: 450px !important;
  }
}
@media (max-width: 767.98px) {
  .neon-hero-slider,
  .neon-hero-slider .owl-stage-outer,
  .neon-hero-slider .owl-stage,
  .neon-hero-slider .owl-item {
    height: 360px !important;
  }
  .neon-hero-slider .neon-hero-bg-1 {
    background-image: url('../img/slider/neonivesh_slider_img_1_mobile.webp') !important;
    background-position: center center !important;
  }
  .neon-hero-slider .neon-hero-bg-2 {
    background-image: url('../img/demos/finance/slides/slide-2_mobile.webp') !important;
    background-position: center center !important;
  }
}
@media (max-width: 420px) {
  .neon-hero-slider,
  .neon-hero-slider .owl-stage-outer,
  .neon-hero-slider .owl-stage,
  .neon-hero-slider .owl-item {
    height: 340px !important;
  }
}
