/* Custom CSS Overrides for 100% Clone of wifiplans.ae */

/* Force Elementor containers and widgets inside cards to be 100% visible */
.elementor-widget-image,
.elementor-widget-image img,
.elementor-widget,
.e-con,
.e-child,
.e-parent,
.elementor-element {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Force all image tags inside cards to render clearly with fixed visible bounds */
.elementor-widget-image img,
img[src*="starzplay"],
img[src*="amazon"],
img[src*="anghami"],
img[src*="osn"],
img[src*="prime"],
img[src*="smiles"],
img[src*="app-icon"] {
  max-height: 38px !important;
  max-width: 90px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Constrain GoChat WebP Icon */
img[src*="gochat"] {
  max-height: 48px !important;
  max-width: 48px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Sheraki Brand Logo Styling in Header and Footer */
img[src*="banner.png"],
.hfe-site-logo-img,
.brand-logo-img {
  max-height: 65px !important;
  height: auto !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Constrain floating WhatsApp button */
a[href*="wa.me"] img,
a[href*="whatsapp"] img {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  border-radius: 50% !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure smooth scrolling */
html {
  scroll-behavior: smooth !important;
}
