/* Custom centering for electronic banner */
.electronic-banner-swiper-area .container-fill .row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.electronic-banner-swiper-area .col-lg-6.order-xl-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
  padding-right: 40px;
}
.electronic-banner-swiper-area .col-lg-6.order-xl-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding-left: 40px;
  padding-right: 140px;
}
/* Always center the image inside its wrapper */
.electronic-banner-swiper-area .thumbanail-img-right {
  display: grid;
  place-items: center;
  width: 100%;
}
.electronic-banner-swiper-area .thumbanail-img-right img {
  width: min(400px, 90vw);
  height: auto;
}
h1, h2 {
  font-weight: 500 !important;
}

.rts-service-area .single-service-electrical {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 440px;
}

.rts-service-area .single-footer-component {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    display: flex;
    flex-direction: column;
}
.single-footer-component .logo-area-footer,
.single-footer-component .title-area,
.single-footer-component .body {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100%;
    display: block;
}
.single-footer-component .pages-footer a {
    color: white !important;
}

.rts-service-area .row.g-24 > [class^="col-"] {
  display: flex;
}

@media (max-width: 991px) {
  .electronic-banner-swiper-area .col-lg-6.order-xl-1,
  .electronic-banner-swiper-area .col-lg-6.order-xl-2 {
    padding-left: 16px;
    padding-right: 16px;
  }
  /* Center the image column on mobile */
  .electronic-banner-swiper-area .col-lg-6.order-xl-2 {
    align-items: center !important;
    justify-content: center !important;
  }
}
/* Center About section image */
.rts-about-area .thumbanil-about-electitian {
  display: grid;
  place-items: center;
  width: 100%;
}
.rts-about-area .thumbanil-about-electitian img {
  display: block;
  margin: 0 auto;
  width: min(450px, 90vw);
  height: auto;
}
@media (max-width: 991px) {
  .rts-about-area .row.g-5 > .col-lg-6:first-child {
    display: flex;
    justify-content: center;
  }
}
